libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
quickjs.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <inttypes.h>
#include <string.h>
#include <assert.h>
#include <sys/time.h>
#include <time.h>
#include <fenv.h>
#include <math.h>
#include "cutils.h"
#include "list.h"
#include "quickjs.h"
#include "libregexp.h"
#include "libunicode.h"
#include "dtoa.h"
#include <gpac/tools.h>
#include <pthread.h>
#include <stdatomic.h>
#include <errno.h>
#include "quickjs-atom.h"
#include "quickjs-opcode.h"
+ Include dependency graph for quickjs.c:

Data Structures

struct  JSMallocBlockHeader
 
struct  JSMallocLargeBlockHeader
 
struct  JSMallocArena
 
struct  JSMallocContext
 
struct  JSRuntime
 
struct  JSClass
 
struct  JSStackFrame
 
struct  JSGCObjectHeader
 
struct  JSWeakRefHeader
 
struct  JSVarRef
 
struct  JSBigInt
 
struct  JSBigIntBuf
 
struct  JSContext
 
union  JSFloat64Union
 
struct  JSAtomStruct
 
struct  JSStringRope
 
struct  JSClosureVar
 
struct  JSBytecodeVarDef
 
struct  JSFunctionBytecode
 
struct  JSBoundFunction
 
struct  JSForInIterator
 
struct  JSRegExp
 
struct  JSProxyData
 
struct  JSArrayBuffer
 
struct  JSTypedArray
 
struct  JSGlobalObject
 
struct  JSAsyncFunctionState
 
struct  JSBinaryOperatorDefEntry
 
struct  JSBinaryOperatorDef
 
struct  JSOperatorSetData
 
struct  JSReqModuleEntry
 
struct  JSExportEntry
 
struct  JSStarExportEntry
 
struct  JSImportEntry
 
struct  JSModuleDef
 
struct  JSJobEntry
 
struct  JSProperty
 
struct  JSShapeProperty
 
struct  JSShape
 
struct  JSObject
 
struct  JSMapRecord
 
struct  JSMapState
 
struct  JSClassShortDef
 
struct  StringBuffer
 
struct  JSStringRopeIter
 
struct  JSCFunctionDataRecord
 
struct  JSMemoryUsage_helper
 
struct  JSPrintValueState
 
struct  JSGeneratorData
 
struct  JSAsyncGeneratorRequest
 
struct  JSAsyncGeneratorData
 
struct  BlockEnv
 
struct  JSGlobalVar
 
struct  RelocEntry
 
struct  JumpSlot
 
struct  LabelSlot
 
struct  LineNumberSlot
 
struct  GetLineColCache
 
struct  JSVarScope
 
struct  JSVarDef
 
struct  JSFunctionDef
 
struct  JSToken
 
struct  JSParseState
 
struct  JSOpCode
 
struct  JSParsePos
 
struct  ClassFieldsDef
 
struct  JSResolveEntry
 
struct  JSResolveState
 
struct  ExportedNameEntry
 
struct  GetExportNamesState
 
struct  ExecModuleList
 
struct  CodeContext
 
struct  StackSizeState
 
struct  JSObjectListEntry
 
struct  JSObjectList
 
struct  BCWriterState
 
struct  BCReaderState
 
struct  ValueSlot
 
struct  array_sort_context
 
struct  JSArrayIteratorData
 
struct  JSIteratorWrapData
 
struct  JSIteratorConcatData
 
struct  JSIteratorHelperData
 
struct  SumPreciseState
 
struct  JSRegExpStringIteratorData
 
struct  ValueBuffer
 
struct  JSONParseRecordObject
 
struct  JSONParseRecord
 
struct  JSONParseRecordEntry
 
struct  JSONStringifyContext
 
struct  JSMapIteratorData
 
struct  JSPromiseData
 
struct  JSPromiseFunctionDataResolved
 
struct  JSPromiseFunctionData
 
struct  JSPromiseReactionData
 
struct  JSAsyncFromSyncIteratorData
 
struct  TA_sort_context
 
struct  JSAtomicsWaiter
 
struct  JSWeakRefData
 
struct  JSFinRecEntry
 
struct  JSFinalizationRegistryData
 
union  JSMallocBlockHeader.u
 
union  JSRuntime.u
 
union  JSVarRef.__unnamed354__
 
struct  JSVarRef.__unnamed354__.__unnamed356__
 
union  JSString.u
 
struct  JSFunctionBytecode.debug
 
union  JSExportEntry.u
 
struct  JSExportEntry.u.local
 
union  JSProperty.u
 
struct  JSProperty.u.getset
 
struct  JSProperty.u.init
 
union  JSObject.u
 
struct  JSObject.u.func
 
struct  JSObject.u.cfunc
 
struct  JSObject.u.array
 
union  JSObject.u.array.u1
 
union  JSObject.u.array.u
 
union  JSToken.u
 
struct  JSToken.u.str
 
struct  JSToken.u.num
 
struct  JSToken.u.ident
 
struct  JSToken.u.regexp
 
union  ExportedNameEntry.u
 
union  JSONParseRecord.u
 
struct  JSONParseRecord.u.array
 
struct  JSONParseRecord.u.primitive
 

Macros

#define OPTIMIZE   1
 
#define SHORT_OPCODES   1
 
#define DIRECT_DISPATCH   1
 
#define MALLOC_OVERHEAD   8
 
#define CONFIG_PRINTF_RNDN
 
#define CONFIG_ATOMICS
 
#define CONFIG_STACK_CHECK
 
#define DUMP_LEAKS   1
 
#define CONFIG_VERSION   "2025-09-13"
 
#define JS_TYPED_ARRAY_COUNT   (JS_CLASS_FLOAT64_ARRAY - JS_CLASS_UINT8C_ARRAY + 1)
 
#define typed_array_size_log2(classid)   (typed_array_size_log2[(classid)- JS_CLASS_UINT8C_ARRAY])
 
#define JS_MAX_LOCAL_VARS   65534
 
#define JS_STACK_SIZE_MAX   65534
 
#define JS_STRING_LEN_MAX   ((1 << 30) - 1)
 
#define JS_STRING_ROPE_SHORT_LEN   512
 
#define JS_STRING_ROPE_SHORT2_LEN   8192
 
#define JS_STRING_ROPE_MAX_DEPTH   60
 
#define __exception   __attribute__((warn_unused_result))
 
#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_GET_STRING_ROPE(v)   ((JSStringRope *)JS_VALUE_GET_PTR(v))
 
#define JS_MALLOC_ALIGN   8
 
#define JS_MALLOC_ARENA_SIZE   4096
 
#define JS_MALLOC_BLOCK_SIZE_COUNT   31
 
#define JS_MALLOC_MIN_SMALL_SIZE   16
 
#define JS_MALLOC_MAX_SMALL_SIZE   512
 
#define JS_MALLOC_LARGE_BLOCKS_ONLY   0
 
#define FREE_NIL   0xffff
 
#define JS_MODE_STRICT   (1 << 0)
 
#define JS_MODE_ASYNC   (1 << 2) /* async function */
 
#define JS_MODE_BACKTRACE_BARRIER   (1 << 3) /* stop backtrace before this frame */
 
#define JS_LIMB_DIGITS   19
 
#define JS_INTERRUPT_COUNTER_INIT   10000
 
#define JS_ATOM_HASH_MASK   ((1 << 30) - 1)
 
#define JS_ATOM_HASH_PRIVATE   JS_ATOM_HASH_MASK
 
#define ARG_SCOPE_INDEX   1
 
#define ARG_SCOPE_END   (-2)
 
#define PC2LINE_BASE   (-1)
 
#define PC2LINE_RANGE   5
 
#define PC2LINE_OP_FIRST   1
 
#define PC2LINE_DIFF_PC_MAX   ((255 - PC2LINE_OP_FIRST) / PC2LINE_RANGE)
 
#define JS_PROP_INITIAL_SIZE   2
 
#define JS_PROP_INITIAL_HASH_SIZE   4 /* must be a power of two */
 
#define DEF(name, str)   JS_ATOM_ ## name,
 
#define JS_ATOM_LAST_KEYWORD   JS_ATOM_super
 
#define JS_ATOM_LAST_STRICT_KEYWORD   JS_ATOM_yield
 
#define DEF(name, str)   str "\0"
 
#define FMT(f)   OP_FMT_ ## f,
 
#define DEF(id, size, n_pop, n_push, f)
 
#define FMT(f)
 
#define DEF(id, size, n_pop, n_push, f)   OP_ ## id,
 
#define def(id, size, n_pop, n_push, f)
 
#define FMT(f)
 
#define DEF(id, size, n_pop, n_push, f)
 
#define def(id, size, n_pop, n_push, f)   OP_ ## id,
 
#define HINT_STRING   0
 
#define HINT_NUMBER   1
 
#define HINT_NONE   2
 
#define HINT_FORCE_ORDINARY   (1 << 4)
 
#define malloc(s)   malloc_is_forbidden(s)
 
#define free(p)   free_is_forbidden(p)
 
#define realloc(p, s)   realloc_is_forbidden(p,s)
 
#define JS_ATOM_TAG_INT   (1U << 31)
 
#define JS_ATOM_MAX_INT   (JS_ATOM_TAG_INT - 1)
 
#define JS_ATOM_MAX   ((1U << 30) - 1)
 
#define JS_ATOM_COUNT_RESIZE(n)   ((n) * 2)
 
#define ATOM_GET_STR_BUF_SIZE   64
 
#define ROPE_N_BUCKETS   44
 
#define JS_BACKTRACE_FLAG_SKIP_FIRST_LEVEL   (1 << 0)
 
#define JS_ThrowTypeErrorAtom(ctx, fmt, atom)   __JS_ThrowTypeErrorAtom(ctx, atom, fmt, "")
 
#define JS_ThrowSyntaxErrorAtom(ctx, fmt, atom)   __JS_ThrowSyntaxErrorAtom(ctx, atom, fmt, "")
 
#define DEFINE_GLOBAL_LEX_VAR   (1 << 7)
 
#define DEFINE_GLOBAL_FUNC_VAR   (1 << 6)
 
#define JS_BIGINT_MAX_SIZE   ((1024 * 1024) / JS_LIMB_BITS) /* in limbs */
 
#define ADDC(res, carry_out, op1, op2, carry_in)
 
#define UDIV1NORM_THRESHOLD   3
 
#define JS_RADIX_MAX   36
 
#define ATOD_INT_ONLY   (1 << 0)
 
#define ATOD_ACCEPT_BIN_OCT   (1 << 2)
 
#define ATOD_ACCEPT_LEGACY_OCTAL   (1 << 4)
 
#define ATOD_ACCEPT_UNDERSCORES   (1 << 5)
 
#define ATOD_ACCEPT_SUFFIX   (1 << 6)
 
#define ATOD_TYPE_MASK   (3 << 7)
 
#define ATOD_TYPE_FLOAT64   (0 << 7)
 
#define ATOD_TYPE_BIG_INT   (1 << 7)
 
#define ATOD_ACCEPT_PREFIX_AFTER_SIGN   (1 << 10)
 
#define MAX_SAFE_INTEGER   (((int64_t)1 << 53) - 1)
 
#define JS_PRINT_MAX_DEPTH   8
 
#define GLOBAL_VAR_OFFSET   0x40000000
 
#define ARGUMENT_VAR_OFFSET   0x20000000
 
#define JS_DEFINE_CLASS_HAS_HERITAGE   (1 << 0)
 
#define JS_CALL_FLAG_COPY_ARGV   (1 << 1)
 
#define JS_CALL_FLAG_GENERATOR   (1 << 2)
 
#define FUNC_RET_AWAIT   0
 
#define FUNC_RET_YIELD   1
 
#define FUNC_RET_YIELD_STAR   2
 
#define FUNC_RET_INITIAL_YIELD   3
 
#define SWITCH(pc)   switch (opcode = *pc++)
 
#define CASE(op)   case op
 
#define DEFAULT   default
 
#define BREAK   break
 
#define JS_THROW_VAR_RO   0
 
#define JS_THROW_VAR_REDECL   1
 
#define JS_THROW_VAR_UNINITIALIZED   2
 
#define JS_THROW_ERROR_DELETE_SUPER   3
 
#define JS_THROW_ERROR_ITERATOR_THROW   4
 
#define GET_FIELD_INLINE(name, keep, is_length)
 
#define OP_DEFINE_METHOD_METHOD   0
 
#define OP_DEFINE_METHOD_GETTER   1
 
#define OP_DEFINE_METHOD_SETTER   2
 
#define OP_DEFINE_METHOD_ENUMERABLE   4
 
#define GET_ARRAY_EL_INLINE(name, keep)
 
#define OP_CMP(opcode, binary_op, slow_call)
 
#define OP_CMP_EQ(opcode, inv)
 
#define OP_CMP_STRICT_EQ(opcode, inv)
 
#define GEN_MAGIC_NEXT   0
 
#define GEN_MAGIC_RETURN   1
 
#define GEN_MAGIC_THROW   2
 
#define TOK_FIRST_KEYWORD   TOK_NULL
 
#define TOK_LAST_KEYWORD   TOK_AWAIT
 
#define CP_NBSP   0x00a0
 
#define CP_BOM   0xfeff
 
#define CP_LS   0x2028
 
#define CP_PS   0x2029
 
#define FMT(f)
 
#define DEF(id, size, n_pop, n_push, f)   { size, n_pop, n_push, OP_FMT_ ## f },
 
#define short_opcode_info(op)   opcode_info[op]
 
#define PROP_TYPE_IDENT   0
 
#define PROP_TYPE_VAR   1
 
#define PROP_TYPE_GET   2
 
#define PROP_TYPE_SET   3
 
#define PROP_TYPE_STAR   4
 
#define PROP_TYPE_ASYNC   5
 
#define PROP_TYPE_ASYNC_STAR   6
 
#define PROP_TYPE_PRIVATE   (1 << 4)
 
#define SKIP_HAS_SEMI   (1 << 0)
 
#define SKIP_HAS_ELLIPSIS   (1 << 1)
 
#define SKIP_HAS_ASSIGNMENT   (1 << 2)
 
#define PF_IN_ACCEPTED   (1 << 0)
 
#define PF_POSTFIX_CALL   (1 << 1)
 
#define PF_POW_ALLOWED   (1 << 2)
 
#define PF_POW_FORBIDDEN   (1 << 3)
 
#define DECL_MASK_FUNC   (1 << 0) /* allow normal function declaration */
 
#define DECL_MASK_FUNC_WITH_LABEL   (1 << 1)
 
#define DECL_MASK_OTHER   (1 << 2) /* all other declarations */
 
#define DECL_MASK_ALL   (DECL_MASK_FUNC | DECL_MASK_FUNC_WITH_LABEL | DECL_MASK_OTHER)
 
#define M2(op1, op2)   ((op1) | (((uint32_t) op2) << 8))
 
#define M3(op1, op2, op3)   ((op1) | (((uint32_t) op2) << 8) | (((uint32_t) op3) << 16))
 
#define M4(op1, op2, op3, op4)   ((op1) | (((uint32_t) op2) << 8) | (((uint32_t) op3) << 16) | (((uint32_t) op4) << 24))
 
#define BC_VERSION   5
 
#define bc_read_trace(...)
 
#define JS_NEW_CTOR_NO_GLOBAL   (1 << 0) /* don't create a global binding */
 
#define JS_NEW_CTOR_PROTO_CLASS   (1 << 1) /* the prototype class is 'class_id' instead of JS_CLASS_OBJECT */
 
#define JS_NEW_CTOR_PROTO_EXIST   (1 << 2) /* the prototype is already defined */
 
#define JS_NEW_CTOR_READONLY   (1 << 3) /* read-only constructor field */
 
#define DEF(name)
 
#define special_every   0
 
#define special_some   1
 
#define special_forEach   2
 
#define special_map   3
 
#define special_filter   4
 
#define special_TA   8
 
#define special_reduce   0
 
#define special_reduceRight   1
 
#define SP_LIMB_BITS   56
 
#define SP_RND_BITS   (SP_LIMB_BITS - 53)
 
#define SUM_PRECISE_ACC_LEN   39
 
#define SUM_PRECISE_COUNTER_INIT   250
 
#define RE_FLAG_COUNT   8
 
#define MAGIC_SET   (1 << 0)
 
#define MAGIC_WEAK   (1 << 1)
 
#define HASH_MUL32   0x61C88647
 
#define HASH_MUL64   UINT64_C(0x61C8864680B583EB)
 
#define PROMISE_MAGIC_all   0
 
#define PROMISE_MAGIC_allSettled   1
 
#define PROMISE_MAGIC_any   2
 
#define special_indexOf   0
 
#define special_lastIndexOf   1
 
#define special_includes   -1
 
#define K_WS   64
 
#define K_ER   65
 
#define OP(op_name, func_name)
 

Typedefs

typedef enum OPCodeEnum OPCodeEnum
 
typedef __int128 int128_t
 
typedef unsigned __int128 uint128_t
 
typedef int64_t js_slimb_t
 
typedef uint64_t js_limb_t
 
typedef int128_t js_sdlimb_t
 
typedef uint128_t js_dlimb_t
 
typedef JSValue JSAutoInitFunc(JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)
 

Enumerations

enum  {
  JS_CLASS_OBJECT = 1 , JS_CLASS_ARRAY , JS_CLASS_ERROR , JS_CLASS_NUMBER ,
  JS_CLASS_STRING , JS_CLASS_BOOLEAN , JS_CLASS_SYMBOL , JS_CLASS_ARGUMENTS ,
  JS_CLASS_MAPPED_ARGUMENTS , JS_CLASS_DATE , JS_CLASS_MODULE_NS , JS_CLASS_C_FUNCTION ,
  JS_CLASS_BYTECODE_FUNCTION , JS_CLASS_BOUND_FUNCTION , JS_CLASS_C_FUNCTION_DATA , JS_CLASS_GENERATOR_FUNCTION ,
  JS_CLASS_FOR_IN_ITERATOR , JS_CLASS_REGEXP , JS_CLASS_ARRAY_BUFFER , JS_CLASS_SHARED_ARRAY_BUFFER ,
  JS_CLASS_UINT8C_ARRAY , JS_CLASS_INT8_ARRAY , JS_CLASS_UINT8_ARRAY , JS_CLASS_INT16_ARRAY ,
  JS_CLASS_UINT16_ARRAY , JS_CLASS_INT32_ARRAY , JS_CLASS_UINT32_ARRAY , JS_CLASS_BIG_INT64_ARRAY ,
  JS_CLASS_BIG_UINT64_ARRAY , JS_CLASS_FLOAT16_ARRAY , JS_CLASS_FLOAT32_ARRAY , JS_CLASS_FLOAT64_ARRAY ,
  JS_CLASS_DATAVIEW , JS_CLASS_BIG_INT , JS_CLASS_MAP , JS_CLASS_SET ,
  JS_CLASS_WEAKMAP , JS_CLASS_WEAKSET , JS_CLASS_ITERATOR , JS_CLASS_ITERATOR_CONCAT ,
  JS_CLASS_ITERATOR_HELPER , JS_CLASS_ITERATOR_WRAP , JS_CLASS_MAP_ITERATOR , JS_CLASS_SET_ITERATOR ,
  JS_CLASS_ARRAY_ITERATOR , JS_CLASS_STRING_ITERATOR , JS_CLASS_REGEXP_STRING_ITERATOR , JS_CLASS_GENERATOR ,
  JS_CLASS_GLOBAL_OBJECT , JS_CLASS_RAWJSON , JS_CLASS_PROXY , JS_CLASS_PROMISE ,
  JS_CLASS_PROMISE_RESOLVE_FUNCTION , JS_CLASS_PROMISE_REJECT_FUNCTION , JS_CLASS_ASYNC_FUNCTION , JS_CLASS_ASYNC_FUNCTION_RESOLVE ,
  JS_CLASS_ASYNC_FUNCTION_REJECT , JS_CLASS_ASYNC_FROM_SYNC_ITERATOR , JS_CLASS_ASYNC_GENERATOR_FUNCTION , JS_CLASS_ASYNC_GENERATOR ,
  JS_CLASS_WEAK_REF , JS_CLASS_FINALIZATION_REGISTRY , JS_CLASS_INIT_COUNT
}
 
enum  JSErrorEnum {
  JS_EVAL_ERROR , JS_RANGE_ERROR , JS_REFERENCE_ERROR , JS_SYNTAX_ERROR ,
  JS_TYPE_ERROR , JS_URI_ERROR , JS_INTERNAL_ERROR , JS_AGGREGATE_ERROR ,
  JS_NATIVE_ERROR_COUNT
}
 
enum  JSGCPhaseEnum { JS_GC_PHASE_NONE , JS_GC_PHASE_DECREF , JS_GC_PHASE_REMOVE_CYCLES }
 
enum  JSGCObjectTypeEnum {
  JS_GC_OBJ_TYPE_JS_OBJECT , JS_GC_OBJ_TYPE_FUNCTION_BYTECODE , JS_GC_OBJ_TYPE_SHAPE , JS_GC_OBJ_TYPE_VAR_REF ,
  JS_GC_OBJ_TYPE_ASYNC_FUNCTION , JS_GC_OBJ_TYPE_JS_CONTEXT , JS_GC_OBJ_TYPE_MODULE
}
 
enum  JSWeakRefHeaderTypeEnum { JS_WEAKREF_TYPE_MAP , JS_WEAKREF_TYPE_WEAKREF , JS_WEAKREF_TYPE_FINREC }
 
enum  JSAutoInitIDEnum { JS_AUTOINIT_ID_PROTOTYPE , JS_AUTOINIT_ID_MODULE_NS , JS_AUTOINIT_ID_PROP }
 
enum  { JS_ATOM_TYPE_STRING = 1 , JS_ATOM_TYPE_GLOBAL_SYMBOL , JS_ATOM_TYPE_SYMBOL , JS_ATOM_TYPE_PRIVATE }
 
enum  JSAtomKindEnum { JS_ATOM_KIND_STRING , JS_ATOM_KIND_SYMBOL , JS_ATOM_KIND_PRIVATE }
 
enum  JSClosureTypeEnum {
  JS_CLOSURE_LOCAL , JS_CLOSURE_ARG , JS_CLOSURE_REF , JS_CLOSURE_GLOBAL_REF ,
  JS_CLOSURE_GLOBAL_DECL , JS_CLOSURE_GLOBAL , JS_CLOSURE_MODULE_DECL , JS_CLOSURE_MODULE_IMPORT
}
 
enum  JSVarKindEnum {
  JS_VAR_NORMAL , JS_VAR_FUNCTION_DECL , JS_VAR_NEW_FUNCTION_DECL , JS_VAR_CATCH ,
  JS_VAR_FUNCTION_NAME , JS_VAR_PRIVATE_FIELD , JS_VAR_PRIVATE_METHOD , JS_VAR_PRIVATE_GETTER ,
  JS_VAR_PRIVATE_SETTER , JS_VAR_PRIVATE_GETTER_SETTER , JS_VAR_GLOBAL_FUNCTION_DECL
}
 
enum  JSFunctionKindEnum { JS_FUNC_NORMAL = 0 , JS_FUNC_GENERATOR = (1 << 0) , JS_FUNC_ASYNC = (1 << 1) , JS_FUNC_ASYNC_GENERATOR = (JS_FUNC_GENERATOR | JS_FUNC_ASYNC) }
 
enum  JSIteratorKindEnum { JS_ITERATOR_KIND_KEY , JS_ITERATOR_KIND_VALUE , JS_ITERATOR_KIND_KEY_AND_VALUE }
 
enum  JSOverloadableOperatorEnum {
  JS_OVOP_ADD , JS_OVOP_SUB , JS_OVOP_MUL , JS_OVOP_DIV ,
  JS_OVOP_MOD , JS_OVOP_POW , JS_OVOP_OR , JS_OVOP_AND ,
  JS_OVOP_XOR , JS_OVOP_SHL , JS_OVOP_SAR , JS_OVOP_SHR ,
  JS_OVOP_EQ , JS_OVOP_LESS , JS_OVOP_BINARY_COUNT , JS_OVOP_POS = JS_OVOP_BINARY_COUNT ,
  JS_OVOP_NEG , JS_OVOP_INC , JS_OVOP_DEC , JS_OVOP_NOT ,
  JS_OVOP_COUNT
}
 
enum  JSExportTypeEnum { JS_EXPORT_TYPE_LOCAL , JS_EXPORT_TYPE_INDIRECT }
 
enum  JSModuleStatus {
  JS_MODULE_STATUS_UNLINKED , JS_MODULE_STATUS_LINKING , JS_MODULE_STATUS_LINKED , JS_MODULE_STATUS_EVALUATING ,
  JS_MODULE_STATUS_EVALUATING_ASYNC , JS_MODULE_STATUS_EVALUATED
}
 
enum  { __JS_ATOM_NULL = JS_ATOM_NULL , JS_ATOM_END }
 
enum  OPCodeFormat
 
enum  OPCodeEnum { OP_COUNT , OP_TEMP_START = OP_nop + 1 , OP___dummy = OP_TEMP_START - 1 , OP_TEMP_END }
 
enum  JSFreeModuleEnum { JS_FREE_MODULE_ALL , JS_FREE_MODULE_NOT_RESOLVED }
 
enum  JSToNumberHintEnum { TON_FLAG_NUMBER , TON_FLAG_NUMERIC }
 
enum  OPSpecialObjectEnum {
  OP_SPECIAL_OBJECT_ARGUMENTS , OP_SPECIAL_OBJECT_MAPPED_ARGUMENTS , OP_SPECIAL_OBJECT_THIS_FUNC , OP_SPECIAL_OBJECT_NEW_TARGET ,
  OP_SPECIAL_OBJECT_HOME_OBJECT , OP_SPECIAL_OBJECT_VAR_OBJECT , OP_SPECIAL_OBJECT_IMPORT_META
}
 
enum  JSGeneratorStateEnum {
  JS_GENERATOR_STATE_SUSPENDED_START , JS_GENERATOR_STATE_SUSPENDED_YIELD , JS_GENERATOR_STATE_SUSPENDED_YIELD_STAR , JS_GENERATOR_STATE_EXECUTING ,
  JS_GENERATOR_STATE_COMPLETED
}
 
enum  JSAsyncGeneratorStateEnum {
  JS_ASYNC_GENERATOR_STATE_SUSPENDED_START , JS_ASYNC_GENERATOR_STATE_SUSPENDED_YIELD , JS_ASYNC_GENERATOR_STATE_SUSPENDED_YIELD_STAR , JS_ASYNC_GENERATOR_STATE_EXECUTING ,
  JS_ASYNC_GENERATOR_STATE_AWAITING_RETURN , JS_ASYNC_GENERATOR_STATE_COMPLETED
}
 
enum  {
  TOK_NUMBER = -128 , TOK_STRING , TOK_TEMPLATE , TOK_IDENT ,
  TOK_REGEXP , TOK_MUL_ASSIGN , TOK_DIV_ASSIGN , TOK_MOD_ASSIGN ,
  TOK_PLUS_ASSIGN , TOK_MINUS_ASSIGN , TOK_SHL_ASSIGN , TOK_SAR_ASSIGN ,
  TOK_SHR_ASSIGN , TOK_AND_ASSIGN , TOK_XOR_ASSIGN , TOK_OR_ASSIGN ,
  TOK_POW_ASSIGN , TOK_LAND_ASSIGN , TOK_LOR_ASSIGN , TOK_DOUBLE_QUESTION_MARK_ASSIGN ,
  TOK_DEC , TOK_INC , TOK_SHL , TOK_SAR ,
  TOK_SHR , TOK_LT , TOK_LTE , TOK_GT ,
  TOK_GTE , TOK_EQ , TOK_STRICT_EQ , TOK_NEQ ,
  TOK_STRICT_NEQ , TOK_LAND , TOK_LOR , TOK_POW ,
  TOK_ARROW , TOK_ELLIPSIS , TOK_DOUBLE_QUESTION_MARK , TOK_QUESTION_MARK_DOT ,
  TOK_ERROR , TOK_PRIVATE_NAME , TOK_EOF , TOK_NULL ,
  TOK_FALSE , TOK_TRUE , TOK_IF , TOK_ELSE ,
  TOK_RETURN , TOK_VAR , TOK_THIS , TOK_DELETE ,
  TOK_VOID , TOK_TYPEOF , TOK_NEW , TOK_IN ,
  TOK_INSTANCEOF , TOK_DO , TOK_WHILE , TOK_FOR ,
  TOK_BREAK , TOK_CONTINUE , TOK_SWITCH , TOK_CASE ,
  TOK_DEFAULT , TOK_THROW , TOK_TRY , TOK_CATCH ,
  TOK_FINALLY , TOK_FUNCTION , TOK_DEBUGGER , TOK_WITH ,
  TOK_CLASS , TOK_CONST , TOK_ENUM , TOK_EXPORT ,
  TOK_EXTENDS , TOK_IMPORT , TOK_SUPER , TOK_IMPLEMENTS ,
  TOK_INTERFACE , TOK_LET , TOK_PACKAGE , TOK_PRIVATE ,
  TOK_PROTECTED , TOK_PUBLIC , TOK_STATIC , TOK_YIELD ,
  TOK_AWAIT , TOK_OF
}
 
enum  JSParseFunctionEnum {
  JS_PARSE_FUNC_STATEMENT , JS_PARSE_FUNC_VAR , JS_PARSE_FUNC_EXPR , JS_PARSE_FUNC_ARROW ,
  JS_PARSE_FUNC_GETTER , JS_PARSE_FUNC_SETTER , JS_PARSE_FUNC_METHOD , JS_PARSE_FUNC_CLASS_STATIC_INIT ,
  JS_PARSE_FUNC_CLASS_CONSTRUCTOR , JS_PARSE_FUNC_DERIVED_CLASS_CONSTRUCTOR
}
 
enum  JSParseExportEnum { JS_PARSE_EXPORT_NONE , JS_PARSE_EXPORT_NAMED , JS_PARSE_EXPORT_DEFAULT }
 
enum  JSVarDefEnum {
  JS_VAR_DEF_WITH , JS_VAR_DEF_LET , JS_VAR_DEF_CONST , JS_VAR_DEF_FUNCTION_DECL ,
  JS_VAR_DEF_NEW_FUNCTION_DECL , JS_VAR_DEF_CATCH , JS_VAR_DEF_VAR
}
 
enum  PutLValueEnum {
  PUT_LVALUE_NOKEEP , PUT_LVALUE_NOKEEP_DEPTH , PUT_LVALUE_KEEP_TOP , PUT_LVALUE_KEEP_SECOND ,
  PUT_LVALUE_NOKEEP_BOTTOM
}
 
enum  FuncCallType { FUNC_CALL_NORMAL , FUNC_CALL_NEW , FUNC_CALL_SUPER_CTOR , FUNC_CALL_TEMPLATE }
 
enum  JSResolveResultEnum {
  JS_RESOLVE_RES_EXCEPTION = -1 , JS_RESOLVE_RES_FOUND = 0 , JS_RESOLVE_RES_NOT_FOUND , JS_RESOLVE_RES_CIRCULAR ,
  JS_RESOLVE_RES_AMBIGUOUS
}
 
enum  ExportedNameEntryEnum { EXPORTED_NAME_AMBIGUOUS , EXPORTED_NAME_NORMAL , EXPORTED_NAME_DELAYED }
 
enum  BCTagEnum {
  BC_TAG_NULL = 1 , BC_TAG_UNDEFINED , BC_TAG_BOOL_FALSE , BC_TAG_BOOL_TRUE ,
  BC_TAG_INT32 , BC_TAG_FLOAT64 , BC_TAG_STRING , BC_TAG_OBJECT ,
  BC_TAG_ARRAY , BC_TAG_BIG_INT , BC_TAG_TEMPLATE_OBJECT , BC_TAG_FUNCTION_BYTECODE ,
  BC_TAG_MODULE , BC_TAG_TYPED_ARRAY , BC_TAG_ARRAY_BUFFER , BC_TAG_SHARED_ARRAY_BUFFER ,
  BC_TAG_DATE , BC_TAG_OBJECT_VALUE , BC_TAG_OBJECT_REFERENCE
}
 
enum  { ArrayFind , ArrayFindIndex , ArrayFindLast , ArrayFindLastIndex }
 
enum  JSIteratorHelperKindEnum {
  JS_ITERATOR_HELPER_KIND_DROP , JS_ITERATOR_HELPER_KIND_EVERY , JS_ITERATOR_HELPER_KIND_FILTER , JS_ITERATOR_HELPER_KIND_FIND ,
  JS_ITERATOR_HELPER_KIND_FLAT_MAP , JS_ITERATOR_HELPER_KIND_FOR_EACH , JS_ITERATOR_HELPER_KIND_MAP , JS_ITERATOR_HELPER_KIND_SOME ,
  JS_ITERATOR_HELPER_KIND_TAKE
}
 
enum  {
  magic_string_anchor , magic_string_big , magic_string_blink , magic_string_bold ,
  magic_string_fixed , magic_string_fontcolor , magic_string_fontsize , magic_string_italics ,
  magic_string_link , magic_string_small , magic_string_strike , magic_string_sub ,
  magic_string_sup
}
 
enum  SumPreciseStateEnum { SUM_PRECISE_STATE_FINITE , SUM_PRECISE_STATE_INFINITY , SUM_PRECISE_STATE_MINUS_INFINITY , SUM_PRECISE_STATE_NAN }
 
enum  { B64_ALPHABET_BASE64 = 0 , B64_ALPHABET_BASE64URL = 1 }
 
enum  { B64_LAST_LOOSE = 0 , B64_LAST_STRICT = 1 , B64_LAST_STOP_BEFORE_PARTIAL = 2 }
 
enum  AtomicsOpEnum {
  ATOMICS_OP_ADD , ATOMICS_OP_AND , ATOMICS_OP_OR , ATOMICS_OP_SUB ,
  ATOMICS_OP_XOR , ATOMICS_OP_EXCHANGE , ATOMICS_OP_COMPARE_EXCHANGE , ATOMICS_OP_LOAD
}
 

Functions

static int JS_InitAtoms (JSRuntime *rt)
 
static JSAtom __JS_NewAtomInit (JSRuntime *rt, const char *str, int len, int atom_type)
 
static void JS_FreeAtomStruct (JSRuntime *rt, JSAtomStruct *p)
 
static void free_function_bytecode (JSRuntime *rt, JSFunctionBytecode *b)
 
static JSValue js_call_c_function (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv, int flags)
 
static JSValue js_call_bound_function (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv, int flags)
 
static JSValue JS_CallInternal (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, JSValueConst new_target, int argc, JSValue *argv, int flags)
 
static JSValue JS_CallConstructorInternal (JSContext *ctx, JSValueConst func_obj, JSValueConst new_target, int argc, JSValue *argv, int flags)
 
static JSValue JS_CallFree (JSContext *ctx, JSValue func_obj, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static JSValue JS_InvokeFree (JSContext *ctx, JSValue this_val, JSAtom atom, int argc, JSValueConst *argv)
 
static __exception int JS_ToArrayLengthFree (JSContext *ctx, uint32_t *plen, JSValue val, BOOL is_array_ctor)
 
static JSValue JS_EvalObject (JSContext *ctx, JSValueConst this_obj, JSValueConst val, int flags, int scope_idx)
 
JSValue __attribute__ ((format(printf, 2, 3)))
 
static BOOL js_strict_eq2 (JSContext *ctx, JSValueConst op1, JSValueConst op2, JSStrictEqModeEnum eq_mode)
 
static BOOL js_strict_eq (JSContext *ctx, JSValueConst op1, JSValueConst op2)
 
static BOOL js_same_value (JSContext *ctx, JSValueConst op1, JSValueConst op2)
 
static BOOL js_same_value_zero (JSContext *ctx, JSValueConst op1, JSValueConst op2)
 
static JSValue JS_ToObject (JSContext *ctx, JSValueConst val)
 
static JSValue JS_ToObjectFree (JSContext *ctx, JSValue val)
 
static JSProperty * add_property (JSContext *ctx, JSObject *p, JSAtom prop, int prop_flags)
 
static void free_property (JSRuntime *rt, JSProperty *pr, int prop_flags)
 
static int JS_ToBigInt64Free (JSContext *ctx, int64_t *pres, JSValue val)
 
JSValue JS_ThrowOutOfMemory (JSContext *ctx)
 
static JSValue JS_ThrowTypeErrorRevokedProxy (JSContext *ctx)
 
static int js_resolve_proxy (JSContext *ctx, JSValueConst *pval, int throw_exception)
 
static int JS_CreateProperty (JSContext *ctx, JSObject *p, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
 
static int js_string_memcmp (const JSString *p1, int pos1, const JSString *p2, int pos2, int len)
 
static JSValue js_array_buffer_constructor3 (JSContext *ctx, JSValueConst new_target, uint64_t len, uint64_t *max_len, JSClassID class_id, uint8_t *buf, JSFreeArrayBufferDataFunc *free_func, void *opaque, BOOL alloc_flag)
 
static void js_array_buffer_free (JSRuntime *rt, void *opaque, void *ptr)
 
static JSArrayBuffer * js_get_array_buffer (JSContext *ctx, JSValueConst obj)
 
static BOOL array_buffer_is_resizable (const JSArrayBuffer *abuf)
 
static JSValue js_typed_array_constructor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int classid)
 
static JSValue js_typed_array_constructor_ta (JSContext *ctx, JSValueConst new_target, JSValueConst src_obj, int classid, uint32_t len)
 
static BOOL typed_array_is_oob (JSObject *p)
 
static int js_typed_array_get_length_unsafe (JSContext *ctx, JSValueConst obj)
 
static JSValue JS_ThrowTypeErrorDetachedArrayBuffer (JSContext *ctx)
 
static JSValue JS_ThrowTypeErrorArrayBufferOOB (JSContext *ctx)
 
static JSVarRef * js_create_var_ref (JSContext *ctx, BOOL is_lexical)
 
static JSVarRef * get_var_ref (JSContext *ctx, JSStackFrame *sf, int var_idx, BOOL is_arg)
 
static void __async_func_free (JSRuntime *rt, JSAsyncFunctionState *s)
 
static void async_func_free (JSRuntime *rt, JSAsyncFunctionState *s)
 
static JSValue js_generator_function_call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv, int flags)
 
static void js_async_function_resolve_finalizer (JSRuntime *rt, JSValue val)
 
static void js_async_function_resolve_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue JS_EvalInternal (JSContext *ctx, JSValueConst this_obj, const char *input, size_t input_len, const char *filename, int flags, int scope_idx)
 
static void js_free_module_def (JSRuntime *rt, JSModuleDef *m)
 
static void js_mark_module_def (JSRuntime *rt, JSModuleDef *m, JS_MarkFunc *mark_func)
 
static JSValue js_import_meta (JSContext *ctx)
 
static JSValue js_dynamic_import (JSContext *ctx, JSValueConst specifier, JSValueConst options)
 
static void free_var_ref (JSRuntime *rt, JSVarRef *var_ref)
 
static JSValue js_new_promise_capability (JSContext *ctx, JSValue *resolving_funcs, JSValueConst ctor)
 
static __exception int perform_promise_then (JSContext *ctx, JSValueConst promise, JSValueConst *resolve_reject, JSValueConst *cap_resolving_funcs)
 
static JSValue js_promise_resolve (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_promise_then (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static BOOL js_string_eq (JSContext *ctx, const JSString *p1, const JSString *p2)
 
static int js_string_compare (JSContext *ctx, const JSString *p1, const JSString *p2)
 
static JSValue JS_ToNumber (JSContext *ctx, JSValueConst val)
 
static int JS_SetPropertyValue (JSContext *ctx, JSValueConst this_obj, JSValue prop, JSValue val, int flags)
 
static int JS_NumberIsInteger (JSContext *ctx, JSValueConst val)
 
static BOOL JS_NumberIsNegativeOrMinusZero (JSContext *ctx, JSValueConst val)
 
static JSValue JS_ToNumberFree (JSContext *ctx, JSValue val)
 
static int JS_GetOwnPropertyInternal (JSContext *ctx, JSPropertyDescriptor *desc, JSObject *p, JSAtom prop)
 
static void js_free_desc (JSContext *ctx, JSPropertyDescriptor *desc)
 
static int JS_AddIntrinsicBasicObjects (JSContext *ctx)
 
static void js_free_shape (JSRuntime *rt, JSShape *sh)
 
static void js_free_shape_null (JSRuntime *rt, JSShape *sh)
 
static int js_shape_prepare_update (JSContext *ctx, JSObject *p, JSShapeProperty **pprs)
 
static int init_shape_hash (JSRuntime *rt)
 
static __exception int js_get_length32 (JSContext *ctx, uint32_t *pres, JSValueConst obj)
 
static __exception int js_get_length64 (JSContext *ctx, int64_t *pres, JSValueConst obj)
 
static void free_arg_list (JSContext *ctx, JSValue *tab, uint32_t len)
 
static JSValue * build_arg_list (JSContext *ctx, uint32_t *plen, JSValueConst array_arg)
 
static BOOL js_get_fast_array (JSContext *ctx, JSValueConst obj, JSValue **arrpp, uint32_t *countp)
 
static JSValue JS_CreateAsyncFromSyncIterator (JSContext *ctx, JSValueConst sync_iter)
 
static void js_c_function_data_finalizer (JSRuntime *rt, JSValue val)
 
static void js_c_function_data_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_c_function_data_call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_val, int argc, JSValueConst *argv, int flags)
 
static JSAtom js_symbol_to_atom (JSContext *ctx, JSValue val)
 
static void add_gc_object (JSRuntime *rt, JSGCObjectHeader *h, JSGCObjectTypeEnum type)
 
static void remove_gc_object (JSGCObjectHeader *h)
 
static JSValue js_instantiate_prototype (JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)
 
static JSValue js_module_ns_autoinit (JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)
 
static JSValue JS_InstantiateFunctionListItem2 (JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)
 
static JSValue js_object_groupBy (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int is_map)
 
static void map_delete_weakrefs (JSRuntime *rt, JSWeakRefHeader *wh)
 
static void weakref_delete_weakref (JSRuntime *rt, JSWeakRefHeader *wh)
 
static void finrec_delete_weakref (JSRuntime *rt, JSWeakRefHeader *wh)
 
static void JS_RunGCInternal (JSRuntime *rt, BOOL remove_weak_objects)
 
static JSValue js_array_from_iterator (JSContext *ctx, uint32_t *plen, JSValueConst obj, JSValueConst method)
 
static int js_string_find_invalid_codepoint (JSString *p)
 
static JSValue js_regexp_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue get_date_string (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_error_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSVarRef * js_global_object_find_uninitialized_var (JSContext *ctx, JSObject *p, JSAtom atom, BOOL is_lexical)
 
static int typed_array_init (JSContext *ctx, JSValueConst obj, JSValue buffer, uint64_t offset, uint64_t len, BOOL track_rab)
 
static int get_block_size_index (size_t size)
 
static JSMallocBlockHeader * get_zero_size_block (JSMallocContext *s)
 
static void js_malloc_init (JSMallocContext *s)
 
static void * get_arena_block (JSMallocArena *ar, unsigned int idx, unsigned int block_size)
 
static JSMallocBlockHeader * js_rc (void *ptr)
 
static no_inline JSMallocArena * js_malloc_new_arena (JSMallocContext *s, int block_size_idx)
 
static no_inline void * js_malloc_large (JSMallocContext *s, size_t size)
 
static void * __js_malloc (JSMallocContext *s, size_t size)
 
static void __js_free (JSMallocContext *s, void *ptr)
 
static void * __js_realloc (JSMallocContext *s, void *ptr, size_t size)
 
static size_t __js_malloc_usable_size (JSMallocContext *s, const char *ptr)
 
static __maybe_unused void js_malloc_dump_arenas (JSMallocContext *s)
 
static void js_trigger_gc (JSRuntime *rt, size_t size)
 
void * js_malloc_rt (JSRuntime *rt, size_t size)
 
void js_free_rt (JSRuntime *rt, void *ptr)
 
void * js_realloc_rt (JSRuntime *rt, void *ptr, size_t size)
 
size_t js_malloc_usable_size_rt (JSRuntime *rt, const void *ptr)
 
void * js_mallocz_rt (JSRuntime *rt, size_t size)
 
void * js_malloc (JSContext *ctx, size_t size)
 
void * js_mallocz (JSContext *ctx, size_t size)
 
void js_free (JSContext *ctx, void *ptr)
 
void * js_realloc (JSContext *ctx, void *ptr, size_t size)
 
void * js_realloc2 (JSContext *ctx, void *ptr, size_t size, size_t *pslack)
 
size_t js_malloc_usable_size (JSContext *ctx, const void *ptr)
 
char * js_strndup (JSContext *ctx, const char *s, size_t n)
 
char * js_strdup (JSContext *ctx, const char *str)
 
static no_inline int js_realloc_array (JSContext *ctx, void **parray, int elem_size, int *psize, int req_size)
 
static int js_resize_array (JSContext *ctx, void **parray, int elem_size, int *psize, int req_size)
 
static void js_dbuf_init (JSContext *ctx, DynBuf *s)
 
static void * js_realloc_bytecode_rt (void *opaque, void *ptr, size_t size)
 
static void js_dbuf_bytecode_init (JSContext *ctx, DynBuf *s)
 
static int is_digit (int c)
 
static int string_get (const JSString *p, int idx)
 
static int init_class_range (JSRuntime *rt, JSClassShortDef const *tab, int start, int count)
 
static uintptr_t js_get_stack_pointer (void)
 
static BOOL js_check_stack_overflow (JSRuntime *rt, size_t alloca_size)
 
JSRuntime * JS_NewRuntime2 (const JSMallocFunctions *mf, void *opaque)
 
void * JS_GetRuntimeOpaque (JSRuntime *rt)
 
void JS_SetRuntimeOpaque (JSRuntime *rt, void *opaque)
 
static size_t js_def_malloc_usable_size (const void *ptr)
 
static void * js_def_malloc (JSMallocState *s, size_t size)
 
static void js_def_free (JSMallocState *s, void *ptr)
 
static void * js_def_realloc (JSMallocState *s, void *ptr, size_t size)
 
JSRuntime * JS_NewRuntime (void)
 
void JS_SetMemoryLimit (JSRuntime *rt, size_t limit)
 
void JS_SetGCThreshold (JSRuntime *rt, size_t gc_threshold)
 
void JS_SetInterruptHandler (JSRuntime *rt, JSInterruptHandler *cb, void *opaque)
 
void JS_SetCanBlock (JSRuntime *rt, BOOL can_block)
 
void JS_SetSharedArrayBufferFunctions (JSRuntime *rt, const JSSharedArrayBufferFunctions *sf)
 
void JS_SetStripInfo (JSRuntime *rt, int flags)
 
int JS_GetStripInfo (JSRuntime *rt)
 
static int JS_EnqueueJob2 (JSContext *ctx, JSJobFunc *job_func, int argc, JSValueConst *argv, BOOL no_exception)
 
int JS_EnqueueJob (JSContext *ctx, JSJobFunc *job_func, int argc, JSValueConst *argv)
 
BOOL JS_IsJobPending (JSRuntime *rt)
 
int JS_ExecutePendingJob (JSRuntime *rt, JSContext **pctx)
 
static uint32_t atom_get_free (const JSAtomStruct *p)
 
static BOOL atom_is_free (const JSAtomStruct *p)
 
static JSAtomStruct * atom_set_free (uint32_t v)
 
static JSString * js_alloc_string_rt (JSRuntime *rt, int max_len, int is_wide_char)
 
static JSString * js_alloc_string (JSContext *ctx, int max_len, int is_wide_char)
 
static void js_free_string (JSRuntime *rt, JSString *str)
 
void JS_SetRuntimeInfo (JSRuntime *rt, const char *s)
 
void JS_FreeRuntime (JSRuntime *rt)
 
JSContext * JS_NewContextRaw (JSRuntime *rt)
 
JSContext * JS_NewContext (JSRuntime *rt)
 
void * JS_GetContextOpaque (JSContext *ctx)
 
void JS_SetContextOpaque (JSContext *ctx, void *opaque)
 
static void set_value (JSContext *ctx, JSValue *pval, JSValue new_val)
 
void JS_SetClassProto (JSContext *ctx, JSClassID class_id, JSValue obj)
 
JSValue JS_GetClassProto (JSContext *ctx, JSClassID class_id)
 
static void js_free_modules (JSContext *ctx, JSFreeModuleEnum flag)
 
JSContext * JS_DupContext (JSContext *ctx)
 
static void JS_MarkContext (JSRuntime *rt, JSContext *ctx, JS_MarkFunc *mark_func)
 
void JS_FreeContext (JSContext *ctx)
 
JSRuntime * JS_GetRuntime (JSContext *ctx)
 
static void update_stack_limit (JSRuntime *rt)
 
void JS_SetMaxStackSize (JSRuntime *rt, size_t stack_size)
 
void JS_UpdateStackTop (JSRuntime *rt)
 
static BOOL is_strict_mode (JSContext *ctx)
 
static BOOL __JS_AtomIsConst (JSAtom v)
 
static BOOL __JS_AtomIsTaggedInt (JSAtom v)
 
static JSAtom __JS_AtomFromUInt32 (uint32_t v)
 
static uint32_t __JS_AtomToUInt32 (JSAtom atom)
 
static int is_num (int c)
 
static BOOL is_num_string (uint32_t *pval, const JSString *p)
 
static uint32_t hash_string8 (const uint8_t *str, size_t len, uint32_t h)
 
static uint32_t hash_string16 (const uint16_t *str, size_t len, uint32_t h)
 
static uint32_t hash_string (const JSString *str, uint32_t h)
 
static uint32_t hash_string_rope (JSValueConst val, uint32_t h)
 
static __maybe_unused void JS_DumpChar (FILE *fo, int c, int sep)
 
static __maybe_unused void JS_DumpString (JSRuntime *rt, const JSString *p)
 
static __maybe_unused void JS_DumpAtoms (JSRuntime *rt)
 
static int JS_ResizeAtomHash (JSRuntime *rt, int new_hash_size)
 
static JSAtom JS_DupAtomRT (JSRuntime *rt, JSAtom v)
 
JSAtom JS_DupAtom (JSContext *ctx, JSAtom v)
 
static JSAtomKindEnum JS_AtomGetKind (JSContext *ctx, JSAtom v)
 
static BOOL JS_AtomIsString (JSContext *ctx, JSAtom v)
 
static JSAtom js_get_atom_index (JSRuntime *rt, JSAtomStruct *p)
 
static JSAtom __JS_NewAtom (JSRuntime *rt, JSString *str, int atom_type)
 
static JSAtom __JS_FindAtom (JSRuntime *rt, const char *str, size_t len, int atom_type)
 
static void __JS_FreeAtom (JSRuntime *rt, uint32_t i)
 
static JSAtom JS_NewAtomStr (JSContext *ctx, JSString *p)
 
static size_t count_ascii (const uint8_t *buf, size_t len)
 
JSAtom JS_NewAtomLen (JSContext *ctx, const char *str, size_t len)
 
JSAtom JS_NewAtom (JSContext *ctx, const char *str)
 
JSAtom JS_NewAtomUInt32 (JSContext *ctx, uint32_t n)
 
static JSAtom JS_NewAtomInt64 (JSContext *ctx, int64_t n)
 
static JSValue JS_NewSymbol (JSContext *ctx, JSString *p, int atom_type)
 
static JSValue JS_NewSymbolFromAtom (JSContext *ctx, JSAtom descr, int atom_type)
 
static const char * JS_AtomGetStrRT (JSRuntime *rt, char *buf, int buf_size, JSAtom atom)
 
static const char * JS_AtomGetStr (JSContext *ctx, char *buf, int buf_size, JSAtom atom)
 
static JSValue __JS_AtomToValue (JSContext *ctx, JSAtom atom, BOOL force_string)
 
JSValue JS_AtomToValue (JSContext *ctx, JSAtom atom)
 
JSValue JS_AtomToString (JSContext *ctx, JSAtom atom)
 
BOOL JS_AtomIsArrayIndex (JSContext *ctx, uint32_t *pval, JSAtom atom)
 
static JSValue JS_AtomIsNumericIndex1 (JSContext *ctx, JSAtom atom)
 
static int JS_AtomIsNumericIndex (JSContext *ctx, JSAtom atom)
 
void JS_FreeAtom (JSContext *ctx, JSAtom v)
 
void JS_FreeAtomRT (JSRuntime *rt, JSAtom v)
 
static BOOL JS_AtomSymbolHasDescription (JSContext *ctx, JSAtom v)
 
const char * JS_AtomToCStringLen (JSContext *ctx, size_t *plen, JSAtom atom)
 
static JSAtom js_atom_concat_str (JSContext *ctx, JSAtom name, const char *str1)
 
static JSAtom js_atom_concat_num (JSContext *ctx, JSAtom name, uint32_t n)
 
static BOOL JS_IsEmptyString (JSValueConst v)
 
JSClassID JS_NewClassID (JSClassID *pclass_id)
 
JSClassID JS_GetClassID (JSValue v)
 
BOOL JS_IsRegisteredClass (JSRuntime *rt, JSClassID class_id)
 
static int JS_NewClass1 (JSRuntime *rt, JSClassID class_id, const JSClassDef *class_def, JSAtom name)
 
int JS_NewClass (JSRuntime *rt, JSClassID class_id, const JSClassDef *class_def)
 
static JSValue js_new_string8_len (JSContext *ctx, const char *buf, int len)
 
static JSValue js_new_string8 (JSContext *ctx, const char *buf)
 
static JSValue js_new_string16_len (JSContext *ctx, const uint16_t *buf, int len)
 
static JSValue js_new_string_char (JSContext *ctx, uint16_t c)
 
static JSValue js_sub_string (JSContext *ctx, JSString *p, int start, int end)
 
static int string_buffer_init2 (JSContext *ctx, StringBuffer *s, int size, int is_wide)
 
static int string_buffer_init (JSContext *ctx, StringBuffer *s, int size)
 
static void string_buffer_free (StringBuffer *s)
 
static int string_buffer_set_error (StringBuffer *s)
 
static no_inline int string_buffer_widen (StringBuffer *s, int size)
 
static no_inline int string_buffer_realloc (StringBuffer *s, int new_len, int c)
 
static no_inline int string_buffer_putc16_slow (StringBuffer *s, uint32_t c)
 
static int string_buffer_putc8 (StringBuffer *s, uint32_t c)
 
static int string_buffer_putc16 (StringBuffer *s, uint32_t c)
 
static int string_buffer_putc_slow (StringBuffer *s, uint32_t c)
 
static int string_buffer_putc (StringBuffer *s, uint32_t c)
 
static int string_getc (const JSString *p, int *pidx)
 
static int string_buffer_write8 (StringBuffer *s, const uint8_t *p, int len)
 
static int string_buffer_write16 (StringBuffer *s, const uint16_t *p, int len)
 
static int string_buffer_puts8 (StringBuffer *s, const char *str)
 
static int string_buffer_concat (StringBuffer *s, const JSString *p, uint32_t from, uint32_t to)
 
static int string_buffer_concat_value (StringBuffer *s, JSValueConst v)
 
static int string_buffer_concat_value_free (StringBuffer *s, JSValue v)
 
static int string_buffer_fill (StringBuffer *s, int c, int count)
 
static JSValue string_buffer_end (StringBuffer *s)
 
JSValue JS_NewStringLen (JSContext *ctx, const char *buf, size_t buf_len)
 
static JSValue JS_ConcatString3 (JSContext *ctx, const char *str1, JSValue str2, const char *str3)
 
JSValue JS_NewAtomString (JSContext *ctx, const char *str)
 
const char * JS_ToCStringLen2 (JSContext *ctx, size_t *plen, JSValueConst val1, BOOL cesu8)
 
void JS_FreeCString (JSContext *ctx, const char *ptr)
 
static int memcmp16_8 (const uint16_t *src1, const uint8_t *src2, int len)
 
static int memcmp16 (const uint16_t *src1, const uint16_t *src2, int len)
 
static void copy_str16 (uint16_t *dst, const JSString *p, int offset, int len)
 
static JSValue JS_ConcatString1 (JSContext *ctx, const JSString *p1, const JSString *p2)
 
static BOOL JS_ConcatStringInPlace (JSContext *ctx, JSString *p1, JSValueConst op2)
 
static JSValue JS_ConcatString2 (JSContext *ctx, JSValue op1, JSValue op2)
 
static int string_rope_get (JSValueConst val, uint32_t idx)
 
static void string_rope_iter_init (JSStringRopeIter *s, JSValueConst val)
 
static JSString * string_rope_iter_next (JSStringRopeIter *s)
 
static uint32_t string_rope_get_len (JSValueConst val)
 
static int js_string_rope_compare (JSContext *ctx, JSValueConst op1, JSValueConst op2, BOOL eq_only)
 
static JSValue js_linearize_string_rope (JSContext *ctx, JSValue rope)
 
static JSValue js_rebalancee_string_rope (JSContext *ctx, JSValueConst rope)
 
static JSValue js_new_string_rope (JSContext *ctx, JSValue op1, JSValue op2)
 
static int js_rebalancee_string_rope_rec (JSContext *ctx, JSValue *buckets, JSValueConst val)
 
static JSValue JS_ConcatString (JSContext *ctx, JSValue op1, JSValue op2)
 
static size_t get_shape_size (size_t hash_size, size_t prop_size)
 
static JSShapeProperty * get_shape_prop (JSShape *sh)
 
static uint32_t shape_hash (uint32_t h, uint32_t val)
 
static uint32_t get_shape_hash (uint32_t h, int hash_bits)
 
static uint32_t shape_initial_hash (JSObject *proto)
 
static int resize_shape_hash (JSRuntime *rt, int new_shape_hash_bits)
 
static void js_shape_hash_link (JSRuntime *rt, JSShape *sh)
 
static void js_shape_hash_unlink (JSRuntime *rt, JSShape *sh)
 
static JSShape * js_new_shape_nohash (JSContext *ctx, JSObject *proto, int hash_size, int prop_size)
 
static no_inline JSShape * js_new_shape2 (JSContext *ctx, JSObject *proto, int hash_size, int prop_size)
 
static JSShape * js_new_shape (JSContext *ctx, JSObject *proto)
 
static JSShape * js_clone_shape (JSContext *ctx, JSShape *sh1)
 
static JSShape * js_dup_shape (JSShape *sh)
 
static void js_free_shape0 (JSRuntime *rt, JSShape *sh)
 
static no_inline int resize_properties (JSContext *ctx, JSShape **psh, JSObject *p, uint32_t count)
 
static int compact_properties (JSContext *ctx, JSObject *p)
 
static int add_shape_property (JSContext *ctx, JSShape **psh, JSObject *p, JSAtom atom, int prop_flags)
 
static JSShape * find_hashed_shape_proto (JSRuntime *rt, JSObject *proto)
 
static JSShape * find_hashed_shape_prop (JSRuntime *rt, JSShape *sh, JSAtom atom, int prop_flags)
 
static __maybe_unused void JS_DumpShape (JSRuntime *rt, int i, JSShape *sh)
 
static __maybe_unused void JS_DumpShapes (JSRuntime *rt)
 
static JSValue JS_NewObjectFromShape (JSContext *ctx, JSShape *sh, JSClassID class_id, JSProperty *props)
 
static JSObject * get_proto_obj (JSValueConst proto_val)
 
JSValue JS_NewObjectProtoClass (JSContext *ctx, JSValueConst proto_val, JSClassID class_id)
 
static JSValue JS_NewObjectProtoClassAlloc (JSContext *ctx, JSValueConst proto_val, JSClassID class_id, int n_alloc_props)
 
static int JS_SetObjectData (JSContext *ctx, JSValueConst obj, JSValue val)
 
JSValue JS_NewObjectClass (JSContext *ctx, int class_id)
 
JSValue JS_NewObjectProto (JSContext *ctx, JSValueConst proto)
 
JSValue JS_NewArray (JSContext *ctx)
 
JSValue JS_NewObject (JSContext *ctx)
 
static void js_function_set_properties (JSContext *ctx, JSValueConst func_obj, JSAtom name, int len)
 
static BOOL js_class_has_bytecode (JSClassID class_id)
 
static JSFunctionBytecode * JS_GetFunctionBytecode (JSValueConst val)
 
static void js_method_set_home_object (JSContext *ctx, JSValueConst func_obj, JSValueConst home_obj)
 
static JSValue js_get_function_name (JSContext *ctx, JSAtom name)
 
static int js_method_set_properties (JSContext *ctx, JSValueConst func_obj, JSAtom name, int flags, JSValueConst home_obj)
 
static JSValue JS_NewCFunction3 (JSContext *ctx, JSCFunction *func, const char *name, int length, JSCFunctionEnum cproto, int magic, JSValueConst proto_val, int n_fields)
 
JSValue JS_NewCFunction2 (JSContext *ctx, JSCFunction *func, const char *name, int length, JSCFunctionEnum cproto, int magic)
 
JSValue JS_NewCFunctionData (JSContext *ctx, JSCFunctionData *func, int length, int magic, int data_len, JSValueConst *data)
 
static JSContext * js_autoinit_get_realm (JSProperty *pr)
 
static JSAutoInitIDEnum js_autoinit_get_id (JSProperty *pr)
 
static void js_autoinit_free (JSRuntime *rt, JSProperty *pr)
 
static void js_autoinit_mark (JSRuntime *rt, JSProperty *pr, JS_MarkFunc *mark_func)
 
static force_inline JSShapeProperty * find_own_property1 (JSObject *p, JSAtom atom)
 
static force_inline JSShapeProperty * find_own_property (JSProperty **ppr, JSObject *p, JSAtom atom)
 
static void set_cycle_flag (JSContext *ctx, JSValueConst obj)
 
static void js_array_finalizer (JSRuntime *rt, JSValue val)
 
static void js_array_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void js_object_data_finalizer (JSRuntime *rt, JSValue val)
 
static void js_object_data_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void js_c_function_finalizer (JSRuntime *rt, JSValue val)
 
static void js_c_function_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void js_bytecode_function_finalizer (JSRuntime *rt, JSValue val)
 
static void js_bytecode_function_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void js_bound_function_finalizer (JSRuntime *rt, JSValue val)
 
static void js_bound_function_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void js_for_in_iterator_finalizer (JSRuntime *rt, JSValue val)
 
static void js_for_in_iterator_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void free_object (JSRuntime *rt, JSObject *p)
 
static void free_gc_object (JSRuntime *rt, JSGCObjectHeader *gp)
 
static void free_zero_refcount (JSRuntime *rt)
 
void __JS_FreeValueRT (JSRuntime *rt, JSValue v)
 
void __JS_FreeValue (JSContext *ctx, JSValue v)
 
static void gc_remove_weak_objects (JSRuntime *rt)
 
void JS_MarkValue (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void mark_children (JSRuntime *rt, JSGCObjectHeader *gp, JS_MarkFunc *mark_func)
 
static void gc_decref_child (JSRuntime *rt, JSGCObjectHeader *p)
 
static void gc_decref (JSRuntime *rt)
 
static void gc_scan_incref_child (JSRuntime *rt, JSGCObjectHeader *p)
 
static void gc_scan_incref_child2 (JSRuntime *rt, JSGCObjectHeader *p)
 
static void gc_scan (JSRuntime *rt)
 
static void gc_free_cycles (JSRuntime *rt)
 
void JS_RunGC (JSRuntime *rt)
 
BOOL JS_IsLiveObject (JSRuntime *rt, JSValueConst obj)
 
static void compute_value_size (JSValueConst val, JSMemoryUsage_helper *hp)
 
static void compute_jsstring_size (JSString *str, JSMemoryUsage_helper *hp)
 
static void compute_bytecode_size (JSFunctionBytecode *b, JSMemoryUsage_helper *hp)
 
void JS_ComputeMemoryUsage (JSRuntime *rt, JSMemoryUsage *s)
 
void JS_DumpMemoryUsage (FILE *fp, const JSMemoryUsage *s, JSRuntime *rt)
 
JSValue JS_GetGlobalObject (JSContext *ctx)
 
JSValue JS_Throw (JSContext *ctx, JSValue obj)
 
JSValue JS_GetException (JSContext *ctx)
 
JS_BOOL JS_HasException (JSContext *ctx)
 
static void dbuf_put_leb128 (DynBuf *s, uint32_t v)
 
static void dbuf_put_sleb128 (DynBuf *s, int32_t v1)
 
static int get_leb128 (uint32_t *pval, const uint8_t *buf, const uint8_t *buf_end)
 
static int get_sleb128 (int32_t *pval, const uint8_t *buf, const uint8_t *buf_end)
 
static int find_line_num (JSContext *ctx, JSFunctionBytecode *b, uint32_t pc_value, int *pcol_num)
 
static const char * get_prop_string (JSContext *ctx, JSValueConst obj, JSAtom prop)
 
static void build_backtrace (JSContext *ctx, JSValueConst error_obj, const char *filename, int line_num, int col_num, int backtrace_flags)
 
static BOOL is_backtrace_needed (JSContext *ctx, JSValueConst obj)
 
JSValue JS_NewError (JSContext *ctx)
 
static JSValue JS_ThrowError2 (JSContext *ctx, JSErrorEnum error_num, const char *fmt, va_list ap, BOOL add_backtrace)
 
static JSValue JS_ThrowError (JSContext *ctx, JSErrorEnum error_num, const char *fmt, va_list ap)
 
static int __attribute__ ((format(printf, 3, 4)))
 
static int JS_ThrowTypeErrorReadOnly (JSContext *ctx, int flags, JSAtom atom)
 
static JSValue JS_ThrowStackOverflow (JSContext *ctx)
 
static JSValue JS_ThrowTypeErrorNotAnObject (JSContext *ctx)
 
static JSValue JS_ThrowTypeErrorNotAConstructor (JSContext *ctx, JSValueConst func_obj)
 
static JSValue JS_ThrowTypeErrorNotASymbol (JSContext *ctx)
 
static JSValue JS_ThrowReferenceErrorNotDefined (JSContext *ctx, JSAtom name)
 
static JSValue JS_ThrowReferenceErrorUninitialized (JSContext *ctx, JSAtom name)
 
static JSValue JS_ThrowReferenceErrorUninitialized2 (JSContext *ctx, JSFunctionBytecode *b, int idx, BOOL is_ref)
 
static JSValue JS_ThrowTypeErrorInvalidClass (JSContext *ctx, int class_id)
 
static void JS_ThrowInterrupted (JSContext *ctx)
 
static no_inline __exception int __js_poll_interrupts (JSContext *ctx)
 
static __exception int js_poll_interrupts (JSContext *ctx)
 
static void JS_SetImmutablePrototype (JSContext *ctx, JSValueConst obj)
 
static int JS_SetPrototypeInternal (JSContext *ctx, JSValueConst obj, JSValueConst proto_val, BOOL throw_flag)
 
int JS_SetPrototype (JSContext *ctx, JSValueConst obj, JSValueConst proto_val)
 
static JSValueConst JS_GetPrototypePrimitive (JSContext *ctx, JSValueConst val)
 
JSValue JS_GetPrototype (JSContext *ctx, JSValueConst obj)
 
static JSValue JS_GetPrototypeFree (JSContext *ctx, JSValue obj)
 
static int JS_OrdinaryIsInstanceOf (JSContext *ctx, JSValueConst val, JSValueConst obj)
 
int JS_IsInstanceOf (JSContext *ctx, JSValueConst val, JSValueConst obj)
 
static int JS_AutoInitProperty (JSContext *ctx, JSObject *p, JSAtom prop, JSProperty *pr, JSShapeProperty *prs)
 
JSValue JS_GetPropertyInternal (JSContext *ctx, JSValueConst obj, JSAtom prop, JSValueConst this_obj, BOOL throw_ref_error)
 
static JSValue JS_ThrowTypeErrorPrivateNotFound (JSContext *ctx, JSAtom atom)
 
static int JS_DefinePrivateField (JSContext *ctx, JSValueConst obj, JSValueConst name, JSValue val)
 
static JSValue JS_GetPrivateField (JSContext *ctx, JSValueConst obj, JSValueConst name)
 
static int JS_SetPrivateField (JSContext *ctx, JSValueConst obj, JSValueConst name, JSValue val)
 
static int JS_AddBrand (JSContext *ctx, JSValueConst obj, JSValueConst home_obj)
 
static int JS_CheckBrand (JSContext *ctx, JSValueConst obj, JSValueConst func)
 
static uint32_t js_string_obj_get_length (JSContext *ctx, JSValueConst obj)
 
static int num_keys_cmp (const void *p1, const void *p2, void *opaque)
 
void JS_FreePropertyEnum (JSContext *ctx, JSPropertyEnum *tab, uint32_t len)
 
static int __exception JS_GetOwnPropertyNamesInternal (JSContext *ctx, JSPropertyEnum **ptab, uint32_t *plen, JSObject *p, int flags)
 
int JS_GetOwnPropertyNames (JSContext *ctx, JSPropertyEnum **ptab, uint32_t *plen, JSValueConst obj, int flags)
 
int JS_GetOwnProperty (JSContext *ctx, JSPropertyDescriptor *desc, JSValueConst obj, JSAtom prop)
 
int JS_IsExtensible (JSContext *ctx, JSValueConst obj)
 
int JS_PreventExtensions (JSContext *ctx, JSValueConst obj)
 
int JS_HasProperty (JSContext *ctx, JSValueConst obj, JSAtom prop)
 
JSAtom JS_ValueToAtom (JSContext *ctx, JSValueConst val)
 
static JSValue JS_GetPropertyValue (JSContext *ctx, JSValueConst this_obj, JSValue prop)
 
JSValue JS_GetPropertyUint32 (JSContext *ctx, JSValueConst this_obj, uint32_t idx)
 
static int JS_TryGetPropertyInt64 (JSContext *ctx, JSValueConst obj, int64_t idx, JSValue *pval)
 
static JSValue JS_GetPropertyInt64 (JSContext *ctx, JSValueConst obj, int64_t idx)
 
JSValue JS_GetPropertyStr (JSContext *ctx, JSValueConst this_obj, const char *prop)
 
static no_inline __exception int convert_fast_array_to_array (JSContext *ctx, JSObject *p)
 
static int remove_global_object_property (JSContext *ctx, JSObject *p, JSShapeProperty *prs, JSProperty *pr)
 
static int delete_property (JSContext *ctx, JSObject *p, JSAtom atom)
 
static int call_setter (JSContext *ctx, JSObject *setter, JSValueConst this_obj, JSValue val, int flags)
 
static int set_array_length (JSContext *ctx, JSObject *p, JSValue val, int flags)
 
static int expand_fast_array (JSContext *ctx, JSObject *p, uint32_t new_len)
 
static int add_fast_array_element (JSContext *ctx, JSObject *p, JSValue val, int flags)
 
static JSValue js_allocate_fast_array (JSContext *ctx, int64_t len)
 
static JSValue js_create_array (JSContext *ctx, int len, JSValueConst *tab)
 
static JSValue js_create_array_free (JSContext *ctx, int len, JSValue *tab)
 
int JS_SetPropertyInternal (JSContext *ctx, JSValueConst obj, JSAtom prop, JSValue val, JSValueConst this_obj, int flags)
 
static force_inline BOOL can_extend_fast_array (JSObject *p)
 
int JS_SetPropertyUint32 (JSContext *ctx, JSValueConst this_obj, uint32_t idx, JSValue val)
 
int JS_SetPropertyInt64 (JSContext *ctx, JSValueConst this_obj, int64_t idx, JSValue val)
 
int JS_SetPropertyStr (JSContext *ctx, JSValueConst this_obj, const char *prop, JSValue val)
 
static int get_prop_flags (int flags, int def_flags)
 
static BOOL check_define_prop_flags (int prop_flags, int flags)
 
static int js_update_property_flags (JSContext *ctx, JSObject *p, JSShapeProperty **pprs, int flags)
 
int JS_DefineProperty (JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
 
static int JS_DefineAutoInitProperty (JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSAutoInitIDEnum id, void *opaque, int flags)
 
int JS_DefinePropertyValue (JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValue val, int flags)
 
int JS_DefinePropertyValueValue (JSContext *ctx, JSValueConst this_obj, JSValue prop, JSValue val, int flags)
 
int JS_DefinePropertyValueUint32 (JSContext *ctx, JSValueConst this_obj, uint32_t idx, JSValue val, int flags)
 
int JS_DefinePropertyValueInt64 (JSContext *ctx, JSValueConst this_obj, int64_t idx, JSValue val, int flags)
 
int JS_DefinePropertyValueStr (JSContext *ctx, JSValueConst this_obj, const char *prop, JSValue val, int flags)
 
int JS_DefinePropertyGetSet (JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValue getter, JSValue setter, int flags)
 
static int JS_CreateDataPropertyUint32 (JSContext *ctx, JSValueConst this_obj, int64_t idx, JSValue val, int flags)
 
static BOOL js_object_has_name (JSContext *ctx, JSValueConst obj)
 
static int JS_DefineObjectName (JSContext *ctx, JSValueConst obj, JSAtom name, int flags)
 
static int JS_DefineObjectNameComputed (JSContext *ctx, JSValueConst obj, JSValueConst str, int flags)
 
static JSValue JS_ThrowSyntaxErrorVarRedeclaration (JSContext *ctx, JSAtom prop)
 
static int JS_CheckDefineGlobalVar (JSContext *ctx, JSAtom prop, int flags)
 
static int JS_GetGlobalVarRef (JSContext *ctx, JSAtom prop, JSValue *sp)
 
static int JS_DeleteGlobalVar (JSContext *ctx, JSAtom prop)
 
int JS_DeleteProperty (JSContext *ctx, JSValueConst obj, JSAtom prop, int flags)
 
int JS_DeletePropertyInt64 (JSContext *ctx, JSValueConst obj, int64_t idx, int flags)
 
BOOL JS_IsFunction (JSContext *ctx, JSValueConst val)
 
BOOL JS_IsCFunction (JSContext *ctx, JSValueConst val, JSCFunction *func, int magic)
 
BOOL JS_IsConstructor (JSContext *ctx, JSValueConst val)
 
BOOL JS_SetConstructorBit (JSContext *ctx, JSValueConst func_obj, BOOL val)
 
BOOL JS_IsError (JSContext *ctx, JSValueConst val)
 
void JS_SetUncatchableException (JSContext *ctx, BOOL flag)
 
void JS_SetOpaque (JSValue obj, void *opaque)
 
void * JS_GetOpaque (JSValueConst obj, JSClassID class_id)
 
void * JS_GetOpaque2 (JSContext *ctx, JSValueConst obj, JSClassID class_id)
 
void * JS_GetAnyOpaque (JSValueConst obj, JSClassID *class_id)
 
static JSValue JS_ToPrimitiveFree (JSContext *ctx, JSValue val, int hint)
 
static JSValue JS_ToPrimitive (JSContext *ctx, JSValueConst val, int hint)
 
void JS_SetIsHTMLDDA (JSContext *ctx, JSValueConst obj)
 
static BOOL JS_IsHTMLDDA (JSContext *ctx, JSValueConst obj)
 
static int JS_ToBoolFree (JSContext *ctx, JSValue val)
 
int JS_ToBool (JSContext *ctx, JSValueConst val)
 
static int skip_spaces (const char *pc)
 
static int to_digit (int c)
 
static js_limb_t js_limb_clz (js_limb_t a)
 
static js_limb_t js_limb_safe_clz (js_limb_t a)
 
static js_limb_t mp_add (js_limb_t *res, const js_limb_t *op1, const js_limb_t *op2, js_limb_t n, js_limb_t carry)
 
static js_limb_t mp_sub (js_limb_t *res, const js_limb_t *op1, const js_limb_t *op2, int n, js_limb_t carry)
 
static js_limb_t mp_neg (js_limb_t *res, const js_limb_t *op2, int n)
 
static js_limb_t mp_mul1 (js_limb_t *tabr, const js_limb_t *taba, js_limb_t n, js_limb_t b, js_limb_t l)
 
static js_limb_t mp_div1 (js_limb_t *tabr, const js_limb_t *taba, js_limb_t n, js_limb_t b, js_limb_t r)
 
static js_limb_t mp_add_mul1 (js_limb_t *tabr, const js_limb_t *taba, js_limb_t n, js_limb_t b)
 
static void mp_mul_basecase (js_limb_t *result, const js_limb_t *op1, js_limb_t op1_size, const js_limb_t *op2, js_limb_t op2_size)
 
static js_limb_t mp_sub_mul1 (js_limb_t *tabr, const js_limb_t *taba, js_limb_t n, js_limb_t b)
 
static js_limb_t udiv1norm_init (js_limb_t d)
 
static js_limb_t udiv1norm (js_limb_t *pr, js_limb_t a1, js_limb_t a0, js_limb_t d, js_limb_t d_inv)
 
static js_limb_t mp_div1norm (js_limb_t *tabr, const js_limb_t *taba, js_limb_t n, js_limb_t b, js_limb_t r)
 
static void mp_divnorm (js_limb_t *tabq, js_limb_t *taba, js_limb_t na, const js_limb_t *tabb, js_limb_t nb)
 
static js_limb_t mp_shl (js_limb_t *tabr, const js_limb_t *taba, int n, int shift)
 
static js_limb_t mp_shr (js_limb_t *tab_r, const js_limb_t *tab, int n, int shift, js_limb_t high)
 
static JSBigInt * js_bigint_new (JSContext *ctx, int len)
 
static JSBigInt * js_bigint_set_si (JSBigIntBuf *buf, js_slimb_t a)
 
static JSBigInt * js_bigint_set_si64 (JSBigIntBuf *buf, int64_t a)
 
static JSBigInt * js_bigint_set_short (JSBigIntBuf *buf, JSValueConst val)
 
static __maybe_unused void js_bigint_dump1 (JSContext *ctx, const char *str, const js_limb_t *tab, int len)
 
static __maybe_unused void js_bigint_dump (JSContext *ctx, const char *str, const JSBigInt *p)
 
static JSBigInt * js_bigint_new_si (JSContext *ctx, js_slimb_t a)
 
static JSBigInt * js_bigint_new_si64 (JSContext *ctx, int64_t a)
 
static JSBigInt * js_bigint_new_ui64 (JSContext *ctx, uint64_t a)
 
static JSBigInt * js_bigint_new_di (JSContext *ctx, js_sdlimb_t a)
 
static JSBigInt * js_bigint_normalize1 (JSContext *ctx, JSBigInt *a, int l)
 
static JSBigInt * js_bigint_normalize (JSContext *ctx, JSBigInt *a)
 
static int js_bigint_sign (const JSBigInt *a)
 
static js_slimb_t js_bigint_get_si_sat (const JSBigInt *a)
 
static JSBigInt * js_bigint_extend (JSContext *ctx, JSBigInt *r, js_limb_t op1)
 
static JSBigInt * js_bigint_add (JSContext *ctx, const JSBigInt *a, const JSBigInt *b, int b_neg)
 
static JSBigInt * js_bigint_neg (JSContext *ctx, const JSBigInt *a)
 
static JSBigInt * js_bigint_mul (JSContext *ctx, const JSBigInt *a, const JSBigInt *b)
 
static JSBigInt * js_bigint_divrem (JSContext *ctx, const JSBigInt *a, const JSBigInt *b, BOOL is_rem)
 
static JSBigInt * js_bigint_logic (JSContext *ctx, const JSBigInt *a, const JSBigInt *b, OPCodeEnum op)
 
static JSBigInt * js_bigint_not (JSContext *ctx, const JSBigInt *a)
 
static JSBigInt * js_bigint_shl (JSContext *ctx, const JSBigInt *a, unsigned int shift1)
 
static JSBigInt * js_bigint_shr (JSContext *ctx, const JSBigInt *a, unsigned int shift1)
 
static JSBigInt * js_bigint_pow (JSContext *ctx, const JSBigInt *a, JSBigInt *b)
 
static uint64_t js_bigint_get_mant_exp (JSContext *ctx, int *pexp, const JSBigInt *a)
 
static uint64_t shr_rndn (uint64_t a, int n)
 
static double js_bigint_to_float64 (JSContext *ctx, const JSBigInt *a)
 
static JSBigInt * js_bigint_from_float64 (JSContext *ctx, int *pres, double a1)
 
static int js_bigint_float64_cmp (JSContext *ctx, const JSBigInt *a, double b)
 
static int js_bigint_cmp (JSContext *ctx, const JSBigInt *a, const JSBigInt *b)
 
static JSBigInt * js_bigint_from_string (JSContext *ctx, const char *str, int radix)
 
static char * js_u64toa (char *q, int64_t n, unsigned int base)
 
static char * limb_to_a (char *q, js_limb_t n, unsigned int radix, int len)
 
static JSValue js_bigint_to_string1 (JSContext *ctx, JSValueConst val, int radix)
 
static JSValue JS_CompactBigInt (JSContext *ctx, JSBigInt *p)
 
static JSValue js_atof (JSContext *ctx, const char *str, const char **pp, int radix, int flags)
 
static JSValue JS_ToNumberHintFree (JSContext *ctx, JSValue val, JSToNumberHintEnum flag)
 
static JSValue JS_ToNumericFree (JSContext *ctx, JSValue val)
 
static JSValue JS_ToNumeric (JSContext *ctx, JSValueConst val)
 
static __exception int __JS_ToFloat64Free (JSContext *ctx, double *pres, JSValue val)
 
static int JS_ToFloat64Free (JSContext *ctx, double *pres, JSValue val)
 
int JS_ToFloat64 (JSContext *ctx, double *pres, JSValueConst val)
 
static __maybe_unused JSValue JS_ToIntegerFree (JSContext *ctx, JSValue val)
 
static int JS_ToInt32SatFree (JSContext *ctx, int *pres, JSValue val)
 
int JS_ToInt32Sat (JSContext *ctx, int *pres, JSValueConst val)
 
int JS_ToInt32Clamp (JSContext *ctx, int *pres, JSValueConst val, int min, int max, int min_offset)
 
static int JS_ToInt64SatFree (JSContext *ctx, int64_t *pres, JSValue val)
 
int JS_ToInt64Sat (JSContext *ctx, int64_t *pres, JSValueConst val)
 
int JS_ToInt64Clamp (JSContext *ctx, int64_t *pres, JSValueConst val, int64_t min, int64_t max, int64_t neg_offset)
 
static int JS_ToInt64Free (JSContext *ctx, int64_t *pres, JSValue val)
 
int JS_ToInt64 (JSContext *ctx, int64_t *pres, JSValueConst val)
 
int JS_ToInt64Ext (JSContext *ctx, int64_t *pres, JSValueConst val)
 
static int JS_ToInt32Free (JSContext *ctx, int32_t *pres, JSValue val)
 
int JS_ToInt32 (JSContext *ctx, int32_t *pres, JSValueConst val)
 
static int JS_ToUint32Free (JSContext *ctx, uint32_t *pres, JSValue val)
 
static int JS_ToUint8ClampFree (JSContext *ctx, int32_t *pres, JSValue val)
 
static BOOL is_safe_integer (double d)
 
int JS_ToIndex (JSContext *ctx, uint64_t *plen, JSValueConst val)
 
static __exception int JS_ToLengthFree (JSContext *ctx, int64_t *plen, JSValue val)
 
static JSValue js_bigint_to_string (JSContext *ctx, JSValueConst val)
 
static JSValue js_dtoa2 (JSContext *ctx, double d, int radix, int n_digits, int flags)
 
static JSValue JS_ToStringInternal (JSContext *ctx, JSValueConst val, BOOL is_ToPropertyKey)
 
JSValue JS_ToString (JSContext *ctx, JSValueConst val)
 
static JSValue JS_ToStringFree (JSContext *ctx, JSValue val)
 
static JSValue JS_ToLocaleStringFree (JSContext *ctx, JSValue val)
 
JSValue JS_ToPropertyKey (JSContext *ctx, JSValueConst val)
 
static JSValue JS_ToStringCheckObject (JSContext *ctx, JSValueConst val)
 
static void js_print_value (JSPrintValueState *s, JSValueConst val)
 
static void js_putc (JSPrintValueState *s, char c)
 
static void js_puts (JSPrintValueState *s, const char *str)
 
static void js_print_float64 (JSPrintValueState *s, double d)
 
static uint32_t js_string_get_length (JSValueConst val)
 
static void js_print_string1 (JSPrintValueState *s, JSString *p, int len, int sep)
 
static void js_print_string_rec (JSPrintValueState *s, JSValueConst val, int sep, uint32_t pos)
 
static void js_print_string (JSPrintValueState *s, JSValueConst val)
 
static void js_print_raw_string (JSPrintValueState *s, JSValueConst val)
 
static BOOL is_ascii_ident (const JSString *p)
 
static void js_print_atom (JSPrintValueState *s, JSAtom atom)
 
static uint32_t js_print_array_get_length (JSObject *p)
 
static void js_print_comma (JSPrintValueState *s, int *pcomma_state)
 
static void js_print_more_items (JSPrintValueState *s, int *pcomma_state, uint32_t n)
 
static void js_print_regexp (JSPrintValueState *s, JSObject *p1)
 
static void js_print_error (JSPrintValueState *s, JSObject *p)
 
static void js_print_object (JSPrintValueState *s, JSObject *p)
 
static int js_print_stack_index (JSPrintValueState *s, JSObject *p)
 
void JS_PrintValueSetDefaultOptions (JSPrintValueOptions *options)
 
static void JS_PrintValueInternal (JSRuntime *rt, JSContext *ctx, JSPrintValueWrite *write_func, void *write_opaque, JSValueConst val, const JSPrintValueOptions *options)
 
void JS_PrintValueRT (JSRuntime *rt, JSPrintValueWrite *write_func, void *write_opaque, JSValueConst val, const JSPrintValueOptions *options)
 
void JS_PrintValue (JSContext *ctx, JSPrintValueWrite *write_func, void *write_opaque, JSValueConst val, const JSPrintValueOptions *options)
 
static void js_dump_value_write (void *opaque, const char *buf, size_t len)
 
static __maybe_unused void print_atom (JSContext *ctx, JSAtom atom)
 
static __maybe_unused void JS_DumpAtom (JSContext *ctx, const char *str, JSAtom atom)
 
static __maybe_unused void JS_DumpValue (JSContext *ctx, const char *str, JSValueConst val)
 
static __maybe_unused void JS_DumpValueRT (JSRuntime *rt, const char *str, JSValueConst val)
 
static __maybe_unused void JS_DumpObjectHeader (JSRuntime *rt)
 
static __maybe_unused void JS_DumpObject (JSRuntime *rt, JSObject *p)
 
static __maybe_unused void JS_DumpGCObject (JSRuntime *rt, JSGCObjectHeader *p)
 
int JS_IsArray (JSContext *ctx, JSValueConst val)
 
static double js_pow (double a, double b)
 
JSValue JS_NewBigInt64 (JSContext *ctx, int64_t v)
 
JSValue JS_NewBigUint64 (JSContext *ctx, uint64_t v)
 
static JSValue JS_StringToBigInt (JSContext *ctx, JSValue val)
 
static JSValue JS_StringToBigIntErr (JSContext *ctx, JSValue val)
 
static JSValue JS_ToBigIntFree (JSContext *ctx, JSValue val)
 
static JSValue JS_ToBigInt (JSContext *ctx, JSValueConst val)
 
int JS_ToBigInt64 (JSContext *ctx, int64_t *pres, JSValueConst val)
 
static no_inline __exception int js_unary_arith_slow (JSContext *ctx, JSValue *sp, OPCodeEnum op)
 
static __exception int js_post_inc_slow (JSContext *ctx, JSValue *sp, OPCodeEnum op)
 
static no_inline int js_not_slow (JSContext *ctx, JSValue *sp)
 
static no_inline __exception int js_binary_arith_slow (JSContext *ctx, JSValue *sp, OPCodeEnum op)
 
static BOOL tag_is_string (uint32_t tag)
 
static no_inline __exception int js_add_slow (JSContext *ctx, JSValue *sp)
 
static no_inline __exception int js_binary_logic_slow (JSContext *ctx, JSValue *sp, OPCodeEnum op)
 
static JSBigInt * JS_ToBigIntBuf (JSContext *ctx, JSBigIntBuf *buf1, JSValue op1)
 
static int js_compare_bigint (JSContext *ctx, OPCodeEnum op, JSValue op1, JSValue op2)
 
static no_inline int js_relational_slow (JSContext *ctx, JSValue *sp, OPCodeEnum op)
 
static BOOL tag_is_number (uint32_t tag)
 
static no_inline __exception int js_eq_slow (JSContext *ctx, JSValue *sp, BOOL is_neq)
 
static no_inline int js_shr_slow (JSContext *ctx, JSValue *sp)
 
BOOL JS_StrictEq (JSContext *ctx, JSValueConst op1, JSValueConst op2)
 
BOOL JS_SameValue (JSContext *ctx, JSValueConst op1, JSValueConst op2)
 
BOOL JS_SameValueZero (JSContext *ctx, JSValueConst op1, JSValueConst op2)
 
static __exception int js_operator_in (JSContext *ctx, JSValue *sp)
 
static __exception int js_operator_private_in (JSContext *ctx, JSValue *sp)
 
static __exception int js_has_unscopable (JSContext *ctx, JSValueConst obj, JSAtom atom)
 
static __exception int js_operator_instanceof (JSContext *ctx, JSValue *sp)
 
static __exception int js_operator_typeof (JSContext *ctx, JSValueConst op1)
 
static __exception int js_operator_delete (JSContext *ctx, JSValue *sp)
 
static JSValue js_throw_type_error (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_function_proto_fileName (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_function_proto_lineNumber (JSContext *ctx, JSValueConst this_val, int is_col)
 
static int js_arguments_define_own_property (JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
 
static JSValue js_build_arguments (JSContext *ctx, int argc, JSValueConst *argv)
 
static void js_mapped_arguments_finalizer (JSRuntime *rt, JSValue val)
 
static void js_mapped_arguments_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_build_mapped_arguments (JSContext *ctx, int argc, JSValueConst *argv, JSStackFrame *sf, int arg_count)
 
static JSValue build_for_in_iterator (JSContext *ctx, JSValue obj)
 
static __exception int js_for_in_start (JSContext *ctx, JSValue *sp)
 
static __exception int js_for_in_prepare_prototype_chain_enum (JSContext *ctx, JSValueConst enum_obj)
 
static __exception int js_for_in_next (JSContext *ctx, JSValue *sp)
 
static JSValue JS_GetIterator2 (JSContext *ctx, JSValueConst obj, JSValueConst method)
 
static JSValue JS_GetIterator (JSContext *ctx, JSValueConst obj, BOOL is_async)
 
static JSValue JS_IteratorNext2 (JSContext *ctx, JSValueConst enum_obj, JSValueConst method, int argc, JSValueConst *argv, int *pdone)
 
static JSValue JS_IteratorNext (JSContext *ctx, JSValueConst enum_obj, JSValueConst method, int argc, JSValueConst *argv, BOOL *pdone)
 
static int JS_IteratorClose (JSContext *ctx, JSValueConst enum_obj, BOOL is_exception_pending)
 
static __exception int js_for_of_start (JSContext *ctx, JSValue *sp, BOOL is_async)
 
static __exception int js_for_of_next (JSContext *ctx, JSValue *sp, int offset)
 
static __exception int js_for_await_of_next (JSContext *ctx, JSValue *sp)
 
static JSValue JS_IteratorGetCompleteValue (JSContext *ctx, JSValueConst obj, BOOL *pdone)
 
static __exception int js_iterator_get_value_done (JSContext *ctx, JSValue *sp)
 
static JSValue js_create_iterator_result (JSContext *ctx, JSValue val, BOOL done)
 
static JSValue js_array_iterator_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
 
static JSValue js_create_array_iterator (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static __exception int js_append_enumerate (JSContext *ctx, JSValue *sp)
 
static __exception int JS_CopyDataProperties (JSContext *ctx, JSValueConst target, JSValueConst source, JSValueConst excluded, BOOL setprop)
 
static JSValueConst JS_GetActiveFunction (JSContext *ctx)
 
static void js_global_object_finalizer (JSRuntime *rt, JSValue obj)
 
static void js_global_object_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSVarRef * js_global_object_get_uninitialized_var (JSContext *ctx, JSObject *p1, JSAtom atom)
 
static JSVarRef * js_closure_define_global_var (JSContext *ctx, JSClosureVar *cv, BOOL is_direct_or_indirect_eval)
 
static JSVarRef * js_closure_global_var (JSContext *ctx, JSClosureVar *cv)
 
static JSValue js_closure2 (JSContext *ctx, JSValue func_obj, JSFunctionBytecode *b, JSVarRef **cur_var_refs, JSStackFrame *sf, BOOL is_eval, JSModuleDef *m)
 
static JSValue js_closure (JSContext *ctx, JSValue bfunc, JSVarRef **cur_var_refs, JSStackFrame *sf, BOOL is_eval)
 
static int js_op_define_class (JSContext *ctx, JSValue *sp, JSAtom class_name, int class_flags, JSVarRef **cur_var_refs, JSStackFrame *sf, BOOL is_computed_name)
 
static void close_var_ref (JSRuntime *rt, JSStackFrame *sf, JSVarRef *var_ref)
 
static void close_var_refs (JSRuntime *rt, JSFunctionBytecode *b, JSStackFrame *sf)
 
static void close_lexical_var (JSContext *ctx, JSFunctionBytecode *b, JSStackFrame *sf, int var_idx)
 
JSValue JS_Call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static JSContext * JS_GetFunctionRealm (JSContext *ctx, JSValueConst func_obj)
 
static JSValue js_create_from_ctor (JSContext *ctx, JSValueConst ctor, int class_id)
 
JSValue JS_CallConstructor2 (JSContext *ctx, JSValueConst func_obj, JSValueConst new_target, int argc, JSValueConst *argv)
 
JSValue JS_CallConstructor (JSContext *ctx, JSValueConst func_obj, int argc, JSValueConst *argv)
 
JSValue JS_Invoke (JSContext *ctx, JSValueConst this_val, JSAtom atom, int argc, JSValueConst *argv)
 
static JSAsyncFunctionState * async_func_init (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static void async_func_free_frame (JSRuntime *rt, JSAsyncFunctionState *s)
 
static JSValue async_func_resume (JSContext *ctx, JSAsyncFunctionState *s)
 
static void free_generator_stack_rt (JSRuntime *rt, JSGeneratorData *s)
 
static void js_generator_finalizer (JSRuntime *rt, JSValue obj)
 
static void free_generator_stack (JSContext *ctx, JSGeneratorData *s)
 
static void js_generator_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_generator_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
 
static int js_async_function_resolve_create (JSContext *ctx, JSAsyncFunctionState *s, JSValue *resolving_funcs)
 
static void js_async_function_resume (JSContext *ctx, JSAsyncFunctionState *s)
 
static JSValue js_async_function_resolve_call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv, int flags)
 
static JSValue js_async_function_call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv, int flags)
 
static void js_async_generator_free (JSRuntime *rt, JSAsyncGeneratorData *s)
 
static void js_async_generator_finalizer (JSRuntime *rt, JSValue obj)
 
static void js_async_generator_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_async_generator_resolve_function (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static int js_async_generator_resolve_function_create (JSContext *ctx, JSValueConst generator, JSValue *resolving_funcs, BOOL is_resume_next)
 
static int js_async_generator_await (JSContext *ctx, JSAsyncGeneratorData *s, JSValueConst value)
 
static void js_async_generator_resolve_or_reject (JSContext *ctx, JSAsyncGeneratorData *s, JSValueConst result, int is_reject)
 
static void js_async_generator_resolve (JSContext *ctx, JSAsyncGeneratorData *s, JSValueConst value, BOOL done)
 
static void js_async_generator_reject (JSContext *ctx, JSAsyncGeneratorData *s, JSValueConst exception)
 
static void js_async_generator_complete (JSContext *ctx, JSAsyncGeneratorData *s)
 
static int js_async_generator_completed_return (JSContext *ctx, JSAsyncGeneratorData *s, JSValueConst value)
 
static void js_async_generator_resume_next (JSContext *ctx, JSAsyncGeneratorData *s)
 
static JSValue js_async_generator_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_async_generator_function_call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv, int flags)
 
static __exception int next_token (JSParseState *s)
 
static void free_token (JSParseState *s, JSToken *token)
 
static void __maybe_unused dump_token (JSParseState *s, const JSToken *token)
 
static int get_line_col (int *pcol_num, const uint8_t *buf, size_t len)
 
static int get_line_col_cached (GetLineColCache *s, int *pcol_num, const uint8_t *ptr)
 
static int js_parse_error_v (JSParseState *s, const uint8_t *ptr, const char *fmt, va_list ap)
 
static int js_parse_expect (JSParseState *s, int tok)
 
static int js_parse_expect_semi (JSParseState *s)
 
static int js_parse_error_reserved_identifier (JSParseState *s)
 
static __exception int js_parse_template_part (JSParseState *s, const uint8_t *p)
 
static __exception int js_parse_string (JSParseState *s, int sep, BOOL do_throw, const uint8_t *p, JSToken *token, const uint8_t **pp)
 
static BOOL token_is_pseudo_keyword (JSParseState *s, JSAtom atom)
 
static __exception int js_parse_regexp (JSParseState *s)
 
static __exception int ident_realloc (JSContext *ctx, char **pbuf, size_t *psize, char *static_buf)
 
static void update_token_ident (JSParseState *s)
 
static void reparse_ident_token (JSParseState *s)
 
static JSAtom parse_ident (JSParseState *s, const uint8_t **pp, BOOL *pident_has_escape, int c, BOOL is_private)
 
static JSAtom json_parse_ident (JSParseState *s, const uint8_t **pp, int c)
 
static int json_parse_string (JSParseState *s, const uint8_t **pp, int sep)
 
static int json_parse_number (JSParseState *s, const uint8_t **pp)
 
static __exception int json_next_token (JSParseState *s)
 
static int match_identifier (const uint8_t *p, const char *s)
 
static int simple_next_token (const uint8_t **pp, BOOL no_line_terminator)
 
static int peek_token (JSParseState *s, BOOL no_line_terminator)
 
static void skip_shebang (const uint8_t **pp, const uint8_t *buf_end)
 
BOOL JS_DetectModule (const char *input, size_t input_len)
 
static int get_prev_opcode (JSFunctionDef *fd)
 
static BOOL js_is_live_code (JSParseState *s)
 
static void emit_u8 (JSParseState *s, uint8_t val)
 
static void emit_u16 (JSParseState *s, uint16_t val)
 
static void emit_u32 (JSParseState *s, uint32_t val)
 
static void emit_source_pos (JSParseState *s, const uint8_t *source_ptr)
 
static void emit_op (JSParseState *s, uint8_t val)
 
static void emit_atom (JSParseState *s, JSAtom name)
 
static int update_label (JSFunctionDef *s, int label, int delta)
 
static int new_label_fd (JSFunctionDef *fd)
 
static int new_label (JSParseState *s)
 
static void emit_label_raw (JSParseState *s, int label)
 
static int emit_label (JSParseState *s, int label)
 
static int emit_goto (JSParseState *s, int opcode, int label)
 
static int cpool_add (JSParseState *s, JSValue val)
 
static __exception int emit_push_const (JSParseState *s, JSValueConst val, BOOL as_atom)
 
static int find_arg (JSContext *ctx, JSFunctionDef *fd, JSAtom name)
 
static int find_var (JSContext *ctx, JSFunctionDef *fd, JSAtom name)
 
static int find_var_in_scope (JSContext *ctx, JSFunctionDef *fd, JSAtom name, int scope_level)
 
static BOOL is_child_scope (JSContext *ctx, JSFunctionDef *fd, int scope, int parent_scope)
 
static int find_var_in_child_scope (JSContext *ctx, JSFunctionDef *fd, JSAtom name, int scope_level)
 
static JSGlobalVar * find_global_var (JSFunctionDef *fd, JSAtom name)
 
static JSGlobalVar * find_lexical_global_var (JSFunctionDef *fd, JSAtom name)
 
static int find_lexical_decl (JSContext *ctx, JSFunctionDef *fd, JSAtom name, int scope_idx, BOOL check_catch_var)
 
static int push_scope (JSParseState *s)
 
static int get_first_lexical_var (JSFunctionDef *fd, int scope)
 
static void pop_scope (JSParseState *s)
 
static void close_scopes (JSParseState *s, int scope, int scope_stop)
 
static int add_var (JSContext *ctx, JSFunctionDef *fd, JSAtom name)
 
static int add_scope_var (JSContext *ctx, JSFunctionDef *fd, JSAtom name, JSVarKindEnum var_kind)
 
static int add_func_var (JSContext *ctx, JSFunctionDef *fd, JSAtom name)
 
static int add_arguments_var (JSContext *ctx, JSFunctionDef *fd)
 
static int add_arguments_arg (JSContext *ctx, JSFunctionDef *fd)
 
static int add_arg (JSContext *ctx, JSFunctionDef *fd, JSAtom name)
 
static JSGlobalVar * add_global_var (JSContext *ctx, JSFunctionDef *s, JSAtom name)
 
static int define_var (JSParseState *s, JSFunctionDef *fd, JSAtom name, JSVarDefEnum var_def_type)
 
static int add_private_class_field (JSParseState *s, JSFunctionDef *fd, JSAtom name, JSVarKindEnum var_kind, BOOL is_static)
 
static __exception int js_parse_expr (JSParseState *s)
 
static __exception int js_parse_function_decl (JSParseState *s, JSParseFunctionEnum func_type, JSFunctionKindEnum func_kind, JSAtom func_name, const uint8_t *ptr)
 
static JSFunctionDef * js_parse_function_class_fields_init (JSParseState *s)
 
static __exception int js_parse_function_decl2 (JSParseState *s, JSParseFunctionEnum func_type, JSFunctionKindEnum func_kind, JSAtom func_name, const uint8_t *ptr, JSParseExportEnum export_flag, JSFunctionDef **pfd)
 
static __exception int js_parse_assign_expr2 (JSParseState *s, int parse_flags)
 
static __exception int js_parse_assign_expr (JSParseState *s)
 
static __exception int js_parse_unary (JSParseState *s, int parse_flags)
 
static void push_break_entry (JSFunctionDef *fd, BlockEnv *be, JSAtom label_name, int label_break, int label_cont, int drop_count)
 
static void pop_break_entry (JSFunctionDef *fd)
 
static JSExportEntry * add_export_entry (JSParseState *s, JSModuleDef *m, JSAtom local_name, JSAtom export_name, JSExportTypeEnum export_type)
 
static int seal_template_obj (JSContext *ctx, JSValueConst obj)
 
static __exception int js_parse_template (JSParseState *s, int call, int *argc)
 
static BOOL token_is_ident (int tok)
 
static int __exception js_parse_property_name (JSParseState *s, JSAtom *pname, BOOL allow_method, BOOL allow_var, BOOL allow_private)
 
static int js_parse_get_pos (JSParseState *s, JSParsePos *sp)
 
static __exception int js_parse_seek_token (JSParseState *s, const JSParsePos *sp)
 
static BOOL is_regexp_allowed (int tok)
 
static BOOL has_lf_in_range (const uint8_t *p1, const uint8_t *p2)
 
static int js_parse_skip_parens_token (JSParseState *s, int *pbits, BOOL no_line_terminator)
 
static void set_object_name (JSParseState *s, JSAtom name)
 
static void set_object_name_computed (JSParseState *s)
 
static __exception int js_parse_object_literal (JSParseState *s)
 
static __exception int js_parse_postfix_expr (JSParseState *s, int parse_flags)
 
static void emit_class_field_init (JSParseState *s)
 
static JSFunctionDef * js_new_function_def (JSContext *ctx, JSFunctionDef *parent, BOOL is_eval, BOOL is_func_expr, const char *filename, const uint8_t *source_ptr, GetLineColCache *get_line_col_cache)
 
static void emit_return (JSParseState *s, BOOL hasval)
 
static __exception int js_parse_left_hand_side_expr (JSParseState *s)
 
static __exception int js_parse_class_default_ctor (JSParseState *s, BOOL has_super, JSFunctionDef **pfd)
 
static int find_private_class_field (JSContext *ctx, JSFunctionDef *fd, JSAtom name, int scope_level)
 
static JSAtom get_private_setter_name (JSContext *ctx, JSAtom name)
 
static __exception int emit_class_init_start (JSParseState *s, ClassFieldsDef *cf)
 
static void emit_class_init_end (JSParseState *s, ClassFieldsDef *cf)
 
static __exception int js_parse_class (JSParseState *s, BOOL is_class_expr, JSParseExportEnum export_flag)
 
static __exception int js_parse_array_literal (JSParseState *s)
 
static BOOL has_with_scope (JSFunctionDef *s, int scope_level)
 
static __exception int get_lvalue (JSParseState *s, int *popcode, int *pscope, JSAtom *pname, int *plabel, int *pdepth, BOOL keep, int tok)
 
static void put_lvalue (JSParseState *s, int opcode, int scope, JSAtom name, int label, PutLValueEnum special, BOOL is_let)
 
static __exception int js_parse_expr_paren (JSParseState *s)
 
static int js_unsupported_keyword (JSParseState *s, JSAtom atom)
 
static __exception int js_define_var (JSParseState *s, JSAtom name, int tok)
 
static void js_emit_spread_code (JSParseState *s, int depth)
 
static int js_parse_check_duplicate_parameter (JSParseState *s, JSAtom name)
 
static BOOL need_var_reference (JSParseState *s, int tok)
 
static JSAtom js_parse_destructuring_var (JSParseState *s, int tok, int is_arg)
 
static int js_parse_destructuring_element (JSParseState *s, int tok, int is_arg, int hasval, int has_ellipsis, BOOL allow_initializer, BOOL export_flag)
 
static void optional_chain_test (JSParseState *s, int *poptional_chaining_label, int drop_count)
 
static __exception int js_parse_delete (JSParseState *s)
 
static __exception int js_parse_expr_binary (JSParseState *s, int level, int parse_flags)
 
static __exception int js_parse_logical_and_or (JSParseState *s, int op, int parse_flags)
 
static __exception int js_parse_coalesce_expr (JSParseState *s, int parse_flags)
 
static __exception int js_parse_cond_expr (JSParseState *s, int parse_flags)
 
static __exception int js_parse_expr2 (JSParseState *s, int parse_flags)
 
static __exception int emit_break (JSParseState *s, JSAtom name, int is_cont)
 
static __exception int js_parse_statement_or_decl (JSParseState *s, int decl_mask)
 
static __exception int js_parse_statement (JSParseState *s)
 
static __exception int js_parse_block (JSParseState *s)
 
static __exception int js_parse_var (JSParseState *s, int parse_flags, int tok, BOOL export_flag)
 
static BOOL is_label (JSParseState *s)
 
static int is_let (JSParseState *s, int decl_mask)
 
static __exception int js_parse_for_in_of (JSParseState *s, int label_name, BOOL is_async)
 
static void set_eval_ret_undefined (JSParseState *s)
 
static JSModuleDef * js_new_module_def (JSContext *ctx, JSAtom name)
 
static int add_req_module_entry (JSContext *ctx, JSModuleDef *m, JSAtom module_name)
 
static JSExportEntry * find_export_entry (JSContext *ctx, JSModuleDef *m, JSAtom export_name)
 
static JSExportEntry * add_export_entry2 (JSContext *ctx, JSParseState *s, JSModuleDef *m, JSAtom local_name, JSAtom export_name, JSExportTypeEnum export_type)
 
static int add_star_export_entry (JSContext *ctx, JSModuleDef *m, int req_module_idx)
 
JSModuleDef * JS_NewCModule (JSContext *ctx, const char *name_str, JSModuleInitFunc *func)
 
int JS_AddModuleExport (JSContext *ctx, JSModuleDef *m, const char *export_name)
 
int JS_SetModuleExport (JSContext *ctx, JSModuleDef *m, const char *export_name, JSValue val)
 
int JS_SetModulePrivateValue (JSContext *ctx, JSModuleDef *m, JSValue val)
 
JSValue JS_GetModulePrivateValue (JSContext *ctx, JSModuleDef *m)
 
void JS_SetModuleLoaderFunc (JSRuntime *rt, JSModuleNormalizeFunc *module_normalize, JSModuleLoaderFunc *module_loader, void *opaque)
 
void JS_SetModuleLoaderFunc2 (JSRuntime *rt, JSModuleNormalizeFunc *module_normalize, JSModuleLoaderFunc2 *module_loader, JSModuleCheckSupportedImportAttributes *module_check_attrs, void *opaque)
 
static char * js_default_module_normalize_name (JSContext *ctx, const char *base_name, const char *name)
 
static JSModuleDef * js_find_loaded_module (JSContext *ctx, JSAtom name)
 
static JSModuleDef * js_host_resolve_imported_module (JSContext *ctx, const char *base_cname, const char *cname1, JSValueConst attributes)
 
static JSModuleDef * js_host_resolve_imported_module_atom (JSContext *ctx, JSAtom base_module_name, JSAtom module_name1, JSValueConst attributes)
 
static int find_resolve_entry (JSResolveState *s, JSModuleDef *m, JSAtom name)
 
static int add_resolve_entry (JSContext *ctx, JSResolveState *s, JSModuleDef *m, JSAtom name)
 
static JSResolveResultEnum js_resolve_export1 (JSContext *ctx, JSModuleDef **pmodule, JSExportEntry **pme, JSModuleDef *m, JSAtom export_name, JSResolveState *s)
 
static JSResolveResultEnum js_resolve_export (JSContext *ctx, JSModuleDef **pmodule, JSExportEntry **pme, JSModuleDef *m, JSAtom export_name)
 
static void js_resolve_export_throw_error (JSContext *ctx, JSResolveResultEnum res, JSModuleDef *m, JSAtom export_name)
 
static int find_exported_name (GetExportNamesState *s, JSAtom name)
 
static __exception int get_exported_names (JSContext *ctx, GetExportNamesState *s, JSModuleDef *m, BOOL from_star)
 
static int js_module_ns_has (JSContext *ctx, JSValueConst obj, JSAtom atom)
 
static int exported_names_cmp (const void *p1, const void *p2, void *opaque)
 
static JSValue js_build_module_ns (JSContext *ctx, JSModuleDef *m)
 
JSValue JS_GetModuleNamespace (JSContext *ctx, JSModuleDef *m)
 
static int js_resolve_module (JSContext *ctx, JSModuleDef *m)
 
static int js_create_module_bytecode_function (JSContext *ctx, JSModuleDef *m)
 
static int js_create_module_function (JSContext *ctx, JSModuleDef *m)
 
static int js_inner_module_linking (JSContext *ctx, JSModuleDef *m, JSModuleDef **pstack_top, int index)
 
static int js_link_module (JSContext *ctx, JSModuleDef *m)
 
JSAtom JS_GetScriptOrModuleName (JSContext *ctx, int n_stack_levels)
 
JSAtom JS_GetModuleName (JSContext *ctx, JSModuleDef *m)
 
JSValue JS_GetImportMeta (JSContext *ctx, JSModuleDef *m)
 
static JSValue JS_NewModuleValue (JSContext *ctx, JSModuleDef *m)
 
static JSValue js_load_module_rejected (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_load_module_fulfilled (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static void JS_LoadModuleInternal (JSContext *ctx, const char *basename, const char *filename, JSValueConst *resolving_funcs, JSValueConst attributes)
 
JSValue JS_LoadModule (JSContext *ctx, const char *basename, const char *filename)
 
static JSValue js_dynamic_import_job (JSContext *ctx, int argc, JSValueConst *argv)
 
static void js_set_module_evaluated (JSContext *ctx, JSModuleDef *m)
 
static BOOL find_in_exec_module_list (ExecModuleList *exec_list, JSModuleDef *m)
 
static int gather_available_ancestors (JSContext *ctx, JSModuleDef *module, ExecModuleList *exec_list)
 
static int exec_module_list_cmp (const void *p1, const void *p2, void *opaque)
 
static int js_execute_async_module (JSContext *ctx, JSModuleDef *m)
 
static int js_execute_sync_module (JSContext *ctx, JSModuleDef *m, JSValue *pvalue)
 
static JSValue js_async_module_execution_rejected (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_async_module_execution_fulfilled (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static int js_inner_module_evaluation (JSContext *ctx, JSModuleDef *m, int index, JSModuleDef **pstack_top, JSValue *pvalue)
 
static JSValue js_evaluate_module (JSContext *ctx, JSModuleDef *m)
 
static __exception int js_parse_with_clause (JSParseState *s, JSReqModuleEntry *rme)
 
static __exception int js_parse_from_clause (JSParseState *s, JSModuleDef *m)
 
static __exception int js_parse_export (JSParseState *s)
 
static int add_closure_var (JSContext *ctx, JSFunctionDef *s, JSClosureTypeEnum closure_type, int var_idx, JSAtom var_name, BOOL is_const, BOOL is_lexical, JSVarKindEnum var_kind)
 
static int add_import (JSParseState *s, JSModuleDef *m, JSAtom local_name, JSAtom import_name, BOOL is_star)
 
static __exception int js_parse_import (JSParseState *s)
 
static __exception int js_parse_source_element (JSParseState *s)
 
static void free_bytecode_atoms (JSRuntime *rt, const uint8_t *bc_buf, int bc_len, BOOL use_short_opcodes)
 
static void js_free_function_def (JSContext *ctx, JSFunctionDef *fd)
 
static int find_closure_var (JSContext *ctx, JSFunctionDef *s, JSAtom var_name)
 
static int get_closure_var (JSContext *ctx, JSFunctionDef *s, JSFunctionDef *fd, JSClosureTypeEnum closure_type, int var_idx, JSAtom var_name, BOOL is_const, BOOL is_lexical, JSVarKindEnum var_kind)
 
static int get_with_scope_opcode (int op)
 
static BOOL can_opt_put_ref_value (const uint8_t *bc_buf, int pos)
 
static BOOL can_opt_put_global_ref_value (const uint8_t *bc_buf, int pos)
 
static int optimize_scope_make_ref (JSContext *ctx, JSFunctionDef *s, DynBuf *bc, uint8_t *bc_buf, LabelSlot *ls, int pos_next, int get_op, int var_idx)
 
static int add_var_this (JSContext *ctx, JSFunctionDef *fd)
 
static int resolve_pseudo_var (JSContext *ctx, JSFunctionDef *s, JSAtom var_name)
 
static void var_object_test (JSContext *ctx, JSFunctionDef *s, JSAtom var_name, int op, DynBuf *bc, int *plabel_done, BOOL is_with)
 
static void capture_var (JSFunctionDef *s, JSVarDef *vd)
 
static int resolve_scope_var (JSContext *ctx, JSFunctionDef *s, JSAtom var_name, int scope_level, int op, DynBuf *bc, uint8_t *bc_buf, LabelSlot *ls, int pos_next)
 
static int find_private_class_field_all (JSContext *ctx, JSFunctionDef *fd, JSAtom name, int scope_level)
 
static void get_loc_or_ref (DynBuf *bc, BOOL is_ref, int idx)
 
static int resolve_scope_private_field1 (JSContext *ctx, BOOL *pis_ref, int *pvar_kind, JSFunctionDef *s, JSAtom var_name, int scope_level)
 
static int resolve_scope_private_field (JSContext *ctx, JSFunctionDef *s, JSAtom var_name, int scope_level, int op, DynBuf *bc)
 
static void mark_eval_captured_variables (JSContext *ctx, JSFunctionDef *s, int scope_level)
 
static BOOL is_var_in_arg_scope (JSAtom var_name, JSVarKindEnum var_kind)
 
static void add_eval_variables (JSContext *ctx, JSFunctionDef *s)
 
static void set_closure_from_var (JSContext *ctx, JSClosureVar *cv, JSBytecodeVarDef *vd, int var_idx)
 
static __exception int add_closure_variables (JSContext *ctx, JSFunctionDef *s, JSFunctionBytecode *b, int scope_idx)
 
static BOOL code_match (CodeContext *s, int pos,...)
 
static void instantiate_hoisted_definitions (JSContext *ctx, JSFunctionDef *s, DynBuf *bc)
 
static int skip_dead_code (JSFunctionDef *s, const uint8_t *bc_buf, int bc_len, int pos, int *linep)
 
static int get_label_pos (JSFunctionDef *s, int label)
 
static __exception int resolve_variables (JSContext *ctx, JSFunctionDef *s)
 
static void add_pc2line_info (JSFunctionDef *s, uint32_t pc, uint32_t source_pos)
 
static void compute_pc2line_info (JSFunctionDef *s)
 
static RelocEntry * add_reloc (JSContext *ctx, LabelSlot *ls, uint32_t addr, int size)
 
static BOOL code_has_label (CodeContext *s, int pos, int label)
 
static int find_jump_target (JSFunctionDef *s, int label0, int *pop, int *pline)
 
static void push_short_int (DynBuf *bc_out, int val)
 
static void put_short_code (DynBuf *bc_out, int op, int idx)
 
static __exception int resolve_labels (JSContext *ctx, JSFunctionDef *s)
 
static __exception int ss_check (JSContext *ctx, StackSizeState *s, int pos, int op, int stack_len, int catch_pos)
 
static __exception int compute_stack_size (JSContext *ctx, JSFunctionDef *fd, int *pstack_size)
 
static int add_global_variables (JSContext *ctx, JSFunctionDef *fd)
 
static JSValue js_create_function (JSContext *ctx, JSFunctionDef *fd)
 
static __exception int js_parse_directives (JSParseState *s)
 
static BOOL is_strict_future_keyword (JSAtom atom)
 
static int js_parse_function_check_names (JSParseState *s, JSFunctionDef *fd, JSAtom func_name)
 
static __exception int js_parse_program (JSParseState *s)
 
static void js_parse_init (JSContext *ctx, JSParseState *s, const char *input, size_t input_len, const char *filename)
 
static JSValue JS_EvalFunctionInternal (JSContext *ctx, JSValue fun_obj, JSValueConst this_obj, JSVarRef **var_refs, JSStackFrame *sf)
 
JSValue JS_EvalFunction (JSContext *ctx, JSValue fun_obj)
 
static JSValue __JS_EvalInternal (JSContext *ctx, JSValueConst this_obj, const char *input, size_t input_len, const char *filename, int flags, int scope_idx)
 
JSValue JS_EvalThis (JSContext *ctx, JSValueConst this_obj, const char *input, size_t input_len, const char *filename, int eval_flags)
 
JSValue JS_Eval (JSContext *ctx, const char *input, size_t input_len, const char *filename, int eval_flags)
 
int JS_ResolveModule (JSContext *ctx, JSValueConst obj)
 
static void js_object_list_init (JSObjectList *s)
 
static uint32_t js_object_list_get_hash (JSObject *p, uint32_t hash_size)
 
static int js_object_list_resize_hash (JSContext *ctx, JSObjectList *s, uint32_t new_hash_size)
 
static int js_object_list_add (JSContext *ctx, JSObjectList *s, JSObject *obj)
 
static int js_object_list_find (JSContext *ctx, JSObjectList *s, JSObject *obj)
 
static void js_object_list_end (JSContext *ctx, JSObjectList *s)
 
static BOOL is_be (void)
 
static void bc_put_u8 (BCWriterState *s, uint8_t v)
 
static void bc_put_u16 (BCWriterState *s, uint16_t v)
 
static __maybe_unused void bc_put_u32 (BCWriterState *s, uint32_t v)
 
static void bc_put_u64 (BCWriterState *s, uint64_t v)
 
static void bc_put_leb128 (BCWriterState *s, uint32_t v)
 
static void bc_put_sleb128 (BCWriterState *s, int32_t v)
 
static void bc_set_flags (uint32_t *pflags, int *pidx, uint32_t val, int n)
 
static int bc_atom_to_idx (BCWriterState *s, uint32_t *pres, JSAtom atom)
 
static int bc_put_atom (BCWriterState *s, JSAtom atom)
 
static void bc_byte_swap (uint8_t *bc_buf, int bc_len)
 
static int JS_WriteFunctionBytecode (BCWriterState *s, const uint8_t *bc_buf1, int bc_len)
 
static void JS_WriteString (BCWriterState *s, JSString *p)
 
static int JS_WriteBigInt (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteObjectRec (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteFunctionTag (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteModule (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteArray (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteObjectTag (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteTypedArray (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteArrayBuffer (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteSharedArrayBuffer (BCWriterState *s, JSValueConst obj)
 
static int JS_WriteObjectAtoms (BCWriterState *s)
 
uint8_t * JS_WriteObject2 (JSContext *ctx, size_t *psize, JSValueConst obj, int flags, uint8_t ***psab_tab, size_t *psab_tab_len)
 
uint8_t * JS_WriteObject (JSContext *ctx, size_t *psize, JSValueConst obj, int flags)
 
static int bc_read_error_end (BCReaderState *s)
 
static int bc_get_u8 (BCReaderState *s, uint8_t *pval)
 
static int bc_get_u16 (BCReaderState *s, uint16_t *pval)
 
static __maybe_unused int bc_get_u32 (BCReaderState *s, uint32_t *pval)
 
static int bc_get_u64 (BCReaderState *s, uint64_t *pval)
 
static int bc_get_leb128 (BCReaderState *s, uint32_t *pval)
 
static int bc_get_sleb128 (BCReaderState *s, int32_t *pval)
 
static int bc_get_leb128_int (BCReaderState *s, int *pval)
 
static int bc_get_leb128_u16 (BCReaderState *s, uint16_t *pval)
 
static int bc_get_buf (BCReaderState *s, uint8_t *buf, uint32_t buf_len)
 
static int bc_idx_to_atom (BCReaderState *s, JSAtom *patom, uint32_t idx)
 
static int bc_get_atom (BCReaderState *s, JSAtom *patom)
 
static JSString * JS_ReadString (BCReaderState *s)
 
static uint32_t bc_get_flags (uint32_t flags, int *pidx, int n)
 
static int JS_ReadFunctionBytecode (BCReaderState *s, JSFunctionBytecode *b, int byte_code_offset, uint32_t bc_len)
 
static JSValue JS_ReadBigInt (BCReaderState *s)
 
static JSValue JS_ReadObjectRec (BCReaderState *s)
 
static int BC_add_object_ref1 (BCReaderState *s, JSObject *p)
 
static int BC_add_object_ref (BCReaderState *s, JSValueConst obj)
 
static JSValue JS_ReadFunctionTag (BCReaderState *s)
 
static JSValue JS_ReadModule (BCReaderState *s)
 
static JSValue JS_ReadObjectTag (BCReaderState *s)
 
static JSValue JS_ReadArray (BCReaderState *s, int tag)
 
static JSValue JS_ReadTypedArray (BCReaderState *s)
 
static JSValue JS_ReadArrayBuffer (BCReaderState *s)
 
static JSValue JS_ReadSharedArrayBuffer (BCReaderState *s)
 
static JSValue JS_ReadDate (BCReaderState *s)
 
static JSValue JS_ReadObjectValue (BCReaderState *s)
 
static int JS_ReadObjectAtoms (BCReaderState *s)
 
static void bc_reader_free (BCReaderState *s)
 
JSValue JS_ReadObject (JSContext *ctx, const uint8_t *buf, size_t buf_len, int flags)
 
static JSValue js_string_constructor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_boolean_constructor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_number_constructor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int check_function (JSContext *ctx, JSValueConst obj)
 
static int check_exception_free (JSContext *ctx, JSValue obj)
 
static JSAtom find_atom (JSContext *ctx, const char *name)
 
static JSValue JS_NewObjectProtoList (JSContext *ctx, JSValueConst proto, const JSCFunctionListEntry *fields, int n_fields)
 
static int JS_InstantiateFunctionListItem (JSContext *ctx, JSValueConst obj, JSAtom atom, const JSCFunctionListEntry *e)
 
int JS_SetPropertyFunctionList (JSContext *ctx, JSValueConst obj, const JSCFunctionListEntry *tab, int len)
 
int JS_AddModuleExportList (JSContext *ctx, JSModuleDef *m, const JSCFunctionListEntry *tab, int len)
 
int JS_SetModuleExportList (JSContext *ctx, JSModuleDef *m, const JSCFunctionListEntry *tab, int len)
 
static int JS_SetConstructor2 (JSContext *ctx, JSValueConst func_obj, JSValueConst proto, int proto_flags, int ctor_flags)
 
int JS_SetConstructor (JSContext *ctx, JSValueConst func_obj, JSValueConst proto)
 
static JSValue JS_NewCConstructor (JSContext *ctx, int class_id, const char *name, JSCFunction *func, int length, JSCFunctionEnum cproto, int magic, JSValueConst parent_ctor, const JSCFunctionListEntry *ctor_fields, int n_ctor_fields, const JSCFunctionListEntry *proto_fields, int n_proto_fields, int flags)
 
static JSValue js_global_eval (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_global_isNaN (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_global_isFinite (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int js_obj_to_desc (JSContext *ctx, JSPropertyDescriptor *d, JSValueConst desc)
 
static __exception int JS_DefinePropertyDesc (JSContext *ctx, JSValueConst obj, JSAtom prop, JSValueConst desc, int flags)
 
static __exception int JS_ObjectDefineProperties (JSContext *ctx, JSValueConst obj, JSValueConst properties)
 
static JSValue js_object_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_object_create (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_getPrototypeOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_object_setPrototypeOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_defineProperty (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_object_defineProperties (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object___defineGetter__ (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_object_getOwnPropertyDescriptor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_object_getOwnPropertyDescriptors (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue JS_GetOwnPropertyNames2 (JSContext *ctx, JSValueConst obj1, int flags, int kind)
 
static JSValue js_object_getOwnPropertyNames (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_getOwnPropertySymbols (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_keys (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int kind)
 
static JSValue js_object_isExtensible (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int reflect)
 
static JSValue js_object_preventExtensions (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int reflect)
 
static JSValue js_object_hasOwnProperty (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_hasOwn (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_valueOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_toLocaleString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_assign (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_seal (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int freeze_flag)
 
static JSValue js_object_isSealed (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int is_frozen)
 
static JSValue js_object_fromEntries (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_is (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue JS_SpeciesConstructor (JSContext *ctx, JSValueConst obj, JSValueConst defaultConstructor)
 
static JSValue js_object_get___proto__ (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_object_set___proto__ (JSContext *ctx, JSValueConst this_val, JSValueConst proto)
 
static JSValue js_object_isPrototypeOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object_propertyIsEnumerable (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_object___lookupGetter__ (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int setter)
 
static JSValue js_function_proto (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_function_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv, int magic)
 
static JSValue js_function_apply (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_function_call (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_function_bind (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_function_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_function_hasInstance (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue iterator_to_array (JSContext *ctx, JSValueConst items)
 
static JSValue js_error_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv, int magic)
 
static JSValue js_error_isError (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_aggregate_error_constructor (JSContext *ctx, JSValueConst errors)
 
static int JS_CopySubArray (JSContext *ctx, JSValueConst obj, int64_t to_pos, int64_t from_pos, int64_t count, int dir)
 
static JSValue js_array_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_array_from (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_of (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_isArray (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_get_this (JSContext *ctx, JSValueConst this_val)
 
static JSValue JS_ArraySpeciesGetCtor (JSContext *ctx, JSValueConst obj)
 
static JSValue JS_ArrayCreateFromCtor (JSContext *ctx, JSValueConst ctor, int64_t len)
 
static JSValue JS_ArraySpeciesCreate (JSContext *ctx, JSValueConst obj, int64_t len)
 
static int JS_isConcatSpreadable (JSContext *ctx, JSValueConst obj)
 
static JSValue js_array_at (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_with (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_concat (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array___speciesCreate (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_every (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int special)
 
static JSValue js_array_reduce (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int special)
 
static JSValue js_array_fill (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_includes (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_indexOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_lastIndexOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_find (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int mode)
 
static JSValue js_array_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_join (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int toLocaleString)
 
static JSValue js_array_pop (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int shift)
 
static JSValue js_array_push (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int unshift)
 
static JSValue js_array_reverse (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_toReversed (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_slice (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_splice (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_toSpliced (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_copyWithin (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int64_t JS_FlattenIntoArray (JSContext *ctx, JSValueConst target, JSValueConst source, int64_t sourceLen, int64_t targetIndex, int depth, JSValueConst mapperFunction, JSValueConst thisArg)
 
static JSValue js_array_flatten (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int map)
 
static int js_array_cmp_generic (const void *a, const void *b, void *opaque)
 
static JSValue js_array_sort (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_toSorted (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static void js_array_iterator_finalizer (JSRuntime *rt, JSValue val)
 
static void js_array_iterator_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void js_iterator_wrap_finalizer (JSRuntime *rt, JSValue val)
 
static void js_iterator_wrap_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_iterator_wrap_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int *pdone, int magic)
 
static JSValue js_iterator_constructor_getset (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_iterator_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static void js_iterator_concat_finalizer (JSRuntime *rt, JSValue val)
 
static void js_iterator_concat_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_iterator_concat_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int *pdone, int magic)
 
static JSValue js_iterator_concat_return (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_iterator_concat (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_iterator_from (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_create_iterator_helper (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_iterator_proto_func (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_iterator_proto_reduce (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_iterator_proto_toArray (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_iterator_proto_iterator (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_iterator_proto_get_toStringTag (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_iterator_proto_set_toStringTag (JSContext *ctx, JSValueConst this_val, JSValueConst val)
 
static void js_iterator_helper_finalizer (JSRuntime *rt, JSValue val)
 
static void js_iterator_helper_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_iterator_helper_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int *pdone, int magic)
 
static JSValue js_number_isNaN (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_number_isFinite (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_number_isInteger (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_number_isSafeInteger (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_thisNumberValue (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_number_valueOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int js_get_radix (JSContext *ctx, JSValueConst val)
 
static JSValue js_number_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_number_toFixed (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_number_toExponential (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_number_toPrecision (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_parseInt (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_parseFloat (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_thisBooleanValue (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_boolean_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_boolean_valueOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int js_string_get_own_property (JSContext *ctx, JSPropertyDescriptor *desc, JSValueConst obj, JSAtom prop)
 
static int js_string_define_own_property (JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
 
static int js_string_delete_property (JSContext *ctx, JSValueConst obj, JSAtom prop)
 
static JSValue js_thisStringValue (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_string_fromCharCode (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_fromCodePoint (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_raw (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
JSValue js_string_codePointRange (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_charCodeAt (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_charAt (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int is_at)
 
static JSValue js_string_codePointAt (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_concat (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int string_cmp (JSString *p1, JSString *p2, int x1, int x2, int len)
 
static int string_indexof_char (JSString *p, int c, int from)
 
static int string_indexof (JSString *p1, JSString *p2, int from)
 
static int64_t string_advance_index (JSString *p, int64_t index, BOOL unicode)
 
static JSValue js_string_isWellFormed (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_toWellFormed (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_indexOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int lastIndexOf)
 
static int js_is_regexp (JSContext *ctx, JSValueConst obj)
 
static JSValue js_string_includes (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static int check_regexp_g_flag (JSContext *ctx, JSValueConst regexp)
 
static JSValue js_string_match (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int atom)
 
static int js_string_GetSubstitution (JSContext *ctx, StringBuffer *b, JSValueConst matched, JSString *sp, uint32_t position, JSValueConst captures_val, JSValueConst namedCaptures, JSValueConst rep, uint8_t **captures, uint32_t captures_len)
 
static JSValue js_string_replace (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int is_replaceAll)
 
static JSValue js_string_split (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_substring (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_substr (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_slice (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_pad (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int padEnd)
 
static JSValue js_string_repeat (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_trim (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static int string_prevc (JSString *p, int *pidx)
 
static BOOL test_final_sigma (JSString *p, int sigma_pos)
 
static JSValue js_string_toLowerCase (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int to_lower)
 
static int JS_ToUTF32String (JSContext *ctx, uint32_t **pbuf, JSValueConst val1)
 
static JSValue JS_NewUTF32String (JSContext *ctx, const uint32_t *buf, int len)
 
static int js_string_normalize1 (JSContext *ctx, uint32_t **pout_buf, JSValueConst val, UnicodeNormalizationEnum n_type)
 
static JSValue js_string_normalize (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int js_UTF32_compare (const uint32_t *buf1, int buf1_len, const uint32_t *buf2, int buf2_len)
 
static JSValue js_string_localeCompare (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_string_iterator_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
 
static JSValue js_string_CreateHTML (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
int JS_AddIntrinsicStringNormalize (JSContext *ctx)
 
static double js_fmin (double a, double b)
 
static double js_fmax (double a, double b)
 
static JSValue js_math_min_max (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static double js_math_sign (double a)
 
static double js_math_round (double a)
 
static JSValue js_math_hypot (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static double js_math_f16round (double a)
 
static double js_math_fround (double a)
 
static JSValue js_math_imul (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_math_clz32 (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static void sum_precise_init (SumPreciseState *s)
 
static void sum_precise_renorm (SumPreciseState *s)
 
static void sum_precise_add (SumPreciseState *s, double d)
 
static double sum_precise_get_result (SumPreciseState *s)
 
static JSValue js_math_sumPrecise (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static uint64_t xorshift64star (uint64_t *pstate)
 
static void js_random_init (JSContext *ctx)
 
static JSValue js_math_random (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int getTimezoneOffset (int64_t time)
 
static void js_regexp_finalizer (JSRuntime *rt, JSValue val)
 
static JSValue js_compile_regexp (JSContext *ctx, JSValueConst pattern, JSValueConst flags)
 
static JSValue JS_NewRegexp (JSContext *ctx, JSValue pattern, JSValue bc)
 
static JSValue js_regexp_set_internal (JSContext *ctx, JSValue obj, JSValue pattern, JSValue bc)
 
static JSRegExp * js_get_regexp (JSContext *ctx, JSValueConst obj, BOOL throw_error)
 
static JSValue js_regexp_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_regexp_compile (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_regexp_get_source (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_regexp_get_flag (JSContext *ctx, JSValueConst this_val, int mask)
 
static JSValue js_regexp_get_flags (JSContext *ctx, JSValueConst this_val)
 
int lre_check_stack_overflow (void *opaque, size_t alloca_size)
 
int lre_check_timeout (void *opaque)
 
void * lre_realloc (void *opaque, void *ptr, size_t size)
 
static JSValue js_regexp_escape (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static force_inline int js_regexp_get_lastIndex (JSContext *ctx, int64_t *plast_index, JSValueConst this_val)
 
static force_inline int js_regexp_set_lastIndex (JSContext *ctx, JSValueConst this_val, int last_index)
 
static JSValue js_regexp_exec (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_regexp_replace (JSContext *ctx, JSValueConst this_val, JSValueConst arg, JSValueConst rep_val)
 
static JSValue JS_RegExpExec (JSContext *ctx, JSValueConst r, JSValueConst s)
 
static JSValue js_regexp_test (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_regexp_Symbol_match (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static void js_regexp_string_iterator_finalizer (JSRuntime *rt, JSValue val)
 
static void js_regexp_string_iterator_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_regexp_string_iterator_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
 
static JSValue js_regexp_Symbol_matchAll (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int value_buffer_init (JSContext *ctx, ValueBuffer *b)
 
static void value_buffer_free (ValueBuffer *b)
 
static int value_buffer_append (ValueBuffer *b, JSValue val)
 
static JSShapeProperty * find_property_regexp (JSProperty **ppr, JSObject *p, JSAtom atom)
 
static BOOL check_regexp_getter (JSContext *ctx, JSObject *p, JSAtom atom, JSCFunction *func, int magic)
 
static BOOL js_is_standard_regexp (JSContext *ctx, JSValueConst obj)
 
static JSValue js_regexp_Symbol_replace (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_regexp_Symbol_search (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_regexp_Symbol_split (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
void JS_AddIntrinsicRegExpCompiler (JSContext *ctx)
 
int JS_AddIntrinsicRegExp (JSContext *ctx)
 
static int json_parse_expect (JSParseState *s, int tok)
 
static void json_parse_record_init_obj (JSContext *ctx, JSONParseRecord *pr, JSValueConst val)
 
static void json_parse_record_init_array (JSContext *ctx, JSONParseRecord *pr, JSValueConst val)
 
static void json_parse_record_init_primitive (JSContext *ctx, JSONParseRecord *pr, JSValueConst val, uint32_t source_pos, uint32_t source_len)
 
static int json_parse_record_resize_hash (JSContext *ctx, JSONParseRecordObject *po, uint32_t new_hash_size)
 
static JSONParseRecord * json_parse_record_add (JSContext *ctx, JSONParseRecord *pr, JSAtom key, int *psize)
 
static JSONParseRecord * json_parse_record_find (JSONParseRecord *pr, JSAtom key)
 
static void json_free_parse_record (JSContext *ctx, JSONParseRecord *pr)
 
static JSValue json_parse_value (JSParseState *s, JSONParseRecord *pr)
 
JSValue JS_ParseJSON3 (JSContext *ctx, const char *buf, size_t buf_len, const char *filename, int flags, JSONParseRecord *pr)
 
JSValue JS_ParseJSON2 (JSContext *ctx, const char *buf, size_t buf_len, const char *filename, int flags)
 
JSValue JS_ParseJSON (JSContext *ctx, const char *buf, size_t buf_len, const char *filename)
 
static JSValue internalize_json_property (JSContext *ctx, JSValueConst holder, JSAtom name, JSValueConst reviver, const char *text_str, JSONParseRecord *pr)
 
static JSValue js_json_parse (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_json_isRawJSON (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static BOOL is_valid_raw_json_char (int c)
 
static JSValue js_json_rawJSON (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int JS_ToQuotedString (JSContext *ctx, StringBuffer *b, JSValueConst val1)
 
static int JS_ToQuotedStringFree (JSContext *ctx, StringBuffer *b, JSValue val)
 
static JSValue js_json_check (JSContext *ctx, JSONStringifyContext *jsc, JSValueConst holder, JSValue val, JSValueConst key)
 
static int js_json_to_str (JSContext *ctx, JSONStringifyContext *jsc, JSValueConst holder, JSValue val, JSValueConst indent)
 
JSValue JS_JSONStringify (JSContext *ctx, JSValueConst obj, JSValueConst replacer, JSValueConst space0)
 
static JSValue js_json_stringify (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
int JS_AddIntrinsicJSON (JSContext *ctx)
 
static JSValue js_reflect_apply (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_reflect_construct (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_reflect_deleteProperty (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_reflect_get (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_reflect_has (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_reflect_set (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_reflect_setPrototypeOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_reflect_ownKeys (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static void js_proxy_finalizer (JSRuntime *rt, JSValue val)
 
static void js_proxy_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSProxyData * get_proxy_method (JSContext *ctx, JSValue *pmethod, JSValueConst obj, JSAtom name)
 
static JSValue js_proxy_get_prototype (JSContext *ctx, JSValueConst obj)
 
static int js_proxy_set_prototype (JSContext *ctx, JSValueConst obj, JSValueConst proto_val)
 
static int js_proxy_is_extensible (JSContext *ctx, JSValueConst obj)
 
static int js_proxy_prevent_extensions (JSContext *ctx, JSValueConst obj)
 
static int js_proxy_has (JSContext *ctx, JSValueConst obj, JSAtom atom)
 
static JSValue js_proxy_get (JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst receiver)
 
static int js_proxy_set (JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst value, JSValueConst receiver, int flags)
 
static JSValue js_create_desc (JSContext *ctx, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
 
static int js_proxy_get_own_property (JSContext *ctx, JSPropertyDescriptor *pdesc, JSValueConst obj, JSAtom prop)
 
static int js_proxy_define_own_property (JSContext *ctx, JSValueConst obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
 
static int js_proxy_delete_property (JSContext *ctx, JSValueConst obj, JSAtom atom)
 
static int find_prop_key (const JSPropertyEnum *tab, int n, JSAtom atom)
 
static int js_proxy_get_own_property_names (JSContext *ctx, JSPropertyEnum **ptab, uint32_t *plen, JSValueConst obj)
 
static JSValue js_proxy_call_constructor (JSContext *ctx, JSValueConst func_obj, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_proxy_call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_obj, int argc, JSValueConst *argv, int flags)
 
static JSValue js_proxy_constructor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_proxy_revoke (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_proxy_revoke_constructor (JSContext *ctx, JSValueConst proxy_obj)
 
static JSValue js_proxy_revocable (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
int JS_AddIntrinsicProxy (JSContext *ctx)
 
static JSValue js_symbol_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_thisSymbolValue (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_symbol_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_symbol_valueOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_symbol_get_description (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_symbol_for (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_symbol_keyFor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static BOOL js_weakref_is_target (JSValueConst val)
 
static BOOL js_weakref_is_live (JSValueConst val)
 
static void js_weakref_free (JSRuntime *rt, JSValue val)
 
static JSValue js_weakref_new (JSContext *ctx, JSValueConst val)
 
static JSValue js_map_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv, int magic)
 
static JSValue map_normalize_key (JSContext *ctx, JSValue key)
 
static JSValueConst map_normalize_key_const (JSContext *ctx, JSValueConst key)
 
static uint32_t map_hash32 (uint32_t a, int hash_bits)
 
static uint32_t map_hash64 (uint64_t a, int hash_bits)
 
static uint32_t map_hash_pointer (uintptr_t a, int hash_bits)
 
static uint32_t map_hash_key (JSValueConst key, int hash_bits)
 
static JSMapRecord * map_find_record (JSContext *ctx, JSMapState *s, JSValueConst key)
 
static void map_hash_resize (JSContext *ctx, JSMapState *s)
 
static JSMapRecord * map_add_record (JSContext *ctx, JSMapState *s, JSValueConst key)
 
static JSMapRecord * set_add_record (JSContext *ctx, JSMapState *s, JSValueConst key)
 
static void map_delete_record_internal (JSRuntime *rt, JSMapState *s, JSMapRecord *mr)
 
static void map_decref_record (JSRuntime *rt, JSMapRecord *mr)
 
static JSValue js_map_set (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_map_get (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue map_delete_record (JSContext *ctx, JSMapState *s, JSValueConst key)
 
static JSValue js_map_getOrInsert (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_map_has (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_map_delete (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_map_clear (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_map_get_size (JSContext *ctx, JSValueConst this_val, int magic)
 
static JSValue js_map_forEach (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static void js_map_finalizer (JSRuntime *rt, JSValue val)
 
static void js_map_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static void js_map_iterator_finalizer (JSRuntime *rt, JSValue val)
 
static void js_map_iterator_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_create_map_iterator (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_map_iterator_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
 
static int get_set_record (JSContext *ctx, JSValueConst obj, int64_t *psize, JSValue *phas, JSValue *pkeys)
 
static JSValue js_copy_set (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_set_isDisjointFrom (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_set_isSubsetOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_set_isSupersetOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_set_intersection (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_set_difference (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_set_symmetricDifference (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_set_union (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
int JS_AddIntrinsicMapSet (JSContext *ctx)
 
JSPromiseStateEnum JS_PromiseState (JSContext *ctx, JSValue promise)
 
JSValue JS_PromiseResult (JSContext *ctx, JSValue promise)
 
static int js_create_resolving_functions (JSContext *ctx, JSValue *args, JSValueConst promise)
 
static void promise_reaction_data_free (JSRuntime *rt, JSPromiseReactionData *rd)
 
static JSValue promise_reaction_job (JSContext *ctx, int argc, JSValueConst *argv)
 
void JS_SetHostPromiseRejectionTracker (JSRuntime *rt, JSHostPromiseRejectionTracker *cb, void *opaque)
 
static void fulfill_or_reject_promise (JSContext *ctx, JSValueConst promise, JSValueConst value, BOOL is_reject)
 
static void reject_promise (JSContext *ctx, JSValueConst promise, JSValueConst value)
 
static JSValue js_promise_resolve_thenable_job (JSContext *ctx, int argc, JSValueConst *argv)
 
static void js_promise_resolve_function_free_resolved (JSRuntime *rt, JSPromiseFunctionDataResolved *sr)
 
static void js_promise_resolve_function_finalizer (JSRuntime *rt, JSValue val)
 
static void js_promise_resolve_function_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_promise_resolve_function_call (JSContext *ctx, JSValueConst func_obj, JSValueConst this_val, int argc, JSValueConst *argv, int flags)
 
static void js_promise_finalizer (JSRuntime *rt, JSValue val)
 
static void js_promise_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_promise_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_promise_executor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_promise_executor_new (JSContext *ctx)
 
JSValue JS_NewPromiseCapability (JSContext *ctx, JSValue *resolving_funcs)
 
static JSValue js_promise_withResolvers (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_promise_try (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static __exception int remainingElementsCount_add (JSContext *ctx, JSValueConst resolve_element_env, int addend)
 
static JSValue js_promise_all_resolve_element (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_promise_all (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_promise_race (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_promise_catch (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_promise_finally_value_thunk (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_promise_finally_thrower (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_promise_then_finally_func (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_promise_finally (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static void js_async_from_sync_iterator_finalizer (JSRuntime *rt, JSValue val)
 
static void js_async_from_sync_iterator_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_async_from_sync_iterator_unwrap (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_async_from_sync_iterator_unwrap_func_create (JSContext *ctx, BOOL done)
 
static JSValue js_async_from_sync_iterator_close_wrap (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic, JSValue *func_data)
 
static JSValue js_async_from_sync_iterator_close_wrap_func_create (JSContext *ctx, JSValueConst sync_iter)
 
static JSValue js_async_from_sync_iterator_next (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
int JS_AddIntrinsicPromise (JSContext *ctx)
 
static int string_get_hex (JSString *p, int k, int n)
 
static int isURIReserved (int c)
 
static int hex_decode (JSContext *ctx, JSString *p, int k)
 
static JSValue js_global_decodeURI (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int isComponent)
 
static int isUnescaped (int c)
 
static int isURIUnescaped (int c, int isComponent)
 
static int encodeURI_hex (StringBuffer *b, int c)
 
static JSValue js_global_encodeURI (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int isComponent)
 
static JSValue js_global_escape (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_global_unescape (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int64_t math_mod (int64_t a, int64_t b)
 
static int64_t floor_div (int64_t a, int64_t b)
 
static JSValue js_Date_parse (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static __exception int JS_ThisTimeValue (JSContext *ctx, double *valp, JSValueConst this_val)
 
static JSValue JS_SetThisTimeValue (JSContext *ctx, JSValueConst this_val, double v)
 
static int64_t days_from_year (int64_t y)
 
static int64_t days_in_year (int64_t y)
 
static int64_t year_from_days (int64_t *days)
 
static __exception int get_date_fields (JSContext *ctx, JSValueConst obj, double fields[minimum_length(9)], int is_local, int force)
 
static double time_clip (double t)
 
static double set_date_fields (double fields[minimum_length(7)], int is_local)
 
static double set_date_fields_checked (double fields[minimum_length(7)], int is_local)
 
static JSValue get_date_field (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue set_date_field (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static int64_t date_now (void)
 
static JSValue js_date_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_Date_UTC (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static BOOL string_skip_char (const uint8_t *sp, int *pp, int c)
 
static int string_skip_spaces (const uint8_t *sp, int *pp)
 
static int string_skip_separators (const uint8_t *sp, int *pp)
 
static int string_skip_until (const uint8_t *sp, int *pp, const char *stoplist)
 
static BOOL string_get_digits (const uint8_t *sp, int *pp, int *pval, int min_digits, int max_digits)
 
static BOOL string_get_milliseconds (const uint8_t *sp, int *pp, int *pval)
 
static uint8_t upper_ascii (uint8_t c)
 
static BOOL string_get_tzoffset (const uint8_t *sp, int *pp, int *tzp, BOOL strict)
 
static BOOL string_match (const uint8_t *sp, int *pp, const char *s)
 
static int find_abbrev (const uint8_t *sp, int p, const char *list, int count)
 
static BOOL string_get_month (const uint8_t *sp, int *pp, int *pval)
 
static BOOL js_date_parse_isostring (const uint8_t *sp, int fields[9], BOOL *is_local)
 
static BOOL string_get_tzabbr (const uint8_t *sp, int *pp, int *offset)
 
static BOOL js_date_parse_otherstring (const uint8_t *sp, int fields[minimum_length(9)], BOOL *is_local)
 
static JSValue js_Date_now (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_date_Symbol_toPrimitive (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_date_getTimezoneOffset (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_date_getTime (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_date_setTime (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_date_setYear (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_date_toJSON (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
JSValue JS_NewDate (JSContext *ctx, double epoch_ms)
 
int JS_AddIntrinsicDate (JSContext *ctx)
 
int JS_AddIntrinsicEval (JSContext *ctx)
 
static JSValue JS_ToBigIntCtorFree (JSContext *ctx, JSValue val)
 
static JSValue js_bigint_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_thisBigIntValue (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_bigint_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_bigint_valueOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_bigint_asUintN (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int asIntN)
 
static int JS_AddIntrinsicBigInt (JSContext *ctx)
 
int JS_AddIntrinsicBaseObjects (JSContext *ctx)
 
static JSValue js_array_buffer_constructor2 (JSContext *ctx, JSValueConst new_target, uint64_t len, uint64_t *max_len, JSClassID class_id)
 
static JSValue js_array_buffer_constructor1 (JSContext *ctx, JSValueConst new_target, uint64_t len, uint64_t *max_len)
 
JSValue JS_NewArrayBuffer (JSContext *ctx, uint8_t *buf, size_t len, JSFreeArrayBufferDataFunc *free_func, void *opaque, BOOL is_shared)
 
JSValue JS_NewArrayBufferCopy (JSContext *ctx, const uint8_t *buf, size_t len)
 
static JSValue js_array_buffer_constructor0 (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv, JSClassID class_id)
 
static JSValue js_array_buffer_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_shared_array_buffer_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static void js_array_buffer_finalizer (JSRuntime *rt, JSValue val)
 
static JSValue js_array_buffer_isView (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_array_buffer_get_detached (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_array_buffer_get_byteLength (JSContext *ctx, JSValueConst this_val, int class_id)
 
static JSValue js_array_buffer_get_maxByteLength (JSContext *ctx, JSValueConst this_val, int class_id)
 
static JSValue js_array_buffer_get_resizable (JSContext *ctx, JSValueConst this_val, int class_id)
 
static void js_array_buffer_update_typed_arrays (JSArrayBuffer *abuf)
 
void JS_DetachArrayBuffer (JSContext *ctx, JSValueConst obj)
 
uint8_t * JS_GetArrayBuffer (JSContext *ctx, size_t *psize, JSValueConst obj)
 
static JSValue js_array_buffer_transfer (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int transfer_to_fixed_length)
 
static JSValue js_array_buffer_resize (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int class_id)
 
static JSValue js_array_buffer_slice (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int class_id)
 
static JSObject * get_typed_array (JSContext *ctx, JSValueConst this_val)
 
static int validate_typed_array (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_typed_array_get_length (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_typed_array_get_buffer (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_typed_array_get_byteLength (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_typed_array_get_byteOffset (JSContext *ctx, JSValueConst this_val)
 
JSValue JS_NewTypedArray (JSContext *ctx, int argc, JSValueConst *argv, JSTypedArrayEnum type)
 
JSValue JS_GetTypedArrayBuffer (JSContext *ctx, JSValueConst obj, size_t *pbyte_offset, size_t *pbyte_length, size_t *pbytes_per_element)
 
static JSValue js_typed_array_get_toStringTag (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_typed_array_set_internal (JSContext *ctx, JSValueConst dst, JSValueConst src, JSValueConst off)
 
static JSValue js_typed_array_at (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_with (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_set (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_create_typed_array_iterator (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
 
static JSValue js_typed_array_create (JSContext *ctx, JSValueConst ctor, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_from (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_of (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_copyWithin (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_fill (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_find (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int mode)
 
static JSValue js_typed_array_indexOf (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int special)
 
static JSValue js_typed_array_join (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int toLocaleString)
 
static JSValue js_typed_array_reverse (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_toReversed (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static void slice_memcpy (uint8_t *dst, const uint8_t *src, size_t len)
 
static JSValue js_typed_array_slice (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_subarray (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static int js_cmp_doubles (double x, double y)
 
static int js_TA_cmp_int8 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_uint8 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_int16 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_uint16 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_int32 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_uint32 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_int64 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_uint64 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_float16 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_float32 (const void *a, const void *b, void *opaque)
 
static int js_TA_cmp_float64 (const void *a, const void *b, void *opaque)
 
static JSValue js_TA_get_int8 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_uint8 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_int16 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_uint16 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_int32 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_uint32 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_int64 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_uint64 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_float16 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_float32 (JSContext *ctx, const void *a)
 
static JSValue js_TA_get_float64 (JSContext *ctx, const void *a)
 
static int js_TA_cmp_generic (const void *a, const void *b, void *opaque)
 
static JSValue js_typed_array_sort (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_toSorted (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static size_t b64_encode (const uint8_t *src, size_t len, char *dst, const unsigned char *alpha)
 
static size_t b64_skip_ws (const char *src, size_t len, size_t index, const uint8_t *dec_table)
 
static size_t from_base64 (const char *src, size_t src_len, uint8_t *dst, size_t max_len, const uint8_t *dec_table, int last_chunk, size_t *p_read, int *p_err)
 
static size_t u8a_hex_encode (const uint8_t *src, size_t len, char *dst)
 
static size_t u8a_hex_decode (const char *src, size_t src_len, uint8_t *dst, size_t max_len, size_t *p_read, int *p_err)
 
static JSValue JS_NewUint8ArrayCopy (JSContext *ctx, const uint8_t *buf, size_t len)
 
static JSObject * check_uint8array (JSContext *ctx, JSValueConst this_val)
 
static int get_uint8array_bytes (JSContext *ctx, JSObject *p, uint8_t **pdata, size_t *plen)
 
static int check_options_object (JSContext *ctx, JSValueConst options)
 
static int parse_alphabet_option (JSContext *ctx, JSValueConst options)
 
static int parse_last_chunk_option (JSContext *ctx, JSValueConst options)
 
static JSValue js_uint8array_to_base64 (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_uint8array_to_hex (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_uint8array_from_base64 (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_uint8array_from_hex (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_make_read_written (JSContext *ctx, size_t read, size_t written)
 
static JSValue js_uint8array_set_from_base64 (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_uint8array_set_from_hex (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_base_constructor (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_typed_array_constructor_obj (JSContext *ctx, JSValueConst new_target, JSValueConst obj, int classid)
 
static void js_typed_array_finalizer (JSRuntime *rt, JSValue val)
 
static void js_typed_array_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_dataview_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static BOOL dataview_is_oob (JSObject *p)
 
static JSObject * get_dataview (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_dataview_get_buffer (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_dataview_get_byteLength (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_dataview_get_byteOffset (JSContext *ctx, JSValueConst this_val)
 
static JSValue js_dataview_getValue (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv, int class_id)
 
static JSValue js_dataview_setValue (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv, int class_id)
 
static JSObject * js_atomics_get_buf (JSContext *ctx, JSValueConst obj, JSValueConst idx_val, uint64_t *pidx, int is_waitable)
 
static JSValue js_atomics_op (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv, int op)
 
static JSValue js_atomics_store (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static JSValue js_atomics_isLockFree (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static void cpu_pause (void)
 
static JSValue js_atomics_pause (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static JSValue js_atomics_wait (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static JSValue js_atomics_notify (JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
 
static int JS_AddIntrinsicAtomics (JSContext *ctx)
 
int JS_AddIntrinsicTypedArrays (JSContext *ctx)
 
static void js_weakref_finalizer (JSRuntime *rt, JSValue val)
 
static JSValue js_weakref_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_weakref_deref (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static void js_finrec_finalizer (JSRuntime *rt, JSValue val)
 
static void js_finrec_mark (JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
 
static JSValue js_finrec_job (JSContext *ctx, int argc, JSValueConst *argv)
 
static JSValue js_finrec_constructor (JSContext *ctx, JSValueConst new_target, int argc, JSValueConst *argv)
 
static JSValue js_finrec_register (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
static JSValue js_finrec_unregister (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
 
int JS_AddIntrinsicWeakRef (JSContext *ctx)
 
int JS_IsArrayBuffer (JSContext *ctx, JSValueConst val)
 
int JS_SwitchClassID (JSValue obj, JSClassID class_id)
 

Variables

static uint8_t const typed_array_size_log2 [JS_TYPED_ARRAY_COUNT]
 
static const char js_atom_init []
 
 JSStrictEqModeEnum
 
static const JSClassExoticMethods js_arguments_exotic_methods
 
static const JSClassExoticMethods js_string_exotic_methods
 
static const JSClassExoticMethods js_proxy_exotic_methods
 
static const JSClassExoticMethods js_module_ns_exotic_methods
 
static JSClassID js_class_id_alloc = JS_CLASS_INIT_COUNT
 
static const uint16_t js_malloc_block_sizes [JS_MALLOC_BLOCK_SIZE_COUNT]
 
static JSClassShortDef const js_std_class_def []
 
static const JSMallocFunctions def_malloc_funcs
 
static pthread_mutex_t js_class_id_mutex = PTHREAD_MUTEX_INITIALIZER
 
static const uint32_t rope_bucket_len [ROPE_N_BUCKETS]
 
static JSAutoInitFunc * js_autoinit_func_table []
 
static const js_limb_t js_pow_dec [JS_LIMB_DIGITS+1]
 
static char const digits [36]
 
static const uint8_t digits_per_limb_table [JS_RADIX_MAX - 1]
 
static const js_limb_t radix_base_table [JS_RADIX_MAX - 1]
 
static const uint16_t func_kind_to_class_id []
 
static const JSOpCode opcode_info [OP_COUNT+(OP_TEMP_END - OP_TEMP_START)]
 
static const JSCFunctionListEntry js_object_funcs []
 
static const JSCFunctionListEntry js_object_proto_funcs []
 
static const JSCFunctionListEntry js_function_proto_funcs []
 
static const JSCFunctionListEntry js_error_proto_funcs []
 
static const JSCFunctionListEntry js_native_error_proto_funcs []
 
static const JSCFunctionListEntry js_error_funcs []
 
static const JSCFunctionListEntry js_array_funcs []
 
static const JSCFunctionListEntry js_iterator_wrap_proto_funcs []
 
static const JSCFunctionListEntry js_iterator_concat_proto_funcs []
 
static const JSCFunctionListEntry js_iterator_funcs []
 
static const JSCFunctionListEntry js_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_iterator_helper_proto_funcs []
 
static const JSCFunctionListEntry js_array_unscopables_funcs []
 
static const JSCFunctionListEntry js_array_proto_funcs []
 
static const JSCFunctionListEntry js_array_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_number_funcs []
 
static const JSCFunctionListEntry js_number_proto_funcs []
 
static const JSCFunctionListEntry js_boolean_proto_funcs []
 
static const JSCFunctionListEntry js_string_funcs []
 
static const JSCFunctionListEntry js_string_proto_funcs []
 
static const JSCFunctionListEntry js_string_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_string_proto_normalize []
 
static const JSCFunctionListEntry js_math_funcs []
 
static const JSCFunctionListEntry js_math_obj []
 
static const JSCFunctionListEntry js_regexp_funcs []
 
static const JSCFunctionListEntry js_regexp_proto_funcs []
 
static const JSCFunctionListEntry js_regexp_string_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_json_funcs []
 
static const JSCFunctionListEntry js_json_obj []
 
static const JSCFunctionListEntry js_reflect_funcs []
 
static const JSCFunctionListEntry js_reflect_obj []
 
static const JSCFunctionListEntry js_proxy_funcs []
 
static const JSClassShortDef js_proxy_class_def []
 
static const JSCFunctionListEntry js_symbol_proto_funcs []
 
static const JSCFunctionListEntry js_symbol_funcs []
 
static const JSCFunctionListEntry js_map_funcs []
 
static const JSCFunctionListEntry js_map_proto_funcs []
 
static const JSCFunctionListEntry js_map_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_set_proto_funcs []
 
static const JSCFunctionListEntry js_set_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_weak_map_proto_funcs []
 
static const JSCFunctionListEntry js_weak_set_proto_funcs []
 
static const JSCFunctionListEntry *const js_map_proto_funcs_ptr [6]
 
static const uint8_t js_map_proto_funcs_count [6]
 
static const JSCFunctionListEntry js_generator_function_proto_funcs []
 
static const JSCFunctionListEntry js_generator_proto_funcs []
 
static const JSCFunctionListEntry js_promise_funcs []
 
static const JSCFunctionListEntry js_promise_proto_funcs []
 
static const JSCFunctionListEntry js_async_function_proto_funcs []
 
static const JSCFunctionListEntry js_async_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_async_from_sync_iterator_proto_funcs []
 
static const JSCFunctionListEntry js_async_generator_function_proto_funcs []
 
static const JSCFunctionListEntry js_async_generator_proto_funcs []
 
static JSClassShortDef const js_async_class_def []
 
static const JSCFunctionListEntry js_global_funcs []
 
static int const month_days [] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
 
static char const month_names [] = "JanFebMarAprMayJunJulAugSepOctNovDec"
 
static char const day_names [] = "SunMonTueWedThuFriSat"
 
struct { 
 
char name [6]
 
int16_t offset
 
} js_tzabbr [] 
 
static const JSCFunctionListEntry js_date_funcs []
 
static const JSCFunctionListEntry js_date_proto_funcs []
 
static const JSCFunctionListEntry js_bigint_funcs []
 
static const JSCFunctionListEntry js_bigint_proto_funcs []
 
static const JSCFunctionListEntry js_array_buffer_funcs []
 
static const JSCFunctionListEntry js_array_buffer_proto_funcs []
 
static const JSCFunctionListEntry js_shared_array_buffer_funcs []
 
static const JSCFunctionListEntry js_shared_array_buffer_proto_funcs []
 
static const unsigned char b64_enc [64]
 
static const unsigned char b64url_enc [64]
 
static const uint8_t b64_dec [256]
 
static const uint8_t b64url_dec [256]
 
static const char u8a_hex_digits [] = "0123456789abcdef"
 
static const JSCFunctionListEntry js_typed_array_base_funcs []
 
static const JSCFunctionListEntry js_typed_array_base_proto_funcs []
 
static const JSCFunctionListEntry js_typed_array_funcs []
 
static const JSCFunctionListEntry js_uint8array_proto_funcs []
 
static const JSCFunctionListEntry js_uint8array_funcs []
 
static const JSCFunctionListEntry js_dataview_proto_funcs []
 
static pthread_mutex_t js_atomics_mutex = PTHREAD_MUTEX_INITIALIZER
 
static struct list_head js_atomics_waiter_list
 
static const JSCFunctionListEntry js_atomics_funcs []
 
static const JSCFunctionListEntry js_atomics_obj []
 
static const JSCFunctionListEntry js_weakref_proto_funcs []
 
static const JSClassShortDef js_weakref_class_def []
 
static const JSCFunctionListEntry js_finrec_proto_funcs []
 
static const JSClassShortDef js_finrec_class_def []
 

Data Structure Documentation

◆ JSMallocBlockHeader

struct JSMallocBlockHeader
Data Fields
union JSMallocBlockHeader.u u
uint8_t block_size_idx
uint8_t gc_obj_type: 7
uint8_t mark: 1
int ref_count

◆ JSMallocLargeBlockHeader

struct JSMallocLargeBlockHeader
+ Collaboration diagram for JSMallocLargeBlockHeader:
Data Fields
JSMallocBlockHeader header

◆ JSMallocArena

struct JSMallocArena
+ Collaboration diagram for JSMallocArena:
Data Fields
struct list_head free_link
struct list_head link
uint8_t block_size_idx
uint16_t n_used_blocks
uint16_t n_blocks
uint16_t first_free_block

◆ JSMallocContext

struct JSMallocContext
+ Collaboration diagram for JSMallocContext:
Data Fields
struct list_head arena_list[JS_MALLOC_BLOCK_SIZE_COUNT]
struct list_head free_arena_list[JS_MALLOC_BLOCK_SIZE_COUNT]

◆ JSRuntime

struct JSRuntime
+ Collaboration diagram for JSRuntime:
Data Fields
JSMallocContext malloc_ctx
const char * rt_info
int atom_hash_size
int atom_count
int atom_size
int atom_count_resize
uint32_t * atom_hash
JSAtomStruct ** atom_array
int atom_free_index
int class_count
JSClass * class_array
struct list_head context_list
struct list_head gc_obj_list
struct list_head gc_zero_ref_count_list
struct list_head tmp_obj_list
JSGCPhaseEnum gc_phase: 8
size_t malloc_gc_threshold
struct list_head weakref_list
struct list_head string_list
uintptr_t stack_size
uintptr_t stack_top
uintptr_t stack_limit
JSValue current_exception
BOOL current_exception_is_uncatchable: 8
BOOL in_out_of_memory: 8
struct JSStackFrame * current_stack_frame
JSInterruptHandler * interrupt_handler
void * interrupt_opaque
JSHostPromiseRejectionTracker * host_promise_rejection_tracker
void * host_promise_rejection_tracker_opaque
struct list_head job_list
JSModuleNormalizeFunc * module_normalize_func
BOOL module_loader_has_attr
union JSRuntime.u u
JSModuleCheckSupportedImportAttributes * module_check_attrs
void * module_loader_opaque
int64_t module_async_evaluation_next_timestamp
BOOL can_block: 8
JSSharedArrayBufferFunctions sab_funcs
uint8_t strip_flags
int shape_hash_bits
int shape_hash_size
int shape_hash_count
JSShape ** shape_hash
void * user_opaque

◆ JSClass

struct JSClass
+ Collaboration diagram for JSClass:
Data Fields
uint32_t class_id
JSAtom class_name
JSClassFinalizer * finalizer
JSClassGCMark * gc_mark
JSClassCall * call
const JSClassExoticMethods * exotic

◆ JSStackFrame

struct JSStackFrame
+ Collaboration diagram for JSStackFrame:
Data Fields
struct JSStackFrame * prev_frame
JSValue cur_func
JSValue * arg_buf
JSValue * var_buf
struct JSVarRef ** var_refs
const uint8_t * cur_pc
int arg_count
int js_mode
JSValue * cur_sp

◆ JSGCObjectHeader

struct JSGCObjectHeader
+ Collaboration diagram for JSGCObjectHeader:
Data Fields
struct list_head link

◆ JSWeakRefHeader

struct JSWeakRefHeader
+ Collaboration diagram for JSWeakRefHeader:
Data Fields
struct list_head link
JSWeakRefHeaderTypeEnum weakref_type

◆ JSVarRef

struct JSVarRef
+ Collaboration diagram for JSVarRef:
Data Fields
JSGCObjectHeader header
uint8_t is_detached
uint8_t is_lexical
uint8_t is_const
JSValue * pvalue
union JSVarRef.__unnamed354__ __unnamed__

◆ JSBigInt

struct JSBigInt
Data Fields
uint32_t len
js_limb_t tab[]

◆ JSBigIntBuf

struct JSBigIntBuf
Data Fields
js_limb_t big_int_buf[sizeof(JSBigInt)/sizeof(js_limb_t)]
js_limb_t tab[(64+JS_LIMB_BITS - 1)/JS_LIMB_BITS]

◆ JSFloat64Union

union JSFloat64Union
Data Fields
double d
uint64_t u64
uint32_t u32[2]

◆ JSString

struct JSString
+ Collaboration diagram for JSAtomStruct:
Data Fields
uint32_t len: 31
uint8_t is_wide_char: 1
uint32_t hash: 30
uint8_t atom_type: 2
uint32_t hash_next
struct list_head link
union JSString.u u

◆ JSStringRope

struct JSStringRope
+ Collaboration diagram for JSStringRope:
Data Fields
uint32_t len
uint8_t is_wide_char
uint8_t depth
JSValue left
JSValue right

◆ JSClosureVar

struct JSClosureVar
Data Fields
JSClosureTypeEnum closure_type: 3
uint8_t is_lexical: 1
uint8_t is_const: 1
uint8_t var_kind: 4
uint16_t var_idx
JSAtom var_name

◆ JSBytecodeVarDef

struct JSBytecodeVarDef
Data Fields
JSAtom var_name
int scope_next
uint8_t is_const: 1
uint8_t is_lexical: 1
uint8_t is_captured: 1
uint8_t has_scope: 1
uint8_t var_kind: 4
uint16_t var_ref_idx

◆ JSFunctionBytecode

struct JSFunctionBytecode
+ Collaboration diagram for JSFunctionBytecode:
Data Fields
JSGCObjectHeader header
uint8_t js_mode
uint8_t has_prototype: 1
uint8_t has_simple_parameter_list: 1
uint8_t is_derived_class_constructor: 1
uint8_t need_home_object: 1
uint8_t func_kind: 2
uint8_t new_target_allowed: 1
uint8_t super_call_allowed: 1
uint8_t super_allowed: 1
uint8_t arguments_allowed: 1
uint8_t has_debug: 1
uint8_t read_only_bytecode: 1
uint8_t is_direct_or_indirect_eval: 1
uint8_t * byte_code_buf
int byte_code_len
JSAtom func_name
JSBytecodeVarDef * vardefs
JSClosureVar * closure_var
uint16_t arg_count
uint16_t var_count
uint16_t defined_arg_count
uint16_t stack_size
uint16_t var_ref_count
JSContext * realm
JSValue * cpool
int cpool_count
int closure_var_count
struct JSFunctionBytecode.debug debug

◆ JSBoundFunction

struct JSBoundFunction
+ Collaboration diagram for JSBoundFunction:
Data Fields
JSValue func_obj
JSValue this_val
int argc
JSValue argv[0]

◆ JSForInIterator

struct JSForInIterator
+ Collaboration diagram for JSForInIterator:
Data Fields
JSValue obj
uint32_t idx
uint32_t atom_count
uint8_t in_prototype_chain
uint8_t is_array
JSPropertyEnum * tab_atom

◆ JSRegExp

struct JSRegExp
+ Collaboration diagram for JSRegExp:
Data Fields
JSString * pattern
JSString * bytecode

◆ JSProxyData

struct JSProxyData
+ Collaboration diagram for JSProxyData:
Data Fields
JSValue target
JSValue handler
uint8_t is_func
uint8_t is_revoked

◆ JSArrayBuffer

struct JSArrayBuffer
+ Collaboration diagram for JSArrayBuffer:
Data Fields
int byte_length
int max_byte_length
uint8_t detached
uint8_t shared
uint8_t * data
struct list_head array_list
void * opaque
JSFreeArrayBufferDataFunc * free_func

◆ JSTypedArray

struct JSTypedArray
+ Collaboration diagram for JSTypedArray:
Data Fields
struct list_head link
JSObject * obj
JSObject * buffer
uint32_t offset
uint32_t length
BOOL track_rab

◆ JSGlobalObject

struct JSGlobalObject
+ Collaboration diagram for JSGlobalObject:
Data Fields
JSValue uninitialized_vars

◆ JSAsyncFunctionState

struct JSAsyncFunctionState
+ Collaboration diagram for JSAsyncFunctionState:
Data Fields
JSGCObjectHeader header
JSValue this_val
int argc
BOOL throw_flag
BOOL is_completed
JSValue resolving_funcs[2]
JSStackFrame frame

◆ JSBinaryOperatorDefEntry

struct JSBinaryOperatorDefEntry
+ Collaboration diagram for JSBinaryOperatorDefEntry:
Data Fields
uint32_t operator_index
JSObject * ops[JS_OVOP_BINARY_COUNT]

◆ JSBinaryOperatorDef

struct JSBinaryOperatorDef
+ Collaboration diagram for JSBinaryOperatorDef:
Data Fields
int count
JSBinaryOperatorDefEntry * tab

◆ JSOperatorSetData

struct JSOperatorSetData
+ Collaboration diagram for JSOperatorSetData:
Data Fields
uint32_t operator_counter
BOOL is_primitive
JSObject * self_ops[JS_OVOP_COUNT]
JSBinaryOperatorDef left
JSBinaryOperatorDef right

◆ JSReqModuleEntry

struct JSReqModuleEntry
+ Collaboration diagram for JSReqModuleEntry:
Data Fields
JSAtom module_name
JSModuleDef *JSValue attributes

◆ JSExportEntry

struct JSExportEntry
Data Fields
union JSExportEntry.u u
JSExportTypeEnum export_type
JSAtom local_name
JSAtom export_name

◆ JSStarExportEntry

struct JSStarExportEntry
Data Fields
int req_module_idx

◆ JSImportEntry

struct JSImportEntry
Data Fields
int var_idx
BOOL is_star
JSAtom import_name
int req_module_idx

◆ JSModuleDef

struct JSModuleDef
+ Collaboration diagram for JSModuleDef:
Data Fields
JSGCObjectHeader header
JSAtom module_name
struct list_head link
JSReqModuleEntry * req_module_entries
int req_module_entries_count
int req_module_entries_size
JSExportEntry * export_entries
int export_entries_count
int export_entries_size
JSStarExportEntry * star_export_entries
int star_export_entries_count
int star_export_entries_size
JSImportEntry * import_entries
int import_entries_count
int import_entries_size
JSValue module_ns
JSValue func_obj
JSModuleInitFunc * init_func
BOOL has_tla: 8
BOOL resolved: 8
BOOL func_created: 8
JSModuleStatus status: 8
int dfs_index
int dfs_ancestor_index
JSModuleDef * stack_prev
JSModuleDef ** async_parent_modules
int async_parent_modules_count
int async_parent_modules_size
int pending_async_dependencies
BOOL async_evaluation
int64_t async_evaluation_timestamp
JSModuleDef * cycle_root
JSValue promise
JSValue resolving_funcs[2]
BOOL eval_has_exception: 8
JSValue eval_exception
JSValue meta_obj
JSValue private_value

◆ JSJobEntry

struct JSJobEntry
+ Collaboration diagram for JSJobEntry:
Data Fields
struct list_head link
JSContext * realm
JSJobFunc * job_func
int argc
JSValue argv[0]

◆ JSProperty

struct JSProperty
Data Fields
union JSProperty.u u

◆ JSShapeProperty

struct JSShapeProperty
Data Fields
uint32_t hash_next: 26
uint32_t flags: 6
JSAtom atom

◆ JSShape

struct JSShape
+ Collaboration diagram for JSShape:
Data Fields
JSGCObjectHeader header
uint8_t is_hashed
uint32_t hash
uint32_t prop_hash_mask
int prop_size
int prop_count
int deleted_prop_count
JSShape * shape_hash_next
JSObject * proto
uint32_t hash_table[]

◆ JSObject

struct JSObject
+ Collaboration diagram for JSObject:
Data Fields
JSGCObjectHeader header
uint8_t is_std_array_prototype: 1
uint8_t extensible: 1
uint8_t free_mark: 1
uint8_t is_exotic: 1
uint8_t fast_array: 1
uint8_t is_constructor: 1
uint8_t has_immutable_prototype: 1
uint8_t tmp_mark: 1
uint8_t is_HTMLDDA: 1
uint16_t class_id
uint32_t weakref_count
JSShape * shape
JSProperty * prop
union JSObject.u u

◆ JSMapRecord

struct JSMapRecord
+ Collaboration diagram for JSMapRecord:
Data Fields
int ref_count
BOOL empty: 8
struct list_head link
struct JSMapRecord * hash_next
JSValue key
JSValue value

◆ JSMapState

struct JSMapState
+ Collaboration diagram for JSMapState:
Data Fields
BOOL is_weak
struct list_head records
uint32_t record_count
JSMapRecord ** hash_table
int hash_bits
uint32_t hash_size
uint32_t record_count_threshold
JSWeakRefHeader weakref_header

◆ JSClassShortDef

struct JSClassShortDef
Data Fields
JSAtom class_name
JSClassFinalizer * finalizer
JSClassGCMark * gc_mark

◆ StringBuffer

struct StringBuffer
+ Collaboration diagram for StringBuffer:
Data Fields
JSContext * ctx
JSString * str
int len
int size
int is_wide_char
int error_status

◆ JSStringRopeIter

struct JSStringRopeIter
Data Fields
JSValueConst stack[JS_STRING_ROPE_MAX_DEPTH]
int stack_len

◆ JSCFunctionDataRecord

struct JSCFunctionDataRecord
+ Collaboration diagram for JSCFunctionDataRecord:
Data Fields
JSCFunctionData * func
uint8_t length
uint8_t data_len
uint16_t magic
JSValue data[0]

◆ JSMemoryUsage_helper

struct JSMemoryUsage_helper
Data Fields
double memory_used_count
double str_count
double str_size
int64_t js_func_count
double js_func_size
int64_t js_func_code_size
int64_t js_func_pc2line_count
int64_t js_func_pc2line_size

◆ JSPrintValueState

struct JSPrintValueState
+ Collaboration diagram for JSPrintValueState:
Data Fields
JSRuntime * rt
JSContext * ctx
JSPrintValueOptions options
JSPrintValueWrite * write_func
void * write_opaque
int level
JSObject * print_stack[JS_PRINT_MAX_DEPTH]

◆ JSGeneratorData

struct JSGeneratorData
+ Collaboration diagram for JSGeneratorData:
Data Fields
JSGeneratorStateEnum state
JSAsyncFunctionState * func_state

◆ JSAsyncGeneratorRequest

struct JSAsyncGeneratorRequest
+ Collaboration diagram for JSAsyncGeneratorRequest:
Data Fields
struct list_head link
int completion_type
JSValue result
JSValue promise
JSValue resolving_funcs[2]

◆ JSAsyncGeneratorData

struct JSAsyncGeneratorData
+ Collaboration diagram for JSAsyncGeneratorData:
Data Fields
JSObject * generator
JSAsyncGeneratorStateEnum state
JSAsyncFunctionState * func_state
struct list_head queue

◆ BlockEnv

struct BlockEnv
+ Collaboration diagram for BlockEnv:
Data Fields
struct BlockEnv * prev
JSAtom label_name
int label_break
int label_cont
int drop_count
int label_finally
int scope_level
uint8_t has_iterator: 1
uint8_t is_regular_stmt: 1

◆ JSGlobalVar

struct JSGlobalVar
Data Fields
int cpool_idx
uint8_t force_init: 1
uint8_t is_lexical: 1
uint8_t is_const: 1
int scope_level
JSAtom var_name

◆ RelocEntry

struct RelocEntry
+ Collaboration diagram for RelocEntry:
Data Fields
struct RelocEntry * next
uint32_t addr
int size

◆ JumpSlot

struct JumpSlot
Data Fields
int op
int size
int pos
int label

◆ LabelSlot

struct LabelSlot
+ Collaboration diagram for LabelSlot:
Data Fields
int ref_count
int pos
int pos2
int addr
RelocEntry * first_reloc

◆ LineNumberSlot

struct LineNumberSlot
Data Fields
uint32_t pc
uint32_t source_pos

◆ GetLineColCache

struct GetLineColCache
Data Fields
const uint8_t * ptr
int line_num
int col_num
const uint8_t * buf_start

◆ JSVarScope

struct JSVarScope
Data Fields
int parent
int first

◆ JSVarDef

struct JSVarDef
Data Fields
JSAtom var_name
int scope_level
int scope_next
uint8_t is_const: 1
uint8_t is_lexical: 1
uint8_t is_captured: 1
uint8_t is_static_private: 1
uint8_t var_kind: 4
uint16_t var_ref_idx
int func_pool_idx

◆ JSFunctionDef

struct JSFunctionDef
+ Collaboration diagram for JSFunctionDef:
Data Fields
JSContext * ctx
struct JSFunctionDef * parent
int parent_cpool_idx
int parent_scope_level
struct list_head child_list
struct list_head link
BOOL is_eval
int eval_type
BOOL is_global_var
BOOL is_func_expr
BOOL has_home_object
BOOL has_prototype
BOOL has_simple_parameter_list
BOOL has_parameter_expressions
BOOL has_use_strict
BOOL has_eval_call
BOOL has_arguments_binding
BOOL has_this_binding
BOOL new_target_allowed
BOOL super_call_allowed
BOOL super_allowed
BOOL arguments_allowed
BOOL is_derived_class_constructor
BOOL in_function_body
JSFunctionKindEnum func_kind: 8
JSParseFunctionEnum func_type: 8
uint8_t js_mode
JSAtom func_name
JSVarDef * vars
int var_size
int var_count
JSVarDef * args
int arg_size
int arg_count
int defined_arg_count
int var_ref_count
int var_object_idx
int arg_var_object_idx
int arguments_var_idx
int arguments_arg_idx
int func_var_idx
int eval_ret_idx
int this_var_idx
int new_target_var_idx
int this_active_func_var_idx
int home_object_var_idx
BOOL need_home_object
int scope_level
int scope_first
int scope_size
int scope_count
JSVarScope * scopes
JSVarScope def_scope_array[4]
int body_scope
int global_var_count
int global_var_size
JSGlobalVar * global_vars
DynBuf byte_code
int last_opcode_pos
const uint8_t * last_opcode_source_ptr
BOOL use_short_opcodes
LabelSlot * label_slots
int label_size
int label_count
BlockEnv * top_break
JSValue * cpool
int cpool_count
int cpool_size
int closure_var_count
int closure_var_size
JSClosureVar * closure_var
JumpSlot * jump_slots
int jump_size
int jump_count
LineNumberSlot * line_number_slots
int line_number_size
int line_number_count
int line_number_last
int line_number_last_pc
BOOL strip_debug: 1
BOOL strip_source: 1
JSAtom filename
uint32_t source_pos
GetLineColCache * get_line_col_cache
DynBuf pc2line
char * source
int source_len
JSModuleDef *BOOL has_await

◆ JSToken

struct JSToken
Data Fields
int val
const uint8_t * ptr
union JSToken.u u

◆ JSParseState

struct JSParseState
+ Collaboration diagram for JSParseState:
Data Fields
JSContext * ctx
const char * filename
JSToken token
BOOL got_lf
const uint8_t * last_ptr
const uint8_t * buf_start
const uint8_t * buf_ptr
const uint8_t * buf_end
JSFunctionDef * cur_func
BOOL is_module
BOOL allow_html_comments
BOOL ext_json
GetLineColCache get_line_col_cache

◆ JSOpCode

struct JSOpCode
Data Fields
uint8_t size
uint8_t n_pop
uint8_t n_push
uint8_t fmt

◆ JSParsePos

struct JSParsePos
Data Fields
BOOL got_lf
const uint8_t * ptr

◆ ClassFieldsDef

struct ClassFieldsDef
+ Collaboration diagram for ClassFieldsDef:
Data Fields
JSFunctionDef * fields_init_fd
int computed_fields_count
BOOL need_brand
int brand_push_pos
BOOL is_static

◆ JSResolveEntry

struct JSResolveEntry
+ Collaboration diagram for JSResolveEntry:
Data Fields
JSModuleDef *JSAtom name

◆ JSResolveState

struct JSResolveState
+ Collaboration diagram for JSResolveState:
Data Fields
JSResolveEntry * array
int size
int count

◆ ExportedNameEntry

struct ExportedNameEntry
Data Fields
JSAtom export_name
ExportedNameEntryEnum export_type
union ExportedNameEntry.u u

◆ GetExportNamesState

struct GetExportNamesState
+ Collaboration diagram for GetExportNamesState:
Data Fields
JSModuleDef ** modules
int modules_size
int modules_count
ExportedNameEntry * exported_names
int exported_names_size
int exported_names_count

◆ ExecModuleList

struct ExecModuleList
+ Collaboration diagram for ExecModuleList:
Data Fields
JSModuleDef ** tab
int count
int size

◆ CodeContext

struct CodeContext
Data Fields
const uint8_t * bc_buf
int bc_len
int pos
int line_num
int op
int idx
int label
int val
JSAtom atom

◆ StackSizeState

struct StackSizeState
Data Fields
int bc_len
int stack_len_max
uint16_t * stack_level_tab
int32_t * catch_pos_tab
int * pc_stack
int pc_stack_len
int pc_stack_size

◆ JSObjectListEntry

struct JSObjectListEntry
+ Collaboration diagram for JSObjectListEntry:
Data Fields
JSObject * obj
uint32_t hash_next

◆ JSObjectList

struct JSObjectList
+ Collaboration diagram for JSObjectList:
Data Fields
JSObjectListEntry * object_tab
int object_count
int object_size
uint32_t * hash_table
uint32_t hash_size

◆ BCWriterState

struct BCWriterState
+ Collaboration diagram for BCWriterState:
Data Fields
JSContext * ctx
DynBuf dbuf
BOOL allow_bytecode: 8
BOOL allow_sab: 8
BOOL allow_reference: 8
uint32_t first_atom
uint32_t * atom_to_idx
int atom_to_idx_size
JSAtom * idx_to_atom
int idx_to_atom_count
int idx_to_atom_size
uint8_t ** sab_tab
int sab_tab_len
int sab_tab_size
JSObjectList object_list

◆ BCReaderState

struct BCReaderState
+ Collaboration diagram for BCReaderState:
Data Fields
JSContext * ctx
const uint8_t * buf_start
const uint8_t * ptr
const uint8_t * buf_end
uint32_t first_atom
uint32_t idx_to_atom_count
JSAtom * idx_to_atom
int error_state
BOOL allow_sab: 8
BOOL allow_bytecode: 8
BOOL is_rom_data: 8
BOOL allow_reference: 8
JSObject ** objects
int objects_count
int objects_size

◆ ValueSlot

struct ValueSlot
+ Collaboration diagram for ValueSlot:
Data Fields
JSValue val
JSString * str
int64_t pos

◆ array_sort_context

struct array_sort_context
+ Collaboration diagram for array_sort_context:
Data Fields
JSContext * ctx
int exception
int has_method
JSValueConst method

◆ JSArrayIteratorData

struct JSArrayIteratorData
+ Collaboration diagram for JSArrayIteratorData:
Data Fields
JSValue obj
JSIteratorKindEnum kind
uint32_t idx

◆ JSIteratorWrapData

struct JSIteratorWrapData
+ Collaboration diagram for JSIteratorWrapData:
Data Fields
JSValue wrapped_iter
JSValue wrapped_next

◆ JSIteratorConcatData

struct JSIteratorConcatData
+ Collaboration diagram for JSIteratorConcatData:
Data Fields
int index
int count
BOOL running
JSValue iter
JSValue next
JSValue values[]

◆ JSIteratorHelperData

struct JSIteratorHelperData
+ Collaboration diagram for JSIteratorHelperData:
Data Fields
JSValue obj
JSValue next
JSValue func
JSValue inner
int64_t count
JSIteratorHelperKindEnum kind: 8
uint8_t executing: 1
uint8_t done: 1

◆ SumPreciseState

struct SumPreciseState
Data Fields
SumPreciseStateEnum state
uint32_t counter
int n_limbs
int64_t acc[SUM_PRECISE_ACC_LEN]

◆ JSRegExpStringIteratorData

struct JSRegExpStringIteratorData
+ Collaboration diagram for JSRegExpStringIteratorData:
Data Fields
JSValue iterating_regexp
JSValue iterated_string
BOOL global
BOOL unicode
BOOL done

◆ ValueBuffer

struct ValueBuffer
+ Collaboration diagram for ValueBuffer:
Data Fields
JSContext * ctx
JSValue * arr
JSValue def[4]
int len
int size
int error_status

◆ JSONParseRecordObject

struct JSONParseRecordObject
+ Collaboration diagram for JSONParseRecordObject:
Data Fields
int count
uint32_t hash_size
struct JSONParseRecordEntry * entries
uint32_t * hash_table

◆ JSONParseRecord

struct JSONParseRecord
+ Collaboration diagram for JSONParseRecord:
Data Fields
JSValue value
union JSONParseRecord.u u

◆ JSONParseRecordEntry

struct JSONParseRecordEntry
+ Collaboration diagram for JSONParseRecordEntry:
Data Fields
JSAtom atom
uint32_t hash_next
JSONParseRecord parse_record

◆ JSONStringifyContext

struct JSONStringifyContext
+ Collaboration diagram for JSONStringifyContext:
Data Fields
JSValueConst replacer_func
JSValue stack
JSValue property_list
JSValue gap
JSValue empty
StringBuffer * b

◆ JSMapIteratorData

struct JSMapIteratorData
+ Collaboration diagram for JSMapIteratorData:
Data Fields
JSValue obj
JSIteratorKindEnum kind
JSMapRecord * cur_record

◆ JSPromiseData

struct JSPromiseData
+ Collaboration diagram for JSPromiseData:
Data Fields
JSPromiseStateEnum promise_state
struct list_head promise_reactions[2]
BOOL is_handled
JSValue promise_result

◆ JSPromiseFunctionDataResolved

struct JSPromiseFunctionDataResolved
Data Fields
int ref_count
BOOL already_resolved

◆ JSPromiseFunctionData

struct JSPromiseFunctionData
+ Collaboration diagram for JSPromiseFunctionData:
Data Fields
JSValue promise
JSPromiseFunctionDataResolved * presolved

◆ JSPromiseReactionData

struct JSPromiseReactionData
+ Collaboration diagram for JSPromiseReactionData:
Data Fields
struct list_head link
JSValue resolving_funcs[2]
JSValue handler

◆ JSAsyncFromSyncIteratorData

struct JSAsyncFromSyncIteratorData
+ Collaboration diagram for JSAsyncFromSyncIteratorData:
Data Fields
JSValue sync_iter
JSValue next_method

◆ JSAtomicsWaiter

struct JSAtomicsWaiter
+ Collaboration diagram for JSAtomicsWaiter:
Data Fields
struct list_head link
BOOL linked
pthread_cond_t cond
int32_t * ptr

◆ JSWeakRefData

struct JSWeakRefData
+ Collaboration diagram for JSWeakRefData:
Data Fields
JSWeakRefHeader weakref_header
JSValue target

◆ JSFinRecEntry

struct JSFinRecEntry
+ Collaboration diagram for JSFinRecEntry:
Data Fields
struct list_head link
JSValue target
JSValue held_val
JSValue token

◆ JSFinalizationRegistryData

struct JSFinalizationRegistryData
+ Collaboration diagram for JSFinalizationRegistryData:
Data Fields
JSWeakRefHeader weakref_header
struct list_head entries
JSContext * realm
JSValue cb

◆ JSMallocBlockHeader.u

union JSMallocBlockHeader.u
Data Fields
uint16_t block_idx
uint16_t free_next

◆ JSRuntime.u

union JSRuntime.u
Data Fields
JSModuleLoaderFunc * module_loader_func
JSModuleLoaderFunc2 * module_loader_func2

◆ JSVarRef.__unnamed354__

union JSVarRef.__unnamed354__
Data Fields
JSValue value
struct JSVarRef.__unnamed354__.__unnamed356__ __unnamed__

◆ JSVarRef.__unnamed354__.__unnamed356__

struct JSVarRef.__unnamed354__.__unnamed356__
Data Fields
uint16_t var_ref_idx
JSStackFrame * stack_frame

◆ JSString.u

union JSString.u
Data Fields
uint8_t str8[0]
uint16_t str16[0]

◆ JSFunctionBytecode.debug

struct JSFunctionBytecode.debug
Data Fields
JSAtom filename
int source_len
int pc2line_len
uint8_t * pc2line_buf
char * source

◆ JSExportEntry.u

union JSExportEntry.u
Data Fields
struct JSExportEntry.u.local local
int req_module_idx

◆ JSExportEntry.u.local

struct JSExportEntry.u.local
Data Fields
int var_idx
JSVarRef * var_ref

◆ JSProperty.u

union JSProperty.u
Data Fields
JSValue value
struct JSProperty.u.getset getset
JSVarRef * var_ref
struct JSProperty.u.init init

◆ JSProperty.u.getset

struct JSProperty.u.getset
Data Fields
JSObject * getter
JSObject * setter

◆ JSProperty.u.init

struct JSProperty.u.init
Data Fields
uintptr_t realm_and_id
void * opaque

◆ JSObject.u

union JSObject.u
Data Fields
void * opaque
struct JSBoundFunction * bound_function
struct JSCFunctionDataRecord * c_function_data_record
struct JSForInIterator * for_in_iterator
struct JSArrayBuffer * array_buffer
struct JSTypedArray * typed_array
struct JSMapState * map_state
struct JSMapIteratorData * map_iterator_data
struct JSArrayIteratorData * array_iterator_data
struct JSRegExpStringIteratorData * regexp_string_iterator_data
struct JSGeneratorData * generator_data
struct JSIteratorConcatData * iterator_concat_data
struct JSIteratorHelperData * iterator_helper_data
struct JSIteratorWrapData * iterator_wrap_data
struct JSProxyData * proxy_data
struct JSPromiseData * promise_data
struct JSPromiseFunctionData * promise_function_data
struct JSAsyncFunctionState * async_function_data
struct JSAsyncFromSyncIteratorData * async_from_sync_iterator_data
struct JSAsyncGeneratorData * async_generator_data
struct JSObject.u.func func
struct JSObject.u.cfunc cfunc
struct JSObject.u.array array
JSRegExp regexp
JSValue object_data
JSGlobalObject global_object

◆ JSObject.u.func

struct JSObject.u.func
Data Fields
struct JSFunctionBytecode * function_bytecode
JSVarRef ** var_refs
JSObject * home_object

◆ JSObject.u.cfunc

struct JSObject.u.cfunc
Data Fields
JSContext * realm
JSCFunctionType c_function
uint8_t length
uint8_t cproto
int16_t magic

◆ JSObject.u.array

struct JSObject.u.array
Data Fields
union JSObject.u.array.u1 u1
union JSObject.u.array.u u
uint32_t count

◆ JSObject.u.array.u1

union JSObject.u.array.u1
Data Fields
uint32_t size
struct JSTypedArray * typed_array

◆ JSObject.u.array.u

union JSObject.u.array.u
Data Fields
JSValue * values
JSVarRef ** var_refs
void * ptr
int8_t * int8_ptr
uint8_t * uint8_ptr
int16_t * int16_ptr
uint16_t * uint16_ptr
int32_t * int32_ptr
uint32_t * uint32_ptr
int64_t * int64_ptr
uint64_t * uint64_ptr
uint16_t * fp16_ptr
float * float_ptr
double * double_ptr

◆ JSToken.u

union JSToken.u
Data Fields
struct JSToken.u.str str
struct JSToken.u.num num
struct JSToken.u.ident ident
struct JSToken.u.regexp regexp

◆ JSToken.u.str

struct JSToken.u.str
Data Fields
JSValue str
int sep

◆ JSToken.u.num

struct JSToken.u.num
Data Fields
JSValue val

◆ JSToken.u.ident

struct JSToken.u.ident
Data Fields
JSAtom atom
BOOL has_escape
BOOL is_reserved

◆ JSToken.u.regexp

struct JSToken.u.regexp
Data Fields
JSValue body
JSValue flags

◆ ExportedNameEntry.u

union ExportedNameEntry.u
Data Fields
JSExportEntry * me
JSVarRef * var_ref

◆ JSONParseRecord.u

union JSONParseRecord.u
Data Fields
JSONParseRecordObject obj
struct JSONParseRecord.u.array array
struct JSONParseRecord.u.primitive primitive

◆ JSONParseRecord.u.array

struct JSONParseRecord.u.array
Data Fields
int count
struct JSONParseRecord * elements

◆ JSONParseRecord.u.primitive

struct JSONParseRecord.u.primitive
Data Fields
uint32_t source_pos
uint32_t source_len

Macro Definition Documentation

◆ OPTIMIZE

#define OPTIMIZE   1

◆ SHORT_OPCODES

#define SHORT_OPCODES   1

◆ DIRECT_DISPATCH

#define DIRECT_DISPATCH   1

◆ MALLOC_OVERHEAD

#define MALLOC_OVERHEAD   8

◆ CONFIG_PRINTF_RNDN

#define CONFIG_PRINTF_RNDN

◆ CONFIG_ATOMICS

#define CONFIG_ATOMICS

◆ CONFIG_STACK_CHECK

#define CONFIG_STACK_CHECK

◆ DUMP_LEAKS

#define DUMP_LEAKS   1

◆ CONFIG_VERSION

#define CONFIG_VERSION   "2025-09-13"

◆ JS_TYPED_ARRAY_COUNT

#define JS_TYPED_ARRAY_COUNT   (JS_CLASS_FLOAT64_ARRAY - JS_CLASS_UINT8C_ARRAY + 1)

◆ typed_array_size_log2

#define typed_array_size_log2 (   classid)    (typed_array_size_log2[(classid)- JS_CLASS_UINT8C_ARRAY])

◆ JS_MAX_LOCAL_VARS

#define JS_MAX_LOCAL_VARS   65534

◆ JS_STACK_SIZE_MAX

#define JS_STACK_SIZE_MAX   65534

◆ JS_STRING_LEN_MAX

#define JS_STRING_LEN_MAX   ((1 << 30) - 1)

◆ JS_STRING_ROPE_SHORT_LEN

#define JS_STRING_ROPE_SHORT_LEN   512

◆ JS_STRING_ROPE_SHORT2_LEN

#define JS_STRING_ROPE_SHORT2_LEN   8192

◆ JS_STRING_ROPE_MAX_DEPTH

#define JS_STRING_ROPE_MAX_DEPTH   60

◆ __exception

#define __exception   __attribute__((warn_unused_result))

◆ JS_VALUE_GET_OBJ

#define JS_VALUE_GET_OBJ (   v)    ((JSObject *)JS_VALUE_GET_PTR(v))

◆ JS_VALUE_GET_STRING

#define JS_VALUE_GET_STRING (   v)    ((JSString *)JS_VALUE_GET_PTR(v))

◆ JS_VALUE_GET_STRING_ROPE

#define JS_VALUE_GET_STRING_ROPE (   v)    ((JSStringRope *)JS_VALUE_GET_PTR(v))

◆ JS_MALLOC_ALIGN

#define JS_MALLOC_ALIGN   8

◆ JS_MALLOC_ARENA_SIZE

#define JS_MALLOC_ARENA_SIZE   4096

◆ JS_MALLOC_BLOCK_SIZE_COUNT

#define JS_MALLOC_BLOCK_SIZE_COUNT   31

◆ JS_MALLOC_MIN_SMALL_SIZE

#define JS_MALLOC_MIN_SMALL_SIZE   16

◆ JS_MALLOC_MAX_SMALL_SIZE

#define JS_MALLOC_MAX_SMALL_SIZE   512

◆ JS_MALLOC_LARGE_BLOCKS_ONLY

#define JS_MALLOC_LARGE_BLOCKS_ONLY   0

◆ FREE_NIL

#define FREE_NIL   0xffff

◆ JS_MODE_STRICT

#define JS_MODE_STRICT   (1 << 0)

◆ JS_MODE_ASYNC

#define JS_MODE_ASYNC   (1 << 2) /* async function */

◆ JS_MODE_BACKTRACE_BARRIER

#define JS_MODE_BACKTRACE_BARRIER   (1 << 3) /* stop backtrace before this frame */

◆ JS_LIMB_DIGITS

#define JS_LIMB_DIGITS   19

◆ JS_INTERRUPT_COUNTER_INIT

#define JS_INTERRUPT_COUNTER_INIT   10000

◆ JS_ATOM_HASH_MASK

#define JS_ATOM_HASH_MASK   ((1 << 30) - 1)

◆ JS_ATOM_HASH_PRIVATE

#define JS_ATOM_HASH_PRIVATE   JS_ATOM_HASH_MASK

◆ ARG_SCOPE_INDEX

#define ARG_SCOPE_INDEX   1

◆ ARG_SCOPE_END

#define ARG_SCOPE_END   (-2)

◆ PC2LINE_BASE

#define PC2LINE_BASE   (-1)

◆ PC2LINE_RANGE

#define PC2LINE_RANGE   5

◆ PC2LINE_OP_FIRST

#define PC2LINE_OP_FIRST   1

◆ PC2LINE_DIFF_PC_MAX

#define PC2LINE_DIFF_PC_MAX   ((255 - PC2LINE_OP_FIRST) / PC2LINE_RANGE)

◆ JS_PROP_INITIAL_SIZE

#define JS_PROP_INITIAL_SIZE   2

◆ JS_PROP_INITIAL_HASH_SIZE

#define JS_PROP_INITIAL_HASH_SIZE   4 /* must be a power of two */

◆ DEF [1/7]

#define DEF (   name,
  str 
)    JS_ATOM_ ## name,

◆ JS_ATOM_LAST_KEYWORD

#define JS_ATOM_LAST_KEYWORD   JS_ATOM_super

◆ JS_ATOM_LAST_STRICT_KEYWORD

#define JS_ATOM_LAST_STRICT_KEYWORD   JS_ATOM_yield

◆ DEF [2/7]

#define DEF (   name,
  str 
)    str "\0"

◆ FMT [1/4]

#define FMT (   f)    OP_FMT_ ## f,

◆ DEF [3/7]

#define DEF (   id,
  size,
  n_pop,
  n_push,
  f 
)

◆ FMT [2/4]

#define FMT (   f)

◆ DEF [4/7]

#define DEF (   id,
  size,
  n_pop,
  n_push,
  f 
)    OP_ ## id,

◆ def [1/2]

#define def (   id,
  size,
  n_pop,
  n_push,
  f 
)

◆ FMT [3/4]

#define FMT (   f)

◆ DEF [5/7]

#define DEF (   id,
  size,
  n_pop,
  n_push,
  f 
)

◆ def [2/2]

#define def (   id,
  size,
  n_pop,
  n_push,
  f 
)    OP_ ## id,

◆ HINT_STRING

#define HINT_STRING   0

◆ HINT_NUMBER

#define HINT_NUMBER   1

◆ HINT_NONE

#define HINT_NONE   2

◆ HINT_FORCE_ORDINARY

#define HINT_FORCE_ORDINARY   (1 << 4)

◆ malloc

#define malloc (   s)    malloc_is_forbidden(s)

◆ free

#define free (   p)    free_is_forbidden(p)

◆ realloc

#define realloc (   p,
  s 
)    realloc_is_forbidden(p,s)

◆ JS_ATOM_TAG_INT

#define JS_ATOM_TAG_INT   (1U << 31)

◆ JS_ATOM_MAX_INT

#define JS_ATOM_MAX_INT   (JS_ATOM_TAG_INT - 1)

◆ JS_ATOM_MAX

#define JS_ATOM_MAX   ((1U << 30) - 1)

◆ JS_ATOM_COUNT_RESIZE

#define JS_ATOM_COUNT_RESIZE (   n)    ((n) * 2)

◆ ATOM_GET_STR_BUF_SIZE

#define ATOM_GET_STR_BUF_SIZE   64

◆ ROPE_N_BUCKETS

#define ROPE_N_BUCKETS   44

◆ JS_BACKTRACE_FLAG_SKIP_FIRST_LEVEL

#define JS_BACKTRACE_FLAG_SKIP_FIRST_LEVEL   (1 << 0)

◆ JS_ThrowTypeErrorAtom

#define JS_ThrowTypeErrorAtom (   ctx,
  fmt,
  atom 
)    __JS_ThrowTypeErrorAtom(ctx, atom, fmt, "")

◆ JS_ThrowSyntaxErrorAtom

#define JS_ThrowSyntaxErrorAtom (   ctx,
  fmt,
  atom 
)    __JS_ThrowSyntaxErrorAtom(ctx, atom, fmt, "")

◆ DEFINE_GLOBAL_LEX_VAR

#define DEFINE_GLOBAL_LEX_VAR   (1 << 7)

◆ DEFINE_GLOBAL_FUNC_VAR

#define DEFINE_GLOBAL_FUNC_VAR   (1 << 6)

◆ JS_BIGINT_MAX_SIZE

#define JS_BIGINT_MAX_SIZE   ((1024 * 1024) / JS_LIMB_BITS) /* in limbs */

◆ ADDC

#define ADDC (   res,
  carry_out,
  op1,
  op2,
  carry_in 
)
Value:
do { \
js_limb_t __v, __a, __k, __k1; \
__v = (op1); \
__a = __v + (op2); \
__k1 = __a < __v; \
__k = (carry_in); \
__a = __a + __k; \
carry_out = (__a < __k) | __k1; \
res = __a; \
} while (0)
uint64_t js_limb_t
Definition quickjs.c:513

◆ UDIV1NORM_THRESHOLD

#define UDIV1NORM_THRESHOLD   3

◆ JS_RADIX_MAX

#define JS_RADIX_MAX   36

◆ ATOD_INT_ONLY

#define ATOD_INT_ONLY   (1 << 0)

◆ ATOD_ACCEPT_BIN_OCT

#define ATOD_ACCEPT_BIN_OCT   (1 << 2)

◆ ATOD_ACCEPT_LEGACY_OCTAL

#define ATOD_ACCEPT_LEGACY_OCTAL   (1 << 4)

◆ ATOD_ACCEPT_UNDERSCORES

#define ATOD_ACCEPT_UNDERSCORES   (1 << 5)

◆ ATOD_ACCEPT_SUFFIX

#define ATOD_ACCEPT_SUFFIX   (1 << 6)

◆ ATOD_TYPE_MASK

#define ATOD_TYPE_MASK   (3 << 7)

◆ ATOD_TYPE_FLOAT64

#define ATOD_TYPE_FLOAT64   (0 << 7)

◆ ATOD_TYPE_BIG_INT

#define ATOD_TYPE_BIG_INT   (1 << 7)

◆ ATOD_ACCEPT_PREFIX_AFTER_SIGN

#define ATOD_ACCEPT_PREFIX_AFTER_SIGN   (1 << 10)

◆ MAX_SAFE_INTEGER

#define MAX_SAFE_INTEGER   (((int64_t)1 << 53) - 1)

◆ JS_PRINT_MAX_DEPTH

#define JS_PRINT_MAX_DEPTH   8

◆ GLOBAL_VAR_OFFSET

#define GLOBAL_VAR_OFFSET   0x40000000

◆ ARGUMENT_VAR_OFFSET

#define ARGUMENT_VAR_OFFSET   0x20000000

◆ JS_DEFINE_CLASS_HAS_HERITAGE

#define JS_DEFINE_CLASS_HAS_HERITAGE   (1 << 0)

◆ JS_CALL_FLAG_COPY_ARGV

#define JS_CALL_FLAG_COPY_ARGV   (1 << 1)

◆ JS_CALL_FLAG_GENERATOR

#define JS_CALL_FLAG_GENERATOR   (1 << 2)

◆ FUNC_RET_AWAIT

#define FUNC_RET_AWAIT   0

◆ FUNC_RET_YIELD

#define FUNC_RET_YIELD   1

◆ FUNC_RET_YIELD_STAR

#define FUNC_RET_YIELD_STAR   2

◆ FUNC_RET_INITIAL_YIELD

#define FUNC_RET_INITIAL_YIELD   3

◆ SWITCH

#define SWITCH (   pc)    switch (opcode = *pc++)

◆ CASE

#define CASE (   op)    case op

◆ DEFAULT

#define DEFAULT   default

◆ BREAK

#define BREAK   break

◆ JS_THROW_VAR_RO

#define JS_THROW_VAR_RO   0

◆ JS_THROW_VAR_REDECL

#define JS_THROW_VAR_REDECL   1

◆ JS_THROW_VAR_UNINITIALIZED

#define JS_THROW_VAR_UNINITIALIZED   2

◆ JS_THROW_ERROR_DELETE_SUPER

#define JS_THROW_ERROR_DELETE_SUPER   3

◆ JS_THROW_ERROR_ITERATOR_THROW

#define JS_THROW_ERROR_ITERATOR_THROW   4

◆ GET_FIELD_INLINE

#define GET_FIELD_INLINE (   name,
  keep,
  is_length 
)

◆ OP_DEFINE_METHOD_METHOD

#define OP_DEFINE_METHOD_METHOD   0

◆ OP_DEFINE_METHOD_GETTER

#define OP_DEFINE_METHOD_GETTER   1

◆ OP_DEFINE_METHOD_SETTER

#define OP_DEFINE_METHOD_SETTER   2

◆ OP_DEFINE_METHOD_ENUMERABLE

#define OP_DEFINE_METHOD_ENUMERABLE   4

◆ GET_ARRAY_EL_INLINE

#define GET_ARRAY_EL_INLINE (   name,
  keep 
)

◆ OP_CMP

#define OP_CMP (   opcode,
  binary_op,
  slow_call 
)

◆ OP_CMP_EQ

#define OP_CMP_EQ (   opcode,
  inv 
)

◆ OP_CMP_STRICT_EQ

#define OP_CMP_STRICT_EQ (   opcode,
  inv 
)

◆ GEN_MAGIC_NEXT

#define GEN_MAGIC_NEXT   0

◆ GEN_MAGIC_RETURN

#define GEN_MAGIC_RETURN   1

◆ GEN_MAGIC_THROW

#define GEN_MAGIC_THROW   2

◆ TOK_FIRST_KEYWORD

#define TOK_FIRST_KEYWORD   TOK_NULL

◆ TOK_LAST_KEYWORD

#define TOK_LAST_KEYWORD   TOK_AWAIT

◆ CP_NBSP

#define CP_NBSP   0x00a0

◆ CP_BOM

#define CP_BOM   0xfeff

◆ CP_LS

#define CP_LS   0x2028

◆ CP_PS

#define CP_PS   0x2029

◆ FMT [4/4]

#define FMT (   f)

◆ DEF [6/7]

#define DEF (   id,
  size,
  n_pop,
  n_push,
  f 
)    { size, n_pop, n_push, OP_FMT_ ## f },

◆ short_opcode_info

#define short_opcode_info (   op)    opcode_info[op]

◆ PROP_TYPE_IDENT

#define PROP_TYPE_IDENT   0

◆ PROP_TYPE_VAR

#define PROP_TYPE_VAR   1

◆ PROP_TYPE_GET

#define PROP_TYPE_GET   2

◆ PROP_TYPE_SET

#define PROP_TYPE_SET   3

◆ PROP_TYPE_STAR

#define PROP_TYPE_STAR   4

◆ PROP_TYPE_ASYNC

#define PROP_TYPE_ASYNC   5

◆ PROP_TYPE_ASYNC_STAR

#define PROP_TYPE_ASYNC_STAR   6

◆ PROP_TYPE_PRIVATE

#define PROP_TYPE_PRIVATE   (1 << 4)

◆ SKIP_HAS_SEMI

#define SKIP_HAS_SEMI   (1 << 0)

◆ SKIP_HAS_ELLIPSIS

#define SKIP_HAS_ELLIPSIS   (1 << 1)

◆ SKIP_HAS_ASSIGNMENT

#define SKIP_HAS_ASSIGNMENT   (1 << 2)

◆ PF_IN_ACCEPTED

#define PF_IN_ACCEPTED   (1 << 0)

◆ PF_POSTFIX_CALL

#define PF_POSTFIX_CALL   (1 << 1)

◆ PF_POW_ALLOWED

#define PF_POW_ALLOWED   (1 << 2)

◆ PF_POW_FORBIDDEN

#define PF_POW_FORBIDDEN   (1 << 3)

◆ DECL_MASK_FUNC

#define DECL_MASK_FUNC   (1 << 0) /* allow normal function declaration */

◆ DECL_MASK_FUNC_WITH_LABEL

#define DECL_MASK_FUNC_WITH_LABEL   (1 << 1)

◆ DECL_MASK_OTHER

#define DECL_MASK_OTHER   (1 << 2) /* all other declarations */

◆ DECL_MASK_ALL

#define DECL_MASK_ALL   (DECL_MASK_FUNC | DECL_MASK_FUNC_WITH_LABEL | DECL_MASK_OTHER)

◆ M2

#define M2 (   op1,
  op2 
)    ((op1) | (((uint32_t) op2) << 8))

◆ M3

#define M3 (   op1,
  op2,
  op3 
)    ((op1) | (((uint32_t) op2) << 8) | (((uint32_t) op3) << 16))

◆ M4

#define M4 (   op1,
  op2,
  op3,
  op4 
)    ((op1) | (((uint32_t) op2) << 8) | (((uint32_t) op3) << 16) | (((uint32_t) op4) << 24))

◆ BC_VERSION

#define BC_VERSION   5

◆ bc_read_trace

#define bc_read_trace (   ...)

◆ JS_NEW_CTOR_NO_GLOBAL

#define JS_NEW_CTOR_NO_GLOBAL   (1 << 0) /* don't create a global binding */

◆ JS_NEW_CTOR_PROTO_CLASS

#define JS_NEW_CTOR_PROTO_CLASS   (1 << 1) /* the prototype class is 'class_id' instead of JS_CLASS_OBJECT */

◆ JS_NEW_CTOR_PROTO_EXIST

#define JS_NEW_CTOR_PROTO_EXIST   (1 << 2) /* the prototype is already defined */

◆ JS_NEW_CTOR_READONLY

#define JS_NEW_CTOR_READONLY   (1 << 3) /* read-only constructor field */

◆ DEF [7/7]

#define DEF (   name)
Value:
JS_PROP_STRING_DEF("message", "", JS_PROP_WRITABLE | JS_PROP_CONFIGURABLE ),
#define JS_PROP_ATOM_DEF(name, val, prop_flags)
Definition quickjs.h:1167
#define JS_PROP_WRITABLE
Definition quickjs.h:317
#define JS_PROP_CONFIGURABLE
Definition quickjs.h:316

◆ special_every

#define special_every   0

◆ special_some

#define special_some   1

◆ special_forEach

#define special_forEach   2

◆ special_map

#define special_map   3

◆ special_filter

#define special_filter   4

◆ special_TA

#define special_TA   8

◆ special_reduce

#define special_reduce   0

◆ special_reduceRight

#define special_reduceRight   1

◆ SP_LIMB_BITS

#define SP_LIMB_BITS   56

◆ SP_RND_BITS

#define SP_RND_BITS   (SP_LIMB_BITS - 53)

◆ SUM_PRECISE_ACC_LEN

#define SUM_PRECISE_ACC_LEN   39

◆ SUM_PRECISE_COUNTER_INIT

#define SUM_PRECISE_COUNTER_INIT   250

◆ RE_FLAG_COUNT

#define RE_FLAG_COUNT   8

◆ MAGIC_SET

#define MAGIC_SET   (1 << 0)

◆ MAGIC_WEAK

#define MAGIC_WEAK   (1 << 1)

◆ HASH_MUL32

#define HASH_MUL32   0x61C88647

◆ HASH_MUL64

#define HASH_MUL64   UINT64_C(0x61C8864680B583EB)

◆ PROMISE_MAGIC_all

#define PROMISE_MAGIC_all   0

◆ PROMISE_MAGIC_allSettled

#define PROMISE_MAGIC_allSettled   1

◆ PROMISE_MAGIC_any

#define PROMISE_MAGIC_any   2

◆ special_indexOf

#define special_indexOf   0

◆ special_lastIndexOf

#define special_lastIndexOf   1

◆ special_includes

#define special_includes   -1

◆ K_WS

#define K_WS   64

◆ K_ER

#define K_ER   65

◆ OP

#define OP (   op_name,
  func_name 
)
Value:
case ATOMICS_OP_ ## op_name | (0 << 3): \
a = func_name((_Atomic(uint8_t) *)ptr, v); \
break; \
case ATOMICS_OP_ ## op_name | (1 << 3): \
a = func_name((_Atomic(uint16_t) *)ptr, v); \
break; \
case ATOMICS_OP_ ## op_name | (2 << 3): \
a = func_name((_Atomic(uint32_t) *)ptr, v); \
break; \
case ATOMICS_OP_ ## op_name | (3 << 3): \
a = func_name((_Atomic(uint64_t) *)ptr, v); \
break;
unsigned short uint16_t
Definition inttypes.h:14
unsigned int uint32_t
Definition inttypes.h:15
unsigned char uint8_t
Definition inttypes.h:13
unsigned __int64 uint64_t
Definition inttypes.h:17

Typedef Documentation

◆ OPCodeEnum

typedef enum OPCodeEnum OPCodeEnum

◆ int128_t

typedef __int128 int128_t

◆ uint128_t

typedef unsigned __int128 uint128_t

◆ js_slimb_t

◆ js_limb_t

◆ js_sdlimb_t

◆ js_dlimb_t

◆ JSAutoInitFunc

typedef JSValue JSAutoInitFunc(JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
JS_CLASS_OBJECT 
JS_CLASS_ARRAY 
JS_CLASS_ERROR 
JS_CLASS_NUMBER 
JS_CLASS_STRING 
JS_CLASS_BOOLEAN 
JS_CLASS_SYMBOL 
JS_CLASS_ARGUMENTS 
JS_CLASS_MAPPED_ARGUMENTS 
JS_CLASS_DATE 
JS_CLASS_MODULE_NS 
JS_CLASS_C_FUNCTION 
JS_CLASS_BYTECODE_FUNCTION 
JS_CLASS_BOUND_FUNCTION 
JS_CLASS_C_FUNCTION_DATA 
JS_CLASS_GENERATOR_FUNCTION 
JS_CLASS_FOR_IN_ITERATOR 
JS_CLASS_REGEXP 
JS_CLASS_ARRAY_BUFFER 
JS_CLASS_SHARED_ARRAY_BUFFER 
JS_CLASS_UINT8C_ARRAY 
JS_CLASS_INT8_ARRAY 
JS_CLASS_UINT8_ARRAY 
JS_CLASS_INT16_ARRAY 
JS_CLASS_UINT16_ARRAY 
JS_CLASS_INT32_ARRAY 
JS_CLASS_UINT32_ARRAY 
JS_CLASS_BIG_INT64_ARRAY 
JS_CLASS_BIG_UINT64_ARRAY 
JS_CLASS_FLOAT16_ARRAY 
JS_CLASS_FLOAT32_ARRAY 
JS_CLASS_FLOAT64_ARRAY 
JS_CLASS_DATAVIEW 
JS_CLASS_BIG_INT 
JS_CLASS_MAP 
JS_CLASS_SET 
JS_CLASS_WEAKMAP 
JS_CLASS_WEAKSET 
JS_CLASS_ITERATOR 
JS_CLASS_ITERATOR_CONCAT 
JS_CLASS_ITERATOR_HELPER 
JS_CLASS_ITERATOR_WRAP 
JS_CLASS_MAP_ITERATOR 
JS_CLASS_SET_ITERATOR 
JS_CLASS_ARRAY_ITERATOR 
JS_CLASS_STRING_ITERATOR 
JS_CLASS_REGEXP_STRING_ITERATOR 
JS_CLASS_GENERATOR 
JS_CLASS_GLOBAL_OBJECT 
JS_CLASS_RAWJSON 
JS_CLASS_PROXY 
JS_CLASS_PROMISE 
JS_CLASS_PROMISE_RESOLVE_FUNCTION 
JS_CLASS_PROMISE_REJECT_FUNCTION 
JS_CLASS_ASYNC_FUNCTION 
JS_CLASS_ASYNC_FUNCTION_RESOLVE 
JS_CLASS_ASYNC_FUNCTION_REJECT 
JS_CLASS_ASYNC_FROM_SYNC_ITERATOR 
JS_CLASS_ASYNC_GENERATOR_FUNCTION 
JS_CLASS_ASYNC_GENERATOR 
JS_CLASS_WEAK_REF 
JS_CLASS_FINALIZATION_REGISTRY 
JS_CLASS_INIT_COUNT 

◆ JSErrorEnum

Enumerator
JS_EVAL_ERROR 
JS_RANGE_ERROR 
JS_REFERENCE_ERROR 
JS_SYNTAX_ERROR 
JS_TYPE_ERROR 
JS_URI_ERROR 
JS_INTERNAL_ERROR 
JS_AGGREGATE_ERROR 
JS_NATIVE_ERROR_COUNT 

◆ JSGCPhaseEnum

Enumerator
JS_GC_PHASE_NONE 
JS_GC_PHASE_DECREF 
JS_GC_PHASE_REMOVE_CYCLES 

◆ JSGCObjectTypeEnum

Enumerator
JS_GC_OBJ_TYPE_JS_OBJECT 
JS_GC_OBJ_TYPE_FUNCTION_BYTECODE 
JS_GC_OBJ_TYPE_SHAPE 
JS_GC_OBJ_TYPE_VAR_REF 
JS_GC_OBJ_TYPE_ASYNC_FUNCTION 
JS_GC_OBJ_TYPE_JS_CONTEXT 
JS_GC_OBJ_TYPE_MODULE 

◆ JSWeakRefHeaderTypeEnum

Enumerator
JS_WEAKREF_TYPE_MAP 
JS_WEAKREF_TYPE_WEAKREF 
JS_WEAKREF_TYPE_FINREC 

◆ JSAutoInitIDEnum

Enumerator
JS_AUTOINIT_ID_PROTOTYPE 
JS_AUTOINIT_ID_MODULE_NS 
JS_AUTOINIT_ID_PROP 

◆ anonymous enum

anonymous enum
Enumerator
JS_ATOM_TYPE_STRING 
JS_ATOM_TYPE_GLOBAL_SYMBOL 
JS_ATOM_TYPE_SYMBOL 
JS_ATOM_TYPE_PRIVATE 

◆ JSAtomKindEnum

Enumerator
JS_ATOM_KIND_STRING 
JS_ATOM_KIND_SYMBOL 
JS_ATOM_KIND_PRIVATE 

◆ JSClosureTypeEnum

Enumerator
JS_CLOSURE_LOCAL 
JS_CLOSURE_ARG 
JS_CLOSURE_REF 
JS_CLOSURE_GLOBAL_REF 
JS_CLOSURE_GLOBAL_DECL 
JS_CLOSURE_GLOBAL 
JS_CLOSURE_MODULE_DECL 
JS_CLOSURE_MODULE_IMPORT 

◆ JSVarKindEnum

Enumerator
JS_VAR_NORMAL 
JS_VAR_FUNCTION_DECL 
JS_VAR_NEW_FUNCTION_DECL 
JS_VAR_CATCH 
JS_VAR_FUNCTION_NAME 
JS_VAR_PRIVATE_FIELD 
JS_VAR_PRIVATE_METHOD 
JS_VAR_PRIVATE_GETTER 
JS_VAR_PRIVATE_SETTER 
JS_VAR_PRIVATE_GETTER_SETTER 
JS_VAR_GLOBAL_FUNCTION_DECL 

◆ JSFunctionKindEnum

Enumerator
JS_FUNC_NORMAL 
JS_FUNC_GENERATOR 
JS_FUNC_ASYNC 
JS_FUNC_ASYNC_GENERATOR 

◆ JSIteratorKindEnum

Enumerator
JS_ITERATOR_KIND_KEY 
JS_ITERATOR_KIND_VALUE 
JS_ITERATOR_KIND_KEY_AND_VALUE 

◆ JSOverloadableOperatorEnum

Enumerator
JS_OVOP_ADD 
JS_OVOP_SUB 
JS_OVOP_MUL 
JS_OVOP_DIV 
JS_OVOP_MOD 
JS_OVOP_POW 
JS_OVOP_OR 
JS_OVOP_AND 
JS_OVOP_XOR 
JS_OVOP_SHL 
JS_OVOP_SAR 
JS_OVOP_SHR 
JS_OVOP_EQ 
JS_OVOP_LESS 
JS_OVOP_BINARY_COUNT 
JS_OVOP_POS 
JS_OVOP_NEG 
JS_OVOP_INC 
JS_OVOP_DEC 
JS_OVOP_NOT 
JS_OVOP_COUNT 

◆ JSExportTypeEnum

Enumerator
JS_EXPORT_TYPE_LOCAL 
JS_EXPORT_TYPE_INDIRECT 

◆ JSModuleStatus

Enumerator
JS_MODULE_STATUS_UNLINKED 
JS_MODULE_STATUS_LINKING 
JS_MODULE_STATUS_LINKED 
JS_MODULE_STATUS_EVALUATING 
JS_MODULE_STATUS_EVALUATING_ASYNC 
JS_MODULE_STATUS_EVALUATED 

◆ anonymous enum

anonymous enum
Enumerator
__JS_ATOM_NULL 
JS_ATOM_END 

◆ OPCodeFormat

◆ OPCodeEnum

enum OPCodeEnum
Enumerator
OP_COUNT 
OP_TEMP_START 
OP___dummy 
OP_TEMP_END 

◆ JSFreeModuleEnum

Enumerator
JS_FREE_MODULE_ALL 
JS_FREE_MODULE_NOT_RESOLVED 

◆ JSToNumberHintEnum

Enumerator
TON_FLAG_NUMBER 
TON_FLAG_NUMERIC 

◆ OPSpecialObjectEnum

Enumerator
OP_SPECIAL_OBJECT_ARGUMENTS 
OP_SPECIAL_OBJECT_MAPPED_ARGUMENTS 
OP_SPECIAL_OBJECT_THIS_FUNC 
OP_SPECIAL_OBJECT_NEW_TARGET 
OP_SPECIAL_OBJECT_HOME_OBJECT 
OP_SPECIAL_OBJECT_VAR_OBJECT 
OP_SPECIAL_OBJECT_IMPORT_META 

◆ JSGeneratorStateEnum

Enumerator
JS_GENERATOR_STATE_SUSPENDED_START 
JS_GENERATOR_STATE_SUSPENDED_YIELD 
JS_GENERATOR_STATE_SUSPENDED_YIELD_STAR 
JS_GENERATOR_STATE_EXECUTING 
JS_GENERATOR_STATE_COMPLETED 

◆ JSAsyncGeneratorStateEnum

Enumerator
JS_ASYNC_GENERATOR_STATE_SUSPENDED_START 
JS_ASYNC_GENERATOR_STATE_SUSPENDED_YIELD 
JS_ASYNC_GENERATOR_STATE_SUSPENDED_YIELD_STAR 
JS_ASYNC_GENERATOR_STATE_EXECUTING 
JS_ASYNC_GENERATOR_STATE_AWAITING_RETURN 
JS_ASYNC_GENERATOR_STATE_COMPLETED 

◆ anonymous enum

anonymous enum
Enumerator
TOK_NUMBER 
TOK_STRING 
TOK_TEMPLATE 
TOK_IDENT 
TOK_REGEXP 
TOK_MUL_ASSIGN 
TOK_DIV_ASSIGN 
TOK_MOD_ASSIGN 
TOK_PLUS_ASSIGN 
TOK_MINUS_ASSIGN 
TOK_SHL_ASSIGN 
TOK_SAR_ASSIGN 
TOK_SHR_ASSIGN 
TOK_AND_ASSIGN 
TOK_XOR_ASSIGN 
TOK_OR_ASSIGN 
TOK_POW_ASSIGN 
TOK_LAND_ASSIGN 
TOK_LOR_ASSIGN 
TOK_DOUBLE_QUESTION_MARK_ASSIGN 
TOK_DEC 
TOK_INC 
TOK_SHL 
TOK_SAR 
TOK_SHR 
TOK_LT 
TOK_LTE 
TOK_GT 
TOK_GTE 
TOK_EQ 
TOK_STRICT_EQ 
TOK_NEQ 
TOK_STRICT_NEQ 
TOK_LAND 
TOK_LOR 
TOK_POW 
TOK_ARROW 
TOK_ELLIPSIS 
TOK_DOUBLE_QUESTION_MARK 
TOK_QUESTION_MARK_DOT 
TOK_ERROR 
TOK_PRIVATE_NAME 
TOK_EOF 
TOK_NULL 
TOK_FALSE 
TOK_TRUE 
TOK_IF 
TOK_ELSE 
TOK_RETURN 
TOK_VAR 
TOK_THIS 
TOK_DELETE 
TOK_VOID 
TOK_TYPEOF 
TOK_NEW 
TOK_IN 
TOK_INSTANCEOF 
TOK_DO 
TOK_WHILE 
TOK_FOR 
TOK_BREAK 
TOK_CONTINUE 
TOK_SWITCH 
TOK_CASE 
TOK_DEFAULT 
TOK_THROW 
TOK_TRY 
TOK_CATCH 
TOK_FINALLY 
TOK_FUNCTION 
TOK_DEBUGGER 
TOK_WITH 
TOK_CLASS 
TOK_CONST 
TOK_ENUM 
TOK_EXPORT 
TOK_EXTENDS 
TOK_IMPORT 
TOK_SUPER 
TOK_IMPLEMENTS 
TOK_INTERFACE 
TOK_LET 
TOK_PACKAGE 
TOK_PRIVATE 
TOK_PROTECTED 
TOK_PUBLIC 
TOK_STATIC 
TOK_YIELD 
TOK_AWAIT 
TOK_OF 

◆ JSParseFunctionEnum

Enumerator
JS_PARSE_FUNC_STATEMENT 
JS_PARSE_FUNC_VAR 
JS_PARSE_FUNC_EXPR 
JS_PARSE_FUNC_ARROW 
JS_PARSE_FUNC_GETTER 
JS_PARSE_FUNC_SETTER 
JS_PARSE_FUNC_METHOD 
JS_PARSE_FUNC_CLASS_STATIC_INIT 
JS_PARSE_FUNC_CLASS_CONSTRUCTOR 
JS_PARSE_FUNC_DERIVED_CLASS_CONSTRUCTOR 

◆ JSParseExportEnum

Enumerator
JS_PARSE_EXPORT_NONE 
JS_PARSE_EXPORT_NAMED 
JS_PARSE_EXPORT_DEFAULT 

◆ JSVarDefEnum

Enumerator
JS_VAR_DEF_WITH 
JS_VAR_DEF_LET 
JS_VAR_DEF_CONST 
JS_VAR_DEF_FUNCTION_DECL 
JS_VAR_DEF_NEW_FUNCTION_DECL 
JS_VAR_DEF_CATCH 
JS_VAR_DEF_VAR 

◆ PutLValueEnum

Enumerator
PUT_LVALUE_NOKEEP 
PUT_LVALUE_NOKEEP_DEPTH 
PUT_LVALUE_KEEP_TOP 
PUT_LVALUE_KEEP_SECOND 
PUT_LVALUE_NOKEEP_BOTTOM 

◆ FuncCallType

Enumerator
FUNC_CALL_NORMAL 
FUNC_CALL_NEW 
FUNC_CALL_SUPER_CTOR 
FUNC_CALL_TEMPLATE 

◆ JSResolveResultEnum

Enumerator
JS_RESOLVE_RES_EXCEPTION 
JS_RESOLVE_RES_FOUND 
JS_RESOLVE_RES_NOT_FOUND 
JS_RESOLVE_RES_CIRCULAR 
JS_RESOLVE_RES_AMBIGUOUS 

◆ ExportedNameEntryEnum

Enumerator
EXPORTED_NAME_AMBIGUOUS 
EXPORTED_NAME_NORMAL 
EXPORTED_NAME_DELAYED 

◆ BCTagEnum

enum BCTagEnum
Enumerator
BC_TAG_NULL 
BC_TAG_UNDEFINED 
BC_TAG_BOOL_FALSE 
BC_TAG_BOOL_TRUE 
BC_TAG_INT32 
BC_TAG_FLOAT64 
BC_TAG_STRING 
BC_TAG_OBJECT 
BC_TAG_ARRAY 
BC_TAG_BIG_INT 
BC_TAG_TEMPLATE_OBJECT 
BC_TAG_FUNCTION_BYTECODE 
BC_TAG_MODULE 
BC_TAG_TYPED_ARRAY 
BC_TAG_ARRAY_BUFFER 
BC_TAG_SHARED_ARRAY_BUFFER 
BC_TAG_DATE 
BC_TAG_OBJECT_VALUE 
BC_TAG_OBJECT_REFERENCE 

◆ anonymous enum

anonymous enum
Enumerator
ArrayFind 
ArrayFindIndex 
ArrayFindLast 
ArrayFindLastIndex 

◆ JSIteratorHelperKindEnum

Enumerator
JS_ITERATOR_HELPER_KIND_DROP 
JS_ITERATOR_HELPER_KIND_EVERY 
JS_ITERATOR_HELPER_KIND_FILTER 
JS_ITERATOR_HELPER_KIND_FIND 
JS_ITERATOR_HELPER_KIND_FLAT_MAP 
JS_ITERATOR_HELPER_KIND_FOR_EACH 
JS_ITERATOR_HELPER_KIND_MAP 
JS_ITERATOR_HELPER_KIND_SOME 
JS_ITERATOR_HELPER_KIND_TAKE 

◆ anonymous enum

anonymous enum
Enumerator
magic_string_anchor 
magic_string_big 
magic_string_blink 
magic_string_bold 
magic_string_fixed 
magic_string_fontcolor 
magic_string_fontsize 
magic_string_italics 
magic_string_link 
magic_string_small 
magic_string_strike 
magic_string_sub 
magic_string_sup 

◆ SumPreciseStateEnum

Enumerator
SUM_PRECISE_STATE_FINITE 
SUM_PRECISE_STATE_INFINITY 
SUM_PRECISE_STATE_MINUS_INFINITY 
SUM_PRECISE_STATE_NAN 

◆ anonymous enum

anonymous enum
Enumerator
B64_ALPHABET_BASE64 
B64_ALPHABET_BASE64URL 

◆ anonymous enum

anonymous enum
Enumerator
B64_LAST_LOOSE 
B64_LAST_STRICT 
B64_LAST_STOP_BEFORE_PARTIAL 

◆ AtomicsOpEnum

Enumerator
ATOMICS_OP_ADD 
ATOMICS_OP_AND 
ATOMICS_OP_OR 
ATOMICS_OP_SUB 
ATOMICS_OP_XOR 
ATOMICS_OP_EXCHANGE 
ATOMICS_OP_COMPARE_EXCHANGE 
ATOMICS_OP_LOAD 

Function Documentation

◆ JS_InitAtoms()

static int JS_InitAtoms ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_NewAtomInit()

static JSAtom __JS_NewAtomInit ( JSRuntime *  rt,
const char *  str,
int  len,
int  atom_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_FreeAtomStruct()

static void JS_FreeAtomStruct ( JSRuntime *  rt,
JSAtomStruct *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_function_bytecode()

static void free_function_bytecode ( JSRuntime *  rt,
JSFunctionBytecode *  b 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_call_c_function()

static JSValue js_call_c_function ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_call_bound_function()

static JSValue js_call_bound_function ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CallInternal()

static JSValue JS_CallInternal ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
JSValueConst  new_target,
int  argc,
JSValue *  argv,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CallConstructorInternal()

static JSValue JS_CallConstructorInternal ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  new_target,
int  argc,
JSValue *  argv,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CallFree()

static JSValue JS_CallFree ( JSContext *  ctx,
JSValue  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the caller graph for this function:

◆ JS_InvokeFree()

static JSValue JS_InvokeFree ( JSContext *  ctx,
JSValue  this_val,
JSAtom  atom,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the caller graph for this function:

◆ JS_ToArrayLengthFree()

static __exception int JS_ToArrayLengthFree ( JSContext *  ctx,
uint32_t *  plen,
JSValue  val,
BOOL  is_array_ctor 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_EvalObject()

static JSValue JS_EvalObject ( JSContext *  ctx,
JSValueConst  this_obj,
JSValueConst  val,
int  flags,
int  scope_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __attribute__() [1/2]

JSValue __attribute__ ( (format(printf, 2, 3))  )

◆ js_strict_eq2()

static BOOL js_strict_eq2 ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2,
JSStrictEqModeEnum  eq_mode 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_strict_eq()

static BOOL js_strict_eq ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_same_value()

static BOOL js_same_value ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_same_value_zero()

static BOOL js_same_value_zero ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToObject()

static JSValue JS_ToObject ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToObjectFree()

static JSValue JS_ToObjectFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_property()

static JSProperty * add_property ( JSContext *  ctx,
JSObject *  p,
JSAtom  prop,
int  prop_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_property()

static void free_property ( JSRuntime *  rt,
JSProperty *  pr,
int  prop_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToBigInt64Free()

static int JS_ToBigInt64Free ( JSContext *  ctx,
int64_t *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowOutOfMemory()

JSValue JS_ThrowOutOfMemory ( JSContext *  ctx)
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorRevokedProxy()

static JSValue JS_ThrowTypeErrorRevokedProxy ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ js_resolve_proxy()

static int js_resolve_proxy ( JSContext *  ctx,
JSValueConst *  pval,
int  throw_exception 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CreateProperty()

static int JS_CreateProperty ( JSContext *  ctx,
JSObject *  p,
JSAtom  prop,
JSValueConst  val,
JSValueConst  getter,
JSValueConst  setter,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_memcmp()

static int js_string_memcmp ( const JSString *  p1,
int  pos1,
const JSString *  p2,
int  pos2,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_buffer_constructor3()

static JSValue js_array_buffer_constructor3 ( JSContext *  ctx,
JSValueConst  new_target,
uint64_t  len,
uint64_t *  max_len,
JSClassID  class_id,
uint8_t *  buf,
JSFreeArrayBufferDataFunc *  free_func,
void *  opaque,
BOOL  alloc_flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_buffer_free()

static void js_array_buffer_free ( JSRuntime *  rt,
void *  opaque,
void *  ptr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_array_buffer()

static JSArrayBuffer * js_get_array_buffer ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ array_buffer_is_resizable()

static BOOL array_buffer_is_resizable ( const JSArrayBuffer *  abuf)
static
+ Here is the caller graph for this function:

◆ js_typed_array_constructor()

static JSValue js_typed_array_constructor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  classid 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_constructor_ta()

static JSValue js_typed_array_constructor_ta ( JSContext *  ctx,
JSValueConst  new_target,
JSValueConst  src_obj,
int  classid,
uint32_t  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ typed_array_is_oob()

static BOOL typed_array_is_oob ( JSObject *  p)
static
+ Here is the caller graph for this function:

◆ js_typed_array_get_length_unsafe()

static int js_typed_array_get_length_unsafe ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorDetachedArrayBuffer()

static JSValue JS_ThrowTypeErrorDetachedArrayBuffer ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorArrayBufferOOB()

static JSValue JS_ThrowTypeErrorArrayBufferOOB ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ js_create_var_ref()

static JSVarRef * js_create_var_ref ( JSContext *  ctx,
BOOL  is_lexical 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_var_ref()

static JSVarRef * get_var_ref ( JSContext *  ctx,
JSStackFrame *  sf,
int  var_idx,
BOOL  is_arg 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __async_func_free()

static void __async_func_free ( JSRuntime *  rt,
JSAsyncFunctionState *  s 
)
static
+ Here is the caller graph for this function:

◆ async_func_free()

static void async_func_free ( JSRuntime *  rt,
JSAsyncFunctionState *  s 
)
static
+ Here is the caller graph for this function:

◆ js_generator_function_call()

static JSValue js_generator_function_call ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the caller graph for this function:

◆ js_async_function_resolve_finalizer()

static void js_async_function_resolve_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_async_function_resolve_mark()

static void js_async_function_resolve_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static

◆ JS_EvalInternal()

static JSValue JS_EvalInternal ( JSContext *  ctx,
JSValueConst  this_obj,
const char *  input,
size_t  input_len,
const char *  filename,
int  flags,
int  scope_idx 
)
static
+ Here is the caller graph for this function:

◆ js_free_module_def()

static void js_free_module_def ( JSRuntime *  rt,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_mark_module_def()

static void js_mark_module_def ( JSRuntime *  rt,
JSModuleDef *  m,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_import_meta()

static JSValue js_import_meta ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_dynamic_import()

static JSValue js_dynamic_import ( JSContext *  ctx,
JSValueConst  specifier,
JSValueConst  options 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_var_ref()

static void free_var_ref ( JSRuntime *  rt,
JSVarRef *  var_ref 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_promise_capability()

static JSValue js_new_promise_capability ( JSContext *  ctx,
JSValue *  resolving_funcs,
JSValueConst  ctor 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ perform_promise_then()

static __exception int perform_promise_then ( JSContext *  ctx,
JSValueConst  promise,
JSValueConst *  resolve_reject,
JSValueConst *  cap_resolving_funcs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_resolve()

static JSValue js_promise_resolve ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_then()

static JSValue js_promise_then ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_eq()

static BOOL js_string_eq ( JSContext *  ctx,
const JSString *  p1,
const JSString *  p2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_compare()

static int js_string_compare ( JSContext *  ctx,
const JSString *  p1,
const JSString *  p2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToNumber()

static JSValue JS_ToNumber ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetPropertyValue()

static int JS_SetPropertyValue ( JSContext *  ctx,
JSValueConst  this_obj,
JSValue  prop,
JSValue  val,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NumberIsInteger()

static int JS_NumberIsInteger ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NumberIsNegativeOrMinusZero()

static BOOL JS_NumberIsNegativeOrMinusZero ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToNumberFree()

static JSValue JS_ToNumberFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetOwnPropertyInternal()

static int JS_GetOwnPropertyInternal ( JSContext *  ctx,
JSPropertyDescriptor *  desc,
JSObject *  p,
JSAtom  prop 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_desc()

static void js_free_desc ( JSContext *  ctx,
JSPropertyDescriptor *  desc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AddIntrinsicBasicObjects()

static int JS_AddIntrinsicBasicObjects ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_shape()

static void js_free_shape ( JSRuntime *  rt,
JSShape *  sh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_shape_null()

static void js_free_shape_null ( JSRuntime *  rt,
JSShape *  sh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_shape_prepare_update()

static int js_shape_prepare_update ( JSContext *  ctx,
JSObject *  p,
JSShapeProperty **  pprs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init_shape_hash()

static int init_shape_hash ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_length32()

static __exception int js_get_length32 ( JSContext *  ctx,
uint32_t *  pres,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_length64()

static __exception int js_get_length64 ( JSContext *  ctx,
int64_t *  pres,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_arg_list()

static void free_arg_list ( JSContext *  ctx,
JSValue *  tab,
uint32_t  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_arg_list()

static JSValue * build_arg_list ( JSContext *  ctx,
uint32_t *  plen,
JSValueConst  array_arg 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_fast_array()

static BOOL js_get_fast_array ( JSContext *  ctx,
JSValueConst  obj,
JSValue **  arrpp,
uint32_t *  countp 
)
static
+ Here is the caller graph for this function:

◆ JS_CreateAsyncFromSyncIterator()

static JSValue JS_CreateAsyncFromSyncIterator ( JSContext *  ctx,
JSValueConst  sync_iter 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_c_function_data_finalizer()

static void js_c_function_data_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_c_function_data_mark()

static void js_c_function_data_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_c_function_data_call()

static JSValue js_c_function_data_call ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_symbol_to_atom()

static JSAtom js_symbol_to_atom ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_gc_object()

static void add_gc_object ( JSRuntime *  rt,
JSGCObjectHeader *  h,
JSGCObjectTypeEnum  type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove_gc_object()

static void remove_gc_object ( JSGCObjectHeader *  h)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_instantiate_prototype()

static JSValue js_instantiate_prototype ( JSContext *  ctx,
JSObject *  p,
JSAtom  atom,
void *  opaque 
)
static
+ Here is the call graph for this function:

◆ js_module_ns_autoinit()

static JSValue js_module_ns_autoinit ( JSContext *  ctx,
JSObject *  p,
JSAtom  atom,
void *  opaque 
)
static
+ Here is the call graph for this function:

◆ JS_InstantiateFunctionListItem2()

static JSValue JS_InstantiateFunctionListItem2 ( JSContext *  ctx,
JSObject *  p,
JSAtom  atom,
void *  opaque 
)
static
+ Here is the call graph for this function:

◆ js_object_groupBy()

static JSValue js_object_groupBy ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  is_map 
)
static
+ Here is the call graph for this function:

◆ map_delete_weakrefs()

static void map_delete_weakrefs ( JSRuntime *  rt,
JSWeakRefHeader *  wh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ weakref_delete_weakref()

static void weakref_delete_weakref ( JSRuntime *  rt,
JSWeakRefHeader *  wh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ finrec_delete_weakref()

static void finrec_delete_weakref ( JSRuntime *  rt,
JSWeakRefHeader *  wh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_RunGCInternal()

static void JS_RunGCInternal ( JSRuntime *  rt,
BOOL  remove_weak_objects 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_from_iterator()

static JSValue js_array_from_iterator ( JSContext *  ctx,
uint32_t *  plen,
JSValueConst  obj,
JSValueConst  method 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_find_invalid_codepoint()

static int js_string_find_invalid_codepoint ( JSString *  p)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_toString()

static JSValue js_regexp_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ get_date_string()

static JSValue get_date_string ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_error_toString()

static JSValue js_error_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_global_object_find_uninitialized_var()

static JSVarRef * js_global_object_find_uninitialized_var ( JSContext *  ctx,
JSObject *  p,
JSAtom  atom,
BOOL  is_lexical 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ typed_array_init()

static int typed_array_init ( JSContext *  ctx,
JSValueConst  obj,
JSValue  buffer,
uint64_t  offset,
uint64_t  len,
BOOL  track_rab 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_block_size_index()

static int get_block_size_index ( size_t  size)
static
+ Here is the caller graph for this function:

◆ get_zero_size_block()

static JSMallocBlockHeader * get_zero_size_block ( JSMallocContext *  s)
static
+ Here is the caller graph for this function:

◆ js_malloc_init()

static void js_malloc_init ( JSMallocContext *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_arena_block()

static void * get_arena_block ( JSMallocArena *  ar,
unsigned int  idx,
unsigned int  block_size 
)
static
+ Here is the caller graph for this function:

◆ js_rc()

static JSMallocBlockHeader * js_rc ( void *  ptr)
static
+ Here is the caller graph for this function:

◆ js_malloc_new_arena()

static no_inline JSMallocArena * js_malloc_new_arena ( JSMallocContext *  s,
int  block_size_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_malloc_large()

static no_inline void * js_malloc_large ( JSMallocContext *  s,
size_t  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __js_malloc()

static void * __js_malloc ( JSMallocContext *  s,
size_t  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __js_free()

static void __js_free ( JSMallocContext *  s,
void *  ptr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __js_realloc()

static void * __js_realloc ( JSMallocContext *  s,
void *  ptr,
size_t  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __js_malloc_usable_size()

static size_t __js_malloc_usable_size ( JSMallocContext *  s,
const char *  ptr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_malloc_dump_arenas()

static __maybe_unused void js_malloc_dump_arenas ( JSMallocContext *  s)
static

◆ js_trigger_gc()

static void js_trigger_gc ( JSRuntime *  rt,
size_t  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_malloc_rt()

void * js_malloc_rt ( JSRuntime *  rt,
size_t  size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_rt()

void js_free_rt ( JSRuntime *  rt,
void *  ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_realloc_rt()

void * js_realloc_rt ( JSRuntime *  rt,
void *  ptr,
size_t  size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_malloc_usable_size_rt()

size_t js_malloc_usable_size_rt ( JSRuntime *  rt,
const void *  ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_mallocz_rt()

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:

◆ js_malloc()

void * js_malloc ( JSContext *  ctx,
size_t  size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_mallocz()

void * js_mallocz ( JSContext *  ctx,
size_t  size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free()

void js_free ( JSContext *  ctx,
void *  ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_realloc()

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:

◆ js_realloc2()

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:

◆ js_malloc_usable_size()

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:

◆ js_strndup()

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:

◆ js_strdup()

char * js_strdup ( JSContext *  ctx,
const char *  str 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_realloc_array()

static no_inline int js_realloc_array ( JSContext *  ctx,
void **  parray,
int  elem_size,
int *  psize,
int  req_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_resize_array()

static int js_resize_array ( JSContext *  ctx,
void **  parray,
int  elem_size,
int *  psize,
int  req_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_dbuf_init()

static void js_dbuf_init ( JSContext *  ctx,
DynBuf *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_realloc_bytecode_rt()

static void * js_realloc_bytecode_rt ( void *  opaque,
void *  ptr,
size_t  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_dbuf_bytecode_init()

static void js_dbuf_bytecode_init ( JSContext *  ctx,
DynBuf *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_digit()

static int is_digit ( int  c)
static
+ Here is the caller graph for this function:

◆ string_get()

static int string_get ( const JSString *  p,
int  idx 
)
static
+ Here is the caller graph for this function:

◆ init_class_range()

static int init_class_range ( JSRuntime *  rt,
JSClassShortDef const *  tab,
int  start,
int  count 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_stack_pointer()

static uintptr_t js_get_stack_pointer ( void  )
static
+ Here is the caller graph for this function:

◆ js_check_stack_overflow()

static BOOL js_check_stack_overflow ( JSRuntime *  rt,
size_t  alloca_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewRuntime2()

JSRuntime * JS_NewRuntime2 ( const JSMallocFunctions *  mf,
void *  opaque 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetRuntimeOpaque()

void * JS_GetRuntimeOpaque ( JSRuntime *  rt)
+ Here is the caller graph for this function:

◆ JS_SetRuntimeOpaque()

void JS_SetRuntimeOpaque ( JSRuntime *  rt,
void *  opaque 
)
+ Here is the caller graph for this function:

◆ js_def_malloc_usable_size()

static size_t js_def_malloc_usable_size ( const void *  ptr)
static
+ Here is the caller graph for this function:

◆ js_def_malloc()

static void * js_def_malloc ( JSMallocState *  s,
size_t  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_def_free()

static void js_def_free ( JSMallocState *  s,
void *  ptr 
)
static
+ Here is the call graph for this function:

◆ js_def_realloc()

static void * js_def_realloc ( JSMallocState *  s,
void *  ptr,
size_t  size 
)
static
+ Here is the call graph for this function:

◆ JS_NewRuntime()

JSRuntime * JS_NewRuntime ( void  )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetMemoryLimit()

void JS_SetMemoryLimit ( JSRuntime *  rt,
size_t  limit 
)

◆ JS_SetGCThreshold()

void JS_SetGCThreshold ( JSRuntime *  rt,
size_t  gc_threshold 
)

◆ JS_SetInterruptHandler()

void JS_SetInterruptHandler ( JSRuntime *  rt,
JSInterruptHandler *  cb,
void *  opaque 
)
+ Here is the caller graph for this function:

◆ JS_SetCanBlock()

void JS_SetCanBlock ( JSRuntime *  rt,
BOOL  can_block 
)
+ Here is the caller graph for this function:

◆ JS_SetSharedArrayBufferFunctions()

void JS_SetSharedArrayBufferFunctions ( JSRuntime *  rt,
const JSSharedArrayBufferFunctions *  sf 
)
+ Here is the caller graph for this function:

◆ JS_SetStripInfo()

void JS_SetStripInfo ( JSRuntime *  rt,
int  flags 
)
+ Here is the caller graph for this function:

◆ JS_GetStripInfo()

int JS_GetStripInfo ( JSRuntime *  rt)
+ Here is the caller graph for this function:

◆ JS_EnqueueJob2()

static int JS_EnqueueJob2 ( JSContext *  ctx,
JSJobFunc *  job_func,
int  argc,
JSValueConst *  argv,
BOOL  no_exception 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_EnqueueJob()

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:

◆ JS_IsJobPending()

BOOL JS_IsJobPending ( JSRuntime *  rt)
+ Here is the call graph for this function:

◆ JS_ExecutePendingJob()

int JS_ExecutePendingJob ( JSRuntime *  rt,
JSContext **  pctx 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ atom_get_free()

static uint32_t atom_get_free ( const JSAtomStruct *  p)
static
+ Here is the caller graph for this function:

◆ atom_is_free()

static BOOL atom_is_free ( const JSAtomStruct *  p)
static
+ Here is the caller graph for this function:

◆ atom_set_free()

static JSAtomStruct * atom_set_free ( uint32_t  v)
static
+ Here is the caller graph for this function:

◆ js_alloc_string_rt()

static JSString * js_alloc_string_rt ( JSRuntime *  rt,
int  max_len,
int  is_wide_char 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_alloc_string()

static JSString * js_alloc_string ( JSContext *  ctx,
int  max_len,
int  is_wide_char 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_string()

static void js_free_string ( JSRuntime *  rt,
JSString *  str 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetRuntimeInfo()

void JS_SetRuntimeInfo ( JSRuntime *  rt,
const char *  s 
)

◆ JS_FreeRuntime()

void JS_FreeRuntime ( JSRuntime *  rt)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewContextRaw()

JSContext * JS_NewContextRaw ( JSRuntime *  rt)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewContext()

JSContext * JS_NewContext ( JSRuntime *  rt)
+ Here is the call graph for this function:

◆ JS_GetContextOpaque()

void * JS_GetContextOpaque ( JSContext *  ctx)

◆ JS_SetContextOpaque()

void JS_SetContextOpaque ( JSContext *  ctx,
void *  opaque 
)
+ Here is the caller graph for this function:

◆ set_value()

static void set_value ( JSContext *  ctx,
JSValue *  pval,
JSValue  new_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetClassProto()

void JS_SetClassProto ( JSContext *  ctx,
JSClassID  class_id,
JSValue  obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetClassProto()

JSValue JS_GetClassProto ( JSContext *  ctx,
JSClassID  class_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_modules()

static void js_free_modules ( JSContext *  ctx,
JSFreeModuleEnum  flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DupContext()

JSContext * JS_DupContext ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_MarkContext()

static void JS_MarkContext ( JSRuntime *  rt,
JSContext *  ctx,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_FreeContext()

void JS_FreeContext ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetRuntime()

JSRuntime * JS_GetRuntime ( JSContext *  ctx)
+ Here is the caller graph for this function:

◆ update_stack_limit()

static void update_stack_limit ( JSRuntime *  rt)
static
+ Here is the caller graph for this function:

◆ JS_SetMaxStackSize()

void JS_SetMaxStackSize ( JSRuntime *  rt,
size_t  stack_size 
)
+ Here is the call graph for this function:

◆ JS_UpdateStackTop()

void JS_UpdateStackTop ( JSRuntime *  rt)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_strict_mode()

static BOOL is_strict_mode ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ __JS_AtomIsConst()

static BOOL __JS_AtomIsConst ( JSAtom  v)
static
+ Here is the caller graph for this function:

◆ __JS_AtomIsTaggedInt()

static BOOL __JS_AtomIsTaggedInt ( JSAtom  v)
static
+ Here is the caller graph for this function:

◆ __JS_AtomFromUInt32()

static JSAtom __JS_AtomFromUInt32 ( uint32_t  v)
static
+ Here is the caller graph for this function:

◆ __JS_AtomToUInt32()

static uint32_t __JS_AtomToUInt32 ( JSAtom  atom)
static
+ Here is the caller graph for this function:

◆ is_num()

static int is_num ( int  c)
static
+ Here is the caller graph for this function:

◆ is_num_string()

static BOOL is_num_string ( uint32_t *  pval,
const JSString *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hash_string8()

static uint32_t hash_string8 ( const uint8_t *  str,
size_t  len,
uint32_t  h 
)
static
+ Here is the caller graph for this function:

◆ hash_string16()

static uint32_t hash_string16 ( const uint16_t *  str,
size_t  len,
uint32_t  h 
)
static
+ Here is the caller graph for this function:

◆ hash_string()

static uint32_t hash_string ( const JSString *  str,
uint32_t  h 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hash_string_rope()

static uint32_t hash_string_rope ( JSValueConst  val,
uint32_t  h 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpChar()

static __maybe_unused void JS_DumpChar ( FILE *  fo,
int  c,
int  sep 
)
static
+ Here is the caller graph for this function:

◆ JS_DumpString()

static __maybe_unused void JS_DumpString ( JSRuntime *  rt,
const JSString *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpAtoms()

static __maybe_unused void JS_DumpAtoms ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ResizeAtomHash()

static int JS_ResizeAtomHash ( JSRuntime *  rt,
int  new_hash_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DupAtomRT()

static JSAtom JS_DupAtomRT ( JSRuntime *  rt,
JSAtom  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DupAtom()

JSAtom JS_DupAtom ( JSContext *  ctx,
JSAtom  v 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomGetKind()

static JSAtomKindEnum JS_AtomGetKind ( JSContext *  ctx,
JSAtom  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomIsString()

static BOOL JS_AtomIsString ( JSContext *  ctx,
JSAtom  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_atom_index()

static JSAtom js_get_atom_index ( JSRuntime *  rt,
JSAtomStruct *  p 
)
static
+ Here is the caller graph for this function:

◆ __JS_NewAtom()

static JSAtom __JS_NewAtom ( JSRuntime *  rt,
JSString *  str,
int  atom_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_FindAtom()

static JSAtom __JS_FindAtom ( JSRuntime *  rt,
const char *  str,
size_t  len,
int  atom_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_FreeAtom()

static void __JS_FreeAtom ( JSRuntime *  rt,
uint32_t  i 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewAtomStr()

static JSAtom JS_NewAtomStr ( JSContext *  ctx,
JSString *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ count_ascii()

static size_t count_ascii ( const uint8_t *  buf,
size_t  len 
)
static
+ Here is the caller graph for this function:

◆ JS_NewAtomLen()

JSAtom JS_NewAtomLen ( JSContext *  ctx,
const char *  str,
size_t  len 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewAtom()

JSAtom JS_NewAtom ( JSContext *  ctx,
const char *  str 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewAtomUInt32()

JSAtom JS_NewAtomUInt32 ( JSContext *  ctx,
uint32_t  n 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewAtomInt64()

static JSAtom JS_NewAtomInt64 ( JSContext *  ctx,
int64_t  n 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewSymbol()

static JSValue JS_NewSymbol ( JSContext *  ctx,
JSString *  p,
int  atom_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewSymbolFromAtom()

static JSValue JS_NewSymbolFromAtom ( JSContext *  ctx,
JSAtom  descr,
int  atom_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomGetStrRT()

static const char * JS_AtomGetStrRT ( JSRuntime *  rt,
char *  buf,
int  buf_size,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomGetStr()

static const char * JS_AtomGetStr ( JSContext *  ctx,
char *  buf,
int  buf_size,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_AtomToValue()

static JSValue __JS_AtomToValue ( JSContext *  ctx,
JSAtom  atom,
BOOL  force_string 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomToValue()

JSValue JS_AtomToValue ( JSContext *  ctx,
JSAtom  atom 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomToString()

JSValue JS_AtomToString ( JSContext *  ctx,
JSAtom  atom 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomIsArrayIndex()

BOOL JS_AtomIsArrayIndex ( JSContext *  ctx,
uint32_t *  pval,
JSAtom  atom 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomIsNumericIndex1()

static JSValue JS_AtomIsNumericIndex1 ( JSContext *  ctx,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomIsNumericIndex()

static int JS_AtomIsNumericIndex ( JSContext *  ctx,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_FreeAtom()

void JS_FreeAtom ( JSContext *  ctx,
JSAtom  v 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_FreeAtomRT()

void JS_FreeAtomRT ( JSRuntime *  rt,
JSAtom  v 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomSymbolHasDescription()

static BOOL JS_AtomSymbolHasDescription ( JSContext *  ctx,
JSAtom  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AtomToCStringLen()

const char * JS_AtomToCStringLen ( JSContext *  ctx,
size_t *  plen,
JSAtom  atom 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_atom_concat_str()

static JSAtom js_atom_concat_str ( JSContext *  ctx,
JSAtom  name,
const char *  str1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_atom_concat_num()

static JSAtom js_atom_concat_num ( JSContext *  ctx,
JSAtom  name,
uint32_t  n 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IsEmptyString()

static BOOL JS_IsEmptyString ( JSValueConst  v)
static
+ Here is the caller graph for this function:

◆ JS_NewClassID()

JSClassID JS_NewClassID ( JSClassID *  pclass_id)
+ Here is the caller graph for this function:

◆ JS_GetClassID()

JSClassID JS_GetClassID ( JSValue  v)

◆ JS_IsRegisteredClass()

BOOL JS_IsRegisteredClass ( JSRuntime *  rt,
JSClassID  class_id 
)
+ Here is the caller graph for this function:

◆ JS_NewClass1()

static int JS_NewClass1 ( JSRuntime *  rt,
JSClassID  class_id,
const JSClassDef *  class_def,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewClass()

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:

◆ js_new_string8_len()

static JSValue js_new_string8_len ( JSContext *  ctx,
const char *  buf,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_string8()

static JSValue js_new_string8 ( JSContext *  ctx,
const char *  buf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_string16_len()

static JSValue js_new_string16_len ( JSContext *  ctx,
const uint16_t *  buf,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_string_char()

static JSValue js_new_string_char ( JSContext *  ctx,
uint16_t  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_sub_string()

static JSValue js_sub_string ( JSContext *  ctx,
JSString *  p,
int  start,
int  end 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_init2()

static int string_buffer_init2 ( JSContext *  ctx,
StringBuffer *  s,
int  size,
int  is_wide 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_init()

static int string_buffer_init ( JSContext *  ctx,
StringBuffer *  s,
int  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_free()

static void string_buffer_free ( StringBuffer *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_set_error()

static int string_buffer_set_error ( StringBuffer *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_widen()

static no_inline int string_buffer_widen ( StringBuffer *  s,
int  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_realloc()

static no_inline int string_buffer_realloc ( StringBuffer *  s,
int  new_len,
int  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_putc16_slow()

static no_inline int string_buffer_putc16_slow ( StringBuffer *  s,
uint32_t  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_putc8()

static int string_buffer_putc8 ( StringBuffer *  s,
uint32_t  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_putc16()

static int string_buffer_putc16 ( StringBuffer *  s,
uint32_t  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_putc_slow()

static int string_buffer_putc_slow ( StringBuffer *  s,
uint32_t  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_putc()

static int string_buffer_putc ( StringBuffer *  s,
uint32_t  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_getc()

static int string_getc ( const JSString *  p,
int *  pidx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_write8()

static int string_buffer_write8 ( StringBuffer *  s,
const uint8_t *  p,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_write16()

static int string_buffer_write16 ( StringBuffer *  s,
const uint16_t *  p,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_puts8()

static int string_buffer_puts8 ( StringBuffer *  s,
const char *  str 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_concat()

static int string_buffer_concat ( StringBuffer *  s,
const JSString *  p,
uint32_t  from,
uint32_t  to 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_concat_value()

static int string_buffer_concat_value ( StringBuffer *  s,
JSValueConst  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_concat_value_free()

static int string_buffer_concat_value_free ( StringBuffer *  s,
JSValue  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_fill()

static int string_buffer_fill ( StringBuffer *  s,
int  c,
int  count 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_buffer_end()

static JSValue string_buffer_end ( StringBuffer *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewStringLen()

JSValue JS_NewStringLen ( JSContext *  ctx,
const char *  buf,
size_t  buf_len 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ConcatString3()

static JSValue JS_ConcatString3 ( JSContext *  ctx,
const char *  str1,
JSValue  str2,
const char *  str3 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewAtomString()

JSValue JS_NewAtomString ( JSContext *  ctx,
const char *  str 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToCStringLen2()

const char * JS_ToCStringLen2 ( JSContext *  ctx,
size_t *  plen,
JSValueConst  val1,
BOOL  cesu8 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_FreeCString()

void JS_FreeCString ( JSContext *  ctx,
const char *  ptr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ memcmp16_8()

static int memcmp16_8 ( const uint16_t *  src1,
const uint8_t *  src2,
int  len 
)
static
+ Here is the caller graph for this function:

◆ memcmp16()

static int memcmp16 ( const uint16_t *  src1,
const uint16_t *  src2,
int  len 
)
static
+ Here is the caller graph for this function:

◆ copy_str16()

static void copy_str16 ( uint16_t *  dst,
const JSString *  p,
int  offset,
int  len 
)
static
+ Here is the caller graph for this function:

◆ JS_ConcatString1()

static JSValue JS_ConcatString1 ( JSContext *  ctx,
const JSString *  p1,
const JSString *  p2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ConcatStringInPlace()

static BOOL JS_ConcatStringInPlace ( JSContext *  ctx,
JSString *  p1,
JSValueConst  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ConcatString2()

static JSValue JS_ConcatString2 ( JSContext *  ctx,
JSValue  op1,
JSValue  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_rope_get()

static int string_rope_get ( JSValueConst  val,
uint32_t  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_rope_iter_init()

static void string_rope_iter_init ( JSStringRopeIter *  s,
JSValueConst  val 
)
static
+ Here is the caller graph for this function:

◆ string_rope_iter_next()

static JSString * string_rope_iter_next ( JSStringRopeIter *  s)
static
+ Here is the caller graph for this function:

◆ string_rope_get_len()

static uint32_t string_rope_get_len ( JSValueConst  val)
static
+ Here is the caller graph for this function:

◆ js_string_rope_compare()

static int js_string_rope_compare ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2,
BOOL  eq_only 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_linearize_string_rope()

static JSValue js_linearize_string_rope ( JSContext *  ctx,
JSValue  rope 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_rebalancee_string_rope()

static JSValue js_rebalancee_string_rope ( JSContext *  ctx,
JSValueConst  rope 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_string_rope()

static JSValue js_new_string_rope ( JSContext *  ctx,
JSValue  op1,
JSValue  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_rebalancee_string_rope_rec()

static int js_rebalancee_string_rope_rec ( JSContext *  ctx,
JSValue *  buckets,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ConcatString()

static JSValue JS_ConcatString ( JSContext *  ctx,
JSValue  op1,
JSValue  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_shape_size()

static size_t get_shape_size ( size_t  hash_size,
size_t  prop_size 
)
static
+ Here is the caller graph for this function:

◆ get_shape_prop()

static JSShapeProperty * get_shape_prop ( JSShape *  sh)
static
+ Here is the caller graph for this function:

◆ shape_hash()

static uint32_t shape_hash ( uint32_t  h,
uint32_t  val 
)
static
+ Here is the caller graph for this function:

◆ get_shape_hash()

static uint32_t get_shape_hash ( uint32_t  h,
int  hash_bits 
)
static
+ Here is the caller graph for this function:

◆ shape_initial_hash()

static uint32_t shape_initial_hash ( JSObject *  proto)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resize_shape_hash()

static int resize_shape_hash ( JSRuntime *  rt,
int  new_shape_hash_bits 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_shape_hash_link()

static void js_shape_hash_link ( JSRuntime *  rt,
JSShape *  sh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_shape_hash_unlink()

static void js_shape_hash_unlink ( JSRuntime *  rt,
JSShape *  sh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_shape_nohash()

static JSShape * js_new_shape_nohash ( JSContext *  ctx,
JSObject *  proto,
int  hash_size,
int  prop_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_shape2()

static no_inline JSShape * js_new_shape2 ( JSContext *  ctx,
JSObject *  proto,
int  hash_size,
int  prop_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_shape()

static JSShape * js_new_shape ( JSContext *  ctx,
JSObject *  proto 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_clone_shape()

static JSShape * js_clone_shape ( JSContext *  ctx,
JSShape *  sh1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_dup_shape()

static JSShape * js_dup_shape ( JSShape *  sh)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_shape0()

static void js_free_shape0 ( JSRuntime *  rt,
JSShape *  sh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resize_properties()

static no_inline int resize_properties ( JSContext *  ctx,
JSShape **  psh,
JSObject *  p,
uint32_t  count 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compact_properties()

static int compact_properties ( JSContext *  ctx,
JSObject *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_shape_property()

static int add_shape_property ( JSContext *  ctx,
JSShape **  psh,
JSObject *  p,
JSAtom  atom,
int  prop_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_hashed_shape_proto()

static JSShape * find_hashed_shape_proto ( JSRuntime *  rt,
JSObject *  proto 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_hashed_shape_prop()

static JSShape * find_hashed_shape_prop ( JSRuntime *  rt,
JSShape *  sh,
JSAtom  atom,
int  prop_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpShape()

static __maybe_unused void JS_DumpShape ( JSRuntime *  rt,
int  i,
JSShape *  sh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpShapes()

static __maybe_unused void JS_DumpShapes ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewObjectFromShape()

static JSValue JS_NewObjectFromShape ( JSContext *  ctx,
JSShape *  sh,
JSClassID  class_id,
JSProperty *  props 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_proto_obj()

static JSObject * get_proto_obj ( JSValueConst  proto_val)
static
+ Here is the caller graph for this function:

◆ JS_NewObjectProtoClass()

JSValue JS_NewObjectProtoClass ( JSContext *  ctx,
JSValueConst  proto_val,
JSClassID  class_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewObjectProtoClassAlloc()

static JSValue JS_NewObjectProtoClassAlloc ( JSContext *  ctx,
JSValueConst  proto_val,
JSClassID  class_id,
int  n_alloc_props 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetObjectData()

static int JS_SetObjectData ( JSContext *  ctx,
JSValueConst  obj,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewObjectClass()

JSValue JS_NewObjectClass ( JSContext *  ctx,
int  class_id 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewObjectProto()

JSValue JS_NewObjectProto ( JSContext *  ctx,
JSValueConst  proto 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewArray()

JSValue JS_NewArray ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewObject()

JSValue JS_NewObject ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_function_set_properties()

static void js_function_set_properties ( JSContext *  ctx,
JSValueConst  func_obj,
JSAtom  name,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_class_has_bytecode()

static BOOL js_class_has_bytecode ( JSClassID  class_id)
static
+ Here is the caller graph for this function:

◆ JS_GetFunctionBytecode()

static JSFunctionBytecode * JS_GetFunctionBytecode ( JSValueConst  val)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_method_set_home_object()

static void js_method_set_home_object ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  home_obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_function_name()

static JSValue js_get_function_name ( JSContext *  ctx,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_method_set_properties()

static int js_method_set_properties ( JSContext *  ctx,
JSValueConst  func_obj,
JSAtom  name,
int  flags,
JSValueConst  home_obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewCFunction3()

static JSValue JS_NewCFunction3 ( JSContext *  ctx,
JSCFunction *  func,
const char *  name,
int  length,
JSCFunctionEnum  cproto,
int  magic,
JSValueConst  proto_val,
int  n_fields 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewCFunction2()

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:

◆ JS_NewCFunctionData()

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:

◆ js_autoinit_get_realm()

static JSContext * js_autoinit_get_realm ( JSProperty *  pr)
static
+ Here is the caller graph for this function:

◆ js_autoinit_get_id()

static JSAutoInitIDEnum js_autoinit_get_id ( JSProperty *  pr)
static
+ Here is the caller graph for this function:

◆ js_autoinit_free()

static void js_autoinit_free ( JSRuntime *  rt,
JSProperty *  pr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_autoinit_mark()

static void js_autoinit_mark ( JSRuntime *  rt,
JSProperty *  pr,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_own_property1()

static force_inline JSShapeProperty * find_own_property1 ( JSObject *  p,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_own_property()

static force_inline JSShapeProperty * find_own_property ( JSProperty **  ppr,
JSObject *  p,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_cycle_flag()

static void set_cycle_flag ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the caller graph for this function:

◆ js_array_finalizer()

static void js_array_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_array_mark()

static void js_array_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_object_data_finalizer()

static void js_object_data_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_object_data_mark()

static void js_object_data_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_c_function_finalizer()

static void js_c_function_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_c_function_mark()

static void js_c_function_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static

◆ js_bytecode_function_finalizer()

static void js_bytecode_function_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_bytecode_function_mark()

static void js_bytecode_function_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_bound_function_finalizer()

static void js_bound_function_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_bound_function_mark()

static void js_bound_function_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_for_in_iterator_finalizer()

static void js_for_in_iterator_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_for_in_iterator_mark()

static void js_for_in_iterator_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ free_object()

static void free_object ( JSRuntime *  rt,
JSObject *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_gc_object()

static void free_gc_object ( JSRuntime *  rt,
JSGCObjectHeader *  gp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_zero_refcount()

static void free_zero_refcount ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_FreeValueRT()

void __JS_FreeValueRT ( JSRuntime *  rt,
JSValue  v 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_FreeValue()

void __JS_FreeValue ( JSContext *  ctx,
JSValue  v 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gc_remove_weak_objects()

static void gc_remove_weak_objects ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_MarkValue()

void JS_MarkValue ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
+ Here is the caller graph for this function:

◆ mark_children()

static void mark_children ( JSRuntime *  rt,
JSGCObjectHeader *  gp,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gc_decref_child()

static void gc_decref_child ( JSRuntime *  rt,
JSGCObjectHeader *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gc_decref()

static void gc_decref ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gc_scan_incref_child()

static void gc_scan_incref_child ( JSRuntime *  rt,
JSGCObjectHeader *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gc_scan_incref_child2()

static void gc_scan_incref_child2 ( JSRuntime *  rt,
JSGCObjectHeader *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gc_scan()

static void gc_scan ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gc_free_cycles()

static void gc_free_cycles ( JSRuntime *  rt)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_RunGC()

void JS_RunGC ( JSRuntime *  rt)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IsLiveObject()

BOOL JS_IsLiveObject ( JSRuntime *  rt,
JSValueConst  obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_value_size()

static void compute_value_size ( JSValueConst  val,
JSMemoryUsage_helper *  hp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_jsstring_size()

static void compute_jsstring_size ( JSString *  str,
JSMemoryUsage_helper *  hp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_bytecode_size()

static void compute_bytecode_size ( JSFunctionBytecode *  b,
JSMemoryUsage_helper *  hp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ComputeMemoryUsage()

void JS_ComputeMemoryUsage ( JSRuntime *  rt,
JSMemoryUsage *  s 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpMemoryUsage()

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:

◆ JS_GetGlobalObject()

JSValue JS_GetGlobalObject ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_Throw()

JSValue JS_Throw ( JSContext *  ctx,
JSValue  obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetException()

JSValue JS_GetException ( JSContext *  ctx)
+ Here is the caller graph for this function:

◆ JS_HasException()

JS_BOOL JS_HasException ( JSContext *  ctx)
+ Here is the call graph for this function:

◆ dbuf_put_leb128()

static void dbuf_put_leb128 ( DynBuf *  s,
uint32_t  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dbuf_put_sleb128()

static void dbuf_put_sleb128 ( DynBuf *  s,
int32_t  v1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_leb128()

static int get_leb128 ( uint32_t *  pval,
const uint8_t *  buf,
const uint8_t *  buf_end 
)
static
+ Here is the caller graph for this function:

◆ get_sleb128()

static int get_sleb128 ( int32_t *  pval,
const uint8_t *  buf,
const uint8_t *  buf_end 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_line_num()

static int find_line_num ( JSContext *  ctx,
JSFunctionBytecode *  b,
uint32_t  pc_value,
int *  pcol_num 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_prop_string()

static const char * get_prop_string ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  prop 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_backtrace()

static void build_backtrace ( JSContext *  ctx,
JSValueConst  error_obj,
const char *  filename,
int  line_num,
int  col_num,
int  backtrace_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_backtrace_needed()

static BOOL is_backtrace_needed ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewError()

JSValue JS_NewError ( JSContext *  ctx)
+ Here is the call graph for this function:

◆ JS_ThrowError2()

static JSValue JS_ThrowError2 ( JSContext *  ctx,
JSErrorEnum  error_num,
const char *  fmt,
va_list  ap,
BOOL  add_backtrace 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowError()

static JSValue JS_ThrowError ( JSContext *  ctx,
JSErrorEnum  error_num,
const char *  fmt,
va_list  ap 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __attribute__() [2/2]

static __attribute__ ( (format(printf, 3, 4))  )
static
+ Here is the call graph for this function:

◆ JS_ThrowTypeErrorReadOnly()

static int JS_ThrowTypeErrorReadOnly ( JSContext *  ctx,
int  flags,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowStackOverflow()

static JSValue JS_ThrowStackOverflow ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorNotAnObject()

static JSValue JS_ThrowTypeErrorNotAnObject ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorNotAConstructor()

static JSValue JS_ThrowTypeErrorNotAConstructor ( JSContext *  ctx,
JSValueConst  func_obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorNotASymbol()

static JSValue JS_ThrowTypeErrorNotASymbol ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ JS_ThrowReferenceErrorNotDefined()

static JSValue JS_ThrowReferenceErrorNotDefined ( JSContext *  ctx,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowReferenceErrorUninitialized()

static JSValue JS_ThrowReferenceErrorUninitialized ( JSContext *  ctx,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowReferenceErrorUninitialized2()

static JSValue JS_ThrowReferenceErrorUninitialized2 ( JSContext *  ctx,
JSFunctionBytecode *  b,
int  idx,
BOOL  is_ref 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorInvalidClass()

static JSValue JS_ThrowTypeErrorInvalidClass ( JSContext *  ctx,
int  class_id 
)
static
+ Here is the caller graph for this function:

◆ JS_ThrowInterrupted()

static void JS_ThrowInterrupted ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __js_poll_interrupts()

static no_inline __exception int __js_poll_interrupts ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_poll_interrupts()

static __exception int js_poll_interrupts ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetImmutablePrototype()

static void JS_SetImmutablePrototype ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the caller graph for this function:

◆ JS_SetPrototypeInternal()

static int JS_SetPrototypeInternal ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  proto_val,
BOOL  throw_flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetPrototype()

int JS_SetPrototype ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  proto_val 
)
+ Here is the call graph for this function:

◆ JS_GetPrototypePrimitive()

static JSValueConst JS_GetPrototypePrimitive ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the caller graph for this function:

◆ JS_GetPrototype()

JSValue JS_GetPrototype ( JSContext *  ctx,
JSValueConst  obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetPrototypeFree()

static JSValue JS_GetPrototypeFree ( JSContext *  ctx,
JSValue  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_OrdinaryIsInstanceOf()

static int JS_OrdinaryIsInstanceOf ( JSContext *  ctx,
JSValueConst  val,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IsInstanceOf()

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:

◆ JS_AutoInitProperty()

static int JS_AutoInitProperty ( JSContext *  ctx,
JSObject *  p,
JSAtom  prop,
JSProperty *  pr,
JSShapeProperty *  prs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetPropertyInternal()

JSValue JS_GetPropertyInternal ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  prop,
JSValueConst  this_obj,
BOOL  throw_ref_error 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowTypeErrorPrivateNotFound()

static JSValue JS_ThrowTypeErrorPrivateNotFound ( JSContext *  ctx,
JSAtom  atom 
)
static
+ Here is the caller graph for this function:

◆ JS_DefinePrivateField()

static int JS_DefinePrivateField ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  name,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetPrivateField()

static JSValue JS_GetPrivateField ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetPrivateField()

static int JS_SetPrivateField ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  name,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AddBrand()

static int JS_AddBrand ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  home_obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CheckBrand()

static int JS_CheckBrand ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  func 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_obj_get_length()

static uint32_t js_string_obj_get_length ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the caller graph for this function:

◆ num_keys_cmp()

static int num_keys_cmp ( const void *  p1,
const void *  p2,
void *  opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_FreePropertyEnum()

void JS_FreePropertyEnum ( JSContext *  ctx,
JSPropertyEnum *  tab,
uint32_t  len 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetOwnPropertyNamesInternal()

static int __exception JS_GetOwnPropertyNamesInternal ( JSContext *  ctx,
JSPropertyEnum **  ptab,
uint32_t *  plen,
JSObject *  p,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetOwnPropertyNames()

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:

◆ JS_GetOwnProperty()

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:

◆ JS_IsExtensible()

int JS_IsExtensible ( JSContext *  ctx,
JSValueConst  obj 
)
+ Here is the caller graph for this function:

◆ JS_PreventExtensions()

int JS_PreventExtensions ( JSContext *  ctx,
JSValueConst  obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_HasProperty()

int JS_HasProperty ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  prop 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ValueToAtom()

JSAtom JS_ValueToAtom ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetPropertyValue()

static JSValue JS_GetPropertyValue ( JSContext *  ctx,
JSValueConst  this_obj,
JSValue  prop 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetPropertyUint32()

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:

◆ JS_TryGetPropertyInt64()

static int JS_TryGetPropertyInt64 ( JSContext *  ctx,
JSValueConst  obj,
int64_t  idx,
JSValue *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetPropertyInt64()

static JSValue JS_GetPropertyInt64 ( JSContext *  ctx,
JSValueConst  obj,
int64_t  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetPropertyStr()

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:

◆ convert_fast_array_to_array()

static no_inline __exception int convert_fast_array_to_array ( JSContext *  ctx,
JSObject *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove_global_object_property()

static int remove_global_object_property ( JSContext *  ctx,
JSObject *  p,
JSShapeProperty *  prs,
JSProperty *  pr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ delete_property()

static int delete_property ( JSContext *  ctx,
JSObject *  p,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ call_setter()

static int call_setter ( JSContext *  ctx,
JSObject *  setter,
JSValueConst  this_obj,
JSValue  val,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_array_length()

static int set_array_length ( JSContext *  ctx,
JSObject *  p,
JSValue  val,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ expand_fast_array()

static int expand_fast_array ( JSContext *  ctx,
JSObject *  p,
uint32_t  new_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_fast_array_element()

static int add_fast_array_element ( JSContext *  ctx,
JSObject *  p,
JSValue  val,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_allocate_fast_array()

static JSValue js_allocate_fast_array ( JSContext *  ctx,
int64_t  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_array()

static JSValue js_create_array ( JSContext *  ctx,
int  len,
JSValueConst *  tab 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_array_free()

static JSValue js_create_array_free ( JSContext *  ctx,
int  len,
JSValue *  tab 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetPropertyInternal()

int JS_SetPropertyInternal ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  prop,
JSValue  val,
JSValueConst  this_obj,
int  flags 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ can_extend_fast_array()

static force_inline BOOL can_extend_fast_array ( JSObject *  p)
static
+ Here is the caller graph for this function:

◆ JS_SetPropertyUint32()

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:

◆ JS_SetPropertyInt64()

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:

◆ JS_SetPropertyStr()

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:

◆ get_prop_flags()

static int get_prop_flags ( int  flags,
int  def_flags 
)
static
+ Here is the caller graph for this function:

◆ check_define_prop_flags()

static BOOL check_define_prop_flags ( int  prop_flags,
int  flags 
)
static
+ Here is the caller graph for this function:

◆ js_update_property_flags()

static int js_update_property_flags ( JSContext *  ctx,
JSObject *  p,
JSShapeProperty **  pprs,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DefineProperty()

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:

◆ JS_DefineAutoInitProperty()

static int JS_DefineAutoInitProperty ( JSContext *  ctx,
JSValueConst  this_obj,
JSAtom  prop,
JSAutoInitIDEnum  id,
void *  opaque,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DefinePropertyValue()

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:

◆ JS_DefinePropertyValueValue()

int JS_DefinePropertyValueValue ( JSContext *  ctx,
JSValueConst  this_obj,
JSValue  prop,
JSValue  val,
int  flags 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DefinePropertyValueUint32()

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:

◆ JS_DefinePropertyValueInt64()

int JS_DefinePropertyValueInt64 ( JSContext *  ctx,
JSValueConst  this_obj,
int64_t  idx,
JSValue  val,
int  flags 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DefinePropertyValueStr()

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:

◆ JS_DefinePropertyGetSet()

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:

◆ JS_CreateDataPropertyUint32()

static int JS_CreateDataPropertyUint32 ( JSContext *  ctx,
JSValueConst  this_obj,
int64_t  idx,
JSValue  val,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_has_name()

static BOOL js_object_has_name ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DefineObjectName()

static int JS_DefineObjectName ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  name,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DefineObjectNameComputed()

static int JS_DefineObjectNameComputed ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  str,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThrowSyntaxErrorVarRedeclaration()

static JSValue JS_ThrowSyntaxErrorVarRedeclaration ( JSContext *  ctx,
JSAtom  prop 
)
static
+ Here is the caller graph for this function:

◆ JS_CheckDefineGlobalVar()

static int JS_CheckDefineGlobalVar ( JSContext *  ctx,
JSAtom  prop,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetGlobalVarRef()

static int JS_GetGlobalVarRef ( JSContext *  ctx,
JSAtom  prop,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DeleteGlobalVar()

static int JS_DeleteGlobalVar ( JSContext *  ctx,
JSAtom  prop 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DeleteProperty()

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:

◆ JS_DeletePropertyInt64()

int JS_DeletePropertyInt64 ( JSContext *  ctx,
JSValueConst  obj,
int64_t  idx,
int  flags 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IsFunction()

BOOL JS_IsFunction ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the caller graph for this function:

◆ JS_IsCFunction()

BOOL JS_IsCFunction ( JSContext *  ctx,
JSValueConst  val,
JSCFunction *  func,
int  magic 
)
+ Here is the caller graph for this function:

◆ JS_IsConstructor()

BOOL JS_IsConstructor ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the caller graph for this function:

◆ JS_SetConstructorBit()

BOOL JS_SetConstructorBit ( JSContext *  ctx,
JSValueConst  func_obj,
BOOL  val 
)
+ Here is the caller graph for this function:

◆ JS_IsError()

BOOL JS_IsError ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the caller graph for this function:

◆ JS_SetUncatchableException()

void JS_SetUncatchableException ( JSContext *  ctx,
BOOL  flag 
)
+ Here is the caller graph for this function:

◆ JS_SetOpaque()

void JS_SetOpaque ( JSValue  obj,
void *  opaque 
)
+ Here is the caller graph for this function:

◆ JS_GetOpaque()

void * JS_GetOpaque ( JSValueConst  obj,
JSClassID  class_id 
)
+ Here is the caller graph for this function:

◆ JS_GetOpaque2()

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:

◆ JS_GetAnyOpaque()

void * JS_GetAnyOpaque ( JSValueConst  obj,
JSClassID *  class_id 
)

◆ JS_ToPrimitiveFree()

static JSValue JS_ToPrimitiveFree ( JSContext *  ctx,
JSValue  val,
int  hint 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToPrimitive()

static JSValue JS_ToPrimitive ( JSContext *  ctx,
JSValueConst  val,
int  hint 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetIsHTMLDDA()

void JS_SetIsHTMLDDA ( JSContext *  ctx,
JSValueConst  obj 
)

◆ JS_IsHTMLDDA()

static BOOL JS_IsHTMLDDA ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the caller graph for this function:

◆ JS_ToBoolFree()

static int JS_ToBoolFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToBool()

int JS_ToBool ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ skip_spaces()

static int skip_spaces ( const char *  pc)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ to_digit()

static int to_digit ( int  c)
static
+ Here is the caller graph for this function:

◆ js_limb_clz()

static js_limb_t js_limb_clz ( js_limb_t  a)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_limb_safe_clz()

static js_limb_t js_limb_safe_clz ( js_limb_t  a)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mp_add()

static js_limb_t mp_add ( js_limb_t *  res,
const js_limb_t *  op1,
const js_limb_t *  op2,
js_limb_t  n,
js_limb_t  carry 
)
static
+ Here is the caller graph for this function:

◆ mp_sub()

static js_limb_t mp_sub ( js_limb_t *  res,
const js_limb_t *  op1,
const js_limb_t *  op2,
int  n,
js_limb_t  carry 
)
static
+ Here is the caller graph for this function:

◆ mp_neg()

static js_limb_t mp_neg ( js_limb_t *  res,
const js_limb_t *  op2,
int  n 
)
static
+ Here is the caller graph for this function:

◆ mp_mul1()

static js_limb_t mp_mul1 ( js_limb_t *  tabr,
const js_limb_t *  taba,
js_limb_t  n,
js_limb_t  b,
js_limb_t  l 
)
static
+ Here is the caller graph for this function:

◆ mp_div1()

static js_limb_t mp_div1 ( js_limb_t *  tabr,
const js_limb_t *  taba,
js_limb_t  n,
js_limb_t  b,
js_limb_t  r 
)
static
+ Here is the caller graph for this function:

◆ mp_add_mul1()

static js_limb_t mp_add_mul1 ( js_limb_t *  tabr,
const js_limb_t *  taba,
js_limb_t  n,
js_limb_t  b 
)
static
+ Here is the caller graph for this function:

◆ mp_mul_basecase()

static void mp_mul_basecase ( js_limb_t *  result,
const js_limb_t *  op1,
js_limb_t  op1_size,
const js_limb_t *  op2,
js_limb_t  op2_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mp_sub_mul1()

static js_limb_t mp_sub_mul1 ( js_limb_t *  tabr,
const js_limb_t *  taba,
js_limb_t  n,
js_limb_t  b 
)
static
+ Here is the caller graph for this function:

◆ udiv1norm_init()

static js_limb_t udiv1norm_init ( js_limb_t  d)
static
+ Here is the caller graph for this function:

◆ udiv1norm()

static js_limb_t udiv1norm ( js_limb_t *  pr,
js_limb_t  a1,
js_limb_t  a0,
js_limb_t  d,
js_limb_t  d_inv 
)
static
+ Here is the caller graph for this function:

◆ mp_div1norm()

static js_limb_t mp_div1norm ( js_limb_t *  tabr,
const js_limb_t *  taba,
js_limb_t  n,
js_limb_t  b,
js_limb_t  r 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mp_divnorm()

static void mp_divnorm ( js_limb_t *  tabq,
js_limb_t *  taba,
js_limb_t  na,
const js_limb_t *  tabb,
js_limb_t  nb 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mp_shl()

static js_limb_t mp_shl ( js_limb_t *  tabr,
const js_limb_t *  taba,
int  n,
int  shift 
)
static
+ Here is the caller graph for this function:

◆ mp_shr()

static js_limb_t mp_shr ( js_limb_t *  tab_r,
const js_limb_t *  tab,
int  n,
int  shift,
js_limb_t  high 
)
static
+ Here is the caller graph for this function:

◆ js_bigint_new()

static JSBigInt * js_bigint_new ( JSContext *  ctx,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_set_si()

static JSBigInt * js_bigint_set_si ( JSBigIntBuf *  buf,
js_slimb_t  a 
)
static
+ Here is the caller graph for this function:

◆ js_bigint_set_si64()

static JSBigInt * js_bigint_set_si64 ( JSBigIntBuf *  buf,
int64_t  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_set_short()

static JSBigInt * js_bigint_set_short ( JSBigIntBuf *  buf,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_dump1()

static __maybe_unused void js_bigint_dump1 ( JSContext *  ctx,
const char *  str,
const js_limb_t *  tab,
int  len 
)
static
+ Here is the caller graph for this function:

◆ js_bigint_dump()

static __maybe_unused void js_bigint_dump ( JSContext *  ctx,
const char *  str,
const JSBigInt *  p 
)
static
+ Here is the call graph for this function:

◆ js_bigint_new_si()

static JSBigInt * js_bigint_new_si ( JSContext *  ctx,
js_slimb_t  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_new_si64()

static JSBigInt * js_bigint_new_si64 ( JSContext *  ctx,
int64_t  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_new_ui64()

static JSBigInt * js_bigint_new_ui64 ( JSContext *  ctx,
uint64_t  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_new_di()

static JSBigInt * js_bigint_new_di ( JSContext *  ctx,
js_sdlimb_t  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_normalize1()

static JSBigInt * js_bigint_normalize1 ( JSContext *  ctx,
JSBigInt *  a,
int  l 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_normalize()

static JSBigInt * js_bigint_normalize ( JSContext *  ctx,
JSBigInt *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_sign()

static int js_bigint_sign ( const JSBigInt *  a)
static
+ Here is the caller graph for this function:

◆ js_bigint_get_si_sat()

static js_slimb_t js_bigint_get_si_sat ( const JSBigInt *  a)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_extend()

static JSBigInt * js_bigint_extend ( JSContext *  ctx,
JSBigInt *  r,
js_limb_t  op1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_add()

static JSBigInt * js_bigint_add ( JSContext *  ctx,
const JSBigInt *  a,
const JSBigInt *  b,
int  b_neg 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_neg()

static JSBigInt * js_bigint_neg ( JSContext *  ctx,
const JSBigInt *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_mul()

static JSBigInt * js_bigint_mul ( JSContext *  ctx,
const JSBigInt *  a,
const JSBigInt *  b 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_divrem()

static JSBigInt * js_bigint_divrem ( JSContext *  ctx,
const JSBigInt *  a,
const JSBigInt *  b,
BOOL  is_rem 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_logic()

static JSBigInt * js_bigint_logic ( JSContext *  ctx,
const JSBigInt *  a,
const JSBigInt *  b,
OPCodeEnum  op 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_not()

static JSBigInt * js_bigint_not ( JSContext *  ctx,
const JSBigInt *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_shl()

static JSBigInt * js_bigint_shl ( JSContext *  ctx,
const JSBigInt *  a,
unsigned int  shift1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_shr()

static JSBigInt * js_bigint_shr ( JSContext *  ctx,
const JSBigInt *  a,
unsigned int  shift1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_pow()

static JSBigInt * js_bigint_pow ( JSContext *  ctx,
const JSBigInt *  a,
JSBigInt *  b 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_get_mant_exp()

static uint64_t js_bigint_get_mant_exp ( JSContext *  ctx,
int *  pexp,
const JSBigInt *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ shr_rndn()

static uint64_t shr_rndn ( uint64_t  a,
int  n 
)
static
+ Here is the caller graph for this function:

◆ js_bigint_to_float64()

static double js_bigint_to_float64 ( JSContext *  ctx,
const JSBigInt *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_from_float64()

static JSBigInt * js_bigint_from_float64 ( JSContext *  ctx,
int *  pres,
double  a1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_float64_cmp()

static int js_bigint_float64_cmp ( JSContext *  ctx,
const JSBigInt *  a,
double  b 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_cmp()

static int js_bigint_cmp ( JSContext *  ctx,
const JSBigInt *  a,
const JSBigInt *  b 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_from_string()

static JSBigInt * js_bigint_from_string ( JSContext *  ctx,
const char *  str,
int  radix 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_u64toa()

static char * js_u64toa ( char *  q,
int64_t  n,
unsigned int  base 
)
static
+ Here is the caller graph for this function:

◆ limb_to_a()

static char * limb_to_a ( char *  q,
js_limb_t  n,
unsigned int  radix,
int  len 
)
static
+ Here is the caller graph for this function:

◆ js_bigint_to_string1()

static JSValue js_bigint_to_string1 ( JSContext *  ctx,
JSValueConst  val,
int  radix 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CompactBigInt()

static JSValue JS_CompactBigInt ( JSContext *  ctx,
JSBigInt *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_atof()

static JSValue js_atof ( JSContext *  ctx,
const char *  str,
const char **  pp,
int  radix,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToNumberHintFree()

static JSValue JS_ToNumberHintFree ( JSContext *  ctx,
JSValue  val,
JSToNumberHintEnum  flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToNumericFree()

static JSValue JS_ToNumericFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToNumeric()

static JSValue JS_ToNumeric ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_ToFloat64Free()

static __exception int __JS_ToFloat64Free ( JSContext *  ctx,
double *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToFloat64Free()

static int JS_ToFloat64Free ( JSContext *  ctx,
double *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToFloat64()

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:

◆ JS_ToIntegerFree()

static __maybe_unused JSValue JS_ToIntegerFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt32SatFree()

static int JS_ToInt32SatFree ( JSContext *  ctx,
int *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt32Sat()

int JS_ToInt32Sat ( JSContext *  ctx,
int *  pres,
JSValueConst  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt32Clamp()

int JS_ToInt32Clamp ( JSContext *  ctx,
int *  pres,
JSValueConst  val,
int  min,
int  max,
int  min_offset 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt64SatFree()

static int JS_ToInt64SatFree ( JSContext *  ctx,
int64_t *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt64Sat()

int JS_ToInt64Sat ( JSContext *  ctx,
int64_t *  pres,
JSValueConst  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt64Clamp()

int JS_ToInt64Clamp ( JSContext *  ctx,
int64_t *  pres,
JSValueConst  val,
int64_t  min,
int64_t  max,
int64_t  neg_offset 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt64Free()

static int JS_ToInt64Free ( JSContext *  ctx,
int64_t *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt64()

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:

◆ JS_ToInt64Ext()

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:

◆ JS_ToInt32Free()

static int JS_ToInt32Free ( JSContext *  ctx,
int32_t *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToInt32()

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:

◆ JS_ToUint32Free()

static int JS_ToUint32Free ( JSContext *  ctx,
uint32_t *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToUint8ClampFree()

static int JS_ToUint8ClampFree ( JSContext *  ctx,
int32_t *  pres,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_safe_integer()

static BOOL is_safe_integer ( double  d)
static
+ Here is the caller graph for this function:

◆ JS_ToIndex()

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:

◆ JS_ToLengthFree()

static __exception int JS_ToLengthFree ( JSContext *  ctx,
int64_t *  plen,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_to_string()

static JSValue js_bigint_to_string ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_dtoa2()

static JSValue js_dtoa2 ( JSContext *  ctx,
double  d,
int  radix,
int  n_digits,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToStringInternal()

static JSValue JS_ToStringInternal ( JSContext *  ctx,
JSValueConst  val,
BOOL  is_ToPropertyKey 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToString()

JSValue JS_ToString ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToStringFree()

static JSValue JS_ToStringFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToLocaleStringFree()

static JSValue JS_ToLocaleStringFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToPropertyKey()

JSValue JS_ToPropertyKey ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToStringCheckObject()

static JSValue JS_ToStringCheckObject ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_value()

static void js_print_value ( JSPrintValueState *  s,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_putc()

static void js_putc ( JSPrintValueState *  s,
char  c 
)
static
+ Here is the caller graph for this function:

◆ js_puts()

static void js_puts ( JSPrintValueState *  s,
const char *  str 
)
static
+ Here is the caller graph for this function:

◆ js_print_float64()

static void js_print_float64 ( JSPrintValueState *  s,
double  d 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_get_length()

static uint32_t js_string_get_length ( JSValueConst  val)
static
+ Here is the caller graph for this function:

◆ js_print_string1()

static void js_print_string1 ( JSPrintValueState *  s,
JSString *  p,
int  len,
int  sep 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_string_rec()

static void js_print_string_rec ( JSPrintValueState *  s,
JSValueConst  val,
int  sep,
uint32_t  pos 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_string()

static void js_print_string ( JSPrintValueState *  s,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_raw_string()

static void js_print_raw_string ( JSPrintValueState *  s,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_ascii_ident()

static BOOL is_ascii_ident ( const JSString *  p)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_atom()

static void js_print_atom ( JSPrintValueState *  s,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_array_get_length()

static uint32_t js_print_array_get_length ( JSObject *  p)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_comma()

static void js_print_comma ( JSPrintValueState *  s,
int *  pcomma_state 
)
static
+ Here is the caller graph for this function:

◆ js_print_more_items()

static void js_print_more_items ( JSPrintValueState *  s,
int *  pcomma_state,
uint32_t  n 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_regexp()

static void js_print_regexp ( JSPrintValueState *  s,
JSObject *  p1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_error()

static void js_print_error ( JSPrintValueState *  s,
JSObject *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_object()

static void js_print_object ( JSPrintValueState *  s,
JSObject *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_print_stack_index()

static int js_print_stack_index ( JSPrintValueState *  s,
JSObject *  p 
)
static
+ Here is the caller graph for this function:

◆ JS_PrintValueSetDefaultOptions()

void JS_PrintValueSetDefaultOptions ( JSPrintValueOptions *  options)
+ Here is the caller graph for this function:

◆ JS_PrintValueInternal()

static void JS_PrintValueInternal ( JSRuntime *  rt,
JSContext *  ctx,
JSPrintValueWrite *  write_func,
void *  write_opaque,
JSValueConst  val,
const JSPrintValueOptions *  options 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_PrintValueRT()

void JS_PrintValueRT ( JSRuntime *  rt,
JSPrintValueWrite *  write_func,
void *  write_opaque,
JSValueConst  val,
const JSPrintValueOptions *  options 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_PrintValue()

void JS_PrintValue ( JSContext *  ctx,
JSPrintValueWrite *  write_func,
void *  write_opaque,
JSValueConst  val,
const JSPrintValueOptions *  options 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_dump_value_write()

static void js_dump_value_write ( void *  opaque,
const char *  buf,
size_t  len 
)
static
+ Here is the caller graph for this function:

◆ print_atom()

static __maybe_unused void print_atom ( JSContext *  ctx,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpAtom()

static __maybe_unused void JS_DumpAtom ( JSContext *  ctx,
const char *  str,
JSAtom  atom 
)
static
+ Here is the call graph for this function:

◆ JS_DumpValue()

static __maybe_unused void JS_DumpValue ( JSContext *  ctx,
const char *  str,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpValueRT()

static __maybe_unused void JS_DumpValueRT ( JSRuntime *  rt,
const char *  str,
JSValueConst  val 
)
static
+ Here is the call graph for this function:

◆ JS_DumpObjectHeader()

static __maybe_unused void JS_DumpObjectHeader ( JSRuntime *  rt)
static
+ Here is the caller graph for this function:

◆ JS_DumpObject()

static __maybe_unused void JS_DumpObject ( JSRuntime *  rt,
JSObject *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DumpGCObject()

static __maybe_unused void JS_DumpGCObject ( JSRuntime *  rt,
JSGCObjectHeader *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IsArray()

int JS_IsArray ( JSContext *  ctx,
JSValueConst  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_pow()

static double js_pow ( double  a,
double  b 
)
static
+ Here is the caller graph for this function:

◆ JS_NewBigInt64()

JSValue JS_NewBigInt64 ( JSContext *  ctx,
int64_t  v 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewBigUint64()

JSValue JS_NewBigUint64 ( JSContext *  ctx,
uint64_t  v 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_StringToBigInt()

static JSValue JS_StringToBigInt ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_StringToBigIntErr()

static JSValue JS_StringToBigIntErr ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToBigIntFree()

static JSValue JS_ToBigIntFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToBigInt()

static JSValue JS_ToBigInt ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToBigInt64()

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:

◆ js_unary_arith_slow()

static no_inline __exception int js_unary_arith_slow ( JSContext *  ctx,
JSValue *  sp,
OPCodeEnum  op 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_post_inc_slow()

static __exception int js_post_inc_slow ( JSContext *  ctx,
JSValue *  sp,
OPCodeEnum  op 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_not_slow()

static no_inline int js_not_slow ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_binary_arith_slow()

static no_inline __exception int js_binary_arith_slow ( JSContext *  ctx,
JSValue *  sp,
OPCodeEnum  op 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tag_is_string()

static BOOL tag_is_string ( uint32_t  tag)
static
+ Here is the caller graph for this function:

◆ js_add_slow()

static no_inline __exception int js_add_slow ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_binary_logic_slow()

static no_inline __exception int js_binary_logic_slow ( JSContext *  ctx,
JSValue *  sp,
OPCodeEnum  op 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToBigIntBuf()

static JSBigInt * JS_ToBigIntBuf ( JSContext *  ctx,
JSBigIntBuf *  buf1,
JSValue  op1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_compare_bigint()

static int js_compare_bigint ( JSContext *  ctx,
OPCodeEnum  op,
JSValue  op1,
JSValue  op2 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_relational_slow()

static no_inline int js_relational_slow ( JSContext *  ctx,
JSValue *  sp,
OPCodeEnum  op 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tag_is_number()

static BOOL tag_is_number ( uint32_t  tag)
static
+ Here is the caller graph for this function:

◆ js_eq_slow()

static no_inline __exception int js_eq_slow ( JSContext *  ctx,
JSValue *  sp,
BOOL  is_neq 
)
static
+ Here is the call graph for this function:

◆ js_shr_slow()

static no_inline int js_shr_slow ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_StrictEq()

BOOL JS_StrictEq ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2 
)
+ Here is the call graph for this function:

◆ JS_SameValue()

BOOL JS_SameValue ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SameValueZero()

BOOL JS_SameValueZero ( JSContext *  ctx,
JSValueConst  op1,
JSValueConst  op2 
)
+ Here is the call graph for this function:

◆ js_operator_in()

static __exception int js_operator_in ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_operator_private_in()

static __exception int js_operator_private_in ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_has_unscopable()

static __exception int js_has_unscopable ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_operator_instanceof()

static __exception int js_operator_instanceof ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_operator_typeof()

static __exception int js_operator_typeof ( JSContext *  ctx,
JSValueConst  op1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_operator_delete()

static __exception int js_operator_delete ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_throw_type_error()

static JSValue js_throw_type_error ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_function_proto_fileName()

static JSValue js_function_proto_fileName ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_function_proto_lineNumber()

static JSValue js_function_proto_lineNumber ( JSContext *  ctx,
JSValueConst  this_val,
int  is_col 
)
static
+ Here is the call graph for this function:

◆ js_arguments_define_own_property()

static int js_arguments_define_own_property ( JSContext *  ctx,
JSValueConst  this_obj,
JSAtom  prop,
JSValueConst  val,
JSValueConst  getter,
JSValueConst  setter,
int  flags 
)
static
+ Here is the call graph for this function:

◆ js_build_arguments()

static JSValue js_build_arguments ( JSContext *  ctx,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_mapped_arguments_finalizer()

static void js_mapped_arguments_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_mapped_arguments_mark()

static void js_mapped_arguments_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static

◆ js_build_mapped_arguments()

static JSValue js_build_mapped_arguments ( JSContext *  ctx,
int  argc,
JSValueConst *  argv,
JSStackFrame *  sf,
int  arg_count 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ build_for_in_iterator()

static JSValue build_for_in_iterator ( JSContext *  ctx,
JSValue  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_for_in_start()

static __exception int js_for_in_start ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_for_in_prepare_prototype_chain_enum()

static __exception int js_for_in_prepare_prototype_chain_enum ( JSContext *  ctx,
JSValueConst  enum_obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_for_in_next()

static __exception int js_for_in_next ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetIterator2()

static JSValue JS_GetIterator2 ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  method 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetIterator()

static JSValue JS_GetIterator ( JSContext *  ctx,
JSValueConst  obj,
BOOL  is_async 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IteratorNext2()

static JSValue JS_IteratorNext2 ( JSContext *  ctx,
JSValueConst  enum_obj,
JSValueConst  method,
int  argc,
JSValueConst *  argv,
int *  pdone 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IteratorNext()

static JSValue JS_IteratorNext ( JSContext *  ctx,
JSValueConst  enum_obj,
JSValueConst  method,
int  argc,
JSValueConst *  argv,
BOOL *  pdone 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IteratorClose()

static int JS_IteratorClose ( JSContext *  ctx,
JSValueConst  enum_obj,
BOOL  is_exception_pending 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_for_of_start()

static __exception int js_for_of_start ( JSContext *  ctx,
JSValue *  sp,
BOOL  is_async 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_for_of_next()

static __exception int js_for_of_next ( JSContext *  ctx,
JSValue *  sp,
int  offset 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_for_await_of_next()

static __exception int js_for_await_of_next ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IteratorGetCompleteValue()

static JSValue JS_IteratorGetCompleteValue ( JSContext *  ctx,
JSValueConst  obj,
BOOL *  pdone 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_iterator_get_value_done()

static __exception int js_iterator_get_value_done ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_iterator_result()

static JSValue js_create_iterator_result ( JSContext *  ctx,
JSValue  val,
BOOL  done 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_iterator_next()

static JSValue js_array_iterator_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
BOOL *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_array_iterator()

static JSValue js_create_array_iterator ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_append_enumerate()

static __exception int js_append_enumerate ( JSContext *  ctx,
JSValue *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CopyDataProperties()

static __exception int JS_CopyDataProperties ( JSContext *  ctx,
JSValueConst  target,
JSValueConst  source,
JSValueConst  excluded,
BOOL  setprop 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetActiveFunction()

static JSValueConst JS_GetActiveFunction ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ js_global_object_finalizer()

static void js_global_object_finalizer ( JSRuntime *  rt,
JSValue  obj 
)
static
+ Here is the call graph for this function:

◆ js_global_object_mark()

static void js_global_object_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_global_object_get_uninitialized_var()

static JSVarRef * js_global_object_get_uninitialized_var ( JSContext *  ctx,
JSObject *  p1,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_closure_define_global_var()

static JSVarRef * js_closure_define_global_var ( JSContext *  ctx,
JSClosureVar *  cv,
BOOL  is_direct_or_indirect_eval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_closure_global_var()

static JSVarRef * js_closure_global_var ( JSContext *  ctx,
JSClosureVar *  cv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_closure2()

static JSValue js_closure2 ( JSContext *  ctx,
JSValue  func_obj,
JSFunctionBytecode *  b,
JSVarRef **  cur_var_refs,
JSStackFrame *  sf,
BOOL  is_eval,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_closure()

static JSValue js_closure ( JSContext *  ctx,
JSValue  bfunc,
JSVarRef **  cur_var_refs,
JSStackFrame *  sf,
BOOL  is_eval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_op_define_class()

static int js_op_define_class ( JSContext *  ctx,
JSValue *  sp,
JSAtom  class_name,
int  class_flags,
JSVarRef **  cur_var_refs,
JSStackFrame *  sf,
BOOL  is_computed_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ close_var_ref()

static void close_var_ref ( JSRuntime *  rt,
JSStackFrame *  sf,
JSVarRef *  var_ref 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ close_var_refs()

static void close_var_refs ( JSRuntime *  rt,
JSFunctionBytecode *  b,
JSStackFrame *  sf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ close_lexical_var()

static void close_lexical_var ( JSContext *  ctx,
JSFunctionBytecode *  b,
JSStackFrame *  sf,
int  var_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_Call()

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:

◆ JS_GetFunctionRealm()

static JSContext * JS_GetFunctionRealm ( JSContext *  ctx,
JSValueConst  func_obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_from_ctor()

static JSValue js_create_from_ctor ( JSContext *  ctx,
JSValueConst  ctor,
int  class_id 
)
static
+ Here is the caller graph for this function:

◆ JS_CallConstructor2()

JSValue JS_CallConstructor2 ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
+ Here is the caller graph for this function:

◆ JS_CallConstructor()

JSValue JS_CallConstructor ( JSContext *  ctx,
JSValueConst  func_obj,
int  argc,
JSValueConst *  argv 
)
+ Here is the caller graph for this function:

◆ JS_Invoke()

JSValue JS_Invoke ( JSContext *  ctx,
JSValueConst  this_val,
JSAtom  atom,
int  argc,
JSValueConst *  argv 
)
+ Here is the caller graph for this function:

◆ async_func_init()

static JSAsyncFunctionState * async_func_init ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ async_func_free_frame()

static void async_func_free_frame ( JSRuntime *  rt,
JSAsyncFunctionState *  s 
)
static

◆ async_func_resume()

static JSValue async_func_resume ( JSContext *  ctx,
JSAsyncFunctionState *  s 
)
static
+ Here is the caller graph for this function:

◆ free_generator_stack_rt()

static void free_generator_stack_rt ( JSRuntime *  rt,
JSGeneratorData *  s 
)
static

◆ js_generator_finalizer()

static void js_generator_finalizer ( JSRuntime *  rt,
JSValue  obj 
)
static

◆ free_generator_stack()

static void free_generator_stack ( JSContext *  ctx,
JSGeneratorData *  s 
)
static
+ Here is the caller graph for this function:

◆ js_generator_mark()

static void js_generator_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static

◆ js_generator_next()

static JSValue js_generator_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
BOOL *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_async_function_resolve_create()

static int js_async_function_resolve_create ( JSContext *  ctx,
JSAsyncFunctionState *  s,
JSValue *  resolving_funcs 
)
static

◆ js_async_function_resume()

static void js_async_function_resume ( JSContext *  ctx,
JSAsyncFunctionState *  s 
)
static

◆ js_async_function_resolve_call()

static JSValue js_async_function_resolve_call ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the caller graph for this function:

◆ js_async_function_call()

static JSValue js_async_function_call ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the caller graph for this function:

◆ js_async_generator_free()

static void js_async_generator_free ( JSRuntime *  rt,
JSAsyncGeneratorData *  s 
)
static

◆ js_async_generator_finalizer()

static void js_async_generator_finalizer ( JSRuntime *  rt,
JSValue  obj 
)
static

◆ js_async_generator_mark()

static void js_async_generator_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static

◆ js_async_generator_resolve_function()

static JSValue js_async_generator_resolve_function ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static

◆ js_async_generator_resolve_function_create()

static int js_async_generator_resolve_function_create ( JSContext *  ctx,
JSValueConst  generator,
JSValue *  resolving_funcs,
BOOL  is_resume_next 
)
static

◆ js_async_generator_await()

static int js_async_generator_await ( JSContext *  ctx,
JSAsyncGeneratorData *  s,
JSValueConst  value 
)
static

◆ js_async_generator_resolve_or_reject()

static void js_async_generator_resolve_or_reject ( JSContext *  ctx,
JSAsyncGeneratorData *  s,
JSValueConst  result,
int  is_reject 
)
static

◆ js_async_generator_resolve()

static void js_async_generator_resolve ( JSContext *  ctx,
JSAsyncGeneratorData *  s,
JSValueConst  value,
BOOL  done 
)
static

◆ js_async_generator_reject()

static void js_async_generator_reject ( JSContext *  ctx,
JSAsyncGeneratorData *  s,
JSValueConst  exception 
)
static

◆ js_async_generator_complete()

static void js_async_generator_complete ( JSContext *  ctx,
JSAsyncGeneratorData *  s 
)
static

◆ js_async_generator_completed_return()

static int js_async_generator_completed_return ( JSContext *  ctx,
JSAsyncGeneratorData *  s,
JSValueConst  value 
)
static

◆ js_async_generator_resume_next()

static void js_async_generator_resume_next ( JSContext *  ctx,
JSAsyncGeneratorData *  s 
)
static
+ Here is the caller graph for this function:

◆ js_async_generator_next()

static JSValue js_async_generator_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_async_generator_function_call()

static JSValue js_async_generator_function_call ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the caller graph for this function:

◆ next_token()

static __exception int next_token ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_token()

static void free_token ( JSParseState *  s,
JSToken *  token 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dump_token()

static void __maybe_unused dump_token ( JSParseState *  s,
const JSToken *  token 
)
static
+ Here is the call graph for this function:

◆ get_line_col()

static int get_line_col ( int *  pcol_num,
const uint8_t *  buf,
size_t  len 
)
static
+ Here is the caller graph for this function:

◆ get_line_col_cached()

static int get_line_col_cached ( GetLineColCache *  s,
int *  pcol_num,
const uint8_t *  ptr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_error_v()

static int js_parse_error_v ( JSParseState *  s,
const uint8_t *  ptr,
const char *  fmt,
va_list  ap 
)
static
+ Here is the call graph for this function:

◆ js_parse_expect()

static int js_parse_expect ( JSParseState *  s,
int  tok 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_expect_semi()

static int js_parse_expect_semi ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_error_reserved_identifier()

static int js_parse_error_reserved_identifier ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_template_part()

static __exception int js_parse_template_part ( JSParseState *  s,
const uint8_t *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_string()

static __exception int js_parse_string ( JSParseState *  s,
int  sep,
BOOL  do_throw,
const uint8_t *  p,
JSToken *  token,
const uint8_t **  pp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ token_is_pseudo_keyword()

static BOOL token_is_pseudo_keyword ( JSParseState *  s,
JSAtom  atom 
)
static
+ Here is the caller graph for this function:

◆ js_parse_regexp()

static __exception int js_parse_regexp ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ident_realloc()

static __exception int ident_realloc ( JSContext *  ctx,
char **  pbuf,
size_t *  psize,
char *  static_buf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update_token_ident()

static void update_token_ident ( JSParseState *  s)
static
+ Here is the caller graph for this function:

◆ reparse_ident_token()

static void reparse_ident_token ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parse_ident()

static JSAtom parse_ident ( JSParseState *  s,
const uint8_t **  pp,
BOOL *  pident_has_escape,
int  c,
BOOL  is_private 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_ident()

static JSAtom json_parse_ident ( JSParseState *  s,
const uint8_t **  pp,
int  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_string()

static int json_parse_string ( JSParseState *  s,
const uint8_t **  pp,
int  sep 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_number()

static int json_parse_number ( JSParseState *  s,
const uint8_t **  pp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_next_token()

static __exception int json_next_token ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ match_identifier()

static int match_identifier ( const uint8_t *  p,
const char *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ simple_next_token()

static int simple_next_token ( const uint8_t **  pp,
BOOL  no_line_terminator 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ peek_token()

static int peek_token ( JSParseState *  s,
BOOL  no_line_terminator 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ skip_shebang()

static void skip_shebang ( const uint8_t **  pp,
const uint8_t *  buf_end 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DetectModule()

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:

◆ get_prev_opcode()

static int get_prev_opcode ( JSFunctionDef *  fd)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_is_live_code()

static BOOL js_is_live_code ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_u8()

static void emit_u8 ( JSParseState *  s,
uint8_t  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_u16()

static void emit_u16 ( JSParseState *  s,
uint16_t  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_u32()

static void emit_u32 ( JSParseState *  s,
uint32_t  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_source_pos()

static void emit_source_pos ( JSParseState *  s,
const uint8_t *  source_ptr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_op()

static void emit_op ( JSParseState *  s,
uint8_t  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_atom()

static void emit_atom ( JSParseState *  s,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update_label()

static int update_label ( JSFunctionDef *  s,
int  label,
int  delta 
)
static
+ Here is the caller graph for this function:

◆ new_label_fd()

static int new_label_fd ( JSFunctionDef *  fd)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ new_label()

static int new_label ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_label_raw()

static void emit_label_raw ( JSParseState *  s,
int  label 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_label()

static int emit_label ( JSParseState *  s,
int  label 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_goto()

static int emit_goto ( JSParseState *  s,
int  opcode,
int  label 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cpool_add()

static int cpool_add ( JSParseState *  s,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_push_const()

static __exception int emit_push_const ( JSParseState *  s,
JSValueConst  val,
BOOL  as_atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_arg()

static int find_arg ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name 
)
static
+ Here is the caller graph for this function:

◆ find_var()

static int find_var ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_var_in_scope()

static int find_var_in_scope ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name,
int  scope_level 
)
static
+ Here is the caller graph for this function:

◆ is_child_scope()

static BOOL is_child_scope ( JSContext *  ctx,
JSFunctionDef *  fd,
int  scope,
int  parent_scope 
)
static
+ Here is the caller graph for this function:

◆ find_var_in_child_scope()

static int find_var_in_child_scope ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name,
int  scope_level 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_global_var()

static JSGlobalVar * find_global_var ( JSFunctionDef *  fd,
JSAtom  name 
)
static
+ Here is the caller graph for this function:

◆ find_lexical_global_var()

static JSGlobalVar * find_lexical_global_var ( JSFunctionDef *  fd,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_lexical_decl()

static int find_lexical_decl ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name,
int  scope_idx,
BOOL  check_catch_var 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ push_scope()

static int push_scope ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_first_lexical_var()

static int get_first_lexical_var ( JSFunctionDef *  fd,
int  scope 
)
static
+ Here is the caller graph for this function:

◆ pop_scope()

static void pop_scope ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ close_scopes()

static void close_scopes ( JSParseState *  s,
int  scope,
int  scope_stop 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_var()

static int add_var ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_scope_var()

static int add_scope_var ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name,
JSVarKindEnum  var_kind 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_func_var()

static int add_func_var ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_arguments_var()

static int add_arguments_var ( JSContext *  ctx,
JSFunctionDef *  fd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_arguments_arg()

static int add_arguments_arg ( JSContext *  ctx,
JSFunctionDef *  fd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_arg()

static int add_arg ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_global_var()

static JSGlobalVar * add_global_var ( JSContext *  ctx,
JSFunctionDef *  s,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ define_var()

static int define_var ( JSParseState *  s,
JSFunctionDef *  fd,
JSAtom  name,
JSVarDefEnum  var_def_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_private_class_field()

static int add_private_class_field ( JSParseState *  s,
JSFunctionDef *  fd,
JSAtom  name,
JSVarKindEnum  var_kind,
BOOL  is_static 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_expr()

static __exception int js_parse_expr ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_function_decl()

static __exception int js_parse_function_decl ( JSParseState *  s,
JSParseFunctionEnum  func_type,
JSFunctionKindEnum  func_kind,
JSAtom  func_name,
const uint8_t *  ptr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_function_class_fields_init()

static JSFunctionDef * js_parse_function_class_fields_init ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_function_decl2()

static __exception int js_parse_function_decl2 ( JSParseState *  s,
JSParseFunctionEnum  func_type,
JSFunctionKindEnum  func_kind,
JSAtom  func_name,
const uint8_t *  ptr,
JSParseExportEnum  export_flag,
JSFunctionDef **  pfd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_assign_expr2()

static __exception int js_parse_assign_expr2 ( JSParseState *  s,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_assign_expr()

static __exception int js_parse_assign_expr ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_unary()

static __exception int js_parse_unary ( JSParseState *  s,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ push_break_entry()

static void push_break_entry ( JSFunctionDef *  fd,
BlockEnv *  be,
JSAtom  label_name,
int  label_break,
int  label_cont,
int  drop_count 
)
static
+ Here is the caller graph for this function:

◆ pop_break_entry()

static void pop_break_entry ( JSFunctionDef *  fd)
static
+ Here is the caller graph for this function:

◆ add_export_entry()

static JSExportEntry * add_export_entry ( JSParseState *  s,
JSModuleDef *  m,
JSAtom  local_name,
JSAtom  export_name,
JSExportTypeEnum  export_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ seal_template_obj()

static int seal_template_obj ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_template()

static __exception int js_parse_template ( JSParseState *  s,
int  call,
int *  argc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ token_is_ident()

static BOOL token_is_ident ( int  tok)
static
+ Here is the caller graph for this function:

◆ js_parse_property_name()

static int __exception js_parse_property_name ( JSParseState *  s,
JSAtom *  pname,
BOOL  allow_method,
BOOL  allow_var,
BOOL  allow_private 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_get_pos()

static int js_parse_get_pos ( JSParseState *  s,
JSParsePos *  sp 
)
static
+ Here is the caller graph for this function:

◆ js_parse_seek_token()

static __exception int js_parse_seek_token ( JSParseState *  s,
const JSParsePos *  sp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_regexp_allowed()

static BOOL is_regexp_allowed ( int  tok)
static
+ Here is the caller graph for this function:

◆ has_lf_in_range()

static BOOL has_lf_in_range ( const uint8_t *  p1,
const uint8_t *  p2 
)
static
+ Here is the caller graph for this function:

◆ js_parse_skip_parens_token()

static int js_parse_skip_parens_token ( JSParseState *  s,
int *  pbits,
BOOL  no_line_terminator 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_object_name()

static void set_object_name ( JSParseState *  s,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_object_name_computed()

static void set_object_name_computed ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_object_literal()

static __exception int js_parse_object_literal ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_postfix_expr()

static __exception int js_parse_postfix_expr ( JSParseState *  s,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_class_field_init()

static void emit_class_field_init ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_function_def()

static JSFunctionDef * js_new_function_def ( JSContext *  ctx,
JSFunctionDef *  parent,
BOOL  is_eval,
BOOL  is_func_expr,
const char *  filename,
const uint8_t *  source_ptr,
GetLineColCache *  get_line_col_cache 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_return()

static void emit_return ( JSParseState *  s,
BOOL  hasval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_left_hand_side_expr()

static __exception int js_parse_left_hand_side_expr ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_class_default_ctor()

static __exception int js_parse_class_default_ctor ( JSParseState *  s,
BOOL  has_super,
JSFunctionDef **  pfd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_private_class_field()

static int find_private_class_field ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name,
int  scope_level 
)
static
+ Here is the caller graph for this function:

◆ get_private_setter_name()

static JSAtom get_private_setter_name ( JSContext *  ctx,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_class_init_start()

static __exception int emit_class_init_start ( JSParseState *  s,
ClassFieldsDef *  cf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_class_init_end()

static void emit_class_init_end ( JSParseState *  s,
ClassFieldsDef *  cf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_class()

static __exception int js_parse_class ( JSParseState *  s,
BOOL  is_class_expr,
JSParseExportEnum  export_flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_array_literal()

static __exception int js_parse_array_literal ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ has_with_scope()

static BOOL has_with_scope ( JSFunctionDef *  s,
int  scope_level 
)
static
+ Here is the caller graph for this function:

◆ get_lvalue()

static __exception int get_lvalue ( JSParseState *  s,
int *  popcode,
int *  pscope,
JSAtom *  pname,
int *  plabel,
int *  pdepth,
BOOL  keep,
int  tok 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ put_lvalue()

static void put_lvalue ( JSParseState *  s,
int  opcode,
int  scope,
JSAtom  name,
int  label,
PutLValueEnum  special,
BOOL  is_let 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_expr_paren()

static __exception int js_parse_expr_paren ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_unsupported_keyword()

static int js_unsupported_keyword ( JSParseState *  s,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_define_var()

static __exception int js_define_var ( JSParseState *  s,
JSAtom  name,
int  tok 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_emit_spread_code()

static void js_emit_spread_code ( JSParseState *  s,
int  depth 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_check_duplicate_parameter()

static int js_parse_check_duplicate_parameter ( JSParseState *  s,
JSAtom  name 
)
static
+ Here is the caller graph for this function:

◆ need_var_reference()

static BOOL need_var_reference ( JSParseState *  s,
int  tok 
)
static
+ Here is the caller graph for this function:

◆ js_parse_destructuring_var()

static JSAtom js_parse_destructuring_var ( JSParseState *  s,
int  tok,
int  is_arg 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_destructuring_element()

static int js_parse_destructuring_element ( JSParseState *  s,
int  tok,
int  is_arg,
int  hasval,
int  has_ellipsis,
BOOL  allow_initializer,
BOOL  export_flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ optional_chain_test()

static void optional_chain_test ( JSParseState *  s,
int *  poptional_chaining_label,
int  drop_count 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_delete()

static __exception int js_parse_delete ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_expr_binary()

static __exception int js_parse_expr_binary ( JSParseState *  s,
int  level,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_logical_and_or()

static __exception int js_parse_logical_and_or ( JSParseState *  s,
int  op,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_coalesce_expr()

static __exception int js_parse_coalesce_expr ( JSParseState *  s,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_cond_expr()

static __exception int js_parse_cond_expr ( JSParseState *  s,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_expr2()

static __exception int js_parse_expr2 ( JSParseState *  s,
int  parse_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ emit_break()

static __exception int emit_break ( JSParseState *  s,
JSAtom  name,
int  is_cont 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_statement_or_decl()

static __exception int js_parse_statement_or_decl ( JSParseState *  s,
int  decl_mask 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_statement()

static __exception int js_parse_statement ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_block()

static __exception int js_parse_block ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_var()

static __exception int js_parse_var ( JSParseState *  s,
int  parse_flags,
int  tok,
BOOL  export_flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_label()

static BOOL is_label ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_let()

static int is_let ( JSParseState *  s,
int  decl_mask 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_for_in_of()

static __exception int js_parse_for_in_of ( JSParseState *  s,
int  label_name,
BOOL  is_async 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_eval_ret_undefined()

static void set_eval_ret_undefined ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_new_module_def()

static JSModuleDef * js_new_module_def ( JSContext *  ctx,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_req_module_entry()

static int add_req_module_entry ( JSContext *  ctx,
JSModuleDef *  m,
JSAtom  module_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_export_entry()

static JSExportEntry * find_export_entry ( JSContext *  ctx,
JSModuleDef *  m,
JSAtom  export_name 
)
static
+ Here is the caller graph for this function:

◆ add_export_entry2()

static JSExportEntry * add_export_entry2 ( JSContext *  ctx,
JSParseState *  s,
JSModuleDef *  m,
JSAtom  local_name,
JSAtom  export_name,
JSExportTypeEnum  export_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_star_export_entry()

static int add_star_export_entry ( JSContext *  ctx,
JSModuleDef *  m,
int  req_module_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewCModule()

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:

◆ JS_AddModuleExport()

int JS_AddModuleExport ( JSContext *  ctx,
JSModuleDef *  m,
const char *  export_name 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetModuleExport()

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:

◆ JS_SetModulePrivateValue()

int JS_SetModulePrivateValue ( JSContext *  ctx,
JSModuleDef *  m,
JSValue  val 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetModulePrivateValue()

JSValue JS_GetModulePrivateValue ( JSContext *  ctx,
JSModuleDef *  m 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetModuleLoaderFunc()

void JS_SetModuleLoaderFunc ( JSRuntime *  rt,
JSModuleNormalizeFunc *  module_normalize,
JSModuleLoaderFunc *  module_loader,
void *  opaque 
)

◆ JS_SetModuleLoaderFunc2()

void JS_SetModuleLoaderFunc2 ( JSRuntime *  rt,
JSModuleNormalizeFunc *  module_normalize,
JSModuleLoaderFunc2 *  module_loader,
JSModuleCheckSupportedImportAttributes *  module_check_attrs,
void *  opaque 
)
+ Here is the caller graph for this function:

◆ js_default_module_normalize_name()

static char * js_default_module_normalize_name ( JSContext *  ctx,
const char *  base_name,
const char *  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_find_loaded_module()

static JSModuleDef * js_find_loaded_module ( JSContext *  ctx,
JSAtom  name 
)
static
+ Here is the caller graph for this function:

◆ js_host_resolve_imported_module()

static JSModuleDef * js_host_resolve_imported_module ( JSContext *  ctx,
const char *  base_cname,
const char *  cname1,
JSValueConst  attributes 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_host_resolve_imported_module_atom()

static JSModuleDef * js_host_resolve_imported_module_atom ( JSContext *  ctx,
JSAtom  base_module_name,
JSAtom  module_name1,
JSValueConst  attributes 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_resolve_entry()

static int find_resolve_entry ( JSResolveState *  s,
JSModuleDef *  m,
JSAtom  name 
)
static
+ Here is the caller graph for this function:

◆ add_resolve_entry()

static int add_resolve_entry ( JSContext *  ctx,
JSResolveState *  s,
JSModuleDef *  m,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_resolve_export1()

static JSResolveResultEnum js_resolve_export1 ( JSContext *  ctx,
JSModuleDef **  pmodule,
JSExportEntry **  pme,
JSModuleDef *  m,
JSAtom  export_name,
JSResolveState *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_resolve_export()

static JSResolveResultEnum js_resolve_export ( JSContext *  ctx,
JSModuleDef **  pmodule,
JSExportEntry **  pme,
JSModuleDef *  m,
JSAtom  export_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_resolve_export_throw_error()

static void js_resolve_export_throw_error ( JSContext *  ctx,
JSResolveResultEnum  res,
JSModuleDef *  m,
JSAtom  export_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_exported_name()

static int find_exported_name ( GetExportNamesState *  s,
JSAtom  name 
)
static
+ Here is the caller graph for this function:

◆ get_exported_names()

static __exception int get_exported_names ( JSContext *  ctx,
GetExportNamesState *  s,
JSModuleDef *  m,
BOOL  from_star 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_module_ns_has()

static int js_module_ns_has ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  atom 
)
static
+ Here is the call graph for this function:

◆ exported_names_cmp()

static int exported_names_cmp ( const void *  p1,
const void *  p2,
void *  opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_build_module_ns()

static JSValue js_build_module_ns ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetModuleNamespace()

JSValue JS_GetModuleNamespace ( JSContext *  ctx,
JSModuleDef *  m 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_resolve_module()

static int js_resolve_module ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_module_bytecode_function()

static int js_create_module_bytecode_function ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_module_function()

static int js_create_module_function ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_inner_module_linking()

static int js_inner_module_linking ( JSContext *  ctx,
JSModuleDef *  m,
JSModuleDef **  pstack_top,
int  index 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_link_module()

static int js_link_module ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetScriptOrModuleName()

JSAtom JS_GetScriptOrModuleName ( JSContext *  ctx,
int  n_stack_levels 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetModuleName()

JSAtom JS_GetModuleName ( JSContext *  ctx,
JSModuleDef *  m 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetImportMeta()

JSValue JS_GetImportMeta ( JSContext *  ctx,
JSModuleDef *  m 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewModuleValue()

static JSValue JS_NewModuleValue ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_load_module_rejected()

static JSValue js_load_module_rejected ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_load_module_fulfilled()

static JSValue js_load_module_fulfilled ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_LoadModuleInternal()

static void JS_LoadModuleInternal ( JSContext *  ctx,
const char *  basename,
const char *  filename,
JSValueConst *  resolving_funcs,
JSValueConst  attributes 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_LoadModule()

JSValue JS_LoadModule ( JSContext *  ctx,
const char *  basename,
const char *  filename 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_dynamic_import_job()

static JSValue js_dynamic_import_job ( JSContext *  ctx,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_set_module_evaluated()

static void js_set_module_evaluated ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_in_exec_module_list()

static BOOL find_in_exec_module_list ( ExecModuleList *  exec_list,
JSModuleDef *  m 
)
static
+ Here is the caller graph for this function:

◆ gather_available_ancestors()

static int gather_available_ancestors ( JSContext *  ctx,
JSModuleDef *  module,
ExecModuleList *  exec_list 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ exec_module_list_cmp()

static int exec_module_list_cmp ( const void *  p1,
const void *  p2,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_execute_async_module()

static int js_execute_async_module ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_execute_sync_module()

static int js_execute_sync_module ( JSContext *  ctx,
JSModuleDef *  m,
JSValue *  pvalue 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_async_module_execution_rejected()

static JSValue js_async_module_execution_rejected ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_async_module_execution_fulfilled()

static JSValue js_async_module_execution_fulfilled ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_inner_module_evaluation()

static int js_inner_module_evaluation ( JSContext *  ctx,
JSModuleDef *  m,
int  index,
JSModuleDef **  pstack_top,
JSValue *  pvalue 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_evaluate_module()

static JSValue js_evaluate_module ( JSContext *  ctx,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_with_clause()

static __exception int js_parse_with_clause ( JSParseState *  s,
JSReqModuleEntry *  rme 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_from_clause()

static __exception int js_parse_from_clause ( JSParseState *  s,
JSModuleDef *  m 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_export()

static __exception int js_parse_export ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_closure_var()

static int add_closure_var ( JSContext *  ctx,
JSFunctionDef *  s,
JSClosureTypeEnum  closure_type,
int  var_idx,
JSAtom  var_name,
BOOL  is_const,
BOOL  is_lexical,
JSVarKindEnum  var_kind 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_import()

static int add_import ( JSParseState *  s,
JSModuleDef *  m,
JSAtom  local_name,
JSAtom  import_name,
BOOL  is_star 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_import()

static __exception int js_parse_import ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_source_element()

static __exception int js_parse_source_element ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ free_bytecode_atoms()

static void free_bytecode_atoms ( JSRuntime *  rt,
const uint8_t *  bc_buf,
int  bc_len,
BOOL  use_short_opcodes 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_free_function_def()

static void js_free_function_def ( JSContext *  ctx,
JSFunctionDef *  fd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_closure_var()

static int find_closure_var ( JSContext *  ctx,
JSFunctionDef *  s,
JSAtom  var_name 
)
static
+ Here is the caller graph for this function:

◆ get_closure_var()

static int get_closure_var ( JSContext *  ctx,
JSFunctionDef *  s,
JSFunctionDef *  fd,
JSClosureTypeEnum  closure_type,
int  var_idx,
JSAtom  var_name,
BOOL  is_const,
BOOL  is_lexical,
JSVarKindEnum  var_kind 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_with_scope_opcode()

static int get_with_scope_opcode ( int  op)
static
+ Here is the caller graph for this function:

◆ can_opt_put_ref_value()

static BOOL can_opt_put_ref_value ( const uint8_t *  bc_buf,
int  pos 
)
static
+ Here is the caller graph for this function:

◆ can_opt_put_global_ref_value()

static BOOL can_opt_put_global_ref_value ( const uint8_t *  bc_buf,
int  pos 
)
static
+ Here is the caller graph for this function:

◆ optimize_scope_make_ref()

static int optimize_scope_make_ref ( JSContext *  ctx,
JSFunctionDef *  s,
DynBuf *  bc,
uint8_t *  bc_buf,
LabelSlot *  ls,
int  pos_next,
int  get_op,
int  var_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_var_this()

static int add_var_this ( JSContext *  ctx,
JSFunctionDef *  fd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolve_pseudo_var()

static int resolve_pseudo_var ( JSContext *  ctx,
JSFunctionDef *  s,
JSAtom  var_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ var_object_test()

static void var_object_test ( JSContext *  ctx,
JSFunctionDef *  s,
JSAtom  var_name,
int  op,
DynBuf *  bc,
int *  plabel_done,
BOOL  is_with 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ capture_var()

static void capture_var ( JSFunctionDef *  s,
JSVarDef *  vd 
)
static
+ Here is the caller graph for this function:

◆ resolve_scope_var()

static int resolve_scope_var ( JSContext *  ctx,
JSFunctionDef *  s,
JSAtom  var_name,
int  scope_level,
int  op,
DynBuf *  bc,
uint8_t *  bc_buf,
LabelSlot *  ls,
int  pos_next 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_private_class_field_all()

static int find_private_class_field_all ( JSContext *  ctx,
JSFunctionDef *  fd,
JSAtom  name,
int  scope_level 
)
static
+ Here is the caller graph for this function:

◆ get_loc_or_ref()

static void get_loc_or_ref ( DynBuf *  bc,
BOOL  is_ref,
int  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolve_scope_private_field1()

static int resolve_scope_private_field1 ( JSContext *  ctx,
BOOL *  pis_ref,
int *  pvar_kind,
JSFunctionDef *  s,
JSAtom  var_name,
int  scope_level 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolve_scope_private_field()

static int resolve_scope_private_field ( JSContext *  ctx,
JSFunctionDef *  s,
JSAtom  var_name,
int  scope_level,
int  op,
DynBuf *  bc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mark_eval_captured_variables()

static void mark_eval_captured_variables ( JSContext *  ctx,
JSFunctionDef *  s,
int  scope_level 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_var_in_arg_scope()

static BOOL is_var_in_arg_scope ( JSAtom  var_name,
JSVarKindEnum  var_kind 
)
static
+ Here is the caller graph for this function:

◆ add_eval_variables()

static void add_eval_variables ( JSContext *  ctx,
JSFunctionDef *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_closure_from_var()

static void set_closure_from_var ( JSContext *  ctx,
JSClosureVar *  cv,
JSBytecodeVarDef *  vd,
int  var_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_closure_variables()

static __exception int add_closure_variables ( JSContext *  ctx,
JSFunctionDef *  s,
JSFunctionBytecode *  b,
int  scope_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ code_match()

static BOOL code_match ( CodeContext *  s,
int  pos,
  ... 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ instantiate_hoisted_definitions()

static void instantiate_hoisted_definitions ( JSContext *  ctx,
JSFunctionDef *  s,
DynBuf *  bc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ skip_dead_code()

static int skip_dead_code ( JSFunctionDef *  s,
const uint8_t *  bc_buf,
int  bc_len,
int  pos,
int *  linep 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_label_pos()

static int get_label_pos ( JSFunctionDef *  s,
int  label 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolve_variables()

static __exception int resolve_variables ( JSContext *  ctx,
JSFunctionDef *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_pc2line_info()

static void add_pc2line_info ( JSFunctionDef *  s,
uint32_t  pc,
uint32_t  source_pos 
)
static
+ Here is the caller graph for this function:

◆ compute_pc2line_info()

static void compute_pc2line_info ( JSFunctionDef *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_reloc()

static RelocEntry * add_reloc ( JSContext *  ctx,
LabelSlot *  ls,
uint32_t  addr,
int  size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ code_has_label()

static BOOL code_has_label ( CodeContext *  s,
int  pos,
int  label 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_jump_target()

static int find_jump_target ( JSFunctionDef *  s,
int  label0,
int *  pop,
int *  pline 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ push_short_int()

static void push_short_int ( DynBuf *  bc_out,
int  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ put_short_code()

static void put_short_code ( DynBuf *  bc_out,
int  op,
int  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resolve_labels()

static __exception int resolve_labels ( JSContext *  ctx,
JSFunctionDef *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ss_check()

static __exception int ss_check ( JSContext *  ctx,
StackSizeState *  s,
int  pos,
int  op,
int  stack_len,
int  catch_pos 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_stack_size()

static __exception int compute_stack_size ( JSContext *  ctx,
JSFunctionDef *  fd,
int *  pstack_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add_global_variables()

static int add_global_variables ( JSContext *  ctx,
JSFunctionDef *  fd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_function()

static JSValue js_create_function ( JSContext *  ctx,
JSFunctionDef *  fd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_directives()

static __exception int js_parse_directives ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_strict_future_keyword()

static BOOL is_strict_future_keyword ( JSAtom  atom)
static
+ Here is the caller graph for this function:

◆ js_parse_function_check_names()

static int js_parse_function_check_names ( JSParseState *  s,
JSFunctionDef *  fd,
JSAtom  func_name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_program()

static __exception int js_parse_program ( JSParseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_parse_init()

static void js_parse_init ( JSContext *  ctx,
JSParseState *  s,
const char *  input,
size_t  input_len,
const char *  filename 
)
static
+ Here is the caller graph for this function:

◆ JS_EvalFunctionInternal()

static JSValue JS_EvalFunctionInternal ( JSContext *  ctx,
JSValue  fun_obj,
JSValueConst  this_obj,
JSVarRef **  var_refs,
JSStackFrame *  sf 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_EvalFunction()

JSValue JS_EvalFunction ( JSContext *  ctx,
JSValue  fun_obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __JS_EvalInternal()

static JSValue __JS_EvalInternal ( JSContext *  ctx,
JSValueConst  this_obj,
const char *  input,
size_t  input_len,
const char *  filename,
int  flags,
int  scope_idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_EvalThis()

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:

◆ JS_Eval()

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:

◆ JS_ResolveModule()

int JS_ResolveModule ( JSContext *  ctx,
JSValueConst  obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_list_init()

static void js_object_list_init ( JSObjectList *  s)
static
+ Here is the caller graph for this function:

◆ js_object_list_get_hash()

static uint32_t js_object_list_get_hash ( JSObject *  p,
uint32_t  hash_size 
)
static
+ Here is the caller graph for this function:

◆ js_object_list_resize_hash()

static int js_object_list_resize_hash ( JSContext *  ctx,
JSObjectList *  s,
uint32_t  new_hash_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_list_add()

static int js_object_list_add ( JSContext *  ctx,
JSObjectList *  s,
JSObject *  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_list_find()

static int js_object_list_find ( JSContext *  ctx,
JSObjectList *  s,
JSObject *  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_list_end()

static void js_object_list_end ( JSContext *  ctx,
JSObjectList *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ is_be()

static BOOL is_be ( void  )
static
+ Here is the caller graph for this function:

◆ bc_put_u8()

static void bc_put_u8 ( BCWriterState *  s,
uint8_t  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_put_u16()

static void bc_put_u16 ( BCWriterState *  s,
uint16_t  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_put_u32()

static __maybe_unused void bc_put_u32 ( BCWriterState *  s,
uint32_t  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_put_u64()

static void bc_put_u64 ( BCWriterState *  s,
uint64_t  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_put_leb128()

static void bc_put_leb128 ( BCWriterState *  s,
uint32_t  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_put_sleb128()

static void bc_put_sleb128 ( BCWriterState *  s,
int32_t  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_set_flags()

static void bc_set_flags ( uint32_t *  pflags,
int *  pidx,
uint32_t  val,
int  n 
)
static
+ Here is the caller graph for this function:

◆ bc_atom_to_idx()

static int bc_atom_to_idx ( BCWriterState *  s,
uint32_t *  pres,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_put_atom()

static int bc_put_atom ( BCWriterState *  s,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_byte_swap()

static void bc_byte_swap ( uint8_t *  bc_buf,
int  bc_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteFunctionBytecode()

static int JS_WriteFunctionBytecode ( BCWriterState *  s,
const uint8_t *  bc_buf1,
int  bc_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteString()

static void JS_WriteString ( BCWriterState *  s,
JSString *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteBigInt()

static int JS_WriteBigInt ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteObjectRec()

static int JS_WriteObjectRec ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteFunctionTag()

static int JS_WriteFunctionTag ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteModule()

static int JS_WriteModule ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteArray()

static int JS_WriteArray ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteObjectTag()

static int JS_WriteObjectTag ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteTypedArray()

static int JS_WriteTypedArray ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteArrayBuffer()

static int JS_WriteArrayBuffer ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteSharedArrayBuffer()

static int JS_WriteSharedArrayBuffer ( BCWriterState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteObjectAtoms()

static int JS_WriteObjectAtoms ( BCWriterState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_WriteObject2()

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:

◆ JS_WriteObject()

uint8_t * JS_WriteObject ( JSContext *  ctx,
size_t *  psize,
JSValueConst  obj,
int  flags 
)
+ Here is the call graph for this function:

◆ bc_read_error_end()

static int bc_read_error_end ( BCReaderState *  s)
static
+ Here is the caller graph for this function:

◆ bc_get_u8()

static int bc_get_u8 ( BCReaderState *  s,
uint8_t *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_u16()

static int bc_get_u16 ( BCReaderState *  s,
uint16_t *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_u32()

static __maybe_unused int bc_get_u32 ( BCReaderState *  s,
uint32_t *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_u64()

static int bc_get_u64 ( BCReaderState *  s,
uint64_t *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_leb128()

static int bc_get_leb128 ( BCReaderState *  s,
uint32_t *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_sleb128()

static int bc_get_sleb128 ( BCReaderState *  s,
int32_t *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_leb128_int()

static int bc_get_leb128_int ( BCReaderState *  s,
int *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_leb128_u16()

static int bc_get_leb128_u16 ( BCReaderState *  s,
uint16_t *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_buf()

static int bc_get_buf ( BCReaderState *  s,
uint8_t *  buf,
uint32_t  buf_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_idx_to_atom()

static int bc_idx_to_atom ( BCReaderState *  s,
JSAtom *  patom,
uint32_t  idx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_atom()

static int bc_get_atom ( BCReaderState *  s,
JSAtom *  patom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadString()

static JSString * JS_ReadString ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_get_flags()

static uint32_t bc_get_flags ( uint32_t  flags,
int *  pidx,
int  n 
)
static
+ Here is the caller graph for this function:

◆ JS_ReadFunctionBytecode()

static int JS_ReadFunctionBytecode ( BCReaderState *  s,
JSFunctionBytecode *  b,
int  byte_code_offset,
uint32_t  bc_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadBigInt()

static JSValue JS_ReadBigInt ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadObjectRec()

static JSValue JS_ReadObjectRec ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BC_add_object_ref1()

static int BC_add_object_ref1 ( BCReaderState *  s,
JSObject *  p 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ BC_add_object_ref()

static int BC_add_object_ref ( BCReaderState *  s,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadFunctionTag()

static JSValue JS_ReadFunctionTag ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadModule()

static JSValue JS_ReadModule ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadObjectTag()

static JSValue JS_ReadObjectTag ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadArray()

static JSValue JS_ReadArray ( BCReaderState *  s,
int  tag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadTypedArray()

static JSValue JS_ReadTypedArray ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadArrayBuffer()

static JSValue JS_ReadArrayBuffer ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadSharedArrayBuffer()

static JSValue JS_ReadSharedArrayBuffer ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadDate()

static JSValue JS_ReadDate ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadObjectValue()

static JSValue JS_ReadObjectValue ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadObjectAtoms()

static int JS_ReadObjectAtoms ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bc_reader_free()

static void bc_reader_free ( BCReaderState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ReadObject()

JSValue JS_ReadObject ( JSContext *  ctx,
const uint8_t *  buf,
size_t  buf_len,
int  flags 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_constructor()

static JSValue js_string_constructor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_boolean_constructor()

static JSValue js_boolean_constructor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_number_constructor()

static JSValue js_number_constructor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_function()

static int check_function ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_exception_free()

static int check_exception_free ( JSContext *  ctx,
JSValue  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_atom()

static JSAtom find_atom ( JSContext *  ctx,
const char *  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewObjectProtoList()

static JSValue JS_NewObjectProtoList ( JSContext *  ctx,
JSValueConst  proto,
const JSCFunctionListEntry *  fields,
int  n_fields 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_InstantiateFunctionListItem()

static int JS_InstantiateFunctionListItem ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  atom,
const JSCFunctionListEntry *  e 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetPropertyFunctionList()

int 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:

◆ JS_AddModuleExportList()

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:

◆ JS_SetModuleExportList()

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:

◆ JS_SetConstructor2()

static int JS_SetConstructor2 ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  proto,
int  proto_flags,
int  ctor_flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetConstructor()

int 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:

◆ JS_NewCConstructor()

static JSValue JS_NewCConstructor ( JSContext *  ctx,
int  class_id,
const char *  name,
JSCFunction *  func,
int  length,
JSCFunctionEnum  cproto,
int  magic,
JSValueConst  parent_ctor,
const JSCFunctionListEntry *  ctor_fields,
int  n_ctor_fields,
const JSCFunctionListEntry *  proto_fields,
int  n_proto_fields,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_global_eval()

static JSValue js_global_eval ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_global_isNaN()

static JSValue js_global_isNaN ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_global_isFinite()

static JSValue js_global_isFinite ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_obj_to_desc()

static int js_obj_to_desc ( JSContext *  ctx,
JSPropertyDescriptor *  d,
JSValueConst  desc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_DefinePropertyDesc()

static __exception int JS_DefinePropertyDesc ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  prop,
JSValueConst  desc,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ObjectDefineProperties()

static __exception int JS_ObjectDefineProperties ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  properties 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_constructor()

static JSValue js_object_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_create()

static JSValue js_object_create ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_getPrototypeOf()

static JSValue js_object_getPrototypeOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_object_setPrototypeOf()

static JSValue js_object_setPrototypeOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_defineProperty()

static JSValue js_object_defineProperty ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_object_defineProperties()

static JSValue js_object_defineProperties ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object___defineGetter__()

static JSValue js_object___defineGetter__ ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_object_getOwnPropertyDescriptor()

static JSValue js_object_getOwnPropertyDescriptor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_getOwnPropertyDescriptors()

static JSValue js_object_getOwnPropertyDescriptors ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_GetOwnPropertyNames2()

static JSValue JS_GetOwnPropertyNames2 ( JSContext *  ctx,
JSValueConst  obj1,
int  flags,
int  kind 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_getOwnPropertyNames()

static JSValue js_object_getOwnPropertyNames ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_getOwnPropertySymbols()

static JSValue js_object_getOwnPropertySymbols ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_keys()

static JSValue js_object_keys ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  kind 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_isExtensible()

static JSValue js_object_isExtensible ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  reflect 
)
static
+ Here is the call graph for this function:

◆ js_object_preventExtensions()

static JSValue js_object_preventExtensions ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  reflect 
)
static
+ Here is the call graph for this function:

◆ js_object_hasOwnProperty()

static JSValue js_object_hasOwnProperty ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_hasOwn()

static JSValue js_object_hasOwn ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_valueOf()

static JSValue js_object_valueOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_toString()

static JSValue js_object_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_toLocaleString()

static JSValue js_object_toLocaleString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_assign()

static JSValue js_object_assign ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_seal()

static JSValue js_object_seal ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  freeze_flag 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_isSealed()

static JSValue js_object_isSealed ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  is_frozen 
)
static
+ Here is the call graph for this function:

◆ js_object_fromEntries()

static JSValue js_object_fromEntries ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_is()

static JSValue js_object_is ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_SpeciesConstructor()

static JSValue JS_SpeciesConstructor ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  defaultConstructor 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_object_get___proto__()

static JSValue js_object_get___proto__ ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_object_set___proto__()

static JSValue js_object_set___proto__ ( JSContext *  ctx,
JSValueConst  this_val,
JSValueConst  proto 
)
static
+ Here is the call graph for this function:

◆ js_object_isPrototypeOf()

static JSValue js_object_isPrototypeOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object_propertyIsEnumerable()

static JSValue js_object_propertyIsEnumerable ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_object___lookupGetter__()

static JSValue js_object___lookupGetter__ ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  setter 
)
static
+ Here is the call graph for this function:

◆ js_function_proto()

static JSValue js_function_proto ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the caller graph for this function:

◆ js_function_constructor()

static JSValue js_function_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_function_apply()

static JSValue js_function_apply ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_function_call()

static JSValue js_function_call ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_function_bind()

static JSValue js_function_bind ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_function_toString()

static JSValue js_function_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_function_hasInstance()

static JSValue js_function_hasInstance ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ iterator_to_array()

static JSValue iterator_to_array ( JSContext *  ctx,
JSValueConst  items 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_error_constructor()

static JSValue js_error_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_error_isError()

static JSValue js_error_isError ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_aggregate_error_constructor()

static JSValue js_aggregate_error_constructor ( JSContext *  ctx,
JSValueConst  errors 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_CopySubArray()

static int JS_CopySubArray ( JSContext *  ctx,
JSValueConst  obj,
int64_t  to_pos,
int64_t  from_pos,
int64_t  count,
int  dir 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_constructor()

static JSValue js_array_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_from()

static JSValue js_array_from ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_of()

static JSValue js_array_of ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_isArray()

static JSValue js_array_isArray ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_get_this()

static JSValue js_get_this ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ JS_ArraySpeciesGetCtor()

static JSValue JS_ArraySpeciesGetCtor ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ArrayCreateFromCtor()

static JSValue JS_ArrayCreateFromCtor ( JSContext *  ctx,
JSValueConst  ctor,
int64_t  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ArraySpeciesCreate()

static JSValue JS_ArraySpeciesCreate ( JSContext *  ctx,
JSValueConst  obj,
int64_t  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_isConcatSpreadable()

static int JS_isConcatSpreadable ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_at()

static JSValue js_array_at ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_with()

static JSValue js_array_with ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_concat()

static JSValue js_array_concat ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array___speciesCreate()

static JSValue js_typed_array___speciesCreate ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_every()

static JSValue js_array_every ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  special 
)
static
+ Here is the call graph for this function:

◆ js_array_reduce()

static JSValue js_array_reduce ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  special 
)
static
+ Here is the call graph for this function:

◆ js_array_fill()

static JSValue js_array_fill ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_includes()

static JSValue js_array_includes ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_indexOf()

static JSValue js_array_indexOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_lastIndexOf()

static JSValue js_array_lastIndexOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_find()

static JSValue js_array_find ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  mode 
)
static
+ Here is the call graph for this function:

◆ js_array_toString()

static JSValue js_array_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_join()

static JSValue js_array_join ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  toLocaleString 
)
static
+ Here is the call graph for this function:

◆ js_array_pop()

static JSValue js_array_pop ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  shift 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_push()

static JSValue js_array_push ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  unshift 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_reverse()

static JSValue js_array_reverse ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_toReversed()

static JSValue js_array_toReversed ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_slice()

static JSValue js_array_slice ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_splice()

static JSValue js_array_splice ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_toSpliced()

static JSValue js_array_toSpliced ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_copyWithin()

static JSValue js_array_copyWithin ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_FlattenIntoArray()

static int64_t JS_FlattenIntoArray ( JSContext *  ctx,
JSValueConst  target,
JSValueConst  source,
int64_t  sourceLen,
int64_t  targetIndex,
int  depth,
JSValueConst  mapperFunction,
JSValueConst  thisArg 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_flatten()

static JSValue js_array_flatten ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  map 
)
static
+ Here is the call graph for this function:

◆ js_array_cmp_generic()

static int js_array_cmp_generic ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_sort()

static JSValue js_array_sort ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_toSorted()

static JSValue js_array_toSorted ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_iterator_finalizer()

static void js_array_iterator_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_array_iterator_mark()

static void js_array_iterator_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_iterator_wrap_finalizer()

static void js_iterator_wrap_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_iterator_wrap_mark()

static void js_iterator_wrap_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_iterator_wrap_next()

static JSValue js_iterator_wrap_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_iterator_constructor_getset()

static JSValue js_iterator_constructor_getset ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_iterator_constructor()

static JSValue js_iterator_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_iterator_concat_finalizer()

static void js_iterator_concat_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_iterator_concat_mark()

static void js_iterator_concat_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_iterator_concat_next()

static JSValue js_iterator_concat_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_iterator_concat_return()

static JSValue js_iterator_concat_return ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_iterator_concat()

static JSValue js_iterator_concat ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_iterator_from()

static JSValue js_iterator_from ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_create_iterator_helper()

static JSValue js_create_iterator_helper ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_iterator_proto_func()

static JSValue js_iterator_proto_func ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_iterator_proto_reduce()

static JSValue js_iterator_proto_reduce ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_iterator_proto_toArray()

static JSValue js_iterator_proto_toArray ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_iterator_proto_iterator()

static JSValue js_iterator_proto_iterator ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_iterator_proto_get_toStringTag()

static JSValue js_iterator_proto_get_toStringTag ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_iterator_proto_set_toStringTag()

static JSValue js_iterator_proto_set_toStringTag ( JSContext *  ctx,
JSValueConst  this_val,
JSValueConst  val 
)
static
+ Here is the call graph for this function:

◆ js_iterator_helper_finalizer()

static void js_iterator_helper_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_iterator_helper_mark()

static void js_iterator_helper_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_iterator_helper_next()

static JSValue js_iterator_helper_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_number_isNaN()

static JSValue js_number_isNaN ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_number_isFinite()

static JSValue js_number_isFinite ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_number_isInteger()

static JSValue js_number_isInteger ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_number_isSafeInteger()

static JSValue js_number_isSafeInteger ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_thisNumberValue()

static JSValue js_thisNumberValue ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_number_valueOf()

static JSValue js_number_valueOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_get_radix()

static int js_get_radix ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_number_toString()

static JSValue js_number_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_number_toFixed()

static JSValue js_number_toFixed ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_number_toExponential()

static JSValue js_number_toExponential ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_number_toPrecision()

static JSValue js_number_toPrecision ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_parseInt()

static JSValue js_parseInt ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_parseFloat()

static JSValue js_parseFloat ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_thisBooleanValue()

static JSValue js_thisBooleanValue ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_boolean_toString()

static JSValue js_boolean_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_boolean_valueOf()

static JSValue js_boolean_valueOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_get_own_property()

static int js_string_get_own_property ( JSContext *  ctx,
JSPropertyDescriptor *  desc,
JSValueConst  obj,
JSAtom  prop 
)
static
+ Here is the call graph for this function:

◆ js_string_define_own_property()

static int js_string_define_own_property ( JSContext *  ctx,
JSValueConst  this_obj,
JSAtom  prop,
JSValueConst  val,
JSValueConst  getter,
JSValueConst  setter,
int  flags 
)
static
+ Here is the call graph for this function:

◆ js_string_delete_property()

static int js_string_delete_property ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  prop 
)
static
+ Here is the call graph for this function:

◆ js_thisStringValue()

static JSValue js_thisStringValue ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_fromCharCode()

static JSValue js_string_fromCharCode ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_fromCodePoint()

static JSValue js_string_fromCodePoint ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_raw()

static JSValue js_string_raw ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_codePointRange()

JSValue js_string_codePointRange ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
+ Here is the call graph for this function:

◆ js_string_charCodeAt()

static JSValue js_string_charCodeAt ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_charAt()

static JSValue js_string_charAt ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  is_at 
)
static
+ Here is the call graph for this function:

◆ js_string_codePointAt()

static JSValue js_string_codePointAt ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_concat()

static JSValue js_string_concat ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ string_cmp()

static int string_cmp ( JSString *  p1,
JSString *  p2,
int  x1,
int  x2,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_indexof_char()

static int string_indexof_char ( JSString *  p,
int  c,
int  from 
)
static
+ Here is the caller graph for this function:

◆ string_indexof()

static int string_indexof ( JSString *  p1,
JSString *  p2,
int  from 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_advance_index()

static int64_t string_advance_index ( JSString *  p,
int64_t  index,
BOOL  unicode 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_isWellFormed()

static JSValue js_string_isWellFormed ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_toWellFormed()

static JSValue js_string_toWellFormed ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_indexOf()

static JSValue js_string_indexOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  lastIndexOf 
)
static
+ Here is the call graph for this function:

◆ js_is_regexp()

static int js_is_regexp ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_includes()

static JSValue js_string_includes ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ check_regexp_g_flag()

static int check_regexp_g_flag ( JSContext *  ctx,
JSValueConst  regexp 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_match()

static JSValue js_string_match ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  atom 
)
static
+ Here is the call graph for this function:

◆ js_string_GetSubstitution()

static int js_string_GetSubstitution ( JSContext *  ctx,
StringBuffer *  b,
JSValueConst  matched,
JSString *  sp,
uint32_t  position,
JSValueConst  captures_val,
JSValueConst  namedCaptures,
JSValueConst  rep,
uint8_t **  captures,
uint32_t  captures_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_replace()

static JSValue js_string_replace ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  is_replaceAll 
)
static
+ Here is the call graph for this function:

◆ js_string_split()

static JSValue js_string_split ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_substring()

static JSValue js_string_substring ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_substr()

static JSValue js_string_substr ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_slice()

static JSValue js_string_slice ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_pad()

static JSValue js_string_pad ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  padEnd 
)
static
+ Here is the call graph for this function:

◆ js_string_repeat()

static JSValue js_string_repeat ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_trim()

static JSValue js_string_trim ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ string_prevc()

static int string_prevc ( JSString *  p,
int *  pidx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ test_final_sigma()

static BOOL test_final_sigma ( JSString *  p,
int  sigma_pos 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_toLowerCase()

static JSValue js_string_toLowerCase ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  to_lower 
)
static
+ Here is the call graph for this function:

◆ JS_ToUTF32String()

static int JS_ToUTF32String ( JSContext *  ctx,
uint32_t **  pbuf,
JSValueConst  val1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewUTF32String()

static JSValue JS_NewUTF32String ( JSContext *  ctx,
const uint32_t *  buf,
int  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_normalize1()

static int js_string_normalize1 ( JSContext *  ctx,
uint32_t **  pout_buf,
JSValueConst  val,
UnicodeNormalizationEnum  n_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_normalize()

static JSValue js_string_normalize ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_UTF32_compare()

static int js_UTF32_compare ( const uint32_t *  buf1,
int  buf1_len,
const uint32_t *  buf2,
int  buf2_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_string_localeCompare()

static JSValue js_string_localeCompare ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_toString()

static JSValue js_string_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_string_iterator_next()

static JSValue js_string_iterator_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
BOOL *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_string_CreateHTML()

static JSValue js_string_CreateHTML ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicStringNormalize()

int JS_AddIntrinsicStringNormalize ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_fmin()

static double js_fmin ( double  a,
double  b 
)
static
+ Here is the caller graph for this function:

◆ js_fmax()

static double js_fmax ( double  a,
double  b 
)
static
+ Here is the caller graph for this function:

◆ js_math_min_max()

static JSValue js_math_min_max ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_math_sign()

static double js_math_sign ( double  a)
static

◆ js_math_round()

static double js_math_round ( double  a)
static

◆ js_math_hypot()

static JSValue js_math_hypot ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_math_f16round()

static double js_math_f16round ( double  a)
static
+ Here is the call graph for this function:

◆ js_math_fround()

static double js_math_fround ( double  a)
static

◆ js_math_imul()

static JSValue js_math_imul ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_math_clz32()

static JSValue js_math_clz32 ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ sum_precise_init()

static void sum_precise_init ( SumPreciseState *  s)
static
+ Here is the caller graph for this function:

◆ sum_precise_renorm()

static void sum_precise_renorm ( SumPreciseState *  s)
static
+ Here is the caller graph for this function:

◆ sum_precise_add()

static void sum_precise_add ( SumPreciseState *  s,
double  d 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sum_precise_get_result()

static double sum_precise_get_result ( SumPreciseState *  s)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_math_sumPrecise()

static JSValue js_math_sumPrecise ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ xorshift64star()

static uint64_t xorshift64star ( uint64_t *  pstate)
static
+ Here is the caller graph for this function:

◆ js_random_init()

static void js_random_init ( JSContext *  ctx)
static
+ Here is the caller graph for this function:

◆ js_math_random()

static JSValue js_math_random ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ getTimezoneOffset()

static int getTimezoneOffset ( int64_t  time)
static
+ Here is the caller graph for this function:

◆ js_regexp_finalizer()

static void js_regexp_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_compile_regexp()

static JSValue js_compile_regexp ( JSContext *  ctx,
JSValueConst  pattern,
JSValueConst  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewRegexp()

static JSValue JS_NewRegexp ( JSContext *  ctx,
JSValue  pattern,
JSValue  bc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_set_internal()

static JSValue js_regexp_set_internal ( JSContext *  ctx,
JSValue  obj,
JSValue  pattern,
JSValue  bc 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_get_regexp()

static JSRegExp * js_get_regexp ( JSContext *  ctx,
JSValueConst  obj,
BOOL  throw_error 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_constructor()

static JSValue js_regexp_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_compile()

static JSValue js_regexp_compile ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_regexp_get_source()

static JSValue js_regexp_get_source ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_regexp_get_flag()

static JSValue js_regexp_get_flag ( JSContext *  ctx,
JSValueConst  this_val,
int  mask 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_get_flags()

static JSValue js_regexp_get_flags ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lre_check_stack_overflow()

int lre_check_stack_overflow ( void *  opaque,
size_t  alloca_size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lre_check_timeout()

int lre_check_timeout ( void *  opaque)
+ Here is the caller graph for this function:

◆ lre_realloc()

void * lre_realloc ( void *  opaque,
void *  ptr,
size_t  size 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_escape()

static JSValue js_regexp_escape ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_regexp_get_lastIndex()

static force_inline int js_regexp_get_lastIndex ( JSContext *  ctx,
int64_t *  plast_index,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_set_lastIndex()

static force_inline int js_regexp_set_lastIndex ( JSContext *  ctx,
JSValueConst  this_val,
int  last_index 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_exec()

static JSValue js_regexp_exec ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_replace()

static JSValue js_regexp_replace ( JSContext *  ctx,
JSValueConst  this_val,
JSValueConst  arg,
JSValueConst  rep_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_RegExpExec()

static JSValue JS_RegExpExec ( JSContext *  ctx,
JSValueConst  r,
JSValueConst  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_test()

static JSValue js_regexp_test ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_regexp_Symbol_match()

static JSValue js_regexp_Symbol_match ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_regexp_string_iterator_finalizer()

static void js_regexp_string_iterator_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_regexp_string_iterator_mark()

static void js_regexp_string_iterator_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_regexp_string_iterator_next()

static JSValue js_regexp_string_iterator_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
BOOL *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_regexp_Symbol_matchAll()

static JSValue js_regexp_Symbol_matchAll ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ value_buffer_init()

static int value_buffer_init ( JSContext *  ctx,
ValueBuffer *  b 
)
static
+ Here is the caller graph for this function:

◆ value_buffer_free()

static void value_buffer_free ( ValueBuffer *  b)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ value_buffer_append()

static int value_buffer_append ( ValueBuffer *  b,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_property_regexp()

static JSShapeProperty * find_property_regexp ( JSProperty **  ppr,
JSObject *  p,
JSAtom  atom 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_regexp_getter()

static BOOL check_regexp_getter ( JSContext *  ctx,
JSObject *  p,
JSAtom  atom,
JSCFunction *  func,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_is_standard_regexp()

static BOOL js_is_standard_regexp ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_regexp_Symbol_replace()

static JSValue js_regexp_Symbol_replace ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_regexp_Symbol_search()

static JSValue js_regexp_Symbol_search ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_regexp_Symbol_split()

static JSValue js_regexp_Symbol_split ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicRegExpCompiler()

void JS_AddIntrinsicRegExpCompiler ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AddIntrinsicRegExp()

int JS_AddIntrinsicRegExp ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_expect()

static int json_parse_expect ( JSParseState *  s,
int  tok 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_record_init_obj()

static void json_parse_record_init_obj ( JSContext *  ctx,
JSONParseRecord *  pr,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_record_init_array()

static void json_parse_record_init_array ( JSContext *  ctx,
JSONParseRecord *  pr,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_record_init_primitive()

static void json_parse_record_init_primitive ( JSContext *  ctx,
JSONParseRecord *  pr,
JSValueConst  val,
uint32_t  source_pos,
uint32_t  source_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_record_resize_hash()

static int json_parse_record_resize_hash ( JSContext *  ctx,
JSONParseRecordObject *  po,
uint32_t  new_hash_size 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_record_add()

static JSONParseRecord * json_parse_record_add ( JSContext *  ctx,
JSONParseRecord *  pr,
JSAtom  key,
int *  psize 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_record_find()

static JSONParseRecord * json_parse_record_find ( JSONParseRecord *  pr,
JSAtom  key 
)
static
+ Here is the caller graph for this function:

◆ json_free_parse_record()

static void json_free_parse_record ( JSContext *  ctx,
JSONParseRecord *  pr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ json_parse_value()

static JSValue json_parse_value ( JSParseState *  s,
JSONParseRecord *  pr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ParseJSON3()

JSValue JS_ParseJSON3 ( JSContext *  ctx,
const char *  buf,
size_t  buf_len,
const char *  filename,
int  flags,
JSONParseRecord *  pr 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ParseJSON2()

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:

◆ JS_ParseJSON()

JSValue JS_ParseJSON ( JSContext *  ctx,
const char *  buf,
size_t  buf_len,
const char *  filename 
)
+ Here is the call graph for this function:

◆ internalize_json_property()

static JSValue internalize_json_property ( JSContext *  ctx,
JSValueConst  holder,
JSAtom  name,
JSValueConst  reviver,
const char *  text_str,
JSONParseRecord *  pr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_json_parse()

static JSValue js_json_parse ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_json_isRawJSON()

static JSValue js_json_isRawJSON ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ is_valid_raw_json_char()

static BOOL is_valid_raw_json_char ( int  c)
static
+ Here is the caller graph for this function:

◆ js_json_rawJSON()

static JSValue js_json_rawJSON ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_ToQuotedString()

static int JS_ToQuotedString ( JSContext *  ctx,
StringBuffer *  b,
JSValueConst  val1 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToQuotedStringFree()

static int JS_ToQuotedStringFree ( JSContext *  ctx,
StringBuffer *  b,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_json_check()

static JSValue js_json_check ( JSContext *  ctx,
JSONStringifyContext *  jsc,
JSValueConst  holder,
JSValue  val,
JSValueConst  key 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_json_to_str()

static int js_json_to_str ( JSContext *  ctx,
JSONStringifyContext *  jsc,
JSValueConst  holder,
JSValue  val,
JSValueConst  indent 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_JSONStringify()

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:

◆ js_json_stringify()

static JSValue js_json_stringify ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicJSON()

int JS_AddIntrinsicJSON ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_reflect_apply()

static JSValue js_reflect_apply ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_reflect_construct()

static JSValue js_reflect_construct ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_reflect_deleteProperty()

static JSValue js_reflect_deleteProperty ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_reflect_get()

static JSValue js_reflect_get ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_reflect_has()

static JSValue js_reflect_has ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_reflect_set()

static JSValue js_reflect_set ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_reflect_setPrototypeOf()

static JSValue js_reflect_setPrototypeOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_reflect_ownKeys()

static JSValue js_reflect_ownKeys ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_proxy_finalizer()

static void js_proxy_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_proxy_mark()

static void js_proxy_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ get_proxy_method()

static JSProxyData * get_proxy_method ( JSContext *  ctx,
JSValue *  pmethod,
JSValueConst  obj,
JSAtom  name 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_proxy_get_prototype()

static JSValue js_proxy_get_prototype ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:

◆ js_proxy_set_prototype()

static int js_proxy_set_prototype ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  proto_val 
)
static
+ Here is the call graph for this function:

◆ js_proxy_is_extensible()

static int js_proxy_is_extensible ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:

◆ js_proxy_prevent_extensions()

static int js_proxy_prevent_extensions ( JSContext *  ctx,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:

◆ js_proxy_has()

static int js_proxy_has ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  atom 
)
static
+ Here is the call graph for this function:

◆ js_proxy_get()

static JSValue js_proxy_get ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  atom,
JSValueConst  receiver 
)
static
+ Here is the call graph for this function:

◆ js_proxy_set()

static int js_proxy_set ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  atom,
JSValueConst  value,
JSValueConst  receiver,
int  flags 
)
static
+ Here is the call graph for this function:

◆ js_create_desc()

static JSValue js_create_desc ( JSContext *  ctx,
JSValueConst  val,
JSValueConst  getter,
JSValueConst  setter,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_proxy_get_own_property()

static int js_proxy_get_own_property ( JSContext *  ctx,
JSPropertyDescriptor *  pdesc,
JSValueConst  obj,
JSAtom  prop 
)
static
+ Here is the call graph for this function:

◆ js_proxy_define_own_property()

static int js_proxy_define_own_property ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  prop,
JSValueConst  val,
JSValueConst  getter,
JSValueConst  setter,
int  flags 
)
static
+ Here is the call graph for this function:

◆ js_proxy_delete_property()

static int js_proxy_delete_property ( JSContext *  ctx,
JSValueConst  obj,
JSAtom  atom 
)
static
+ Here is the call graph for this function:

◆ find_prop_key()

static int find_prop_key ( const JSPropertyEnum *  tab,
int  n,
JSAtom  atom 
)
static
+ Here is the caller graph for this function:

◆ js_proxy_get_own_property_names()

static int js_proxy_get_own_property_names ( JSContext *  ctx,
JSPropertyEnum **  ptab,
uint32_t *  plen,
JSValueConst  obj 
)
static
+ Here is the call graph for this function:

◆ js_proxy_call_constructor()

static JSValue js_proxy_call_constructor ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_proxy_call()

static JSValue js_proxy_call ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_proxy_constructor()

static JSValue js_proxy_constructor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_proxy_revoke()

static JSValue js_proxy_revoke ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_proxy_revoke_constructor()

static JSValue js_proxy_revoke_constructor ( JSContext *  ctx,
JSValueConst  proxy_obj 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_proxy_revocable()

static JSValue js_proxy_revocable ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicProxy()

int JS_AddIntrinsicProxy ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_symbol_constructor()

static JSValue js_symbol_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_thisSymbolValue()

static JSValue js_thisSymbolValue ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_symbol_toString()

static JSValue js_symbol_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_symbol_valueOf()

static JSValue js_symbol_valueOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_symbol_get_description()

static JSValue js_symbol_get_description ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_symbol_for()

static JSValue js_symbol_for ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_symbol_keyFor()

static JSValue js_symbol_keyFor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_weakref_is_target()

static BOOL js_weakref_is_target ( JSValueConst  val)
static
+ Here is the caller graph for this function:

◆ js_weakref_is_live()

static BOOL js_weakref_is_live ( JSValueConst  val)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_weakref_free()

static void js_weakref_free ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_weakref_new()

static JSValue js_weakref_new ( JSContext *  ctx,
JSValueConst  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_map_constructor()

static JSValue js_map_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_normalize_key()

static JSValue map_normalize_key ( JSContext *  ctx,
JSValue  key 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_normalize_key_const()

static JSValueConst map_normalize_key_const ( JSContext *  ctx,
JSValueConst  key 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_hash32()

static uint32_t map_hash32 ( uint32_t  a,
int  hash_bits 
)
static
+ Here is the caller graph for this function:

◆ map_hash64()

static uint32_t map_hash64 ( uint64_t  a,
int  hash_bits 
)
static
+ Here is the caller graph for this function:

◆ map_hash_pointer()

static uint32_t map_hash_pointer ( uintptr_t  a,
int  hash_bits 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_hash_key()

static uint32_t map_hash_key ( JSValueConst  key,
int  hash_bits 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_find_record()

static JSMapRecord * map_find_record ( JSContext *  ctx,
JSMapState *  s,
JSValueConst  key 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_hash_resize()

static void map_hash_resize ( JSContext *  ctx,
JSMapState *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_add_record()

static JSMapRecord * map_add_record ( JSContext *  ctx,
JSMapState *  s,
JSValueConst  key 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_add_record()

static JSMapRecord * set_add_record ( JSContext *  ctx,
JSMapState *  s,
JSValueConst  key 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_delete_record_internal()

static void map_delete_record_internal ( JSRuntime *  rt,
JSMapState *  s,
JSMapRecord *  mr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_decref_record()

static void map_decref_record ( JSRuntime *  rt,
JSMapRecord *  mr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_map_set()

static JSValue js_map_set ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_map_get()

static JSValue js_map_get ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ map_delete_record()

static JSValue map_delete_record ( JSContext *  ctx,
JSMapState *  s,
JSValueConst  key 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_map_getOrInsert()

static JSValue js_map_getOrInsert ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_map_has()

static JSValue js_map_has ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_map_delete()

static JSValue js_map_delete ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_map_clear()

static JSValue js_map_clear ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_map_get_size()

static JSValue js_map_get_size ( JSContext *  ctx,
JSValueConst  this_val,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_map_forEach()

static JSValue js_map_forEach ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_map_finalizer()

static void js_map_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_map_mark()

static void js_map_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_map_iterator_finalizer()

static void js_map_iterator_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_map_iterator_mark()

static void js_map_iterator_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_create_map_iterator()

static JSValue js_create_map_iterator ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_map_iterator_next()

static JSValue js_map_iterator_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
BOOL *  pdone,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_set_record()

static int get_set_record ( JSContext *  ctx,
JSValueConst  obj,
int64_t *  psize,
JSValue *  phas,
JSValue *  pkeys 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_copy_set()

static JSValue js_copy_set ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_set_isDisjointFrom()

static JSValue js_set_isDisjointFrom ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_set_isSubsetOf()

static JSValue js_set_isSubsetOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_set_isSupersetOf()

static JSValue js_set_isSupersetOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_set_intersection()

static JSValue js_set_intersection ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_set_difference()

static JSValue js_set_difference ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_set_symmetricDifference()

static JSValue js_set_symmetricDifference ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_set_union()

static JSValue js_set_union ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicMapSet()

int JS_AddIntrinsicMapSet ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_PromiseState()

JSPromiseStateEnum JS_PromiseState ( JSContext *  ctx,
JSValue  promise 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_PromiseResult()

JSValue JS_PromiseResult ( JSContext *  ctx,
JSValue  promise 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_create_resolving_functions()

static int js_create_resolving_functions ( JSContext *  ctx,
JSValue *  args,
JSValueConst  promise 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ promise_reaction_data_free()

static void promise_reaction_data_free ( JSRuntime *  rt,
JSPromiseReactionData *  rd 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ promise_reaction_job()

static JSValue promise_reaction_job ( JSContext *  ctx,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetHostPromiseRejectionTracker()

void JS_SetHostPromiseRejectionTracker ( JSRuntime *  rt,
JSHostPromiseRejectionTracker *  cb,
void *  opaque 
)

◆ fulfill_or_reject_promise()

static void fulfill_or_reject_promise ( JSContext *  ctx,
JSValueConst  promise,
JSValueConst  value,
BOOL  is_reject 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reject_promise()

static void reject_promise ( JSContext *  ctx,
JSValueConst  promise,
JSValueConst  value 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_resolve_thenable_job()

static JSValue js_promise_resolve_thenable_job ( JSContext *  ctx,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_resolve_function_free_resolved()

static void js_promise_resolve_function_free_resolved ( JSRuntime *  rt,
JSPromiseFunctionDataResolved *  sr 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_resolve_function_finalizer()

static void js_promise_resolve_function_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_promise_resolve_function_mark()

static void js_promise_resolve_function_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_promise_resolve_function_call()

static JSValue js_promise_resolve_function_call ( JSContext *  ctx,
JSValueConst  func_obj,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  flags 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_finalizer()

static void js_promise_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_promise_mark()

static void js_promise_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_promise_constructor()

static JSValue js_promise_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_executor()

static JSValue js_promise_executor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_executor_new()

static JSValue js_promise_executor_new ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewPromiseCapability()

JSValue JS_NewPromiseCapability ( JSContext *  ctx,
JSValue *  resolving_funcs 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_withResolvers()

static JSValue js_promise_withResolvers ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_promise_try()

static JSValue js_promise_try ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ remainingElementsCount_add()

static __exception int remainingElementsCount_add ( JSContext *  ctx,
JSValueConst  resolve_element_env,
int  addend 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_all_resolve_element()

static JSValue js_promise_all_resolve_element ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_all()

static JSValue js_promise_all ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_promise_race()

static JSValue js_promise_race ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_promise_catch()

static JSValue js_promise_catch ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_promise_finally_value_thunk()

static JSValue js_promise_finally_value_thunk ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_finally_thrower()

static JSValue js_promise_finally_thrower ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_then_finally_func()

static JSValue js_promise_then_finally_func ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_promise_finally()

static JSValue js_promise_finally ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_async_from_sync_iterator_finalizer()

static void js_async_from_sync_iterator_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_async_from_sync_iterator_mark()

static void js_async_from_sync_iterator_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_async_from_sync_iterator_unwrap()

static JSValue js_async_from_sync_iterator_unwrap ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_async_from_sync_iterator_unwrap_func_create()

static JSValue js_async_from_sync_iterator_unwrap_func_create ( JSContext *  ctx,
BOOL  done 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_async_from_sync_iterator_close_wrap()

static JSValue js_async_from_sync_iterator_close_wrap ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic,
JSValue *  func_data 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_async_from_sync_iterator_close_wrap_func_create()

static JSValue js_async_from_sync_iterator_close_wrap_func_create ( JSContext *  ctx,
JSValueConst  sync_iter 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_async_from_sync_iterator_next()

static JSValue js_async_from_sync_iterator_next ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicPromise()

int JS_AddIntrinsicPromise ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_get_hex()

static int string_get_hex ( JSString *  p,
int  k,
int  n 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isURIReserved()

static int isURIReserved ( int  c)
static
+ Here is the caller graph for this function:

◆ hex_decode()

static int hex_decode ( JSContext *  ctx,
JSString *  p,
int  k 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_global_decodeURI()

static JSValue js_global_decodeURI ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  isComponent 
)
static
+ Here is the call graph for this function:

◆ isUnescaped()

static int isUnescaped ( int  c)
static
+ Here is the caller graph for this function:

◆ isURIUnescaped()

static int isURIUnescaped ( int  c,
int  isComponent 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ encodeURI_hex()

static int encodeURI_hex ( StringBuffer *  b,
int  c 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_global_encodeURI()

static JSValue js_global_encodeURI ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  isComponent 
)
static
+ Here is the call graph for this function:

◆ js_global_escape()

static JSValue js_global_escape ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_global_unescape()

static JSValue js_global_unescape ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ math_mod()

static int64_t math_mod ( int64_t  a,
int64_t  b 
)
static
+ Here is the caller graph for this function:

◆ floor_div()

static int64_t floor_div ( int64_t  a,
int64_t  b 
)
static
+ Here is the caller graph for this function:

◆ js_Date_parse()

static JSValue js_Date_parse ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ThisTimeValue()

static __exception int JS_ThisTimeValue ( JSContext *  ctx,
double *  valp,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_SetThisTimeValue()

static JSValue JS_SetThisTimeValue ( JSContext *  ctx,
JSValueConst  this_val,
double  v 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ days_from_year()

static int64_t days_from_year ( int64_t  y)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ days_in_year()

static int64_t days_in_year ( int64_t  y)
static
+ Here is the caller graph for this function:

◆ year_from_days()

static int64_t year_from_days ( int64_t *  days)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_date_fields()

static __exception int get_date_fields ( JSContext *  ctx,
JSValueConst  obj,
double  fields[minimum_length(9)],
int  is_local,
int  force 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ time_clip()

static double time_clip ( double  t)
static
+ Here is the caller graph for this function:

◆ set_date_fields()

static double set_date_fields ( double  fields[minimum_length(7)],
int  is_local 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_date_fields_checked()

static double set_date_fields_checked ( double  fields[minimum_length(7)],
int  is_local 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_date_field()

static JSValue get_date_field ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ set_date_field()

static JSValue set_date_field ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ date_now()

static int64_t date_now ( void  )
static
+ Here is the caller graph for this function:

◆ js_date_constructor()

static JSValue js_date_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_Date_UTC()

static JSValue js_Date_UTC ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ string_skip_char()

static BOOL string_skip_char ( const uint8_t *  sp,
int *  pp,
int  c 
)
static
+ Here is the caller graph for this function:

◆ string_skip_spaces()

static int string_skip_spaces ( const uint8_t *  sp,
int *  pp 
)
static
+ Here is the caller graph for this function:

◆ string_skip_separators()

static int string_skip_separators ( const uint8_t *  sp,
int *  pp 
)
static
+ Here is the caller graph for this function:

◆ string_skip_until()

static int string_skip_until ( const uint8_t *  sp,
int *  pp,
const char *  stoplist 
)
static
+ Here is the caller graph for this function:

◆ string_get_digits()

static BOOL string_get_digits ( const uint8_t *  sp,
int *  pp,
int *  pval,
int  min_digits,
int  max_digits 
)
static
+ Here is the caller graph for this function:

◆ string_get_milliseconds()

static BOOL string_get_milliseconds ( const uint8_t *  sp,
int *  pp,
int *  pval 
)
static
+ Here is the caller graph for this function:

◆ upper_ascii()

static uint8_t upper_ascii ( uint8_t  c)
static
+ Here is the caller graph for this function:

◆ string_get_tzoffset()

static BOOL string_get_tzoffset ( const uint8_t *  sp,
int *  pp,
int *  tzp,
BOOL  strict 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_match()

static BOOL string_match ( const uint8_t *  sp,
int *  pp,
const char *  s 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find_abbrev()

static int find_abbrev ( const uint8_t *  sp,
int  p,
const char *  list,
int  count 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_get_month()

static BOOL string_get_month ( const uint8_t *  sp,
int *  pp,
int *  pval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_date_parse_isostring()

static BOOL js_date_parse_isostring ( const uint8_t *  sp,
int  fields[9],
BOOL *  is_local 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ string_get_tzabbr()

static BOOL string_get_tzabbr ( const uint8_t *  sp,
int *  pp,
int *  offset 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_date_parse_otherstring()

static BOOL js_date_parse_otherstring ( const uint8_t *  sp,
int  fields[minimum_length(9)],
BOOL *  is_local 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_Date_now()

static JSValue js_Date_now ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_date_Symbol_toPrimitive()

static JSValue js_date_Symbol_toPrimitive ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_date_getTimezoneOffset()

static JSValue js_date_getTimezoneOffset ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_date_getTime()

static JSValue js_date_getTime ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_date_setTime()

static JSValue js_date_setTime ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_date_setYear()

static JSValue js_date_setYear ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_date_toJSON()

static JSValue js_date_toJSON ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_NewDate()

JSValue JS_NewDate ( JSContext *  ctx,
double  epoch_ms 
)
+ Here is the call graph for this function:

◆ JS_AddIntrinsicDate()

int JS_AddIntrinsicDate ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AddIntrinsicEval()

int JS_AddIntrinsicEval ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_ToBigIntCtorFree()

static JSValue JS_ToBigIntCtorFree ( JSContext *  ctx,
JSValue  val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_constructor()

static JSValue js_bigint_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_thisBigIntValue()

static JSValue js_thisBigIntValue ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_bigint_toString()

static JSValue js_bigint_toString ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_bigint_valueOf()

static JSValue js_bigint_valueOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_bigint_asUintN()

static JSValue js_bigint_asUintN ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  asIntN 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicBigInt()

static int JS_AddIntrinsicBigInt ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AddIntrinsicBaseObjects()

int JS_AddIntrinsicBaseObjects ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_buffer_constructor2()

static JSValue js_array_buffer_constructor2 ( JSContext *  ctx,
JSValueConst  new_target,
uint64_t  len,
uint64_t *  max_len,
JSClassID  class_id 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_buffer_constructor1()

static JSValue js_array_buffer_constructor1 ( JSContext *  ctx,
JSValueConst  new_target,
uint64_t  len,
uint64_t *  max_len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewArrayBuffer()

JSValue JS_NewArrayBuffer ( JSContext *  ctx,
uint8_t *  buf,
size_t  len,
JSFreeArrayBufferDataFunc *  free_func,
void *  opaque,
BOOL  is_shared 
)
+ Here is the call graph for this function:

◆ JS_NewArrayBufferCopy()

JSValue JS_NewArrayBufferCopy ( JSContext *  ctx,
const uint8_t *  buf,
size_t  len 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_buffer_constructor0()

static JSValue js_array_buffer_constructor0 ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv,
JSClassID  class_id 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_buffer_constructor()

static JSValue js_array_buffer_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_shared_array_buffer_constructor()

static JSValue js_shared_array_buffer_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_array_buffer_finalizer()

static void js_array_buffer_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_isView()

static JSValue js_array_buffer_isView ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_get_detached()

static JSValue js_array_buffer_get_detached ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_get_byteLength()

static JSValue js_array_buffer_get_byteLength ( JSContext *  ctx,
JSValueConst  this_val,
int  class_id 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_get_maxByteLength()

static JSValue js_array_buffer_get_maxByteLength ( JSContext *  ctx,
JSValueConst  this_val,
int  class_id 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_get_resizable()

static JSValue js_array_buffer_get_resizable ( JSContext *  ctx,
JSValueConst  this_val,
int  class_id 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_update_typed_arrays()

static void js_array_buffer_update_typed_arrays ( JSArrayBuffer *  abuf)
static
+ Here is the caller graph for this function:

◆ JS_DetachArrayBuffer()

void JS_DetachArrayBuffer ( JSContext *  ctx,
JSValueConst  obj 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_GetArrayBuffer()

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:

◆ js_array_buffer_transfer()

static JSValue js_array_buffer_transfer ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  transfer_to_fixed_length 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_resize()

static JSValue js_array_buffer_resize ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  class_id 
)
static
+ Here is the call graph for this function:

◆ js_array_buffer_slice()

static JSValue js_array_buffer_slice ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  class_id 
)
static
+ Here is the call graph for this function:

◆ get_typed_array()

static JSObject * get_typed_array ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the caller graph for this function:

◆ validate_typed_array()

static int validate_typed_array ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_get_length()

static JSValue js_typed_array_get_length ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_get_buffer()

static JSValue js_typed_array_get_buffer ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_get_byteLength()

static JSValue js_typed_array_get_byteLength ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_get_byteOffset()

static JSValue js_typed_array_get_byteOffset ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ JS_NewTypedArray()

JSValue JS_NewTypedArray ( JSContext *  ctx,
int  argc,
JSValueConst *  argv,
JSTypedArrayEnum  type 
)
+ Here is the call graph for this function:

◆ JS_GetTypedArrayBuffer()

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:

◆ js_typed_array_get_toStringTag()

static JSValue js_typed_array_get_toStringTag ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_set_internal()

static JSValue js_typed_array_set_internal ( JSContext *  ctx,
JSValueConst  dst,
JSValueConst  src,
JSValueConst  off 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_at()

static JSValue js_typed_array_at ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_with()

static JSValue js_typed_array_with ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_set()

static JSValue js_typed_array_set ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_create_typed_array_iterator()

static JSValue js_create_typed_array_iterator ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  magic 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_create()

static JSValue js_typed_array_create ( JSContext *  ctx,
JSValueConst  ctor,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_from()

static JSValue js_typed_array_from ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_of()

static JSValue js_typed_array_of ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_copyWithin()

static JSValue js_typed_array_copyWithin ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_fill()

static JSValue js_typed_array_fill ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_find()

static JSValue js_typed_array_find ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  mode 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_indexOf()

static JSValue js_typed_array_indexOf ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  special 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_join()

static JSValue js_typed_array_join ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv,
int  toLocaleString 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_reverse()

static JSValue js_typed_array_reverse ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_toReversed()

static JSValue js_typed_array_toReversed ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ slice_memcpy()

static void slice_memcpy ( uint8_t *  dst,
const uint8_t *  src,
size_t  len 
)
static
+ Here is the caller graph for this function:

◆ js_typed_array_slice()

static JSValue js_typed_array_slice ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_subarray()

static JSValue js_typed_array_subarray ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_cmp_doubles()

static int js_cmp_doubles ( double  x,
double  y 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_int8()

static int js_TA_cmp_int8 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_uint8()

static int js_TA_cmp_uint8 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_int16()

static int js_TA_cmp_int16 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_uint16()

static int js_TA_cmp_uint16 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_int32()

static int js_TA_cmp_int32 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_uint32()

static int js_TA_cmp_uint32 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_int64()

static int js_TA_cmp_int64 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_uint64()

static int js_TA_cmp_uint64 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the caller graph for this function:

◆ js_TA_cmp_float16()

static int js_TA_cmp_float16 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_cmp_float32()

static int js_TA_cmp_float32 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_cmp_float64()

static int js_TA_cmp_float64 ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_int8()

static JSValue js_TA_get_int8 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_uint8()

static JSValue js_TA_get_uint8 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_int16()

static JSValue js_TA_get_int16 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_uint16()

static JSValue js_TA_get_uint16 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_int32()

static JSValue js_TA_get_int32 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_uint32()

static JSValue js_TA_get_uint32 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_int64()

static JSValue js_TA_get_int64 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_uint64()

static JSValue js_TA_get_uint64 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_float16()

static JSValue js_TA_get_float16 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_float32()

static JSValue js_TA_get_float32 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_get_float64()

static JSValue js_TA_get_float64 ( JSContext *  ctx,
const void *  a 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_TA_cmp_generic()

static int js_TA_cmp_generic ( const void *  a,
const void *  b,
void *  opaque 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_sort()

static JSValue js_typed_array_sort ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_toSorted()

static JSValue js_typed_array_toSorted ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ b64_encode()

static size_t b64_encode ( const uint8_t *  src,
size_t  len,
char *  dst,
const unsigned char *  alpha 
)
static
+ Here is the caller graph for this function:

◆ b64_skip_ws()

static size_t b64_skip_ws ( const char *  src,
size_t  len,
size_t  index,
const uint8_t *  dec_table 
)
static
+ Here is the caller graph for this function:

◆ from_base64()

static size_t from_base64 ( const char *  src,
size_t  src_len,
uint8_t *  dst,
size_t  max_len,
const uint8_t *  dec_table,
int  last_chunk,
size_t *  p_read,
int *  p_err 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ u8a_hex_encode()

static size_t u8a_hex_encode ( const uint8_t *  src,
size_t  len,
char *  dst 
)
static
+ Here is the caller graph for this function:

◆ u8a_hex_decode()

static size_t u8a_hex_decode ( const char *  src,
size_t  src_len,
uint8_t *  dst,
size_t  max_len,
size_t *  p_read,
int *  p_err 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_NewUint8ArrayCopy()

static JSValue JS_NewUint8ArrayCopy ( JSContext *  ctx,
const uint8_t *  buf,
size_t  len 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_uint8array()

static JSObject * check_uint8array ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the caller graph for this function:

◆ get_uint8array_bytes()

static int get_uint8array_bytes ( JSContext *  ctx,
JSObject *  p,
uint8_t **  pdata,
size_t *  plen 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ check_options_object()

static int check_options_object ( JSContext *  ctx,
JSValueConst  options 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parse_alphabet_option()

static int parse_alphabet_option ( JSContext *  ctx,
JSValueConst  options 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parse_last_chunk_option()

static int parse_last_chunk_option ( JSContext *  ctx,
JSValueConst  options 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_uint8array_to_base64()

static JSValue js_uint8array_to_base64 ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_uint8array_to_hex()

static JSValue js_uint8array_to_hex ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_uint8array_from_base64()

static JSValue js_uint8array_from_base64 ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_uint8array_from_hex()

static JSValue js_uint8array_from_hex ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_make_read_written()

static JSValue js_make_read_written ( JSContext *  ctx,
size_t  read,
size_t  written 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_uint8array_set_from_base64()

static JSValue js_uint8array_set_from_base64 ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_uint8array_set_from_hex()

static JSValue js_uint8array_set_from_hex ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_base_constructor()

static JSValue js_typed_array_base_constructor ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the caller graph for this function:

◆ js_typed_array_constructor_obj()

static JSValue js_typed_array_constructor_obj ( JSContext *  ctx,
JSValueConst  new_target,
JSValueConst  obj,
int  classid 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_typed_array_finalizer()

static void js_typed_array_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_typed_array_mark()

static void js_typed_array_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_dataview_constructor()

static JSValue js_dataview_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dataview_is_oob()

static BOOL dataview_is_oob ( JSObject *  p)
static
+ Here is the caller graph for this function:

◆ get_dataview()

static JSObject * get_dataview ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the caller graph for this function:

◆ js_dataview_get_buffer()

static JSValue js_dataview_get_buffer ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_dataview_get_byteLength()

static JSValue js_dataview_get_byteLength ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_dataview_get_byteOffset()

static JSValue js_dataview_get_byteOffset ( JSContext *  ctx,
JSValueConst  this_val 
)
static
+ Here is the call graph for this function:

◆ js_dataview_getValue()

static JSValue js_dataview_getValue ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  class_id 
)
static
+ Here is the call graph for this function:

◆ js_dataview_setValue()

static JSValue js_dataview_setValue ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  class_id 
)
static
+ Here is the call graph for this function:

◆ js_atomics_get_buf()

static JSObject * js_atomics_get_buf ( JSContext *  ctx,
JSValueConst  obj,
JSValueConst  idx_val,
uint64_t *  pidx,
int  is_waitable 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_atomics_op()

static JSValue js_atomics_op ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv,
int  op 
)
static
+ Here is the call graph for this function:

◆ js_atomics_store()

static JSValue js_atomics_store ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_atomics_isLockFree()

static JSValue js_atomics_isLockFree ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ cpu_pause()

static void cpu_pause ( void  )
static
+ Here is the caller graph for this function:

◆ js_atomics_pause()

static JSValue js_atomics_pause ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_atomics_wait()

static JSValue js_atomics_wait ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_atomics_notify()

static JSValue js_atomics_notify ( JSContext *  ctx,
JSValueConst  this_obj,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicAtomics()

static int JS_AddIntrinsicAtomics ( JSContext *  ctx)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_AddIntrinsicTypedArrays()

int JS_AddIntrinsicTypedArrays ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_weakref_finalizer()

static void js_weakref_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_weakref_constructor()

static JSValue js_weakref_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_weakref_deref()

static JSValue js_weakref_deref ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_finrec_finalizer()

static void js_finrec_finalizer ( JSRuntime *  rt,
JSValue  val 
)
static
+ Here is the call graph for this function:

◆ js_finrec_mark()

static void js_finrec_mark ( JSRuntime *  rt,
JSValueConst  val,
JS_MarkFunc *  mark_func 
)
static
+ Here is the call graph for this function:

◆ js_finrec_job()

static JSValue js_finrec_job ( JSContext *  ctx,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_finrec_constructor()

static JSValue js_finrec_constructor ( JSContext *  ctx,
JSValueConst  new_target,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ js_finrec_register()

static JSValue js_finrec_register ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ js_finrec_unregister()

static JSValue js_finrec_unregister ( JSContext *  ctx,
JSValueConst  this_val,
int  argc,
JSValueConst *  argv 
)
static
+ Here is the call graph for this function:

◆ JS_AddIntrinsicWeakRef()

int JS_AddIntrinsicWeakRef ( JSContext *  ctx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ JS_IsArrayBuffer()

int JS_IsArrayBuffer ( JSContext *  ctx,
JSValueConst  val 
)

◆ JS_SwitchClassID()

int JS_SwitchClassID ( JSValue  obj,
JSClassID  class_id 
)

Variable Documentation

◆ typed_array_size_log2

static uint8_t const typed_array_size_log2
static
Initial value:
= {
0, 0, 0, 1, 1, 2, 2,
3, 3,
1, 2, 3
}

◆ js_atom_init

const char js_atom_init[]
static
Initial value:
=
#define DEF(name, str)

◆ JSStrictEqModeEnum

JSStrictEqModeEnum

◆ js_arguments_exotic_methods

static const JSClassExoticMethods js_arguments_exotic_methods
static
Initial value:
= {
.define_own_property = js_arguments_define_own_property,
}
static int js_arguments_define_own_property(JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
Definition quickjs.c:16253

◆ js_string_exotic_methods

static const JSClassExoticMethods js_string_exotic_methods
static
Initial value:
= {
.get_own_property = js_string_get_own_property,
.define_own_property = js_string_define_own_property,
.delete_property = js_string_delete_property,
}
static int js_string_define_own_property(JSContext *ctx, JSValueConst this_obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
Definition quickjs.c:45325
static int js_string_delete_property(JSContext *ctx, JSValueConst obj, JSAtom prop)
Definition quickjs.c:45365
static int js_string_get_own_property(JSContext *ctx, JSPropertyDescriptor *desc, JSValueConst obj, JSAtom prop)
Definition quickjs.c:45296

◆ js_proxy_exotic_methods

static const JSClassExoticMethods js_proxy_exotic_methods
static
Initial value:
= {
.get_own_property = js_proxy_get_own_property,
.define_own_property = js_proxy_define_own_property,
.delete_property = js_proxy_delete_property,
.get_own_property_names = js_proxy_get_own_property_names,
.has_property = js_proxy_has,
.get_property = js_proxy_get,
.set_property = js_proxy_set,
.get_prototype = js_proxy_get_prototype,
.set_prototype = js_proxy_set_prototype,
.is_extensible = js_proxy_is_extensible,
.prevent_extensions = js_proxy_prevent_extensions,
}
static int js_proxy_is_extensible(JSContext *ctx, JSValueConst obj)
Definition quickjs.c:50868
static int js_proxy_has(JSContext *ctx, JSValueConst obj, JSAtom atom)
Definition quickjs.c:50922
static int js_proxy_get_own_property_names(JSContext *ctx, JSPropertyEnum **ptab, uint32_t *plen, JSValueConst obj)
Definition quickjs.c:51376
static JSValue js_proxy_get(JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst receiver)
Definition quickjs.c:50966
static JSValue js_proxy_get_prototype(JSContext *ctx, JSValueConst obj)
Definition quickjs.c:50788
static int js_proxy_define_own_property(JSContext *ctx, JSValueConst obj, JSAtom prop, JSValueConst val, JSValueConst getter, JSValueConst setter, int flags)
Definition quickjs.c:51217
static int js_proxy_get_own_property(JSContext *ctx, JSPropertyDescriptor *pdesc, JSValueConst obj, JSAtom prop)
Definition quickjs.c:51112
static int js_proxy_set_prototype(JSContext *ctx, JSValueConst obj, JSValueConst proto_val)
Definition quickjs.c:50829
static int js_proxy_delete_property(JSContext *ctx, JSValueConst obj, JSAtom atom)
Definition quickjs.c:51314
static int js_proxy_set(JSContext *ctx, JSValueConst obj, JSAtom atom, JSValueConst value, JSValueConst receiver, int flags)
Definition quickjs.c:51016
static int js_proxy_prevent_extensions(JSContext *ctx, JSValueConst obj)
Definition quickjs.c:50894

◆ js_module_ns_exotic_methods

static const JSClassExoticMethods js_module_ns_exotic_methods
static
Initial value:
= {
.has_property = js_module_ns_has,
}
static int js_module_ns_has(JSContext *ctx, JSValueConst obj, JSAtom atom)
Definition quickjs.c:30445

◆ js_class_id_alloc

JSClassID js_class_id_alloc = JS_CLASS_INIT_COUNT
static

◆ js_malloc_block_sizes

const uint16_t js_malloc_block_sizes[JS_MALLOC_BLOCK_SIZE_COUNT]
static

◆ js_std_class_def

JSClassShortDef const js_std_class_def[]
static

◆ def_malloc_funcs

const JSMallocFunctions def_malloc_funcs
static
Initial value:
= {
}
static size_t js_def_malloc_usable_size(const void *ptr)
Definition quickjs.c:2184
static void * js_def_malloc(JSMallocState *s, size_t size)
Definition quickjs.c:2200
static void * js_def_realloc(JSMallocState *s, void *ptr, size_t size)
Definition quickjs.c:2229
static void js_def_free(JSMallocState *s, void *ptr)
Definition quickjs.c:2219

◆ js_class_id_mutex

pthread_mutex_t js_class_id_mutex = PTHREAD_MUTEX_INITIALIZER
static

◆ rope_bucket_len

const uint32_t rope_bucket_len[ROPE_N_BUCKETS]
static
Initial value:
= {
1, 2, 3, 5,
8, 13, 21, 34,
55, 89, 144, 233,
377, 610, 987, 1597,
2584, 4181, 6765, 10946,
17711, 28657, 46368, 75025,
121393, 196418, 317811, 514229,
832040, 1346269, 2178309, 3524578,
5702887, 9227465, 14930352, 24157817,
39088169, 63245986, 102334155, 165580141,
267914296, 433494437, 701408733, 1134903170,
}

◆ js_autoinit_func_table

JSAutoInitFunc* js_autoinit_func_table[]
static
Initial value:
= {
}
static JSValue js_module_ns_autoinit(JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)
Definition quickjs.c:30477
static JSValue JS_InstantiateFunctionListItem2(JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)
Definition quickjs.c:39674
static JSValue js_instantiate_prototype(JSContext *ctx, JSObject *p, JSAtom atom, void *opaque)
Definition quickjs.c:17463

◆ js_pow_dec

const js_limb_t js_pow_dec[JS_LIMB_DIGITS+1]
static
Initial value:
= {
1U,
10U,
100U,
1000U,
10000U,
100000U,
1000000U,
10000000U,
100000000U,
1000000000U,
}

◆ digits

char const digits[36]
static
Initial value:
= {
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b',
'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'
}

◆ digits_per_limb_table

const uint8_t digits_per_limb_table[JS_RADIX_MAX - 1]
static
Initial value:
= {
64,40,32,27,24,22,21,20,19,18,17,17,16,16,16,15,15,15,14,14,14,14,13,13,13,13,13,13,13,12,12,12,12,12,12,
}

◆ radix_base_table

const js_limb_t radix_base_table[JS_RADIX_MAX - 1]
static
Initial value:
= {
0x0000000000000000, 0xa8b8b452291fe821, 0x0000000000000000, 0x6765c793fa10079d,
0x41c21cb8e1000000, 0x3642798750226111, 0x8000000000000000, 0xa8b8b452291fe821,
0x8ac7230489e80000, 0x4d28cb56c33fa539, 0x1eca170c00000000, 0x780c7372621bd74d,
0x1e39a5057d810000, 0x5b27ac993df97701, 0x0000000000000000, 0x27b95e997e21d9f1,
0x5da0e1e53c5c8000, 0xd2ae3299c1c4aedb, 0x16bcc41e90000000, 0x2d04b7fdd9c0ef49,
0x5658597bcaa24000, 0xa0e2073737609371, 0x0c29e98000000000, 0x14adf4b7320334b9,
0x226ed36478bfa000, 0x383d9170b85ff80b, 0x5a3c23e39c000000, 0x8e65137388122bcd,
0xdd41bb36d259e000, 0x0aee5720ee830681, 0x1000000000000000, 0x172588ad4f5f0981,
0x211e44f7d02c1000, 0x2ee56725f06e5c71, 0x41c21cb8e1000000,
}

◆ func_kind_to_class_id

const uint16_t func_kind_to_class_id[]
static
Initial value:
= {
}
@ JS_FUNC_ASYNC_GENERATOR
Definition quickjs.c:717
@ JS_FUNC_ASYNC
Definition quickjs.c:716
@ JS_FUNC_GENERATOR
Definition quickjs.c:715
@ JS_FUNC_NORMAL
Definition quickjs.c:714
@ JS_CLASS_BYTECODE_FUNCTION
Definition quickjs.c:146
@ JS_CLASS_GENERATOR_FUNCTION
Definition quickjs.c:149
@ JS_CLASS_ASYNC_FUNCTION
Definition quickjs.c:188
@ JS_CLASS_ASYNC_GENERATOR_FUNCTION
Definition quickjs.c:192

◆ opcode_info

const JSOpCode opcode_info[OP_COUNT+(OP_TEMP_END - OP_TEMP_START)]
static
Initial value:
= {
#define FMT(f)
#define DEF(id, size, n_pop, n_push, f)
}

◆ js_object_funcs

const JSCFunctionListEntry js_object_funcs[]
static
Initial value:
= {
JS_CFUNC_MAGIC_DEF("getPrototypeOf", 1, js_object_getPrototypeOf, 0 ),
JS_CFUNC_DEF("setPrototypeOf", 2, js_object_setPrototypeOf ),
JS_CFUNC_MAGIC_DEF("defineProperty", 3, js_object_defineProperty, 0 ),
JS_CFUNC_DEF("defineProperties", 2, js_object_defineProperties ),
JS_CFUNC_DEF("getOwnPropertyNames", 1, js_object_getOwnPropertyNames ),
JS_CFUNC_DEF("getOwnPropertySymbols", 1, js_object_getOwnPropertySymbols ),
JS_CFUNC_MAGIC_DEF("isExtensible", 1, js_object_isExtensible, 0 ),
JS_CFUNC_MAGIC_DEF("preventExtensions", 1, js_object_preventExtensions, 0 ),
JS_CFUNC_MAGIC_DEF("getOwnPropertyDescriptor", 2, js_object_getOwnPropertyDescriptor, 0 ),
JS_CFUNC_DEF("getOwnPropertyDescriptors", 1, js_object_getOwnPropertyDescriptors ),
JS_CFUNC_DEF("fromEntries", 1, js_object_fromEntries ),
}
static JSValue js_object_keys(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int kind)
Definition quickjs.c:40572
static JSValue js_object_create(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40226
@ JS_ITERATOR_KIND_VALUE
Definition quickjs.c:770
@ JS_ITERATOR_KIND_KEY
Definition quickjs.c:769
@ JS_ITERATOR_KIND_KEY_AND_VALUE
Definition quickjs.c:771
static JSValue js_object_groupBy(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int is_map)
Definition quickjs.c:52511
static JSValue js_object_setPrototypeOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40264
static JSValue js_object_seal(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int freeze_flag)
Definition quickjs.c:40771
static JSValue js_object_isSealed(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int is_frozen)
Definition quickjs.c:40822
static JSValue js_object_hasOwn(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40650
static JSValue js_object_getOwnPropertyDescriptor(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:40364
static JSValue js_object_getOwnPropertySymbols(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40565
static JSValue js_object_defineProperties(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40305
static JSValue js_object_preventExtensions(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int reflect)
Definition quickjs.c:40599
static JSValue js_object_getOwnPropertyNames(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40558
static JSValue js_object_is(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40934
static JSValue js_object_defineProperty(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:40275
static JSValue js_object_getPrototypeOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:40248
static JSValue js_object_getOwnPropertyDescriptors(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40428
static JSValue js_object_fromEntries(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40868
static JSValue js_object_isExtensible(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int reflect)
Definition quickjs.c:40579
static JSValue js_object_assign(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40743
#define JS_CFUNC_MAGIC_DEF(name, length, func1, magic)
Definition quickjs.h:1157
#define JS_CFUNC_DEF(name, length, func1)
Definition quickjs.h:1156

◆ js_object_proto_funcs

const JSCFunctionListEntry js_object_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("toString", 0, js_object_toString ),
JS_CFUNC_DEF("toLocaleString", 0, js_object_toLocaleString ),
JS_CFUNC_DEF("hasOwnProperty", 1, js_object_hasOwnProperty ),
JS_CFUNC_DEF("isPrototypeOf", 1, js_object_isPrototypeOf ),
JS_CFUNC_DEF("propertyIsEnumerable", 1, js_object_propertyIsEnumerable ),
JS_CFUNC_MAGIC_DEF("__defineGetter__", 2, js_object___defineGetter__, 0 ),
JS_CFUNC_MAGIC_DEF("__defineSetter__", 2, js_object___defineGetter__, 1 ),
JS_CFUNC_MAGIC_DEF("__lookupGetter__", 1, js_object___lookupGetter__, 0 ),
JS_CFUNC_MAGIC_DEF("__lookupSetter__", 1, js_object___lookupGetter__, 1 ),
}
static JSValue js_object_isPrototypeOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40995
static JSValue js_object_get___proto__(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:40970
static JSValue js_object___lookupGetter__(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int setter)
Definition quickjs.c:41066
static JSValue js_object_set___proto__(JSContext *ctx, JSValueConst this_val, JSValueConst proto)
Definition quickjs.c:40982
static JSValue js_object_propertyIsEnumerable(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41035
static JSValue js_object___defineGetter__(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:40318
static JSValue js_object_hasOwnProperty(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40624
static JSValue js_object_toLocaleString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40737
static JSValue js_object_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40682
static JSValue js_object_valueOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40676
#define JS_CGETSET_DEF(name, fgetter, fsetter)
Definition quickjs.h:1160

◆ js_function_proto_funcs

const JSCFunctionListEntry js_function_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("[Symbol.hasInstance]", 1, js_function_hasInstance ),
}
static JSValue js_function_proto_lineNumber(JSContext *ctx, JSValueConst this_val, int is_col)
Definition quickjs.c:16238
static JSValue js_function_call(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41345
static JSValue js_function_apply(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:41318
static JSValue js_function_proto_fileName(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:16228
static JSValue js_function_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41440
static JSValue js_function_hasInstance(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41484
static JSValue js_function_bind(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41355
#define JS_CGETSET_MAGIC_DEF(name, fgetter, fsetter, magic)
Definition quickjs.h:1161

◆ js_error_proto_funcs

const JSCFunctionListEntry js_error_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("toString", 0, js_error_toString ),
}
static JSValue js_error_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41620
#define JS_PROP_STRING_DEF(name, cstr, prop_flags)
Definition quickjs.h:1162

◆ js_native_error_proto_funcs

const JSCFunctionListEntry js_native_error_proto_funcs[]
static
Initial value:
= {
#define DEF(name)
}

◆ js_error_funcs

const JSCFunctionListEntry js_error_funcs[]
static
Initial value:
= {
}
static JSValue js_error_isError(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41674

◆ js_array_funcs

const JSCFunctionListEntry js_array_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("isArray", 1, js_array_isArray ),
JS_CGETSET_DEF("[Symbol.species]", js_get_this, NULL ),
}
static JSValue js_array_isArray(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41948
static JSValue js_array_from(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41801
static JSValue js_get_this(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:41959
static JSValue js_array_of(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:41920

◆ js_iterator_wrap_proto_funcs

const JSCFunctionListEntry js_iterator_wrap_proto_funcs[]
static
Initial value:
= {
}
#define GEN_MAGIC_NEXT
Definition quickjs.c:21150
static JSValue js_iterator_wrap_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int *pdone, int magic)
Definition quickjs.c:43836
#define GEN_MAGIC_RETURN
Definition quickjs.c:21151
#define JS_ITERATOR_NEXT_DEF(name, length, func1, magic)
Definition quickjs.h:1159

◆ js_iterator_concat_proto_funcs

const JSCFunctionListEntry js_iterator_concat_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Iterator Concat", JS_PROP_CONFIGURABLE ),
}
static JSValue js_iterator_concat_return(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44014
static JSValue js_iterator_concat_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int *pdone, int magic)
Definition quickjs.c:43939

◆ js_iterator_funcs

const JSCFunctionListEntry js_iterator_funcs[]
static
Initial value:
= {
}
static JSValue js_iterator_concat(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44051
static JSValue js_iterator_from(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44094

◆ js_iterator_proto_funcs

const JSCFunctionListEntry js_iterator_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("[Symbol.iterator]", 0, js_iterator_proto_iterator ),
}
static JSValue js_iterator_proto_get_toStringTag(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:44527
static JSValue js_iterator_proto_toArray(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44485
@ JS_ITERATOR_HELPER_KIND_FIND
Definition quickjs.c:44153
@ JS_ITERATOR_HELPER_KIND_FILTER
Definition quickjs.c:44152
@ JS_ITERATOR_HELPER_KIND_TAKE
Definition quickjs.c:44158
@ JS_ITERATOR_HELPER_KIND_FLAT_MAP
Definition quickjs.c:44154
@ JS_ITERATOR_HELPER_KIND_DROP
Definition quickjs.c:44150
@ JS_ITERATOR_HELPER_KIND_EVERY
Definition quickjs.c:44151
@ JS_ITERATOR_HELPER_KIND_MAP
Definition quickjs.c:44156
@ JS_ITERATOR_HELPER_KIND_FOR_EACH
Definition quickjs.c:44155
@ JS_ITERATOR_HELPER_KIND_SOME
Definition quickjs.c:44157
static JSValue js_iterator_proto_reduce(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44420
static JSValue js_iterator_proto_func(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:44265
static JSValue js_iterator_proto_iterator(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44521
static JSValue js_create_iterator_helper(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:44172
static JSValue js_iterator_proto_set_toStringTag(JSContext *ctx, JSValueConst this_val, JSValueConst val)
Definition quickjs.c:44532

◆ js_iterator_helper_proto_funcs

const JSCFunctionListEntry js_iterator_helper_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Iterator Helper", JS_PROP_CONFIGURABLE ),
}
static JSValue js_iterator_helper_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int *pdone, int magic)
Definition quickjs.c:44581

◆ js_array_unscopables_funcs

const JSCFunctionListEntry js_array_unscopables_funcs[]
static
Initial value:
= {
JS_PROP_BOOL_DEF("findLastIndex", TRUE, JS_PROP_C_W_E),
}
#define JS_PROP_BOOL_DEF(name, val, prop_flags)
Definition quickjs.h:1168
#define JS_PROP_C_W_E
Definition quickjs.h:319
#define TRUE
Definition reedsolomon.h:31

◆ js_array_proto_funcs

const JSCFunctionListEntry js_array_proto_funcs[]
static

◆ js_array_iterator_proto_funcs

const JSCFunctionListEntry js_array_iterator_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Array Iterator", JS_PROP_CONFIGURABLE ),
}
static JSValue js_array_iterator_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
Definition quickjs.c:43746

◆ js_number_funcs

const JSCFunctionListEntry js_number_funcs[]
static
Initial value:
= {
JS_ALIAS_BASE_DEF("parseInt", "parseInt", 0 ),
JS_ALIAS_BASE_DEF("parseFloat", "parseFloat", 0 ),
JS_CFUNC_DEF("isFinite", 1, js_number_isFinite ),
JS_CFUNC_DEF("isInteger", 1, js_number_isInteger ),
JS_CFUNC_DEF("isSafeInteger", 1, js_number_isSafeInteger ),
JS_PROP_DOUBLE_DEF("MAX_VALUE", 1.7976931348623157e+308, 0 ),
JS_PROP_DOUBLE_DEF("MIN_VALUE", 5e-324, 0 ),
JS_PROP_DOUBLE_DEF("NaN", NAN, 0 ),
JS_PROP_DOUBLE_DEF("NEGATIVE_INFINITY", -INFINITY, 0 ),
JS_PROP_DOUBLE_DEF("POSITIVE_INFINITY", INFINITY, 0 ),
JS_PROP_DOUBLE_DEF("EPSILON", 2.220446049250313e-16, 0 ),
JS_PROP_DOUBLE_DEF("MAX_SAFE_INTEGER", 9007199254740991.0, 0 ),
JS_PROP_DOUBLE_DEF("MIN_SAFE_INTEGER", -9007199254740991.0, 0 ),
}
static JSValue js_number_isFinite(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44997
static JSValue js_number_isInteger(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45005
static JSValue js_number_isSafeInteger(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45016
static JSValue js_number_isNaN(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:44989
#define JS_PROP_DOUBLE_DEF(name, val, prop_flags)
Definition quickjs.h:1165
#define JS_ALIAS_BASE_DEF(name, from, base)
Definition quickjs.h:1171

◆ js_number_proto_funcs

const JSCFunctionListEntry js_number_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("toExponential", 1, js_number_toExponential ),
JS_CFUNC_DEF("toPrecision", 1, js_number_toPrecision ),
JS_CFUNC_MAGIC_DEF("toLocaleString", 0, js_number_toString, 1 ),
}
static JSValue js_number_valueOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45062
static JSValue js_number_toFixed(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45114
static JSValue js_number_toPrecision(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45166
static JSValue js_number_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:45080
static JSValue js_number_toExponential(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45137

◆ js_boolean_proto_funcs

const JSCFunctionListEntry js_boolean_proto_funcs[]
static
Initial value:
= {
}
static JSValue js_boolean_valueOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45283
static JSValue js_boolean_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45273

◆ js_string_funcs

const JSCFunctionListEntry js_string_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("fromCharCode", 1, js_string_fromCharCode ),
JS_CFUNC_DEF("fromCodePoint", 1, js_string_fromCodePoint ),
}
static JSValue js_string_fromCharCode(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45433
static JSValue js_string_raw(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45485
static JSValue js_string_fromCodePoint(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45451

◆ js_string_proto_funcs

const JSCFunctionListEntry js_string_proto_funcs[]
static

◆ js_string_iterator_proto_funcs

const JSCFunctionListEntry js_string_iterator_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "String Iterator", JS_PROP_CONFIGURABLE ),
}
static JSValue js_string_iterator_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
Definition quickjs.c:46860

◆ js_string_proto_normalize

const JSCFunctionListEntry js_string_proto_normalize[]
static
Initial value:
= {
JS_CFUNC_DEF("normalize", 0, js_string_normalize ),
JS_CFUNC_DEF("localeCompare", 1, js_string_localeCompare ),
}
static JSValue js_string_localeCompare(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:46796
static JSValue js_string_normalize(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:46722

◆ js_math_funcs

const JSCFunctionListEntry js_math_funcs[]
static

◆ js_math_obj

const JSCFunctionListEntry js_math_obj[]
static
Initial value:
= {
}
#define countof(x)
Definition cutils.h:60
static const JSCFunctionListEntry js_math_funcs[]
Definition quickjs.c:47541
#define JS_OBJECT_DEF(name, tab, len, prop_flags)
Definition quickjs.h:1169

◆ js_regexp_funcs

const JSCFunctionListEntry js_regexp_funcs[]
static
Initial value:
= {
JS_CGETSET_DEF("[Symbol.species]", js_get_this, NULL ),
}
static JSValue js_regexp_escape(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:48176

◆ js_regexp_proto_funcs

const JSCFunctionListEntry js_regexp_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("toString", 0, js_regexp_toString ),
JS_CFUNC_DEF("[Symbol.replace]", 2, js_regexp_Symbol_replace ),
JS_CFUNC_DEF("[Symbol.match]", 1, js_regexp_Symbol_match ),
JS_CFUNC_DEF("[Symbol.matchAll]", 1, js_regexp_Symbol_matchAll ),
JS_CFUNC_DEF("[Symbol.search]", 1, js_regexp_Symbol_search ),
JS_CFUNC_DEF("[Symbol.split]", 2, js_regexp_Symbol_split ),
}
#define LRE_FLAG_INDICES
Definition libregexp.h:36
#define LRE_FLAG_IGNORECASE
Definition libregexp.h:31
#define LRE_FLAG_DOTALL
Definition libregexp.h:33
#define LRE_FLAG_GLOBAL
Definition libregexp.h:30
#define LRE_FLAG_MULTILINE
Definition libregexp.h:32
#define LRE_FLAG_UNICODE
Definition libregexp.h:34
#define LRE_FLAG_UNICODE_SETS
Definition libregexp.h:38
#define LRE_FLAG_STICKY
Definition libregexp.h:35
static JSValue js_regexp_get_source(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:48010
static JSValue js_regexp_Symbol_match(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:48636
static JSValue js_regexp_Symbol_replace(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:49006
static JSValue js_regexp_Symbol_split(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:49259
static JSValue js_regexp_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:48130
static JSValue js_regexp_get_flag(JSContext *ctx, JSValueConst this_val, int mask)
Definition quickjs.c:48076
static JSValue js_regexp_get_flags(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:48098
static JSValue js_regexp_exec(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:48263
static JSValue js_regexp_test(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:48622
static JSValue js_regexp_Symbol_matchAll(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:48803
static JSValue js_regexp_Symbol_search(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:49201
static JSValue js_regexp_compile(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:47966

◆ js_regexp_string_iterator_proto_funcs

const JSCFunctionListEntry js_regexp_string_iterator_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "RegExp String Iterator", JS_PROP_CONFIGURABLE ),
}
static JSValue js_regexp_string_iterator_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
Definition quickjs.c:48749

◆ js_json_funcs

const JSCFunctionListEntry js_json_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("isRawJSON", 1, js_json_isRawJSON ),
JS_CFUNC_DEF("parse", 2, js_json_parse ),
JS_CFUNC_DEF("rawJSON", 1, js_json_rawJSON ),
JS_CFUNC_DEF("stringify", 3, js_json_stringify ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "JSON", JS_PROP_CONFIGURABLE ),
}
static JSValue js_json_rawJSON(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50044
static JSValue js_json_parse(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:49971
static JSValue js_json_stringify(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50542
static JSValue js_json_isRawJSON(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50024

◆ js_json_obj

const JSCFunctionListEntry js_json_obj[]
static
Initial value:
= {
}
static const JSCFunctionListEntry js_json_funcs[]
Definition quickjs.c:50549

◆ js_reflect_funcs

const JSCFunctionListEntry js_reflect_funcs[]
static
Initial value:
= {
JS_CFUNC_MAGIC_DEF("defineProperty", 3, js_object_defineProperty, 1 ),
JS_CFUNC_DEF("deleteProperty", 2, js_reflect_deleteProperty ),
JS_CFUNC_MAGIC_DEF("getOwnPropertyDescriptor", 2, js_object_getOwnPropertyDescriptor, 1 ),
JS_CFUNC_MAGIC_DEF("getPrototypeOf", 1, js_object_getPrototypeOf, 1 ),
JS_CFUNC_MAGIC_DEF("isExtensible", 1, js_object_isExtensible, 1 ),
JS_CFUNC_MAGIC_DEF("preventExtensions", 1, js_object_preventExtensions, 1 ),
JS_CFUNC_DEF("setPrototypeOf", 2, js_reflect_setPrototypeOf ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Reflect", JS_PROP_CONFIGURABLE ),
}
static JSValue js_reflect_ownKeys(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50704
static JSValue js_reflect_setPrototypeOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50693
static JSValue js_reflect_construct(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50575
static JSValue js_reflect_get(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50620
static JSValue js_reflect_apply(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50569
static JSValue js_reflect_has(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50643
static JSValue js_reflect_deleteProperty(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50599
static JSValue js_reflect_set(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:50665

◆ js_reflect_obj

const JSCFunctionListEntry js_reflect_obj[]
static
Initial value:
= {
}
static const JSCFunctionListEntry js_reflect_funcs[]
Definition quickjs.c:50714

◆ js_proxy_funcs

const JSCFunctionListEntry js_proxy_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("revocable", 2, js_proxy_revocable ),
}
static JSValue js_proxy_revocable(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:51659

◆ js_proxy_class_def

const JSClassShortDef js_proxy_class_def[]
static
Initial value:
= {
{ JS_ATOM_Object, js_proxy_finalizer, js_proxy_mark },
}
static void js_proxy_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:50747
static void js_proxy_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:50737

◆ js_symbol_proto_funcs

const JSCFunctionListEntry js_symbol_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("toString", 0, js_symbol_toString ),
JS_CFUNC_DEF("[Symbol.toPrimitive]", 1, js_symbol_valueOf ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Symbol", JS_PROP_CONFIGURABLE ),
JS_CGETSET_DEF("description", js_symbol_get_description, NULL ),
}
static JSValue js_symbol_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:51759
static JSValue js_symbol_valueOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:51772
static JSValue js_symbol_get_description(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:51778

◆ js_symbol_funcs

const JSCFunctionListEntry js_symbol_funcs[]
static
Initial value:
= {
JS_PROP_ATOM_DEF("toPrimitive", JS_ATOM_Symbol_toPrimitive, 0),
JS_PROP_ATOM_DEF("iterator", JS_ATOM_Symbol_iterator, 0),
JS_PROP_ATOM_DEF("match", JS_ATOM_Symbol_match, 0),
JS_PROP_ATOM_DEF("matchAll", JS_ATOM_Symbol_matchAll, 0),
JS_PROP_ATOM_DEF("replace", JS_ATOM_Symbol_replace, 0),
JS_PROP_ATOM_DEF("search", JS_ATOM_Symbol_search, 0),
JS_PROP_ATOM_DEF("split", JS_ATOM_Symbol_split, 0),
JS_PROP_ATOM_DEF("toStringTag", JS_ATOM_Symbol_toStringTag, 0),
JS_PROP_ATOM_DEF("isConcatSpreadable", JS_ATOM_Symbol_isConcatSpreadable, 0),
JS_PROP_ATOM_DEF("hasInstance", JS_ATOM_Symbol_hasInstance, 0),
JS_PROP_ATOM_DEF("species", JS_ATOM_Symbol_species, 0),
JS_PROP_ATOM_DEF("unscopables", JS_ATOM_Symbol_unscopables, 0),
JS_PROP_ATOM_DEF("asyncIterator", JS_ATOM_Symbol_asyncIterator, 0),
}
static JSValue js_symbol_keyFor(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:51816
static JSValue js_symbol_for(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:51805

◆ js_map_funcs

const JSCFunctionListEntry js_map_funcs[]
static
Initial value:
= {
JS_CGETSET_DEF("[Symbol.species]", js_get_this, NULL ),
}

◆ js_map_proto_funcs

const JSCFunctionListEntry js_map_proto_funcs[]
static
Initial value:
= {
(JS_CLASS_MAP << 1) | FALSE ),
JS_CFUNC_MAGIC_DEF("getOrInsertComputed", 2, js_map_getOrInsert,
(JS_CLASS_MAP << 1) | TRUE ),
JS_CFUNC_MAGIC_DEF("delete", 1, js_map_delete, 0 ),
JS_CFUNC_MAGIC_DEF("clear", 0, js_map_clear, 0 ),
JS_CFUNC_MAGIC_DEF("forEach", 1, js_map_forEach, 0 ),
JS_ALIAS_DEF("[Symbol.iterator]", "entries" ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Map", JS_PROP_CONFIGURABLE ),
}
static JSValue js_map_forEach(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52459
static JSValue js_map_clear(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52431
static JSValue js_map_get(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52324
static JSValue js_map_getOrInsert(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52371
static JSValue js_create_map_iterator(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52715
static JSValue js_map_has(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52408
static JSValue js_map_set(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52296
@ JS_CLASS_MAP
Definition quickjs.c:168
static JSValue js_map_get_size(JSContext *ctx, JSValueConst this_val, int magic)
Definition quickjs.c:52451
static JSValue js_map_delete(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:52422
#define JS_ALIAS_DEF(name, from)
Definition quickjs.h:1170
#define FALSE
Definition reedsolomon.h:32

◆ js_map_iterator_proto_funcs

const JSCFunctionListEntry js_map_iterator_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Map Iterator", JS_PROP_CONFIGURABLE ),
}
static JSValue js_map_iterator_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
Definition quickjs.c:52745

◆ js_set_proto_funcs

const JSCFunctionListEntry js_set_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("isDisjointFrom", 1, js_set_isDisjointFrom ),
JS_CFUNC_DEF("isSubsetOf", 1, js_set_isSubsetOf ),
JS_CFUNC_DEF("isSupersetOf", 1, js_set_isSupersetOf ),
JS_CFUNC_DEF("intersection", 1, js_set_intersection ),
JS_CFUNC_DEF("difference", 1, js_set_difference ),
JS_CFUNC_DEF("symmetricDifference", 1, js_set_symmetricDifference ),
JS_CFUNC_DEF("union", 1, js_set_union ),
JS_ALIAS_DEF("keys", "values" ),
JS_ALIAS_DEF("[Symbol.iterator]", "values" ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Set", JS_PROP_CONFIGURABLE ),
}
static JSValue js_set_intersection(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:53080
static JSValue js_set_union(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:53313
static JSValue js_set_symmetricDifference(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:53244
#define MAGIC_SET
Definition quickjs.c:51926
static JSValue js_set_difference(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:53171
static JSValue js_set_isSupersetOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:53029
static JSValue js_set_isDisjointFrom(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:52914
static JSValue js_set_isSubsetOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:52982

◆ js_set_iterator_proto_funcs

const JSCFunctionListEntry js_set_iterator_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Set Iterator", JS_PROP_CONFIGURABLE ),
}

◆ js_weak_map_proto_funcs

const JSCFunctionListEntry js_weak_map_proto_funcs[]
static
Initial value:
= {
(JS_CLASS_WEAKMAP << 1) | FALSE ),
JS_CFUNC_MAGIC_DEF("getOrInsertComputed", 2, js_map_getOrInsert,
(JS_CLASS_WEAKMAP << 1) | TRUE ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "WeakMap", JS_PROP_CONFIGURABLE ),
}
#define MAGIC_WEAK
Definition quickjs.c:51927
@ JS_CLASS_WEAKMAP
Definition quickjs.c:170

◆ js_weak_set_proto_funcs

const JSCFunctionListEntry js_weak_set_proto_funcs[]
static
Initial value:

◆ js_map_proto_funcs_ptr

const JSCFunctionListEntry* const js_map_proto_funcs_ptr[6]
static
Initial value:
= {
}
static const JSCFunctionListEntry js_set_proto_funcs[]
Definition quickjs.c:53393
static const JSCFunctionListEntry js_map_proto_funcs[]
Definition quickjs.c:53369
static const JSCFunctionListEntry js_map_iterator_proto_funcs[]
Definition quickjs.c:53388
static const JSCFunctionListEntry js_weak_map_proto_funcs[]
Definition quickjs.c:53419
static const JSCFunctionListEntry js_set_iterator_proto_funcs[]
Definition quickjs.c:53414
static const JSCFunctionListEntry js_weak_set_proto_funcs[]
Definition quickjs.c:53431

◆ js_map_proto_funcs_count

◆ js_generator_function_proto_funcs

const JSCFunctionListEntry js_generator_function_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "GeneratorFunction", JS_PROP_CONFIGURABLE),
}

◆ js_generator_proto_funcs

const JSCFunctionListEntry js_generator_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Generator", JS_PROP_CONFIGURABLE),
}
#define GEN_MAGIC_THROW
Definition quickjs.c:21152
static JSValue js_generator_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, BOOL *pdone, int magic)
Definition quickjs.c:21154

◆ js_promise_funcs

const JSCFunctionListEntry js_promise_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("withResolvers", 0, js_promise_withResolvers ),
JS_CGETSET_DEF("[Symbol.species]", js_get_this, NULL),
}
static JSValue js_promise_resolve(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:53955
static JSValue js_promise_withResolvers(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:53988
static JSValue js_promise_race(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:54295
static JSValue js_promise_try(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:54024
#define PROMISE_MAGIC_allSettled
Definition quickjs.c:54072
static JSValue js_promise_all(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:54146
#define PROMISE_MAGIC_all
Definition quickjs.c:54071
#define PROMISE_MAGIC_any
Definition quickjs.c:54073

◆ js_promise_proto_funcs

const JSCFunctionListEntry js_promise_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Promise", JS_PROP_CONFIGURABLE ),
}
static JSValue js_promise_catch(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:54448
static JSValue js_promise_finally(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:54502
static JSValue js_promise_then(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:54419

◆ js_async_function_proto_funcs

const JSCFunctionListEntry js_async_function_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "AsyncFunction", JS_PROP_CONFIGURABLE ),
}

◆ js_async_iterator_proto_funcs

const JSCFunctionListEntry js_async_iterator_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("[Symbol.asyncIterator]", 0, js_iterator_proto_iterator ),
}

◆ js_async_from_sync_iterator_proto_funcs

const JSCFunctionListEntry js_async_from_sync_iterator_proto_funcs[]
static
Initial value:
= {
}
static JSValue js_async_from_sync_iterator_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:54661

◆ js_async_generator_function_proto_funcs

const JSCFunctionListEntry js_async_generator_function_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "AsyncGeneratorFunction", JS_PROP_CONFIGURABLE ),
}

◆ js_async_generator_proto_funcs

const JSCFunctionListEntry js_async_generator_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "AsyncGenerator", JS_PROP_CONFIGURABLE ),
}
static JSValue js_async_generator_next(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int magic)
Definition quickjs.c:21783

◆ js_async_class_def

JSClassShortDef const js_async_class_def[]
static
Initial value:
= {
{ JS_ATOM_Promise, js_promise_finalizer, js_promise_mark },
{ JS_ATOM_AsyncGeneratorFunction, js_bytecode_function_finalizer, js_bytecode_function_mark },
}
static void js_async_function_resolve_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:21282
static void js_bytecode_function_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:6291
static void js_async_generator_finalizer(JSRuntime *rt, JSValue obj)
Definition quickjs.c:21468
static void js_promise_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:53820
static void js_promise_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:53801
static void js_async_from_sync_iterator_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:54574
static void js_async_generator_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:21477
static void js_async_from_sync_iterator_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:54585
static void js_async_function_resolve_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:21273
static void js_promise_resolve_function_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:53739
static void js_promise_resolve_function_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:53729
static void js_bytecode_function_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:6314

◆ js_global_funcs

const JSCFunctionListEntry js_global_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("parseInt", 2, js_parseInt ),
JS_CFUNC_DEF("parseFloat", 1, js_parseFloat ),
JS_CFUNC_DEF("isFinite", 1, js_global_isFinite ),
JS_CFUNC_MAGIC_DEF("decodeURIComponent", 1, js_global_decodeURI, 1 ),
JS_CFUNC_MAGIC_DEF("encodeURIComponent", 1, js_global_encodeURI, 1 ),
JS_CFUNC_DEF("unescape", 1, js_global_unescape ),
JS_PROP_DOUBLE_DEF("Infinity", 1.0 / 0.0, 0 ),
JS_PROP_DOUBLE_DEF("NaN", NAN, 0 ),
JS_PROP_UNDEFINED_DEF("undefined", 0 ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "global", JS_PROP_CONFIGURABLE ),
}
static JSValue js_global_escape(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:55112
static JSValue js_global_isNaN(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:39991
static JSValue js_global_decodeURI(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int isComponent)
Definition quickjs.c:54936
static JSValue js_global_unescape(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:55138
static JSValue js_global_encodeURI(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int isComponent)
Definition quickjs.c:55047
static JSValue js_global_eval(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:39985
static JSValue js_parseFloat(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45226
static JSValue js_global_isFinite(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:40001
static JSValue js_parseInt(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:45200
#define JS_PROP_UNDEFINED_DEF(name, prop_flags)
Definition quickjs.h:1166

◆ month_days

int const month_days[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
static

◆ month_names

char const month_names[] = "JanFebMarAprMayJunJulAugSepOctNovDec"
static

◆ day_names

char const day_names[] = "SunMonTueWedThuFriSat"
static

◆ [struct]

struct { ... } js_tzabbr[]
Initial value:
= {
{ "GMT", 0 },
{ "UTC", 0 },
{ "UT", 0 },
{ "Z", 0 },
{ "EDT", -4 * 60 },
{ "EST", -5 * 60 },
{ "CDT", -5 * 60 },
{ "CST", -6 * 60 },
{ "MDT", -6 * 60 },
{ "MST", -7 * 60 },
{ "PDT", -7 * 60 },
{ "PST", -8 * 60 },
{ "WET", +0 * 60 },
{ "WEST", +1 * 60 },
{ "CET", +1 * 60 },
{ "CEST", +2 * 60 },
{ "EET", +2 * 60 },
{ "EEST", +3 * 60 },
}

◆ js_date_funcs

const JSCFunctionListEntry js_date_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("parse", 1, js_Date_parse ),
}
static JSValue js_Date_UTC(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:55662
static JSValue js_Date_now(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:56145
static JSValue js_Date_parse(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:56095

◆ js_date_proto_funcs

const JSCFunctionListEntry js_date_proto_funcs[]
static

◆ js_bigint_funcs

const JSCFunctionListEntry js_bigint_funcs[]
static
Initial value:
= {
}
static JSValue js_bigint_asUintN(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int asIntN)
Definition quickjs.c:56476

◆ js_bigint_proto_funcs

const JSCFunctionListEntry js_bigint_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("toString", 0, js_bigint_toString ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "BigInt", JS_PROP_CONFIGURABLE ),
}
static JSValue js_bigint_valueOf(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:56469
static JSValue js_bigint_toString(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:56444

◆ js_array_buffer_funcs

const JSCFunctionListEntry js_array_buffer_funcs[]
static
Initial value:
= {
JS_CGETSET_DEF("[Symbol.species]", js_get_this, NULL ),
}
static JSValue js_array_buffer_isView(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:57133

◆ js_array_buffer_proto_funcs

const JSCFunctionListEntry js_array_buffer_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_MAGIC_DEF("transferToFixedLength", 0, js_array_buffer_transfer, 1 ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "ArrayBuffer", JS_PROP_CONFIGURABLE ),
}
static JSValue js_array_buffer_get_maxByteLength(JSContext *ctx, JSValueConst this_val, int class_id)
Definition quickjs.c:57188
static JSValue js_array_buffer_get_byteLength(JSContext *ctx, JSValueConst this_val, int class_id)
Definition quickjs.c:57177
static JSValue js_array_buffer_get_resizable(JSContext *ctx, JSValueConst this_val, int class_id)
Definition quickjs.c:57200
static JSValue js_array_buffer_get_detached(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:57166
static JSValue js_array_buffer_slice(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int class_id)
Definition quickjs.c:57455
static JSValue js_array_buffer_transfer(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int transfer_to_fixed_length)
Definition quickjs.c:57307
static JSValue js_array_buffer_resize(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, int class_id)
Definition quickjs.c:57405
@ JS_CLASS_ARRAY_BUFFER
Definition quickjs.c:152

◆ js_shared_array_buffer_funcs

const JSCFunctionListEntry js_shared_array_buffer_funcs[]
static
Initial value:
= {
JS_CGETSET_DEF("[Symbol.species]", js_get_this, NULL ),
}

◆ js_shared_array_buffer_proto_funcs

◆ b64_enc

const unsigned char b64_enc[64]
static
Initial value:
= {
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
'Q','R','S','T','U','V','W','X','Y','Z',
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p',
'q','r','s','t','u','v','w','x','y','z',
'0','1','2','3','4','5','6','7','8','9',
'+','/'
}

◆ b64url_enc

const unsigned char b64url_enc[64]
static
Initial value:
= {
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P',
'Q','R','S','T','U','V','W','X','Y','Z',
'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p',
'q','r','s','t','u','v','w','x','y','z',
'0','1','2','3','4','5','6','7','8','9',
'-','_'
}

◆ b64_dec

const uint8_t b64_dec[256]
static

◆ b64url_dec

const uint8_t b64url_dec[256]
static

◆ u8a_hex_digits

const char u8a_hex_digits[] = "0123456789abcdef"
static

◆ js_typed_array_base_funcs

const JSCFunctionListEntry js_typed_array_base_funcs[]
static
Initial value:
= {
JS_CGETSET_DEF("[Symbol.species]", js_get_this, NULL ),
}
static JSValue js_typed_array_of(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:58041
static JSValue js_typed_array_from(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:57962

◆ js_typed_array_base_proto_funcs

const JSCFunctionListEntry js_typed_array_base_proto_funcs[]
static

◆ js_typed_array_funcs

const JSCFunctionListEntry js_typed_array_funcs[]
static
Initial value:
= {
JS_PROP_INT32_DEF("BYTES_PER_ELEMENT", 1, 0),
JS_PROP_INT32_DEF("BYTES_PER_ELEMENT", 2, 0),
JS_PROP_INT32_DEF("BYTES_PER_ELEMENT", 4, 0),
JS_PROP_INT32_DEF("BYTES_PER_ELEMENT", 8, 0),
}
#define JS_PROP_INT32_DEF(name, val, prop_flags)
Definition quickjs.h:1163

◆ js_uint8array_proto_funcs

const JSCFunctionListEntry js_uint8array_proto_funcs[]
static
Initial value:
= {
JS_PROP_INT32_DEF("BYTES_PER_ELEMENT", 1, 0),
}
static JSValue js_uint8array_to_base64(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:59665
static JSValue js_uint8array_to_hex(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:59723
static JSValue js_uint8array_set_from_base64(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:59864
static JSValue js_uint8array_set_from_hex(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:59921

◆ js_uint8array_funcs

const JSCFunctionListEntry js_uint8array_funcs[]
static
Initial value:
= {
JS_PROP_INT32_DEF("BYTES_PER_ELEMENT", 1, 0),
}
static JSValue js_uint8array_from_hex(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:59808
static JSValue js_uint8array_from_base64(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:59751

◆ js_dataview_proto_funcs

const JSCFunctionListEntry js_dataview_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "DataView", JS_PROP_CONFIGURABLE ),
}
static JSValue js_dataview_get_buffer(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:60430
static JSValue js_dataview_getValue(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv, int class_id)
Definition quickjs.c:60474
static JSValue js_dataview_get_byteOffset(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:60460
static JSValue js_dataview_setValue(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv, int class_id)
Definition quickjs.c:60586
static JSValue js_dataview_get_byteLength(JSContext *ctx, JSValueConst this_val)
Definition quickjs.c:60441
@ JS_CLASS_INT16_ARRAY
Definition quickjs.c:157
@ JS_CLASS_FLOAT64_ARRAY
Definition quickjs.c:165
@ JS_CLASS_FLOAT32_ARRAY
Definition quickjs.c:164
@ JS_CLASS_UINT16_ARRAY
Definition quickjs.c:158
@ JS_CLASS_BIG_INT64_ARRAY
Definition quickjs.c:161
@ JS_CLASS_UINT32_ARRAY
Definition quickjs.c:160
@ JS_CLASS_FLOAT16_ARRAY
Definition quickjs.c:163
@ JS_CLASS_INT32_ARRAY
Definition quickjs.c:159
@ JS_CLASS_INT8_ARRAY
Definition quickjs.c:155
@ JS_CLASS_UINT8_ARRAY
Definition quickjs.c:156
@ JS_CLASS_BIG_UINT64_ARRAY
Definition quickjs.c:162

◆ js_atomics_mutex

pthread_mutex_t js_atomics_mutex = PTHREAD_MUTEX_INITIALIZER
static

◆ js_atomics_waiter_list

struct list_head js_atomics_waiter_list
static
Initial value:
=
static struct list_head js_atomics_waiter_list
Definition quickjs.c:61014
#define LIST_HEAD_INIT(el)
Definition src/quickjs/list.h:36

◆ js_atomics_funcs

const JSCFunctionListEntry js_atomics_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("isLockFree", 1, js_atomics_isLockFree ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "Atomics", JS_PROP_CONFIGURABLE ),
}
static JSValue js_atomics_store(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
Definition quickjs.c:60934
static JSValue js_atomics_notify(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
Definition quickjs.c:61165
@ ATOMICS_OP_AND
Definition quickjs.c:60715
@ ATOMICS_OP_EXCHANGE
Definition quickjs.c:60719
@ ATOMICS_OP_OR
Definition quickjs.c:60716
@ ATOMICS_OP_ADD
Definition quickjs.c:60714
@ ATOMICS_OP_COMPARE_EXCHANGE
Definition quickjs.c:60720
@ ATOMICS_OP_XOR
Definition quickjs.c:60718
@ ATOMICS_OP_LOAD
Definition quickjs.c:60721
@ ATOMICS_OP_SUB
Definition quickjs.c:60717
static JSValue js_atomics_wait(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
Definition quickjs.c:61065
static JSValue js_atomics_pause(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
Definition quickjs.c:61041
static JSValue js_atomics_op(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv, int op)
Definition quickjs.c:60787
static JSValue js_atomics_isLockFree(JSContext *ctx, JSValueConst this_obj, int argc, JSValueConst *argv)
Definition quickjs.c:60995

◆ js_atomics_obj

const JSCFunctionListEntry js_atomics_obj[]
static
Initial value:
= {
}
static const JSCFunctionListEntry js_atomics_funcs[]
Definition quickjs.c:61217

◆ js_weakref_proto_funcs

const JSCFunctionListEntry js_weakref_proto_funcs[]
static
Initial value:
= {
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "WeakRef", JS_PROP_CONFIGURABLE ),
}
static JSValue js_weakref_deref(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:61401

◆ js_weakref_class_def

const JSClassShortDef js_weakref_class_def[]
static
Initial value:
= {
{ JS_ATOM_WeakRef, js_weakref_finalizer, NULL },
}
static void js_weakref_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:61355

◆ js_finrec_proto_funcs

const JSCFunctionListEntry js_finrec_proto_funcs[]
static
Initial value:
= {
JS_CFUNC_DEF("register", 2, js_finrec_register ),
JS_CFUNC_DEF("unregister", 1, js_finrec_unregister ),
JS_PROP_STRING_DEF("[Symbol.toStringTag]", "FinalizationRegistry", JS_PROP_CONFIGURABLE ),
}
static JSValue js_finrec_register(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:61533
static JSValue js_finrec_unregister(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv)
Definition quickjs.c:61563

◆ js_finrec_class_def

const JSClassShortDef js_finrec_class_def[]
static
Initial value:
= {
{ JS_ATOM_FinalizationRegistry, js_finrec_finalizer, js_finrec_mark },
}
static void js_finrec_finalizer(JSRuntime *rt, JSValue val)
Definition quickjs.c:61435
static void js_finrec_mark(JSRuntime *rt, JSValueConst val, JS_MarkFunc *mark_func)
Definition quickjs.c:61454