Node.js
v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
|
Namespaces | |
Buffer | |
cares_wrap | |
crypto | |
http2 | |
inspector | |
loader | |
os | |
performance | |
stringsearch | |
tracing | |
url | |
util | |
Data Structures | |
struct | async_context |
class | AsyncResource |
class | ConditionVariableBase |
class | DebugOptions |
struct | LibuvMutexTraits |
class | MutexBase |
struct | node_module |
class | NodePlatform |
class | ObjectWrap |
class | PromiseWrap |
class | RetainedAsyncInfo |
class | SendWrap |
class | TaskQueue |
struct | v8tags |
Typedefs | |
using | AsyncHooks = node::Environment::AsyncHooks |
typedef void(* | addon_register_func) (v8::Local< v8::Object > exports, v8::Local< v8::Value > module, void *priv) |
typedef void(* | addon_context_register_func) (v8::Local< v8::Object > exports, v8::Local< v8::Value > module, v8::Local< v8::Context > context, void *priv) |
typedef void(* | promise_hook_func) (v8::PromiseHookType type, v8::Local< v8::Promise > promise, v8::Local< v8::Value > parent, void *arg) |
typedef double | async_id |
typedef async_id | async_uid |
using | ConditionVariable = ConditionVariableBase< LibuvMutexTraits > |
using | Mutex = MutexBase< LibuvMutexTraits > |
Enumerations | |
enum | encoding { ASCII, UTF8, BASE64, UCS2, BINARY, HEX, BUFFER, LATIN1 = BINARY } |
Functions | |
RetainedObjectInfo * | WrapperInfo (uint16_t class_id, Local< Value > wrapper) |
bool | DomainEnter (Environment *env, Local< Object > object) |
bool | DomainExit (Environment *env, v8::Local< v8::Object > object) |
void | LoadAsyncWrapperInfo (Environment *env) |
async_id | AsyncHooksGetExecutionAsyncId (Isolate *isolate) |
async_id | AsyncHooksGetCurrentId (Isolate *isolate) |
async_id | AsyncHooksGetTriggerAsyncId (Isolate *isolate) |
async_id | AsyncHooksGetTriggerId (Isolate *isolate) |
async_context | EmitAsyncInit (Isolate *isolate, Local< Object > resource, const char *name, async_id trigger_async_id) |
void | EmitAsyncDestroy (Isolate *isolate, async_context asyncContext) |
MaybeLocal< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, Local< Function > callback, int argc, Local< Value > *argv, async_id asyncId, async_id triggerAsyncId) |
MaybeLocal< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, const char *method, int argc, Local< Value > *argv, async_id asyncId, async_id triggerAsyncId) |
MaybeLocal< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, Local< String > symbol, int argc, Local< Value > *argv, async_id asyncId, async_id triggerAsyncId) |
void | DumpBacktrace (FILE *fp) |
const char * | signo_string (int signo) |
Local< Value > | ErrnoException (Isolate *isolate, int errorno, const char *syscall, const char *msg, const char *path) |
Local< Value > | UVException (Isolate *isolate, int errorno, const char *syscall, const char *msg, const char *path) |
Local< Value > | UVException (Isolate *isolate, int errorno, const char *syscall, const char *msg, const char *path, const char *dest) |
bool | SafeGetenv (const char *key, std::string *text) |
void | AddPromiseHook (v8::Isolate *isolate, promise_hook_func fn, void *arg) |
MaybeLocal< Value > | MakeCallback (Environment *env, Local< Value > recv, const Local< Function > callback, int argc, Local< Value > argv[], async_context asyncContext) |
MaybeLocal< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, const char *method, int argc, Local< Value > argv[], async_context asyncContext) |
MaybeLocal< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, Local< String > symbol, int argc, Local< Value > argv[], async_context asyncContext) |
MaybeLocal< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, Local< Function > callback, int argc, Local< Value > argv[], async_context asyncContext) |
Local< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, const char *method, int argc, Local< Value > *argv) |
Local< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, Local< String > symbol, int argc, Local< Value > *argv) |
Local< Value > | MakeCallback (Isolate *isolate, Local< Object > recv, Local< Function > callback, int argc, Local< Value > *argv) |
enum encoding | ParseEncoding (const char *encoding, enum encoding default_encoding) |
enum encoding | ParseEncoding (Isolate *isolate, Local< Value > encoding_v, enum encoding default_encoding) |
Local< Value > | Encode (Isolate *isolate, const char *buf, size_t len, enum encoding encoding) |
Local< Value > | Encode (Isolate *isolate, const uint16_t *buf, size_t len) |
ssize_t | DecodeBytes (Isolate *isolate, Local< Value > val, enum encoding encoding) |
ssize_t | DecodeWrite (Isolate *isolate, char *buf, size_t buflen, Local< Value > val, enum encoding encoding) |
bool | IsExceptionDecorated (Environment *env, Local< Value > er) |
void | AppendExceptionLine (Environment *env, Local< Value > er, Local< Message > message, enum ErrorHandlingMode mode) |
void | GetActiveHandles (const FunctionCallbackInfo< Value > &args) |
NO_RETURN void | Abort () |
NO_RETURN void | Assert (const char *const (*args)[4]) |
void | node_module_register (void *m) |
struct node_module * | get_builtin_module (const char *name) |
struct node_module * | get_linked_module (const char *name) |
NO_RETURN void | FatalError (const char *location, const char *message) |
void | FatalException (Isolate *isolate, Local< Value > error, Local< Message > message) |
void | FatalException (Isolate *isolate, const TryCatch &try_catch) |
void | ClearFatalExceptionHandlers (Environment *env) |
void | ProcessEmitWarning (Environment *env, const char *fmt,...) |
void | SetupProcessObject (Environment *env, int argc, const char *const *argv, int exec_argc, const char *const *exec_argv) |
void | SignalExit (int signo) |
void | LoadEnvironment (Environment *env) |
void | PlatformInit () |
void | ProcessArgv (int *argc, const char **argv, int *exec_argc, const char ***exec_argv, bool is_env=false) |
void | Init (int *argc, const char **argv, int *exec_argc, const char ***exec_argv) |
void | RunAtExit (Environment *env) |
void | AtExit (void(*cb)(void *arg), void *arg) |
void | AtExit (Environment *env, void(*cb)(void *arg), void *arg) |
void | EmitBeforeExit (Environment *env) |
int | EmitExit (Environment *env) |
IsolateData * | CreateIsolateData (Isolate *isolate, uv_loop_t *loop) |
void | FreeIsolateData (IsolateData *isolate_data) |
Environment * | CreateEnvironment (IsolateData *isolate_data, Local< Context > context, int argc, const char *const *argv, int exec_argc, const char *const *exec_argv) |
void | FreeEnvironment (Environment *env) |
int | Start (Isolate *isolate, IsolateData *isolate_data, int argc, const char *const *argv, int exec_argc, const char *const *exec_argv) |
int | Start (uv_loop_t *event_loop, int argc, const char *const *argv, int exec_argc, const char *const *exec_argv) |
int | Start (int argc, char **argv) |
NODE_EXTERN v8::Local< v8::Value > | ErrnoException (v8::Isolate *isolate, int errorno, const char *syscall=NULL, const char *message=NULL, const char *path=NULL) |
NODE_EXTERN v8::Local< v8::Value > | UVException (v8::Isolate *isolate, int errorno, const char *syscall=NULL, const char *message=NULL, const char *path=NULL) |
NODE_EXTERN v8::Local< v8::Value > | UVException (v8::Isolate *isolate, int errorno, const char *syscall, const char *message, const char *path, const char *dest) |
NODE_DEPRECATED ("Use ErrnoException(isolate, ...)", inline v8::Local< v8::Value > ErrnoException(int errorno, const char *syscall=NULL, const char *message=NULL, const char *path=NULL) { return ErrnoException(v8::Isolate::GetCurrent(), errorno, syscall, message, path);}) inline v8 | |
NODE_EXTERN v8::Local< v8::Value > | MakeCallback (v8::Isolate *isolate, v8::Local< v8::Object > recv, const char *method, int argc, v8::Local< v8::Value > *argv) |
NODE_EXTERN v8::Local< v8::Value > | MakeCallback (v8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::String > symbol, int argc, v8::Local< v8::Value > *argv) |
NODE_EXTERN v8::Local< v8::Value > | MakeCallback (v8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::Function > callback, int argc, v8::Local< v8::Value > *argv) |
NODE_EXTERN int | Start (int argc, char *argv[]) |
NODE_EXTERN IsolateData * | CreateIsolateData (v8::Isolate *isolate, struct uv_loop_s *loop) |
NODE_EXTERN Environment * | CreateEnvironment (IsolateData *isolate_data, v8::Local< v8::Context > context, int argc, const char *const *argv, int exec_argc, const char *const *exec_argv) |
void | NODE_SET_METHOD (v8::Local< v8::Template > recv, const char *name, v8::FunctionCallback callback) |
void | NODE_SET_METHOD (v8::Local< v8::Object > recv, const char *name, v8::FunctionCallback callback) |
void | NODE_SET_PROTOTYPE_METHOD (v8::Local< v8::FunctionTemplate > recv, const char *name, v8::FunctionCallback callback) |
NODE_EXTERN enum encoding | ParseEncoding (v8::Isolate *isolate, v8::Local< v8::Value > encoding_v, enum encoding default_encoding=LATIN1) |
NODE_EXTERN async_id | AsyncHooksGetExecutionAsyncId (v8::Isolate *isolate) |
NODE_EXTERN | NODE_DEPRECATED ("Use AsyncHooksGetExecutionAsyncId(isolate)", async_id AsyncHooksGetCurrentId(v8::Isolate *isolate)) |
NODE_EXTERN async_id | AsyncHooksGetTriggerAsyncId (v8::Isolate *isolate) |
NODE_EXTERN | NODE_DEPRECATED ("Use AsyncHooksGetTriggerAsyncId(isolate)", async_id AsyncHooksGetTriggerId(v8::Isolate *isolate)) |
NODE_EXTERN async_uid | EmitAsyncInit (v8::Isolate *isolate, v8::Local< v8::Object > resource, const char *name, async_id trigger_async_id) |
NODE_EXTERN void | EmitAsyncDestroy (v8::Isolate *isolate, async_context asyncContext) |
NODE_EXTERN v8::MaybeLocal< v8::Value > | MakeCallback (v8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::Function > callback, int argc, v8::Local< v8::Value > *argv, async_context asyncContext) |
NODE_EXTERN v8::MaybeLocal< v8::Value > | MakeCallback (v8::Isolate *isolate, v8::Local< v8::Object > recv, const char *method, int argc, v8::Local< v8::Value > *argv, async_context asyncContext) |
NODE_EXTERN v8::MaybeLocal< v8::Value > | MakeCallback (v8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::String > symbol, int argc, v8::Local< v8::Value > *argv, async_context asyncContext) |
NODE_EXTERN | NODE_DEPRECATED ("Use MakeCallback(..., async_context asyncContext) instead", v8::MaybeLocal< v8::Value > MakeCallback(v8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::Function > callback, int argc, v8::Local< v8::Value > *argv, async_id asyncId, async_id triggerAsyncId)) |
NODE_EXTERN | NODE_DEPRECATED ("Use MakeCallback(..., async_context asyncContext) instead", v8::MaybeLocal< v8::Value > MakeCallback(v8::Isolate *isolate, v8::Local< v8::Object > recv, const char *method, int argc, v8::Local< v8::Value > *argv, async_id asyncId, async_id triggerAsyncId)) |
NODE_EXTERN | NODE_DEPRECATED ("Use MakeCallback(..., async_context asyncContext) instead", v8::MaybeLocal< v8::Value > MakeCallback(v8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::String > symbol, int argc, v8::Local< v8::Value > *argv, async_id asyncId, async_id triggerAsyncId)) |
void | DefineConstants (v8::Isolate *isolate, Local< Object > target) |
void | COUNTER_NET_SERVER_CONNECTION (const FunctionCallbackInfo< Value > &) |
void | COUNTER_NET_SERVER_CONNECTION_CLOSE (const FunctionCallbackInfo< Value > &) |
void | COUNTER_HTTP_SERVER_REQUEST (const FunctionCallbackInfo< Value > &) |
void | COUNTER_HTTP_SERVER_RESPONSE (const FunctionCallbackInfo< Value > &) |
void | COUNTER_HTTP_CLIENT_REQUEST (const FunctionCallbackInfo< Value > &) |
void | COUNTER_HTTP_CLIENT_RESPONSE (const FunctionCallbackInfo< Value > &) |
void | InitPerfCounters (Environment *env, Local< Object > target) |
void | TermPerfCounters (Local< Object > target) |
void | DTRACE_NET_SERVER_CONNECTION (const FunctionCallbackInfo< Value > &args) |
void | DTRACE_NET_STREAM_END (const FunctionCallbackInfo< Value > &args) |
void | DTRACE_HTTP_SERVER_REQUEST (const FunctionCallbackInfo< Value > &args) |
void | DTRACE_HTTP_SERVER_RESPONSE (const FunctionCallbackInfo< Value > &args) |
void | DTRACE_HTTP_CLIENT_REQUEST (const FunctionCallbackInfo< Value > &args) |
void | DTRACE_HTTP_CLIENT_RESPONSE (const FunctionCallbackInfo< Value > &args) |
void | dtrace_gc_start (Isolate *isolate, GCType type, GCCallbackFlags flags) |
void | dtrace_gc_done (Isolate *isolate, GCType type, GCCallbackFlags flags) |
void | InitDTrace (Environment *env, Local< Object > target) |
void | FillStatsArray (double *fields, const uv_stat_t *s) |
void | GetStatValues (const FunctionCallbackInfo< Value > &args) |
void | InitFs (Local< Object > target, Local< Value > unused, Local< Context > context, void *priv) |
void | LTTNG_NET_SERVER_CONNECTION (const FunctionCallbackInfo< Value > &args) |
void | LTTNG_NET_STREAM_END (const FunctionCallbackInfo< Value > &args) |
void | LTTNG_HTTP_SERVER_REQUEST (const FunctionCallbackInfo< Value > &args) |
void | LTTNG_HTTP_SERVER_RESPONSE (const FunctionCallbackInfo< Value > &args) |
void | LTTNG_HTTP_CLIENT_REQUEST (const FunctionCallbackInfo< Value > &args) |
void | LTTNG_HTTP_CLIENT_RESPONSE (const FunctionCallbackInfo< Value > &args) |
void | lttng_gc_start (Isolate *isolate, GCType type, GCCallbackFlags flags) |
void | lttng_gc_done (Isolate *isolate, GCType type, GCCallbackFlags flags) |
void | InitLTTNG (Environment *env, Local< Object > target) |
void | CachedDataVersionTag (const FunctionCallbackInfo< Value > &args) |
void | UpdateHeapStatisticsArrayBuffer (const FunctionCallbackInfo< Value > &args) |
void | UpdateHeapSpaceStatisticsBuffer (const FunctionCallbackInfo< Value > &args) |
void | SetFlagsFromString (const FunctionCallbackInfo< Value > &args) |
void | InitializeV8Bindings (Local< Object > target, Local< Value > unused, Local< Context > context) |
int | FilterCodeEvents (const char *name, size_t len) |
void | CodeAddressNotification (const JitCodeEvent *jevent) |
void | etw_events_change_async (uv_async_t *handle) |
void NTAPI | etw_events_enable_callback (LPCGUID SourceId, ULONG IsEnabled, UCHAR Level, ULONGLONG MatchAnyKeyword, ULONGLONG MatchAllKeywords, PEVENT_FILTER_DESCRIPTOR FilterData, PVOID CallbackContext) |
void | init_etw () |
void | shutdown_etw () |
void | InitPerfCountersWin32 () |
void | TermPerfCountersWin32 () |
void | NODE_COUNT_HTTP_SERVER_REQUEST () |
void | NODE_COUNT_HTTP_SERVER_RESPONSE () |
void | NODE_COUNT_HTTP_CLIENT_REQUEST () |
void | NODE_COUNT_HTTP_CLIENT_RESPONSE () |
void | NODE_COUNT_SERVER_CONN_OPEN () |
void | NODE_COUNT_SERVER_CONN_CLOSE () |
void | NODE_COUNT_NET_BYTES_SENT (int bytes) |
void | NODE_COUNT_NET_BYTES_RECV (int bytes) |
uint64_t | NODE_COUNT_GET_GC_RAWTIME () |
void | NODE_COUNT_GC_PERCENTTIME (unsigned int percent) |
void | NODE_COUNT_PIPE_BYTES_SENT (int bytes) |
void | NODE_COUNT_PIPE_BYTES_RECV (int bytes) |
Local< Object > | AddressToJS (Environment *env, const sockaddr *addr, Local< Object > info) |
X (SetTTL, uv_udp_set_ttl) X(SetBroadcast | |
uv_udp_set_broadcast | X (SetMulticastTTL, uv_udp_set_multicast_ttl) X(SetMulticastLoopback |
void | LowMemoryNotification () |
Variables | |
unsigned int | reverted = 0 |
bool | load_napi_modules = false |
bool | no_deprecation = false |
bool | no_process_warnings = false |
bool | trace_warnings = false |
bool | config_preserve_symlinks = false |
bool | config_experimental_modules = false |
bool | config_pending_deprecation = false |
std::string | config_warning_file |
bool | config_expose_internals = false |
bool | config_expose_http2 = false |
bool | v8_initialized = false |
bool | linux_at_secure = false |
node::DebugOptions | debug_options |
NODE_DEPRECATED("Use ParseEncoding(isolate, ...)", inline enum encoding ParseEncoding(v8::Local< v8::Value > encoding_v, enum encoding default_encoding=LATIN1) { return ParseEncoding(v8::Isolate::GetCurrent(), encoding_v, default_encoding);}) NODE_EXTERN void FatalException(v8 NODE_DEPRECATED("Use FatalException(isolate, ...)", inline void FatalException(const v8::TryCatch &try_catch) { return FatalException(v8::Isolate::GetCurrent(), try_catch);}) NODE_EXTERN v8 NODE_EXTERN v8::Local< v8::Value > | Encode (v8::Isolate *isolate, const uint16_t *buf, size_t len) |
NODE_DEPRECATED("Use Encode(isolate, ...)", inline v8::Local< v8::Value > Encode(const void *buf, size_t len, enum encoding encoding=LATIN1) { v8::Isolate *isolate=v8::Isolate::GetCurrent();if(encoding==UCS2) { assert(reinterpret_cast< uintptr_t >(buf) % sizeof(uint16_t)==0 &&"UCS2 buffer must be aligned on two-byte boundary.");const uint16_t *that=static_cast< const uint16_t * >(buf);return Encode(isolate, that, len/sizeof(*that));} return Encode(isolate, static_cast< const char * >(buf), len, encoding);}) NODE_EXTERN ssize_t DecodeBytes(v8 NODE_DEPRECATED("Use DecodeBytes(isolate, ...)", inline ssize_t DecodeBytes(v8::Local< v8::Value > val, enum encoding encoding=LATIN1) { return DecodeBytes(v8::Isolate::GetCurrent(), val, encoding);}) NODE_EXTERN ssize_t DecodeWrite(v8 | NODE_DEPRECATED ("Use DecodeWrite(isolate, ...)", inline ssize_t DecodeWrite(char *buf, size_t buflen, v8::Local< v8::Value > val, enum encoding encoding=LATIN1) { return DecodeWrite(v8::Isolate::GetCurrent(), buf, buflen, val, encoding);}) const char *signo_string(int errorno) |
bool | zero_fill_all_buffers = false |
HMODULE | advapi |
REGHANDLE | node_provider |
EventRegisterFunc | event_register |
EventUnregisterFunc | event_unregister |
EventWriteFunc | event_write |
int | events_enabled |
struct v8tags | trace_codes [] |
EXTERN_C DECLSPEC_SELECTANY HANDLE | NodeCounterProvider = nullptr |
const int8_t | unbase64_table [256] |
typedef void(* addon_context_register_func) (v8::Local< v8::Object > exports, v8::Local< v8::Value > module, v8::Local< v8::Context > context, void *priv) |
typedef void(* addon_register_func) (v8::Local< v8::Object > exports, v8::Local< v8::Value > module, void *priv) |
typedef Environment::AsyncHooks AsyncHooks |
Definition at line 13 of file node_mutex.h.
using Mutex = MutexBase<LibuvMutexTraits> |
Definition at line 14 of file node_mutex.h.
typedef void(* promise_hook_func) (v8::PromiseHookType type, v8::Local< v8::Promise > promise, v8::Local< v8::Value > parent, void *arg) |
enum encoding |
NO_RETURN void node::Abort | ( | ) |
Definition at line 1901 of file node.cc.
References DumpBacktrace().
Referenced by Assert(), and SetupProcessObject().
NODE_EXTERN void AddPromiseHook | ( | v8::Isolate * | isolate, |
promise_hook_func | fn, | ||
void * | arg | ||
) |
Local<Object> node::AddressToJS | ( | Environment * | env, |
const sockaddr * | addr, | ||
Local< Object > | info | ||
) |
Definition at line 324 of file tcp_wrap.cc.
References node::http2::Initialize(), node::Buffer::New(), and NODE_MODULE_CONTEXT_AWARE_BUILTIN().
void node::AppendExceptionLine | ( | Environment * | env, |
Local< Value > | er, | ||
Local< Message > | message, | ||
enum ErrorHandlingMode | mode | ||
) |
Definition at line 1618 of file node.cc.
References ctx, IsExceptionDecorated(), node::Buffer::New(), off, script, and source.
NO_RETURN void node::Assert | ( | const char *const (*) | args[4] | ) |
Definition at line 1908 of file node.cc.
References Abort(), buf, and node::Buffer::New().
async_id node::AsyncHooksGetCurrentId | ( | Isolate * | isolate | ) |
Definition at line 750 of file async-wrap.cc.
References AsyncHooksGetExecutionAsyncId().
NODE_EXTERN async_id node::AsyncHooksGetExecutionAsyncId | ( | v8::Isolate * | isolate | ) |
async_id node::AsyncHooksGetExecutionAsyncId | ( | Isolate * | isolate | ) |
Definition at line 746 of file async-wrap.cc.
Referenced by AsyncHooksGetCurrentId().
NODE_EXTERN async_id node::AsyncHooksGetTriggerAsyncId | ( | v8::Isolate * | isolate | ) |
async_id node::AsyncHooksGetTriggerAsyncId | ( | Isolate * | isolate | ) |
Definition at line 755 of file async-wrap.cc.
Referenced by AsyncHooksGetTriggerId().
async_id node::AsyncHooksGetTriggerId | ( | Isolate * | isolate | ) |
Definition at line 759 of file async-wrap.cc.
References AsyncHooksGetTriggerAsyncId().
NODE_EXTERN void AtExit | ( | void(*)(void *arg) | cb, |
void * | arg | ||
) |
NODE_EXTERN void AtExit | ( | Environment * | env, |
void(*)(void *arg) | cb, | ||
void * | arg | ||
) |
void node::CachedDataVersionTag | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 79 of file node_v8.cc.
Referenced by InitializeV8Bindings().
void node::ClearFatalExceptionHandlers | ( | Environment * | env | ) |
Definition at line 2688 of file node.cc.
Referenced by DomainExit(), LoadAsyncWrapperInfo(), and WrapperInfo().
void node::CodeAddressNotification | ( | const JitCodeEvent * | jevent | ) |
Definition at line 95 of file node_win32_etw_provider.cc.
References FilterCodeEvents().
Referenced by etw_events_change_async().
void node::COUNTER_HTTP_CLIENT_REQUEST | ( | const FunctionCallbackInfo< Value > & | ) |
Definition at line 67 of file node_counters.cc.
References NODE_COUNT_HTTP_CLIENT_REQUEST().
Referenced by InitPerfCounters().
void node::COUNTER_HTTP_CLIENT_RESPONSE | ( | const FunctionCallbackInfo< Value > & | ) |
Definition at line 72 of file node_counters.cc.
References NODE_COUNT_GC_PERCENTTIME(), NODE_COUNT_GET_GC_RAWTIME(), and NODE_COUNT_HTTP_CLIENT_RESPONSE().
Referenced by InitPerfCounters().
void node::COUNTER_HTTP_SERVER_REQUEST | ( | const FunctionCallbackInfo< Value > & | ) |
Definition at line 57 of file node_counters.cc.
References NODE_COUNT_HTTP_SERVER_REQUEST().
Referenced by InitPerfCounters().
void node::COUNTER_HTTP_SERVER_RESPONSE | ( | const FunctionCallbackInfo< Value > & | ) |
Definition at line 62 of file node_counters.cc.
References NODE_COUNT_HTTP_SERVER_RESPONSE().
Referenced by InitPerfCounters().
void node::COUNTER_NET_SERVER_CONNECTION | ( | const FunctionCallbackInfo< Value > & | ) |
Definition at line 47 of file node_counters.cc.
References NODE_COUNT_SERVER_CONN_OPEN().
Referenced by InitPerfCounters().
void node::COUNTER_NET_SERVER_CONNECTION_CLOSE | ( | const FunctionCallbackInfo< Value > & | ) |
Definition at line 52 of file node_counters.cc.
References NODE_COUNT_SERVER_CONN_CLOSE().
Referenced by InitPerfCounters().
NODE_EXTERN Environment* node::CreateEnvironment | ( | IsolateData * | isolate_data, |
v8::Local< v8::Context > | context, | ||
int | argc, | ||
const char *const * | argv, | ||
int | exec_argc, | ||
const char *const * | exec_argv | ||
) |
Environment* node::CreateEnvironment | ( | IsolateData * | isolate_data, |
Local< Context > | context, | ||
int | argc, | ||
const char *const * | argv, | ||
int | exec_argc, | ||
const char *const * | exec_argv | ||
) |
Definition at line 4516 of file node.cc.
Referenced by NODE_DEPRECATED().
NODE_EXTERN IsolateData* node::CreateIsolateData | ( | v8::Isolate * | isolate, |
struct uv_loop_s * | loop | ||
) |
IsolateData* node::CreateIsolateData | ( | Isolate * | isolate, |
uv_loop_t * | loop | ||
) |
Definition at line 4506 of file node.cc.
Referenced by NODE_DEPRECATED().
ssize_t node::DecodeBytes | ( | Isolate * | isolate, |
Local< Value > | val, | ||
enum encoding | encoding | ||
) |
ssize_t node::DecodeWrite | ( | Isolate * | isolate, |
char * | buf, | ||
size_t | buflen, | ||
Local< Value > | val, | ||
enum encoding | encoding | ||
) |
void node::DefineConstants | ( | v8::Isolate * | isolate, |
Local< Object > | target | ||
) |
Definition at line 1259 of file node_constants.cc.
References node::Buffer::New(), and NODE_DEFINE_CONSTANT.
bool node::DomainEnter | ( | Environment * | env, |
Local< Object > | object | ||
) |
Definition at line 186 of file async-wrap.cc.
References FatalError().
Referenced by LoadAsyncWrapperInfo(), MakeCallback(), and SafeGetenv().
bool node::DomainExit | ( | Environment * | env, |
v8::Local< v8::Object > | object | ||
) |
Definition at line 204 of file async-wrap.cc.
References ClearFatalExceptionHandlers(), FatalError(), FatalException(), and node::Buffer::New().
Referenced by LoadAsyncWrapperInfo(), MakeCallback(), and SafeGetenv().
void node::dtrace_gc_done | ( | Isolate * | isolate, |
GCType | type, | ||
GCCallbackFlags | flags | ||
) |
void node::dtrace_gc_start | ( | Isolate * | isolate, |
GCType | type, | ||
GCCallbackFlags | flags | ||
) |
Definition at line 247 of file node_dtrace.cc.
References NODE_GC_START.
Referenced by InitDTrace().
void node::DTRACE_HTTP_CLIENT_REQUEST | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 198 of file node_dtrace.cc.
References node_dtrace_http_client_request_t::method, NODE_HTTP_CLIENT_REQUEST, NODE_HTTP_CLIENT_REQUEST_ENABLED, req, SLURP_CONNECTION_HTTP_CLIENT, SLURP_STRING, and node_dtrace_http_client_request_t::url.
Referenced by InitDTrace().
void node::DTRACE_HTTP_CLIENT_RESPONSE | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 238 of file node_dtrace.cc.
References NODE_HTTP_CLIENT_RESPONSE, NODE_HTTP_CLIENT_RESPONSE_ENABLED, and SLURP_CONNECTION_HTTP_CLIENT_RESPONSE.
Referenced by InitDTrace().
void node::DTRACE_HTTP_SERVER_REQUEST | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 155 of file node_dtrace.cc.
References method, NODE_HTTP_SERVER_REQUEST, NODE_HTTP_SERVER_REQUEST_ENABLED, req, SLURP_CONNECTION, SLURP_OBJECT, SLURP_STRING, and node_dtrace_http_server_request_t::version.
Referenced by InitDTrace().
void node::DTRACE_HTTP_SERVER_RESPONSE | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 189 of file node_dtrace.cc.
References NODE_HTTP_SERVER_RESPONSE, NODE_HTTP_SERVER_RESPONSE_ENABLED, and SLURP_CONNECTION.
Referenced by InitDTrace().
void node::DTRACE_NET_SERVER_CONNECTION | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 138 of file node_dtrace.cc.
References NODE_NET_SERVER_CONNECTION, NODE_NET_SERVER_CONNECTION_ENABLED, and SLURP_CONNECTION.
Referenced by InitDTrace().
void node::DTRACE_NET_STREAM_END | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 147 of file node_dtrace.cc.
References NODE_NET_STREAM_END, NODE_NET_STREAM_END_ENABLED, and SLURP_CONNECTION.
Referenced by InitDTrace().
void DumpBacktrace | ( | FILE * | fp | ) |
Definition at line 24 of file backtrace_posix.cc.
Referenced by Abort().
NODE_EXTERN void node::EmitAsyncDestroy | ( | v8::Isolate * | isolate, |
async_context | asyncContext | ||
) |
void node::EmitAsyncDestroy | ( | Isolate * | isolate, |
async_context | asyncContext | ||
) |
Definition at line 789 of file async-wrap.cc.
References async_context::async_id, node::http2::Initialize(), and NODE_MODULE_CONTEXT_AWARE_BUILTIN().
Referenced by AsyncResource::~AsyncResource().
NODE_EXTERN async_context EmitAsyncInit | ( | v8::Isolate * | isolate, |
v8::Local< v8::Object > | resource, | ||
const char * | name, | ||
async_id | trigger_async_id | ||
) |
async_uid EmitAsyncInit | ( | Isolate * | isolate, |
Local< Object > | resource, | ||
const char * | name, | ||
async_id | trigger_async_id | ||
) |
Definition at line 764 of file async-wrap.cc.
References async_context::async_id, EmitAsyncInit, and async_context::trigger_async_id.
Referenced by MakeCallback().
NODE_EXTERN void EmitBeforeExit | ( | Environment * | env | ) |
Definition at line 4467 of file node.cc.
References MakeCallback().
Referenced by NODE_DEPRECATED().
NODE_EXTERN int EmitExit | ( | Environment * | env | ) |
Definition at line 4482 of file node.cc.
References MakeCallback(), and node::Buffer::New().
Referenced by NODE_DEPRECATED().
Local<Value> node::Encode | ( | Isolate * | isolate, |
const char * | buf, | ||
size_t | len, | ||
enum encoding | encoding | ||
) |
Local<Value> node::Encode | ( | Isolate * | isolate, |
const uint16_t * | buf, | ||
size_t | len | ||
) |
NODE_EXTERN v8::Local<v8::Value> node::ErrnoException | ( | v8::Isolate * | isolate, |
int | errorno, | ||
const char * | syscall = NULL , |
||
const char * | message = NULL , |
||
const char * | path = NULL |
||
) |
Local<Value> node::ErrnoException | ( | Isolate * | isolate, |
int | errorno, | ||
const char * | syscall, | ||
const char * | msg, | ||
const char * | path | ||
) |
Definition at line 879 of file node.cc.
References node::Buffer::New().
Referenced by NODE_DEPRECATED().
void node::etw_events_change_async | ( | uv_async_t * | handle | ) |
Definition at line 127 of file node_win32_etw_provider.cc.
References CodeAddressNotification().
Referenced by init_etw().
void NTAPI node::etw_events_enable_callback | ( | LPCGUID | SourceId, |
ULONG | IsEnabled, | ||
UCHAR | Level, | ||
ULONGLONG | MatchAnyKeyword, | ||
ULONGLONG | MatchAllKeywords, | ||
PEVENT_FILTER_DESCRIPTOR | FilterData, | ||
PVOID | CallbackContext | ||
) |
Definition at line 145 of file node_win32_etw_provider.cc.
Referenced by init_etw().
NO_RETURN void node::FatalError | ( | const char * | location, |
const char * | message | ||
) |
Definition at line 2616 of file node.cc.
Referenced by Agent::Connect(), DomainEnter(), DomainExit(), napi_fatal_error(), Agent::StartIoThread(), and Agent::Stop().
void node::FatalException | ( | Isolate * | isolate, |
Local< Value > | error, | ||
Local< Message > | message | ||
) |
Definition at line 2623 of file node.cc.
Referenced by DomainExit(), FatalException(), Agent::IsStarted(), LoadAsyncWrapperInfo(), and WrapperInfo().
void node::FatalException | ( | Isolate * | isolate, |
const TryCatch & | try_catch | ||
) |
Definition at line 2673 of file node.cc.
References FatalException().
void node::FillStatsArray | ( | double * | fields, |
const uv_stat_t * | s | ||
) |
Definition at line 463 of file node_file.cc.
References ASSERT_PATH, ASYNC_CALL, ASYNC_DEST_CALL, buf, node::Buffer::Data(), Encode, GET_OFFSET, node::Buffer::HasInstance(), len, node::Buffer::Length(), node::Buffer::New(), off, ParseEncoding(), req, s, SYNC_CALL, SYNC_DEST_CALL, SYNC_REQ, SYNC_RESULT, TYPE_ERROR, UTF8, and X().
int node::FilterCodeEvents | ( | const char * | name, |
size_t | len | ||
) |
Definition at line 79 of file node_win32_etw_provider.cc.
References v8tags::prefix, v8tags::prelen, V8_MARKER1, and V8_MARKER2.
Referenced by CodeAddressNotification().
NODE_EXTERN void FreeEnvironment | ( | Environment * | env | ) |
Definition at line 4531 of file node.cc.
Referenced by NODE_DEPRECATED().
NODE_EXTERN void FreeIsolateData | ( | IsolateData * | isolate_data | ) |
Definition at line 4511 of file node.cc.
Referenced by NODE_DEPRECATED().
node_module * get_builtin_module | ( | const char * | name | ) |
Definition at line 2482 of file node.cc.
References NM_F_BUILTIN, node_module::nm_flags, node_module::nm_link, and node_module::nm_modname.
node_module * get_linked_module | ( | const char * | name | ) |
Definition at line 2494 of file node.cc.
References NM_F_LINKED, node_module::nm_flags, node_module::nm_link, and node_module::nm_modname.
void node::GetActiveHandles | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 1869 of file node.cc.
References ctx, and node::Buffer::New().
Referenced by SetupProcessObject().
void node::GetStatValues | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 1443 of file node_file.cc.
References node::Buffer::New().
Referenced by InitFs().
NODE_EXTERN void Init | ( | int * | argc, |
const char ** | argv, | ||
int * | exec_argc, | ||
const char *** | exec_argv | ||
) |
Definition at line 4351 of file node.cc.
References ProcessArgv(), SafeGetenv(), and SetFlagsFromString().
Referenced by node::crypto::EntropySource(), NODE_DEPRECATED(), Start(), and node::crypto::VerifyCallback().
void node::init_etw | ( | ) |
Definition at line 167 of file node_win32_etw_provider.cc.
References etw_events_change_async(), etw_events_enable_callback(), event_register, and status.
Referenced by InitDTrace().
void node::InitDTrace | ( | Environment * | env, |
Local< Object > | target | ||
) |
Definition at line 261 of file node_dtrace.cc.
References dtrace_gc_done(), dtrace_gc_start(), DTRACE_HTTP_CLIENT_REQUEST(), DTRACE_HTTP_CLIENT_RESPONSE(), DTRACE_HTTP_SERVER_REQUEST(), DTRACE_HTTP_SERVER_RESPONSE(), DTRACE_NET_SERVER_CONNECTION(), DTRACE_NET_STREAM_END(), func, init_etw(), and NODE_PROBE.
void node::InitFs | ( | Local< Object > | target, |
Local< Value > | unused, | ||
Local< Context > | context, | ||
void * | priv | ||
) |
Definition at line 1459 of file node_file.cc.
References GetStatValues(), node::http2::Initialize(), node::Buffer::New(), and NODE_MODULE_CONTEXT_AWARE_BUILTIN().
void node::InitializeV8Bindings | ( | Local< Object > | target, |
Local< Value > | unused, | ||
Local< Context > | context | ||
) |
Definition at line 129 of file node_v8.cc.
References CachedDataVersionTag(), HEAP_SPACE_STATISTICS_PROPERTIES, HEAP_STATISTICS_PROPERTIES, node::Buffer::New(), NODE_MODULE_CONTEXT_AWARE_BUILTIN(), s, SetFlagsFromString(), UpdateHeapSpaceStatisticsBuffer(), UpdateHeapStatisticsArrayBuffer(), and V.
void node::InitLTTNG | ( | Environment * | env, |
Local< Object > | target | ||
) |
Definition at line 234 of file node_lttng.cc.
References func, lttng_gc_done(), lttng_gc_start(), LTTNG_HTTP_CLIENT_REQUEST(), LTTNG_HTTP_CLIENT_RESPONSE(), LTTNG_HTTP_SERVER_REQUEST(), LTTNG_HTTP_SERVER_RESPONSE(), LTTNG_NET_SERVER_CONNECTION(), LTTNG_NET_STREAM_END(), and NODE_PROBE.
void node::InitPerfCounters | ( | Environment * | env, |
Local< Object > | target | ||
) |
Definition at line 103 of file node_counters.cc.
References COUNTER_HTTP_CLIENT_REQUEST(), COUNTER_HTTP_CLIENT_RESPONSE(), COUNTER_HTTP_SERVER_REQUEST(), COUNTER_HTTP_SERVER_RESPONSE(), COUNTER_NET_SERVER_CONNECTION(), COUNTER_NET_SERVER_CONNECTION_CLOSE(), func, InitPerfCountersWin32(), NODE_COUNT_GET_GC_RAWTIME(), and NODE_PROBE.
void node::InitPerfCountersWin32 | ( | ) |
Definition at line 124 of file node_win32_perfctr_provider.cc.
References advapimod, INST_MAX_LEN, INST_PREFIX, INST_PREFIX_LEN, perfctr_createInstance, perfctr_decrementULongLongValue, perfctr_decrementULongValue, perfctr_deleteInstance, perfctr_incrementULongLongValue, perfctr_incrementULongValue, perfctr_instance, perfctr_setCounterSetInfo, perfctr_setULongLongValue, perfctr_setULongValue, perfctr_startProvider, perfctr_stopProvider, and status.
Referenced by InitPerfCounters().
bool node::IsExceptionDecorated | ( | Environment * | env, |
Local< Value > | er | ||
) |
Definition at line 1607 of file node.cc.
Referenced by AppendExceptionLine().
void node::LoadAsyncWrapperInfo | ( | Environment * | env | ) |
Definition at line 587 of file async-wrap.cc.
References ClearFatalExceptionHandlers(), DomainEnter(), DomainExit(), EmitAsyncInit, FatalException(), MakeCallback(), node::Buffer::New(), and V.
NODE_EXTERN void LoadEnvironment | ( | Environment * | env | ) |
Definition at line 3573 of file node.cc.
Referenced by NODE_DEPRECATED().
void node::LowMemoryNotification | ( | ) |
Definition at line 100 of file util.cc.
References v8_initialized.
void node::lttng_gc_done | ( | Isolate * | isolate, |
GCType | type, | ||
GCCallbackFlags | flags | ||
) |
void node::lttng_gc_start | ( | Isolate * | isolate, |
GCType | type, | ||
GCCallbackFlags | flags | ||
) |
void node::LTTNG_HTTP_CLIENT_REQUEST | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 177 of file node_lttng.cc.
References NODE_HTTP_CLIENT_REQUEST, NODE_HTTP_CLIENT_REQUEST_ENABLED, req, SLURP_CONNECTION_HTTP_CLIENT, and SLURP_STRING.
Referenced by InitLTTNG().
void node::LTTNG_HTTP_CLIENT_RESPONSE | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 216 of file node_lttng.cc.
References NODE_HTTP_CLIENT_RESPONSE, NODE_HTTP_CLIENT_RESPONSE_ENABLED, and SLURP_CONNECTION_HTTP_CLIENT_RESPONSE.
Referenced by InitLTTNG().
void node::LTTNG_HTTP_SERVER_REQUEST | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 131 of file node_lttng.cc.
References method, NODE_HTTP_SERVER_REQUEST, NODE_HTTP_SERVER_REQUEST_ENABLED, req, SLURP_CONNECTION, SLURP_OBJECT, and SLURP_STRING.
Referenced by InitLTTNG().
void node::LTTNG_HTTP_SERVER_RESPONSE | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 168 of file node_lttng.cc.
References NODE_HTTP_SERVER_RESPONSE, NODE_HTTP_SERVER_RESPONSE_ENABLED, and SLURP_CONNECTION.
Referenced by InitLTTNG().
void node::LTTNG_NET_SERVER_CONNECTION | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 113 of file node_lttng.cc.
References NODE_NET_SERVER_CONNECTION, NODE_NET_SERVER_CONNECTION_ENABLED, and SLURP_CONNECTION.
Referenced by InitLTTNG().
void node::LTTNG_NET_STREAM_END | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 122 of file node_lttng.cc.
References NODE_NET_STREAM_END, NODE_NET_STREAM_END_ENABLED, and SLURP_CONNECTION.
Referenced by InitLTTNG().
NODE_EXTERN v8::Local<v8::Value> node::MakeCallback | ( | v8::Isolate * | isolate, |
v8::Local< v8::Object > | recv, | ||
const char * | method, | ||
int | argc, | ||
v8::Local< v8::Value > * | argv | ||
) |
NODE_EXTERN v8::Local<v8::Value> node::MakeCallback | ( | v8::Isolate * | isolate, |
v8::Local< v8::Object > | recv, | ||
v8::Local< v8::String > | symbol, | ||
int | argc, | ||
v8::Local< v8::Value > * | argv | ||
) |
NODE_EXTERN v8::Local<v8::Value> node::MakeCallback | ( | v8::Isolate * | isolate, |
v8::Local< v8::Object > | recv, | ||
v8::Local< v8::Function > | callback, | ||
int | argc, | ||
v8::Local< v8::Value > * | argv | ||
) |
NODE_EXTERN v8::MaybeLocal<v8::Value> node::MakeCallback | ( | v8::Isolate * | isolate, |
v8::Local< v8::Object > | recv, | ||
v8::Local< v8::Function > | callback, | ||
int | argc, | ||
v8::Local< v8::Value > * | argv, | ||
async_context | asyncContext | ||
) |
NODE_EXTERN v8::MaybeLocal<v8::Value> node::MakeCallback | ( | v8::Isolate * | isolate, |
v8::Local< v8::Object > | recv, | ||
const char * | method, | ||
int | argc, | ||
v8::Local< v8::Value > * | argv, | ||
async_context | asyncContext | ||
) |
NODE_EXTERN v8::MaybeLocal<v8::Value> node::MakeCallback | ( | v8::Isolate * | isolate, |
v8::Local< v8::Object > | recv, | ||
v8::Local< v8::String > | symbol, | ||
int | argc, | ||
v8::Local< v8::Value > * | argv, | ||
async_context | asyncContext | ||
) |
MaybeLocal<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
Local< Function > | callback, | ||
int | argc, | ||
Local< Value > * | argv, | ||
async_id | asyncId, | ||
async_id | triggerAsyncId | ||
) |
Definition at line 802 of file async-wrap.cc.
Referenced by PBKDF2Request::After(), EmitBeforeExit(), EmitExit(), node::http2::FreeDataChunk(), AsyncResource::MakeCallback(), MakeCallback(), napi_make_callback(), NODE_DEPRECATED(), Agent::StartIoThread(), node::crypto::UseExtraCaCerts(), and node::crypto::VerifyCallback().
MaybeLocal<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
const char * | method, | ||
int | argc, | ||
Local< Value > * | argv, | ||
async_id | asyncId, | ||
async_id | triggerAsyncId | ||
) |
Definition at line 813 of file async-wrap.cc.
References MakeCallback().
MaybeLocal<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
Local< String > | symbol, | ||
int | argc, | ||
Local< Value > * | argv, | ||
async_id | asyncId, | ||
async_id | triggerAsyncId | ||
) |
Definition at line 824 of file async-wrap.cc.
References async_context::async_id, EmitAsyncInit(), and MakeCallback().
Referenced by LoadAsyncWrapperInfo().
MaybeLocal<Value> node::MakeCallback | ( | Environment * | env, |
Local< Value > | recv, | ||
const Local< Function > | callback, | ||
int | argc, | ||
Local< Value > | argv[], | ||
async_context | asyncContext | ||
) |
Definition at line 1312 of file node.cc.
References async_context::async_id, DomainEnter(), DomainExit(), and async_context::trigger_async_id.
MaybeLocal<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
const char * | method, | ||
int | argc, | ||
Local< Value > | argv[], | ||
async_context | asyncContext | ||
) |
Definition at line 1400 of file node.cc.
References MakeCallback().
MaybeLocal<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
Local< String > | symbol, | ||
int | argc, | ||
Local< Value > | argv[], | ||
async_context | asyncContext | ||
) |
Definition at line 1413 of file node.cc.
References MakeCallback().
MaybeLocal<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
Local< Function > | callback, | ||
int | argc, | ||
Local< Value > | argv[], | ||
async_context | asyncContext | ||
) |
Definition at line 1427 of file node.cc.
References MakeCallback().
Local<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
const char * | method, | ||
int | argc, | ||
Local< Value > * | argv | ||
) |
Definition at line 1449 of file node.cc.
References MakeCallback().
Local<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
Local< String > | symbol, | ||
int | argc, | ||
Local< Value > * | argv | ||
) |
Definition at line 1461 of file node.cc.
References MakeCallback().
Local<Value> node::MakeCallback | ( | Isolate * | isolate, |
Local< Object > | recv, | ||
Local< Function > | callback, | ||
int | argc, | ||
Local< Value > * | argv | ||
) |
Definition at line 1473 of file node.cc.
References MakeCallback().
void node::NODE_COUNT_GC_PERCENTTIME | ( | unsigned int | percent | ) |
Definition at line 314 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_GC_PERCENTTIME, perfctr_instance, and perfctr_setULongValue.
Referenced by COUNTER_HTTP_CLIENT_RESPONSE().
uint64_t node::NODE_COUNT_GET_GC_RAWTIME | ( | ) |
Definition at line 304 of file node_win32_perfctr_provider.cc.
Referenced by COUNTER_HTTP_CLIENT_RESPONSE(), and InitPerfCounters().
void node::NODE_COUNT_HTTP_CLIENT_REQUEST | ( | ) |
Definition at line 238 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_HTTP_CLIENT_REQUEST, perfctr_incrementULongValue, and perfctr_instance.
Referenced by COUNTER_HTTP_CLIENT_REQUEST().
void node::NODE_COUNT_HTTP_CLIENT_RESPONSE | ( | ) |
Definition at line 249 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_HTTP_CLIENT_RESPONSE, perfctr_incrementULongValue, and perfctr_instance.
Referenced by COUNTER_HTTP_CLIENT_RESPONSE().
void node::NODE_COUNT_HTTP_SERVER_REQUEST | ( | ) |
Definition at line 216 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_HTTP_SERVER_REQUEST, perfctr_incrementULongValue, and perfctr_instance.
Referenced by COUNTER_HTTP_SERVER_REQUEST().
void node::NODE_COUNT_HTTP_SERVER_RESPONSE | ( | ) |
Definition at line 227 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_HTTP_SERVER_RESPONSE, perfctr_incrementULongValue, and perfctr_instance.
Referenced by COUNTER_HTTP_SERVER_RESPONSE().
void node::NODE_COUNT_NET_BYTES_RECV | ( | int | bytes | ) |
Definition at line 293 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_NET_BYTES_RECV, perfctr_incrementULongLongValue, and perfctr_instance.
void node::NODE_COUNT_NET_BYTES_SENT | ( | int | bytes | ) |
Definition at line 282 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_NET_BYTES_SENT, perfctr_incrementULongLongValue, and perfctr_instance.
void node::NODE_COUNT_PIPE_BYTES_RECV | ( | int | bytes | ) |
Definition at line 335 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_PIPE_BYTES_RECV, perfctr_incrementULongLongValue, and perfctr_instance.
void node::NODE_COUNT_PIPE_BYTES_SENT | ( | int | bytes | ) |
Definition at line 324 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_PIPE_BYTES_SENT, perfctr_incrementULongLongValue, and perfctr_instance.
void node::NODE_COUNT_SERVER_CONN_CLOSE | ( | ) |
Definition at line 271 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_SERVER_CONNS, perfctr_decrementULongValue, and perfctr_instance.
Referenced by COUNTER_NET_SERVER_CONNECTION_CLOSE().
void node::NODE_COUNT_SERVER_CONN_OPEN | ( | ) |
Definition at line 260 of file node_win32_perfctr_provider.cc.
References NODE_COUNTER_SERVER_CONNS, perfctr_incrementULongValue, and perfctr_instance.
Referenced by COUNTER_NET_SERVER_CONNECTION().
node::NODE_DEPRECATED | ( | "Use ErrnoException(isolate, ...)" | , |
inline v8::Local< v8::Value > ErrnoException(int errorno, const char *syscall=NULL, const char *message=NULL, const char *path=NULL) { return ErrnoException(v8::Isolate::GetCurrent(), errorno, syscall, message, path);} | |||
) |
Definition at line 120 of file node.h.
References CreateEnvironment(), CreateIsolateData(), EmitBeforeExit(), EmitExit(), ErrnoException(), FreeEnvironment(), FreeIsolateData(), Init(), LoadEnvironment(), MakeCallback(), method, no_deprecation, NODE_EXTERN, RunAtExit(), Start(), and UVException().
NODE_EXTERN node::NODE_DEPRECATED | ( | "Use AsyncHooksGetExecutionAsyncId(isolate)" | , |
async_id | AsyncHooksGetCurrentIdv8::Isolate *isolate | ||
) |
NODE_EXTERN node::NODE_DEPRECATED | ( | "Use AsyncHooksGetTriggerAsyncId(isolate)" | , |
async_id | AsyncHooksGetTriggerIdv8::Isolate *isolate | ||
) |
NODE_EXTERN node::NODE_DEPRECATED | ( | "Use MakeCallback(..., async_context asyncContext) instead" | , |
v8::MaybeLocal< v8::Value > | MakeCallbackv8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::Function > callback, int argc, v8::Local< v8::Value > *argv, async_id asyncId, async_id triggerAsyncId | ||
) |
NODE_EXTERN node::NODE_DEPRECATED | ( | "Use MakeCallback(..., async_context asyncContext) instead" | , |
v8::MaybeLocal< v8::Value > | MakeCallbackv8::Isolate *isolate, v8::Local< v8::Object > recv, const char *method, int argc, v8::Local< v8::Value > *argv, async_id asyncId, async_id triggerAsyncId | ||
) |
NODE_EXTERN node::NODE_DEPRECATED | ( | "Use MakeCallback(..., async_context asyncContext) instead" | , |
v8::MaybeLocal< v8::Value > | MakeCallbackv8::Isolate *isolate, v8::Local< v8::Object > recv, v8::Local< v8::String > symbol, int argc, v8::Local< v8::Value > *argv, async_id asyncId, async_id triggerAsyncId | ||
) |
NODE_EXTERN void node_module_register | ( | void * | m | ) |
Definition at line 2465 of file node.cc.
References NM_F_BUILTIN, node_module::nm_flags, and node_module::nm_link.
Referenced by napi_module_register().
|
inline |
Definition at line 278 of file node.h.
References node::Buffer::New(), and t.
|
inline |
Definition at line 291 of file node.h.
References node::Buffer::New(), and t.
|
inline |
Definition at line 307 of file node.h.
References node::Buffer::New(), s, and t.
NODE_EXTERN enum encoding node::ParseEncoding | ( | v8::Isolate * | isolate, |
v8::Local< v8::Value > | encoding_v, | ||
enum encoding | default_encoding = LATIN1 |
||
) |
Definition at line 1485 of file node.cc.
References ASCII, BASE64, BUFFER, HEX, LATIN1, UCS2, and UTF8.
Referenced by FillStatsArray(), node::Buffer::New(), ParseEncoding(), and node::crypto::VerifyCallback().
enum encoding node::ParseEncoding | ( | Isolate * | isolate, |
Local< Value > | encoding_v, | ||
enum encoding | default_encoding | ||
) |
Definition at line 1560 of file node.cc.
References ParseEncoding().
|
inline |
void node::ProcessArgv | ( | int * | argc, |
const char ** | argv, | ||
int * | exec_argc, | ||
const char *** | exec_argv, | ||
bool | is_env = false |
||
) |
void node::ProcessEmitWarning | ( | Environment * | env, |
const char * | fmt, | ||
... | |||
) |
Definition at line 2707 of file node.cc.
Referenced by node::crypto::UseExtraCaCerts(), and node::crypto::VerifyCallback().
NODE_EXTERN void RunAtExit | ( | Environment * | env | ) |
Definition at line 4447 of file node.cc.
Referenced by NODE_DEPRECATED().
bool node::SafeGetenv | ( | const char * | key, |
std::string * | text | ||
) |
Definition at line 1002 of file node.cc.
References DomainEnter(), DomainExit(), node::Buffer::Length(), node::Buffer::New(), SetupProcessObject(), and zero_fill_all_buffers.
void node::SetFlagsFromString | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 116 of file node_v8.cc.
Referenced by Init(), and InitializeV8Bindings().
void node::SetupProcessObject | ( | Environment * | env, |
int | argc, | ||
const char *const * | argv, | ||
int | exec_argc, | ||
const char *const * | exec_argv | ||
) |
Definition at line 3167 of file node.cc.
References Abort(), DebugOptions::deprecated_invocation(), GetActiveHandles(), DebugOptions::invalid_invocation(), node::Buffer::New(), NODE_MODULE_VERSION, NODE_RELEASE, NODE_STRINGIFY, NODE_VERSION, READONLY_DONT_ENUM_PROPERTY, READONLY_PROPERTY, V, and DebugOptions::wait_for_connect().
Referenced by SafeGetenv().
void node::shutdown_etw | ( | ) |
Definition at line 195 of file node_win32_etw_provider.cc.
References event_unregister.
void node::SignalExit | ( | int | signo | ) |
Definition at line 3544 of file node.cc.
Referenced by PlatformInit().
const char* node::signo_string | ( | int | signo | ) |
Definition at line 718 of file node.cc.
References SIGNO_CASE.
NODE_EXTERN int node::Start | ( | int | argc, |
char * | argv[] | ||
) |
|
inline |
Definition at line 4536 of file node.cc.
References node::Buffer::New().
Referenced by main(), NODE_DEPRECATED(), and node::crypto::VerifyCallback().
|
inline |
Definition at line 4600 of file node.cc.
References node::Buffer::New().
int node::Start | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 4649 of file node.cc.
References node::crypto::EntropySource(), Init(), node::performance::performance_node_start, PERFORMANCE_NOW, PlatformInit(), SafeGetenv(), and node::crypto::UseExtraCaCerts().
void node::TermPerfCounters | ( | Local< Object > | target | ) |
Definition at line 139 of file node_counters.cc.
References TermPerfCountersWin32().
void node::TermPerfCountersWin32 | ( | ) |
Definition at line 202 of file node_win32_perfctr_provider.cc.
References advapimod, and perfctr_stopProvider.
Referenced by TermPerfCounters().
void node::UpdateHeapSpaceStatisticsBuffer | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 99 of file node_v8.cc.
References HEAP_SPACE_STATISTICS_PROPERTIES, s, and V.
Referenced by InitializeV8Bindings().
void node::UpdateHeapStatisticsArrayBuffer | ( | const FunctionCallbackInfo< Value > & | args | ) |
Definition at line 88 of file node_v8.cc.
References HEAP_STATISTICS_PROPERTIES, s, and V.
Referenced by InitializeV8Bindings().
NODE_EXTERN v8::Local<v8::Value> node::UVException | ( | v8::Isolate * | isolate, |
int | errorno, | ||
const char * | syscall = NULL , |
||
const char * | message = NULL , |
||
const char * | path = NULL |
||
) |
NODE_EXTERN v8::Local<v8::Value> node::UVException | ( | v8::Isolate * | isolate, |
int | errorno, | ||
const char * | syscall, | ||
const char * | message, | ||
const char * | path, | ||
const char * | dest | ||
) |
Local<Value> node::UVException | ( | Isolate * | isolate, |
int | errorno, | ||
const char * | syscall, | ||
const char * | msg, | ||
const char * | path | ||
) |
Definition at line 940 of file node.cc.
Referenced by NODE_DEPRECATED().
Local<Value> node::UVException | ( | Isolate * | isolate, |
int | errorno, | ||
const char * | syscall, | ||
const char * | msg, | ||
const char * | path, | ||
const char * | dest | ||
) |
Definition at line 949 of file node.cc.
References node::Buffer::New().
RetainedObjectInfo* node::WrapperInfo | ( | uint16_t | class_id, |
Local< Value > | wrapper | ||
) |
Definition at line 124 of file async-wrap.cc.
References ClearFatalExceptionHandlers(), FatalException(), node::Buffer::New(), RetainedAsyncInfo::RetainedAsyncInfo(), and wrap.
node::X | ( | SetTTL | , |
uv_udp_set_ttl | |||
) |
Referenced by FillStatsArray().
uv_udp_set_broadcast node::X | ( | SetMulticastTTL | , |
uv_udp_set_multicast_ttl | |||
) |
HMODULE advapi |
Definition at line 32 of file node_win32_etw_provider.cc.
node::DebugOptions debug_options |
MaybeLocal< Value > Encode |
Definition at line 350 of file node.h.
Referenced by node::crypto::ExportChallenge(), FillStatsArray(), node::Buffer::New(), and node::crypto::VerifyCallback().
EventRegisterFunc event_register |
Definition at line 34 of file node_win32_etw_provider.cc.
Referenced by init_etw().
EventUnregisterFunc event_unregister |
Definition at line 35 of file node_win32_etw_provider.cc.
Referenced by shutdown_etw().
EventWriteFunc event_write |
Definition at line 36 of file node_win32_etw_provider.cc.
int events_enabled |
Definition at line 37 of file node_win32_etw_provider.cc.
bool load_napi_modules = false |
Definition at line 197 of file node.cc.
Referenced by napi_module_register().
NODE_EXTERN bool no_deprecation = false |
Definition at line 200 of file node.cc.
Referenced by NODE_DEPRECATED().
NODE_DEPRECATED ("Use Encode(isolate, ...)", inline v8::Local<v8::Value> Encode( const void* buf, size_t len, enum encoding encoding = LATIN1) { v8::Isolate* isolate = v8::Isolate::GetCurrent(); if (encoding == UCS2) { assert(reinterpret_cast<uintptr_t>(buf) % sizeof(uint16_t) == 0 && "UCS2 buffer must be aligned on two-byte boundary."); const uint16_t* that = static_cast<const uint16_t*>(buf); return Encode(isolate, that, len / sizeof(*that)); } return Encode(isolate, static_cast<const char*>(buf), len, encoding); }) NODE_EXTERN ssize_t DecodeBytes(v8 NODE_DEPRECATED ("Use DecodeBytes(isolate, ...)", inline ssize_t DecodeBytes( v8::Local<v8::Value> val, enum encoding encoding = LATIN1) { return DecodeBytes(v8::Isolate::GetCurrent(), val, encoding); }) NODE_EXTERN ssize_t DecodeWrite(v8 NODE_DEPRECATED("Use DecodeWrite(isolate, ...)", inline ssize_t DecodeWrite(char *buf, size_t buflen, v8::Local< v8::Value > val, enum encoding encoding=LATIN1) { return DecodeWrite(v8::Isolate::GetCurrent(), buf, buflen, val, encoding);}) const char *signo_string(int errorno) |
REGHANDLE node_provider |
Definition at line 33 of file node_win32_etw_provider.cc.
EXTERN_C DECLSPEC_SELECTANY HANDLE NodeCounterProvider = nullptr |
Definition at line 122 of file node_win32_perfctr_provider.cc.
struct v8tags trace_codes[] |
Definition at line 48 of file node_win32_etw_provider.cc.
const int8_t unbase64_table[256] |
Definition at line 212 of file string_bytes.cc.
bool v8_initialized = false |
Definition at line 249 of file node.cc.
Referenced by LowMemoryNotification().
bool zero_fill_all_buffers = false |
Definition at line 58 of file node_buffer.cc.
Referenced by SafeGetenv().