v8
6.2.414 (node 8.16.2)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Static Public Member Functions | |
static V8_EXPORT void | CheckInitializedImpl (v8::Isolate *isolate) |
static V8_INLINE void | CheckInitialized (v8::Isolate *isolate) |
static V8_INLINE bool | HasHeapObjectTag (const internal::Object *value) |
static V8_INLINE int | SmiValue (const internal::Object *value) |
static V8_INLINE internal::Object * | IntToSmi (int value) |
static V8_INLINE bool | IsValidSmi (intptr_t value) |
static V8_INLINE int | GetInstanceType (const internal::Object *obj) |
static V8_INLINE int | GetOddballKind (const internal::Object *obj) |
static V8_INLINE bool | IsExternalTwoByteString (int instance_type) |
static V8_INLINE uint8_t | GetNodeFlag (internal::Object **obj, int shift) |
static V8_INLINE void | UpdateNodeFlag (internal::Object **obj, bool value, int shift) |
static V8_INLINE uint8_t | GetNodeState (internal::Object **obj) |
static V8_INLINE void | UpdateNodeState (internal::Object **obj, uint8_t value) |
static V8_INLINE void | SetEmbedderData (v8::Isolate *isolate, uint32_t slot, void *data) |
static V8_INLINE void * | GetEmbedderData (const v8::Isolate *isolate, uint32_t slot) |
static V8_INLINE internal::Object ** | GetRoot (v8::Isolate *isolate, int index) |
template<typename T > | |
static V8_INLINE T | ReadField (const internal::Object *ptr, int offset) |
template<typename T > | |
static V8_INLINE T | ReadEmbedderData (const v8::Context *context, int index) |
This class exports constants and functionality from within v8 that is necessary to implement inline functions in the v8 api. Don't depend on functions and constants defined here.
|
inlinestatic |
Definition at line 9022 of file v8.h.
Referenced by String::Empty().
|
static |
|
inlinestatic |
Definition at line 9094 of file v8.h.
References v8::internal::kApiPointerSize, and Internals::kIsolateEmbedderDataOffset.
Referenced by Isolate::GetData().
|
inlinestatic |
Definition at line 9045 of file v8.h.
References Internals::kHeapObjectMapOffset, Internals::kMapInstanceTypeAndBitFieldOffset, and Internals::ReadField().
Referenced by Object::GetAlignedPointerFromInternalField(), String::GetExternalStringResource(), String::GetExternalStringResourceBase(), and Object::GetInternalField().
|
inlinestatic |
Definition at line 9063 of file v8.h.
References Internals::kNodeFlagsOffset.
Referenced by PersistentBase< T >::IsIndependent().
|
inlinestatic |
Definition at line 9075 of file v8.h.
References Internals::kNodeFlagsOffset, and Internals::kNodeStateMask.
Referenced by PersistentBase< T >::IsNearDeath(), and PersistentBase< T >::IsWeak().
|
inlinestatic |
Definition at line 9053 of file v8.h.
References Internals::kOddballKindOffset, Internals::ReadField(), and Internals::SmiValue().
|
inlinestatic |
Definition at line 9101 of file v8.h.
References v8::internal::kApiPointerSize, and Internals::kIsolateRootsOffset.
Referenced by String::Empty(), ReturnValue< T >::Get(), ReturnValue< T >::Set(), ReturnValue< T >::SetEmptyString(), ReturnValue< T >::SetNull(), and ReturnValue< T >::SetUndefined().
|
inlinestatic |
Definition at line 9028 of file v8.h.
References v8::internal::kHeapObjectTag, and v8::internal::kHeapObjectTagMask.
|
inlinestatic |
Definition at line 9037 of file v8.h.
References SmiTagging< 8 >::IntToSmi().
Referenced by ReturnValue< T >::Set(), and PropertyCallbackInfo< T >::ShouldThrowOnError().
|
inlinestatic |
Definition at line 9058 of file v8.h.
References Internals::kExternalTwoByteRepresentationTag, and Internals::kFullStringRepresentationMask.
Referenced by String::GetExternalStringResource().
|
inlinestatic |
Definition at line 9041 of file v8.h.
References SmiTagging< 8 >::IsValidSmi().
Referenced by ReturnValue< T >::Set().
|
inlinestatic |
Definition at line 9115 of file v8.h.
References v8::internal::kApiPointerSize, Internals::kContextEmbedderDataIndex, Internals::kContextHeaderSize, Internals::kFixedArrayHeaderSize, and Internals::ReadField().
Referenced by Context::GetAlignedPointerFromEmbedderData(), and Context::GetEmbedderData().
|
inlinestatic |
Definition at line 9108 of file v8.h.
References v8::internal::kHeapObjectTag.
Referenced by Object::GetAlignedPointerFromInternalField(), String::GetExternalStringResource(), String::GetExternalStringResourceBase(), Internals::GetInstanceType(), Object::GetInternalField(), Internals::GetOddballKind(), and Internals::ReadEmbedderData().
|
inlinestatic |
Definition at line 9086 of file v8.h.
References v8::internal::kApiPointerSize, and Internals::kIsolateEmbedderDataOffset.
Referenced by Isolate::SetData().
|
inlinestatic |
Definition at line 9033 of file v8.h.
References SmiTagging< 8 >::SmiToInt().
Referenced by Internals::GetOddballKind().
|
inlinestatic |
Definition at line 9068 of file v8.h.
References Internals::kNodeFlagsOffset.
Referenced by PersistentBase< T >::MarkActive(), and PersistentBase< T >::MarkIndependent().
|
inlinestatic |
Definition at line 9080 of file v8.h.
References Internals::kNodeFlagsOffset, and Internals::kNodeStateMask.
|
static |
Definition at line 8979 of file v8.h.
Referenced by Internals::ReadEmbedderData().
|
static |
Definition at line 8978 of file v8.h.
Referenced by Internals::ReadEmbedderData().
|
static |
Definition at line 8999 of file v8.h.
Referenced by String::Empty(), and ReturnValue< T >::SetEmptyString().
|
static |
Definition at line 8989 of file v8.h.
Referenced by Isolate::AdjustAmountOfExternalAllocatedMemory().
|
static |
Definition at line 8987 of file v8.h.
Referenced by Isolate::AdjustAmountOfExternalAllocatedMemory().
|
static |
Definition at line 8986 of file v8.h.
Referenced by Isolate::AdjustAmountOfExternalAllocatedMemory().
|
static |
Definition at line 8983 of file v8.h.
Referenced by String::GetExternalStringResourceBase().
|
static |
Definition at line 8982 of file v8.h.
Referenced by String::GetExternalStringResourceBase(), and Internals::IsExternalTwoByteString().
|
static |
Definition at line 8998 of file v8.h.
Referenced by ReturnValue< T >::Set().
|
static |
Definition at line 8977 of file v8.h.
Referenced by Internals::ReadEmbedderData().
|
static |
|
static |
Definition at line 8980 of file v8.h.
Referenced by String::GetExternalStringResourceBase(), and Internals::IsExternalTwoByteString().
|
static |
Definition at line 8969 of file v8.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 8985 of file v8.h.
Referenced by Internals::GetEmbedderData(), and Internals::SetEmbedderData().
|
static |
|
static |
Definition at line 9010 of file v8.h.
Referenced by Object::GetAlignedPointerFromInternalField(), and Object::GetInternalField().
|
static |
Definition at line 8976 of file v8.h.
Referenced by Object::GetAlignedPointerFromInternalField(), and Object::GetInternalField().
|
static |
Definition at line 9011 of file v8.h.
Referenced by Object::GetAlignedPointerFromInternalField(), and Object::GetInternalField().
|
static |
Definition at line 8970 of file v8.h.
Referenced by Internals::GetInstanceType().
|
static |
Definition at line 9001 of file v8.h.
Referenced by PersistentBase< T >::SetWrapperClassId(), and PersistentBase< T >::WrapperClassId().
|
static |
Definition at line 9002 of file v8.h.
Referenced by Internals::GetNodeFlag(), Internals::GetNodeState(), Internals::UpdateNodeFlag(), and Internals::UpdateNodeState().
|
static |
Definition at line 9008 of file v8.h.
Referenced by PersistentBase< T >::MarkActive().
|
static |
Definition at line 9007 of file v8.h.
Referenced by PersistentBase< T >::IsIndependent(), and PersistentBase< T >::MarkIndependent().
|
static |
Definition at line 9006 of file v8.h.
Referenced by PersistentBase< T >::IsNearDeath().
|
static |
Definition at line 9005 of file v8.h.
Referenced by PersistentBase< T >::IsNearDeath().
|
static |
Definition at line 9004 of file v8.h.
Referenced by PersistentBase< T >::IsWeak().
|
static |
Definition at line 9003 of file v8.h.
Referenced by Internals::GetNodeState(), and Internals::UpdateNodeState().
|
static |
Definition at line 8996 of file v8.h.
Referenced by ReturnValue< T >::SetNull().
|
static |
Definition at line 9019 of file v8.h.
Referenced by Isolate::GetNumberOfDataSlots().
|
static |
Definition at line 8974 of file v8.h.
Referenced by Internals::GetOddballKind().
|
static |
Definition at line 8981 of file v8.h.
Referenced by String::GetExternalStringResourceBase().
|
static |
Definition at line 8972 of file v8.h.
Referenced by String::GetExternalStringResource(), and String::GetExternalStringResourceBase().
|
static |
Definition at line 8995 of file v8.h.
Referenced by ReturnValue< T >::Get().
|
static |
Definition at line 8997 of file v8.h.
Referenced by ReturnValue< T >::Set().
|
static |
Definition at line 8994 of file v8.h.
Referenced by ReturnValue< T >::SetUndefined().