v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include "v8stdint.h"
Go to the source code of this file.
Namespaces | |
v8 | |
v8::internal | |
Macros | |
#define | V8_EXPORT |
#define | TYPE_CHECK(T, S) |
#define | V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT 2 |
#define | V8_ARRAY_BUFFER_VIEW_INTERNAL_FIELD_COUNT 2 |
Typedefs | |
typedef void(* | AccessorGetterCallback )(Local< String > property, const PropertyCallbackInfo< Value > &info) |
typedef void(* | AccessorSetterCallback )(Local< String > property, Local< Value > value, const PropertyCallbackInfo< void > &info) |
typedef void(* | FunctionCallback )(const FunctionCallbackInfo< Value > &info) |
typedef void(* | NamedPropertyGetterCallback )(Local< String > property, const PropertyCallbackInfo< Value > &info) |
typedef void(* | NamedPropertySetterCallback )(Local< String > property, Local< Value > value, const PropertyCallbackInfo< Value > &info) |
typedef void(* | NamedPropertyQueryCallback )(Local< String > property, const PropertyCallbackInfo< Integer > &info) |
typedef void(* | NamedPropertyDeleterCallback )(Local< String > property, const PropertyCallbackInfo< Boolean > &info) |
typedef void(* | NamedPropertyEnumeratorCallback )(const PropertyCallbackInfo< Array > &info) |
typedef void(* | IndexedPropertyGetterCallback )(uint32_t index, const PropertyCallbackInfo< Value > &info) |
typedef void(* | IndexedPropertySetterCallback )(uint32_t index, Local< Value > value, const PropertyCallbackInfo< Value > &info) |
typedef void(* | IndexedPropertyQueryCallback )(uint32_t index, const PropertyCallbackInfo< Integer > &info) |
typedef void(* | IndexedPropertyDeleterCallback )(uint32_t index, const PropertyCallbackInfo< Boolean > &info) |
typedef void(* | IndexedPropertyEnumeratorCallback )(const PropertyCallbackInfo< Array > &info) |
typedef bool(* | NamedSecurityCallback )(Local< Object > host, Local< Value > key, AccessType type, Local< Value > data) |
typedef bool(* | IndexedSecurityCallback )(Local< Object > host, uint32_t index, AccessType type, Local< Value > data) |
typedef void(* | FatalErrorCallback )(const char *location, const char *message) |
typedef void(* | MessageCallback )(Handle< Message > message, Handle< Value > error) |
typedef void(* | LogEventCallback )(const char *name, int event) |
typedef int *(* | CounterLookupCallback )(const char *name) |
typedef void *(* | CreateHistogramCallback )(const char *name, int min, int max, size_t buckets) |
typedef void(* | AddHistogramSampleCallback )(void *histogram, int sample) |
typedef void(* | MemoryAllocationCallback )(ObjectSpace space, AllocationAction action, int size) |
typedef void(* | CallCompletedCallback )() |
typedef void(* | FailedAccessCheckCallback )(Local< Object > target, AccessType type, Local< Value > data) |
typedef bool(* | AllowCodeGenerationFromStringsCallback )(Local< Context > context) |
typedef void(* | GCPrologueCallback )(GCType type, GCCallbackFlags flags) |
typedef void(* | GCEpilogueCallback )(GCType type, GCCallbackFlags flags) |
typedef void(* | InterruptCallback )(Isolate *isolate, void *data) |
typedef bool(* | EntropySource )(unsigned char *buffer, size_t length) |
typedef uintptr_t(* | ReturnAddressLocationResolver )(uintptr_t return_addr_location) |
typedef void(* | FunctionEntryHook )(uintptr_t function, uintptr_t return_addr_location) |
typedef void(* | JitCodeEventHandler )(const JitCodeEvent *event) |
typedef SmiTagging < kApiPointerSize > | PlatformSmiTagging |
Functions | |
void V8_EXPORT | RegisterExtension (Extension *extension) |
V8_INLINE Handle< Primitive > | Undefined (Isolate *isolate) |
V8_INLINE Handle< Primitive > | Null (Isolate *isolate) |
V8_INLINE Handle< Boolean > | True (Isolate *isolate) |
V8_INLINE Handle< Boolean > | False (Isolate *isolate) |
bool V8_EXPORT | SetResourceConstraints (Isolate *isolate, ResourceConstraints *constraints) |
template<int kSmiShiftSize> | |
V8_INLINE internal::Object * | IntToSmi (int value) |
Variables | |
const int | kApiPointerSize = sizeof(void*) |
const int | kApiIntSize = sizeof(int) |
const int | kHeapObjectTag = 1 |
const int | kHeapObjectTagSize = 2 |
const intptr_t | kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1 |
const int | kSmiTag = 0 |
const int | kSmiTagSize = 1 |
const intptr_t | kSmiTagMask = (1 << kSmiTagSize) - 1 |
const int | kSmiShiftSize = PlatformSmiTagging::kSmiShiftSize |
const int | kSmiValueSize = PlatformSmiTagging::kSmiValueSize |
Definition at line 187 of file v8.h.
Referenced by Persistent< T, M >::Copy(), Handle< Value >::Handle(), Local< Context >::Local(), UniquePersistent< T >::operator=(), Persistent< Function >::Persistent(), PersistentBase< T >::Reset(), ReturnValue< T >::ReturnValue(), Eternal< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::SetEmptyString(), ReturnValue< T >::SetNull(), Isolate::SetObjectGroupId(), Isolate::SetReference(), Isolate::SetReferenceFromGroup(), ReturnValue< T >::SetUndefined(), PersistentBase< T >::SetWeak(), NonCopyablePersistentTraits< T >::Uncompilable(), and UniquePersistent< T >::UniquePersistent().