v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::TrustedByteArray Class Reference

#include <fixed-array.h>

Inheritance diagram for v8::internal::TrustedByteArray:
Collaboration diagram for v8::internal::TrustedByteArray:

Classes

class  BodyDescriptor
 

Public Types

using Shape = TrustedByteArrayShape
 
- Public Types inherited from v8::internal::PrimitiveArrayBase< TrustedByteArray, TrustedByteArrayShape, TrustedObjectLayout >
using Shape
 
using Header
 

Public Member Functions

uint32_t get_int (int offset) const
 
void set_int (int offset, uint32_t value)
 
- Public Member Functions inherited from v8::internal::PrimitiveArrayBase< TrustedByteArray, TrustedByteArrayShape, TrustedObjectLayout >
ElementMemberT get (int index) const
 
void set (int index, ElementMemberT value)
 
int AllocatedSize () const
 
ElementMemberTbegin ()
 
const ElementMemberTbegin () const
 
ElementMemberTend ()
 
const ElementMemberTend () const
 
int DataSize () const
 
Handle< DAllocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation)
 

Static Public Member Functions

template<class IsolateT >
static Handle< TrustedByteArrayNew (IsolateT *isolate, int capacity, AllocationType allocation_type=AllocationType::kTrusted)
 
static constexpr int LengthFor (int size_in_bytes)
 
- Static Public Member Functions inherited from v8::internal::PrimitiveArrayBase< TrustedByteArray, TrustedByteArrayShape, TrustedObjectLayout >
static constexpr int SizeFor (int length)
 
static constexpr int OffsetOfElementAt (int index)
 
static Tagged< TrustedByteArrayFromAddressOfFirstElement (Address address)
 

Private Types

using Super
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::PrimitiveArrayBase< TrustedByteArray, TrustedByteArrayShape, TrustedObjectLayout >
static constexpr bool kElementsAreMaybeObject
 
static constexpr int kElementSize
 
static constexpr int kMaxLength
 
static constexpr int kMaxRegularLength
 
- Protected Member Functions inherited from v8::internal::PrimitiveArrayBase< TrustedByteArray, TrustedByteArrayShape, TrustedObjectLayout >
bool IsInBounds (int index) const
 
 FLEXIBLE_ARRAY_MEMBER (ElementMemberT, values)
 
- Static Protected Member Functions inherited from v8::internal::PrimitiveArrayBase< TrustedByteArray, TrustedByteArrayShape, TrustedObjectLayout >
static Handle< TrustedByteArrayAllocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation=AllocationType::kYoung)
 

Detailed Description

Definition at line 804 of file fixed-array.h.

Member Typedef Documentation

◆ Shape

◆ Super

Initial value:
PrimitiveArrayBase<TrustedByteArray, TrustedByteArrayShape,
TrustedObjectLayout>

Definition at line 807 of file fixed-array.h.

Member Function Documentation

◆ get_int()

uint32_t v8::internal::TrustedByteArray::get_int ( int offset) const
inline

Definition at line 799 of file fixed-array-inl.h.

Here is the call graph for this function:

◆ LengthFor()

static constexpr int v8::internal::TrustedByteArray::LengthFor ( int size_in_bytes)
inlinestaticconstexpr

Definition at line 823 of file fixed-array.h.

Here is the call graph for this function:

◆ New()

template<class IsolateT >
Handle< TrustedByteArray > v8::internal::TrustedByteArray::New ( IsolateT * isolate,
int capacity,
AllocationType allocation_type = AllocationType::kTrusted )
inlinestatic

Definition at line 781 of file fixed-array-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_int()

void v8::internal::TrustedByteArray::set_int ( int offset,
uint32_t value )
inline

Definition at line 806 of file fixed-array-inl.h.

Here is the call graph for this function:

The documentation for this class was generated from the following files: