V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::ByteArray Class Reference
Inheritance diagram for v8::internal::ByteArray:
v8::internal::FixedArrayBase v8::internal::HeapObjectPtr v8::internal::ObjectPtr v8::internal::LayoutDescriptor v8::internal::PodArray< T >

Classes

class  BodyDescriptor
 

Public Member Functions

int Size ()
 
byte get (int index) const
 
void set (int index, byte value)
 
void copy_out (int index, byte *buffer, int length)
 
void copy_in (int index, const byte *buffer, int length)
 
int get_int (int index) const
 
void set_int (int index, int value)
 
uint32_t get_uint32 (int index) const
 
void set_uint32 (int index, uint32_t value)
 
void clear_padding ()
 
byte * GetDataStartAddress ()
 
byte * GetDataEndAddress ()
 
int DataSize () const
 
int ByteArraySize ()
 
- 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 int SizeFor (int length)
 
static int LengthFor (int size_in_bytes)
 
static ByteArray FromDataStartAddress (Address address)
 
- Static Public Member Functions inherited from v8::internal::FixedArrayBase
static int GetMaxLengthForNewSpaceAllocation (ElementsKind kind)
 

Static Public Attributes

static const int kAlignedSize = OBJECT_POINTER_ALIGN(kHeaderSize)
 
static const int kMaxLength = kMaxSize - kHeaderSize
 
- 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
 

Protected Member Functions

 ByteArray (Address ptr, AllowInlineSmiStorage allow_smi)
 
 OBJECT_CONSTRUCTORS (ByteArray, FixedArrayBase)
 
- Protected Member Functions inherited from v8::internal::HeapObjectPtr
 HeapObjectPtr (Address ptr, AllowInlineSmiStorage allow_smi)
 

Additional Inherited Members

- Protected Types inherited from v8::internal::HeapObjectPtr
enum  AllowInlineSmiStorage { kRequireHeapObjectTag, kAllowBeingASmi }
 

Detailed Description

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


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