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

#include <fixed-array.h>

Inheritance diagram for v8::internal::TrustedPodArray< T >:
Collaboration diagram for v8::internal::TrustedPodArray< T >:

Static Public Member Functions

static DirectHandle< TrustedPodArray< T > > New (Isolate *isolate, int length)
 
static DirectHandle< TrustedPodArray< T > > New (LocalIsolate *isolate, int length)
 
- Static Public Member Functions inherited from v8::internal::TrustedByteArray
template<class IsolateT >
static Handle< TrustedByteArray > New (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< TrustedByteArray > FromAddressOfFirstElement (Address address)
 

Additional Inherited Members

- Public Types inherited from v8::internal::TrustedByteArray
using Shape = TrustedByteArrayShape
 
- Public Types inherited from v8::internal::PrimitiveArrayBase< TrustedByteArray, TrustedByteArrayShape, TrustedObjectLayout >
using Shape
 
using Header
 
- Public Member Functions inherited from v8::internal::PodArrayBase< T, TrustedByteArray >
void copy_out (int index, T *result, int length)
 
void copy_in (int index, const T *buffer, int length)
 
bool matches (const T *buffer, int length)
 
bool matches (int offset, const T *buffer, int length)
 
T get (int index)
 
void set (int index, const T &value)
 
int length () const
 
- Public Member Functions inherited from v8::internal::TrustedByteArray
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
 
ElementMemberT * begin ()
 
const ElementMemberT * begin () const
 
ElementMemberT * end ()
 
const ElementMemberT * end () const
 
int DataSize () const
 
Handle< D > Allocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation)
 
- 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< TrustedByteArray > Allocate (IsolateT *isolate, int length, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation=AllocationType::kYoung)
 

Detailed Description

template<class T>
class v8::internal::TrustedPodArray< T >

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

Member Function Documentation

◆ New() [1/2]

template<class T >
DirectHandle< TrustedPodArray< T > > v8::internal::TrustedPodArray< T >::New ( Isolate * isolate,
int length )
static

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

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

◆ New() [2/2]

template<class T >
DirectHandle< TrustedPodArray< T > > v8::internal::TrustedPodArray< T >::New ( LocalIsolate * isolate,
int length )
static

Definition at line 910 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: