![]() |
libgpac
Documentation of the core library of GPAC
|
Include dependency graph for quickjs.h:
This graph shows which files directly or indirectly include this file:Data Structures | |
| struct | JSRefCountHeader |
| union | JSValueUnion |
| struct | JSValue |
| struct | JSMallocState |
| struct | JSMallocFunctions |
| struct | JSMemoryUsage |
| struct | JSPropertyEnum |
| struct | JSPropertyDescriptor |
| struct | JSClassExoticMethods |
| struct | JSClassDef |
| struct | JSSharedArrayBufferFunctions |
| union | JSCFunctionType |
| struct | JSCFunctionListEntry |
| union | JSCFunctionListEntry.u |
| struct | JSCFunctionListEntry.u.func |
| struct | JSCFunctionListEntry.u.getset |
| struct | JSCFunctionListEntry.u.alias |
| struct | JSCFunctionListEntry.u.prop_list |
Macros | |
| #define | js_likely(x) (x) |
| #define | js_unlikely(x) (x) |
| #define | js_force_inline inline |
| #define | __js_printf_like(a, b) |
| #define | JS_BOOL int |
| #define | JS_PTR64 |
| #define | JS_PTR64_DEF(a) a |
| #define | JS_FLOAT64_NAN NAN |
| #define | JSValueConst JSValue |
| #define | JS_VALUE_GET_TAG(v) ((int32_t)(v).tag) |
| #define | JS_VALUE_GET_NORM_TAG(v) JS_VALUE_GET_TAG(v) |
| #define | JS_VALUE_GET_INT(v) ((v).u.int32) |
| #define | JS_VALUE_GET_BOOL(v) ((v).u.int32) |
| #define | JS_VALUE_GET_FLOAT64(v) ((v).u.float64) |
| #define | JS_VALUE_GET_PTR(v) ((v).u.ptr) |
| #define | JS_MKVAL(tag, val) (JSValue){ (JSValueUnion){ .int32 = val }, tag } |
| #define | JS_MKPTR(tag, p) (JSValue){ (JSValueUnion){ .ptr = p }, tag } |
| #define | JS_TAG_IS_FLOAT64(tag) ((unsigned)(tag) == JS_TAG_FLOAT64) |
| #define | JS_NAN (JSValue){ .u.float64 = JS_FLOAT64_NAN, JS_TAG_FLOAT64 } |
| #define | JS_VALUE_IS_BOTH_INT(v1, v2) ((JS_VALUE_GET_TAG(v1) | JS_VALUE_GET_TAG(v2)) == 0) |
| #define | JS_VALUE_IS_BOTH_FLOAT(v1, v2) (JS_TAG_IS_FLOAT64(JS_VALUE_GET_TAG(v1)) && JS_TAG_IS_FLOAT64(JS_VALUE_GET_TAG(v2))) |
| #define | JS_VALUE_GET_OBJ(v) ((JSObject *)JS_VALUE_GET_PTR(v)) |
| #define | JS_VALUE_GET_STRING(v) ((JSString *)JS_VALUE_GET_PTR(v)) |
| #define | JS_VALUE_HAS_REF_COUNT(v) ((unsigned)JS_VALUE_GET_TAG(v) >= (unsigned)JS_TAG_FIRST) |
| #define | JS_NULL JS_MKVAL(JS_TAG_NULL, 0) |
| #define | JS_UNDEFINED JS_MKVAL(JS_TAG_UNDEFINED, 0) |
| #define | JS_FALSE JS_MKVAL(JS_TAG_BOOL, 0) |
| #define | JS_TRUE JS_MKVAL(JS_TAG_BOOL, 1) |
| #define | JS_EXCEPTION JS_MKVAL(JS_TAG_EXCEPTION, 0) |
| #define | JS_UNINITIALIZED JS_MKVAL(JS_TAG_UNINITIALIZED, 0) |
| #define | JS_PROP_CONFIGURABLE (1 << 0) |
| #define | JS_PROP_WRITABLE (1 << 1) |
| #define | JS_PROP_ENUMERABLE (1 << 2) |
| #define | JS_PROP_C_W_E (JS_PROP_CONFIGURABLE | JS_PROP_WRITABLE | JS_PROP_ENUMERABLE) |
| #define | JS_PROP_LENGTH (1 << 3) /* used internally in Arrays */ |
| #define | JS_PROP_TMASK (3 << 4) /* mask for NORMAL, GETSET, VARREF, AUTOINIT */ |
| #define | JS_PROP_NORMAL (0 << 4) |
| #define | JS_PROP_GETSET (1 << 4) |
| #define | JS_PROP_VARREF (2 << 4) /* used internally */ |
| #define | JS_PROP_AUTOINIT (3 << 4) /* used internally */ |
| #define | JS_PROP_HAS_SHIFT 8 |
| #define | JS_PROP_HAS_CONFIGURABLE (1 << 8) |
| #define | JS_PROP_HAS_WRITABLE (1 << 9) |
| #define | JS_PROP_HAS_ENUMERABLE (1 << 10) |
| #define | JS_PROP_HAS_GET (1 << 11) |
| #define | JS_PROP_HAS_SET (1 << 12) |
| #define | JS_PROP_HAS_VALUE (1 << 13) |
| #define | JS_PROP_THROW (1 << 14) |
| #define | JS_PROP_THROW_STRICT (1 << 15) |
| #define | JS_PROP_NO_ADD (1 << 16) /* internal use */ |
| #define | JS_PROP_NO_EXOTIC (1 << 17) /* internal use */ |
| #define | JS_DEFAULT_STACK_SIZE (256 * 1024) |
| #define | JS_EVAL_TYPE_GLOBAL (0 << 0) /* global code (default) */ |
| #define | JS_EVAL_TYPE_MODULE (1 << 0) /* module code */ |
| #define | JS_EVAL_TYPE_DIRECT (2 << 0) /* direct call (internal use) */ |
| #define | JS_EVAL_TYPE_INDIRECT (3 << 0) /* indirect call (internal use) */ |
| #define | JS_EVAL_TYPE_MASK (3 << 0) |
| #define | JS_EVAL_FLAG_STRICT (1 << 3) /* force 'strict' mode */ |
| #define | JS_EVAL_FLAG_STRIP (1 << 4) /* force 'strip' mode */ |
| #define | JS_EVAL_FLAG_COMPILE_ONLY (1 << 5) |
| #define | JS_EVAL_FLAG_BACKTRACE_BARRIER (1 << 6) |
| #define | JS_ATOM_NULL 0 |
| #define | JS_CALL_FLAG_CONSTRUCTOR (1 << 0) |
| #define | JS_GPN_STRING_MASK (1 << 0) |
| #define | JS_GPN_SYMBOL_MASK (1 << 1) |
| #define | JS_GPN_PRIVATE_MASK (1 << 2) |
| #define | JS_GPN_ENUM_ONLY (1 << 4) |
| #define | JS_GPN_SET_ENUM (1 << 5) |
| #define | JS_PARSE_JSON_EXT (1 << 0) /* allow extended JSON */ |
| #define | JS_WRITE_OBJ_BYTECODE (1 << 0) /* allow function/module */ |
| #define | JS_WRITE_OBJ_BSWAP (1 << 1) /* byte swapped output */ |
| #define | JS_WRITE_OBJ_SAB (1 << 2) /* allow SharedArrayBuffer */ |
| #define | JS_WRITE_OBJ_REFERENCE |
| #define | JS_READ_OBJ_BYTECODE (1 << 0) /* allow function/module */ |
| #define | JS_READ_OBJ_ROM_DATA (1 << 1) /* avoid duplicating 'buf' data */ |
| #define | JS_READ_OBJ_SAB (1 << 2) /* allow SharedArrayBuffer */ |
| #define | JS_READ_OBJ_REFERENCE (1 << 3) /* allow object references */ |
| #define | JS_DEF_CFUNC 0 |
| #define | JS_DEF_CGETSET 1 |
| #define | JS_DEF_CGETSET_MAGIC 2 |
| #define | JS_DEF_PROP_STRING 3 |
| #define | JS_DEF_PROP_INT32 4 |
| #define | JS_DEF_PROP_INT64 5 |
| #define | JS_DEF_PROP_DOUBLE 6 |
| #define | JS_DEF_PROP_UNDEFINED 7 |
| #define | JS_DEF_OBJECT 8 |
| #define | JS_DEF_ALIAS 9 |
| #define | JS_CFUNC_DEF(name, length, func1) { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, 0, .u = { .func = { length, JS_CFUNC_generic, { .generic = func1 } } } } |
| #define | JS_CFUNC_MAGIC_DEF(name, length, func1, magic) { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, magic, .u = { .func = { length, JS_CFUNC_generic_magic, { .generic_magic = func1 } } } } |
| #define | JS_CFUNC_SPECIAL_DEF(name, length, cproto, func1) { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, 0, .u = { .func = { length, JS_CFUNC_ ## cproto, { .cproto = func1 } } } } |
| #define | JS_ITERATOR_NEXT_DEF(name, length, func1, magic) { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, magic, .u = { .func = { length, JS_CFUNC_iterator_next, { .iterator_next = func1 } } } } |
| #define | JS_CGETSET_DEF(name, fgetter, fsetter) { name, JS_PROP_CONFIGURABLE, JS_DEF_CGETSET, 0, .u = { .getset = { .get = { .getter = fgetter }, .set = { .setter = fsetter } } } } |
| #define | JS_CGETSET_MAGIC_DEF(name, fgetter, fsetter, magic) { name, JS_PROP_CONFIGURABLE, JS_DEF_CGETSET_MAGIC, magic, .u = { .getset = { .get = { .getter_magic = fgetter }, .set = { .setter_magic = fsetter } } } } |
| #define | JS_PROP_STRING_DEF(name, cstr, prop_flags) { name, prop_flags, JS_DEF_PROP_STRING, 0, .u = { .str = cstr } } |
| #define | JS_PROP_INT32_DEF(name, val, prop_flags) { name, prop_flags, JS_DEF_PROP_INT32, 0, .u = { .i32 = val } } |
| #define | JS_PROP_INT64_DEF(name, val, prop_flags) { name, prop_flags, JS_DEF_PROP_INT64, 0, .u = { .i64 = val } } |
| #define | JS_PROP_DOUBLE_DEF(name, val, prop_flags) { name, prop_flags, JS_DEF_PROP_DOUBLE, 0, .u = { .f64 = val } } |
| #define | JS_PROP_UNDEFINED_DEF(name, prop_flags) { name, prop_flags, JS_DEF_PROP_UNDEFINED, 0, .u = { .i32 = 0 } } |
| #define | JS_OBJECT_DEF(name, tab, len, prop_flags) { name, prop_flags, JS_DEF_OBJECT, 0, .u = { .prop_list = { tab, len } } } |
| #define | JS_ALIAS_DEF(name, from) { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_ALIAS, 0, .u = { .alias = { from, -1 } } } |
| #define | JS_ALIAS_BASE_DEF(name, from, base) { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_ALIAS, 0, .u = { .alias = { from, base } } } |
Enumerations | |
| enum | { JS_TAG_FIRST = -11 , JS_TAG_BIG_DECIMAL = -11 , JS_TAG_BIG_INT = -10 , JS_TAG_BIG_FLOAT = -9 , JS_TAG_SYMBOL = -8 , JS_TAG_STRING = -7 , JS_TAG_MODULE = -3 , JS_TAG_FUNCTION_BYTECODE = -2 , JS_TAG_OBJECT = -1 , JS_TAG_INT = 0 , JS_TAG_BOOL = 1 , JS_TAG_NULL = 2 , JS_TAG_UNDEFINED = 3 , JS_TAG_UNINITIALIZED = 4 , JS_TAG_CATCH_OFFSET = 5 , JS_TAG_EXCEPTION = 6 , JS_TAG_FLOAT64 = 7 } |
| enum | JSCFunctionEnum { JS_CFUNC_generic , JS_CFUNC_generic_magic , JS_CFUNC_constructor , JS_CFUNC_constructor_magic , JS_CFUNC_constructor_or_func , JS_CFUNC_constructor_or_func_magic , JS_CFUNC_f_f , JS_CFUNC_f_f_f , JS_CFUNC_getter , JS_CFUNC_setter , JS_CFUNC_getter_magic , JS_CFUNC_setter_magic , JS_CFUNC_iterator_next } |
Variables | |
| JSValue const char * | fmt |
| union JSValueUnion |
| Data Fields | ||
|---|---|---|
| void * | ptr | |
| int32_t | int32 | |
| double | float64 | |
| struct JSValue |
| struct JSMallocState |
| struct JSMemoryUsage |
| Data Fields | ||
|---|---|---|
| int64_t | malloc_size | |
| int64_t | malloc_limit | |
| int64_t | memory_used_size | |
| int64_t | malloc_count | |
| int64_t | memory_used_count | |
| int64_t | atom_count | |
| int64_t | atom_size | |
| int64_t | str_count | |
| int64_t | str_size | |
| int64_t | obj_count | |
| int64_t | obj_size | |
| int64_t | prop_count | |
| int64_t | prop_size | |
| int64_t | shape_count | |
| int64_t | shape_size | |
| int64_t | js_func_count | |
| int64_t | js_func_size | |
| int64_t | js_func_code_size | |
| int64_t | js_func_pc2line_count | |
| int64_t | js_func_pc2line_size | |
| int64_t | c_func_count | |
| int64_t | array_count | |
| int64_t | fast_array_count | |
| int64_t | fast_array_elements | |
| int64_t | binary_object_count | |
| int64_t | binary_object_size | |
| struct JSPropertyDescriptor |
| struct JSClassDef |
Collaboration diagram for JSClassDef:| Data Fields | ||
|---|---|---|
| const char * | class_name | |
| JSClassFinalizer * | finalizer | |
| JSClassGCMark * | gc_mark | |
| JSClassCall * | call | |
| JSClassExoticMethods * | exotic | |
| struct JSCFunctionListEntry |
| Data Fields | ||
|---|---|---|
| const char * | name | |
| uint8_t | prop_flags | |
| uint8_t | def_type | |
| int16_t | magic | |
| union JSCFunctionListEntry.u | u | |
| union JSCFunctionListEntry.u |
| Data Fields | ||
|---|---|---|
| struct JSCFunctionListEntry.u.func | func | |
| struct JSCFunctionListEntry.u.getset | getset | |
| struct JSCFunctionListEntry.u.alias | alias | |
| struct JSCFunctionListEntry.u.prop_list | prop_list | |
| const char * | str | |
| int32_t | i32 | |
| int64_t | i64 | |
| double | f64 | |
| struct JSCFunctionListEntry.u.func |
| Data Fields | ||
|---|---|---|
| uint32_t | length | |
| uint32_t | cproto | |
| JSCFunctionType | cfunc | |
| struct JSCFunctionListEntry.u.getset |
| Data Fields | ||
|---|---|---|
| JSCFunctionType | get | |
| JSCFunctionType | set | |
| struct JSCFunctionListEntry.u.prop_list |
| Data Fields | ||
|---|---|---|
| const struct JSCFunctionListEntry * | tab | |
| int | len | |
| #define js_likely | ( | x | ) | (x) |
| #define js_unlikely | ( | x | ) | (x) |
| #define js_force_inline inline |
| #define __js_printf_like | ( | a, | |
| b | |||
| ) |
| #define JS_BOOL int |
| #define JS_PTR64 |
| #define JS_PTR64_DEF | ( | a | ) | a |
| #define JS_FLOAT64_NAN NAN |
| #define JSValueConst JSValue |
| #define JS_VALUE_GET_TAG | ( | v | ) | ((int32_t)(v).tag) |
| #define JS_VALUE_GET_NORM_TAG | ( | v | ) | JS_VALUE_GET_TAG(v) |
| #define JS_VALUE_GET_INT | ( | v | ) | ((v).u.int32) |
| #define JS_VALUE_GET_BOOL | ( | v | ) | ((v).u.int32) |
| #define JS_VALUE_GET_FLOAT64 | ( | v | ) | ((v).u.float64) |
| #define JS_VALUE_GET_PTR | ( | v | ) | ((v).u.ptr) |
| #define JS_MKVAL | ( | tag, | |
| val | |||
| ) | (JSValue){ (JSValueUnion){ .int32 = val }, tag } |
| #define JS_MKPTR | ( | tag, | |
| p | |||
| ) | (JSValue){ (JSValueUnion){ .ptr = p }, tag } |
| #define JS_TAG_IS_FLOAT64 | ( | tag | ) | ((unsigned)(tag) == JS_TAG_FLOAT64) |
| #define JS_NAN (JSValue){ .u.float64 = JS_FLOAT64_NAN, JS_TAG_FLOAT64 } |
| #define JS_VALUE_IS_BOTH_INT | ( | v1, | |
| v2 | |||
| ) | ((JS_VALUE_GET_TAG(v1) | JS_VALUE_GET_TAG(v2)) == 0) |
| #define JS_VALUE_IS_BOTH_FLOAT | ( | v1, | |
| v2 | |||
| ) | (JS_TAG_IS_FLOAT64(JS_VALUE_GET_TAG(v1)) && JS_TAG_IS_FLOAT64(JS_VALUE_GET_TAG(v2))) |
| #define JS_VALUE_GET_OBJ | ( | v | ) | ((JSObject *)JS_VALUE_GET_PTR(v)) |
| #define JS_VALUE_GET_STRING | ( | v | ) | ((JSString *)JS_VALUE_GET_PTR(v)) |
| #define JS_VALUE_HAS_REF_COUNT | ( | v | ) | ((unsigned)JS_VALUE_GET_TAG(v) >= (unsigned)JS_TAG_FIRST) |
| #define JS_NULL JS_MKVAL(JS_TAG_NULL, 0) |
| #define JS_UNDEFINED JS_MKVAL(JS_TAG_UNDEFINED, 0) |
| #define JS_FALSE JS_MKVAL(JS_TAG_BOOL, 0) |
| #define JS_TRUE JS_MKVAL(JS_TAG_BOOL, 1) |
| #define JS_EXCEPTION JS_MKVAL(JS_TAG_EXCEPTION, 0) |
| #define JS_UNINITIALIZED JS_MKVAL(JS_TAG_UNINITIALIZED, 0) |
| #define JS_PROP_CONFIGURABLE (1 << 0) |
| #define JS_PROP_WRITABLE (1 << 1) |
| #define JS_PROP_ENUMERABLE (1 << 2) |
| #define JS_PROP_C_W_E (JS_PROP_CONFIGURABLE | JS_PROP_WRITABLE | JS_PROP_ENUMERABLE) |
| #define JS_PROP_LENGTH (1 << 3) /* used internally in Arrays */ |
| #define JS_PROP_TMASK (3 << 4) /* mask for NORMAL, GETSET, VARREF, AUTOINIT */ |
| #define JS_PROP_NORMAL (0 << 4) |
| #define JS_PROP_GETSET (1 << 4) |
| #define JS_PROP_VARREF (2 << 4) /* used internally */ |
| #define JS_PROP_AUTOINIT (3 << 4) /* used internally */ |
| #define JS_PROP_HAS_SHIFT 8 |
| #define JS_PROP_HAS_CONFIGURABLE (1 << 8) |
| #define JS_PROP_HAS_WRITABLE (1 << 9) |
| #define JS_PROP_HAS_ENUMERABLE (1 << 10) |
| #define JS_PROP_HAS_GET (1 << 11) |
| #define JS_PROP_HAS_SET (1 << 12) |
| #define JS_PROP_HAS_VALUE (1 << 13) |
| #define JS_PROP_THROW (1 << 14) |
| #define JS_PROP_THROW_STRICT (1 << 15) |
| #define JS_PROP_NO_ADD (1 << 16) /* internal use */ |
| #define JS_PROP_NO_EXOTIC (1 << 17) /* internal use */ |
| #define JS_DEFAULT_STACK_SIZE (256 * 1024) |
| #define JS_EVAL_TYPE_GLOBAL (0 << 0) /* global code (default) */ |
| #define JS_EVAL_TYPE_MODULE (1 << 0) /* module code */ |
| #define JS_EVAL_TYPE_DIRECT (2 << 0) /* direct call (internal use) */ |
| #define JS_EVAL_TYPE_INDIRECT (3 << 0) /* indirect call (internal use) */ |
| #define JS_EVAL_TYPE_MASK (3 << 0) |
| #define JS_EVAL_FLAG_STRICT (1 << 3) /* force 'strict' mode */ |
| #define JS_EVAL_FLAG_STRIP (1 << 4) /* force 'strip' mode */ |
| #define JS_EVAL_FLAG_COMPILE_ONLY (1 << 5) |
| #define JS_EVAL_FLAG_BACKTRACE_BARRIER (1 << 6) |
| #define JS_ATOM_NULL 0 |
| #define JS_CALL_FLAG_CONSTRUCTOR (1 << 0) |
| #define JS_GPN_STRING_MASK (1 << 0) |
| #define JS_GPN_SYMBOL_MASK (1 << 1) |
| #define JS_GPN_PRIVATE_MASK (1 << 2) |
| #define JS_GPN_ENUM_ONLY (1 << 4) |
| #define JS_GPN_SET_ENUM (1 << 5) |
| #define JS_PARSE_JSON_EXT (1 << 0) /* allow extended JSON */ |
| #define JS_WRITE_OBJ_BYTECODE (1 << 0) /* allow function/module */ |
| #define JS_WRITE_OBJ_BSWAP (1 << 1) /* byte swapped output */ |
| #define JS_WRITE_OBJ_SAB (1 << 2) /* allow SharedArrayBuffer */ |
| #define JS_WRITE_OBJ_REFERENCE |
| #define JS_READ_OBJ_BYTECODE (1 << 0) /* allow function/module */ |
| #define JS_READ_OBJ_ROM_DATA (1 << 1) /* avoid duplicating 'buf' data */ |
| #define JS_READ_OBJ_SAB (1 << 2) /* allow SharedArrayBuffer */ |
| #define JS_READ_OBJ_REFERENCE (1 << 3) /* allow object references */ |
| #define JS_DEF_CFUNC 0 |
| #define JS_DEF_CGETSET 1 |
| #define JS_DEF_CGETSET_MAGIC 2 |
| #define JS_DEF_PROP_STRING 3 |
| #define JS_DEF_PROP_INT32 4 |
| #define JS_DEF_PROP_INT64 5 |
| #define JS_DEF_PROP_DOUBLE 6 |
| #define JS_DEF_PROP_UNDEFINED 7 |
| #define JS_DEF_OBJECT 8 |
| #define JS_DEF_ALIAS 9 |
| #define JS_CFUNC_DEF | ( | name, | |
| length, | |||
| func1 | |||
| ) | { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, 0, .u = { .func = { length, JS_CFUNC_generic, { .generic = func1 } } } } |
| #define JS_CFUNC_MAGIC_DEF | ( | name, | |
| length, | |||
| func1, | |||
| magic | |||
| ) | { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, magic, .u = { .func = { length, JS_CFUNC_generic_magic, { .generic_magic = func1 } } } } |
| #define JS_CFUNC_SPECIAL_DEF | ( | name, | |
| length, | |||
| cproto, | |||
| func1 | |||
| ) | { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, 0, .u = { .func = { length, JS_CFUNC_ ## cproto, { .cproto = func1 } } } } |
| #define JS_ITERATOR_NEXT_DEF | ( | name, | |
| length, | |||
| func1, | |||
| magic | |||
| ) | { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_CFUNC, magic, .u = { .func = { length, JS_CFUNC_iterator_next, { .iterator_next = func1 } } } } |
| #define JS_CGETSET_DEF | ( | name, | |
| fgetter, | |||
| fsetter | |||
| ) | { name, JS_PROP_CONFIGURABLE, JS_DEF_CGETSET, 0, .u = { .getset = { .get = { .getter = fgetter }, .set = { .setter = fsetter } } } } |
| #define JS_CGETSET_MAGIC_DEF | ( | name, | |
| fgetter, | |||
| fsetter, | |||
| magic | |||
| ) | { name, JS_PROP_CONFIGURABLE, JS_DEF_CGETSET_MAGIC, magic, .u = { .getset = { .get = { .getter_magic = fgetter }, .set = { .setter_magic = fsetter } } } } |
| #define JS_PROP_STRING_DEF | ( | name, | |
| cstr, | |||
| prop_flags | |||
| ) | { name, prop_flags, JS_DEF_PROP_STRING, 0, .u = { .str = cstr } } |
| #define JS_PROP_INT32_DEF | ( | name, | |
| val, | |||
| prop_flags | |||
| ) | { name, prop_flags, JS_DEF_PROP_INT32, 0, .u = { .i32 = val } } |
| #define JS_PROP_INT64_DEF | ( | name, | |
| val, | |||
| prop_flags | |||
| ) | { name, prop_flags, JS_DEF_PROP_INT64, 0, .u = { .i64 = val } } |
| #define JS_PROP_DOUBLE_DEF | ( | name, | |
| val, | |||
| prop_flags | |||
| ) | { name, prop_flags, JS_DEF_PROP_DOUBLE, 0, .u = { .f64 = val } } |
| #define JS_PROP_UNDEFINED_DEF | ( | name, | |
| prop_flags | |||
| ) | { name, prop_flags, JS_DEF_PROP_UNDEFINED, 0, .u = { .i32 = 0 } } |
| #define JS_OBJECT_DEF | ( | name, | |
| tab, | |||
| len, | |||
| prop_flags | |||
| ) | { name, prop_flags, JS_DEF_OBJECT, 0, .u = { .prop_list = { tab, len } } } |
| #define JS_ALIAS_DEF | ( | name, | |
| from | |||
| ) | { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_ALIAS, 0, .u = { .alias = { from, -1 } } } |
| #define JS_ALIAS_BASE_DEF | ( | name, | |
| from, | |||
| base | |||
| ) | { name, JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE, JS_DEF_ALIAS, 0, .u = { .alias = { from, base } } } |
| typedef JSValue JSCFunction(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
| typedef JSValue JSCFunctionMagic(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic) |
| typedef JSValue JSCFunctionData(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data) |
| typedef void JS_MarkFunc(JSRuntime *rt, JSGCObjectHeader *gp) |
| typedef void JSClassGCMark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func) |
| typedef JSValue JSClassCall(JSContext *ctx, JSValueConst func_obj, JSValueConst this_val, int argc, JSValueConst *argv, int flags) |
| typedef void JSFreeArrayBufferDataFunc(JSRuntime *rt, void *opaque, void *ptr) |
| typedef void JSHostPromiseRejectionTracker(JSContext *ctx, JSValueConst promise, JSValueConst reason, JS_BOOL is_handled, void *opaque) |
| typedef int JSInterruptHandler(JSRuntime *rt, void *opaque) |
| typedef char * JSModuleNormalizeFunc(JSContext *ctx, const char *module_base_name, const char *module_name, void *opaque) |
| typedef JSModuleDef * JSModuleLoaderFunc(JSContext *ctx, const char *module_name, void *opaque) |
| typedef JSValue JSJobFunc(JSContext *ctx, int argc, JSValueConst *argv) |
| typedef int JSModuleInitFunc(JSContext *ctx, JSModuleDef *m) |
| anonymous enum |
| enum JSCFunctionEnum |
Here is the caller graph for this function:| JSRuntime * JS_NewRuntime | ( | void | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_SetRuntimeInfo | ( | JSRuntime * | rt, |
| const char * | info | ||
| ) |
| void JS_SetMemoryLimit | ( | JSRuntime * | rt, |
| size_t | limit | ||
| ) |
| void JS_SetGCThreshold | ( | JSRuntime * | rt, |
| size_t | gc_threshold | ||
| ) |
| void JS_SetMaxStackSize | ( | JSRuntime * | rt, |
| size_t | stack_size | ||
| ) |
Here is the call graph for this function:| void JS_UpdateStackTop | ( | JSRuntime * | rt | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSRuntime * JS_NewRuntime2 | ( | const JSMallocFunctions * | mf, |
| void * | opaque | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_FreeRuntime | ( | JSRuntime * | rt | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void * JS_GetRuntimeOpaque | ( | JSRuntime * | rt | ) |
Here is the caller graph for this function:| void JS_SetRuntimeOpaque | ( | JSRuntime * | rt, |
| void * | opaque | ||
| ) |
Here is the caller graph for this function:| void JS_MarkValue | ( | JSRuntime * | rt, |
| JSValueConst | val, | ||
| JS_MarkFunc * | mark_func | ||
| ) |
Here is the caller graph for this function:| void JS_RunGC | ( | JSRuntime * | rt | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JS_BOOL JS_IsLiveObject | ( | JSRuntime * | rt, |
| JSValueConst | obj | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_FreeContext | ( | JSContext * | s | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void * JS_GetContextOpaque | ( | JSContext * | ctx | ) |
| void JS_SetContextOpaque | ( | JSContext * | ctx, |
| void * | opaque | ||
| ) |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicBaseObjects | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicDate | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicEval | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicStringNormalize | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicRegExpCompiler | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicRegExp | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicJSON | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicProxy | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicMapSet | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicTypedArrays | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicPromise | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_AddIntrinsicBigInt | ( | JSContext * | ctx | ) |
Here is the caller graph for this function:| void JS_AddIntrinsicBigFloat | ( | JSContext * | ctx | ) |
| void JS_AddIntrinsicBigDecimal | ( | JSContext * | ctx | ) |
| void JS_AddIntrinsicOperators | ( | JSContext * | ctx | ) |
| JSValue js_string_codePointRange | ( | JSContext * | ctx, |
| JSValueConst | this_val, | ||
| int | argc, | ||
| JSValueConst * | argv | ||
| ) |
Here is the call graph for this function:| void * js_malloc_rt | ( | JSRuntime * | rt, |
| size_t | size | ||
| ) |
Here is the caller graph for this function:| void js_free_rt | ( | JSRuntime * | rt, |
| void * | ptr | ||
| ) |
Here is the caller graph for this function:| void * js_realloc_rt | ( | JSRuntime * | rt, |
| void * | ptr, | ||
| size_t | size | ||
| ) |
Here is the caller graph for this function:| size_t js_malloc_usable_size_rt | ( | JSRuntime * | rt, |
| const void * | ptr | ||
| ) |
Here is the caller graph for this function:| void * js_mallocz_rt | ( | JSRuntime * | rt, |
| size_t | size | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void * js_malloc | ( | JSContext * | ctx, |
| size_t | size | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void js_free | ( | JSContext * | ctx, |
| void * | ptr | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void * js_realloc | ( | JSContext * | ctx, |
| void * | ptr, | ||
| size_t | size | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| size_t js_malloc_usable_size | ( | JSContext * | ctx, |
| const void * | ptr | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void * js_realloc2 | ( | JSContext * | ctx, |
| void * | ptr, | ||
| size_t | size, | ||
| size_t * | pslack | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void * js_mallocz | ( | JSContext * | ctx, |
| size_t | size | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| char * js_strdup | ( | JSContext * | ctx, |
| const char * | str | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| char * js_strndup | ( | JSContext * | ctx, |
| const char * | s, | ||
| size_t | n | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_ComputeMemoryUsage | ( | JSRuntime * | rt, |
| JSMemoryUsage * | s | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_DumpMemoryUsage | ( | FILE * | fp, |
| const JSMemoryUsage * | s, | ||
| JSRuntime * | rt | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| JSAtom JS_ValueToAtom | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_NewClass | ( | JSRuntime * | rt, |
| JSClassID | class_id, | ||
| const JSClassDef * | class_def | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
|
static |
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| JS_BOOL JS_IsError | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the caller graph for this function:| void JS_ResetUncatchableError | ( | JSContext * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue const char JSValue const char JSValue const char JSValue const char JSValue __js_printf_like | ( | 2 | , |
| 3 | |||
| ) |
| JSValue const char JSValue const char JSValue const char JSValue const char JSValue const char JSValue JS_ThrowOutOfMemory | ( | JSContext * | ctx | ) |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:| int JS_ToBool | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_ToInt32 | ( | JSContext * | ctx, |
| int32_t * | pres, | ||
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_ToInt64 | ( | JSContext * | ctx, |
| int64_t * | pres, | ||
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_ToIndex | ( | JSContext * | ctx, |
| uint64_t * | plen, | ||
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_ToFloat64 | ( | JSContext * | ctx, |
| double * | pres, | ||
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_ToBigInt64 | ( | JSContext * | ctx, |
| int64_t * | pres, | ||
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_ToInt64Ext | ( | JSContext * | ctx, |
| int64_t * | pres, | ||
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_ToString | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_ToPropertyKey | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| const char * JS_ToCStringLen2 | ( | JSContext * | ctx, |
| size_t * | plen, | ||
| JSValueConst | val1, | ||
| JS_BOOL | cesu8 | ||
| ) |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_FreeCString | ( | JSContext * | ctx, |
| const char * | ptr | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_NewObjectProtoClass | ( | JSContext * | ctx, |
| JSValueConst | proto, | ||
| JSClassID | class_id | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_NewObjectProto | ( | JSContext * | ctx, |
| JSValueConst | proto | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| JS_BOOL JS_IsFunction | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the caller graph for this function:| JS_BOOL JS_IsConstructor | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the caller graph for this function:| JS_BOOL JS_SetConstructorBit | ( | JSContext * | ctx, |
| JSValueConst | func_obj, | ||
| JS_BOOL | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_IsArray | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_GetPropertyInternal | ( | JSContext * | ctx, |
| JSValueConst | obj, | ||
| JSAtom | prop, | ||
| JSValueConst | receiver, | ||
| JS_BOOL | throw_ref_error | ||
| ) |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_GetPropertyStr | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| const char * | prop | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_GetPropertyUint32 | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| uint32_t | idx | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_SetPropertyInternal | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| JSAtom | prop, | ||
| JSValue | val, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_SetPropertyUint32 | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| uint32_t | idx, | ||
| JSValue | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_SetPropertyInt64 | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| int64_t | idx, | ||
| JSValue | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_SetPropertyStr | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| const char * | prop, | ||
| JSValue | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_HasProperty | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| JSAtom | prop | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_IsExtensible | ( | JSContext * | ctx, |
| JSValueConst | obj | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_PreventExtensions | ( | JSContext * | ctx, |
| JSValueConst | obj | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_DeleteProperty | ( | JSContext * | ctx, |
| JSValueConst | obj, | ||
| JSAtom | prop, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_SetPrototype | ( | JSContext * | ctx, |
| JSValueConst | obj, | ||
| JSValueConst | proto_val | ||
| ) |
Here is the call graph for this function:| JSValue JS_GetPrototype | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_GetOwnPropertyNames | ( | JSContext * | ctx, |
| JSPropertyEnum ** | ptab, | ||
| uint32_t * | plen, | ||
| JSValueConst | obj, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_GetOwnProperty | ( | JSContext * | ctx, |
| JSPropertyDescriptor * | desc, | ||
| JSValueConst | obj, | ||
| JSAtom | prop | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_Call | ( | JSContext * | ctx, |
| JSValueConst | func_obj, | ||
| JSValueConst | this_obj, | ||
| int | argc, | ||
| JSValueConst * | argv | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_Invoke | ( | JSContext * | ctx, |
| JSValueConst | this_val, | ||
| JSAtom | atom, | ||
| int | argc, | ||
| JSValueConst * | argv | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_CallConstructor | ( | JSContext * | ctx, |
| JSValueConst | func_obj, | ||
| int | argc, | ||
| JSValueConst * | argv | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_CallConstructor2 | ( | JSContext * | ctx, |
| JSValueConst | func_obj, | ||
| JSValueConst | new_target, | ||
| int | argc, | ||
| JSValueConst * | argv | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JS_BOOL JS_DetectModule | ( | const char * | input, |
| size_t | input_len | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_Eval | ( | JSContext * | ctx, |
| const char * | input, | ||
| size_t | input_len, | ||
| const char * | filename, | ||
| int | eval_flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_EvalThis | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| const char * | input, | ||
| size_t | input_len, | ||
| const char * | filename, | ||
| int | eval_flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_IsInstanceOf | ( | JSContext * | ctx, |
| JSValueConst | val, | ||
| JSValueConst | obj | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_DefineProperty | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| JSAtom | prop, | ||
| JSValueConst | val, | ||
| JSValueConst | getter, | ||
| JSValueConst | setter, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_DefinePropertyValue | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| JSAtom | prop, | ||
| JSValue | val, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_DefinePropertyValueUint32 | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| uint32_t | idx, | ||
| JSValue | val, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_DefinePropertyValueStr | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| const char * | prop, | ||
| JSValue | val, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_DefinePropertyGetSet | ( | JSContext * | ctx, |
| JSValueConst | this_obj, | ||
| JSAtom | prop, | ||
| JSValue | getter, | ||
| JSValue | setter, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_SetOpaque | ( | JSValue | obj, |
| void * | opaque | ||
| ) |
Here is the caller graph for this function:| void * JS_GetOpaque | ( | JSValueConst | obj, |
| JSClassID | class_id | ||
| ) |
Here is the caller graph for this function:| void * JS_GetOpaque2 | ( | JSContext * | ctx, |
| JSValueConst | obj, | ||
| JSClassID | class_id | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_ParseJSON2 | ( | JSContext * | ctx, |
| const char * | buf, | ||
| size_t | buf_len, | ||
| const char * | filename, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_JSONStringify | ( | JSContext * | ctx, |
| JSValueConst | obj, | ||
| JSValueConst | replacer, | ||
| JSValueConst | space0 | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_NewArrayBuffer | ( | JSContext * | ctx, |
| uint8_t * | buf, | ||
| size_t | len, | ||
| JSFreeArrayBufferDataFunc * | free_func, | ||
| void * | opaque, | ||
| JS_BOOL | is_shared | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_DetachArrayBuffer | ( | JSContext * | ctx, |
| JSValueConst | obj | ||
| ) |
Here is the call graph for this function:| uint8_t * JS_GetArrayBuffer | ( | JSContext * | ctx, |
| size_t * | psize, | ||
| JSValueConst | obj | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_GetTypedArrayBuffer | ( | JSContext * | ctx, |
| JSValueConst | obj, | ||
| size_t * | pbyte_offset, | ||
| size_t * | pbyte_length, | ||
| size_t * | pbytes_per_element | ||
| ) |
Here is the call graph for this function:| void JS_SetSharedArrayBufferFunctions | ( | JSRuntime * | rt, |
| const JSSharedArrayBufferFunctions * | sf | ||
| ) |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_SetHostPromiseRejectionTracker | ( | JSRuntime * | rt, |
| JSHostPromiseRejectionTracker * | cb, | ||
| void * | opaque | ||
| ) |
| void JS_SetInterruptHandler | ( | JSRuntime * | rt, |
| JSInterruptHandler * | cb, | ||
| void * | opaque | ||
| ) |
Here is the caller graph for this function:| void JS_SetIsHTMLDDA | ( | JSContext * | ctx, |
| JSValueConst | obj | ||
| ) |
| void JS_SetModuleLoaderFunc | ( | JSRuntime * | rt, |
| JSModuleNormalizeFunc * | module_normalize, | ||
| JSModuleLoaderFunc * | module_loader, | ||
| void * | opaque | ||
| ) |
Here is the caller graph for this function:| JSValue JS_GetImportMeta | ( | JSContext * | ctx, |
| JSModuleDef * | m | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSAtom JS_GetModuleName | ( | JSContext * | ctx, |
| JSModuleDef * | m | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_EnqueueJob | ( | JSContext * | ctx, |
| JSJobFunc * | job_func, | ||
| int | argc, | ||
| JSValueConst * | argv | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| uint8_t * JS_WriteObject | ( | JSContext * | ctx, |
| size_t * | psize, | ||
| JSValueConst | obj, | ||
| int | flags | ||
| ) |
Here is the call graph for this function:| uint8_t * JS_WriteObject2 | ( | JSContext * | ctx, |
| size_t * | psize, | ||
| JSValueConst | obj, | ||
| int | flags, | ||
| uint8_t *** | psab_tab, | ||
| size_t * | psab_tab_len | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_ResolveModule | ( | JSContext * | ctx, |
| JSValueConst | obj | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| JSModuleDef * JS_RunModule | ( | JSContext * | ctx, |
| const char * | basename, | ||
| const char * | filename | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_NewCFunction2 | ( | JSContext * | ctx, |
| JSCFunction * | func, | ||
| const char * | name, | ||
| int | length, | ||
| JSCFunctionEnum | cproto, | ||
| int | magic | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSValue JS_NewCFunctionData | ( | JSContext * | ctx, |
| JSCFunctionData * | func, | ||
| int | length, | ||
| int | magic, | ||
| int | data_len, | ||
| JSValueConst * | data | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:| void JS_SetConstructor | ( | JSContext * | ctx, |
| JSValueConst | func_obj, | ||
| JSValueConst | proto | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void JS_SetPropertyFunctionList | ( | JSContext * | ctx, |
| JSValueConst | obj, | ||
| const JSCFunctionListEntry * | tab, | ||
| int | len | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| JSModuleDef * JS_NewCModule | ( | JSContext * | ctx, |
| const char * | name_str, | ||
| JSModuleInitFunc * | func | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_AddModuleExport | ( | JSContext * | ctx, |
| JSModuleDef * | m, | ||
| const char * | name_str | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_AddModuleExportList | ( | JSContext * | ctx, |
| JSModuleDef * | m, | ||
| const JSCFunctionListEntry * | tab, | ||
| int | len | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_SetModuleExport | ( | JSContext * | ctx, |
| JSModuleDef * | m, | ||
| const char * | export_name, | ||
| JSValue | val | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_SetModuleExportList | ( | JSContext * | ctx, |
| JSModuleDef * | m, | ||
| const JSCFunctionListEntry * | tab, | ||
| int | len | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| int JS_IsArrayBuffer | ( | JSContext * | ctx, |
| JSValueConst | val | ||
| ) |
| void * JS_GetOpaque_Nocheck | ( | JSValueConst | obj | ) |