Node.js
v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
|
#include "node.h"
#include "node_buffer.h"
#include "node_internals.h"
#include "node_stat_watcher.h"
#include "env.h"
#include "env-inl.h"
#include "req-wrap.h"
#include "req-wrap-inl.h"
#include "string_bytes.h"
#include "util.h"
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <errno.h>
#include <limits.h>
#include <vector>
Go to the source code of this file.
Namespaces | |
node | |
Macros | |
#define | MIN(a, b) ((a) < (b) ? (a) : (b)) |
#define | TYPE_ERROR(msg) env->ThrowTypeError(msg) |
#define | GET_OFFSET(a) ((a)->IsNumber() ? (a)->IntegerValue() : -1) |
#define | ASSERT_PATH(path) |
#define | ASYNC_DEST_CALL(func, request, dest, encoding, ...) |
#define | ASYNC_CALL(func, req, encoding, ...) ASYNC_DEST_CALL(func, req, nullptr, encoding, __VA_ARGS__) \ |
#define | SYNC_DEST_CALL(func, path, dest, ...) |
#define | SYNC_CALL(func, path, ...) SYNC_DEST_CALL(func, path, nullptr, __VA_ARGS__) \ |
#define | SYNC_REQ req_wrap.req |
#define | SYNC_RESULT err |
#define | X(idx, name) |
Functions | |
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) |
#define ASSERT_PATH | ( | path | ) |
Definition at line 128 of file node_file.cc.
Referenced by node::FillStatsArray().
#define ASYNC_CALL | ( | func, | |
req, | |||
encoding, | |||
... | |||
) | ASYNC_DEST_CALL(func, req, nullptr, encoding, __VA_ARGS__) \ |
Definition at line 401 of file node_file.cc.
Referenced by node::FillStatsArray().
#define ASYNC_DEST_CALL | ( | func, | |
request, | |||
dest, | |||
encoding, | |||
... | |||
) |
Definition at line 381 of file node_file.cc.
Referenced by node::FillStatsArray().
Definition at line 72 of file node_file.cc.
Referenced by node::FillStatsArray().
Definition at line 67 of file node_file.cc.
#define SYNC_CALL | ( | func, | |
path, | |||
... | |||
) | SYNC_DEST_CALL(func, path, nullptr, __VA_ARGS__) \ |
Definition at line 415 of file node_file.cc.
Referenced by node::FillStatsArray().
#define SYNC_DEST_CALL | ( | func, | |
path, | |||
dest, | |||
... | |||
) |
Definition at line 404 of file node_file.cc.
Referenced by node::FillStatsArray().
#define SYNC_REQ req_wrap.req |
Definition at line 418 of file node_file.cc.
Referenced by node::FillStatsArray().
#define SYNC_RESULT err |
Definition at line 420 of file node_file.cc.
Referenced by node::FillStatsArray().
#define TYPE_ERROR | ( | msg | ) | env->ThrowTypeError(msg) |
Definition at line 70 of file node_file.cc.
Referenced by node::FillStatsArray().
#define X | ( | idx, | |
name | |||
) |
enum encoding encoding_ |
Definition at line 96 of file node_file.cc.
uv_fs_t req |
Definition at line 374 of file node_file.cc.
Referenced by PBKDF2Request::After(), node::DTRACE_HTTP_CLIENT_REQUEST(), node::DTRACE_HTTP_SERVER_REQUEST(), node::FillStatsArray(), NodeTraceWriter::Flush(), InspectorIo::host(), node::LTTNG_HTTP_CLIENT_REQUEST(), node::LTTNG_HTTP_SERVER_REQUEST(), node::crypto::PBKDF2(), node::crypto::RandomBytesAfter(), node::crypto::RandomBytesProcessSync(), node::crypto::RandomBytesWork(), node::http2::RefreshStreamState(), InspectorSocketServer::Start(), PBKDF2Request::Work(), and NodeTraceWriter::~NodeTraceWriter().