V8 Project
|
Debugger support for the V8 JavaScript engine. More...
Namespaces | |
anonymous_namespace{api.cc} | |
base | |
internal | |
platform | |
Classes | |
struct | OneByteMask |
struct | OneByteMask< 4 > |
struct | OneByteMask< 8 > |
class | ContainsOnlyOneByteHelper |
class | Utf8LengthHelper |
class | Utf8WriterVisitor |
class | VisitorAdapter |
class | Consts |
class | NeanderObject |
class | NeanderArray |
class | ApiFunction |
class | RegisteredExtension |
class | Utils |
class | Handle |
An object reference managed by the v8 garbage collector. More... | |
class | ZombieProtector |
class | OpenFDCloser |
class | ExecArgs |
class | ReadLineEditor |
class | PerIsolateData |
class | DumbLineEditor |
struct | CounterAndKey |
struct | DataAndPersistent |
class | ShellArrayBufferAllocator |
class | MockArrayBufferAllocator |
class | Counter |
class | CounterCollection |
class | CounterMap |
class | LineEditor |
class | SourceGroup |
class | BinaryResource |
class | ShellOptions |
class | Shell |
class | TestWithIsolate |
class | TestWithContext |
class | Debug |
class | Task |
A Task represents a unit of work. More... | |
class | Platform |
V8 Platform abstraction layer. More... | |
class | CpuProfileNode |
CpuProfileNode represents a node in a call graph. More... | |
class | CpuProfile |
CpuProfile contains a CPU profile in a form of top-down call tree (from main() down to functions that do all the work). More... | |
class | CpuProfiler |
Interface for controlling CPU profiling. More... | |
class | HeapGraphEdge |
HeapSnapshotEdge represents a directed connection between heap graph nodes: from retainers to retained nodes. More... | |
class | HeapGraphNode |
HeapGraphNode represents a node in a heap graph. More... | |
class | OutputStream |
An interface for exporting data from V8, using "push" model. More... | |
class | HeapSnapshot |
HeapSnapshots record the state of the JS heap at some moment. More... | |
class | ActivityControl |
An interface for reporting progress and controlling long-running activities. More... | |
class | HeapProfiler |
Interface for controlling heap profiling. More... | |
class | RetainedObjectInfo |
Interface for providing information about embedder's objects held by global handles. More... | |
struct | HeapStatsUpdate |
A struct for exporting HeapStats data from V8, using "push" model. More... | |
class | Testing |
class | StdMapTraits |
A default trait implemenation for PersistentValueMap which uses std::map as a backing map. More... | |
class | DefaultPersistentValueMapTraits |
A default trait implementation for PersistentValueMap, which inherits a std:map backing map from StdMapTraits and holds non-weak persistent objects and has no special Dispose handling. More... | |
class | PersistentValueMap |
A map wrapper that allows using UniquePersistent as a mapped value. More... | |
class | StdPersistentValueMap |
A map that uses UniquePersistent as value and std::map as the backing implementation. More... | |
class | DefaultPersistentValueVectorTraits |
class | PersistentValueVector |
A vector wrapper that safely stores UniquePersistent values. More... | |
class | Local |
A light-weight stack-allocated object handle. More... | |
class | Eternal |
class | NonCopyablePersistentTraits |
Default traits for Persistent. More... | |
class | PersistentBase |
An object reference that is independent of any handle scope. More... | |
class | Persistent |
A PersistentBase which allows copy and assignment. More... | |
class | UniquePersistent |
A PersistentBase which has move semantics. More... | |
class | WeakCallbackObject |
class | FunctionCallbackInfo |
The argument information given to function call callbacks. More... | |
class | PropertyCallbackInfo |
The information passed to a property callback about the context of the property access. More... | |
class | ReturnValue |
class | UniqueId |
General purpose unique identifier. More... | |
class | WeakCallbackData |
struct | CopyablePersistentTraits |
Helper class traits to allow copying and assignment of Persistent. More... | |
class | HandleScope |
A stack-allocated class that governs a number of local handles. More... | |
class | EscapableHandleScope |
A HandleScope which first allocates a handle in the current scope which will be later filled with the escape value. More... | |
struct | Maybe |
A simple Maybe type, representing an object which may or may not have a value. More... | |
class | Data |
The superclass of values and API object templates. More... | |
class | ScriptOrigin |
The origin, within a file, of a script. More... | |
class | UnboundScript |
A compiled JavaScript script, not yet tied to a Context. More... | |
class | Script |
A compiled JavaScript script, tied to a Context which was active when the script was compiled. More... | |
class | ScriptCompiler |
For compiling scripts. More... | |
class | Message |
An error message. More... | |
class | StackTrace |
Representation of a JavaScript stack trace. More... | |
class | StackFrame |
A single JavaScript stack frame. More... | |
class | JSON |
A JSON Parser. More... | |
class | Value |
The superclass of all JavaScript values and objects. More... | |
class | Primitive |
The superclass of primitive values. More... | |
class | Boolean |
A primitive boolean value (ECMA-262, 4.3.14). More... | |
class | Name |
A superclass for symbols and strings. More... | |
class | String |
A JavaScript string value (ECMA-262, 4.3.17). More... | |
class | Symbol |
A JavaScript symbol (ECMA-262 edition 6) More... | |
class | Private |
A private symbol. More... | |
class | Number |
A JavaScript number value (ECMA-262, 4.3.20) More... | |
class | Integer |
A JavaScript value representing a signed integer. More... | |
class | Int32 |
A JavaScript value representing a 32-bit signed integer. More... | |
class | Uint32 |
A JavaScript value representing a 32-bit unsigned integer. More... | |
class | Object |
A JavaScript object (ECMA-262, 4.3.3) More... | |
class | Array |
An instance of the built-in array constructor (ECMA-262, 15.4.2). More... | |
class | Function |
A JavaScript function object (ECMA-262, 15.3). More... | |
class | Promise |
An instance of the built-in Promise constructor (ES6 draft). More... | |
class | ArrayBuffer |
An instance of the built-in ArrayBuffer constructor (ES6 draft 15.13.5). More... | |
class | ArrayBufferView |
A base class for an instance of one of "views" over ArrayBuffer, including TypedArrays and DataView (ES6 draft 15.13). More... | |
class | TypedArray |
A base class for an instance of TypedArray series of constructors (ES6 draft 15.13.6). More... | |
class | Uint8Array |
An instance of Uint8Array constructor (ES6 draft 15.13.6). More... | |
class | Uint8ClampedArray |
An instance of Uint8ClampedArray constructor (ES6 draft 15.13.6). More... | |
class | Int8Array |
An instance of Int8Array constructor (ES6 draft 15.13.6). More... | |
class | Uint16Array |
An instance of Uint16Array constructor (ES6 draft 15.13.6). More... | |
class | Int16Array |
An instance of Int16Array constructor (ES6 draft 15.13.6). More... | |
class | Uint32Array |
An instance of Uint32Array constructor (ES6 draft 15.13.6). More... | |
class | Int32Array |
An instance of Int32Array constructor (ES6 draft 15.13.6). More... | |
class | Float32Array |
An instance of Float32Array constructor (ES6 draft 15.13.6). More... | |
class | Float64Array |
An instance of Float64Array constructor (ES6 draft 15.13.6). More... | |
class | DataView |
An instance of DataView constructor (ES6 draft 15.13.7). More... | |
class | Date |
An instance of the built-in Date constructor (ECMA-262, 15.9). More... | |
class | NumberObject |
A Number object (ECMA-262, 4.3.21). More... | |
class | BooleanObject |
A Boolean object (ECMA-262, 4.3.15). More... | |
class | StringObject |
A String object (ECMA-262, 4.3.18). More... | |
class | SymbolObject |
A Symbol object (ECMA-262 edition 6). More... | |
class | RegExp |
An instance of the built-in RegExp constructor (ECMA-262, 15.10). More... | |
class | External |
A JavaScript value that wraps a C++ void*. More... | |
class | Template |
The superclass of object and function templates. More... | |
class | FunctionTemplate |
A FunctionTemplate is used to create functions at runtime. More... | |
class | ObjectTemplate |
An ObjectTemplate is used to create objects at runtime. More... | |
class | Signature |
A Signature specifies which receivers and arguments are valid parameters to a function. More... | |
class | AccessorSignature |
An AccessorSignature specifies which receivers are valid parameters to an accessor callback. More... | |
class | DeclaredAccessorDescriptor |
class | ObjectOperationDescriptor |
class | RawOperationDescriptor |
class | TypeSwitch |
A utility for determining the type of objects based on the template they were constructed from. More... | |
class | ExternalOneByteStringResourceImpl |
class | Extension |
Ignore. More... | |
class | ResourceConstraints |
A set of constraints that specifies the limits of the runtime's memory use. More... | |
class | Exception |
Create new error objects by calling the corresponding error object constructor with the message. More... | |
class | HeapStatistics |
Collection of V8 heap information. More... | |
struct | JitCodeEvent |
A JIT code event is issued each time code is added, moved or removed. More... | |
class | Isolate |
Isolate represents an isolated instance of the V8 engine. More... | |
class | StartupData |
class | StartupDataDecompressor |
A helper class for driving V8 startup data decompression. More... | |
class | ExternalResourceVisitor |
Interface for iterating through all external resources in the heap. More... | |
class | PersistentHandleVisitor |
Interface for iterating through all the persistent handles in the heap. More... | |
class | V8 |
Container class for static utility functions. More... | |
class | TryCatch |
An external exception handler. More... | |
class | ExtensionConfiguration |
A container for extension names. More... | |
class | Context |
A sandboxed execution context with its own set of built-in objects and functions. More... | |
class | Unlocker |
Multiple threads in V8 are allowed, but only one thread at a time is allowed to use any given V8 isolate, see the comments in the Isolate class. More... | |
class | Locker |
class | AlignOfHelper |
Typedefs | |
typedef uint32_t | SnapshotObjectId |
typedef uintptr_t | PersistentContainerValue |
typedef void(* | AccessorGetterCallback) (Local< String > property, const PropertyCallbackInfo< Value > &info) |
Accessor[Getter|Setter] are used as callback functions when setting|getting a particular property. More... | |
typedef void(* | AccessorNameGetterCallback) (Local< Name > property, const PropertyCallbackInfo< Value > &info) |
typedef void(* | AccessorSetterCallback) (Local< String > property, Local< Value > value, const PropertyCallbackInfo< void > &info) |
typedef void(* | AccessorNameSetterCallback) (Local< Name > 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) |
NamedProperty[Getter|Setter] are used as interceptors on object. More... | |
typedef void(* | NamedPropertySetterCallback) (Local< String > property, Local< Value > value, const PropertyCallbackInfo< Value > &info) |
Returns the value if the setter intercepts the request. More... | |
typedef void(* | NamedPropertyQueryCallback) (Local< String > property, const PropertyCallbackInfo< Integer > &info) |
Returns a non-empty handle if the interceptor intercepts the request. More... | |
typedef void(* | NamedPropertyDeleterCallback) (Local< String > property, const PropertyCallbackInfo< Boolean > &info) |
Returns a non-empty handle if the deleter intercepts the request. More... | |
typedef void(* | NamedPropertyEnumeratorCallback) (const PropertyCallbackInfo< Array > &info) |
Returns an array containing the names of the properties the named property getter intercepts. More... | |
typedef void(* | IndexedPropertyGetterCallback) (uint32_t index, const PropertyCallbackInfo< Value > &info) |
Returns the value of the property if the getter intercepts the request. More... | |
typedef void(* | IndexedPropertySetterCallback) (uint32_t index, Local< Value > value, const PropertyCallbackInfo< Value > &info) |
Returns the value if the setter intercepts the request. More... | |
typedef void(* | IndexedPropertyQueryCallback) (uint32_t index, const PropertyCallbackInfo< Integer > &info) |
Returns a non-empty handle if the interceptor intercepts the request. More... | |
typedef void(* | IndexedPropertyDeleterCallback) (uint32_t index, const PropertyCallbackInfo< Boolean > &info) |
Returns a non-empty handle if the deleter intercepts the request. More... | |
typedef void(* | IndexedPropertyEnumeratorCallback) (const PropertyCallbackInfo< Array > &info) |
Returns an array containing the indices of the properties the indexed property getter intercepts. More... | |
typedef bool(* | NamedSecurityCallback) (Local< Object > host, Local< Value > key, AccessType type, Local< Value > data) |
Returns true if cross-context access should be allowed to the named property with the given key on the host object. More... | |
typedef bool(* | IndexedSecurityCallback) (Local< Object > host, uint32_t index, AccessType type, Local< Value > data) |
Returns true if cross-context access should be allowed to the indexed property with the given index on the host object. More... | |
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(* | MicrotaskCallback) (void *data) |
typedef void(* | FailedAccessCheckCallback) (Local< Object > target, AccessType type, Local< Value > data) |
typedef bool(* | AllowCodeGenerationFromStringsCallback) (Local< Context > context) |
Callback to check if code generation from strings is allowed. More... | |
typedef void(* | GCPrologueCallback) (GCType type, GCCallbackFlags flags) |
typedef void(* | GCEpilogueCallback) (GCType type, GCCallbackFlags flags) |
typedef void(* | InterruptCallback) (Isolate *isolate, void *data) |
typedef void(* | FunctionEntryHook) (uintptr_t function, uintptr_t return_addr_location) |
FunctionEntryHook is the type of the profile entry hook called at entry to any generated function when function-level profiling is enabled. More... | |
typedef void(* | JitCodeEventHandler) (const JitCodeEvent *event) |
Callback function passed to SetJitCodeEventHandler. More... | |
typedef bool(* | EntropySource) (unsigned char *buffer, size_t length) |
EntropySource is used as a callback function when v8 needs a source of entropy. More... | |
typedef uintptr_t(* | ReturnAddressLocationResolver) (uintptr_t return_addr_location) |
ReturnAddressLocationResolver is used as a callback function when v8 is resolving the location of a return address on the stack. More... | |
Functions | |
static bool | IsExecutionTerminatingCheck (i::Isolate *isolate) |
void | RegisterExtension (Extension *that) |
void | SetResourceConstraints (i::Isolate *isolate, const ResourceConstraints &constraints) |
static void * | DecodeSmiToAligned (i::Object *value, const char *location) |
static i::Smi * | EncodeAlignedAsSmi (void *value, const char *location) |
static i::Handle< i::FixedArray > | EmbedderDataFor (Context *context, int index, bool can_grow, const char *location) |
static void | InitializeTemplate (i::Handle< i::TemplateInfo > that, int type) |
static void | TemplateSet (i::Isolate *isolate, v8::Template *templ, int length, v8::Handle< v8::Data > *data) |
static void | InitializeFunctionTemplate (i::Handle< i::FunctionTemplateInfo > info) |
static Local< FunctionTemplate > | FunctionTemplateNew (i::Isolate *isolate, FunctionCallback callback, v8::Handle< Value > data, v8::Handle< Signature > signature, int length, bool do_not_cache) |
template<typename Operation > | |
static Local< Operation > | NewDescriptor (Isolate *isolate, const i::DeclaredAccessorDescriptorData &data, Data *previous_descriptor) |
template<typename T > | |
static Local< DeclaredAccessorDescriptor > | NewBitmaskCompare (Isolate *isolate, T bitmask, T compare_value, RawOperationDescriptor *operation) |
static i::Handle< i::AccessorInfo > | SetAccessorInfoProperties (i::Handle< i::AccessorInfo > obj, v8::Handle< Name > name, v8::AccessControl settings, v8::PropertyAttribute attributes, v8::Handle< AccessorSignature > signature) |
template<typename Getter , typename Setter > | |
static i::Handle< i::AccessorInfo > | MakeAccessorInfo (v8::Handle< Name > name, Getter getter, Setter setter, v8::Handle< Value > data, v8::AccessControl settings, v8::PropertyAttribute attributes, v8::Handle< AccessorSignature > signature) |
static i::Handle< i::AccessorInfo > | MakeAccessorInfo (v8::Handle< Name > name, v8::Handle< v8::DeclaredAccessorDescriptor > descriptor, void *setter_ignored, void *data_ignored, v8::AccessControl settings, v8::PropertyAttribute attributes, v8::Handle< AccessorSignature > signature) |
static i::Handle< i::FunctionTemplateInfo > | EnsureConstructor (i::Isolate *isolate, ObjectTemplate *object_template) |
static void | AddPropertyToTemplate (i::Handle< i::TemplateInfo > info, i::Handle< i::AccessorInfo > obj) |
static i::Handle< i::TemplateInfo > | GetTemplateInfo (i::Isolate *isolate, Template *template_obj) |
static i::Handle< i::TemplateInfo > | GetTemplateInfo (i::Isolate *isolate, ObjectTemplate *object_template) |
template<typename Getter , typename Setter , typename Data , typename Template > | |
static bool | TemplateSetAccessor (Template *template_obj, v8::Local< Name > name, Getter getter, Setter setter, Data data, AccessControl settings, PropertyAttribute attribute, v8::Local< AccessorSignature > signature) |
static MUST_USE_RESULT i::MaybeHandle< i::Object > | CallV8HeapFunction (const char *name, i::Handle< i::Object > recv, int argc, i::Handle< i::Object > argv[]) |
static MUST_USE_RESULT i::MaybeHandle< i::Object > | CallV8HeapFunction (const char *name, i::Handle< i::Object > data) |
static int | getIntProperty (const StackFrame *f, const char *propertyName, int defaultValue) |
static Local< String > | getStringProperty (const StackFrame *f, const char *propertyName) |
static bool | getBoolProperty (const StackFrame *f, const char *propertyName) |
static bool | CheckConstructor (i::Isolate *isolate, i::Handle< i::JSObject > obj, const char *class_name) |
template<typename Getter , typename Setter , typename Data > | |
static bool | ObjectSetAccessor (Object *obj, Handle< Name > name, Getter getter, Setter setter, Data data, AccessControl settings, PropertyAttribute attributes) |
static Local< Value > | GetPropertyByLookup (i::LookupIterator *it) |
static bool | Unaligned (const uint16_t *chars) |
static const uint16_t * | Align (const uint16_t *chars) |
static int | Utf8Length (i::String *str, i::Isolate *isolate) |
static bool | RecursivelySerializeToUtf8 (i::String *current, Utf8WriterVisitor *writer, int recursion_budget) |
template<typename CharType > | |
static int | WriteHelper (const String *string, CharType *buffer, int start, int length, int options) |
static bool | InternalFieldOK (i::Handle< i::JSObject > obj, int index, const char *location) |
static void * | ExternalValue (i::Object *obj) |
static i::Handle< i::Context > | CreateEnvironment (i::Isolate *isolate, v8::ExtensionConfiguration *extensions, v8::Handle< ObjectTemplate > global_template, v8::Handle< Value > maybe_global_proxy) |
static i::MaybeHandle< i::String > | NewExternalStringHandle (i::Isolate *isolate, v8::String::ExternalStringResource *resource) |
static i::MaybeHandle< i::String > | NewExternalOneByteStringHandle (i::Isolate *isolate, v8::String::ExternalOneByteStringResource *resource) |
static i::Handle< i::String > | RegExpFlagsToString (RegExp::Flags flags) |
REGEXP_FLAG_ASSERT_EQ (kNone, NONE) | |
REGEXP_FLAG_ASSERT_EQ (kGlobal, GLOBAL) | |
REGEXP_FLAG_ASSERT_EQ (kIgnoreCase, IGNORE_CASE) | |
REGEXP_FLAG_ASSERT_EQ (kMultiline, MULTILINE) | |
static void | SetupArrayBufferView (i::Isolate *isolate, i::Handle< i::JSArrayBufferView > obj, i::Handle< i::JSArrayBuffer > buffer, size_t byte_offset, size_t byte_length) |
template<typename ElementType , ExternalArrayType array_type, i::ElementsKind elements_kind> | |
i::Handle< i::JSTypedArray > | NewTypedArray (i::Isolate *isolate, Handle< ArrayBuffer > array_buffer, size_t byte_offset, size_t length) |
static i::Handle< i::Symbol > | SymbolFor (i::Isolate *isolate, i::Handle< i::String > name, i::Handle< i::String > part) |
static Local< Symbol > | GetWellKnownSymbol (Isolate *isolate, const char *name) |
static i::HeapGraphEdge * | ToInternal (const HeapGraphEdge *edge) |
static i::HeapEntry * | ToInternal (const HeapGraphNode *entry) |
static i::HeapSnapshot * | ToInternal (const HeapSnapshot *snapshot) |
static void | SetFlagsFromString (const char *flags) |
template<typename T > | |
T | ToCData (v8::internal::Object *obj) |
template<typename T > | |
v8::internal::Handle< v8::internal::Object > | FromCData (v8::internal::Isolate *isolate, T obj) |
template<class T > | |
T * | ToApi (v8::internal::Handle< v8::internal::Object > obj) |
template<class T > | |
v8::Local< T > | ToApiHandle (v8::internal::Handle< v8::internal::Object > obj) |
void | PrintPrompt (bool is_running) |
void | HandleDebugEvent (const Debug::EventDetails &event_details) |
static int | LengthWithoutIncompleteUtf8 (char *buffer, int len) |
static bool | WaitOnFD (int fd, int read_timeout, int total_timeout, const struct timeval &start_time) |
static bool | TimeIsOut (const struct timeval &start_time, const int &total_time) |
static bool | GetTimeouts (const v8::FunctionCallbackInfo< v8::Value > &args, int *read_timeout, int *total_timeout) |
static void | ExecSubprocess (int *exec_error_fds, int *stdout_fds, const ExecArgs &exec_args) |
static bool | ChildLaunchedOK (Isolate *isolate, int *exec_error_fds) |
static Handle< Value > | GetStdout (Isolate *isolate, int child_fd, const struct timeval &start_time, int read_timeout, int total_timeout) |
static bool | WaitForChild (Isolate *isolate, int pid, ZombieProtector &child_waiter, const struct timeval &start_time, int read_timeout, int total_timeout) |
static bool | CheckItsADirectory (Isolate *isolate, char *directory) |
static bool | mkdirp (Isolate *isolate, char *directory, mode_t mask) |
static Handle< Value > | Throw (Isolate *isolate, const char *message) |
bool | operator< (const CounterAndKey &lhs, const CounterAndKey &rhs) |
static FILE * | FOpen (const char *path, const char *mode) |
static char * | ReadChars (Isolate *isolate, const char *name, int *size_out) |
static void | ReadBufferWeakCallback (const v8::WeakCallbackData< ArrayBuffer, DataAndPersistent > &data) |
static void | DumpHeapConstants (i::Isolate *isolate) |
template<class T > | |
Maybe< T > | maybe (T t) |
Handle< Primitive > | Undefined (Isolate *isolate) |
Handle< Primitive > | Null (Isolate *isolate) |
Handle< Boolean > | True (Isolate *isolate) |
Handle< Boolean > | False (Isolate *isolate) |
Variables | |
static const uintptr_t | kOneByteMask = OneByteMask<sizeof(uintptr_t)>::value |
static const uintptr_t | kAlignmentMask = sizeof(uintptr_t) - 1 |
static const int | kReadFD = 0 |
static const int | kWriteFD = 1 |
static ReadLineEditor | read_line_editor |
const int | MB = 1024 * 1024 |
static const uintptr_t | kPersistentContainerNotFound = 0 |
Debugger support for the V8 JavaScript engine.
The v8 JavaScript engine.
Support for Persistent containers.
Testing support for the V8 JavaScript engine.
Profiler support for the V8 JavaScript engine.
C++11 embedders can use STL containers with UniquePersistent values, but pre-C++11 does not support the required move semantic and hence may want these container classes.
typedef void(* v8::AccessorGetterCallback) (Local< String > property, const PropertyCallbackInfo< Value > &info) |
Accessor[Getter|Setter] are used as callback functions when setting|getting a particular property.
See Object and ObjectTemplate's method SetAccessor.
typedef void(* v8::AccessorNameGetterCallback) (Local< Name > property, const PropertyCallbackInfo< Value > &info) |
typedef void(* v8::AccessorNameSetterCallback) (Local< Name > property, Local< Value > value, const PropertyCallbackInfo< void > &info) |
typedef void(* v8::AccessorSetterCallback) (Local< String > property, Local< Value > value, const PropertyCallbackInfo< void > &info) |
typedef void(* v8::AddHistogramSampleCallback) (void *histogram, int sample) |
Callback to check if code generation from strings is allowed.
typedef bool(* v8::EntropySource) (unsigned char *buffer, size_t length) |
typedef void(* v8::FailedAccessCheckCallback) (Local< Object > target, AccessType type, Local< Value > data) |
typedef void(* v8::FatalErrorCallback) (const char *location, const char *message) |
typedef void(* v8::FunctionCallback) (const FunctionCallbackInfo< Value > &info) |
FunctionEntryHook is the type of the profile entry hook called at entry to any generated function when function-level profiling is enabled.
function | the address of the function that's being entered. |
return_addr_location | points to a location on stack where the machine return address resides. This can be used to identify the caller of function , and/or modified to divert execution when function exits. |
typedef void(* v8::GCEpilogueCallback) (GCType type, GCCallbackFlags flags) |
typedef void(* v8::GCPrologueCallback) (GCType type, GCCallbackFlags flags) |
typedef void(* v8::IndexedPropertyDeleterCallback) (uint32_t index, const PropertyCallbackInfo< Boolean > &info) |
typedef void(* v8::IndexedPropertyEnumeratorCallback) (const PropertyCallbackInfo< Array > &info) |
typedef void(* v8::IndexedPropertyGetterCallback) (uint32_t index, const PropertyCallbackInfo< Value > &info) |
typedef void(* v8::IndexedPropertyQueryCallback) (uint32_t index, const PropertyCallbackInfo< Integer > &info) |
typedef void(* v8::IndexedPropertySetterCallback) (uint32_t index, Local< Value > value, const PropertyCallbackInfo< Value > &info) |
typedef void(* v8::InterruptCallback) (Isolate *isolate, void *data) |
typedef void(* v8::JitCodeEventHandler) (const JitCodeEvent *event) |
typedef void(* v8::MemoryAllocationCallback) (ObjectSpace space, AllocationAction action, int size) |
typedef void(* v8::NamedPropertyDeleterCallback) (Local< String > property, const PropertyCallbackInfo< Boolean > &info) |
typedef void(* v8::NamedPropertyEnumeratorCallback) (const PropertyCallbackInfo< Array > &info) |
typedef void(* v8::NamedPropertyGetterCallback) (Local< String > property, const PropertyCallbackInfo< Value > &info) |
NamedProperty[Getter|Setter] are used as interceptors on object.
typedef void(* v8::NamedPropertyQueryCallback) (Local< String > property, const PropertyCallbackInfo< Integer > &info) |
Returns a non-empty handle if the interceptor intercepts the request.
The result is an integer encoding property attributes (like v8::None, v8::DontEnum, etc.)
ReturnAddressLocationResolver is used as a callback function when v8 is resolving the location of a return address on the stack.
Profilers that change the return address on the stack can use this to resolve the stack location to whereever the profiler stashed the original return address.
return_addr_location | points to a location on stack where a machine return address resides. |
typedef uint32_t v8::SnapshotObjectId |
Definition at line 18 of file v8-profiler.h.
enum v8::AccessControl |
Access control specifications.
Some accessors should be accessible across contexts. These accessors have an explicit access control parameter which specifies the kind of cross-context access that should be allowed.
TODO(dcarney): Remove PROHIBITS_OVERWRITING as it is now unused.
Enumerator | |
---|---|
DEFAULT | |
ALL_CAN_READ | |
ALL_CAN_WRITE | |
PROHIBITS_OVERWRITING |
Definition at line 2272 of file v8.h.
enum v8::AccessType |
enum v8::AllocationAction |
enum v8::DebugEvent |
Enumerator | |
---|---|
Break | |
Exception | |
NewFunction | |
BeforeCompile | |
AfterCompile | |
CompileError | |
PromiseEvent | |
AsyncTaskEvent | |
BreakForCommand |
Definition at line 16 of file v8-debug.h.
Definition at line 2217 of file v8.h.
enum v8::GCCallbackFlags |
enum v8::GCType |
Applications can register callback functions which will be called before and after a garbage collection.
Allocations are not allowed in the callback functions, you therefore cannot manipulate objects (set or delete properties for example) since it is possible such operations will result in the allocation of objects.
Enumerator | |
---|---|
kGCTypeScavenge | |
kGCTypeMarkSweepCompact | |
kGCTypeAll |
Definition at line 4203 of file v8.h.
enum v8::ObjectSpace |
|
inlinestatic |
Definition at line 1285 of file api.cc.
References v8::NeanderArray::add(), and v8::NeanderArray::value().
Referenced by TemplateSetAccessor().
|
inlinestatic |
Definition at line 4266 of file api.cc.
References kAlignmentMask.
Referenced by v8::ContainsOnlyOneByteHelper::VisitTwoByteString().
|
static |
Definition at line 2126 of file api.cc.
References arraysize, CallV8HeapFunction(), and name.
|
static |
Definition at line 2112 of file api.cc.
References v8::internal::Handle< T >::cast(), v8::internal::Object::GetProperty(), v8::internal::Isolate::js_builtins_object(), and name.
Referenced by CallV8HeapFunction(), v8::Value::Equals(), v8::Message::GetEndColumn(), v8::Message::GetLineNumber(), v8::Object::GetOwnPropertyDescriptor(), v8::Message::GetSourceLine(), and v8::Message::GetStartColumn().
|
static |
Definition at line 2534 of file api.cc.
References v8::internal::Handle< T >::cast(), v8::internal::Object::GetProperty(), and v8::internal::Isolate::js_builtins_object().
Referenced by v8::Value::IsNativeError().
Definition at line 574 of file d8-posix.cc.
References v8::String::NewFromUtf8(), and v8::Isolate::ThrowException().
Referenced by mkdirp().
Definition at line 277 of file d8-posix.cc.
References kReadFD, v8::String::NewFromUtf8(), and v8::Isolate::ThrowException().
Referenced by v8::Shell::System().
|
static |
Definition at line 5151 of file api.cc.
References v8::internal::Isolate::bootstrapper(), v8::internal::Handle< T >::cast(), DCHECK, EnsureConstructor(), ENTER_V8, v8::internal::Isolate::heap(), v8::internal::Handle< T >::is_null(), v8::Handle< T >::IsEmpty(), v8::ObjectTemplate::New(), and v8::Utils::OpenHandle().
Referenced by v8::Context::New().
|
static |
Definition at line 638 of file api.cc.
References v8::Utils::ApiCheck().
Referenced by v8::Context::SlowGetAlignedPointerFromEmbedderData(), and v8::Object::SlowGetAlignedPointerFromInternalField().
|
static |
Definition at line 1469 of file d8.cc.
References v8::internal::AllocationSpaceName(), DUMP_TYPE, v8::internal::Isolate::heap(), v8::internal::Map::instance_type(), INSTANCE_TYPE_LIST, v8::internal::Heap::map_space(), v8::internal::HeapObjectIterator::Next(), NULL, ROOT_LIST, ROOT_LIST_CASE, STRUCT_LIST, STRUCT_LIST_CASE, and V8PRIxPTR.
Referenced by v8::Shell::Main().
|
static |
Definition at line 651 of file api.cc.
References v8::Utils::ApiCheck(), v8::internal::FixedArray::CopySize(), v8::internal::compiler::Max(), and v8::Utils::OpenHandle().
Referenced by v8::Context::SetAlignedPointerInEmbedderData(), v8::Context::SetEmbedderData(), v8::Context::SlowGetAlignedPointerFromEmbedderData(), and v8::Context::SlowGetEmbedderData().
|
static |
Definition at line 644 of file api.cc.
References v8::Utils::ApiCheck().
Referenced by v8::Context::SetAlignedPointerInEmbedderData(), and v8::Object::SetAlignedPointerInInternalField().
|
static |
Definition at line 1268 of file api.cc.
References v8::FunctionTemplate::New(), and v8::Utils::OpenHandle().
Referenced by CreateEnvironment(), GetTemplateInfo(), v8::ObjectTemplate::MarkAsUndetectable(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::ObjectTemplate::SetCallAsFunctionHandler(), v8::ObjectTemplate::SetIndexedPropertyHandler(), v8::ObjectTemplate::SetInternalFieldCount(), and v8::ObjectTemplate::SetNamedPropertyHandler().
|
static |
Definition at line 254 of file d8-posix.cc.
References v8::ExecArgs::arg0(), v8::ExecArgs::arg_array(), kReadFD, and kWriteFD.
Referenced by v8::Shell::System().
|
static |
Definition at line 5037 of file api.cc.
References NULL.
Referenced by v8::External::Value().
Definition at line 6863 of file v8.h.
Referenced by v8::Boolean::New().
|
static |
Definition at line 1056 of file d8.cc.
References file(), mode(), and NULL.
Referenced by ReadChars().
|
inline |
Definition at line 104 of file api.h.
References v8::internal::Isolate::factory(), STATIC_ASSERT, and T.
Referenced by v8::internal::Accessors::MakeAccessor(), and v8::internal::Accessors::MakeModuleExport().
|
static |
Definition at line 871 of file api.cc.
References v8::internal::Handle< T >::cast(), v8::internal::do_not_cache, v8::internal::Isolate::factory(), v8::internal::Smi::FromInt(), v8::internal::FUNCTION_TEMPLATE_INFO_TYPE, InitializeFunctionTemplate(), v8::Handle< T >::IsEmpty(), v8::Utils::OpenHandle(), v8::Utils::ToLocal(), and Undefined().
Referenced by v8::Function::New(), and v8::FunctionTemplate::New().
|
static |
Definition at line 2345 of file api.cc.
References ENTER_V8, v8::internal::Object::GetProperty(), and v8::Utils::OpenHandle().
Referenced by v8::StackFrame::IsConstructor(), and v8::StackFrame::IsEval().
|
static |
Definition at line 2289 of file api.cc.
References ENTER_V8, v8::internal::Object::GetProperty(), and v8::Utils::OpenHandle().
Referenced by v8::StackFrame::GetColumn(), v8::StackFrame::GetLineNumber(), and v8::StackFrame::GetScriptId().
Definition at line 3665 of file api.cc.
References EXCEPTION_BAILOUT_CHECK, EXCEPTION_PREAMBLE, v8::internal::Object::GetProperty(), and v8::Utils::ToLocal().
Referenced by v8::Object::GetRealNamedProperty(), and v8::Object::GetRealNamedPropertyInPrototypeChain().
|
static |
Definition at line 293 of file d8-posix.cc.
References v8::String::Concat(), v8::String::Empty(), v8::String::kNormalString, LengthWithoutIncompleteUtf8(), v8::String::NewFromUtf8(), v8::Isolate::ThrowException(), TimeIsOut(), and WaitOnFD().
Referenced by v8::Shell::System().
|
static |
Definition at line 2316 of file api.cc.
References ENTER_V8, v8::EscapableHandleScope::Escape(), v8::internal::Object::GetProperty(), v8::Utils::OpenHandle(), and v8::Utils::ToLocal().
Referenced by v8::StackFrame::GetFunctionName(), v8::StackFrame::GetScriptName(), and v8::StackFrame::GetScriptNameOrSourceURL().
|
inlinestatic |
Definition at line 1307 of file api.cc.
References EnsureConstructor(), and v8::Utils::OpenHandle().
|
inlinestatic |
Definition at line 1299 of file api.cc.
References v8::Utils::OpenHandle().
Referenced by TemplateSetAccessor().
|
static |
Definition at line 222 of file d8-posix.cc.
References v8::FunctionCallbackInfo< T >::GetIsolate(), v8::FunctionCallbackInfo< T >::Length(), v8::String::NewFromUtf8(), and v8::Isolate::ThrowException().
Referenced by v8::Shell::System().
Definition at line 6217 of file api.cc.
References v8::internal::Isolate::factory(), name, v8::String::NewFromUtf8(), v8::Utils::OpenHandle(), SymbolFor(), and v8::Utils::ToLocal().
Referenced by v8::Symbol::GetIterator(), and v8::Symbol::GetUnscopables().
void v8::HandleDebugEvent | ( | const Debug::EventDetails & | event_details | ) |
Definition at line 17 of file d8-debug.cc.
References AfterCompile, Break, v8::Handle< T >::Cast(), v8::Local< T >::Cast(), v8::Shell::DebugCommandToJSONRequest(), v8::Shell::DebugMessageDetails(), v8::Isolate::GetCurrent(), v8::Debug::EventDetails::GetEvent(), v8::Debug::EventDetails::GetEventData(), v8::Debug::EventDetails::GetExecutionState(), v8::TryCatch::HasCaught(), v8::base::anonymous_namespace{semaphore-unittest.cc}::kBufferSize, v8::String::Utf8Value::length(), v8::String::NewFromUtf8(), NULL, PrintPrompt(), and v8::Shell::ReportException().
Referenced by v8::Shell::InstallUtilityScript().
|
static |
Definition at line 843 of file api.cc.
References v8::internal::Smi::FromInt(), and v8::Consts::FUNCTION_TEMPLATE.
Referenced by FunctionTemplateNew().
|
static |
Definition at line 777 of file api.cc.
References v8::internal::Smi::FromInt().
Referenced by v8::ObjectTemplate::New().
|
static |
Definition at line 4992 of file api.cc.
References v8::Utils::ApiCheck().
Referenced by v8::Object::SetAlignedPointerInInternalField(), v8::Object::SetInternalField(), v8::Object::SlowGetAlignedPointerFromInternalField(), and v8::Object::SlowGetInternalField().
|
inlinestatic |
Definition at line 195 of file api.cc.
References v8::internal::Isolate::has_scheduled_exception(), v8::internal::Isolate::heap(), v8::internal::Isolate::IsInitialized(), and v8::internal::Isolate::scheduled_exception().
Referenced by v8::V8::IsExecutionTerminating().
Definition at line 29 of file d8-posix.cc.
Referenced by GetStdout().
|
static |
Definition at line 1143 of file api.cc.
References v8::internal::Isolate::factory(), v8::Handle< T >::IsEmpty(), name, v8::Utils::OpenHandle(), SET_FIELD_WRAPPED, SetAccessorInfoProperties(), and Undefined().
Referenced by ObjectSetAccessor(), and TemplateSetAccessor().
|
static |
Definition at line 1164 of file api.cc.
References v8::internal::Isolate::factory(), v8::Handle< T >::IsEmpty(), name, v8::Utils::OpenHandle(), and SetAccessorInfoProperties().
Definition at line 902 of file v8.h.
Referenced by v8::internal::JSObject::AddProperty(), v8::internal::DeclareGlobals(), v8::internal::JSObject::DefineAccessor(), v8::internal::JSObject::DeleteElement(), v8::internal::MemoryChunk::FromAnyPointerAddress(), v8::internal::JSObject::GetElementAttributeWithInterceptor(), v8::internal::JSObject::GetElementAttributeWithoutInterceptor(), v8::internal::JSObject::GetElementAttributeWithReceiver(), v8::internal::GetOldValue(), v8::internal::GetOwnProperty(), v8::internal::JSReceiver::GetPropertyAttributes(), v8::internal::JSObject::GetPropertyAttributesWithFailedAccessCheck(), v8::internal::JSProxy::GetPropertyAttributesWithHandler(), v8::internal::JSObject::GetPropertyAttributesWithInterceptor(), v8::Object::Has(), v8::internal::JSReceiver::HasElement(), v8::internal::JSObject::HasHiddenProperties(), v8::internal::Runtime::HasObjectProperty(), v8::internal::JSReceiver::HasOwnElement(), v8::internal::JSReceiver::HasOwnProperty(), v8::Object::HasOwnProperty(), v8::internal::HasOwnPropertyImplementation(), v8::internal::JSReceiver::HasProperty(), v8::internal::JSProxy::HasPropertyWithHandler(), v8::internal::JSObject::HasRealElementProperty(), v8::Object::HasRealIndexedProperty(), v8::internal::JSObject::HasRealNamedCallbackProperty(), v8::Object::HasRealNamedCallbackProperty(), v8::internal::JSObject::HasRealNamedProperty(), v8::Object::HasRealNamedProperty(), v8::internal::IterateElements(), v8::internal::LoadLookupSlotHelper(), v8::internal::Context::Lookup(), v8::internal::MaterializeArgumentsObject(), v8::internal::ModuleGetExport(), v8::internal::ModuleSetExport(), v8::internal::RUNTIME_FUNCTION(), v8::internal::SetClosureVariableValue(), v8::internal::JSObject::SetElement(), v8::internal::SetLocalVariableValue(), v8::internal::anonymous_namespace{i18n.cc}::SetResolvedNumberSettings(), v8::TryCatch::StackTrace(), v8::internal::JSObjectWalkVisitor< ContextObject >::StructureWalk(), v8::internal::BreakIterator::UnpackBreakIterator(), v8::internal::Collator::UnpackCollator(), v8::internal::DateFormat::UnpackDateFormat(), v8::internal::NumberFormat::UnpackNumberFormat(), and v8::internal::UnscopableLookup().
Definition at line 589 of file d8-posix.cc.
References CheckItsADirectory(), v8::String::NewFromUtf8(), NULL, and v8::Isolate::ThrowException().
Referenced by v8::Shell::MakeDirectory().
|
static |
Definition at line 1026 of file api.cc.
References v8::internal::BitmaskCompareDescriptor::bitmask, v8::internal::DeclaredAccessorDescriptorData::bitmask_compare_descriptor, v8::internal::BitmaskCompareDescriptor::compare_value, v8::internal::kDescriptorBitmaskCompare, v8::internal::BitmaskCompareDescriptor::size, T, and v8::internal::DeclaredAccessorDescriptorData::type.
Referenced by v8::RawOperationDescriptor::NewBitmaskCompare16(), v8::RawOperationDescriptor::NewBitmaskCompare32(), and v8::RawOperationDescriptor::NewBitmaskCompare8().
|
static |
Definition at line 949 of file api.cc.
References v8::internal::DeclaredAccessorDescriptor::Create(), NULL, and v8::Utils::OpenHandle().
|
static |
Definition at line 5505 of file api.cc.
References v8::internal::Isolate::factory().
Referenced by v8::String::NewExternal().
|
static |
Definition at line 5499 of file api.cc.
References v8::internal::Isolate::factory().
Referenced by v8::String::NewExternal().
i::Handle<i::JSTypedArray> v8::NewTypedArray | ( | i::Isolate * | isolate, |
Handle< ArrayBuffer > | array_buffer, | ||
size_t | byte_offset, | ||
size_t | length | ||
) |
Definition at line 6106 of file api.cc.
References CHECK, DCHECK, v8::internal::Isolate::factory(), v8::internal::JSObject::GetElementsTransitionMap(), v8::internal::Smi::kMaxValue, map, v8::Utils::OpenHandle(), v8::internal::JSObject::SetMapAndElements(), and SetupArrayBufferView().
Definition at line 6845 of file v8.h.
Referenced by v8::internal::HGraphBuilder::BuildCompareNil(), v8::internal::CompareNilICStub::GetInputType(), and v8::internal::CompareNilICStub::GetType().
|
inlinestatic |
Definition at line 3514 of file api.cc.
References ASSIGN_RETURN_ON_EXCEPTION_VALUE, ENTER_V8, v8::internal::Handle< T >::is_null(), MakeAccessorInfo(), v8::internal::JSObject::MigrateSlowToFast(), name, ON_BAILOUT, v8::Utils::OpenHandle(), and v8::internal::JSObject::SetAccessor().
Referenced by v8::Object::SetAccessor(), and v8::Object::SetDeclaredAccessor().
|
inline |
Definition at line 1007 of file d8.cc.
References v8::CounterAndKey::key.
void v8::PrintPrompt | ( | bool | is_running | ) |
Definition at line 10 of file d8-debug.cc.
Referenced by HandleDebugEvent().
|
static |
Definition at line 1103 of file d8.cc.
References v8::Isolate::AdjustAmountOfExternalAllocatedMemory(), v8::WeakCallbackData< T, P >::GetIsolate(), v8::WeakCallbackData< T, P >::GetParameter(), and v8::WeakCallbackData< T, P >::GetValue().
Referenced by v8::Shell::ReadBuffer().
Definition at line 1077 of file d8.cc.
References file(), FOpen(), name, NULL, and size.
Referenced by v8::Shell::ReadBuffer(), v8::SourceGroup::ReadFile(), and v8::Shell::ReadFile().
|
static |
Definition at line 4752 of file api.cc.
References v8::internal::ConsString::first(), v8::Utf8WriterVisitor::IsDone(), NULL, v8::internal::ConsString::second(), and v8::internal::String::VisitFlat().
Referenced by v8::String::WriteUtf8().
v8::REGEXP_FLAG_ASSERT_EQ | ( | kGlobal | , |
GLOBAL | |||
) |
v8::REGEXP_FLAG_ASSERT_EQ | ( | kIgnoreCase | , |
IGNORE_CASE | |||
) |
v8::REGEXP_FLAG_ASSERT_EQ | ( | kMultiline | , |
MULTILINE | |||
) |
v8::REGEXP_FLAG_ASSERT_EQ | ( | kNone | , |
NONE | |||
) |
|
static |
Definition at line 5755 of file api.cc.
References arraysize, DCHECK, v8::internal::Isolate::factory(), v8::internal::anonymous_namespace{flags.cc}::flags, v8::RegExp::kGlobal, v8::RegExp::kIgnoreCase, v8::RegExp::kMultiline, and v8::internal::anonymous_namespace{flags.cc}::num_flags.
Referenced by v8::RegExp::New().
void v8::RegisterExtension | ( | Extension * | that | ) |
Definition at line 398 of file api.cc.
References v8::RegisteredExtension::Register().
|
static |
Definition at line 1125 of file api.cc.
References ALL_CAN_READ, ALL_CAN_WRITE, v8::Handle< T >::IsEmpty(), name, and v8::Utils::OpenHandle().
Referenced by MakeAccessorInfo().
|
static |
Definition at line 7473 of file api.cc.
References v8::internal::anonymous_namespace{flags.cc}::flags, v8::V8::SetFlagsFromString(), and v8::internal::StrLength().
Referenced by v8::Shell::Main(), v8::Testing::PrepareStressRun(), and v8::Shell::SetOptions().
void v8::SetResourceConstraints | ( | i::Isolate * | isolate, |
const ResourceConstraints & | constraints | ||
) |
Definition at line 474 of file api.cc.
References v8::ResourceConstraints::code_range_size(), v8::internal::Heap::ConfigureHeap(), v8::internal::Isolate::heap(), v8::ResourceConstraints::max_available_threads(), v8::ResourceConstraints::max_executable_size(), v8::ResourceConstraints::max_old_space_size(), v8::ResourceConstraints::max_semi_space_size(), NULL, v8::internal::Isolate::stack_guard(), and v8::ResourceConstraints::stack_limit().
Referenced by v8::Isolate::New().
|
inlinestatic |
Definition at line 6080 of file api.cc.
References DCHECK, and v8::internal::Isolate::factory().
Referenced by v8::DataView::New(), and NewTypedArray().
|
static |
Definition at line 6182 of file api.cc.
References v8::internal::Handle< T >::cast(), DCHECK, v8::internal::Isolate::factory(), v8::internal::Object::GetPropertyOrElement(), v8::internal::Isolate::GetSymbolRegistry(), name, v8::internal::Object::SetProperty(), and v8::internal::STRICT.
Referenced by v8::Symbol::For(), v8::Symbol::ForApi(), and GetWellKnownSymbol().
|
static |
Definition at line 782 of file api.cc.
References v8::NeanderArray::add(), v8::internal::Isolate::factory(), v8::Handle< T >::IsEmpty(), v8::Utils::OpenHandle(), and v8::NeanderArray::value().
Referenced by v8::Template::Set(), and v8::Template::SetAccessorProperty().
|
static |
Definition at line 1316 of file api.cc.
References AddPropertyToTemplate(), ENTER_V8, GetTemplateInfo(), v8::internal::Handle< T >::is_null(), MakeAccessorInfo(), name, and v8::Utils::OpenHandle().
Referenced by v8::ObjectTemplate::SetAccessor(), v8::Template::SetDeclaredAccessor(), and v8::Template::SetNativeDataProperty().
Definition at line 72 of file d8.cc.
References v8::String::NewFromUtf8(), and v8::Isolate::ThrowException().
Referenced by v8::Shell::Load(), v8::internal::BASE_EMBEDDED< Visitor >::NewThrow(), v8::Shell::Read(), v8::Shell::ReadBuffer(), v8::Shell::RealmDispose(), v8::Shell::RealmEval(), v8::PerIsolateData::RealmIndexOrThrow(), and v8::Shell::RealmOwner().
Definition at line 123 of file d8-posix.cc.
References NULL.
Referenced by GetStdout(), and WaitForChild().
|
inline |
|
inline |
|
inline |
|
static |
Definition at line 7213 of file api.cc.
Referenced by v8::HeapSnapshot::Delete(), v8::HeapGraphNode::GetChild(), v8::HeapGraphNode::GetChildrenCount(), v8::HeapGraphEdge::GetFromNode(), v8::HeapGraphNode::GetId(), v8::HeapSnapshot::GetMaxSnapshotJSObjectId(), v8::HeapGraphEdge::GetName(), v8::HeapGraphNode::GetName(), v8::HeapSnapshot::GetNode(), v8::HeapSnapshot::GetNodeById(), v8::HeapSnapshot::GetNodesCount(), v8::HeapSnapshot::GetRoot(), v8::HeapGraphNode::GetShallowSize(), v8::HeapSnapshot::GetTitle(), v8::HeapGraphEdge::GetToNode(), v8::HeapGraphEdge::GetType(), v8::HeapGraphNode::GetType(), v8::HeapSnapshot::GetUid(), and v8::HeapSnapshot::Serialize().
|
static |
|
static |
Definition at line 7303 of file api.cc.
References snapshot().
Definition at line 6854 of file v8.h.
Referenced by v8::ScriptCompiler::Compile(), v8::ScriptCompiler::CompileUnbound(), and v8::Boolean::New().
|
inlinestatic |
Definition at line 4261 of file api.cc.
References kAlignmentMask.
Referenced by v8::ContainsOnlyOneByteHelper::VisitTwoByteString().
Definition at line 6836 of file v8.h.
Referenced by v8::internal::HGraphBuilder::BuildCompareNil(), FunctionTemplateNew(), v8::Function::GetBoundFunction(), v8::internal::CompareNilICStub::GetInputType(), v8::HeapGraphEdge::GetName(), v8::internal::CompareNilICStub::GetType(), v8::Shell::InstallUtilityScript(), MakeAccessorInfo(), v8::FunctionCallbackInfo< T >::operator[](), v8::TryCatch::ReThrow(), v8::ObjectTemplate::SetAccessCheckCallbacks(), v8::ObjectTemplate::SetCallAsFunctionHandler(), v8::FunctionTemplate::SetCallHandler(), v8::ObjectTemplate::SetIndexedPropertyHandler(), v8::ObjectTemplate::SetNamedPropertyHandler(), v8::Isolate::ThrowException(), v8::internal::HGraphBuilder::TruncateToNumber(), v8::internal::compiler::Typer::Typer(), and v8::internal::PropertyCell::UpdatedType().
|
static |
Definition at line 4549 of file api.cc.
References v8::Utf8LengthHelper::Calculate(), v8::internal::String::length(), NULL, and v8::Utf8LengthHelper::Visitor::VisitFlat().
Referenced by v8::String::Utf8Length(), v8::String::Utf8Value::Utf8Value(), and v8::String::WriteUtf8().
|
static |
Definition at line 365 of file d8-posix.cc.
References v8::ZombieProtector::ChildIsDeadNow(), v8::String::NewFromUtf8(), v8::Isolate::ThrowException(), and TimeIsOut().
Referenced by v8::Shell::System().
|
static |
Definition at line 82 of file d8-posix.cc.
References NULL.
Referenced by GetStdout().
|
inlinestatic |
Definition at line 4824 of file api.cc.
References DCHECK, ENTER_V8, v8::internal::String::Flatten(), v8::String::HINT_MANY_WRITES_EXPECTED, LOG_API, v8::String::NO_NULL_TERMINATION, v8::Utils::OpenHandle(), v8::internal::StringTracker::RecordWrite(), v8::internal::Isolate::string_tracker(), and v8::internal::String::WriteToFlat().
Referenced by v8::String::Write(), and v8::String::WriteOneByte().
Definition at line 4260 of file api.cc.
Referenced by Align(), and Unaligned().
|
static |
Definition at line 4259 of file api.cc.
Referenced by v8::ContainsOnlyOneByteHelper::VisitTwoByteString().
|
static |
Definition at line 22 of file v8-util.h.
Referenced by v8::PersistentValueMap< K, V, Traits >::Contains(), v8::DefaultPersistentValueVectorTraits::Get(), v8::StdMapTraits< K, V >::Get(), v8::PersistentValueMap< K, V, Traits >::PersistentValueReference::IsEmpty(), v8::StdMapTraits< K, V >::Remove(), v8::PersistentValueMap< K, V, Traits >::PersistentValueReference::Reset(), v8::StdMapTraits< K, V >::Set(), and v8::PersistentValueMap< K, V, Traits >::SetReturnValueFromVal().
|
static |
Definition at line 247 of file d8-posix.cc.
Referenced by ChildLaunchedOK(), ExecSubprocess(), and v8::Shell::System().
|
static |
Definition at line 248 of file d8-posix.cc.
Referenced by ExecSubprocess(), and v8::Shell::System().
const int v8::MB = 1024 * 1024 |
Definition at line 164 of file d8.cc.
Referenced by v8::ResourceConstraints::ConfigureDefaults(), and v8::SourceGroup::GetThreadOptions().
|
static |
Definition at line 47 of file d8-readline.cc.
Referenced by v8::ReadLineEditor::CompletionGenerator().