MySQL 8.0.40
Source Code Documentation
|
#include "duk_module_shim.h"
#include <cstdlib>
#include <cstring>
#include <unistd.h>
#include <sys/stat.h>
#include "duk_module_duktape.h"
#include "duk_module_node.h"
#include "duk_node_fs.h"
#include "duktape.h"
Macros | |
#define | STDIN_FILENO 0 |
#define | STDOUT_FILENO 1 |
#define | STDERR_FILENO 2 |
Functions | |
static duk_ret_t | node_path_join (duk_context *ctx) |
static duk_ret_t | normalize_path (duk_context *ctx, duk_idx_t obj_idx) |
static duk_ret_t | node_format_string (duk_context *ctx) |
static duk_ret_t | node_path_resolve (duk_context *ctx) |
static duk_ret_t | node_util_inherits (duk_context *ctx) |
static duk_ret_t | node_console_log (duk_context *ctx) |
static duk_ret_t | node_tty_isatty (duk_context *ctx) |
static duk_ret_t | node_tty_getwindowsize (duk_context *ctx) |
static duk_ret_t | node_process_getenv (duk_context *ctx) |
static duk_ret_t | node_process_cwd (duk_context *ctx) |
static duk_ret_t | node_process_on (duk_context *ctx) |
static duk_ret_t | node_process_remove_listener (duk_context *ctx) |
static duk_ret_t | node_process_nexttick (duk_context *ctx) |
static duk_ret_t | node_write_stderr (duk_context *ctx) |
static duk_ret_t | node_write_stdout (duk_context *ctx) |
static duk_ret_t | node_clear_timeout (duk_context *ctx) |
static duk_ret_t | dukopen_process_module (duk_context *ctx) |
static duk_ret_t | dukopen_process_module_init_env (duk_context *ctx) |
static duk_ret_t | cb_resolve_module (duk_context *ctx) |
static duk_ret_t | cb_load_module (duk_context *ctx) |
void | duk_module_shim_init (duk_context *ctx, const std::vector< std::string > &prefixes) |
void | duk_module_duktape_init (duk_context *ctx) |
Variables | |
static const duk_function_list_entry | path_module_funcs [] |
static const duk_function_list_entry | util_module_funcs [] |
static const duk_function_list_entry | fs_module_funcs [] |
static const duk_function_list_entry | assert_module_funcs [] |
static const duk_function_list_entry | os_module_funcs [] |
static const duk_function_list_entry | console_module_funcs [] |
static const duk_function_list_entry | tty_module_funcs [] |
static const duk_function_list_entry | process_module_funcs [] |
#define STDERR_FILENO 2 |
#define STDIN_FILENO 0 |
#define STDOUT_FILENO 1 |
|
static |
|
static |
void duk_module_duktape_init | ( | duk_context * | ctx | ) |
void duk_module_shim_init | ( | duk_context * | ctx, |
const std::vector< std::string > & | prefixes | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |