|
V8 Project
|
#include <objects.h>
Inheritance diagram for v8::internal::ByteArray:
Collaboration diagram for v8::internal::ByteArray:Public Member Functions | |
| int | Size () |
| byte | get (int index) |
| void | set (int index, byte value) |
| int | get_int (int index) |
| Address | GetDataStartAddress () |
| 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) |
Public Member Functions inherited from v8::internal::HeapObject | |
| Map * | map () const |
| void | set_map (Map *value) |
| void | set_map_no_write_barrier (Map *value) |
| Map * | synchronized_map () |
| MapWord | synchronized_map_word () const |
| void | synchronized_set_map (Map *value) |
| void | synchronized_set_map_no_write_barrier (Map *value) |
| void | synchronized_set_map_word (MapWord map_word) |
| MapWord | map_word () const |
| void | set_map_word (MapWord map_word) |
| Heap * | GetHeap () const |
| Isolate * | GetIsolate () const |
| Address | address () |
| void | Iterate (ObjectVisitor *v) |
| void | IterateBody (InstanceType type, int object_size, ObjectVisitor *v) |
| int | Size () |
| bool | MayContainRawValues () |
| int | SizeFromMap (Map *map) |
| WriteBarrierMode | GetWriteBarrierMode (const DisallowHeapAllocation &promise) |
| void | HeapObjectShortPrint (OStream &os) |
| STATIC_ASSERT (kMapOffset==Internals::kHeapObjectMapOffset) | |
Public Member Functions inherited from v8::internal::Object | |
| bool | IsObject () const |
| INLINE (bool IsFixedArrayBase() const) | |
| INLINE (bool IsExternal() const) | |
| INLINE (bool IsAccessorInfo() const) | |
| INLINE (bool IsStruct() const) | |
| INLINE (bool IsSpecObject()) const | |
| INLINE (bool IsSpecFunction()) const | |
| INLINE (bool IsTemplateInfo()) const | |
| INLINE (bool IsNameDictionary() const) | |
| INLINE (bool IsSeededNumberDictionary() const) | |
| INLINE (bool IsUnseededNumberDictionary() const) | |
| INLINE (bool IsOrderedHashSet() const) | |
| INLINE (bool IsOrderedHashMap() const) | |
| bool | IsCallable () const |
| INLINE (bool IsUndefined() const) | |
| INLINE (bool IsNull() const) | |
| INLINE (bool IsTheHole() const) | |
| INLINE (bool IsException() const) | |
| INLINE (bool IsUninitialized() const) | |
| INLINE (bool IsTrue() const) | |
| INLINE (bool IsFalse() const) | |
| INLINE (bool IsArgumentsMarker() const) | |
| INLINE (bool IsFiller() const) | |
| double | Number () |
| INLINE (bool IsNaN() const) | |
| INLINE (bool IsMinusZero() const) | |
| bool | ToInt32 (int32_t *value) |
| bool | ToUint32 (uint32_t *value) |
| Representation | OptimalRepresentation () |
| bool | FitsRepresentation (Representation representation) |
| Handle< HeapType > | OptimalType (Isolate *isolate, Representation representation) |
| bool | HasValidElements () |
| bool | HasSpecificClassOf (String *name) |
| bool | BooleanValue () |
| Object * | GetHash () |
| bool | SameValue (Object *other) |
| bool | SameValueZero (Object *other) |
| bool | ToArrayIndex (uint32_t *index) |
| bool | IsStringObjectWithCharacterAt (uint32_t index) |
| void | VerifyApiCallResultType () |
| void | ShortPrint (FILE *out=stdout) |
| void | ShortPrint (StringStream *accumulator) |
Static Public Attributes | |
| static const int | kAlignedSize = OBJECT_POINTER_ALIGN(kHeaderSize) |
| static const int | kMaxSize = 512 * MB |
| static const int | kMaxLength = kMaxSize - kHeaderSize |
Static Public Attributes inherited from v8::internal::FixedArrayBase | |
| static const int | kLengthOffset = HeapObject::kHeaderSize |
| static const int | kHeaderSize = kLengthOffset + kPointerSize |
Static Public Attributes inherited from v8::internal::HeapObject | |
| static const int | kMapOffset = Object::kHeaderSize |
| static const int | kHeaderSize = kMapOffset + kPointerSize |
Static Public Attributes inherited from v8::internal::Object | |
| static const int | kHeaderSize = 0 |
Private Member Functions | |
| DISALLOW_IMPLICIT_CONSTRUCTORS (ByteArray) | |
Additional Inherited Members | |
Public Types inherited from v8::internal::Object | |
| enum | StoreFromKeyed { MAY_BE_STORE_FROM_KEYED , CERTAINLY_NOT_STORE_FROM_KEYED } |
| enum | StorePropertyMode { NORMAL_PROPERTY , SUPER_PROPERTY } |
Protected Member Functions inherited from v8::internal::HeapObject | |
| void | IteratePointers (ObjectVisitor *v, int start, int end) |
| void | IteratePointer (ObjectVisitor *v, int offset) |
| void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
|
inline |
|
private |
Definition at line 3788 of file objects-inl.h.
References v8::internal::HeapObject::address(), DCHECK_TAG_ALIGNED, v8::internal::FixedArrayBase::kHeaderSize, and v8::internal::kHeapObjectTag.
Here is the call graph for this function:Definition at line 3770 of file objects-inl.h.
References DCHECK, v8::internal::kCharSize, v8::internal::FixedArrayBase::kHeaderSize, v8::internal::FixedArrayBase::length(), and READ_BYTE_FIELD.
Here is the call graph for this function:Definition at line 3782 of file objects-inl.h.
References DCHECK, v8::internal::FixedArrayBase::kHeaderSize, v8::internal::kIntSize, v8::internal::FixedArrayBase::length(), and READ_INT_FIELD.
Here is the call graph for this function:
|
inline |
Definition at line 3794 of file objects-inl.h.
References v8::internal::FixedArrayBase::kHeaderSize, and v8::internal::kHeapObjectTag.
Referenced by v8::internal::IsCodeEquivalent(), and v8::internal::Code::relocation_start().
Here is the caller graph for this function:Definition at line 4367 of file objects.h.
References DCHECK, v8::internal::IsAligned(), v8::internal::Object::kHeaderSize, and v8::internal::kPointerSize.
Here is the call graph for this function:Definition at line 3776 of file objects-inl.h.
References DCHECK, v8::internal::kCharSize, v8::internal::FixedArrayBase::kHeaderSize, v8::internal::FixedArrayBase::length(), and WRITE_BYTE_FIELD.
Here is the call graph for this function:
|
inline |
Definition at line 4351 of file objects.h.
References v8::internal::Object::kHeaderSize, v8::internal::kPointerSize, and v8::internal::RoundUp().
Here is the call graph for this function:Definition at line 4360 of file objects.h.
References v8::internal::Object::kHeaderSize, and OBJECT_POINTER_ALIGN.
Referenced by v8::internal::Heap::AllocateByteArray().
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 4394 of file objects.h.
Referenced by v8::internal::Heap::AllocateByteArray().