V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::FixedTypedArray< Traits > Class Template Reference
Inheritance diagram for v8::internal::FixedTypedArray< Traits >:
v8::internal::FixedTypedArrayBase v8::internal::FixedArrayBase v8::internal::HeapObjectPtr v8::internal::ObjectPtr

Public Types

typedef Traits::ElementType ElementType
 

Public Member Functions

ElementType get_scalar (int index)
 
void set (int index, ElementType value)
 
void SetValue (uint32_t index, Object *value)
 
template<>
uint8_t from (int value)
 
template<>
int64_t from (int value)
 
template<>
uint64_t from (int value)
 
template<>
uint8_t from (uint32_t value)
 
template<>
int64_t from (uint32_t value)
 
template<>
uint64_t from (uint32_t value)
 
template<>
uint8_t from (double value)
 
template<>
int64_t from (double value)
 
template<>
uint64_t from (double value)
 
template<>
float from (double value)
 
template<>
double from (double value)
 
template<>
int64_t from (int64_t value)
 
template<>
uint64_t from (uint64_t value)
 
template<>
uint64_t from (int64_t value)
 
template<>
int64_t from (uint64_t value)
 
template<>
int64_t FromHandle (Handle< Object > value, bool *lossless)
 
template<>
uint64_t FromHandle (Handle< Object > value, bool *lossless)
 
template<>
void SetValue (uint32_t index, Object *value)
 
template<>
void SetValue (uint32_t index, Object *value)
 
- Public Member Functions inherited from v8::internal::FixedTypedArrayBase
 DECL_ACCESSORS (base_pointer, Object)
 
 DEFINE_FIELD_OFFSET_CONSTANTS (FixedArrayBase::kHeaderSize, FIXED_TYPED_ARRAY_BASE_FIELDS) STATIC_ASSERT(IsAligned(kHeaderSize
 
int size () const
 
int TypedArraySize (InstanceType type) const
 
void * DataPtr ()
 
int DataSize () const
 
size_t ByteLength () const
 
- Public Member Functions inherited from v8::internal::FixedArrayBase
int length () const
 
void set_length (int value)
 
int synchronized_length () const
 
void synchronized_set_length (int value)
 
Objectunchecked_synchronized_length () const
 
bool IsCowArray () const
 
- Public Member Functions inherited from v8::internal::HeapObjectPtr
Map map () const
 
void set_map (Map value)
 
void set_map_after_allocation (Map value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER)
 
void set_map_no_write_barrier (Map value)
 
ObjectSlot map_slot ()
 
MapWord map_word () const
 
void set_map_word (MapWord map_word)
 
void synchronized_set_map (Map value)
 
void synchronized_set_map_word (MapWord map_word)
 
WriteBarrierMode GetWriteBarrierMode (const DisallowHeapAllocation &promise)
 
 operator HeapObject * ()
 
 operator const HeapObject * () const
 
bool is_null () const
 
bool IsHeapObjectPtr () const
 
ReadOnlyRoots GetReadOnlyRoots () const
 
Address address () const
 
int Size () const
 
int SizeFromMap (Map map) const
 
ObjectSlot RawField (int byte_offset) const
 
MaybeObjectSlot RawMaybeWeakField (int byte_offset) const
 
void HeapObjectVerify (Isolate *isolate)
 
Address GetFieldAddress (int field_offset) const
 
- Public Member Functions inherited from v8::internal::ObjectPtr
constexpr ObjectPtr (Address ptr)
 
 operator Object * () const
 
bool operator== (const ObjectPtr other) const
 
bool operator!= (const ObjectPtr other) const
 
bool operator< (const ObjectPtr other) const
 
constexpr Address ptr () const
 
ObjectPtroperator-> ()
 
const ObjectPtroperator-> () const
 
bool IsHashTableBase () const
 
V8_INLINE bool IsSmallOrderedHashTable () const
 
bool IsObject () const
 
double Number () const
 
bool ToInt32 (int32_t *value) const
 
bool ToUint32 (uint32_t *value) const
 
bool BooleanValue (Isolate *isolate)
 
bool FilterKey (PropertyFilter filter)
 
ObjectGetHash ()
 
Smi GetOrCreateHash (Isolate *isolate)
 
V8_EXPORT_PRIVATE bool SameValue (Object *other)
 
V8_WARN_UNUSED_RESULT bool ToArrayIndex (uint32_t *index) const
 
void ShortPrint (FILE *out=stdout)
 
void ShortPrint (std::ostream &os)
 
void Print ()
 
void Print (std::ostream &os)
 

Static Public Member Functions

static ElementType get_scalar_from_data_ptr (void *data_ptr, int index)
 
static Handle< Objectget (Isolate *isolate, FixedTypedArray array, int index)
 
static ElementType from (int value)
 
static ElementType from (uint32_t value)
 
static ElementType from (double value)
 
static ElementType from (int64_t value)
 
static ElementType from (uint64_t value)
 
static ElementType FromHandle (Handle< Object > value, bool *lossless=nullptr)
 
- Static Public Member Functions inherited from v8::internal::FixedTypedArrayBase
static int TypedArraySize (InstanceType type, int length)
 
- Static Public Member Functions inherited from v8::internal::FixedArrayBase
static int GetMaxLengthForNewSpaceAllocation (ElementsKind kind)
 

Static Public Attributes

static const InstanceType kInstanceType = Traits::kInstanceType
 
- Static Public Attributes inherited from v8::internal::FixedTypedArrayBase
static const int kDataOffset = kHeaderSize
 
static const int kMaxElementSize = 8
 
static const size_t kMaxByteLength
 
static const size_t kMaxLength = Smi::kMaxValue
 
- Static Public Attributes inherited from v8::internal::FixedArrayBase
static const int kMaxSize = 1024 * MB
 
- Static Public Attributes inherited from v8::internal::HeapObjectPtr
static const int kMapOffset = HeapObject::kMapOffset
 
static const int kHeaderSize = HeapObject::kHeaderSize
 

Additional Inherited Members

- Public Attributes inherited from v8::internal::FixedTypedArrayBase
 kDoubleAlignment
 
- Protected Types inherited from v8::internal::HeapObjectPtr
enum  AllowInlineSmiStorage { kRequireHeapObjectTag, kAllowBeingASmi }
 
- Protected Member Functions inherited from v8::internal::HeapObjectPtr
 HeapObjectPtr (Address ptr, AllowInlineSmiStorage allow_smi)
 

Detailed Description

template<class Traits>
class v8::internal::FixedTypedArray< Traits >

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


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