NetSurf
Data Structures | Macros | Typedefs | Functions | Variables
duktape.c File Reference
#include "duktape.h"
Include dependency graph for duktape.c:

Go to the source code of this file.

Data Structures

union  duk_double_union
 
union  duk_float_union
 
struct  duk_jmpbuf
 
struct  duk_tval_struct
 
struct  duk_tval_unused
 
struct  duk_bitdecoder_ctx
 
struct  duk_bitencoder_ctx
 
struct  duk_bufwriter_ctx
 
struct  duk_token
 
struct  duk_re_token
 
struct  duk_lexer_point
 
struct  duk_lexer_codepoint
 
struct  duk_lexer_ctx
 
struct  duk_ispec
 
struct  duk_ivalue
 
struct  duk_compiler_instr
 
struct  duk_labelinfo
 
struct  duk_compiler_func
 
struct  duk_compiler_ctx
 
struct  duk_re_matcher_ctx
 
struct  duk_re_compiler_ctx
 
struct  duk_heaphdr
 
struct  duk_heaphdr_string
 
struct  duk_hstring
 
struct  duk_hstring_external
 
struct  duk_propaccessor
 
union  duk_propvalue
 
struct  duk_propdesc
 
struct  duk_hobject
 
struct  duk_hcompfunc
 
struct  duk_hnatfunc
 
struct  duk_hboundfunc
 
struct  duk_hbufobj
 
struct  duk_activation
 
struct  duk_catcher
 
struct  duk_hthread
 
struct  duk_harray
 
struct  duk_hdecenv
 
struct  duk_hobjenv
 
struct  duk_hbuffer
 
struct  duk_hbuffer_fixed
 
struct  duk_hbuffer_dynamic
 
struct  duk_hbuffer_external
 
struct  duk_hproxy
 
struct  duk_breakpoint
 
struct  duk_strcache_entry
 
struct  duk_ljstate
 
struct  duk_litcache_entry
 
struct  duk_heap
 
struct  duk_json_enc_ctx
 
struct  duk_json_dec_ctx
 
union  duk__u16_union
 
union  duk__u32_union
 
struct  duk__pcall_prop_args
 
struct  duk__pcall_method_args
 
struct  duk__pcall_args
 
struct  duk__compile_raw_args
 
struct  duk_internal_thread_state
 
struct  duk_cbor_encode_context
 
struct  duk_cbor_decode_context
 
struct  duk__encode_context
 
struct  duk__decode_context
 
struct  duk__transform_context
 
struct  duk__compiler_stkstate
 
struct  duk__objlit_state
 
struct  duk__id_lookup_result
 
struct  duk__exp_limits
 
struct  duk__bigint
 
struct  duk__numconv_stringify_ctx
 
struct  duk__re_disjunction_info
 

Macros

#define DUK_INTERNAL_H_INCLUDED
 
#define DUK_COMPILING_DUKTAPE
 
#define DUK_DBLUNION_H_INCLUDED
 
#define DUK_DBLUNION_SET_DOUBLE(u, v)
 
#define DUK_DBLUNION_SET_HIGH32(u, v)
 
#define DUK_DBLUNION_SET_HIGH32_ZERO_LOW32(u, v)
 
#define DUK_DBLUNION_SET_LOW32(u, v)
 
#define DUK_DBLUNION_GET_DOUBLE(u)   ((u)->d)
 
#define DUK_DBLUNION_GET_HIGH32(u)   ((u)->ui[DUK_DBL_IDX_UI0])
 
#define DUK_DBLUNION_GET_LOW32(u)   ((u)->ui[DUK_DBL_IDX_UI1])
 
#define DUK__DBLUNION_SET_NAN_FULL(u)
 
#define DUK__DBLUNION_IS_NAN_FULL(u)
 
#define DUK__DBLUNION_IS_NORMALIZED_NAN_FULL(u)    (((u)->ui[DUK_DBL_IDX_UI0] == 0x7ff80000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))
 
#define DUK__DBLUNION_IS_ANYINF(u)    ((((u)->ui[DUK_DBL_IDX_UI0] & 0x7fffffffUL) == 0x7ff00000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))
 
#define DUK__DBLUNION_IS_POSINF(u)   (((u)->ui[DUK_DBL_IDX_UI0] == 0x7ff00000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))
 
#define DUK__DBLUNION_IS_NEGINF(u)   (((u)->ui[DUK_DBL_IDX_UI0] == 0xfff00000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))
 
#define DUK__DBLUNION_IS_ANYZERO(u)    ((((u)->ui[DUK_DBL_IDX_UI0] & 0x7fffffffUL) == 0x00000000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))
 
#define DUK__DBLUNION_IS_POSZERO(u)   (((u)->ui[DUK_DBL_IDX_UI0] == 0x00000000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))
 
#define DUK__DBLUNION_IS_NEGZERO(u)   (((u)->ui[DUK_DBL_IDX_UI0] == 0x80000000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))
 
#define DUK__DBLUNION_SET_NAN_NOTFULL(u)
 
#define DUK__DBLUNION_IS_NAN_NOTFULL(u)
 
#define DUK__DBLUNION_IS_NORMALIZED_NAN_NOTFULL(u)
 
#define DUK__DBLUNION_NORMALIZE_NAN_CHECK_FULL(u)
 
#define DUK__DBLUNION_NORMALIZE_NAN_CHECK_NOTFULL(u)
 
#define DUK_DBLUNION_NORMALIZE_NAN_CHECK(u)   /* nop: no need to normalize */
 
#define DUK_DBLUNION_IS_NAN(u)   DUK__DBLUNION_IS_NAN_FULL((u)) /* (DUK_ISNAN((u)->d)) */
 
#define DUK_DBLUNION_IS_NORMALIZED_NAN(u)   DUK__DBLUNION_IS_NAN_FULL((u)) /* (DUK_ISNAN((u)->d)) */
 
#define DUK_DBLUNION_IS_NORMALIZED(u)   1 /* all doubles are considered normalized */
 
#define DUK_DBLUNION_SET_NAN(u)
 
#define DUK_DBLUNION_IS_ANYINF(u)   DUK__DBLUNION_IS_ANYINF((u))
 
#define DUK_DBLUNION_IS_POSINF(u)   DUK__DBLUNION_IS_POSINF((u))
 
#define DUK_DBLUNION_IS_NEGINF(u)   DUK__DBLUNION_IS_NEGINF((u))
 
#define DUK_DBLUNION_IS_ANYZERO(u)   DUK__DBLUNION_IS_ANYZERO((u))
 
#define DUK_DBLUNION_IS_POSZERO(u)   DUK__DBLUNION_IS_POSZERO((u))
 
#define DUK_DBLUNION_IS_NEGZERO(u)   DUK__DBLUNION_IS_NEGZERO((u))
 
#define DUK_DBLUNION_BSWAP64(u)
 
#define DUK_DBLUNION_DOUBLE_NTOH(u)   DUK_DBLUNION_DOUBLE_HTON((u))
 
#define DUK_DBLUNION_HAS_SIGNBIT(u)   (((u)->ui[DUK_DBL_IDX_UI0] & 0x80000000UL) != 0)
 
#define DUK_DBLUNION_GET_SIGNBIT(u)   (((u)->ui[DUK_DBL_IDX_UI0] >> 31U))
 
#define DUK_FLTUNION_H_INCLUDED
 
#define DUK_REPLACEMENTS_H_INCLUDED
 
#define DUK_JMPBUF_H_INCLUDED
 
#define DUK_EXCEPTION_H_INCLUDED
 
#define DUK_FORWDECL_H_INCLUDED
 
#define DUK_TVAL_H_INCLUDED
 
#define DUK_TVAL_UNUSED_INITIALIZER()    { DUK_TAG_UNUSED, 0, 0.0 }
 
#define DUK_TAG_MIN   0
 
#define DUK_TAG_NUMBER   0 /* DUK_TAG_NUMBER only defined for non-packed duk_tval */
 
#define DUK_TAG_FASTINT   1
 
#define DUK_TAG_UNDEFINED   2
 
#define DUK_TAG_NULL   3
 
#define DUK_TAG_BOOLEAN   4
 
#define DUK_TAG_POINTER   5
 
#define DUK_TAG_LIGHTFUNC   6
 
#define DUK_TAG_UNUSED   7 /* marker; not actual tagged type */
 
#define DUK_TAG_STRING   8 /* first heap allocated, match bit boundary */
 
#define DUK_TAG_OBJECT   9
 
#define DUK_TAG_BUFFER   10
 
#define DUK_TAG_MAX   10
 
#define DUK_TVAL_IS_VALID_TAG(tv)   (DUK_TVAL_GET_TAG((tv)) - DUK_TAG_MIN <= DUK_TAG_MAX - DUK_TAG_MIN)
 
#define DUK_TVAL_SET_UNDEFINED(tv)
 
#define DUK_TVAL_SET_UNUSED(tv)
 
#define DUK_TVAL_SET_NULL(tv)
 
#define DUK_TVAL_SET_BOOLEAN(tv, val)
 
#define DUK_TVAL_SET_DOUBLE(tv, val)
 
#define DUK_TVAL_SET_I48(tv, val)
 
#define DUK_TVAL_SET_U32(tv, val)
 
#define DUK_TVAL_SET_I32(tv, val)
 
#define DUK_TVAL_SET_NUMBER_CHKFAST_FAST(tv, d)   duk_tval_set_number_chkfast_fast((tv), (d))
 
#define DUK_TVAL_SET_NUMBER_CHKFAST_SLOW(tv, d)   duk_tval_set_number_chkfast_slow((tv), (d))
 
#define DUK_TVAL_SET_NUMBER(tv, val)   DUK_TVAL_SET_DOUBLE((tv), (val))
 
#define DUK_TVAL_CHKFAST_INPLACE_FAST(tv)
 
#define DUK_TVAL_CHKFAST_INPLACE_SLOW(tv)
 
#define DUK_TVAL_SET_FASTINT(tv, i)   DUK_TVAL_SET_I48((tv), (i)) /* alias */
 
#define DUK_TVAL_SET_POINTER(tv, hptr)
 
#define DUK_TVAL_SET_LIGHTFUNC(tv, fp, flags)
 
#define DUK_TVAL_SET_STRING(tv, hptr)
 
#define DUK_TVAL_SET_OBJECT(tv, hptr)
 
#define DUK_TVAL_SET_BUFFER(tv, hptr)
 
#define DUK_TVAL_SET_NAN(tv)
 
#define DUK_TVAL_SET_TVAL(tv, x)
 
#define DUK_TVAL_GET_BOOLEAN(tv)   ((duk_small_uint_t) (tv)->v.i)
 
#define DUK_TVAL_GET_DOUBLE(tv)   ((tv)->v.d)
 
#define DUK_TVAL_GET_FASTINT(tv)   ((tv)->v.fi)
 
#define DUK_TVAL_GET_FASTINT_U32(tv)   ((duk_uint32_t) ((tv)->v.fi))
 
#define DUK_TVAL_GET_FASTINT_I32(tv)   ((duk_int32_t) ((tv)->v.fi))
 
#define DUK_TVAL_GET_NUMBER(tv)   (DUK_TVAL_IS_FASTINT((tv)) ? duk_tval_get_number_unpacked_fastint((tv)) : DUK_TVAL_GET_DOUBLE((tv)))
 
#define DUK_TVAL_GET_POINTER(tv)   ((tv)->v.voidptr)
 
#define DUK_TVAL_GET_LIGHTFUNC(tv, out_fp, out_flags)
 
#define DUK_TVAL_GET_LIGHTFUNC_FUNCPTR(tv)   ((tv)->v.lightfunc)
 
#define DUK_TVAL_GET_LIGHTFUNC_FLAGS(tv)   ((duk_small_uint_t) ((tv)->v_extra))
 
#define DUK_TVAL_GET_STRING(tv)   ((tv)->v.hstring)
 
#define DUK_TVAL_GET_OBJECT(tv)   ((tv)->v.hobject)
 
#define DUK_TVAL_GET_BUFFER(tv)   ((tv)->v.hbuffer)
 
#define DUK_TVAL_GET_HEAPHDR(tv)   ((tv)->v.heaphdr)
 
#define DUK_TVAL_GET_TAG(tv)   ((tv)->t)
 
#define DUK_TVAL_IS_UNDEFINED(tv)   ((tv)->t == DUK_TAG_UNDEFINED)
 
#define DUK_TVAL_IS_UNUSED(tv)   ((tv)->t == DUK_TAG_UNUSED)
 
#define DUK_TVAL_IS_NULL(tv)   ((tv)->t == DUK_TAG_NULL)
 
#define DUK_TVAL_IS_BOOLEAN(tv)   ((tv)->t == DUK_TAG_BOOLEAN)
 
#define DUK_TVAL_IS_BOOLEAN_TRUE(tv)   (((tv)->t == DUK_TAG_BOOLEAN) && ((tv)->v.i != 0))
 
#define DUK_TVAL_IS_BOOLEAN_FALSE(tv)   (((tv)->t == DUK_TAG_BOOLEAN) && ((tv)->v.i == 0))
 
#define DUK_TVAL_IS_DOUBLE(tv)   ((tv)->t == DUK_TAG_NUMBER)
 
#define DUK_TVAL_IS_FASTINT(tv)   ((tv)->t == DUK_TAG_FASTINT)
 
#define DUK_TVAL_IS_NUMBER(tv)   ((tv)->t == DUK_TAG_NUMBER || (tv)->t == DUK_TAG_FASTINT)
 
#define DUK_TVAL_IS_POINTER(tv)   ((tv)->t == DUK_TAG_POINTER)
 
#define DUK_TVAL_IS_LIGHTFUNC(tv)   ((tv)->t == DUK_TAG_LIGHTFUNC)
 
#define DUK_TVAL_IS_STRING(tv)   ((tv)->t == DUK_TAG_STRING)
 
#define DUK_TVAL_IS_OBJECT(tv)   ((tv)->t == DUK_TAG_OBJECT)
 
#define DUK_TVAL_IS_BUFFER(tv)   ((tv)->t == DUK_TAG_BUFFER)
 
#define DUK_TVAL_IS_HEAP_ALLOCATED(tv)   ((tv)->t & 0x08)
 
#define DUK_TVAL_SET_BOOLEAN_TRUE(tv)   DUK_TVAL_SET_BOOLEAN((tv), 1)
 
#define DUK_TVAL_SET_BOOLEAN_FALSE(tv)   DUK_TVAL_SET_BOOLEAN((tv), 0)
 
#define DUK_TVAL_STRING_IS_SYMBOL(tv)   DUK_HSTRING_HAS_SYMBOL(DUK_TVAL_GET_STRING((tv)))
 
#define DUK_LFUNC_FLAGS_GET_MAGIC(lf_flags)   ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8))
 
#define DUK_LFUNC_FLAGS_GET_LENGTH(lf_flags)   (((lf_flags) >> 4) & 0x0fU)
 
#define DUK_LFUNC_FLAGS_GET_NARGS(lf_flags)   ((lf_flags) &0x0fU)
 
#define DUK_LFUNC_FLAGS_PACK(magic, length, nargs)   ((((duk_small_uint_t) (magic)) & 0xffU) << 8) | ((length) << 4) | (nargs)
 
#define DUK_LFUNC_NARGS_VARARGS   0x0f /* varargs marker */
 
#define DUK_LFUNC_NARGS_MIN   0x00
 
#define DUK_LFUNC_NARGS_MAX   0x0e /* max, excl. varargs marker */
 
#define DUK_LFUNC_LENGTH_MIN   0x00
 
#define DUK_LFUNC_LENGTH_MAX   0x0f
 
#define DUK_LFUNC_MAGIC_MIN   (-0x80)
 
#define DUK_LFUNC_MAGIC_MAX   0x7f
 
#define DUK_FASTINT_MIN   (DUK_I64_CONSTANT(-0x800000000000))
 
#define DUK_FASTINT_MAX   (DUK_I64_CONSTANT(0x7fffffffffff))
 
#define DUK_FASTINT_BITS   48
 
#define DUK_TVAL_ASSERT_VALID(tv)
 
#define DUK_BUILTINS_H_INCLUDED
 
#define DUK_STRIDX_UC_UNDEFINED   0 /* 'Undefined' */
 
#define DUK_HEAP_STRING_UC_UNDEFINED(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_UNDEFINED)
 
#define DUK_HTHREAD_STRING_UC_UNDEFINED(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_UNDEFINED)
 
#define DUK_STRIDX_UC_NULL   1 /* 'Null' */
 
#define DUK_HEAP_STRING_UC_NULL(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_NULL)
 
#define DUK_HTHREAD_STRING_UC_NULL(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_NULL)
 
#define DUK_STRIDX_UC_SYMBOL   2 /* 'Symbol' */
 
#define DUK_HEAP_STRING_UC_SYMBOL(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_SYMBOL)
 
#define DUK_HTHREAD_STRING_UC_SYMBOL(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_SYMBOL)
 
#define DUK_STRIDX_UC_ARGUMENTS   3 /* 'Arguments' */
 
#define DUK_HEAP_STRING_UC_ARGUMENTS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_ARGUMENTS)
 
#define DUK_HTHREAD_STRING_UC_ARGUMENTS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_ARGUMENTS)
 
#define DUK_STRIDX_UC_OBJECT   4 /* 'Object' */
 
#define DUK_HEAP_STRING_UC_OBJECT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_OBJECT)
 
#define DUK_HTHREAD_STRING_UC_OBJECT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_OBJECT)
 
#define DUK_STRIDX_UC_FUNCTION   5 /* 'Function' */
 
#define DUK_HEAP_STRING_UC_FUNCTION(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_FUNCTION)
 
#define DUK_HTHREAD_STRING_UC_FUNCTION(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_FUNCTION)
 
#define DUK_STRIDX_UC_ARRAY   6 /* 'Array' */
 
#define DUK_HEAP_STRING_UC_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_ARRAY)
 
#define DUK_HTHREAD_STRING_UC_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_ARRAY)
 
#define DUK_STRIDX_UC_STRING   7 /* 'String' */
 
#define DUK_HEAP_STRING_UC_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_STRING)
 
#define DUK_HTHREAD_STRING_UC_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_STRING)
 
#define DUK_STRIDX_UC_BOOLEAN   8 /* 'Boolean' */
 
#define DUK_HEAP_STRING_UC_BOOLEAN(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_BOOLEAN)
 
#define DUK_HTHREAD_STRING_UC_BOOLEAN(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_BOOLEAN)
 
#define DUK_STRIDX_UC_NUMBER   9 /* 'Number' */
 
#define DUK_HEAP_STRING_UC_NUMBER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_NUMBER)
 
#define DUK_HTHREAD_STRING_UC_NUMBER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_NUMBER)
 
#define DUK_STRIDX_UC_DATE   10 /* 'Date' */
 
#define DUK_HEAP_STRING_UC_DATE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_DATE)
 
#define DUK_HTHREAD_STRING_UC_DATE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_DATE)
 
#define DUK_STRIDX_REG_EXP   11 /* 'RegExp' */
 
#define DUK_HEAP_STRING_REG_EXP(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_REG_EXP)
 
#define DUK_HTHREAD_STRING_REG_EXP(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_REG_EXP)
 
#define DUK_STRIDX_UC_ERROR   12 /* 'Error' */
 
#define DUK_HEAP_STRING_UC_ERROR(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_ERROR)
 
#define DUK_HTHREAD_STRING_UC_ERROR(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_ERROR)
 
#define DUK_STRIDX_MATH   13 /* 'Math' */
 
#define DUK_HEAP_STRING_MATH(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MATH)
 
#define DUK_HTHREAD_STRING_MATH(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MATH)
 
#define DUK_STRIDX_JSON   14 /* 'JSON' */
 
#define DUK_HEAP_STRING_JSON(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON)
 
#define DUK_HTHREAD_STRING_JSON(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON)
 
#define DUK_STRIDX_EMPTY_STRING   15 /* '' */
 
#define DUK_HEAP_STRING_EMPTY_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EMPTY_STRING)
 
#define DUK_HTHREAD_STRING_EMPTY_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EMPTY_STRING)
 
#define DUK_STRIDX_ARRAY_BUFFER   16 /* 'ArrayBuffer' */
 
#define DUK_HEAP_STRING_ARRAY_BUFFER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ARRAY_BUFFER)
 
#define DUK_HTHREAD_STRING_ARRAY_BUFFER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ARRAY_BUFFER)
 
#define DUK_STRIDX_DATA_VIEW   17 /* 'DataView' */
 
#define DUK_HEAP_STRING_DATA_VIEW(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DATA_VIEW)
 
#define DUK_HTHREAD_STRING_DATA_VIEW(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DATA_VIEW)
 
#define DUK_STRIDX_INT8_ARRAY   18 /* 'Int8Array' */
 
#define DUK_HEAP_STRING_INT8_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT8_ARRAY)
 
#define DUK_HTHREAD_STRING_INT8_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT8_ARRAY)
 
#define DUK_STRIDX_UINT8_ARRAY   19 /* 'Uint8Array' */
 
#define DUK_HEAP_STRING_UINT8_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT8_ARRAY)
 
#define DUK_HTHREAD_STRING_UINT8_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT8_ARRAY)
 
#define DUK_STRIDX_UINT8_CLAMPED_ARRAY   20 /* 'Uint8ClampedArray' */
 
#define DUK_HEAP_STRING_UINT8_CLAMPED_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT8_CLAMPED_ARRAY)
 
#define DUK_HTHREAD_STRING_UINT8_CLAMPED_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT8_CLAMPED_ARRAY)
 
#define DUK_STRIDX_INT16_ARRAY   21 /* 'Int16Array' */
 
#define DUK_HEAP_STRING_INT16_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT16_ARRAY)
 
#define DUK_HTHREAD_STRING_INT16_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT16_ARRAY)
 
#define DUK_STRIDX_UINT16_ARRAY   22 /* 'Uint16Array' */
 
#define DUK_HEAP_STRING_UINT16_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT16_ARRAY)
 
#define DUK_HTHREAD_STRING_UINT16_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT16_ARRAY)
 
#define DUK_STRIDX_INT32_ARRAY   23 /* 'Int32Array' */
 
#define DUK_HEAP_STRING_INT32_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT32_ARRAY)
 
#define DUK_HTHREAD_STRING_INT32_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT32_ARRAY)
 
#define DUK_STRIDX_UINT32_ARRAY   24 /* 'Uint32Array' */
 
#define DUK_HEAP_STRING_UINT32_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT32_ARRAY)
 
#define DUK_HTHREAD_STRING_UINT32_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT32_ARRAY)
 
#define DUK_STRIDX_FLOAT32_ARRAY   25 /* 'Float32Array' */
 
#define DUK_HEAP_STRING_FLOAT32_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FLOAT32_ARRAY)
 
#define DUK_HTHREAD_STRING_FLOAT32_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FLOAT32_ARRAY)
 
#define DUK_STRIDX_FLOAT64_ARRAY   26 /* 'Float64Array' */
 
#define DUK_HEAP_STRING_FLOAT64_ARRAY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FLOAT64_ARRAY)
 
#define DUK_HTHREAD_STRING_FLOAT64_ARRAY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FLOAT64_ARRAY)
 
#define DUK_STRIDX_GLOBAL   27 /* 'global' */
 
#define DUK_HEAP_STRING_GLOBAL(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_GLOBAL)
 
#define DUK_HTHREAD_STRING_GLOBAL(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_GLOBAL)
 
#define DUK_STRIDX_OBJ_ENV   28 /* 'ObjEnv' */
 
#define DUK_HEAP_STRING_OBJ_ENV(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_OBJ_ENV)
 
#define DUK_HTHREAD_STRING_OBJ_ENV(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_OBJ_ENV)
 
#define DUK_STRIDX_DEC_ENV   29 /* 'DecEnv' */
 
#define DUK_HEAP_STRING_DEC_ENV(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DEC_ENV)
 
#define DUK_HTHREAD_STRING_DEC_ENV(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DEC_ENV)
 
#define DUK_STRIDX_UC_BUFFER   30 /* 'Buffer' */
 
#define DUK_HEAP_STRING_UC_BUFFER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_BUFFER)
 
#define DUK_HTHREAD_STRING_UC_BUFFER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_BUFFER)
 
#define DUK_STRIDX_UC_POINTER   31 /* 'Pointer' */
 
#define DUK_HEAP_STRING_UC_POINTER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_POINTER)
 
#define DUK_HTHREAD_STRING_UC_POINTER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_POINTER)
 
#define DUK_STRIDX_UC_THREAD   32 /* 'Thread' */
 
#define DUK_HEAP_STRING_UC_THREAD(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_THREAD)
 
#define DUK_HTHREAD_STRING_UC_THREAD(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_THREAD)
 
#define DUK_STRIDX_EVAL   33 /* 'eval' */
 
#define DUK_HEAP_STRING_EVAL(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EVAL)
 
#define DUK_HTHREAD_STRING_EVAL(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EVAL)
 
#define DUK_STRIDX_VALUE   34 /* 'value' */
 
#define DUK_HEAP_STRING_VALUE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VALUE)
 
#define DUK_HTHREAD_STRING_VALUE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VALUE)
 
#define DUK_STRIDX_WRITABLE   35 /* 'writable' */
 
#define DUK_HEAP_STRING_WRITABLE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WRITABLE)
 
#define DUK_HTHREAD_STRING_WRITABLE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WRITABLE)
 
#define DUK_STRIDX_CONFIGURABLE   36 /* 'configurable' */
 
#define DUK_HEAP_STRING_CONFIGURABLE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONFIGURABLE)
 
#define DUK_HTHREAD_STRING_CONFIGURABLE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONFIGURABLE)
 
#define DUK_STRIDX_ENUMERABLE   37 /* 'enumerable' */
 
#define DUK_HEAP_STRING_ENUMERABLE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ENUMERABLE)
 
#define DUK_HTHREAD_STRING_ENUMERABLE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ENUMERABLE)
 
#define DUK_STRIDX_JOIN   38 /* 'join' */
 
#define DUK_HEAP_STRING_JOIN(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JOIN)
 
#define DUK_HTHREAD_STRING_JOIN(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JOIN)
 
#define DUK_STRIDX_TO_LOCALE_STRING   39 /* 'toLocaleString' */
 
#define DUK_HEAP_STRING_TO_LOCALE_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_LOCALE_STRING)
 
#define DUK_HTHREAD_STRING_TO_LOCALE_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_LOCALE_STRING)
 
#define DUK_STRIDX_VALUE_OF   40 /* 'valueOf' */
 
#define DUK_HEAP_STRING_VALUE_OF(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VALUE_OF)
 
#define DUK_HTHREAD_STRING_VALUE_OF(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VALUE_OF)
 
#define DUK_STRIDX_TO_UTC_STRING   41 /* 'toUTCString' */
 
#define DUK_HEAP_STRING_TO_UTC_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_UTC_STRING)
 
#define DUK_HTHREAD_STRING_TO_UTC_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_UTC_STRING)
 
#define DUK_STRIDX_TO_ISO_STRING   42 /* 'toISOString' */
 
#define DUK_HEAP_STRING_TO_ISO_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_ISO_STRING)
 
#define DUK_HTHREAD_STRING_TO_ISO_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_ISO_STRING)
 
#define DUK_STRIDX_TO_GMT_STRING   43 /* 'toGMTString' */
 
#define DUK_HEAP_STRING_TO_GMT_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_GMT_STRING)
 
#define DUK_HTHREAD_STRING_TO_GMT_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_GMT_STRING)
 
#define DUK_STRIDX_SOURCE   44 /* 'source' */
 
#define DUK_HEAP_STRING_SOURCE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SOURCE)
 
#define DUK_HTHREAD_STRING_SOURCE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SOURCE)
 
#define DUK_STRIDX_IGNORE_CASE   45 /* 'ignoreCase' */
 
#define DUK_HEAP_STRING_IGNORE_CASE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IGNORE_CASE)
 
#define DUK_HTHREAD_STRING_IGNORE_CASE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IGNORE_CASE)
 
#define DUK_STRIDX_MULTILINE   46 /* 'multiline' */
 
#define DUK_HEAP_STRING_MULTILINE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MULTILINE)
 
#define DUK_HTHREAD_STRING_MULTILINE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MULTILINE)
 
#define DUK_STRIDX_LAST_INDEX   47 /* 'lastIndex' */
 
#define DUK_HEAP_STRING_LAST_INDEX(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LAST_INDEX)
 
#define DUK_HTHREAD_STRING_LAST_INDEX(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LAST_INDEX)
 
#define DUK_STRIDX_FLAGS   48 /* 'flags' */
 
#define DUK_HEAP_STRING_FLAGS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FLAGS)
 
#define DUK_HTHREAD_STRING_FLAGS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FLAGS)
 
#define DUK_STRIDX_INDEX   49 /* 'index' */
 
#define DUK_HEAP_STRING_INDEX(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INDEX)
 
#define DUK_HTHREAD_STRING_INDEX(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INDEX)
 
#define DUK_STRIDX_PROTOTYPE   50 /* 'prototype' */
 
#define DUK_HEAP_STRING_PROTOTYPE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PROTOTYPE)
 
#define DUK_HTHREAD_STRING_PROTOTYPE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PROTOTYPE)
 
#define DUK_STRIDX_CONSTRUCTOR   51 /* 'constructor' */
 
#define DUK_HEAP_STRING_CONSTRUCTOR(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONSTRUCTOR)
 
#define DUK_HTHREAD_STRING_CONSTRUCTOR(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONSTRUCTOR)
 
#define DUK_STRIDX_MESSAGE   52 /* 'message' */
 
#define DUK_HEAP_STRING_MESSAGE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MESSAGE)
 
#define DUK_HTHREAD_STRING_MESSAGE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MESSAGE)
 
#define DUK_STRIDX_LC_BOOLEAN   53 /* 'boolean' */
 
#define DUK_HEAP_STRING_LC_BOOLEAN(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_BOOLEAN)
 
#define DUK_HTHREAD_STRING_LC_BOOLEAN(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_BOOLEAN)
 
#define DUK_STRIDX_LC_NUMBER   54 /* 'number' */
 
#define DUK_HEAP_STRING_LC_NUMBER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_NUMBER)
 
#define DUK_HTHREAD_STRING_LC_NUMBER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_NUMBER)
 
#define DUK_STRIDX_LC_STRING   55 /* 'string' */
 
#define DUK_HEAP_STRING_LC_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_STRING)
 
#define DUK_HTHREAD_STRING_LC_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_STRING)
 
#define DUK_STRIDX_LC_SYMBOL   56 /* 'symbol' */
 
#define DUK_HEAP_STRING_LC_SYMBOL(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_SYMBOL)
 
#define DUK_HTHREAD_STRING_LC_SYMBOL(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_SYMBOL)
 
#define DUK_STRIDX_LC_OBJECT   57 /* 'object' */
 
#define DUK_HEAP_STRING_LC_OBJECT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_OBJECT)
 
#define DUK_HTHREAD_STRING_LC_OBJECT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_OBJECT)
 
#define DUK_STRIDX_LC_UNDEFINED   58 /* 'undefined' */
 
#define DUK_HEAP_STRING_LC_UNDEFINED(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_UNDEFINED)
 
#define DUK_HTHREAD_STRING_LC_UNDEFINED(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_UNDEFINED)
 
#define DUK_STRIDX_NAN   59 /* 'NaN' */
 
#define DUK_HEAP_STRING_NAN(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NAN)
 
#define DUK_HTHREAD_STRING_NAN(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NAN)
 
#define DUK_STRIDX_INFINITY   60 /* 'Infinity' */
 
#define DUK_HEAP_STRING_INFINITY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INFINITY)
 
#define DUK_HTHREAD_STRING_INFINITY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INFINITY)
 
#define DUK_STRIDX_MINUS_INFINITY   61 /* '-Infinity' */
 
#define DUK_HEAP_STRING_MINUS_INFINITY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MINUS_INFINITY)
 
#define DUK_HTHREAD_STRING_MINUS_INFINITY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MINUS_INFINITY)
 
#define DUK_STRIDX_MINUS_ZERO   62 /* '-0' */
 
#define DUK_HEAP_STRING_MINUS_ZERO(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MINUS_ZERO)
 
#define DUK_HTHREAD_STRING_MINUS_ZERO(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MINUS_ZERO)
 
#define DUK_STRIDX_COMMA   63 /* ',' */
 
#define DUK_HEAP_STRING_COMMA(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_COMMA)
 
#define DUK_HTHREAD_STRING_COMMA(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_COMMA)
 
#define DUK_STRIDX_NEWLINE_4SPACE   64 /* '\n ' */
 
#define DUK_HEAP_STRING_NEWLINE_4SPACE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NEWLINE_4SPACE)
 
#define DUK_HTHREAD_STRING_NEWLINE_4SPACE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NEWLINE_4SPACE)
 
#define DUK_STRIDX_BRACKETED_ELLIPSIS   65 /* '[...]' */
 
#define DUK_HEAP_STRING_BRACKETED_ELLIPSIS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_BRACKETED_ELLIPSIS)
 
#define DUK_HTHREAD_STRING_BRACKETED_ELLIPSIS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_BRACKETED_ELLIPSIS)
 
#define DUK_STRIDX_INVALID_DATE   66 /* 'Invalid Date' */
 
#define DUK_HEAP_STRING_INVALID_DATE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INVALID_DATE)
 
#define DUK_HTHREAD_STRING_INVALID_DATE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INVALID_DATE)
 
#define DUK_STRIDX_LC_ARGUMENTS   67 /* 'arguments' */
 
#define DUK_HEAP_STRING_LC_ARGUMENTS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_ARGUMENTS)
 
#define DUK_HTHREAD_STRING_LC_ARGUMENTS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_ARGUMENTS)
 
#define DUK_STRIDX_CALLEE   68 /* 'callee' */
 
#define DUK_HEAP_STRING_CALLEE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CALLEE)
 
#define DUK_HTHREAD_STRING_CALLEE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CALLEE)
 
#define DUK_STRIDX_CALLER   69 /* 'caller' */
 
#define DUK_HEAP_STRING_CALLER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CALLER)
 
#define DUK_HTHREAD_STRING_CALLER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CALLER)
 
#define DUK_STRIDX_APPLY   70 /* 'apply' */
 
#define DUK_HEAP_STRING_APPLY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_APPLY)
 
#define DUK_HTHREAD_STRING_APPLY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_APPLY)
 
#define DUK_STRIDX_CONSTRUCT   71 /* 'construct' */
 
#define DUK_HEAP_STRING_CONSTRUCT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONSTRUCT)
 
#define DUK_HTHREAD_STRING_CONSTRUCT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONSTRUCT)
 
#define DUK_STRIDX_DELETE_PROPERTY   72 /* 'deleteProperty' */
 
#define DUK_HEAP_STRING_DELETE_PROPERTY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DELETE_PROPERTY)
 
#define DUK_HTHREAD_STRING_DELETE_PROPERTY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DELETE_PROPERTY)
 
#define DUK_STRIDX_GET   73 /* 'get' */
 
#define DUK_HEAP_STRING_GET(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_GET)
 
#define DUK_HTHREAD_STRING_GET(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_GET)
 
#define DUK_STRIDX_HAS   74 /* 'has' */
 
#define DUK_HEAP_STRING_HAS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_HAS)
 
#define DUK_HTHREAD_STRING_HAS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_HAS)
 
#define DUK_STRIDX_OWN_KEYS   75 /* 'ownKeys' */
 
#define DUK_HEAP_STRING_OWN_KEYS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_OWN_KEYS)
 
#define DUK_HTHREAD_STRING_OWN_KEYS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_OWN_KEYS)
 
#define DUK_STRIDX_WELLKNOWN_SYMBOL_TO_PRIMITIVE   76 /* '\x81Symbol.toPrimitive\xff' */
 
#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_TO_PRIMITIVE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_PRIMITIVE)
 
#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_TO_PRIMITIVE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_PRIMITIVE)
 
#define DUK_STRIDX_WELLKNOWN_SYMBOL_HAS_INSTANCE   77 /* '\x81Symbol.hasInstance\xff' */
 
#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_HAS_INSTANCE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_HAS_INSTANCE)
 
#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_HAS_INSTANCE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_HAS_INSTANCE)
 
#define DUK_STRIDX_WELLKNOWN_SYMBOL_TO_STRING_TAG   78 /* '\x81Symbol.toStringTag\xff' */
 
#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_TO_STRING_TAG(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_STRING_TAG)
 
#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_TO_STRING_TAG(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_STRING_TAG)
 
#define DUK_STRIDX_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE   79 /* '\x81Symbol.isConcatSpreadable\xff' */
 
#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE)
 
#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE)
 
#define DUK_STRIDX_SET_PROTOTYPE_OF   80 /* 'setPrototypeOf' */
 
#define DUK_HEAP_STRING_SET_PROTOTYPE_OF(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SET_PROTOTYPE_OF)
 
#define DUK_HTHREAD_STRING_SET_PROTOTYPE_OF(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SET_PROTOTYPE_OF)
 
#define DUK_STRIDX___PROTO__   81 /* '__proto__' */
 
#define DUK_HEAP_STRING___PROTO__(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX___PROTO__)
 
#define DUK_HTHREAD_STRING___PROTO__(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX___PROTO__)
 
#define DUK_STRIDX_TO_STRING   82 /* 'toString' */
 
#define DUK_HEAP_STRING_TO_STRING(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_STRING)
 
#define DUK_HTHREAD_STRING_TO_STRING(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_STRING)
 
#define DUK_STRIDX_TO_JSON   83 /* 'toJSON' */
 
#define DUK_HEAP_STRING_TO_JSON(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_JSON)
 
#define DUK_HTHREAD_STRING_TO_JSON(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_JSON)
 
#define DUK_STRIDX_TYPE   84 /* 'type' */
 
#define DUK_HEAP_STRING_TYPE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TYPE)
 
#define DUK_HTHREAD_STRING_TYPE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TYPE)
 
#define DUK_STRIDX_DATA   85 /* 'data' */
 
#define DUK_HEAP_STRING_DATA(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DATA)
 
#define DUK_HTHREAD_STRING_DATA(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DATA)
 
#define DUK_STRIDX_LC_BUFFER   86 /* 'buffer' */
 
#define DUK_HEAP_STRING_LC_BUFFER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_BUFFER)
 
#define DUK_HTHREAD_STRING_LC_BUFFER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_BUFFER)
 
#define DUK_STRIDX_LENGTH   87 /* 'length' */
 
#define DUK_HEAP_STRING_LENGTH(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LENGTH)
 
#define DUK_HTHREAD_STRING_LENGTH(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LENGTH)
 
#define DUK_STRIDX_SET   88 /* 'set' */
 
#define DUK_HEAP_STRING_SET(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SET)
 
#define DUK_HTHREAD_STRING_SET(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SET)
 
#define DUK_STRIDX_STACK   89 /* 'stack' */
 
#define DUK_HEAP_STRING_STACK(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_STACK)
 
#define DUK_HTHREAD_STRING_STACK(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_STACK)
 
#define DUK_STRIDX_PC   90 /* 'pc' */
 
#define DUK_HEAP_STRING_PC(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PC)
 
#define DUK_HTHREAD_STRING_PC(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PC)
 
#define DUK_STRIDX_LINE_NUMBER   91 /* 'lineNumber' */
 
#define DUK_HEAP_STRING_LINE_NUMBER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LINE_NUMBER)
 
#define DUK_HTHREAD_STRING_LINE_NUMBER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LINE_NUMBER)
 
#define DUK_STRIDX_INT_TRACEDATA   92 /* '\x82Tracedata' */
 
#define DUK_HEAP_STRING_INT_TRACEDATA(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_TRACEDATA)
 
#define DUK_HTHREAD_STRING_INT_TRACEDATA(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_TRACEDATA)
 
#define DUK_STRIDX_NAME   93 /* 'name' */
 
#define DUK_HEAP_STRING_NAME(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NAME)
 
#define DUK_HTHREAD_STRING_NAME(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NAME)
 
#define DUK_STRIDX_FILE_NAME   94 /* 'fileName' */
 
#define DUK_HEAP_STRING_FILE_NAME(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FILE_NAME)
 
#define DUK_HTHREAD_STRING_FILE_NAME(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FILE_NAME)
 
#define DUK_STRIDX_LC_POINTER   95 /* 'pointer' */
 
#define DUK_HEAP_STRING_LC_POINTER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_POINTER)
 
#define DUK_HTHREAD_STRING_LC_POINTER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_POINTER)
 
#define DUK_STRIDX_INT_TARGET   96 /* '\x82Target' */
 
#define DUK_HEAP_STRING_INT_TARGET(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_TARGET)
 
#define DUK_HTHREAD_STRING_INT_TARGET(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_TARGET)
 
#define DUK_STRIDX_INT_NEXT   97 /* '\x82Next' */
 
#define DUK_HEAP_STRING_INT_NEXT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_NEXT)
 
#define DUK_HTHREAD_STRING_INT_NEXT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_NEXT)
 
#define DUK_STRIDX_INT_BYTECODE   98 /* '\x82Bytecode' */
 
#define DUK_HEAP_STRING_INT_BYTECODE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_BYTECODE)
 
#define DUK_HTHREAD_STRING_INT_BYTECODE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_BYTECODE)
 
#define DUK_STRIDX_INT_FORMALS   99 /* '\x82Formals' */
 
#define DUK_HEAP_STRING_INT_FORMALS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_FORMALS)
 
#define DUK_HTHREAD_STRING_INT_FORMALS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_FORMALS)
 
#define DUK_STRIDX_INT_VARMAP   100 /* '\x82Varmap' */
 
#define DUK_HEAP_STRING_INT_VARMAP(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_VARMAP)
 
#define DUK_HTHREAD_STRING_INT_VARMAP(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_VARMAP)
 
#define DUK_STRIDX_INT_SOURCE   101 /* '\x82Source' */
 
#define DUK_HEAP_STRING_INT_SOURCE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_SOURCE)
 
#define DUK_HTHREAD_STRING_INT_SOURCE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_SOURCE)
 
#define DUK_STRIDX_INT_PC2LINE   102 /* '\x82Pc2line' */
 
#define DUK_HEAP_STRING_INT_PC2LINE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_PC2LINE)
 
#define DUK_HTHREAD_STRING_INT_PC2LINE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_PC2LINE)
 
#define DUK_STRIDX_INT_MAP   103 /* '\x82Map' */
 
#define DUK_HEAP_STRING_INT_MAP(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_MAP)
 
#define DUK_HTHREAD_STRING_INT_MAP(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_MAP)
 
#define DUK_STRIDX_INT_VARENV   104 /* '\x82Varenv' */
 
#define DUK_HEAP_STRING_INT_VARENV(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_VARENV)
 
#define DUK_HTHREAD_STRING_INT_VARENV(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_VARENV)
 
#define DUK_STRIDX_INT_FINALIZER   105 /* '\x82Finalizer' */
 
#define DUK_HEAP_STRING_INT_FINALIZER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_FINALIZER)
 
#define DUK_HTHREAD_STRING_INT_FINALIZER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_FINALIZER)
 
#define DUK_STRIDX_INT_VALUE   106 /* '\x82Value' */
 
#define DUK_HEAP_STRING_INT_VALUE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_VALUE)
 
#define DUK_HTHREAD_STRING_INT_VALUE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_VALUE)
 
#define DUK_STRIDX_COMPILE   107 /* 'compile' */
 
#define DUK_HEAP_STRING_COMPILE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_COMPILE)
 
#define DUK_HTHREAD_STRING_COMPILE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_COMPILE)
 
#define DUK_STRIDX_INPUT   108 /* 'input' */
 
#define DUK_HEAP_STRING_INPUT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INPUT)
 
#define DUK_HTHREAD_STRING_INPUT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INPUT)
 
#define DUK_STRIDX_ERR_CREATE   109 /* 'errCreate' */
 
#define DUK_HEAP_STRING_ERR_CREATE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ERR_CREATE)
 
#define DUK_HTHREAD_STRING_ERR_CREATE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ERR_CREATE)
 
#define DUK_STRIDX_ERR_THROW   110 /* 'errThrow' */
 
#define DUK_HEAP_STRING_ERR_THROW(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ERR_THROW)
 
#define DUK_HTHREAD_STRING_ERR_THROW(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ERR_THROW)
 
#define DUK_STRIDX_ENV   111 /* 'env' */
 
#define DUK_HEAP_STRING_ENV(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ENV)
 
#define DUK_HTHREAD_STRING_ENV(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ENV)
 
#define DUK_STRIDX_HEX   112 /* 'hex' */
 
#define DUK_HEAP_STRING_HEX(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_HEX)
 
#define DUK_HTHREAD_STRING_HEX(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_HEX)
 
#define DUK_STRIDX_BASE64   113 /* 'base64' */
 
#define DUK_HEAP_STRING_BASE64(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_BASE64)
 
#define DUK_HTHREAD_STRING_BASE64(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_BASE64)
 
#define DUK_STRIDX_JX   114 /* 'jx' */
 
#define DUK_HEAP_STRING_JX(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JX)
 
#define DUK_HTHREAD_STRING_JX(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JX)
 
#define DUK_STRIDX_JC   115 /* 'jc' */
 
#define DUK_HEAP_STRING_JC(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JC)
 
#define DUK_HTHREAD_STRING_JC(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JC)
 
#define DUK_STRIDX_JSON_EXT_UNDEFINED   116 /* '{"_undef":true}' */
 
#define DUK_HEAP_STRING_JSON_EXT_UNDEFINED(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_UNDEFINED)
 
#define DUK_HTHREAD_STRING_JSON_EXT_UNDEFINED(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_UNDEFINED)
 
#define DUK_STRIDX_JSON_EXT_NAN   117 /* '{"_nan":true}' */
 
#define DUK_HEAP_STRING_JSON_EXT_NAN(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_NAN)
 
#define DUK_HTHREAD_STRING_JSON_EXT_NAN(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_NAN)
 
#define DUK_STRIDX_JSON_EXT_POSINF   118 /* '{"_inf":true}' */
 
#define DUK_HEAP_STRING_JSON_EXT_POSINF(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_POSINF)
 
#define DUK_HTHREAD_STRING_JSON_EXT_POSINF(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_POSINF)
 
#define DUK_STRIDX_JSON_EXT_NEGINF   119 /* '{"_ninf":true}' */
 
#define DUK_HEAP_STRING_JSON_EXT_NEGINF(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_NEGINF)
 
#define DUK_HTHREAD_STRING_JSON_EXT_NEGINF(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_NEGINF)
 
#define DUK_STRIDX_JSON_EXT_FUNCTION1   120 /* '{"_func":true}' */
 
#define DUK_HEAP_STRING_JSON_EXT_FUNCTION1(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_FUNCTION1)
 
#define DUK_HTHREAD_STRING_JSON_EXT_FUNCTION1(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_FUNCTION1)
 
#define DUK_STRIDX_JSON_EXT_FUNCTION2   121 /* '{_func:true}' */
 
#define DUK_HEAP_STRING_JSON_EXT_FUNCTION2(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_FUNCTION2)
 
#define DUK_HTHREAD_STRING_JSON_EXT_FUNCTION2(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_FUNCTION2)
 
#define DUK_STRIDX_BREAK   122 /* 'break' */
 
#define DUK_HEAP_STRING_BREAK(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_BREAK)
 
#define DUK_HTHREAD_STRING_BREAK(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_BREAK)
 
#define DUK_STRIDX_CASE   123 /* 'case' */
 
#define DUK_HEAP_STRING_CASE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CASE)
 
#define DUK_HTHREAD_STRING_CASE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CASE)
 
#define DUK_STRIDX_CATCH   124 /* 'catch' */
 
#define DUK_HEAP_STRING_CATCH(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CATCH)
 
#define DUK_HTHREAD_STRING_CATCH(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CATCH)
 
#define DUK_STRIDX_CONTINUE   125 /* 'continue' */
 
#define DUK_HEAP_STRING_CONTINUE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONTINUE)
 
#define DUK_HTHREAD_STRING_CONTINUE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONTINUE)
 
#define DUK_STRIDX_DEBUGGER   126 /* 'debugger' */
 
#define DUK_HEAP_STRING_DEBUGGER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DEBUGGER)
 
#define DUK_HTHREAD_STRING_DEBUGGER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DEBUGGER)
 
#define DUK_STRIDX_DEFAULT   127 /* 'default' */
 
#define DUK_HEAP_STRING_DEFAULT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DEFAULT)
 
#define DUK_HTHREAD_STRING_DEFAULT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DEFAULT)
 
#define DUK_STRIDX_DELETE   128 /* 'delete' */
 
#define DUK_HEAP_STRING_DELETE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DELETE)
 
#define DUK_HTHREAD_STRING_DELETE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DELETE)
 
#define DUK_STRIDX_DO   129 /* 'do' */
 
#define DUK_HEAP_STRING_DO(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DO)
 
#define DUK_HTHREAD_STRING_DO(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DO)
 
#define DUK_STRIDX_ELSE   130 /* 'else' */
 
#define DUK_HEAP_STRING_ELSE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ELSE)
 
#define DUK_HTHREAD_STRING_ELSE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ELSE)
 
#define DUK_STRIDX_FINALLY   131 /* 'finally' */
 
#define DUK_HEAP_STRING_FINALLY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FINALLY)
 
#define DUK_HTHREAD_STRING_FINALLY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FINALLY)
 
#define DUK_STRIDX_FOR   132 /* 'for' */
 
#define DUK_HEAP_STRING_FOR(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FOR)
 
#define DUK_HTHREAD_STRING_FOR(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FOR)
 
#define DUK_STRIDX_LC_FUNCTION   133 /* 'function' */
 
#define DUK_HEAP_STRING_LC_FUNCTION(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_FUNCTION)
 
#define DUK_HTHREAD_STRING_LC_FUNCTION(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_FUNCTION)
 
#define DUK_STRIDX_IF   134 /* 'if' */
 
#define DUK_HEAP_STRING_IF(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IF)
 
#define DUK_HTHREAD_STRING_IF(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IF)
 
#define DUK_STRIDX_IN   135 /* 'in' */
 
#define DUK_HEAP_STRING_IN(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IN)
 
#define DUK_HTHREAD_STRING_IN(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IN)
 
#define DUK_STRIDX_INSTANCEOF   136 /* 'instanceof' */
 
#define DUK_HEAP_STRING_INSTANCEOF(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INSTANCEOF)
 
#define DUK_HTHREAD_STRING_INSTANCEOF(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INSTANCEOF)
 
#define DUK_STRIDX_NEW   137 /* 'new' */
 
#define DUK_HEAP_STRING_NEW(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NEW)
 
#define DUK_HTHREAD_STRING_NEW(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NEW)
 
#define DUK_STRIDX_RETURN   138 /* 'return' */
 
#define DUK_HEAP_STRING_RETURN(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_RETURN)
 
#define DUK_HTHREAD_STRING_RETURN(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_RETURN)
 
#define DUK_STRIDX_SWITCH   139 /* 'switch' */
 
#define DUK_HEAP_STRING_SWITCH(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SWITCH)
 
#define DUK_HTHREAD_STRING_SWITCH(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SWITCH)
 
#define DUK_STRIDX_THIS   140 /* 'this' */
 
#define DUK_HEAP_STRING_THIS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_THIS)
 
#define DUK_HTHREAD_STRING_THIS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_THIS)
 
#define DUK_STRIDX_THROW   141 /* 'throw' */
 
#define DUK_HEAP_STRING_THROW(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_THROW)
 
#define DUK_HTHREAD_STRING_THROW(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_THROW)
 
#define DUK_STRIDX_TRY   142 /* 'try' */
 
#define DUK_HEAP_STRING_TRY(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TRY)
 
#define DUK_HTHREAD_STRING_TRY(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TRY)
 
#define DUK_STRIDX_TYPEOF   143 /* 'typeof' */
 
#define DUK_HEAP_STRING_TYPEOF(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TYPEOF)
 
#define DUK_HTHREAD_STRING_TYPEOF(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TYPEOF)
 
#define DUK_STRIDX_VAR   144 /* 'var' */
 
#define DUK_HEAP_STRING_VAR(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VAR)
 
#define DUK_HTHREAD_STRING_VAR(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VAR)
 
#define DUK_STRIDX_CONST   145 /* 'const' */
 
#define DUK_HEAP_STRING_CONST(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONST)
 
#define DUK_HTHREAD_STRING_CONST(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONST)
 
#define DUK_STRIDX_VOID   146 /* 'void' */
 
#define DUK_HEAP_STRING_VOID(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VOID)
 
#define DUK_HTHREAD_STRING_VOID(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VOID)
 
#define DUK_STRIDX_WHILE   147 /* 'while' */
 
#define DUK_HEAP_STRING_WHILE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WHILE)
 
#define DUK_HTHREAD_STRING_WHILE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WHILE)
 
#define DUK_STRIDX_WITH   148 /* 'with' */
 
#define DUK_HEAP_STRING_WITH(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WITH)
 
#define DUK_HTHREAD_STRING_WITH(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WITH)
 
#define DUK_STRIDX_CLASS   149 /* 'class' */
 
#define DUK_HEAP_STRING_CLASS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CLASS)
 
#define DUK_HTHREAD_STRING_CLASS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CLASS)
 
#define DUK_STRIDX_ENUM   150 /* 'enum' */
 
#define DUK_HEAP_STRING_ENUM(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ENUM)
 
#define DUK_HTHREAD_STRING_ENUM(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ENUM)
 
#define DUK_STRIDX_EXPORT   151 /* 'export' */
 
#define DUK_HEAP_STRING_EXPORT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EXPORT)
 
#define DUK_HTHREAD_STRING_EXPORT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EXPORT)
 
#define DUK_STRIDX_EXTENDS   152 /* 'extends' */
 
#define DUK_HEAP_STRING_EXTENDS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EXTENDS)
 
#define DUK_HTHREAD_STRING_EXTENDS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EXTENDS)
 
#define DUK_STRIDX_IMPORT   153 /* 'import' */
 
#define DUK_HEAP_STRING_IMPORT(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IMPORT)
 
#define DUK_HTHREAD_STRING_IMPORT(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IMPORT)
 
#define DUK_STRIDX_SUPER   154 /* 'super' */
 
#define DUK_HEAP_STRING_SUPER(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SUPER)
 
#define DUK_HTHREAD_STRING_SUPER(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SUPER)
 
#define DUK_STRIDX_LC_NULL   155 /* 'null' */
 
#define DUK_HEAP_STRING_LC_NULL(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_NULL)
 
#define DUK_HTHREAD_STRING_LC_NULL(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_NULL)
 
#define DUK_STRIDX_TRUE   156 /* 'true' */
 
#define DUK_HEAP_STRING_TRUE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TRUE)
 
#define DUK_HTHREAD_STRING_TRUE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TRUE)
 
#define DUK_STRIDX_FALSE   157 /* 'false' */
 
#define DUK_HEAP_STRING_FALSE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FALSE)
 
#define DUK_HTHREAD_STRING_FALSE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FALSE)
 
#define DUK_STRIDX_IMPLEMENTS   158 /* 'implements' */
 
#define DUK_HEAP_STRING_IMPLEMENTS(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IMPLEMENTS)
 
#define DUK_HTHREAD_STRING_IMPLEMENTS(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IMPLEMENTS)
 
#define DUK_STRIDX_INTERFACE   159 /* 'interface' */
 
#define DUK_HEAP_STRING_INTERFACE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INTERFACE)
 
#define DUK_HTHREAD_STRING_INTERFACE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INTERFACE)
 
#define DUK_STRIDX_LET   160 /* 'let' */
 
#define DUK_HEAP_STRING_LET(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LET)
 
#define DUK_HTHREAD_STRING_LET(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LET)
 
#define DUK_STRIDX_PACKAGE   161 /* 'package' */
 
#define DUK_HEAP_STRING_PACKAGE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PACKAGE)
 
#define DUK_HTHREAD_STRING_PACKAGE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PACKAGE)
 
#define DUK_STRIDX_PRIVATE   162 /* 'private' */
 
#define DUK_HEAP_STRING_PRIVATE(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PRIVATE)
 
#define DUK_HTHREAD_STRING_PRIVATE(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PRIVATE)
 
#define DUK_STRIDX_PROTECTED   163 /* 'protected' */
 
#define DUK_HEAP_STRING_PROTECTED(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PROTECTED)
 
#define DUK_HTHREAD_STRING_PROTECTED(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PROTECTED)
 
#define DUK_STRIDX_PUBLIC   164 /* 'public' */
 
#define DUK_HEAP_STRING_PUBLIC(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PUBLIC)
 
#define DUK_HTHREAD_STRING_PUBLIC(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PUBLIC)
 
#define DUK_STRIDX_STATIC   165 /* 'static' */
 
#define DUK_HEAP_STRING_STATIC(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_STATIC)
 
#define DUK_HTHREAD_STRING_STATIC(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_STATIC)
 
#define DUK_STRIDX_YIELD   166 /* 'yield' */
 
#define DUK_HEAP_STRING_YIELD(heap)   DUK_HEAP_GET_STRING((heap),DUK_STRIDX_YIELD)
 
#define DUK_HTHREAD_STRING_YIELD(thr)   DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_YIELD)
 
#define DUK_HEAP_NUM_STRINGS   167
 
#define DUK_STRIDX_START_RESERVED   122
 
#define DUK_STRIDX_START_STRICT_RESERVED   158
 
#define DUK_STRIDX_END_RESERVED   167 /* exclusive endpoint */
 
#define DUK_STRDATA_MAX_STRLEN   27
 
#define DUK_STRDATA_DATA_LENGTH   972
 
#define DUK_BIDX_GLOBAL   0
 
#define DUK_BIDX_GLOBAL_ENV   1
 
#define DUK_BIDX_OBJECT_CONSTRUCTOR   2
 
#define DUK_BIDX_OBJECT_PROTOTYPE   3
 
#define DUK_BIDX_FUNCTION_CONSTRUCTOR   4
 
#define DUK_BIDX_FUNCTION_PROTOTYPE   5
 
#define DUK_BIDX_NATIVE_FUNCTION_PROTOTYPE   6
 
#define DUK_BIDX_ARRAY_CONSTRUCTOR   7
 
#define DUK_BIDX_ARRAY_PROTOTYPE   8
 
#define DUK_BIDX_STRING_CONSTRUCTOR   9
 
#define DUK_BIDX_STRING_PROTOTYPE   10
 
#define DUK_BIDX_BOOLEAN_CONSTRUCTOR   11
 
#define DUK_BIDX_BOOLEAN_PROTOTYPE   12
 
#define DUK_BIDX_NUMBER_CONSTRUCTOR   13
 
#define DUK_BIDX_NUMBER_PROTOTYPE   14
 
#define DUK_BIDX_DATE_CONSTRUCTOR   15
 
#define DUK_BIDX_DATE_PROTOTYPE   16
 
#define DUK_BIDX_REGEXP_CONSTRUCTOR   17
 
#define DUK_BIDX_REGEXP_PROTOTYPE   18
 
#define DUK_BIDX_ERROR_CONSTRUCTOR   19
 
#define DUK_BIDX_ERROR_PROTOTYPE   20
 
#define DUK_BIDX_EVAL_ERROR_CONSTRUCTOR   21
 
#define DUK_BIDX_EVAL_ERROR_PROTOTYPE   22
 
#define DUK_BIDX_RANGE_ERROR_CONSTRUCTOR   23
 
#define DUK_BIDX_RANGE_ERROR_PROTOTYPE   24
 
#define DUK_BIDX_REFERENCE_ERROR_CONSTRUCTOR   25
 
#define DUK_BIDX_REFERENCE_ERROR_PROTOTYPE   26
 
#define DUK_BIDX_SYNTAX_ERROR_CONSTRUCTOR   27
 
#define DUK_BIDX_SYNTAX_ERROR_PROTOTYPE   28
 
#define DUK_BIDX_TYPE_ERROR_CONSTRUCTOR   29
 
#define DUK_BIDX_TYPE_ERROR_PROTOTYPE   30
 
#define DUK_BIDX_URI_ERROR_CONSTRUCTOR   31
 
#define DUK_BIDX_URI_ERROR_PROTOTYPE   32
 
#define DUK_BIDX_TYPE_ERROR_THROWER   33
 
#define DUK_BIDX_DUKTAPE   34
 
#define DUK_BIDX_THREAD_PROTOTYPE   35
 
#define DUK_BIDX_POINTER_PROTOTYPE   36
 
#define DUK_BIDX_DOUBLE_ERROR   37
 
#define DUK_BIDX_SYMBOL_PROTOTYPE   38
 
#define DUK_BIDX_ARRAYBUFFER_PROTOTYPE   39
 
#define DUK_BIDX_DATAVIEW_PROTOTYPE   40
 
#define DUK_BIDX_INT8ARRAY_PROTOTYPE   41
 
#define DUK_BIDX_UINT8ARRAY_PROTOTYPE   42
 
#define DUK_BIDX_UINT8CLAMPEDARRAY_PROTOTYPE   43
 
#define DUK_BIDX_INT16ARRAY_PROTOTYPE   44
 
#define DUK_BIDX_UINT16ARRAY_PROTOTYPE   45
 
#define DUK_BIDX_INT32ARRAY_PROTOTYPE   46
 
#define DUK_BIDX_UINT32ARRAY_PROTOTYPE   47
 
#define DUK_BIDX_FLOAT32ARRAY_PROTOTYPE   48
 
#define DUK_BIDX_FLOAT64ARRAY_PROTOTYPE   49
 
#define DUK_BIDX_NODEJS_BUFFER_PROTOTYPE   50
 
#define DUK_NUM_BUILTINS   51
 
#define DUK_NUM_BIDX_BUILTINS   51
 
#define DUK_NUM_ALL_BUILTINS   80
 
#define DUK_UTIL_H_INCLUDED
 
#define DUK_DOUBLE_2TO32   4294967296.0
 
#define DUK_DOUBLE_2TO31   2147483648.0
 
#define DUK_DOUBLE_LOG2E   1.4426950408889634
 
#define DUK_DOUBLE_LOG10E   0.4342944819032518
 
#define DUK_BD_BITPACKED_STRING_MAXLEN   256
 
#define DUK_RAW_WRITE_U8(ptr, val)
 
#define DUK_RAW_WRITE_U16_BE(ptr, val)   duk_raw_write_u16_be((ptr), (duk_uint16_t) (val))
 
#define DUK_RAW_WRITE_U32_BE(ptr, val)   duk_raw_write_u32_be((ptr), (duk_uint32_t) (val))
 
#define DUK_RAW_WRITE_FLOAT_BE(ptr, val)   duk_raw_write_float_be((ptr), (duk_float_t) (val))
 
#define DUK_RAW_WRITE_DOUBLE_BE(ptr, val)   duk_raw_write_double_be((ptr), (duk_double_t) (val))
 
#define DUK_RAW_WRITE_XUTF8(ptr, val)   duk_raw_write_xutf8((ptr), (duk_ucodepoint_t) (val))
 
#define DUK_RAW_WRITEINC_U8(ptr, val)
 
#define DUK_RAW_WRITEINC_U16_BE(ptr, val)   duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val))
 
#define DUK_RAW_WRITEINC_U32_BE(ptr, val)   duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val))
 
#define DUK_RAW_WRITEINC_FLOAT_BE(ptr, val)   duk_raw_writeinc_float_be(&(ptr), (duk_float_t) (val))
 
#define DUK_RAW_WRITEINC_DOUBLE_BE(ptr, val)   duk_raw_writeinc_double_be(&(ptr), (duk_double_t) (val))
 
#define DUK_RAW_WRITEINC_XUTF8(ptr, val)   duk_raw_writeinc_xutf8(&(ptr), (duk_ucodepoint_t) (val))
 
#define DUK_RAW_WRITEINC_CESU8(ptr, val)   duk_raw_writeinc_cesu8(&(ptr), (duk_ucodepoint_t) (val))
 
#define DUK_RAW_READ_U8(ptr)   ((duk_uint8_t) (*(ptr)))
 
#define DUK_RAW_READ_U16_BE(ptr)   duk_raw_read_u16_be((ptr));
 
#define DUK_RAW_READ_U32_BE(ptr)   duk_raw_read_u32_be((ptr));
 
#define DUK_RAW_READ_DOUBLE_BE(ptr)   duk_raw_read_double_be((ptr));
 
#define DUK_RAW_READINC_U8(ptr)   ((duk_uint8_t) (*(ptr)++))
 
#define DUK_RAW_READINC_U16_BE(ptr)   duk_raw_readinc_u16_be(&(ptr));
 
#define DUK_RAW_READINC_U32_BE(ptr)   duk_raw_readinc_u32_be(&(ptr));
 
#define DUK_RAW_READINC_DOUBLE_BE(ptr)   duk_raw_readinc_double_be(&(ptr));
 
#define DUK_BW_SLACK_ADD   64
 
#define DUK_BW_SLACK_SHIFT   2 /* 2^2 -> 1/4 = 25% slack */
 
#define DUK_BW_INIT_PUSHBUF(thr, bw_ctx, sz)
 
#define DUK_BW_INIT_WITHBUF(thr, bw_ctx, buf)
 
#define DUK_BW_COMPACT(thr, bw_ctx)
 
#define DUK_BW_PUSH_AS_STRING(thr, bw_ctx)
 
#define DUK_BW_ASSERT_VALID_EXPR(thr, bw_ctx)   DUK_ASSERT_EXPR(1)
 
#define DUK_BW_ASSERT_VALID(thr, bw_ctx)
 
#define DUK_BW_GET_PTR(thr, bw_ctx)   ((bw_ctx)->p)
 
#define DUK_BW_SET_PTR(thr, bw_ctx, ptr)
 
#define DUK_BW_ADD_PTR(thr, bw_ctx, delta)
 
#define DUK_BW_GET_BASEPTR(thr, bw_ctx)   ((bw_ctx)->p_base)
 
#define DUK_BW_GET_LIMITPTR(thr, bw_ctx)   ((bw_ctx)->p_limit)
 
#define DUK_BW_GET_SIZE(thr, bw_ctx)   ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base))
 
#define DUK_BW_SET_SIZE(thr, bw_ctx, sz)
 
#define DUK_BW_RESET_SIZE(thr, bw_ctx)
 
#define DUK_BW_GET_BUFFER(thr, bw_ctx)   ((bw_ctx)->buf)
 
#define DUK_BW_ENSURE(thr, bw_ctx, sz)
 
#define DUK_BW_ENSURE_RAW(thr, bw_ctx, sz, ptr)    (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz))))
 
#define DUK_BW_ENSURE_GETPTR(thr, bw_ctx, sz)   DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p)
 
#define DUK_BW_ASSERT_SPACE_EXPR(thr, bw_ctx, sz)
 
#define DUK_BW_ASSERT_SPACE(thr, bw_ctx, sz)
 
#define DUK_BW_SETPTR_AND_COMPACT(thr, bw_ctx, ptr)
 
#define DUK_BW_WRITE_RAW_U8(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_RAW_U8_2(thr, bw_ctx, val1, val2)
 
#define DUK_BW_WRITE_RAW_U8_3(thr, bw_ctx, val1, val2, val3)
 
#define DUK_BW_WRITE_RAW_U8_4(thr, bw_ctx, val1, val2, val3, val4)
 
#define DUK_BW_WRITE_RAW_U8_5(thr, bw_ctx, val1, val2, val3, val4, val5)
 
#define DUK_BW_WRITE_RAW_U8_6(thr, bw_ctx, val1, val2, val3, val4, val5, val6)
 
#define DUK_BW_WRITE_RAW_XUTF8(thr, bw_ctx, cp)
 
#define DUK_BW_WRITE_RAW_CESU8(thr, bw_ctx, cp)
 
#define DUK_BW_WRITE_RAW_BYTES(thr, bw_ctx, valptr, valsz)
 
#define DUK_BW_WRITE_RAW_CSTRING(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_RAW_HSTRING(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_RAW_HBUFFER(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_RAW_HBUFFER_FIXED(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_RAW_HBUFFER_DYNAMIC(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_RAW_SLICE(thr, bw, dst_off, dst_len)   duk_bw_write_raw_slice((thr), (bw), (dst_off), (dst_len))
 
#define DUK_BW_INSERT_RAW_BYTES(thr, bw, dst_off, buf, len)   duk_bw_insert_raw_bytes((thr), (bw), (dst_off), (buf), (len))
 
#define DUK_BW_INSERT_RAW_SLICE(thr, bw, dst_off, src_off, len)   duk_bw_insert_raw_slice((thr), (bw), (dst_off), (src_off), (len))
 
#define DUK_BW_INSERT_RAW_AREA(thr, bw, off, len)   duk_bw_insert_raw_area((thr), (bw), (off), (len))
 
#define DUK_BW_REMOVE_RAW_SLICE(thr, bw, off, len)   duk_bw_remove_raw_slice((thr), (bw), (off), (len))
 
#define DUK_BW_WRITE_ENSURE_U8(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_ENSURE_U8_2(thr, bw_ctx, val1, val2)
 
#define DUK_BW_WRITE_ENSURE_U8_3(thr, bw_ctx, val1, val2, val3)
 
#define DUK_BW_WRITE_ENSURE_U8_4(thr, bw_ctx, val1, val2, val3, val4)
 
#define DUK_BW_WRITE_ENSURE_U8_5(thr, bw_ctx, val1, val2, val3, val4, val5)
 
#define DUK_BW_WRITE_ENSURE_U8_6(thr, bw_ctx, val1, val2, val3, val4, val5, val6)
 
#define DUK_BW_WRITE_ENSURE_XUTF8(thr, bw_ctx, cp)
 
#define DUK_BW_WRITE_ENSURE_CESU8(thr, bw_ctx, cp)
 
#define DUK_BW_WRITE_ENSURE_BYTES(thr, bw_ctx, valptr, valsz)
 
#define DUK_BW_WRITE_ENSURE_CSTRING(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_ENSURE_HSTRING(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_ENSURE_HBUFFER(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_ENSURE_HBUFFER_FIXED(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_ENSURE_HBUFFER_DYNAMIC(thr, bw_ctx, val)
 
#define DUK_BW_WRITE_ENSURE_SLICE(thr, bw, dst_off, dst_len)   duk_bw_write_ensure_slice((thr), (bw), (dst_off), (dst_len))
 
#define DUK_BW_INSERT_ENSURE_BYTES(thr, bw, dst_off, buf, len)   duk_bw_insert_ensure_bytes((thr), (bw), (dst_off), (buf), (len))
 
#define DUK_BW_INSERT_ENSURE_SLICE(thr, bw, dst_off, src_off, len)    duk_bw_insert_ensure_slice((thr), (bw), (dst_off), (src_off), (len))
 
#define DUK_BW_INSERT_ENSURE_AREA(thr, bw, off, len)
 
#define DUK_BW_REMOVE_ENSURE_SLICE(thr, bw, off, len)
 
#define duk_memcpy(dst, src, len)
 
#define duk_memcpy_unsafe(dst, src, len)
 
#define duk_memmove(dst, src, len)
 
#define duk_memmove_unsafe(dst, src, len)
 
#define duk_memset(dst, val, len)
 
#define duk_memset_unsafe(dst, val, len)
 
#define duk_memzero(dst, len)
 
#define duk_memzero_unsafe(dst, len)
 
#define DUK_IS_POWER_OF_TWO(x)   ((x) != 0U && ((x) & ((x) -1U)) == 0U)
 
#define DUK_ERRMSG_H_INCLUDED
 
#define DUK_STR_INTERNAL_ERROR   "internal error"
 
#define DUK_STR_UNSUPPORTED   "unsupported"
 
#define DUK_STR_INVALID_COUNT   "invalid count"
 
#define DUK_STR_INVALID_ARGS   "invalid args"
 
#define DUK_STR_INVALID_STATE   "invalid state"
 
#define DUK_STR_INVALID_INPUT   "invalid input"
 
#define DUK_STR_INVALID_LENGTH   "invalid length"
 
#define DUK_STR_NOT_CONSTRUCTABLE   "not constructable"
 
#define DUK_STR_CONSTRUCT_ONLY   "constructor requires 'new'"
 
#define DUK_STR_NOT_CALLABLE   "not callable"
 
#define DUK_STR_NOT_EXTENSIBLE   "not extensible"
 
#define DUK_STR_NOT_WRITABLE   "not writable"
 
#define DUK_STR_NOT_CONFIGURABLE   "not configurable"
 
#define DUK_STR_INVALID_CONTEXT   "invalid context"
 
#define DUK_STR_INVALID_INDEX   "invalid args"
 
#define DUK_STR_PUSH_BEYOND_ALLOC_STACK   "cannot push beyond allocated stack"
 
#define DUK_STR_NOT_UNDEFINED   "unexpected type"
 
#define DUK_STR_NOT_NULL   "unexpected type"
 
#define DUK_STR_NOT_BOOLEAN   "unexpected type"
 
#define DUK_STR_NOT_NUMBER   "unexpected type"
 
#define DUK_STR_NOT_STRING   "unexpected type"
 
#define DUK_STR_NOT_OBJECT   "unexpected type"
 
#define DUK_STR_NOT_POINTER   "unexpected type"
 
#define DUK_STR_NOT_BUFFER   "not buffer" /* still in use with verbose messages */
 
#define DUK_STR_UNEXPECTED_TYPE   "unexpected type"
 
#define DUK_STR_NOT_THREAD   "unexpected type"
 
#define DUK_STR_NOT_COMPFUNC   "unexpected type"
 
#define DUK_STR_NOT_NATFUNC   "unexpected type"
 
#define DUK_STR_NOT_C_FUNCTION   "unexpected type"
 
#define DUK_STR_NOT_FUNCTION   "unexpected type"
 
#define DUK_STR_NOT_REGEXP   "unexpected type"
 
#define DUK_STR_TOPRIMITIVE_FAILED   "coercion to primitive failed"
 
#define DUK_STR_NUMBER_OUTSIDE_RANGE   "number outside range"
 
#define DUK_STR_NOT_OBJECT_COERCIBLE   "not object coercible"
 
#define DUK_STR_CANNOT_NUMBER_COERCE_SYMBOL   "cannot number coerce Symbol"
 
#define DUK_STR_CANNOT_STRING_COERCE_SYMBOL   "cannot string coerce Symbol"
 
#define DUK_STR_STRING_TOO_LONG   "string too long"
 
#define DUK_STR_BUFFER_TOO_LONG   "buffer too long"
 
#define DUK_STR_ALLOC_FAILED   "alloc failed"
 
#define DUK_STR_WRONG_BUFFER_TYPE   "wrong buffer type"
 
#define DUK_STR_BASE64_ENCODE_FAILED   "base64 encode failed"
 
#define DUK_STR_SOURCE_DECODE_FAILED   "source decode failed"
 
#define DUK_STR_UTF8_DECODE_FAILED   "utf-8 decode failed"
 
#define DUK_STR_BASE64_DECODE_FAILED   "base64 decode failed"
 
#define DUK_STR_HEX_DECODE_FAILED   "hex decode failed"
 
#define DUK_STR_INVALID_BYTECODE   "invalid bytecode"
 
#define DUK_STR_NO_SOURCECODE   "no sourcecode"
 
#define DUK_STR_RESULT_TOO_LONG   "result too long"
 
#define DUK_STR_INVALID_CFUNC_RC   "invalid C function rc"
 
#define DUK_STR_INVALID_INSTANCEOF_RVAL   "invalid instanceof rval"
 
#define DUK_STR_INVALID_INSTANCEOF_RVAL_NOPROTO   "instanceof rval has no .prototype"
 
#define DUK_STR_FMT_PTR   "%p"
 
#define DUK_STR_FMT_INVALID_JSON   "invalid json (at offset %ld)"
 
#define DUK_STR_CYCLIC_INPUT   "cyclic input"
 
#define DUK_STR_DEC_RECLIMIT   "decode recursion limit"
 
#define DUK_STR_ENC_RECLIMIT   "encode recursion limit"
 
#define DUK_STR_INVALID_BASE   "invalid base value"
 
#define DUK_STR_STRICT_CALLER_READ   "cannot read strict 'caller'"
 
#define DUK_STR_PROXY_REJECTED   "proxy rejected"
 
#define DUK_STR_INVALID_ARRAY_LENGTH   "invalid array length"
 
#define DUK_STR_SETTER_UNDEFINED   "setter undefined"
 
#define DUK_STR_INVALID_DESCRIPTOR   "invalid descriptor"
 
#define DUK_STR_PROXY_REVOKED   "proxy revoked"
 
#define DUK_STR_INVALID_TRAP_RESULT   "invalid trap result"
 
#define DUK_STR_INVALID_ESCAPE   "invalid escape"
 
#define DUK_STR_UNTERMINATED_STRING   "unterminated string"
 
#define DUK_STR_UNTERMINATED_COMMENT   "unterminated comment"
 
#define DUK_STR_UNTERMINATED_REGEXP   "unterminated regexp"
 
#define DUK_STR_TOKEN_LIMIT   "token limit"
 
#define DUK_STR_REGEXP_SUPPORT_DISABLED   "regexp support disabled"
 
#define DUK_STR_INVALID_NUMBER_LITERAL   "invalid number literal"
 
#define DUK_STR_INVALID_TOKEN   "invalid token"
 
#define DUK_STR_PARSE_ERROR   "parse error"
 
#define DUK_STR_DUPLICATE_LABEL   "duplicate label"
 
#define DUK_STR_INVALID_LABEL   "invalid label"
 
#define DUK_STR_INVALID_ARRAY_LITERAL   "invalid array literal"
 
#define DUK_STR_INVALID_OBJECT_LITERAL   "invalid object literal"
 
#define DUK_STR_INVALID_VAR_DECLARATION   "invalid variable declaration"
 
#define DUK_STR_CANNOT_DELETE_IDENTIFIER   "cannot delete identifier"
 
#define DUK_STR_INVALID_EXPRESSION   "invalid expression"
 
#define DUK_STR_INVALID_LVALUE   "invalid lvalue"
 
#define DUK_STR_INVALID_NEWTARGET   "invalid new.target"
 
#define DUK_STR_EXPECTED_IDENTIFIER   "expected identifier"
 
#define DUK_STR_EMPTY_EXPR_NOT_ALLOWED   "empty expression not allowed"
 
#define DUK_STR_INVALID_FOR   "invalid for statement"
 
#define DUK_STR_INVALID_SWITCH   "invalid switch statement"
 
#define DUK_STR_INVALID_BREAK_CONT_LABEL   "invalid break/continue label"
 
#define DUK_STR_INVALID_RETURN   "invalid return"
 
#define DUK_STR_INVALID_TRY   "invalid try"
 
#define DUK_STR_INVALID_THROW   "invalid throw"
 
#define DUK_STR_WITH_IN_STRICT_MODE   "with in strict mode"
 
#define DUK_STR_FUNC_STMT_NOT_ALLOWED   "function statement not allowed"
 
#define DUK_STR_UNTERMINATED_STMT   "unterminated statement"
 
#define DUK_STR_INVALID_ARG_NAME   "invalid argument name"
 
#define DUK_STR_INVALID_FUNC_NAME   "invalid function name"
 
#define DUK_STR_INVALID_GETSET_NAME   "invalid getter/setter name"
 
#define DUK_STR_FUNC_NAME_REQUIRED   "function name required"
 
#define DUK_STR_INVALID_QUANTIFIER   "invalid regexp quantifier"
 
#define DUK_STR_INVALID_QUANTIFIER_NO_ATOM   "quantifier without preceding atom"
 
#define DUK_STR_INVALID_QUANTIFIER_VALUES   "quantifier values invalid (qmin > qmax)"
 
#define DUK_STR_QUANTIFIER_TOO_MANY_COPIES   "quantifier requires too many atom copies"
 
#define DUK_STR_UNEXPECTED_CLOSING_PAREN   "unexpected closing parenthesis"
 
#define DUK_STR_UNEXPECTED_END_OF_PATTERN   "unexpected end of pattern"
 
#define DUK_STR_UNEXPECTED_REGEXP_TOKEN   "unexpected token in regexp"
 
#define DUK_STR_INVALID_REGEXP_FLAGS   "invalid regexp flags"
 
#define DUK_STR_INVALID_REGEXP_ESCAPE   "invalid regexp escape"
 
#define DUK_STR_INVALID_BACKREFS   "invalid backreference(s)"
 
#define DUK_STR_INVALID_REGEXP_CHARACTER   "invalid regexp character"
 
#define DUK_STR_INVALID_REGEXP_GROUP   "invalid regexp group"
 
#define DUK_STR_UNTERMINATED_CHARCLASS   "unterminated character class"
 
#define DUK_STR_INVALID_RANGE   "invalid range"
 
#define DUK_STR_VALSTACK_LIMIT   "valstack limit"
 
#define DUK_STR_CALLSTACK_LIMIT   "callstack limit"
 
#define DUK_STR_PROTOTYPE_CHAIN_LIMIT   "prototype chain limit"
 
#define DUK_STR_BOUND_CHAIN_LIMIT   "function call bound chain limit"
 
#define DUK_STR_NATIVE_STACK_LIMIT   "C stack depth limit"
 
#define DUK_STR_COMPILER_RECURSION_LIMIT   "compiler recursion limit"
 
#define DUK_STR_BYTECODE_LIMIT   "bytecode limit"
 
#define DUK_STR_REG_LIMIT   "register limit"
 
#define DUK_STR_TEMP_LIMIT   "temp limit"
 
#define DUK_STR_CONST_LIMIT   "const limit"
 
#define DUK_STR_FUNC_LIMIT   "function limit"
 
#define DUK_STR_REGEXP_COMPILER_RECURSION_LIMIT   "regexp compiler recursion limit"
 
#define DUK_STR_REGEXP_EXECUTOR_RECURSION_LIMIT   "regexp executor recursion limit"
 
#define DUK_STR_REGEXP_EXECUTOR_STEP_LIMIT   "regexp step limit"
 
#define DUK_JS_BYTECODE_H_INCLUDED
 
#define DUK_BC_SHIFT_OP   0
 
#define DUK_BC_SHIFT_A   8
 
#define DUK_BC_SHIFT_B   16
 
#define DUK_BC_SHIFT_C   24
 
#define DUK_BC_SHIFT_BC   DUK_BC_SHIFT_B
 
#define DUK_BC_SHIFT_ABC   DUK_BC_SHIFT_A
 
#define DUK_BC_UNSHIFTED_MASK_OP   0xffUL
 
#define DUK_BC_UNSHIFTED_MASK_A   0xffUL
 
#define DUK_BC_UNSHIFTED_MASK_B   0xffUL
 
#define DUK_BC_UNSHIFTED_MASK_C   0xffUL
 
#define DUK_BC_UNSHIFTED_MASK_BC   0xffffUL
 
#define DUK_BC_UNSHIFTED_MASK_ABC   0xffffffUL
 
#define DUK_BC_SHIFTED_MASK_OP   (DUK_BC_UNSHIFTED_MASK_OP << DUK_BC_SHIFT_OP)
 
#define DUK_BC_SHIFTED_MASK_A   (DUK_BC_UNSHIFTED_MASK_A << DUK_BC_SHIFT_A)
 
#define DUK_BC_SHIFTED_MASK_B   (DUK_BC_UNSHIFTED_MASK_B << DUK_BC_SHIFT_B)
 
#define DUK_BC_SHIFTED_MASK_C   (DUK_BC_UNSHIFTED_MASK_C << DUK_BC_SHIFT_C)
 
#define DUK_BC_SHIFTED_MASK_BC   (DUK_BC_UNSHIFTED_MASK_BC << DUK_BC_SHIFT_BC)
 
#define DUK_BC_SHIFTED_MASK_ABC   (DUK_BC_UNSHIFTED_MASK_ABC << DUK_BC_SHIFT_ABC)
 
#define DUK_DEC_OP(x)   ((x) &0xffUL)
 
#define DUK_DEC_A(x)   (((x) >> 8) & 0xffUL)
 
#define DUK_DEC_B(x)   (((x) >> 16) & 0xffUL)
 
#define DUK_DEC_C(x)   (((x) >> 24) & 0xffUL)
 
#define DUK_DEC_BC(x)   (((x) >> 16) & 0xffffUL)
 
#define DUK_DEC_ABC(x)   (((x) >> 8) & 0xffffffUL)
 
#define DUK_ENC_OP(op)   ((duk_instr_t) (op))
 
#define DUK_ENC_OP_ABC(op, abc)   ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op))))
 
#define DUK_ENC_OP_A_BC(op, a, bc)    ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op))))
 
#define DUK_ENC_OP_A_B_C(op, a, b, c)
 
#define DUK_ENC_OP_A_B(op, a, b)   DUK_ENC_OP_A_B_C((op), (a), (b), 0)
 
#define DUK_ENC_OP_A(op, a)   DUK_ENC_OP_A_B_C((op), (a), 0, 0)
 
#define DUK_ENC_OP_BC(op, bc)   DUK_ENC_OP_A_BC((op), 0, (bc))
 
#define DUK_BC_NOREGCONST_OP(op)   ((op) &0xfc)
 
#define DUK_BC_OP_MIN   0
 
#define DUK_BC_OP_MAX   0xffL
 
#define DUK_BC_A_MIN   0
 
#define DUK_BC_A_MAX   0xffL
 
#define DUK_BC_B_MIN   0
 
#define DUK_BC_B_MAX   0xffL
 
#define DUK_BC_C_MIN   0
 
#define DUK_BC_C_MAX   0xffL
 
#define DUK_BC_BC_MIN   0
 
#define DUK_BC_BC_MAX   0xffffL
 
#define DUK_BC_ABC_MIN   0
 
#define DUK_BC_ABC_MAX   0xffffffL
 
#define DUK_BC_REGCONST_B   (0x01UL)
 
#define DUK_BC_REGCONST_C   (0x02UL)
 
#define DUK_BC_INCDECP_FLAG_DEC   (0x04UL)
 
#define DUK_BC_INCDECP_FLAG_POST   (0x08UL)
 
#define DUK_OP_LDREG   0
 
#define DUK_OP_STREG   1
 
#define DUK_OP_JUMP   2
 
#define DUK_OP_LDCONST   3
 
#define DUK_OP_LDINT   4
 
#define DUK_OP_LDINTX   5
 
#define DUK_OP_LDTHIS   6
 
#define DUK_OP_LDUNDEF   7
 
#define DUK_OP_LDNULL   8
 
#define DUK_OP_LDTRUE   9
 
#define DUK_OP_LDFALSE   10
 
#define DUK_OP_GETVAR   11
 
#define DUK_OP_BNOT   12
 
#define DUK_OP_LNOT   13
 
#define DUK_OP_UNM   14
 
#define DUK_OP_UNP   15
 
#define DUK_OP_EQ   16
 
#define DUK_OP_EQ_RR   16
 
#define DUK_OP_EQ_CR   17
 
#define DUK_OP_EQ_RC   18
 
#define DUK_OP_EQ_CC   19
 
#define DUK_OP_NEQ   20
 
#define DUK_OP_NEQ_RR   20
 
#define DUK_OP_NEQ_CR   21
 
#define DUK_OP_NEQ_RC   22
 
#define DUK_OP_NEQ_CC   23
 
#define DUK_OP_SEQ   24
 
#define DUK_OP_SEQ_RR   24
 
#define DUK_OP_SEQ_CR   25
 
#define DUK_OP_SEQ_RC   26
 
#define DUK_OP_SEQ_CC   27
 
#define DUK_OP_SNEQ   28
 
#define DUK_OP_SNEQ_RR   28
 
#define DUK_OP_SNEQ_CR   29
 
#define DUK_OP_SNEQ_RC   30
 
#define DUK_OP_SNEQ_CC   31
 
#define DUK_OP_GT   32
 
#define DUK_OP_GT_RR   32
 
#define DUK_OP_GT_CR   33
 
#define DUK_OP_GT_RC   34
 
#define DUK_OP_GT_CC   35
 
#define DUK_OP_GE   36
 
#define DUK_OP_GE_RR   36
 
#define DUK_OP_GE_CR   37
 
#define DUK_OP_GE_RC   38
 
#define DUK_OP_GE_CC   39
 
#define DUK_OP_LT   40
 
#define DUK_OP_LT_RR   40
 
#define DUK_OP_LT_CR   41
 
#define DUK_OP_LT_RC   42
 
#define DUK_OP_LT_CC   43
 
#define DUK_OP_LE   44
 
#define DUK_OP_LE_RR   44
 
#define DUK_OP_LE_CR   45
 
#define DUK_OP_LE_RC   46
 
#define DUK_OP_LE_CC   47
 
#define DUK_OP_IFTRUE   48
 
#define DUK_OP_IFTRUE_R   48
 
#define DUK_OP_IFTRUE_C   49
 
#define DUK_OP_IFFALSE   50
 
#define DUK_OP_IFFALSE_R   50
 
#define DUK_OP_IFFALSE_C   51
 
#define DUK_OP_ADD   52
 
#define DUK_OP_ADD_RR   52
 
#define DUK_OP_ADD_CR   53
 
#define DUK_OP_ADD_RC   54
 
#define DUK_OP_ADD_CC   55
 
#define DUK_OP_SUB   56
 
#define DUK_OP_SUB_RR   56
 
#define DUK_OP_SUB_CR   57
 
#define DUK_OP_SUB_RC   58
 
#define DUK_OP_SUB_CC   59
 
#define DUK_OP_MUL   60
 
#define DUK_OP_MUL_RR   60
 
#define DUK_OP_MUL_CR   61
 
#define DUK_OP_MUL_RC   62
 
#define DUK_OP_MUL_CC   63
 
#define DUK_OP_DIV   64
 
#define DUK_OP_DIV_RR   64
 
#define DUK_OP_DIV_CR   65
 
#define DUK_OP_DIV_RC   66
 
#define DUK_OP_DIV_CC   67
 
#define DUK_OP_MOD   68
 
#define DUK_OP_MOD_RR   68
 
#define DUK_OP_MOD_CR   69
 
#define DUK_OP_MOD_RC   70
 
#define DUK_OP_MOD_CC   71
 
#define DUK_OP_EXP   72
 
#define DUK_OP_EXP_RR   72
 
#define DUK_OP_EXP_CR   73
 
#define DUK_OP_EXP_RC   74
 
#define DUK_OP_EXP_CC   75
 
#define DUK_OP_BAND   76
 
#define DUK_OP_BAND_RR   76
 
#define DUK_OP_BAND_CR   77
 
#define DUK_OP_BAND_RC   78
 
#define DUK_OP_BAND_CC   79
 
#define DUK_OP_BOR   80
 
#define DUK_OP_BOR_RR   80
 
#define DUK_OP_BOR_CR   81
 
#define DUK_OP_BOR_RC   82
 
#define DUK_OP_BOR_CC   83
 
#define DUK_OP_BXOR   84
 
#define DUK_OP_BXOR_RR   84
 
#define DUK_OP_BXOR_CR   85
 
#define DUK_OP_BXOR_RC   86
 
#define DUK_OP_BXOR_CC   87
 
#define DUK_OP_BASL   88
 
#define DUK_OP_BASL_RR   88
 
#define DUK_OP_BASL_CR   89
 
#define DUK_OP_BASL_RC   90
 
#define DUK_OP_BASL_CC   91
 
#define DUK_OP_BLSR   92
 
#define DUK_OP_BLSR_RR   92
 
#define DUK_OP_BLSR_CR   93
 
#define DUK_OP_BLSR_RC   94
 
#define DUK_OP_BLSR_CC   95
 
#define DUK_OP_BASR   96
 
#define DUK_OP_BASR_RR   96
 
#define DUK_OP_BASR_CR   97
 
#define DUK_OP_BASR_RC   98
 
#define DUK_OP_BASR_CC   99
 
#define DUK_OP_INSTOF   100
 
#define DUK_OP_INSTOF_RR   100
 
#define DUK_OP_INSTOF_CR   101
 
#define DUK_OP_INSTOF_RC   102
 
#define DUK_OP_INSTOF_CC   103
 
#define DUK_OP_IN   104
 
#define DUK_OP_IN_RR   104
 
#define DUK_OP_IN_CR   105
 
#define DUK_OP_IN_RC   106
 
#define DUK_OP_IN_CC   107
 
#define DUK_OP_GETPROP   108
 
#define DUK_OP_GETPROP_RR   108
 
#define DUK_OP_GETPROP_CR   109
 
#define DUK_OP_GETPROP_RC   110
 
#define DUK_OP_GETPROP_CC   111
 
#define DUK_OP_PUTPROP   112
 
#define DUK_OP_PUTPROP_RR   112
 
#define DUK_OP_PUTPROP_CR   113
 
#define DUK_OP_PUTPROP_RC   114
 
#define DUK_OP_PUTPROP_CC   115
 
#define DUK_OP_DELPROP   116
 
#define DUK_OP_DELPROP_RR   116
 
#define DUK_OP_DELPROP_CR_UNUSED   117 /* unused now */
 
#define DUK_OP_DELPROP_RC   118
 
#define DUK_OP_DELPROP_CC_UNUSED   119 /* unused now */
 
#define DUK_OP_PREINCR   120 /* pre/post opcode values have constraints, */
 
#define DUK_OP_PREDECR   121 /* see duk_js_executor.c and duk_js_compiler.c. */
 
#define DUK_OP_POSTINCR   122
 
#define DUK_OP_POSTDECR   123
 
#define DUK_OP_PREINCV   124
 
#define DUK_OP_PREDECV   125
 
#define DUK_OP_POSTINCV   126
 
#define DUK_OP_POSTDECV   127
 
#define DUK_OP_PREINCP   128 /* pre/post inc/dec prop opcodes have constraints */
 
#define DUK_OP_PREINCP_RR   128
 
#define DUK_OP_PREINCP_CR   129
 
#define DUK_OP_PREINCP_RC   130
 
#define DUK_OP_PREINCP_CC   131
 
#define DUK_OP_PREDECP   132
 
#define DUK_OP_PREDECP_RR   132
 
#define DUK_OP_PREDECP_CR   133
 
#define DUK_OP_PREDECP_RC   134
 
#define DUK_OP_PREDECP_CC   135
 
#define DUK_OP_POSTINCP   136
 
#define DUK_OP_POSTINCP_RR   136
 
#define DUK_OP_POSTINCP_CR   137
 
#define DUK_OP_POSTINCP_RC   138
 
#define DUK_OP_POSTINCP_CC   139
 
#define DUK_OP_POSTDECP   140
 
#define DUK_OP_POSTDECP_RR   140
 
#define DUK_OP_POSTDECP_CR   141
 
#define DUK_OP_POSTDECP_RC   142
 
#define DUK_OP_POSTDECP_CC   143
 
#define DUK_OP_DECLVAR   144
 
#define DUK_OP_DECLVAR_RR   144
 
#define DUK_OP_DECLVAR_CR   145
 
#define DUK_OP_DECLVAR_RC   146
 
#define DUK_OP_DECLVAR_CC   147
 
#define DUK_OP_REGEXP   148
 
#define DUK_OP_REGEXP_RR   148
 
#define DUK_OP_REGEXP_CR   149
 
#define DUK_OP_REGEXP_RC   150
 
#define DUK_OP_REGEXP_CC   151
 
#define DUK_OP_CLOSURE   152
 
#define DUK_OP_TYPEOF   153
 
#define DUK_OP_TYPEOFID   154
 
#define DUK_OP_PUTVAR   155
 
#define DUK_OP_DELVAR   156
 
#define DUK_OP_RETREG   157
 
#define DUK_OP_RETUNDEF   158
 
#define DUK_OP_RETCONST   159
 
#define DUK_OP_RETCONSTN   160 /* return const without incref (e.g. number) */
 
#define DUK_OP_LABEL   161
 
#define DUK_OP_ENDLABEL   162
 
#define DUK_OP_BREAK   163
 
#define DUK_OP_CONTINUE   164
 
#define DUK_OP_TRYCATCH   165
 
#define DUK_OP_ENDTRY   166
 
#define DUK_OP_ENDCATCH   167
 
#define DUK_OP_ENDFIN   168
 
#define DUK_OP_THROW   169
 
#define DUK_OP_INVLHS   170
 
#define DUK_OP_CSREG   171
 
#define DUK_OP_CSVAR   172
 
#define DUK_OP_CSVAR_RR   172
 
#define DUK_OP_CSVAR_CR   173
 
#define DUK_OP_CSVAR_RC   174
 
#define DUK_OP_CSVAR_CC   175
 
#define DUK_OP_CALL0   176 /* DUK_OP_CALL0 & 0x0F must be zero. */
 
#define DUK_OP_CALL1   177
 
#define DUK_OP_CALL2   178
 
#define DUK_OP_CALL3   179
 
#define DUK_OP_CALL4   180
 
#define DUK_OP_CALL5   181
 
#define DUK_OP_CALL6   182
 
#define DUK_OP_CALL7   183
 
#define DUK_OP_CALL8   184
 
#define DUK_OP_CALL9   185
 
#define DUK_OP_CALL10   186
 
#define DUK_OP_CALL11   187
 
#define DUK_OP_CALL12   188
 
#define DUK_OP_CALL13   189
 
#define DUK_OP_CALL14   190
 
#define DUK_OP_CALL15   191
 
#define DUK_OP_NEWOBJ   192
 
#define DUK_OP_NEWARR   193
 
#define DUK_OP_MPUTOBJ   194
 
#define DUK_OP_MPUTOBJI   195
 
#define DUK_OP_INITSET   196
 
#define DUK_OP_INITGET   197
 
#define DUK_OP_MPUTARR   198
 
#define DUK_OP_MPUTARRI   199
 
#define DUK_OP_SETALEN   200
 
#define DUK_OP_INITENUM   201
 
#define DUK_OP_NEXTENUM   202
 
#define DUK_OP_NEWTARGET   203
 
#define DUK_OP_DEBUGGER   204
 
#define DUK_OP_NOP   205
 
#define DUK_OP_INVALID   206
 
#define DUK_OP_UNUSED207   207
 
#define DUK_OP_GETPROPC   208
 
#define DUK_OP_GETPROPC_RR   208
 
#define DUK_OP_GETPROPC_CR   209
 
#define DUK_OP_GETPROPC_RC   210
 
#define DUK_OP_GETPROPC_CC   211
 
#define DUK_OP_UNUSED212   212
 
#define DUK_OP_UNUSED213   213
 
#define DUK_OP_UNUSED214   214
 
#define DUK_OP_UNUSED215   215
 
#define DUK_OP_UNUSED216   216
 
#define DUK_OP_UNUSED217   217
 
#define DUK_OP_UNUSED218   218
 
#define DUK_OP_UNUSED219   219
 
#define DUK_OP_UNUSED220   220
 
#define DUK_OP_UNUSED221   221
 
#define DUK_OP_UNUSED222   222
 
#define DUK_OP_UNUSED223   223
 
#define DUK_OP_UNUSED224   224
 
#define DUK_OP_UNUSED225   225
 
#define DUK_OP_UNUSED226   226
 
#define DUK_OP_UNUSED227   227
 
#define DUK_OP_UNUSED228   228
 
#define DUK_OP_UNUSED229   229
 
#define DUK_OP_UNUSED230   230
 
#define DUK_OP_UNUSED231   231
 
#define DUK_OP_UNUSED232   232
 
#define DUK_OP_UNUSED233   233
 
#define DUK_OP_UNUSED234   234
 
#define DUK_OP_UNUSED235   235
 
#define DUK_OP_UNUSED236   236
 
#define DUK_OP_UNUSED237   237
 
#define DUK_OP_UNUSED238   238
 
#define DUK_OP_UNUSED239   239
 
#define DUK_OP_UNUSED240   240
 
#define DUK_OP_UNUSED241   241
 
#define DUK_OP_UNUSED242   242
 
#define DUK_OP_UNUSED243   243
 
#define DUK_OP_UNUSED244   244
 
#define DUK_OP_UNUSED245   245
 
#define DUK_OP_UNUSED246   246
 
#define DUK_OP_UNUSED247   247
 
#define DUK_OP_UNUSED248   248
 
#define DUK_OP_UNUSED249   249
 
#define DUK_OP_UNUSED250   250
 
#define DUK_OP_UNUSED251   251
 
#define DUK_OP_UNUSED252   252
 
#define DUK_OP_UNUSED253   253
 
#define DUK_OP_UNUSED254   254
 
#define DUK_OP_UNUSED255   255
 
#define DUK_OP_NONE   256 /* dummy value used as marker (doesn't fit in 8-bit field) */
 
#define DUK_BC_TRYCATCH_FLAG_HAVE_CATCH   (1U << 0)
 
#define DUK_BC_TRYCATCH_FLAG_HAVE_FINALLY   (1U << 1)
 
#define DUK_BC_TRYCATCH_FLAG_CATCH_BINDING   (1U << 2)
 
#define DUK_BC_TRYCATCH_FLAG_WITH_BINDING   (1U << 3)
 
#define DUK_BC_DECLVAR_FLAG_FUNC_DECL   (1U << 4) /* function declaration */
 
#define DUK_BC_CALL_FLAG_TAILCALL   (1U << 0)
 
#define DUK_BC_CALL_FLAG_CONSTRUCT   (1U << 1)
 
#define DUK_BC_CALL_FLAG_CALLED_AS_EVAL   (1U << 2)
 
#define DUK_BC_CALL_FLAG_INDIRECT   (1U << 3)
 
#define DUK_BC_LDINT_BIAS   (1L << 15)
 
#define DUK_BC_LDINTX_SHIFT   16
 
#define DUK_BC_JUMP_BIAS   (1L << 23)
 
#define DUK_LEXER_H_INCLUDED
 
#define DUK_LEXER_INITCTX(ctx)   duk_lexer_initctx((ctx))
 
#define DUK_LEXER_SETPOINT(ctx, pt)   duk_lexer_setpoint((ctx), (pt))
 
#define DUK_LEXER_GETPOINT(ctx, pt)   duk_lexer_getpoint((ctx), (pt))
 
#define DUK_LEXER_WINDOW_SIZE   6
 
#define DUK_LEXER_BUFFER_SIZE   64
 
#define DUK_TOK_MINVAL   0
 
#define DUK_TOK_EOF   0
 
#define DUK_TOK_IDENTIFIER   1
 
#define DUK_TOK_START_RESERVED   2
 
#define DUK_TOK_BREAK   2
 
#define DUK_TOK_CASE   3
 
#define DUK_TOK_CATCH   4
 
#define DUK_TOK_CONTINUE   5
 
#define DUK_TOK_DEBUGGER   6
 
#define DUK_TOK_DEFAULT   7
 
#define DUK_TOK_DELETE   8
 
#define DUK_TOK_DO   9
 
#define DUK_TOK_ELSE   10
 
#define DUK_TOK_FINALLY   11
 
#define DUK_TOK_FOR   12
 
#define DUK_TOK_FUNCTION   13
 
#define DUK_TOK_IF   14
 
#define DUK_TOK_IN   15
 
#define DUK_TOK_INSTANCEOF   16
 
#define DUK_TOK_NEW   17
 
#define DUK_TOK_RETURN   18
 
#define DUK_TOK_SWITCH   19
 
#define DUK_TOK_THIS   20
 
#define DUK_TOK_THROW   21
 
#define DUK_TOK_TRY   22
 
#define DUK_TOK_TYPEOF   23
 
#define DUK_TOK_VAR   24
 
#define DUK_TOK_CONST   25
 
#define DUK_TOK_VOID   26
 
#define DUK_TOK_WHILE   27
 
#define DUK_TOK_WITH   28
 
#define DUK_TOK_CLASS   29
 
#define DUK_TOK_ENUM   30
 
#define DUK_TOK_EXPORT   31
 
#define DUK_TOK_EXTENDS   32
 
#define DUK_TOK_IMPORT   33
 
#define DUK_TOK_SUPER   34
 
#define DUK_TOK_NULL   35
 
#define DUK_TOK_TRUE   36
 
#define DUK_TOK_FALSE   37
 
#define DUK_TOK_START_STRICT_RESERVED   38 /* inclusive */
 
#define DUK_TOK_IMPLEMENTS   38
 
#define DUK_TOK_INTERFACE   39
 
#define DUK_TOK_LET   40
 
#define DUK_TOK_PACKAGE   41
 
#define DUK_TOK_PRIVATE   42
 
#define DUK_TOK_PROTECTED   43
 
#define DUK_TOK_PUBLIC   44
 
#define DUK_TOK_STATIC   45
 
#define DUK_TOK_YIELD   46
 
#define DUK_TOK_END_RESERVED   47 /* exclusive */
 
#define DUK_TOK_GET   47
 
#define DUK_TOK_SET   48
 
#define DUK_TOK_LCURLY   49
 
#define DUK_TOK_RCURLY   50
 
#define DUK_TOK_LBRACKET   51
 
#define DUK_TOK_RBRACKET   52
 
#define DUK_TOK_LPAREN   53
 
#define DUK_TOK_RPAREN   54
 
#define DUK_TOK_PERIOD   55
 
#define DUK_TOK_SEMICOLON   56
 
#define DUK_TOK_COMMA   57
 
#define DUK_TOK_LT   58
 
#define DUK_TOK_GT   59
 
#define DUK_TOK_LE   60
 
#define DUK_TOK_GE   61
 
#define DUK_TOK_EQ   62
 
#define DUK_TOK_NEQ   63
 
#define DUK_TOK_SEQ   64
 
#define DUK_TOK_SNEQ   65
 
#define DUK_TOK_ADD   66
 
#define DUK_TOK_SUB   67
 
#define DUK_TOK_MUL   68
 
#define DUK_TOK_DIV   69
 
#define DUK_TOK_MOD   70
 
#define DUK_TOK_EXP   71
 
#define DUK_TOK_INCREMENT   72
 
#define DUK_TOK_DECREMENT   73
 
#define DUK_TOK_ALSHIFT   74 /* named "arithmetic" because result is signed */
 
#define DUK_TOK_ARSHIFT   75
 
#define DUK_TOK_RSHIFT   76
 
#define DUK_TOK_BAND   77
 
#define DUK_TOK_BOR   78
 
#define DUK_TOK_BXOR   79
 
#define DUK_TOK_LNOT   80
 
#define DUK_TOK_BNOT   81
 
#define DUK_TOK_LAND   82
 
#define DUK_TOK_LOR   83
 
#define DUK_TOK_QUESTION   84
 
#define DUK_TOK_COLON   85
 
#define DUK_TOK_EQUALSIGN   86
 
#define DUK_TOK_ADD_EQ   87
 
#define DUK_TOK_SUB_EQ   88
 
#define DUK_TOK_MUL_EQ   89
 
#define DUK_TOK_DIV_EQ   90
 
#define DUK_TOK_MOD_EQ   91
 
#define DUK_TOK_EXP_EQ   92
 
#define DUK_TOK_ALSHIFT_EQ   93
 
#define DUK_TOK_ARSHIFT_EQ   94
 
#define DUK_TOK_RSHIFT_EQ   95
 
#define DUK_TOK_BAND_EQ   96
 
#define DUK_TOK_BOR_EQ   97
 
#define DUK_TOK_BXOR_EQ   98
 
#define DUK_TOK_NUMBER   99
 
#define DUK_TOK_STRING   100
 
#define DUK_TOK_REGEXP   101
 
#define DUK_TOK_MAXVAL   101 /* inclusive */
 
#define DUK_TOK_INVALID   DUK_SMALL_UINT_MAX
 
#define DUK_STRIDX_TO_TOK(x)   ((x) -DUK_STRIDX_START_RESERVED + DUK_TOK_START_RESERVED)
 
#define DUK_RETOK_EOF   0
 
#define DUK_RETOK_DISJUNCTION   1
 
#define DUK_RETOK_QUANTIFIER   2
 
#define DUK_RETOK_ASSERT_START   3
 
#define DUK_RETOK_ASSERT_END   4
 
#define DUK_RETOK_ASSERT_WORD_BOUNDARY   5
 
#define DUK_RETOK_ASSERT_NOT_WORD_BOUNDARY   6
 
#define DUK_RETOK_ASSERT_START_POS_LOOKAHEAD   7
 
#define DUK_RETOK_ASSERT_START_NEG_LOOKAHEAD   8
 
#define DUK_RETOK_ATOM_PERIOD   9
 
#define DUK_RETOK_ATOM_CHAR   10
 
#define DUK_RETOK_ATOM_DIGIT   11 /* assumptions in regexp compiler */
 
#define DUK_RETOK_ATOM_NOT_DIGIT   12 /* -""- */
 
#define DUK_RETOK_ATOM_WHITE   13 /* -""- */
 
#define DUK_RETOK_ATOM_NOT_WHITE   14 /* -""- */
 
#define DUK_RETOK_ATOM_WORD_CHAR   15 /* -""- */
 
#define DUK_RETOK_ATOM_NOT_WORD_CHAR   16 /* -""- */
 
#define DUK_RETOK_ATOM_BACKREFERENCE   17
 
#define DUK_RETOK_ATOM_START_CAPTURE_GROUP   18
 
#define DUK_RETOK_ATOM_START_NONCAPTURE_GROUP   19
 
#define DUK_RETOK_ATOM_START_CHARCLASS   20
 
#define DUK_RETOK_ATOM_START_CHARCLASS_INVERTED   21
 
#define DUK_RETOK_ATOM_END_GROUP   22
 
#define DUK_LEXER_TEMP_BUF_LIMIT   256
 
#define DUK_RE_QUANTIFIER_INFINITE   ((duk_uint32_t) 0xffffffffUL)
 
#define DUK_JS_COMPILER_H_INCLUDED
 
#define DUK_COMPILER_TOKEN_LIMIT   100000000L /* 1e8: protects against deeply nested inner functions */
 
#define DUK_COMPILER_PEEPHOLE_MAXITER   3
 
#define DUK_COMPILER_MAX_BYTECODE_LENGTH   (256L * 1024L * 1024L) /* 1 GB */
 
#define DUK_IVAL_NONE   0 /* no value */
 
#define DUK_IVAL_PLAIN   1 /* register, constant, or value */
 
#define DUK_IVAL_ARITH   2 /* binary arithmetic; DUK_OP_ADD, DUK_OP_EQ, other binary ops */
 
#define DUK_IVAL_PROP   3 /* property access */
 
#define DUK_IVAL_VAR   4 /* variable access */
 
#define DUK_ISPEC_NONE   0 /* no value */
 
#define DUK_ISPEC_VALUE   1 /* value resides in 'valstack_idx' */
 
#define DUK_ISPEC_REGCONST   2 /* value resides in a register or constant */
 
#define DUK_REGCONST_CONST_MARKER   DUK_INT32_MIN /* = -0x80000000 */
 
#define DUK_LABEL_FLAG_ALLOW_BREAK   (1U << 0)
 
#define DUK_LABEL_FLAG_ALLOW_CONTINUE   (1U << 1)
 
#define DUK_DECL_TYPE_VAR   0
 
#define DUK_DECL_TYPE_FUNC   1
 
#define DUK_REGEXP_H_INCLUDED
 
#define DUK_RE_MAX_ATOM_COPIES   1000
 
#define DUK_RE_COMPILE_TOKEN_LIMIT   100000000L /* 1e8 */
 
#define DUK_RE_EXECUTE_STEPS_LIMIT   1000000000L /* 1e9 */
 
#define DUK_REOP_MATCH   1
 
#define DUK_REOP_CHAR   2
 
#define DUK_REOP_PERIOD   3
 
#define DUK_REOP_RANGES   4
 
#define DUK_REOP_INVRANGES   5
 
#define DUK_REOP_JUMP   6
 
#define DUK_REOP_SPLIT1   7
 
#define DUK_REOP_SPLIT2   8
 
#define DUK_REOP_SQMINIMAL   9
 
#define DUK_REOP_SQGREEDY   10
 
#define DUK_REOP_SAVE   11
 
#define DUK_REOP_WIPERANGE   12
 
#define DUK_REOP_LOOKPOS   13
 
#define DUK_REOP_LOOKNEG   14
 
#define DUK_REOP_BACKREFERENCE   15
 
#define DUK_REOP_ASSERT_START   16
 
#define DUK_REOP_ASSERT_END   17
 
#define DUK_REOP_ASSERT_WORD_BOUNDARY   18
 
#define DUK_REOP_ASSERT_NOT_WORD_BOUNDARY   19
 
#define DUK_RE_FLAG_GLOBAL   (1U << 0)
 
#define DUK_RE_FLAG_IGNORE_CASE   (1U << 1)
 
#define DUK_RE_FLAG_MULTILINE   (1U << 2)
 
#define DUK_HEAPHDR_H_INCLUDED
 
#define DUK_HEAPHDR_FLAGS_TYPE_MASK   0x00000003UL
 
#define DUK_HEAPHDR_FLAGS_FLAG_MASK   (~DUK_HEAPHDR_FLAGS_TYPE_MASK)
 
#define DUK_HEAPHDR_FLAGS_HEAP_START   2 /* 5 heap flags */
 
#define DUK_HEAPHDR_FLAGS_USER_START   7 /* 25 user flags */
 
#define DUK_HEAPHDR_HEAP_FLAG_NUMBER(n)   (DUK_HEAPHDR_FLAGS_HEAP_START + (n))
 
#define DUK_HEAPHDR_USER_FLAG_NUMBER(n)   (DUK_HEAPHDR_FLAGS_USER_START + (n))
 
#define DUK_HEAPHDR_HEAP_FLAG(n)   (1UL << (DUK_HEAPHDR_FLAGS_HEAP_START + (n)))
 
#define DUK_HEAPHDR_USER_FLAG(n)   (1UL << (DUK_HEAPHDR_FLAGS_USER_START + (n)))
 
#define DUK_HEAPHDR_FLAG_REACHABLE   DUK_HEAPHDR_HEAP_FLAG(0) /* mark-and-sweep: reachable */
 
#define DUK_HEAPHDR_FLAG_TEMPROOT   DUK_HEAPHDR_HEAP_FLAG(1) /* mark-and-sweep: children not processed */
 
#define DUK_HEAPHDR_FLAG_FINALIZABLE   DUK_HEAPHDR_HEAP_FLAG(2) /* mark-and-sweep: finalizable (on current pass) */
 
#define DUK_HEAPHDR_FLAG_FINALIZED   DUK_HEAPHDR_HEAP_FLAG(3) /* mark-and-sweep: finalized (on previous pass) */
 
#define DUK_HEAPHDR_FLAG_READONLY   DUK_HEAPHDR_HEAP_FLAG(4) /* read-only object, in code section */
 
#define DUK_HTYPE_MIN   0
 
#define DUK_HTYPE_STRING   0
 
#define DUK_HTYPE_OBJECT   1
 
#define DUK_HTYPE_BUFFER   2
 
#define DUK_HTYPE_MAX   2
 
#define DUK_HEAPHDR_GET_NEXT(heap, h)   ((h)->h_next)
 
#define DUK_HEAPHDR_SET_NEXT(heap, h, val)
 
#define DUK_HEAPHDR_GET_PREV(heap, h)   ((h)->h_prev)
 
#define DUK_HEAPHDR_SET_PREV(heap, h, val)
 
#define DUK_HEAPHDR_GET_REFCOUNT(h)   ((h)->h_refcount)
 
#define DUK_HEAPHDR_SET_REFCOUNT(h, val)
 
#define DUK_HEAPHDR_PREINC_REFCOUNT(h)   (++(h)->h_refcount) /* result: updated refcount */
 
#define DUK_HEAPHDR_PREDEC_REFCOUNT(h)   (--(h)->h_refcount) /* result: updated refcount */
 
#define DUK_HEAPHDR_GET_FLAGS_RAW(h)   ((h)->h_flags)
 
#define DUK_HEAPHDR_SET_FLAGS_RAW(h, val)
 
#define DUK_HEAPHDR_GET_FLAGS(h)   ((h)->h_flags & DUK_HEAPHDR_FLAGS_FLAG_MASK)
 
#define DUK_HEAPHDR_SET_FLAGS(h, val)
 
#define DUK_HEAPHDR_GET_TYPE(h)   ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK)
 
#define DUK_HEAPHDR_SET_TYPE(h, val)
 
#define DUK_HEAPHDR_HTYPE_VALID(h)   (DUK_HEAPHDR_GET_TYPE((h)) <= DUK_HTYPE_MAX)
 
#define DUK_HEAPHDR_SET_TYPE_AND_FLAGS(h, tval, fval)
 
#define DUK_HEAPHDR_SET_FLAG_BITS(h, bits)
 
#define DUK_HEAPHDR_CLEAR_FLAG_BITS(h, bits)
 
#define DUK_HEAPHDR_CHECK_FLAG_BITS(h, bits)   (((h)->h_flags & (bits)) != 0)
 
#define DUK_HEAPHDR_SET_REACHABLE(h)   DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_REACHABLE)
 
#define DUK_HEAPHDR_CLEAR_REACHABLE(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_REACHABLE)
 
#define DUK_HEAPHDR_HAS_REACHABLE(h)   DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_REACHABLE)
 
#define DUK_HEAPHDR_SET_TEMPROOT(h)   DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_TEMPROOT)
 
#define DUK_HEAPHDR_CLEAR_TEMPROOT(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_TEMPROOT)
 
#define DUK_HEAPHDR_HAS_TEMPROOT(h)   DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_TEMPROOT)
 
#define DUK_HEAPHDR_SET_FINALIZABLE(h)   DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZABLE)
 
#define DUK_HEAPHDR_CLEAR_FINALIZABLE(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZABLE)
 
#define DUK_HEAPHDR_HAS_FINALIZABLE(h)   DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZABLE)
 
#define DUK_HEAPHDR_SET_FINALIZED(h)   DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZED)
 
#define DUK_HEAPHDR_CLEAR_FINALIZED(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZED)
 
#define DUK_HEAPHDR_HAS_FINALIZED(h)   DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZED)
 
#define DUK_HEAPHDR_SET_READONLY(h)   DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_READONLY)
 
#define DUK_HEAPHDR_CLEAR_READONLY(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_READONLY)
 
#define DUK_HEAPHDR_HAS_READONLY(h)   DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_READONLY)
 
#define DUK_HEAPHDR_GET_FLAG_RANGE(h, m, n)   (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL))
 
#define DUK_HEAPHDR_SET_FLAG_RANGE(h, m, n, v)
 
#define DUK_HEAPHDR_INIT_NULLS(h)
 
#define DUK_HEAPHDR_STRING_INIT_NULLS(h)
 
#define DUK_HEAPHDR_IS_OBJECT(h)   ((h)->h_flags & 0x01UL)
 
#define DUK_HEAPHDR_IS_STRING(h)   (DUK_HEAPHDR_GET_TYPE((h)) == DUK_HTYPE_STRING)
 
#define DUK_HEAPHDR_IS_BUFFER(h)   (DUK_HEAPHDR_GET_TYPE((h)) == DUK_HTYPE_BUFFER)
 
#define DUK_HEAPHDR_ASSERT_LINKS(heap, h)
 
#define DUK_HEAPHDR_ASSERT_VALID(h)
 
#define DUK_REFCOUNT_H_INCLUDED
 
#define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv)   DUK_TVAL_IS_HEAP_ALLOCATED((tv))
 
#define DUK_HEAPHDR_NEEDS_REFCOUNT_UPDATE(h)   1
 
#define DUK_TVAL_INCREF_FAST(thr, tv)
 
#define DUK_TVAL_DECREF_FAST(thr, tv)
 
#define DUK_TVAL_DECREF_NORZ_FAST(thr, tv)
 
#define DUK_HEAPHDR_INCREF_FAST(thr, h)
 
#define DUK_HEAPHDR_DECREF_FAST_RAW(thr, h, rzcall, rzcast)
 
#define DUK_HEAPHDR_DECREF_FAST(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *)
 
#define DUK_HEAPHDR_DECREF_NORZ_FAST(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero_norz, duk_heaphdr *)
 
#define DUK_TVAL_INCREF_SLOW(thr, tv)
 
#define DUK_TVAL_DECREF_SLOW(thr, tv)
 
#define DUK_TVAL_DECREF_NORZ_SLOW(thr, tv)
 
#define DUK_HEAPHDR_INCREF_SLOW(thr, h)
 
#define DUK_HEAPHDR_DECREF_SLOW(thr, h)
 
#define DUK_HEAPHDR_DECREF_NORZ_SLOW(thr, h)
 
#define DUK_HSTRING_INCREF_SLOW(thr, h)
 
#define DUK_HSTRING_DECREF_SLOW(thr, h)
 
#define DUK_HSTRING_DECREF_NORZ_SLOW(thr, h)
 
#define DUK_HBUFFER_INCREF_SLOW(thr, h)
 
#define DUK_HBUFFER_DECREF_SLOW(thr, h)
 
#define DUK_HBUFFER_DECREF_NORZ_SLOW(thr, h)
 
#define DUK_HOBJECT_INCREF_SLOW(thr, h)
 
#define DUK_HOBJECT_DECREF_SLOW(thr, h)
 
#define DUK_HOBJECT_DECREF_NORZ_SLOW(thr, h)
 
#define DUK_TVAL_INCREF(thr, tv)   DUK_TVAL_INCREF_FAST((thr), (tv))
 
#define DUK_TVAL_DECREF(thr, tv)   DUK_TVAL_DECREF_FAST((thr), (tv))
 
#define DUK_TVAL_DECREF_NORZ(thr, tv)   DUK_TVAL_DECREF_NORZ_FAST((thr), (tv))
 
#define DUK_HEAPHDR_INCREF(thr, h)   DUK_HEAPHDR_INCREF_FAST((thr), (h))
 
#define DUK_HEAPHDR_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *)
 
#define DUK_HEAPHDR_DECREF_NORZ(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero_norz, duk_heaphdr *)
 
#define DUK_HSTRING_INCREF(thr, h)   DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h))
 
#define DUK_HSTRING_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *)
 
#define DUK_HSTRING_DECREF_NORZ(thr, h)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) /* no 'norz' variant */
 
#define DUK_HOBJECT_INCREF(thr, h)   DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h))
 
#define DUK_HOBJECT_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)
 
#define DUK_HOBJECT_DECREF_NORZ(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)
 
#define DUK_HBUFFER_INCREF(thr, h)   DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h))
 
#define DUK_HBUFFER_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hbuffer_refzero, duk_hbuffer *)
 
#define DUK_HBUFFER_DECREF_NORZ(thr, h)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hbuffer_refzero, duk_hbuffer *) /* no 'norz' variant */
 
#define DUK_HCOMPFUNC_INCREF(thr, h)   DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)
 
#define DUK_HCOMPFUNC_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)
 
#define DUK_HCOMPFUNC_DECREF_NORZ(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)
 
#define DUK_HNATFUNC_INCREF(thr, h)   DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)
 
#define DUK_HNATFUNC_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)
 
#define DUK_HNATFUNC_DECREF_NORZ(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)
 
#define DUK_HBUFOBJ_INCREF(thr, h)   DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)
 
#define DUK_HBUFOBJ_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)
 
#define DUK_HBUFOBJ_DECREF_NORZ(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)
 
#define DUK_HTHREAD_INCREF(thr, h)   DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)
 
#define DUK_HTHREAD_DECREF(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)
 
#define DUK_HTHREAD_DECREF_NORZ(thr, h)   DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)
 
#define DUK_HEAPHDR_INCREF_ALLOWNULL(thr, h)
 
#define DUK_HEAPHDR_DECREF_ALLOWNULL(thr, h)
 
#define DUK_HEAPHDR_DECREF_NORZ_ALLOWNULL(thr, h)
 
#define DUK_HOBJECT_INCREF_ALLOWNULL(thr, h)
 
#define DUK_HOBJECT_DECREF_ALLOWNULL(thr, h)
 
#define DUK_HOBJECT_DECREF_NORZ_ALLOWNULL(thr, h)
 
#define DUK_HBUFFER_INCREF_ALLOWNULL(thr, h)
 
#define DUK_HBUFFER_DECREF_ALLOWNULL(thr, h)
 
#define DUK_HBUFFER_DECREF_NORZ_ALLOWNULL(thr, h)
 
#define DUK_HTHREAD_INCREF_ALLOWNULL(thr, h)
 
#define DUK_HTHREAD_DECREF_ALLOWNULL(thr, h)
 
#define DUK_HTHREAD_DECREF_NORZ_ALLOWNULL(thr, h)
 
#define DUK_REFZERO_CHECK_FAST(thr)
 
#define DUK_REFZERO_CHECK_SLOW(thr)
 
#define DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0(thr, tvptr_dst)
 
#define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0(thr, tvptr_dst)
 
#define DUK_TVAL_SET_UNUSED_UPDREF_ALT0(thr, tvptr_dst)
 
#define DUK_TVAL_SET_NULL_UPDREF_ALT0(thr, tvptr_dst)
 
#define DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_NUMBER_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_DOUBLE_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_NAN_UPDREF_ALT0(thr, tvptr_dst)
 
#define DUK_TVAL_SET_I48_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_I32_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_U32_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_LIGHTFUNC_UPDREF_ALT0(thr, tvptr_dst, lf_v, lf_fp, lf_flags)
 
#define DUK_TVAL_SET_STRING_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_OBJECT_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_BUFFER_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_POINTER_UPDREF_ALT0(thr, tvptr_dst, newval)
 
#define DUK_TVAL_SET_TVAL_UPDREF_ALT0(thr, tvptr_dst, tvptr_src)
 
#define DUK_TVAL_SET_TVAL_UPDREF_ALT1(thr, tvptr_dst, tvptr_src)
 
#define DUK_TVAL_SET_UNDEFINED_UPDREF   DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0
 
#define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ   DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0
 
#define DUK_TVAL_SET_UNUSED_UPDREF   DUK_TVAL_SET_UNUSED_UPDREF_ALT0
 
#define DUK_TVAL_SET_NULL_UPDREF   DUK_TVAL_SET_NULL_UPDREF_ALT0
 
#define DUK_TVAL_SET_BOOLEAN_UPDREF   DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0
 
#define DUK_TVAL_SET_NUMBER_UPDREF   DUK_TVAL_SET_NUMBER_UPDREF_ALT0
 
#define DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF   DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF_ALT0
 
#define DUK_TVAL_SET_DOUBLE_UPDREF   DUK_TVAL_SET_DOUBLE_UPDREF_ALT0
 
#define DUK_TVAL_SET_NAN_UPDREF   DUK_TVAL_SET_NAN_UPDREF_ALT0
 
#define DUK_TVAL_SET_I48_UPDREF   DUK_TVAL_SET_I48_UPDREF_ALT0
 
#define DUK_TVAL_SET_I32_UPDREF   DUK_TVAL_SET_I32_UPDREF_ALT0
 
#define DUK_TVAL_SET_U32_UPDREF   DUK_TVAL_SET_U32_UPDREF_ALT0
 
#define DUK_TVAL_SET_FASTINT_UPDREF   DUK_TVAL_SET_I48_UPDREF /* convenience */
 
#define DUK_TVAL_SET_LIGHTFUNC_UPDREF   DUK_TVAL_SET_LIGHTFUNC_UPDREF_ALT0
 
#define DUK_TVAL_SET_STRING_UPDREF   DUK_TVAL_SET_STRING_UPDREF_ALT0
 
#define DUK_TVAL_SET_OBJECT_UPDREF   DUK_TVAL_SET_OBJECT_UPDREF_ALT0
 
#define DUK_TVAL_SET_BUFFER_UPDREF   DUK_TVAL_SET_BUFFER_UPDREF_ALT0
 
#define DUK_TVAL_SET_POINTER_UPDREF   DUK_TVAL_SET_POINTER_UPDREF_ALT0
 
#define DUK_TVAL_SET_TVAL_UPDREF   DUK_TVAL_SET_TVAL_UPDREF_ALT1
 
#define DUK_TVAL_SET_TVAL_UPDREF_FAST   DUK_TVAL_SET_TVAL_UPDREF_ALT1
 
#define DUK_TVAL_SET_TVAL_UPDREF_SLOW   DUK_TVAL_SET_TVAL_UPDREF_ALT0
 
#define DUK_TVAL_SET_TVAL_UPDREF_NORZ(thr, tv_dst, tv_src)
 
#define DUK_TVAL_SET_U32_UPDREF_NORZ(thr, tv_dst, val)
 
#define DUK_API_INTERNAL_H_INCLUDED
 
#define DUK_INLINE_PERF   DUK_INLINE
 
#define DUK_ALWAYS_INLINE_PERF   DUK_ALWAYS_INLINE
 
#define DUK_NOINLINE_PERF   DUK_NOINLINE
 
#define DUK_EXEC_INLINE_PERF   DUK_INLINE
 
#define DUK_EXEC_ALWAYS_INLINE_PERF   DUK_ALWAYS_INLINE
 
#define DUK_EXEC_NOINLINE_PERF   DUK_NOINLINE
 
#define DUK_PUSH_SPRINTF_INITIAL_SIZE   256L
 
#define DUK_PUSH_SPRINTF_SANITY_LIMIT   (1L * 1024L * 1024L * 1024L)
 
#define DUK_ERRCODE_FLAG_NOBLAME_FILELINE   (1L << 24)
 
#define duk_push_u64(thr, val)   duk_push_number((thr), (duk_double_t) (val))
 
#define duk_push_i64(thr, val)   duk_push_number((thr), (duk_double_t) (val))
 
#define duk_push_u32(thr, val)   duk_push_uint((thr), (duk_uint_t) (val))
 
#define duk_push_i32(thr, val)   duk_push_int((thr), (duk_int_t) (val))
 
#define duk_push_idx(thr, val)   duk_push_int((thr), (duk_int_t) (val))
 
#define duk_push_uarridx(thr, val)   duk_push_uint((thr), (duk_uint_t) (val))
 
#define duk_push_size_t(thr, val)   duk_push_uint((thr), (duk_uint_t) (val)) /* XXX: assumed to fit for now */
 
#define duk_require_hobject_promote_lfunc(thr, idx)   duk_require_hobject_promote_mask((thr), (idx), DUK_TYPE_MASK_LIGHTFUNC)
 
#define duk_get_hobject_promote_lfunc(thr, idx)   duk_get_hobject_promote_mask((thr), (idx), DUK_TYPE_MASK_LIGHTFUNC)
 
#define duk_push_hthread(thr, h)   duk_push_hobject((thr), (duk_hobject *) (h))
 
#define duk_push_hnatfunc(thr, h)   duk_push_hobject((thr), (duk_hobject *) (h))
 
#define duk_get_prop_stridx_short(thr, obj_idx, stridx)
 
#define duk_xget_owndataprop_stridx_short(thr, obj_idx, stridx)
 
#define duk_put_prop_stridx_short(thr, obj_idx, stridx)
 
#define duk_del_prop_stridx_short(thr, obj_idx, stridx)   duk_del_prop_stridx((thr), (obj_idx), (stridx))
 
#define duk_has_prop_stridx_short(thr, obj_idx, stridx)   duk_has_prop_stridx((thr), (obj_idx), (stridx))
 
#define duk_xdef_prop_stridx_short(thr, obj_idx, stridx, desc_flags)
 
#define duk_xdef_prop_wec(thr, obj_idx)   duk_xdef_prop((thr), (obj_idx), DUK_PROPDESC_FLAGS_WEC)
 
#define duk_xdef_prop_index_wec(thr, obj_idx, arr_idx)   duk_xdef_prop_index((thr), (obj_idx), (arr_idx), DUK_PROPDESC_FLAGS_WEC)
 
#define duk_xdef_prop_stridx_wec(thr, obj_idx, stridx)   duk_xdef_prop_stridx((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC)
 
#define duk_xdef_prop_stridx_short_wec(thr, obj_idx, stridx)    duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC)
 
#define DUK_ASSERT_VALID_NEGIDX(thr, idx)    (DUK_ASSERT_EXPR((duk_int_t) (idx) < 0), DUK_ASSERT_EXPR(duk_is_valid_index((thr), (idx))))
 
#define DUK_ASSERT_VALID_POSIDX(thr, idx)    (DUK_ASSERT_EXPR((duk_int_t) (idx) >= 0), DUK_ASSERT_EXPR(duk_is_valid_index((thr), (idx))))
 
#define DUK_GET_TVAL_NEGIDX(thr, idx)   (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx))
 
#define DUK_GET_TVAL_POSIDX(thr, idx)   (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx))
 
#define DUK_GET_HOBJECT_NEGIDX(thr, idx)    (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_top + (idx)))
 
#define DUK_GET_HOBJECT_POSIDX(thr, idx)    (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx)))
 
#define DUK_GET_THIS_TVAL_PTR(thr)   (DUK_ASSERT_EXPR((thr)->valstack_bottom > (thr)->valstack), (thr)->valstack_bottom - 1)
 
#define DUK_HSTRING_H_INCLUDED
 
#define DUK_HSTRING_MAX_BYTELEN   (0x7fffffffUL)
 
#define DUK_HSTRING_FLAG_ASCII   DUK_HEAPHDR_USER_FLAG(0) /* string is ASCII, clen == blen */
 
#define DUK_HSTRING_FLAG_ARRIDX   DUK_HEAPHDR_USER_FLAG(1) /* string is a valid array index */
 
#define DUK_HSTRING_FLAG_SYMBOL   DUK_HEAPHDR_USER_FLAG(2) /* string is a symbol (invalid utf-8) */
 
#define DUK_HSTRING_FLAG_HIDDEN    DUK_HEAPHDR_USER_FLAG(3) /* string is a hidden symbol (implies symbol, Duktape 1.x internal string) */
 
#define DUK_HSTRING_FLAG_RESERVED_WORD   DUK_HEAPHDR_USER_FLAG(4) /* string is a reserved word (non-strict) */
 
#define DUK_HSTRING_FLAG_STRICT_RESERVED_WORD   DUK_HEAPHDR_USER_FLAG(5) /* string is a reserved word (strict) */
 
#define DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS   DUK_HEAPHDR_USER_FLAG(6) /* string is 'eval' or 'arguments' */
 
#define DUK_HSTRING_FLAG_EXTDATA   DUK_HEAPHDR_USER_FLAG(7) /* string data is external (duk_hstring_external) */
 
#define DUK_HSTRING_FLAG_PINNED_LITERAL   DUK_HEAPHDR_USER_FLAG(8) /* string is a literal, and pinned */
 
#define DUK_HSTRING_HAS_ASCII(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ASCII)
 
#define DUK_HSTRING_HAS_ARRIDX(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ARRIDX)
 
#define DUK_HSTRING_HAS_SYMBOL(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL)
 
#define DUK_HSTRING_HAS_HIDDEN(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_HIDDEN)
 
#define DUK_HSTRING_HAS_RESERVED_WORD(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_RESERVED_WORD)
 
#define DUK_HSTRING_HAS_STRICT_RESERVED_WORD(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_STRICT_RESERVED_WORD)
 
#define DUK_HSTRING_HAS_EVAL_OR_ARGUMENTS(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS)
 
#define DUK_HSTRING_HAS_EXTDATA(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EXTDATA)
 
#define DUK_HSTRING_HAS_PINNED_LITERAL(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_PINNED_LITERAL)
 
#define DUK_HSTRING_SET_ASCII(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ASCII)
 
#define DUK_HSTRING_SET_ARRIDX(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ARRIDX)
 
#define DUK_HSTRING_SET_SYMBOL(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL)
 
#define DUK_HSTRING_SET_HIDDEN(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_HIDDEN)
 
#define DUK_HSTRING_SET_RESERVED_WORD(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_RESERVED_WORD)
 
#define DUK_HSTRING_SET_STRICT_RESERVED_WORD(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_STRICT_RESERVED_WORD)
 
#define DUK_HSTRING_SET_EVAL_OR_ARGUMENTS(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS)
 
#define DUK_HSTRING_SET_EXTDATA(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EXTDATA)
 
#define DUK_HSTRING_SET_PINNED_LITERAL(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_PINNED_LITERAL)
 
#define DUK_HSTRING_CLEAR_ASCII(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ASCII)
 
#define DUK_HSTRING_CLEAR_ARRIDX(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ARRIDX)
 
#define DUK_HSTRING_CLEAR_SYMBOL(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL)
 
#define DUK_HSTRING_CLEAR_HIDDEN(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_HIDDEN)
 
#define DUK_HSTRING_CLEAR_RESERVED_WORD(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_RESERVED_WORD)
 
#define DUK_HSTRING_CLEAR_STRICT_RESERVED_WORD(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_STRICT_RESERVED_WORD)
 
#define DUK_HSTRING_CLEAR_EVAL_OR_ARGUMENTS(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS)
 
#define DUK_HSTRING_CLEAR_EXTDATA(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EXTDATA)
 
#define DUK_HSTRING_CLEAR_PINNED_LITERAL(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_PINNED_LITERAL)
 
#define DUK_HSTRING_IS_ASCII(x)   DUK_HSTRING_HAS_ASCII((x)) /* lazily set! */
 
#define DUK_HSTRING_IS_EMPTY(x)   (DUK_HSTRING_GET_BYTELEN((x)) == 0)
 
#define DUK_HSTRING_GET_HASH(x)   ((x)->hash)
 
#define DUK_HSTRING_SET_HASH(x, v)
 
#define DUK_HSTRING_GET_BYTELEN(x)   ((x)->blen)
 
#define DUK_HSTRING_SET_BYTELEN(x, v)
 
#define DUK_HSTRING_GET_CHARLEN(x)   duk_hstring_get_charlen((x))
 
#define DUK_HSTRING_SET_CHARLEN(x, v)
 
#define DUK_HSTRING_GET_DATA(x)   ((const duk_uint8_t *) ((x) + 1))
 
#define DUK_HSTRING_GET_DATA_END(x)   (DUK_HSTRING_GET_DATA((x)) + (x)->blen)
 
#define DUK_HSTRING_NO_ARRAY_INDEX   (0xffffffffUL)
 
#define DUK_HSTRING_GET_ARRIDX_FAST(h)   ((h)->arridx)
 
#define DUK_HSTRING_GET_ARRIDX_SLOW(h)   ((h)->arridx)
 
#define DUK_SYMBOL_TYPE_HIDDEN   0
 
#define DUK_SYMBOL_TYPE_GLOBAL   1
 
#define DUK_SYMBOL_TYPE_LOCAL   2
 
#define DUK_SYMBOL_TYPE_WELLKNOWN   3
 
#define DUK_HSTRING_ASSERT_VALID(h)
 
#define DUK_HOBJECT_H_INCLUDED
 
#define DUK_HOBJECT_FLAG_EXTENSIBLE   DUK_HEAPHDR_USER_FLAG(0) /* object is extensible */
 
#define DUK_HOBJECT_FLAG_CONSTRUCTABLE   DUK_HEAPHDR_USER_FLAG(1) /* object is constructable */
 
#define DUK_HOBJECT_FLAG_CALLABLE   DUK_HEAPHDR_USER_FLAG(2) /* object is callable */
 
#define DUK_HOBJECT_FLAG_BOUNDFUNC   DUK_HEAPHDR_USER_FLAG(3) /* object established using Function.prototype.bind() */
 
#define DUK_HOBJECT_FLAG_COMPFUNC   DUK_HEAPHDR_USER_FLAG(4) /* object is a compiled function (duk_hcompfunc) */
 
#define DUK_HOBJECT_FLAG_NATFUNC   DUK_HEAPHDR_USER_FLAG(5) /* object is a native function (duk_hnatfunc) */
 
#define DUK_HOBJECT_FLAG_BUFOBJ   DUK_HEAPHDR_USER_FLAG(6) /* object is a buffer object (duk_hbufobj) (always exotic) */
 
#define DUK_HOBJECT_FLAG_FASTREFS    DUK_HEAPHDR_USER_FLAG(7) /* object has no fields needing DECREF/marking beyond base duk_hobject header */
 
#define DUK_HOBJECT_FLAG_ARRAY_PART   DUK_HEAPHDR_USER_FLAG(8) /* object has an array part (a_size may still be 0) */
 
#define DUK_HOBJECT_FLAG_STRICT   DUK_HEAPHDR_USER_FLAG(9) /* function: function object is strict */
 
#define DUK_HOBJECT_FLAG_NOTAIL   DUK_HEAPHDR_USER_FLAG(10) /* function: function must not be tail called */
 
#define DUK_HOBJECT_FLAG_NEWENV   DUK_HEAPHDR_USER_FLAG(11) /* function: create new environment when called (see duk_hcompfunc) */
 
#define DUK_HOBJECT_FLAG_NAMEBINDING
 
#define DUK_HOBJECT_FLAG_CREATEARGS   DUK_HEAPHDR_USER_FLAG(13) /* function: create an arguments object on function call */
 
#define DUK_HOBJECT_FLAG_HAVE_FINALIZER   DUK_HEAPHDR_USER_FLAG(14) /* object has a callable (own) finalizer property */
 
#define DUK_HOBJECT_FLAG_EXOTIC_ARRAY   DUK_HEAPHDR_USER_FLAG(15) /* 'Array' object, array length and index exotic behavior */
 
#define DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ   DUK_HEAPHDR_USER_FLAG(16) /* 'String' object, array index exotic behavior */
 
#define DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS    DUK_HEAPHDR_USER_FLAG(17) /* 'Arguments' object and has arguments exotic behavior (non-strict callee) */
 
#define DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ   DUK_HEAPHDR_USER_FLAG(18) /* 'Proxy' object */
 
#define DUK_HOBJECT_FLAG_SPECIAL_CALL   DUK_HEAPHDR_USER_FLAG(19) /* special casing in call behavior, for .call(), .apply(), etc. */
 
#define DUK_HOBJECT_FLAG_CLASS_BASE   DUK_HEAPHDR_USER_FLAG_NUMBER(20)
 
#define DUK_HOBJECT_FLAG_CLASS_BITS   5
 
#define DUK_HOBJECT_GET_CLASS_NUMBER(h)    DUK_HEAPHDR_GET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS)
 
#define DUK_HOBJECT_SET_CLASS_NUMBER(h, v)    DUK_HEAPHDR_SET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS, (v))
 
#define DUK_HOBJECT_GET_CLASS_MASK(h)    (1UL << DUK_HEAPHDR_GET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS))
 
#define DUK_HOBJECT_CLASS_AS_FLAGS(v)   (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE)
 
#define DUK_HOBJECT_CLASS_NONE   0
 
#define DUK_HOBJECT_CLASS_OBJECT   1
 
#define DUK_HOBJECT_CLASS_ARRAY   2
 
#define DUK_HOBJECT_CLASS_FUNCTION   3
 
#define DUK_HOBJECT_CLASS_ARGUMENTS   4
 
#define DUK_HOBJECT_CLASS_BOOLEAN   5
 
#define DUK_HOBJECT_CLASS_DATE   6
 
#define DUK_HOBJECT_CLASS_ERROR   7
 
#define DUK_HOBJECT_CLASS_JSON   8
 
#define DUK_HOBJECT_CLASS_MATH   9
 
#define DUK_HOBJECT_CLASS_NUMBER   10
 
#define DUK_HOBJECT_CLASS_REGEXP   11
 
#define DUK_HOBJECT_CLASS_STRING   12
 
#define DUK_HOBJECT_CLASS_GLOBAL   13
 
#define DUK_HOBJECT_CLASS_SYMBOL   14
 
#define DUK_HOBJECT_CLASS_OBJENV   15 /* custom */
 
#define DUK_HOBJECT_CLASS_DECENV   16 /* custom */
 
#define DUK_HOBJECT_CLASS_POINTER   17 /* custom */
 
#define DUK_HOBJECT_CLASS_THREAD   18 /* custom; implies DUK_HOBJECT_IS_THREAD */
 
#define DUK_HOBJECT_CLASS_BUFOBJ_MIN   19
 
#define DUK_HOBJECT_CLASS_ARRAYBUFFER   19 /* implies DUK_HOBJECT_IS_BUFOBJ */
 
#define DUK_HOBJECT_CLASS_DATAVIEW   20
 
#define DUK_HOBJECT_CLASS_INT8ARRAY   21
 
#define DUK_HOBJECT_CLASS_UINT8ARRAY   22
 
#define DUK_HOBJECT_CLASS_UINT8CLAMPEDARRAY   23
 
#define DUK_HOBJECT_CLASS_INT16ARRAY   24
 
#define DUK_HOBJECT_CLASS_UINT16ARRAY   25
 
#define DUK_HOBJECT_CLASS_INT32ARRAY   26
 
#define DUK_HOBJECT_CLASS_UINT32ARRAY   27
 
#define DUK_HOBJECT_CLASS_FLOAT32ARRAY   28
 
#define DUK_HOBJECT_CLASS_FLOAT64ARRAY   29
 
#define DUK_HOBJECT_CLASS_BUFOBJ_MAX   29
 
#define DUK_HOBJECT_CLASS_MAX   29
 
#define DUK_HOBJECT_CMASK_ALL   ((1UL << (DUK_HOBJECT_CLASS_MAX + 1)) - 1UL)
 
#define DUK_HOBJECT_CMASK_NONE   (1UL << DUK_HOBJECT_CLASS_NONE)
 
#define DUK_HOBJECT_CMASK_ARGUMENTS   (1UL << DUK_HOBJECT_CLASS_ARGUMENTS)
 
#define DUK_HOBJECT_CMASK_ARRAY   (1UL << DUK_HOBJECT_CLASS_ARRAY)
 
#define DUK_HOBJECT_CMASK_BOOLEAN   (1UL << DUK_HOBJECT_CLASS_BOOLEAN)
 
#define DUK_HOBJECT_CMASK_DATE   (1UL << DUK_HOBJECT_CLASS_DATE)
 
#define DUK_HOBJECT_CMASK_ERROR   (1UL << DUK_HOBJECT_CLASS_ERROR)
 
#define DUK_HOBJECT_CMASK_FUNCTION   (1UL << DUK_HOBJECT_CLASS_FUNCTION)
 
#define DUK_HOBJECT_CMASK_JSON   (1UL << DUK_HOBJECT_CLASS_JSON)
 
#define DUK_HOBJECT_CMASK_MATH   (1UL << DUK_HOBJECT_CLASS_MATH)
 
#define DUK_HOBJECT_CMASK_NUMBER   (1UL << DUK_HOBJECT_CLASS_NUMBER)
 
#define DUK_HOBJECT_CMASK_OBJECT   (1UL << DUK_HOBJECT_CLASS_OBJECT)
 
#define DUK_HOBJECT_CMASK_REGEXP   (1UL << DUK_HOBJECT_CLASS_REGEXP)
 
#define DUK_HOBJECT_CMASK_STRING   (1UL << DUK_HOBJECT_CLASS_STRING)
 
#define DUK_HOBJECT_CMASK_GLOBAL   (1UL << DUK_HOBJECT_CLASS_GLOBAL)
 
#define DUK_HOBJECT_CMASK_SYMBOL   (1UL << DUK_HOBJECT_CLASS_SYMBOL)
 
#define DUK_HOBJECT_CMASK_OBJENV   (1UL << DUK_HOBJECT_CLASS_OBJENV)
 
#define DUK_HOBJECT_CMASK_DECENV   (1UL << DUK_HOBJECT_CLASS_DECENV)
 
#define DUK_HOBJECT_CMASK_POINTER   (1UL << DUK_HOBJECT_CLASS_POINTER)
 
#define DUK_HOBJECT_CMASK_ARRAYBUFFER   (1UL << DUK_HOBJECT_CLASS_ARRAYBUFFER)
 
#define DUK_HOBJECT_CMASK_DATAVIEW   (1UL << DUK_HOBJECT_CLASS_DATAVIEW)
 
#define DUK_HOBJECT_CMASK_INT8ARRAY   (1UL << DUK_HOBJECT_CLASS_INT8ARRAY)
 
#define DUK_HOBJECT_CMASK_UINT8ARRAY   (1UL << DUK_HOBJECT_CLASS_UINT8ARRAY)
 
#define DUK_HOBJECT_CMASK_UINT8CLAMPEDARRAY   (1UL << DUK_HOBJECT_CLASS_UINT8CLAMPEDARRAY)
 
#define DUK_HOBJECT_CMASK_INT16ARRAY   (1UL << DUK_HOBJECT_CLASS_INT16ARRAY)
 
#define DUK_HOBJECT_CMASK_UINT16ARRAY   (1UL << DUK_HOBJECT_CLASS_UINT16ARRAY)
 
#define DUK_HOBJECT_CMASK_INT32ARRAY   (1UL << DUK_HOBJECT_CLASS_INT32ARRAY)
 
#define DUK_HOBJECT_CMASK_UINT32ARRAY   (1UL << DUK_HOBJECT_CLASS_UINT32ARRAY)
 
#define DUK_HOBJECT_CMASK_FLOAT32ARRAY   (1UL << DUK_HOBJECT_CLASS_FLOAT32ARRAY)
 
#define DUK_HOBJECT_CMASK_FLOAT64ARRAY   (1UL << DUK_HOBJECT_CLASS_FLOAT64ARRAY)
 
#define DUK_HOBJECT_CMASK_ALL_BUFOBJS
 
#define DUK_HOBJECT_IS_OBJENV(h)   (DUK_HOBJECT_GET_CLASS_NUMBER((h)) == DUK_HOBJECT_CLASS_OBJENV)
 
#define DUK_HOBJECT_IS_DECENV(h)   (DUK_HOBJECT_GET_CLASS_NUMBER((h)) == DUK_HOBJECT_CLASS_DECENV)
 
#define DUK_HOBJECT_IS_ENV(h)   (DUK_HOBJECT_IS_OBJENV((h)) || DUK_HOBJECT_IS_DECENV((h)))
 
#define DUK_HOBJECT_IS_ARRAY(h)   DUK_HOBJECT_HAS_EXOTIC_ARRAY((h)) /* Rely on class Array <=> exotic Array */
 
#define DUK_HOBJECT_IS_BOUNDFUNC(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)
 
#define DUK_HOBJECT_IS_COMPFUNC(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)
 
#define DUK_HOBJECT_IS_NATFUNC(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)
 
#define DUK_HOBJECT_IS_BUFOBJ(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)
 
#define DUK_HOBJECT_IS_THREAD(h)   (DUK_HOBJECT_GET_CLASS_NUMBER((h)) == DUK_HOBJECT_CLASS_THREAD)
 
#define DUK_HOBJECT_IS_PROXY(h)   DUK_HOBJECT_HAS_EXOTIC_PROXYOBJ((h))
 
#define DUK_HOBJECT_IS_NONBOUND_FUNCTION(h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC | DUK_HOBJECT_FLAG_NATFUNC)
 
#define DUK_HOBJECT_IS_FUNCTION(h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC | DUK_HOBJECT_FLAG_COMPFUNC | DUK_HOBJECT_FLAG_NATFUNC)
 
#define DUK_HOBJECT_IS_CALLABLE(h)   DUK_HOBJECT_HAS_CALLABLE((h))
 
#define DUK_HOBJECT_EXOTIC_BEHAVIOR_FLAGS
 
#define DUK_HOBJECT_HAS_EXOTIC_BEHAVIOR(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_EXOTIC_BEHAVIOR_FLAGS)
 
#define DUK_HOBJECT_VIRTUAL_PROPERTY_FLAGS    (DUK_HOBJECT_FLAG_EXOTIC_ARRAY | DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ | DUK_HOBJECT_FLAG_BUFOBJ)
 
#define DUK_HOBJECT_HAS_VIRTUAL_PROPERTIES(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_VIRTUAL_PROPERTY_FLAGS)
 
#define DUK_HOBJECT_HAS_EXTENSIBLE(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXTENSIBLE)
 
#define DUK_HOBJECT_HAS_CONSTRUCTABLE(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CONSTRUCTABLE)
 
#define DUK_HOBJECT_HAS_CALLABLE(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CALLABLE)
 
#define DUK_HOBJECT_HAS_BOUNDFUNC(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)
 
#define DUK_HOBJECT_HAS_COMPFUNC(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)
 
#define DUK_HOBJECT_HAS_NATFUNC(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)
 
#define DUK_HOBJECT_HAS_BUFOBJ(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)
 
#define DUK_HOBJECT_HAS_FASTREFS(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_FASTREFS)
 
#define DUK_HOBJECT_HAS_ARRAY_PART(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_ARRAY_PART)
 
#define DUK_HOBJECT_HAS_STRICT(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT)
 
#define DUK_HOBJECT_HAS_NOTAIL(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NOTAIL)
 
#define DUK_HOBJECT_HAS_NEWENV(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NEWENV)
 
#define DUK_HOBJECT_HAS_NAMEBINDING(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NAMEBINDING)
 
#define DUK_HOBJECT_HAS_CREATEARGS(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CREATEARGS)
 
#define DUK_HOBJECT_HAS_HAVE_FINALIZER(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_HAVE_FINALIZER)
 
#define DUK_HOBJECT_HAS_EXOTIC_ARRAY(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARRAY)
 
#define DUK_HOBJECT_HAS_EXOTIC_STRINGOBJ(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ)
 
#define DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS)
 
#define DUK_HOBJECT_HAS_EXOTIC_PROXYOBJ(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ)
 
#define DUK_HOBJECT_HAS_SPECIAL_CALL(h)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_SPECIAL_CALL)
 
#define DUK_HOBJECT_SET_EXTENSIBLE(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXTENSIBLE)
 
#define DUK_HOBJECT_SET_CONSTRUCTABLE(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CONSTRUCTABLE)
 
#define DUK_HOBJECT_SET_CALLABLE(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CALLABLE)
 
#define DUK_HOBJECT_SET_BOUNDFUNC(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)
 
#define DUK_HOBJECT_SET_COMPFUNC(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)
 
#define DUK_HOBJECT_SET_NATFUNC(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)
 
#define DUK_HOBJECT_SET_BUFOBJ(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)
 
#define DUK_HOBJECT_SET_FASTREFS(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_FASTREFS)
 
#define DUK_HOBJECT_SET_ARRAY_PART(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_ARRAY_PART)
 
#define DUK_HOBJECT_SET_STRICT(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT)
 
#define DUK_HOBJECT_SET_NOTAIL(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NOTAIL)
 
#define DUK_HOBJECT_SET_NEWENV(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NEWENV)
 
#define DUK_HOBJECT_SET_NAMEBINDING(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NAMEBINDING)
 
#define DUK_HOBJECT_SET_CREATEARGS(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CREATEARGS)
 
#define DUK_HOBJECT_SET_HAVE_FINALIZER(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_HAVE_FINALIZER)
 
#define DUK_HOBJECT_SET_EXOTIC_ARRAY(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARRAY)
 
#define DUK_HOBJECT_SET_EXOTIC_STRINGOBJ(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ)
 
#define DUK_HOBJECT_SET_EXOTIC_ARGUMENTS(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS)
 
#define DUK_HOBJECT_SET_EXOTIC_PROXYOBJ(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ)
 
#define DUK_HOBJECT_SET_SPECIAL_CALL(h)   DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_SPECIAL_CALL)
 
#define DUK_HOBJECT_CLEAR_EXTENSIBLE(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXTENSIBLE)
 
#define DUK_HOBJECT_CLEAR_CONSTRUCTABLE(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CONSTRUCTABLE)
 
#define DUK_HOBJECT_CLEAR_CALLABLE(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CALLABLE)
 
#define DUK_HOBJECT_CLEAR_BOUNDFUNC(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)
 
#define DUK_HOBJECT_CLEAR_COMPFUNC(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)
 
#define DUK_HOBJECT_CLEAR_NATFUNC(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)
 
#define DUK_HOBJECT_CLEAR_BUFOBJ(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)
 
#define DUK_HOBJECT_CLEAR_FASTREFS(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_FASTREFS)
 
#define DUK_HOBJECT_CLEAR_ARRAY_PART(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_ARRAY_PART)
 
#define DUK_HOBJECT_CLEAR_STRICT(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT)
 
#define DUK_HOBJECT_CLEAR_NOTAIL(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NOTAIL)
 
#define DUK_HOBJECT_CLEAR_NEWENV(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NEWENV)
 
#define DUK_HOBJECT_CLEAR_NAMEBINDING(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NAMEBINDING)
 
#define DUK_HOBJECT_CLEAR_CREATEARGS(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CREATEARGS)
 
#define DUK_HOBJECT_CLEAR_HAVE_FINALIZER(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_HAVE_FINALIZER)
 
#define DUK_HOBJECT_CLEAR_EXOTIC_ARRAY(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARRAY)
 
#define DUK_HOBJECT_CLEAR_EXOTIC_STRINGOBJ(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ)
 
#define DUK_HOBJECT_CLEAR_EXOTIC_ARGUMENTS(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS)
 
#define DUK_HOBJECT_CLEAR_EXOTIC_PROXYOBJ(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ)
 
#define DUK_HOBJECT_CLEAR_SPECIAL_CALL(h)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_SPECIAL_CALL)
 
#define DUK_HOBJECT_PROHIBITS_FASTREFS(h)
 
#define DUK_HOBJECT_ALLOWS_FASTREFS(h)   (!DUK_HOBJECT_PROHIBITS_FASTREFS((h)))
 
#define DUK_PROPDESC_FLAG_WRITABLE   (1U << 0) /* E5 Section 8.6.1 */
 
#define DUK_PROPDESC_FLAG_ENUMERABLE   (1U << 1) /* E5 Section 8.6.1 */
 
#define DUK_PROPDESC_FLAG_CONFIGURABLE   (1U << 2) /* E5 Section 8.6.1 */
 
#define DUK_PROPDESC_FLAG_ACCESSOR   (1U << 3) /* accessor */
 
#define DUK_PROPDESC_FLAG_VIRTUAL
 
#define DUK_PROPDESC_FLAGS_MASK    (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_ENUMERABLE | DUK_PROPDESC_FLAG_CONFIGURABLE | DUK_PROPDESC_FLAG_ACCESSOR)
 
#define DUK_PROPDESC_FLAG_NO_OVERWRITE   (1U << 4) /* internal define property: skip write silently if exists */
 
#define DUK_PROPDESC_FLAGS_NONE   0
 
#define DUK_PROPDESC_FLAGS_W   (DUK_PROPDESC_FLAG_WRITABLE)
 
#define DUK_PROPDESC_FLAGS_E   (DUK_PROPDESC_FLAG_ENUMERABLE)
 
#define DUK_PROPDESC_FLAGS_C   (DUK_PROPDESC_FLAG_CONFIGURABLE)
 
#define DUK_PROPDESC_FLAGS_WE   (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_ENUMERABLE)
 
#define DUK_PROPDESC_FLAGS_WC   (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_CONFIGURABLE)
 
#define DUK_PROPDESC_FLAGS_EC   (DUK_PROPDESC_FLAG_ENUMERABLE | DUK_PROPDESC_FLAG_CONFIGURABLE)
 
#define DUK_PROPDESC_FLAGS_WEC   (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_ENUMERABLE | DUK_PROPDESC_FLAG_CONFIGURABLE)
 
#define DUK_GETDESC_FLAG_PUSH_VALUE   (1U << 0) /* push value to stack */
 
#define DUK_GETDESC_FLAG_IGNORE_PROTOLOOP   (1U << 1) /* don't throw for prototype loop */
 
#define DUK_HOBJECT_ASSERT_VALID(h)
 
#define DUK_HOBJECT_GET_PROPS(heap, h)   ((h)->props)
 
#define DUK_HOBJECT_SET_PROPS(heap, h, x)
 
#define DUK_HOBJECT_E_FLAG_PADDING(e_sz)   ((8 - (e_sz)) & 0x07)
 
#define DUK_HOBJECT_E_GET_KEY_BASE(heap, h)    ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue)))
 
#define DUK_HOBJECT_E_GET_VALUE_BASE(heap, h)   ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h))))
 
#define DUK_HOBJECT_E_GET_FLAGS_BASE(heap, h)
 
#define DUK_HOBJECT_A_GET_BASE(heap, h)
 
#define DUK_HOBJECT_H_GET_BASE(heap, h)
 
#define DUK_HOBJECT_P_COMPUTE_SIZE(n_ent, n_arr, n_hash)
 
#define DUK_HOBJECT_P_SET_REALLOC_PTRS(p_base, set_e_k, set_e_pv, set_e_f, set_a, set_h, n_ent, n_arr, n_hash)
 
#define DUK_HOBJECT_P_ALLOC_SIZE(h)    DUK_HOBJECT_P_COMPUTE_SIZE(DUK_HOBJECT_GET_ESIZE((h)), DUK_HOBJECT_GET_ASIZE((h)), DUK_HOBJECT_GET_HSIZE((h)))
 
#define DUK_HOBJECT_E_GET_KEY(heap, h, i)   (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_E_GET_KEY_PTR(heap, h, i)   (&DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_E_GET_VALUE(heap, h, i)   (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)   (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_E_GET_VALUE_TVAL(heap, h, i)   (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v)
 
#define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR(heap, h, i)   (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v)
 
#define DUK_HOBJECT_E_GET_VALUE_GETTER(heap, h, i)   (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get)
 
#define DUK_HOBJECT_E_GET_VALUE_GETTER_PTR(heap, h, i)   (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get)
 
#define DUK_HOBJECT_E_GET_VALUE_SETTER(heap, h, i)   (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set)
 
#define DUK_HOBJECT_E_GET_VALUE_SETTER_PTR(heap, h, i)   (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set)
 
#define DUK_HOBJECT_E_GET_FLAGS(heap, h, i)   (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_E_GET_FLAGS_PTR(heap, h, i)   (&DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_A_GET_VALUE(heap, h, i)   (DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_A_GET_VALUE_PTR(heap, h, i)   (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_H_GET_INDEX(heap, h, i)   (DUK_HOBJECT_H_GET_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_H_GET_INDEX_PTR(heap, h, i)   (&DUK_HOBJECT_H_GET_BASE((heap), (h))[(i)])
 
#define DUK_HOBJECT_E_SET_KEY(heap, h, i, k)
 
#define DUK_HOBJECT_E_SET_VALUE(heap, h, i, v)
 
#define DUK_HOBJECT_E_SET_VALUE_TVAL(heap, h, i, v)
 
#define DUK_HOBJECT_E_SET_VALUE_GETTER(heap, h, i, v)
 
#define DUK_HOBJECT_E_SET_VALUE_SETTER(heap, h, i, v)
 
#define DUK_HOBJECT_E_SET_FLAGS(heap, h, i, f)
 
#define DUK_HOBJECT_A_SET_VALUE(heap, h, i, v)
 
#define DUK_HOBJECT_A_SET_VALUE_TVAL(heap, h, i, v)   DUK_HOBJECT_A_SET_VALUE((heap), (h), (i), (v)) /* alias for above */
 
#define DUK_HOBJECT_H_SET_INDEX(heap, h, i, v)
 
#define DUK_HOBJECT_E_SET_FLAG_BITS(heap, h, i, mask)
 
#define DUK_HOBJECT_E_CLEAR_FLAG_BITS(heap, h, i, mask)
 
#define DUK_HOBJECT_E_SLOT_IS_WRITABLE(heap, h, i)   ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_WRITABLE) != 0)
 
#define DUK_HOBJECT_E_SLOT_IS_ENUMERABLE(heap, h, i)    ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ENUMERABLE) != 0)
 
#define DUK_HOBJECT_E_SLOT_IS_CONFIGURABLE(heap, h, i)    ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_CONFIGURABLE) != 0)
 
#define DUK_HOBJECT_E_SLOT_IS_ACCESSOR(heap, h, i)   ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0)
 
#define DUK_HOBJECT_E_SLOT_SET_WRITABLE(heap, h, i)   DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE)
 
#define DUK_HOBJECT_E_SLOT_SET_ENUMERABLE(heap, h, i)   DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ENUMERABLE)
 
#define DUK_HOBJECT_E_SLOT_SET_CONFIGURABLE(heap, h, i)    DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_CONFIGURABLE)
 
#define DUK_HOBJECT_E_SLOT_SET_ACCESSOR(heap, h, i)   DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR)
 
#define DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE(heap, h, i)   DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE)
 
#define DUK_HOBJECT_E_SLOT_CLEAR_ENUMERABLE(heap, h, i)    DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ENUMERABLE)
 
#define DUK_HOBJECT_E_SLOT_CLEAR_CONFIGURABLE(heap, h, i)    DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_CONFIGURABLE)
 
#define DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR(heap, h, i)   DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR)
 
#define DUK_PROPDESC_IS_WRITABLE(p)   (((p)->flags & DUK_PROPDESC_FLAG_WRITABLE) != 0)
 
#define DUK_PROPDESC_IS_ENUMERABLE(p)   (((p)->flags & DUK_PROPDESC_FLAG_ENUMERABLE) != 0)
 
#define DUK_PROPDESC_IS_CONFIGURABLE(p)   (((p)->flags & DUK_PROPDESC_FLAG_CONFIGURABLE) != 0)
 
#define DUK_PROPDESC_IS_ACCESSOR(p)   (((p)->flags & DUK_PROPDESC_FLAG_ACCESSOR) != 0)
 
#define DUK_HOBJECT_HASHIDX_UNUSED   0xffffffffUL
 
#define DUK_HOBJECT_HASHIDX_DELETED   0xfffffffeUL
 
#define DUK_HOBJECT_GET_ESIZE(h)   ((h)->e_size)
 
#define DUK_HOBJECT_SET_ESIZE(h, v)
 
#define DUK_HOBJECT_GET_ENEXT(h)   ((h)->e_next)
 
#define DUK_HOBJECT_SET_ENEXT(h, v)
 
#define DUK_HOBJECT_POSTINC_ENEXT(h)   ((h)->e_next++)
 
#define DUK_HOBJECT_GET_ASIZE(h)   ((h)->a_size)
 
#define DUK_HOBJECT_SET_ASIZE(h, v)
 
#define DUK_HOBJECT_GET_HSIZE(h)   ((h)->h_size)
 
#define DUK_HOBJECT_SET_HSIZE(h, v)
 
#define DUK_HOBJECT_PROTOTYPE_CHAIN_SANITY   10000L
 
#define DUK_HOBJECT_CLASS_NUMBER_TO_STRIDX(n)   duk_class_number_to_stridx[(n)]
 
#define DUK_HOBJECT_GET_CLASS_STRING(heap, h)    DUK_HEAP_GET_STRING((heap), DUK_HOBJECT_CLASS_NUMBER_TO_STRIDX(DUK_HOBJECT_GET_CLASS_NUMBER((h))))
 
#define DUK_HOBJECT_GET_PROTOTYPE(heap, h)   ((h)->prototype)
 
#define DUK_HOBJECT_SET_PROTOTYPE(heap, h, x)
 
#define DUK_HOBJECT_SET_PROTOTYPE_UPDREF(thr, h, p)   duk_hobject_set_prototype_updref((thr), (h), (p))
 
#define DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF(thr, h, proto)
 
#define DUK_HOBJECT_HAS_FINALIZER_FAST(heap, h)   duk_hobject_has_finalizer_fast_raw((h))
 
#define DUK_HOBJECT_MAX_PROPERTIES   0x3fffffffUL /* 2**30-1 ~= 1G properties */
 
#define DUK_HOBJECT_ALIGN_TARGET   8
 
#define DUK_PC2LINE_SKIP   64
 
#define DUK_PC2LINE_MAX_DIFF_LENGTH   (((DUK_PC2LINE_SKIP - 1) * 35 + 7) / 8)
 
#define DUK_DELPROP_FLAG_THROW   (1U << 0)
 
#define DUK_DELPROP_FLAG_FORCE   (1U << 1)
 
#define DUK_HCOMPFUNC_H_INCLUDED
 
#define DUK_HCOMPFUNC_GET_DATA(heap, h)   ((duk_hbuffer_fixed *) (void *) (h)->data)
 
#define DUK_HCOMPFUNC_SET_DATA(heap, h, v)
 
#define DUK_HCOMPFUNC_GET_FUNCS(heap, h)   ((h)->funcs)
 
#define DUK_HCOMPFUNC_SET_FUNCS(heap, h, v)
 
#define DUK_HCOMPFUNC_GET_BYTECODE(heap, h)   ((h)->bytecode)
 
#define DUK_HCOMPFUNC_SET_BYTECODE(heap, h, v)
 
#define DUK_HCOMPFUNC_GET_LEXENV(heap, h)   ((h)->lex_env)
 
#define DUK_HCOMPFUNC_SET_LEXENV(heap, h, v)
 
#define DUK_HCOMPFUNC_GET_VARENV(heap, h)   ((h)->var_env)
 
#define DUK_HCOMPFUNC_SET_VARENV(heap, h, v)
 
#define DUK_HCOMPFUNC_GET_BUFFER_BASE(heap, h)   DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h)))
 
#define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h)   ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h)))
 
#define DUK_HCOMPFUNC_GET_FUNCS_BASE(heap, h)   DUK_HCOMPFUNC_GET_FUNCS((heap), (h))
 
#define DUK_HCOMPFUNC_GET_CODE_BASE(heap, h)   DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))
 
#define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h)   ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h)))
 
#define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h)   ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h)))
 
#define DUK_HCOMPFUNC_GET_CODE_END(heap, h)
 
#define DUK_HCOMPFUNC_GET_CONSTS_SIZE(heap, h)
 
#define DUK_HCOMPFUNC_GET_FUNCS_SIZE(heap, h)
 
#define DUK_HCOMPFUNC_GET_CODE_SIZE(heap, h)
 
#define DUK_HCOMPFUNC_GET_CONSTS_COUNT(heap, h)   ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval)))
 
#define DUK_HCOMPFUNC_GET_FUNCS_COUNT(heap, h)   ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *)))
 
#define DUK_HCOMPFUNC_GET_CODE_COUNT(heap, h)   ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t)))
 
#define DUK_HCOMPFUNC_ASSERT_VALID(h)
 
#define DUK_HNATFUNC_H_INCLUDED
 
#define DUK_HNATFUNC_ASSERT_VALID(h)
 
#define DUK_HNATFUNC_NARGS_VARARGS   ((duk_int16_t) -1)
 
#define DUK_HNATFUNC_NARGS_MAX   ((duk_int16_t) 0x7fff)
 
#define DUK_HBOUNDFUNC_H_INCLUDED
 
#define DUK_HBOUNDFUNC_MAX_ARGS   0x20000000UL
 
#define DUK_HBOUNDFUNC_ASSERT_VALID(h)
 
#define DUK_HBUFOBJ_H_INCLUDED
 
#define DUK_HBUFOBJ_ELEM_UINT8   0
 
#define DUK_HBUFOBJ_ELEM_UINT8CLAMPED   1
 
#define DUK_HBUFOBJ_ELEM_INT8   2
 
#define DUK_HBUFOBJ_ELEM_UINT16   3
 
#define DUK_HBUFOBJ_ELEM_INT16   4
 
#define DUK_HBUFOBJ_ELEM_UINT32   5
 
#define DUK_HBUFOBJ_ELEM_INT32   6
 
#define DUK_HBUFOBJ_ELEM_FLOAT32   7
 
#define DUK_HBUFOBJ_ELEM_FLOAT64   8
 
#define DUK_HBUFOBJ_ELEM_MAX   8
 
#define DUK_HBUFOBJ_ASSERT_VALID(h)
 
#define DUK_HBUFOBJ_GET_SLICE_BASE(heap, h)
 
#define DUK_HBUFOBJ_FULL_SLICE(h)
 
#define DUK_HBUFOBJ_VALID_SLICE(h)
 
#define DUK_HBUFOBJ_VALID_BYTEOFFSET_INCL(h, off)    (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) < DUK_HBUFFER_GET_SIZE((h)->buf)))
 
#define DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL(h, off)    (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf)))
 
#define DUK_HBUFOBJ_CLAMP_BYTELENGTH(h, len)   (DUK_ASSERT_EXPR((h) != NULL), duk_hbufobj_clamp_bytelength((h), (len)))
 
#define DUK_HBUFOBJ_HAS_VIRTUAL_INDICES(h)   ((h)->is_typedarray)
 
#define DUK_HTHREAD_H_INCLUDED
 
#define DUK_VALSTACK_INITIAL_SIZE   96U
 
#define DUK_VALSTACK_INTERNAL_EXTRA   32U
 
#define DUK_VALSTACK_API_ENTRY_MINIMUM   DUK_API_ENTRY_STACK
 
#define DUK_ACT_FLAG_STRICT   (1U << 0) /* function executes in strict mode */
 
#define DUK_ACT_FLAG_TAILCALLED   (1U << 1) /* activation has tail called one or more times */
 
#define DUK_ACT_FLAG_CONSTRUCT   (1U << 2) /* function executes as a constructor (called via "new") */
 
#define DUK_ACT_FLAG_PREVENT_YIELD   (1U << 3) /* activation prevents yield (native call or "new") */
 
#define DUK_ACT_FLAG_DIRECT_EVAL   (1U << 4) /* activation is a direct eval call */
 
#define DUK_ACT_FLAG_CONSTRUCT_PROXY   (1U << 5) /* activation is for Proxy 'construct' call, special return value handling */
 
#define DUK_ACT_FLAG_BREAKPOINT_ACTIVE   (1U << 6) /* activation has active breakpoint(s) */
 
#define DUK_ACT_GET_FUNC(act)   ((act)->func)
 
#define DUK_TB_FLAG_NOBLAME_FILELINE   (1U << 0) /* don't report __FILE__ / __LINE__ as fileName/lineNumber */
 
#define DUK_CAT_TYPE_MASK   0x0000000fUL
 
#define DUK_CAT_TYPE_BITS   4
 
#define DUK_CAT_LABEL_MASK   0xffffff00UL
 
#define DUK_CAT_LABEL_BITS   24
 
#define DUK_CAT_LABEL_SHIFT   8
 
#define DUK_CAT_FLAG_CATCH_ENABLED   (1U << 4) /* catch part will catch */
 
#define DUK_CAT_FLAG_FINALLY_ENABLED   (1U << 5) /* finally part will catch */
 
#define DUK_CAT_FLAG_CATCH_BINDING_ENABLED   (1U << 6) /* request to create catch binding */
 
#define DUK_CAT_FLAG_LEXENV_ACTIVE   (1U << 7) /* catch or with binding is currently active */
 
#define DUK_CAT_TYPE_UNKNOWN   0
 
#define DUK_CAT_TYPE_TCF   1
 
#define DUK_CAT_TYPE_LABEL   2
 
#define DUK_CAT_GET_TYPE(c)   ((c)->flags & DUK_CAT_TYPE_MASK)
 
#define DUK_CAT_GET_LABEL(c)   (((c)->flags & DUK_CAT_LABEL_MASK) >> DUK_CAT_LABEL_SHIFT)
 
#define DUK_CAT_HAS_CATCH_ENABLED(c)   ((c)->flags & DUK_CAT_FLAG_CATCH_ENABLED)
 
#define DUK_CAT_HAS_FINALLY_ENABLED(c)   ((c)->flags & DUK_CAT_FLAG_FINALLY_ENABLED)
 
#define DUK_CAT_HAS_CATCH_BINDING_ENABLED(c)   ((c)->flags & DUK_CAT_FLAG_CATCH_BINDING_ENABLED)
 
#define DUK_CAT_HAS_LEXENV_ACTIVE(c)   ((c)->flags & DUK_CAT_FLAG_LEXENV_ACTIVE)
 
#define DUK_CAT_SET_CATCH_ENABLED(c)
 
#define DUK_CAT_SET_FINALLY_ENABLED(c)
 
#define DUK_CAT_SET_CATCH_BINDING_ENABLED(c)
 
#define DUK_CAT_SET_LEXENV_ACTIVE(c)
 
#define DUK_CAT_CLEAR_CATCH_ENABLED(c)
 
#define DUK_CAT_CLEAR_FINALLY_ENABLED(c)
 
#define DUK_CAT_CLEAR_CATCH_BINDING_ENABLED(c)
 
#define DUK_CAT_CLEAR_LEXENV_ACTIVE(c)
 
#define DUK_HTHREAD_GET_STRING(thr, idx)   ((thr)->strs[(idx)])
 
#define DUK_HTHREAD_STATE_INACTIVE   1 /* thread not currently running */
 
#define DUK_HTHREAD_STATE_RUNNING   2 /* thread currently running (only one at a time) */
 
#define DUK_HTHREAD_STATE_RESUMED   3 /* thread resumed another thread (active but not running) */
 
#define DUK_HTHREAD_STATE_YIELDED   4 /* thread has yielded */
 
#define DUK_HTHREAD_STATE_TERMINATED   5 /* thread has terminated */
 
#define DUK_HTHREAD_INTCTR_DEFAULT   (256L * 1024L)
 
#define DUK_HTHREAD_ASSERT_VALID(thr)
 
#define DUK_CTX_ASSERT_VALID(thr)
 
#define DUK_ASSERT_API_ENTRY(thr)
 
#define DUK_ASSERT_STRIDX_VALID(val)   DUK_ASSERT((duk_uint_t) (val) < DUK_HEAP_NUM_STRINGS)
 
#define DUK_ASSERT_BIDX_VALID(val)   DUK_ASSERT((duk_uint_t) (val) < DUK_NUM_BUILTINS)
 
#define DUK_HTHREAD_THIS_PTR(thr)    (DUK_ASSERT_EXPR((thr) != NULL), DUK_ASSERT_EXPR((thr)->valstack_bottom > (thr)->valstack), (thr)->valstack_bottom - 1)
 
#define DUK_HARRAY_H_INCLUDED
 
#define DUK_HARRAY_ASSERT_VALID(h)
 
#define DUK_HARRAY_LENGTH_WRITABLE(h)   (!(h)->length_nonwritable)
 
#define DUK_HARRAY_LENGTH_NONWRITABLE(h)   ((h)->length_nonwritable)
 
#define DUK_HARRAY_SET_LENGTH_WRITABLE(h)
 
#define DUK_HARRAY_SET_LENGTH_NONWRITABLE(h)
 
#define DUK_HENV_H_INCLUDED
 
#define DUK_HDECENV_ASSERT_VALID(h)
 
#define DUK_HOBJENV_ASSERT_VALID(h)
 
#define DUK_HBUFFER_H_INCLUDED
 
#define DUK_HBUFFER_FLAG_DYNAMIC   DUK_HEAPHDR_USER_FLAG(0) /* buffer is behind a pointer, dynamic or external */
 
#define DUK_HBUFFER_FLAG_EXTERNAL   DUK_HEAPHDR_USER_FLAG(1) /* buffer pointer is to an externally allocated buffer */
 
#define DUK_HBUFFER_HAS_DYNAMIC(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_DYNAMIC)
 
#define DUK_HBUFFER_HAS_EXTERNAL(x)   DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_EXTERNAL)
 
#define DUK_HBUFFER_SET_DYNAMIC(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_DYNAMIC)
 
#define DUK_HBUFFER_SET_EXTERNAL(x)   DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_EXTERNAL)
 
#define DUK_HBUFFER_CLEAR_DYNAMIC(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_DYNAMIC)
 
#define DUK_HBUFFER_CLEAR_EXTERNAL(x)   DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_EXTERNAL)
 
#define DUK_HBUFFER_MAX_BYTELEN   (0x7ffffffeUL)
 
#define DUK_HBUFFER_GET_SIZE(x)   (((duk_hbuffer *) (x))->size)
 
#define DUK_HBUFFER_SET_SIZE(x, v)
 
#define DUK_HBUFFER_ADD_SIZE(x, dv)
 
#define DUK_HBUFFER_SUB_SIZE(x, dv)
 
#define DUK_HBUFFER_FIXED_GET_SIZE(x)   DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x))
 
#define DUK_HBUFFER_FIXED_SET_SIZE(x, v)   DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x))
 
#define DUK_HBUFFER_DYNAMIC_GET_SIZE(x)   DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x))
 
#define DUK_HBUFFER_DYNAMIC_SET_SIZE(x, v)   DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v))
 
#define DUK_HBUFFER_DYNAMIC_ADD_SIZE(x, dv)   DUK_HBUFFER_ADD_SIZE((duk_hbuffer *) (x), (dv))
 
#define DUK_HBUFFER_DYNAMIC_SUB_SIZE(x, dv)   DUK_HBUFFER_SUB_SIZE((duk_hbuffer *) (x), (dv))
 
#define DUK_HBUFFER_EXTERNAL_GET_SIZE(x)   DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x))
 
#define DUK_HBUFFER_EXTERNAL_SET_SIZE(x, v)   DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v))
 
#define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x)   ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1))
 
#define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x)   ((x)->curr_alloc)
 
#define DUK_HBUFFER_DYNAMIC_SET_DATA_PTR(heap, x, v)
 
#define DUK_HBUFFER_DYNAMIC_SET_DATA_PTR_NULL(heap, x)
 
#define DUK_HBUFFER_EXTERNAL_GET_DATA_PTR(heap, x)   ((void *) (x)->curr_alloc)
 
#define DUK_HBUFFER_EXTERNAL_SET_DATA_PTR(heap, x, v)
 
#define DUK_HBUFFER_EXTERNAL_SET_DATA_PTR_NULL(heap, x)
 
#define DUK_HBUFFER_GET_DATA_PTR(heap, x)
 
#define DUK_HBUFFER_ASSERT_VALID(h)
 
#define DUK_HPROXY_H_INCLUDED
 
#define DUK_HPROXY_ASSERT_VALID(h)
 
#define DUK_HEAP_H_INCLUDED
 
#define DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED    (1U << 0) /* mark-and-sweep marking reached a recursion limit and must use multi-pass marking */
 
#define DUK_HEAP_FLAG_INTERRUPT_RUNNING   (1U << 1) /* executor interrupt running (used to avoid nested interrupts) */
 
#define DUK_HEAP_FLAG_FINALIZER_NORESCUE   (1U << 2) /* heap destruction ongoing, finalizer rescue no longer possible */
 
#define DUK_HEAP_FLAG_DEBUGGER_PAUSED   (1U << 3) /* debugger is paused: talk with debug client until step/resume */
 
#define DUK__HEAP_HAS_FLAGS(heap, bits)   ((heap)->flags & (bits))
 
#define DUK__HEAP_SET_FLAGS(heap, bits)
 
#define DUK__HEAP_CLEAR_FLAGS(heap, bits)
 
#define DUK_HEAP_HAS_MARKANDSWEEP_RECLIMIT_REACHED(heap)   DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED)
 
#define DUK_HEAP_HAS_INTERRUPT_RUNNING(heap)   DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_INTERRUPT_RUNNING)
 
#define DUK_HEAP_HAS_FINALIZER_NORESCUE(heap)   DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_FINALIZER_NORESCUE)
 
#define DUK_HEAP_HAS_DEBUGGER_PAUSED(heap)   DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_DEBUGGER_PAUSED)
 
#define DUK_HEAP_SET_MARKANDSWEEP_RECLIMIT_REACHED(heap)   DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED)
 
#define DUK_HEAP_SET_INTERRUPT_RUNNING(heap)   DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_INTERRUPT_RUNNING)
 
#define DUK_HEAP_SET_FINALIZER_NORESCUE(heap)   DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_FINALIZER_NORESCUE)
 
#define DUK_HEAP_SET_DEBUGGER_PAUSED(heap)   DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_DEBUGGER_PAUSED)
 
#define DUK_HEAP_CLEAR_MARKANDSWEEP_RECLIMIT_REACHED(heap)    DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED)
 
#define DUK_HEAP_CLEAR_INTERRUPT_RUNNING(heap)   DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_INTERRUPT_RUNNING)
 
#define DUK_HEAP_CLEAR_FINALIZER_NORESCUE(heap)   DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_FINALIZER_NORESCUE)
 
#define DUK_HEAP_CLEAR_DEBUGGER_PAUSED(heap)   DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_DEBUGGER_PAUSED)
 
#define DUK_LJ_TYPE_UNKNOWN   0 /* unused */
 
#define DUK_LJ_TYPE_THROW   1 /* value1 -> error object */
 
#define DUK_LJ_TYPE_YIELD   2 /* value1 -> yield value, iserror -> error / normal */
 
#define DUK_LJ_TYPE_RESUME   3 /* value1 -> resume value, value2 -> resumee thread, iserror -> error/normal */
 
#define DUK_LJ_TYPE_BREAK   4 /* value1 -> label number, pseudo-type to indicate a break continuation (for ENDFIN) */
 
#define DUK_LJ_TYPE_CONTINUE   5 /* value1 -> label number, pseudo-type to indicate a continue continuation (for ENDFIN) */
 
#define DUK_LJ_TYPE_RETURN   6 /* value1 -> return value, pseudo-type to indicate a return continuation (for ENDFIN) */
 
#define DUK_LJ_TYPE_NORMAL   7 /* no value, pseudo-type to indicate a normal continuation (for ENDFIN) */
 
#define DUK_MS_FLAG_EMERGENCY   (1U << 0)
 
#define DUK_MS_FLAG_POSTPONE_RESCUE   (1U << 1)
 
#define DUK_MS_FLAG_NO_OBJECT_COMPACTION   (1U << 2)
 
#define DUK_HEAP_SWITCH_THREAD(heap, newthr)   duk_heap_switch_thread((heap), (newthr))
 
#define DUK_STATS_INC(heap, fieldname)
 
#define DUK_HEAP_MARK_AND_SWEEP_TRIGGER_MULT   12800L /* 50x heap size */
 
#define DUK_HEAP_MARK_AND_SWEEP_TRIGGER_ADD   1024L
 
#define DUK_HEAP_MARK_AND_SWEEP_TRIGGER_SKIP   256L
 
#define DUK_GC_TORTURE(heap)
 
#define DUK_HEAP_STRCACHE_SIZE   4
 
#define DUK_HEAP_STRINGCACHE_NOCACHE_LIMIT   16 /* strings up to the this length are not cached */
 
#define DUK_HEAP_INSERT_INTO_HEAP_ALLOCATED(heap, hdr)   duk_heap_insert_into_heap_allocated((heap), (hdr))
 
#define DUK_HEAP_REMOVE_FROM_HEAP_ALLOCATED(heap, hdr)   duk_heap_remove_from_heap_allocated((heap), (hdr))
 
#define DUK_HEAP_INSERT_INTO_FINALIZE_LIST(heap, hdr)   duk_heap_insert_into_finalize_list((heap), (hdr))
 
#define DUK_HEAP_REMOVE_FROM_FINALIZE_LIST(heap, hdr)   duk_heap_remove_from_finalize_list((heap), (hdr))
 
#define DUK_HEAP_GET_STRING(heap, idx)   ((heap)->strs[(idx)])
 
#define DUK_ALLOC_RAW(heap, size)   ((heap)->alloc_func((heap)->heap_udata, (size)))
 
#define DUK_REALLOC_RAW(heap, ptr, newsize)   ((heap)->realloc_func((heap)->heap_udata, (void *) (ptr), (newsize)))
 
#define DUK_FREE_RAW(heap, ptr)   ((heap)->free_func((heap)->heap_udata, (void *) (ptr)))
 
#define DUK_ALLOC(heap, size)   duk_heap_mem_alloc((heap), (size))
 
#define DUK_ALLOC_ZEROED(heap, size)   duk_heap_mem_alloc_zeroed((heap), (size))
 
#define DUK_REALLOC(heap, ptr, newsize)   duk_heap_mem_realloc((heap), (ptr), (newsize))
 
#define DUK_REALLOC_INDIRECT(heap, cb, ud, newsize)   duk_heap_mem_realloc_indirect((heap), (cb), (ud), (newsize))
 
#define DUK_FREE(heap, ptr)   duk_heap_mem_free((heap), (ptr))
 
#define DUK_ALLOC_CHECKED(thr, size)   duk_heap_mem_alloc_checked((thr), (size))
 
#define DUK_ALLOC_CHECKED_ZEROED(thr, size)   duk_heap_mem_alloc_checked_zeroed((thr), (size))
 
#define DUK_FREE_CHECKED(thr, ptr)   duk_heap_mem_free((thr)->heap, (ptr))
 
#define DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_LIMIT
 
#define DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_EMERGENCY_LIMIT
 
#define DUK_HEAP_MAX_BREAKPOINTS   16
 
#define DUK_HEAP_DBG_RATELIMIT_OPCODES   4000
 
#define DUK_HEAP_DBG_RATELIMIT_MILLISECS   200
 
#define DUK_PAUSE_FLAG_ONE_OPCODE   (1U << 0) /* pause when a single opcode has been executed */
 
#define DUK_PAUSE_FLAG_ONE_OPCODE_ACTIVE   (1U << 1) /* one opcode pause actually active; artifact of current implementation */
 
#define DUK_PAUSE_FLAG_LINE_CHANGE   (1U << 2) /* pause when current line number changes */
 
#define DUK_PAUSE_FLAG_FUNC_ENTRY   (1U << 3) /* pause when entering a function */
 
#define DUK_PAUSE_FLAG_FUNC_EXIT   (1U << 4) /* pause when exiting current function */
 
#define DUK_PAUSE_FLAG_CAUGHT_ERROR   (1U << 5) /* pause when about to throw an error that is caught */
 
#define DUK_PAUSE_FLAG_UNCAUGHT_ERROR   (1U << 6) /* pause when about to throw an error that won't be caught */
 
#define DUK_ASSERT_LJSTATE_UNSET(heap)
 
#define DUK_ASSERT_LJSTATE_SET(heap)
 
#define DUK_HEAP_ASSERT_VALID(heap)
 
#define DUK_DEBUGGER_H_INCLUDED
 
#define DUK_DBG_IB_EOM   0x00
 
#define DUK_DBG_IB_REQUEST   0x01
 
#define DUK_DBG_IB_REPLY   0x02
 
#define DUK_DBG_IB_ERROR   0x03
 
#define DUK_DBG_IB_NOTIFY   0x04
 
#define DUK_DBG_IB_INT4   0x10
 
#define DUK_DBG_IB_STR4   0x11
 
#define DUK_DBG_IB_STR2   0x12
 
#define DUK_DBG_IB_BUF4   0x13
 
#define DUK_DBG_IB_BUF2   0x14
 
#define DUK_DBG_IB_UNUSED   0x15
 
#define DUK_DBG_IB_UNDEFINED   0x16
 
#define DUK_DBG_IB_NULL   0x17
 
#define DUK_DBG_IB_TRUE   0x18
 
#define DUK_DBG_IB_FALSE   0x19
 
#define DUK_DBG_IB_NUMBER   0x1a
 
#define DUK_DBG_IB_OBJECT   0x1b
 
#define DUK_DBG_IB_POINTER   0x1c
 
#define DUK_DBG_IB_LIGHTFUNC   0x1d
 
#define DUK_DBG_IB_HEAPPTR   0x1e
 
#define DUK_DBG_ERR_UNKNOWN   0x00
 
#define DUK_DBG_ERR_UNSUPPORTED   0x01
 
#define DUK_DBG_ERR_TOOMANY   0x02
 
#define DUK_DBG_ERR_NOTFOUND   0x03
 
#define DUK_DBG_ERR_APPLICATION   0x04
 
#define DUK_DBG_CMD_STATUS   0x01
 
#define DUK_DBG_CMD_UNUSED_2   0x02 /* Duktape 1.x: print notify */
 
#define DUK_DBG_CMD_UNUSED_3   0x03 /* Duktape 1.x: alert notify */
 
#define DUK_DBG_CMD_UNUSED_4   0x04 /* Duktape 1.x: log notify */
 
#define DUK_DBG_CMD_THROW   0x05
 
#define DUK_DBG_CMD_DETACHING   0x06
 
#define DUK_DBG_CMD_APPNOTIFY   0x07
 
#define DUK_DBG_CMD_BASICINFO   0x10
 
#define DUK_DBG_CMD_TRIGGERSTATUS   0x11
 
#define DUK_DBG_CMD_PAUSE   0x12
 
#define DUK_DBG_CMD_RESUME   0x13
 
#define DUK_DBG_CMD_STEPINTO   0x14
 
#define DUK_DBG_CMD_STEPOVER   0x15
 
#define DUK_DBG_CMD_STEPOUT   0x16
 
#define DUK_DBG_CMD_LISTBREAK   0x17
 
#define DUK_DBG_CMD_ADDBREAK   0x18
 
#define DUK_DBG_CMD_DELBREAK   0x19
 
#define DUK_DBG_CMD_GETVAR   0x1a
 
#define DUK_DBG_CMD_PUTVAR   0x1b
 
#define DUK_DBG_CMD_GETCALLSTACK   0x1c
 
#define DUK_DBG_CMD_GETLOCALS   0x1d
 
#define DUK_DBG_CMD_EVAL   0x1e
 
#define DUK_DBG_CMD_DETACH   0x1f
 
#define DUK_DBG_CMD_DUMPHEAP   0x20
 
#define DUK_DBG_CMD_GETBYTECODE   0x21
 
#define DUK_DBG_CMD_APPREQUEST   0x22
 
#define DUK_DBG_CMD_GETHEAPOBJINFO   0x23
 
#define DUK_DBG_CMD_GETOBJPROPDESC   0x24
 
#define DUK_DBG_CMD_GETOBJPROPDESCRANGE   0x25
 
#define DUK_DBG_PROPFLAG_SYMBOL   (1U << 8)
 
#define DUK_DBG_PROPFLAG_HIDDEN   (1U << 9)
 
#define DUK_DEBUG_H_INCLUDED
 
#define DUK_D(x)
 
#define DUK_DD(x)
 
#define DUK_DDD(x)
 
#define DUK_DPRINT   0 && /* args go here as a comma expression in parens */
 
#define DUK_DDPRINT   0 && /* args */
 
#define DUK_DDDPRINT   0 && /* args */
 
#define DUK_ERROR_H_INCLUDED
 
#define DUK_ERROR(thr, err, msg)
 
#define DUK_ERROR_RAW(thr, file, line, err, msg)
 
#define DUK_ERROR_FMT1(thr, err, fmt, arg1)
 
#define DUK_ERROR_RAW_FMT1(thr, file, line, err, fmt, arg1)
 
#define DUK_ERROR_FMT2(thr, err, fmt, arg1, arg2)
 
#define DUK_ERROR_RAW_FMT2(thr, file, line, err, fmt, arg1, arg2)
 
#define DUK_ERROR_FMT3(thr, err, fmt, arg1, arg2, arg3)
 
#define DUK_ERROR_RAW_FMT3(thr, file, line, err, fmt, arg1, arg2, arg3)
 
#define DUK_ERROR_FMT4(thr, err, fmt, arg1, arg2, arg3, arg4)
 
#define DUK_ERROR_RAW_FMT4(thr, file, line, err, fmt, arg1, arg2, arg3, arg4)
 
#define DUK_FATAL_WITHOUT_CONTEXT(msg)   duk_default_fatal_handler(NULL, (msg))
 
#define DUK_ERROR_REQUIRE_TYPE_INDEX(thr, idx, expectname, lowmemstr)
 
#define DUK_ERROR_INTERNAL(thr)
 
#define DUK_DCERROR_INTERNAL(thr)
 
#define DUK_ERROR_ALLOC_FAILED(thr)
 
#define DUK_ERROR_UNSUPPORTED(thr)
 
#define DUK_DCERROR_UNSUPPORTED(thr)
 
#define DUK_ERROR_ERROR(thr, msg)
 
#define DUK_ERROR_RANGE_INDEX(thr, idx)
 
#define DUK_ERROR_RANGE_PUSH_BEYOND(thr)
 
#define DUK_ERROR_RANGE_INVALID_ARGS(thr)
 
#define DUK_DCERROR_RANGE_INVALID_ARGS(thr)
 
#define DUK_ERROR_RANGE_INVALID_COUNT(thr)
 
#define DUK_DCERROR_RANGE_INVALID_COUNT(thr)
 
#define DUK_ERROR_RANGE_INVALID_LENGTH(thr)
 
#define DUK_DCERROR_RANGE_INVALID_LENGTH(thr)
 
#define DUK_ERROR_RANGE(thr, msg)
 
#define DUK_ERROR_EVAL(thr, msg)
 
#define DUK_ERROR_REFERENCE(thr, msg)
 
#define DUK_ERROR_SYNTAX(thr, msg)
 
#define DUK_ERROR_TYPE_INVALID_ARGS(thr)
 
#define DUK_DCERROR_TYPE_INVALID_ARGS(thr)
 
#define DUK_ERROR_TYPE_INVALID_STATE(thr)
 
#define DUK_DCERROR_TYPE_INVALID_STATE(thr)
 
#define DUK_ERROR_TYPE_INVALID_TRAP_RESULT(thr)
 
#define DUK_DCERROR_TYPE_INVALID_TRAP_RESULT(thr)
 
#define DUK_ERROR_TYPE(thr, msg)
 
#define DUK_ERROR_URI(thr, msg)
 
#define DUK_ASSERT(x)
 
#define DUK_ASSERT_EXPR(x)   ((void) 0)
 
#define DUK_ASSERT_DISABLE(x)
 
#define DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR(h)   /* no refcount check */
 
#define DUK_ASSERT_REFCOUNT_NONZERO_TVAL(tv)   /* no refcount check */
 
#define DUK_ASSERT_TOP(ctx, n)   DUK_ASSERT((duk_idx_t) duk_get_top((ctx)) == (duk_idx_t) (n))
 
#define DUK_ASSERT_DOUBLE_IS_NORMALIZED(dval)   /* nop */
 
#define DUK_ASSERT_VS_SPACE(thr)   DUK_ASSERT(thr->valstack_top < thr->valstack_end)
 
#define DUK_ASSERT_SET_GARBAGE(ptr, size)
 
#define DUK_VALSTACK_ASSERT_EXTRA
 
#define DUK_ASSERT_VALSTACK_SPACE(thr, n)   /* no valstack space check */
 
#define DUK_AUGMENT_FLAG_NOBLAME_FILELINE   (1U << 0) /* if set, don't blame C file/line for .fileName and .lineNumber */
 
#define DUK_AUGMENT_FLAG_SKIP_ONE   (1U << 1) /* if set, skip topmost activation in traceback construction */
 
#define DUK_UNICODE_H_INCLUDED
 
#define DUK_UNICODE_MAX_XUTF8_LENGTH   7 /* up to 36 bit codepoints */
 
#define DUK_UNICODE_MAX_XUTF8_BMP_LENGTH   3 /* all codepoints up to U+FFFF */
 
#define DUK_UNICODE_MAX_CESU8_LENGTH   6 /* all codepoints up to U+10FFFF */
 
#define DUK_UNICODE_MAX_CESU8_BMP_LENGTH   3 /* all codepoints up to U+FFFF */
 
#define DUK_UNICODE_CP_ZWNJ   0x200cL /* zero-width non-joiner */
 
#define DUK_UNICODE_CP_ZWJ   0x200dL /* zero-width joiner */
 
#define DUK_UNICODE_CP_REPLACEMENT_CHARACTER
 
#define DUK_ASC_NUL   0x00
 
#define DUK_ASC_SOH   0x01
 
#define DUK_ASC_STX   0x02
 
#define DUK_ASC_ETX   0x03
 
#define DUK_ASC_EOT   0x04
 
#define DUK_ASC_ENQ   0x05
 
#define DUK_ASC_ACK   0x06
 
#define DUK_ASC_BEL   0x07
 
#define DUK_ASC_BS   0x08
 
#define DUK_ASC_HT   0x09
 
#define DUK_ASC_LF   0x0a
 
#define DUK_ASC_VT   0x0b
 
#define DUK_ASC_FF   0x0c
 
#define DUK_ASC_CR   0x0d
 
#define DUK_ASC_SO   0x0e
 
#define DUK_ASC_SI   0x0f
 
#define DUK_ASC_DLE   0x10
 
#define DUK_ASC_DC1   0x11
 
#define DUK_ASC_DC2   0x12
 
#define DUK_ASC_DC3   0x13
 
#define DUK_ASC_DC4   0x14
 
#define DUK_ASC_NAK   0x15
 
#define DUK_ASC_SYN   0x16
 
#define DUK_ASC_ETB   0x17
 
#define DUK_ASC_CAN   0x18
 
#define DUK_ASC_EM   0x19
 
#define DUK_ASC_SUB   0x1a
 
#define DUK_ASC_ESC   0x1b
 
#define DUK_ASC_FS   0x1c
 
#define DUK_ASC_GS   0x1d
 
#define DUK_ASC_RS   0x1e
 
#define DUK_ASC_US   0x1f
 
#define DUK_ASC_SPACE   0x20
 
#define DUK_ASC_EXCLAMATION   0x21
 
#define DUK_ASC_DOUBLEQUOTE   0x22
 
#define DUK_ASC_HASH   0x23
 
#define DUK_ASC_DOLLAR   0x24
 
#define DUK_ASC_PERCENT   0x25
 
#define DUK_ASC_AMP   0x26
 
#define DUK_ASC_SINGLEQUOTE   0x27
 
#define DUK_ASC_LPAREN   0x28
 
#define DUK_ASC_RPAREN   0x29
 
#define DUK_ASC_STAR   0x2a
 
#define DUK_ASC_PLUS   0x2b
 
#define DUK_ASC_COMMA   0x2c
 
#define DUK_ASC_MINUS   0x2d
 
#define DUK_ASC_PERIOD   0x2e
 
#define DUK_ASC_SLASH   0x2f
 
#define DUK_ASC_0   0x30
 
#define DUK_ASC_1   0x31
 
#define DUK_ASC_2   0x32
 
#define DUK_ASC_3   0x33
 
#define DUK_ASC_4   0x34
 
#define DUK_ASC_5   0x35
 
#define DUK_ASC_6   0x36
 
#define DUK_ASC_7   0x37
 
#define DUK_ASC_8   0x38
 
#define DUK_ASC_9   0x39
 
#define DUK_ASC_COLON   0x3a
 
#define DUK_ASC_SEMICOLON   0x3b
 
#define DUK_ASC_LANGLE   0x3c
 
#define DUK_ASC_EQUALS   0x3d
 
#define DUK_ASC_RANGLE   0x3e
 
#define DUK_ASC_QUESTION   0x3f
 
#define DUK_ASC_ATSIGN   0x40
 
#define DUK_ASC_UC_A   0x41
 
#define DUK_ASC_UC_B   0x42
 
#define DUK_ASC_UC_C   0x43
 
#define DUK_ASC_UC_D   0x44
 
#define DUK_ASC_UC_E   0x45
 
#define DUK_ASC_UC_F   0x46
 
#define DUK_ASC_UC_G   0x47
 
#define DUK_ASC_UC_H   0x48
 
#define DUK_ASC_UC_I   0x49
 
#define DUK_ASC_UC_J   0x4a
 
#define DUK_ASC_UC_K   0x4b
 
#define DUK_ASC_UC_L   0x4c
 
#define DUK_ASC_UC_M   0x4d
 
#define DUK_ASC_UC_N   0x4e
 
#define DUK_ASC_UC_O   0x4f
 
#define DUK_ASC_UC_P   0x50
 
#define DUK_ASC_UC_Q   0x51
 
#define DUK_ASC_UC_R   0x52
 
#define DUK_ASC_UC_S   0x53
 
#define DUK_ASC_UC_T   0x54
 
#define DUK_ASC_UC_U   0x55
 
#define DUK_ASC_UC_V   0x56
 
#define DUK_ASC_UC_W   0x57
 
#define DUK_ASC_UC_X   0x58
 
#define DUK_ASC_UC_Y   0x59
 
#define DUK_ASC_UC_Z   0x5a
 
#define DUK_ASC_LBRACKET   0x5b
 
#define DUK_ASC_BACKSLASH   0x5c
 
#define DUK_ASC_RBRACKET   0x5d
 
#define DUK_ASC_CARET   0x5e
 
#define DUK_ASC_UNDERSCORE   0x5f
 
#define DUK_ASC_GRAVE   0x60
 
#define DUK_ASC_LC_A   0x61
 
#define DUK_ASC_LC_B   0x62
 
#define DUK_ASC_LC_C   0x63
 
#define DUK_ASC_LC_D   0x64
 
#define DUK_ASC_LC_E   0x65
 
#define DUK_ASC_LC_F   0x66
 
#define DUK_ASC_LC_G   0x67
 
#define DUK_ASC_LC_H   0x68
 
#define DUK_ASC_LC_I   0x69
 
#define DUK_ASC_LC_J   0x6a
 
#define DUK_ASC_LC_K   0x6b
 
#define DUK_ASC_LC_L   0x6c
 
#define DUK_ASC_LC_M   0x6d
 
#define DUK_ASC_LC_N   0x6e
 
#define DUK_ASC_LC_O   0x6f
 
#define DUK_ASC_LC_P   0x70
 
#define DUK_ASC_LC_Q   0x71
 
#define DUK_ASC_LC_R   0x72
 
#define DUK_ASC_LC_S   0x73
 
#define DUK_ASC_LC_T   0x74
 
#define DUK_ASC_LC_U   0x75
 
#define DUK_ASC_LC_V   0x76
 
#define DUK_ASC_LC_W   0x77
 
#define DUK_ASC_LC_X   0x78
 
#define DUK_ASC_LC_Y   0x79
 
#define DUK_ASC_LC_Z   0x7a
 
#define DUK_ASC_LCURLY   0x7b
 
#define DUK_ASC_PIPE   0x7c
 
#define DUK_ASC_RCURLY   0x7d
 
#define DUK_ASC_TILDE   0x7e
 
#define DUK_ASC_DEL   0x7f
 
#define DUK_LOWERCASE_CHAR_ASCII(x)   ((x) | 0x20)
 
#define DUK_CANON_BITMAP_BLKSIZE   32
 
#define DUK_CANON_BITMAP_BLKSHIFT   5
 
#define DUK_CANON_BITMAP_BLKMASK   31
 
#define DUK_JSON_H_INCLUDED
 
#define DUK_JSON_FLAG_ASCII_ONLY   (1U << 0) /* escape any non-ASCII characters */
 
#define DUK_JSON_FLAG_AVOID_KEY_QUOTES   (1U << 1) /* avoid key quotes when key is an ASCII Identifier */
 
#define DUK_JSON_FLAG_EXT_CUSTOM   (1U << 2) /* extended types: custom encoding */
 
#define DUK_JSON_FLAG_EXT_COMPATIBLE   (1U << 3) /* extended types: compatible encoding */
 
#define DUK_JSON_ENC_REQSTACK   32
 
#define DUK_JSON_DEC_REQSTACK   32
 
#define DUK_JSON_ENC_LOOPARRAY   64
 
#define DUK_JS_H_INCLUDED
 
#define DUK_CALL_FLAG_TAILCALL   (1U << 0) /* setup for a tail call */
 
#define DUK_CALL_FLAG_CONSTRUCT   (1U << 1) /* constructor call (i.e. called as 'new Foo()') */
 
#define DUK_CALL_FLAG_CALLED_AS_EVAL   (1U << 2) /* call was made using the identifier 'eval' */
 
#define DUK_CALL_FLAG_ALLOW_ECMATOECMA   (1U << 3) /* ecma-to-ecma call with executor reuse is possible */
 
#define DUK_CALL_FLAG_DIRECT_EVAL   (1U << 4) /* call is a direct eval call */
 
#define DUK_CALL_FLAG_CONSTRUCT_PROXY   (1U << 5) /* handled via 'construct' proxy trap, check return value invariant(s) */
 
#define DUK_CALL_FLAG_DEFAULT_INSTANCE_UPDATED    (1U << 6) /* prototype of 'default instance' updated, temporary flag in call handling */
 
#define DUK_EQUALS_FLAG_SAMEVALUE   (1U << 0) /* use SameValue instead of non-strict equality */
 
#define DUK_EQUALS_FLAG_STRICT   (1U << 1) /* use strict equality instead of non-strict equality */
 
#define DUK_COMPARE_FLAG_NEGATE   (1U << 0) /* negate result */
 
#define DUK_COMPARE_FLAG_EVAL_LEFT_FIRST   (1U << 1) /* eval left argument first */
 
#define duk_js_equals(thr, tv_x, tv_y)   duk_js_equals_helper((thr), (tv_x), (tv_y), 0)
 
#define duk_js_strict_equals(tv_x, tv_y)   duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT)
 
#define duk_js_samevalue(tv_x, tv_y)   duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_SAMEVALUE)
 
#define duk_js_lessthan(thr, tv_x, tv_y)   duk_js_compare_helper((thr), (tv_x), (tv_Y), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST)
 
#define duk_js_greaterthan(thr, tv_x, tv_y)   duk_js_compare_helper((thr), (tv_y), (tv_x), 0)
 
#define duk_js_lessthanorequal(thr, tv_x, tv_y)   duk_js_compare_helper((thr), (tv_y), (tv_x), DUK_COMPARE_FLAG_NEGATE)
 
#define duk_js_greaterthanorequal(thr, tv_x, tv_y)    duk_js_compare_helper((thr), (tv_x), (tv_y), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE)
 
#define DUK_NUMCONV_H_INCLUDED
 
#define DUK_N2S_FLAG_FIXED_FORMAT   (1U << 0)
 
#define DUK_N2S_FLAG_FORCE_EXP   (1U << 1)
 
#define DUK_N2S_FLAG_NO_ZERO_PAD   (1U << 2)
 
#define DUK_N2S_FLAG_FRACTION_DIGITS   (1U << 3)
 
#define DUK_S2N_MAX_EXPONENT   10000000L
 
#define DUK_S2N_FLAG_TRIM_WHITE   (1U << 0)
 
#define DUK_S2N_FLAG_ALLOW_EXP   (1U << 1)
 
#define DUK_S2N_FLAG_ALLOW_GARBAGE   (1U << 2)
 
#define DUK_S2N_FLAG_ALLOW_PLUS   (1U << 3)
 
#define DUK_S2N_FLAG_ALLOW_MINUS   (1U << 4)
 
#define DUK_S2N_FLAG_ALLOW_INF   (1U << 5)
 
#define DUK_S2N_FLAG_ALLOW_FRAC   (1U << 6)
 
#define DUK_S2N_FLAG_ALLOW_NAKED_FRAC   (1U << 7)
 
#define DUK_S2N_FLAG_ALLOW_EMPTY_FRAC   (1U << 8)
 
#define DUK_S2N_FLAG_ALLOW_EMPTY_AS_ZERO   (1U << 9)
 
#define DUK_S2N_FLAG_ALLOW_LEADING_ZERO   (1U << 10)
 
#define DUK_S2N_FLAG_ALLOW_AUTO_HEX_INT   (1U << 11)
 
#define DUK_S2N_FLAG_ALLOW_AUTO_LEGACY_OCT_INT   (1U << 12)
 
#define DUK_S2N_FLAG_ALLOW_AUTO_OCT_INT   (1U << 13)
 
#define DUK_S2N_FLAG_ALLOW_AUTO_BIN_INT   (1U << 14)
 
#define DUK_BUILTIN_PROTOS_H_INCLUDED
 
#define DUK_BI_DATE_ISO8601_BUFSIZE   40
 
#define DUK_SELFTEST_H_INCLUDED
 
#define DUK__REFCINIT(refc)   (refc) /*actual*/
 
#define DUK__ERRFMT_BUFSIZE   256 /* size for formatting buffers */
 
#define DUK__SER_MARKER   0xbf
 
#define DUK__SER_STRING   0x00
 
#define DUK__SER_NUMBER   0x01
 
#define DUK__BYTECODE_INITIAL_ALLOC   256
 
#define DUK__NO_FORMALS   0xffffffffUL
 
#define DUK__ASSERT_LEFT(n)
 
#define DUK__IDX_TYPE   0
 
#define DUK__IDX_ITAG   1
 
#define DUK__IDX_REFC   2
 
#define DUK__IDX_HBYTES   3
 
#define DUK__IDX_CLASS   4
 
#define DUK__IDX_PBYTES   5
 
#define DUK__IDX_ESIZE   6
 
#define DUK__IDX_ENEXT   7
 
#define DUK__IDX_ASIZE   8
 
#define DUK__IDX_HSIZE   9
 
#define DUK__IDX_BCBYTES   10
 
#define DUK__IDX_DBYTES   11
 
#define DUK__IDX_TSTATE   12
 
#define DUK__IDX_VARIANT   13
 
#define DUK__ASSERT_SPACE()
 
#define DUK__CHECK_SPACE()
 
#define DUK__PACK_ARGS(classnum, protobidx, elemtype, elemshift, istypedarray)    (((classnum) << 24) | ((protobidx) << 16) | ((elemtype) << 8) | ((elemshift) << 4) | (istypedarray))
 
#define DUK__ERROR_STASH_SHARED(code)
 
#define DUK__READABLE_SUMMARY_MAXCHARS   96 /* maximum supported by helper */
 
#define DUK__READABLE_STRING_MAXCHARS   32 /* for strings/symbols */
 
#define DUK__READABLE_ERRMSG_MAXCHARS   96 /* for error messages */
 
#define DUK__ARRAY_MID_JOIN_LIMIT   4096
 
#define DUK__ITER_EVERY   0
 
#define DUK__ITER_SOME   1
 
#define DUK__ITER_FOREACH   2
 
#define DUK__ITER_MAP   3
 
#define DUK__ITER_FILTER   4
 
#define DUK__BUFOBJ_FLAG_THROW   (1 << 0)
 
#define DUK__BUFOBJ_FLAG_PROMOTE   (1 << 1)
 
#define DUK__FLD_8BIT   0
 
#define DUK__FLD_16BIT   1
 
#define DUK__FLD_32BIT   2
 
#define DUK__FLD_FLOAT   3
 
#define DUK__FLD_DOUBLE   4
 
#define DUK__FLD_VARINT   5
 
#define DUK__FLD_BIGENDIAN   (1 << 3)
 
#define DUK__FLD_SIGNED   (1 << 4)
 
#define DUK__FLD_TYPEDARRAY   (1 << 5)
 
#define DUK__DPRINT_PARTS_AND_DPARTS(parts, dparts)
 
#define DUK__DPRINT_PARTS(parts)
 
#define DUK__DPRINT_DPARTS(dparts)
 
#define DUK__YEAR(x)   ((duk_uint8_t) ((x) -1970))
 
#define DUK__NUM_ISO8601_PARSER_PARTS   9
 
#define DUK__PI_YEAR   0
 
#define DUK__PI_MONTH   1
 
#define DUK__PI_DAY   2
 
#define DUK__PI_HOUR   3
 
#define DUK__PI_MINUTE   4
 
#define DUK__PI_SECOND   5
 
#define DUK__PI_MILLISECOND   6
 
#define DUK__PI_TZHOUR   7
 
#define DUK__PI_TZMINUTE   8
 
#define DUK__PM_YEAR   (1 << DUK__PI_YEAR)
 
#define DUK__PM_MONTH   (1 << DUK__PI_MONTH)
 
#define DUK__PM_DAY   (1 << DUK__PI_DAY)
 
#define DUK__PM_HOUR   (1 << DUK__PI_HOUR)
 
#define DUK__PM_MINUTE   (1 << DUK__PI_MINUTE)
 
#define DUK__PM_SECOND   (1 << DUK__PI_SECOND)
 
#define DUK__PM_MILLISECOND   (1 << DUK__PI_MILLISECOND)
 
#define DUK__PM_TZHOUR   (1 << DUK__PI_TZHOUR)
 
#define DUK__PM_TZMINUTE   (1 << DUK__PI_TZMINUTE)
 
#define DUK__SI_PLUS   0
 
#define DUK__SI_MINUS   1
 
#define DUK__SI_T   2
 
#define DUK__SI_SPACE   3
 
#define DUK__SI_COLON   4
 
#define DUK__SI_PERIOD   5
 
#define DUK__SI_Z   6
 
#define DUK__SI_NUL   7
 
#define DUK__SM_PLUS   (1 << DUK__SI_PLUS)
 
#define DUK__SM_MINUS   (1 << DUK__SI_MINUS)
 
#define DUK__SM_T   (1 << DUK__SI_T)
 
#define DUK__SM_SPACE   (1 << DUK__SI_SPACE)
 
#define DUK__SM_COLON   (1 << DUK__SI_COLON)
 
#define DUK__SM_PERIOD   (1 << DUK__SI_PERIOD)
 
#define DUK__SM_Z   (1 << DUK__SI_Z)
 
#define DUK__SM_NUL   (1 << DUK__SI_NUL)
 
#define DUK__CF_NEG   (1 << 0) /* continue matching, set neg_tzoffset flag */
 
#define DUK__CF_ACCEPT   (1 << 1) /* accept string */
 
#define DUK__CF_ACCEPT_NUL   (1 << 2) /* accept string if next char is NUL (otherwise reject) */
 
#define DUK__PACK_RULE(partmask, sepmask, nextpart, flags)
 
#define DUK__UNPACK_RULE(rule, var_nextidx, var_flags)
 
#define DUK__RULE_MASK_PART_SEP   0x1ffffUL
 
#define DUK__LOCAL_TZOFFSET_MAXITER   4
 
#define DUK__WEEKDAY_MOD_ADDER   (20000000 * 7) /* 0x08583b00 */
 
#define DUK__STRPTIME_BUF_SIZE   64
 
#define DUK__STRFTIME_BUF_SIZE   64
 
#define DUK__CP_CONTINUE   (-1) /* continue to next byte, no completed codepoint */
 
#define DUK__CP_ERROR   (-2) /* decoding error */
 
#define DUK__CP_RETRY   (-3) /* decoding error; retry last byte */
 
#define DUK__OUTPUT_TYPE_TRACEBACK   (-1)
 
#define DUK__OUTPUT_TYPE_FILENAME   0
 
#define DUK__OUTPUT_TYPE_LINENUMBER   1
 
#define DUK__MKBITS(a, b, c, d, e, f, g, h)    ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7)))
 
#define DUK__CHECK_BITMASK(table, cp)   ((table)[(cp) >> 3] & (1 << ((cp) &0x07)))
 
#define DUK__JSON_DECSTR_BUFSIZE   128
 
#define DUK__JSON_DECSTR_CHUNKSIZE   64
 
#define DUK__JSON_ENCSTR_CHUNKSIZE   64
 
#define DUK__JSON_STRINGIFY_BUFSIZE   128
 
#define DUK__JSON_MAX_ESC_LEN   10 /* '\Udeadbeef' */
 
#define DUK__EMIT_1(js_ctx, ch)   duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch))
 
#define DUK__EMIT_2(js_ctx, ch1, ch2)   duk__emit_2((js_ctx), (duk_uint_fast8_t) (ch1), (duk_uint_fast8_t) (ch2))
 
#define DUK__EMIT_HSTR(js_ctx, h)   duk__emit_hstring((js_ctx), (h))
 
#define DUK__EMIT_CSTR(js_ctx, p)   duk__emit_cstring((js_ctx), (p))
 
#define DUK__EMIT_STRIDX(js_ctx, i)   duk__emit_stridx((js_ctx), (i))
 
#define DUK__UNEMIT_1(js_ctx)   duk__unemit_1((js_ctx))
 
#define DUK__MKESC(nybbles, esc1, esc2)    (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2))
 
#define DUK__RZ_SUPPRESS_ASSERT1()
 
#define DUK__RZ_SUPPRESS_ASSERT2()
 
#define DUK__RZ_SUPPRESS_COND()   (heap->ms_running != 0)
 
#define DUK__RZ_SUPPRESS_CHECK()
 
#define DUK__RZ_STRING()
 
#define DUK__RZ_BUFFER()
 
#define DUK__RZ_OBJECT()
 
#define DUK__RZ_INLINE   DUK_ALWAYS_INLINE
 
#define DUK__DECREF_ASSERTS()
 
#define DUK__INCREF_SHARED()
 
#define DUK__DECREF_SHARED()
 
#define DUK__STRTAB_RESIZE_CHECK
 
#define DUK__HEAPPTR_ENC16(heap, ptr)   (ptr)
 
#define DUK__HEAPPTR_DEC16(heap, val)   (val)
 
#define DUK__GET_STRTABLE(heap)   ((heap)->strtable)
 
#define DUK__STRTAB_U32_MAX_STRLEN   10 /* 4'294'967'295 */
 
#define DUK__ENUM_START_INDEX   2
 
#define DUK__NO_ARRAY_INDEX   DUK_HSTRING_NO_ARRAY_INDEX
 
#define DUK__HASH_UNUSED   DUK_HOBJECT_HASHIDX_UNUSED
 
#define DUK__HASH_DELETED   DUK_HOBJECT_HASHIDX_DELETED
 
#define DUK__VALSTACK_SPACE   10
 
#define DUK__VALSTACK_PROXY_LOOKUP   20
 
#define DUK__PROP_FLAGS_BITS   3
 
#define DUK__LENGTH_PROP_BITS   3
 
#define DUK__NARGS_BITS   3
 
#define DUK__PROP_TYPE_BITS   3
 
#define DUK__NARGS_VARARGS_MARKER   0x07
 
#define DUK__PROP_TYPE_DOUBLE   0
 
#define DUK__PROP_TYPE_STRING   1
 
#define DUK__PROP_TYPE_STRIDX   2
 
#define DUK__PROP_TYPE_BUILTIN   3
 
#define DUK__PROP_TYPE_UNDEFINED   4
 
#define DUK__PROP_TYPE_BOOLEAN_TRUE   5
 
#define DUK__PROP_TYPE_BOOLEAN_FALSE   6
 
#define DUK__PROP_TYPE_ACCESSOR   7
 
#define DUK__AUGMENT_CALL_RELAX_COUNT   (10 + 2)
 
#define DUK__CALL_HANDLING_REQUIRE_STACK   8
 
#define DUK__CONST_MARKER   DUK_REGCONST_CONST_MARKER
 
#define DUK__REMOVECONST(x)   ((x) & ~DUK__CONST_MARKER)
 
#define DUK__ISREG(x)   ((x) >= 0)
 
#define DUK__ISCONST(x)   ((x) < 0)
 
#define DUK__ISREG_TEMP(comp_ctx, x)
 
#define DUK__ISREG_NOTTEMP(comp_ctx, x)
 
#define DUK__GETTEMP(comp_ctx)   ((comp_ctx)->curr_func.temp_next)
 
#define DUK__SETTEMP(comp_ctx, x)   ((comp_ctx)->curr_func.temp_next = (x)) /* dangerous: must only lower (temp_max not updated) */
 
#define DUK__SETTEMP_CHECKMAX(comp_ctx, x)   duk__settemp_checkmax((comp_ctx), (x))
 
#define DUK__ALLOCTEMP(comp_ctx)   duk__alloctemp((comp_ctx))
 
#define DUK__ALLOCTEMPS(comp_ctx, count)   duk__alloctemps((comp_ctx), (count))
 
#define DUK__MAX_ARRAY_INIT_VALUES   20
 
#define DUK__MAX_OBJECT_INIT_PAIRS   10
 
#define DUK__GETCONST_MAX_CONSTS_CHECK   256
 
#define DUK__MAX_CONSTS   DUK_BC_BC_MAX
 
#define DUK__MAX_FUNCS   DUK_BC_BC_MAX
 
#define DUK__MAX_TEMPS   0xffffL
 
#define DUK__BC_INITIAL_INSTS   256
 
#define DUK__RECURSION_INCREASE(comp_ctx, thr)
 
#define DUK__RECURSION_DECREASE(comp_ctx, thr)
 
#define DUK__COMPILE_ENTRY_SLOTS   8
 
#define DUK__FUNCTION_INIT_REQUIRE_SLOTS   16
 
#define DUK__FUNCTION_BODY_REQUIRE_SLOTS   16
 
#define DUK__PARSE_STATEMENTS_SLOTS   16
 
#define DUK__PARSE_EXPR_SLOTS   16
 
#define DUK__FUNC_FLAG_DECL   (1 << 0) /* Parsing a function declaration. */
 
#define DUK__FUNC_FLAG_GETSET   (1 << 1) /* Parsing an object literal getter/setter. */
 
#define DUK__FUNC_FLAG_METDEF   (1 << 2) /* Parsing an object literal method definition shorthand. */
 
#define DUK__FUNC_FLAG_PUSHNAME_PASS1   (1 << 3) /* Push function name when creating template (first pass only). */
 
#define DUK__FUNC_FLAG_USE_PREVTOKEN   (1 << 4) /* Use prev_token to start function parsing (workaround for object literal). */
 
#define DUK__BP_INVALID   0 /* always terminates led() */
 
#define DUK__BP_EOF   2
 
#define DUK__BP_CLOSING   4 /* token closes expression, e.g. ')', ']' */
 
#define DUK__BP_FOR_EXPR   DUK__BP_CLOSING /* bp to use when parsing a top level Expression */
 
#define DUK__BP_COMMA   6
 
#define DUK__BP_ASSIGNMENT   8
 
#define DUK__BP_CONDITIONAL   10
 
#define DUK__BP_LOR   12
 
#define DUK__BP_LAND   14
 
#define DUK__BP_BOR   16
 
#define DUK__BP_BXOR   18
 
#define DUK__BP_BAND   20
 
#define DUK__BP_EQUALITY   22
 
#define DUK__BP_RELATIONAL   24
 
#define DUK__BP_SHIFT   26
 
#define DUK__BP_ADDITIVE   28
 
#define DUK__BP_MULTIPLICATIVE   30
 
#define DUK__BP_EXPONENTIATION   32
 
#define DUK__BP_POSTFIX   34
 
#define DUK__BP_CALL   36
 
#define DUK__BP_MEMBER   38
 
#define DUK__TOKEN_LBP_BP_MASK   0x1f
 
#define DUK__TOKEN_LBP_FLAG_NO_REGEXP   (1 << 5) /* regexp literal must not follow this token */
 
#define DUK__TOKEN_LBP_FLAG_TERMINATES   (1 << 6) /* terminates expression; e.g. post-increment/-decrement */
 
#define DUK__TOKEN_LBP_FLAG_UNUSED   (1 << 7) /* unused */
 
#define DUK__TOKEN_LBP_GET_BP(x)   ((duk_small_uint_t) (((x) &DUK__TOKEN_LBP_BP_MASK) * 2))
 
#define DUK__MK_LBP(bp)   ((bp) >> 1) /* bp is assumed to be even */
 
#define DUK__MK_LBP_FLAGS(bp, flags)   (((bp) >> 1) | (flags))
 
#define DUK__EMIT_FLAG_NO_SHUFFLE_A   (1 << 8)
 
#define DUK__EMIT_FLAG_NO_SHUFFLE_B   (1 << 9)
 
#define DUK__EMIT_FLAG_NO_SHUFFLE_C   (1 << 10)
 
#define DUK__EMIT_FLAG_A_IS_SOURCE   (1 << 11) /* slot A is a source (default: target) */
 
#define DUK__EMIT_FLAG_B_IS_TARGET   (1 << 12) /* slot B is a target (default: source) */
 
#define DUK__EMIT_FLAG_C_IS_TARGET   (1 << 13) /* slot C is a target (default: source) */
 
#define DUK__EMIT_FLAG_BC_REGCONST   (1 << 14) /* slots B and C are reg/const */
 
#define DUK__EMIT_FLAG_RESERVE_JUMPSLOT   (1 << 15) /* reserve a jumpslot after instr before target spilling, used for NEXTENUM */
 
#define DUK__IVAL_FLAG_ALLOW_CONST   (1 << 0) /* allow a constant to be returned */
 
#define DUK__IVAL_FLAG_REQUIRE_TEMP   (1 << 1) /* require a (mutable) temporary as a result (or a const if allowed) */
 
#define DUK__IVAL_FLAG_REQUIRE_SHORT   (1 << 2) /* require a short (8-bit) reg/const which fits into bytecode B/C slot */
 
#define DUK__DUMP_ISPEC(comp_ctx, x)
 
#define DUK__DUMP_IVALUE(comp_ctx, x)
 
#define DUK__OBJ_LIT_KEY_PLAIN   (1 << 0) /* key encountered as a plain property */
 
#define DUK__OBJ_LIT_KEY_GET   (1 << 1) /* key encountered as a getter */
 
#define DUK__OBJ_LIT_KEY_SET   (1 << 2) /* key encountered as a setter */
 
#define DUK__EXPR_RBP_MASK   0xff
 
#define DUK__EXPR_FLAG_REJECT_IN   (1 << 8) /* reject 'in' token (used for for-in) */
 
#define DUK__EXPR_FLAG_ALLOW_EMPTY   (1 << 9) /* allow empty expression */
 
#define DUK__EXPR_FLAG_REQUIRE_INIT   (1 << 10) /* require initializer for var/const */
 
#define DUK__HAS_VAL   (1 << 0) /* stmt has non-empty value */
 
#define DUK__HAS_TERM   (1 << 1) /* stmt has explicit/implicit semicolon terminator */
 
#define DUK__ALLOW_AUTO_SEMI_ALWAYS   (1 << 2) /* allow automatic semicolon even without lineterm (compatibility) */
 
#define DUK__STILL_PROLOGUE   (1 << 3) /* statement does not terminate directive prologue */
 
#define DUK__IS_TERMINAL   (1 << 4) /* statement is guaranteed to be terminal (control doesn't flow to next statement) */
 
#define DUK__REPLACE_TO_TVPTR(thr, tv_ptr)
 
#define DUK__LONGJMP_RESTART   0 /* state updated, restart bytecode execution */
 
#define DUK__LONGJMP_RETHROW   1 /* exit bytecode executor by rethrowing an error to caller */
 
#define DUK__RETHAND_RESTART   0 /* state updated, restart bytecode execution */
 
#define DUK__RETHAND_FINISHED   1 /* exit bytecode execution with return value */
 
#define DUK__INT_NOACTION   0 /* no specific action, resume normal execution */
 
#define DUK__INT_RESTART   1 /* must "goto restart_execution", e.g. breakpoints changed */
 
#define DUK__FUN()   ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr))
 
#define DUK__STRICT()   ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN()))
 
#define DUK__REG(x)   (*(thr->valstack_bottom + (x)))
 
#define DUK__REGP(x)   (thr->valstack_bottom + (x))
 
#define DUK__CONST(x)   (*(consts + (x)))
 
#define DUK__CONSTP(x)   (consts + (x))
 
#define DUK__RCBIT_B   DUK_BC_REGCONST_B
 
#define DUK__RCBIT_C   DUK_BC_REGCONST_C
 
#define DUK__TVAL_SHIFT   4 /* sizeof(duk_tval) == 16; not always the case so also asserted for */
 
#define DUK__SHIFT_A   (DUK_BC_SHIFT_A - DUK__TVAL_SHIFT)
 
#define DUK__SHIFT_B   (DUK_BC_SHIFT_B - DUK__TVAL_SHIFT)
 
#define DUK__SHIFT_C   (DUK_BC_SHIFT_C - DUK__TVAL_SHIFT)
 
#define DUK__SHIFT_BC   (DUK_BC_SHIFT_BC - DUK__TVAL_SHIFT)
 
#define DUK__MASK_A   (DUK_BC_UNSHIFTED_MASK_A << DUK__TVAL_SHIFT)
 
#define DUK__MASK_B   (DUK_BC_UNSHIFTED_MASK_B << DUK__TVAL_SHIFT)
 
#define DUK__MASK_C   (DUK_BC_UNSHIFTED_MASK_C << DUK__TVAL_SHIFT)
 
#define DUK__MASK_BC   (DUK_BC_UNSHIFTED_MASK_BC << DUK__TVAL_SHIFT)
 
#define DUK__BYTEOFF_A(ins)   (((ins) >> DUK__SHIFT_A) & DUK__MASK_A)
 
#define DUK__BYTEOFF_B(ins)   (((ins) >> DUK__SHIFT_B) & DUK__MASK_B)
 
#define DUK__BYTEOFF_C(ins)   (((ins) >> DUK__SHIFT_C) & DUK__MASK_C)
 
#define DUK__BYTEOFF_BC(ins)   (((ins) >> DUK__SHIFT_BC) & DUK__MASK_BC)
 
#define DUK__REGP_A(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins))))
 
#define DUK__REGP_B(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins))))
 
#define DUK__REGP_C(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins))))
 
#define DUK__REGP_BC(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins))))
 
#define DUK__CONSTP_A(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_A((ins))))
 
#define DUK__CONSTP_B(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins))))
 
#define DUK__CONSTP_C(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins))))
 
#define DUK__CONSTP_BC(ins)   ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins))))
 
#define DUK__REGCONSTP_B(ins)    ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins))))
 
#define DUK__REGCONSTP_C(ins)    ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins))))
 
#define DUK__INTERNAL_ERROR(msg)
 
#define DUK__SYNC_CURR_PC()
 
#define DUK__SYNC_AND_NULL_CURR_PC()
 
#define DUK__LOOKUP_INDIRECT(idx)
 
#define DUK__REPLACE_TOP_A_BREAK()
 
#define DUK__REPLACE_TOP_BC_BREAK()
 
#define DUK__REPLACE_BOOL_A_BREAK(bval)
 
#define DUK__EQ_BODY(barg, carg)
 
#define DUK__NEQ_BODY(barg, carg)
 
#define DUK__SEQ_BODY(barg, carg)
 
#define DUK__SNEQ_BODY(barg, carg)
 
#define DUK__COMPARE_BODY(arg1, arg2, flags)
 
#define DUK__GT_BODY(barg, carg)   DUK__COMPARE_BODY((carg), (barg), 0)
 
#define DUK__GE_BODY(barg, carg)   DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE)
 
#define DUK__LT_BODY(barg, carg)   DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST)
 
#define DUK__LE_BODY(barg, carg)   DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE)
 
#define DUK__INSTOF_BODY(barg, carg)
 
#define DUK__IN_BODY(barg, carg)
 
#define DUK__GETPROP_BODY(barg, carg)
 
#define DUK__GETPROPC_BODY(barg, carg)
 
#define DUK__PUTPROP_BODY(aarg, barg, carg)
 
#define DUK__DELPROP_BODY(barg, carg)
 
#define DUK__RETURN_SHARED()
 
#define DUK__MAX_RE_DECESC_DIGITS   9
 
#define DUK__MAX_RE_QUANT_DIGITS   9 /* Does not allow e.g. 2**31-1, but one more would allow overflows of u32. */
 
#define DUK__ISDIGIT(x)   ((x) >= DUK_ASC_0 && (x) <= DUK_ASC_9)
 
#define DUK__ISHEXDIGIT(x)   duk__is_hex_digit((x))
 
#define DUK__ISOCTDIGIT(x)   ((x) >= DUK_ASC_0 && (x) <= DUK_ASC_7)
 
#define DUK__ISDIGIT03(x)   ((x) >= DUK_ASC_0 && (x) <= DUK_ASC_3)
 
#define DUK__ISDIGIT47(x)   ((x) >= DUK_ASC_4 && (x) <= DUK_ASC_7)
 
#define DUK__LOOKUP(lex_ctx, idx)   ((lex_ctx)->window[(idx)].codepoint)
 
#define DUK__ADVANCECHARS(lex_ctx, count)   duk__advance_chars((lex_ctx), (count))
 
#define DUK__ADVANCEBYTES(lex_ctx, count)   duk__advance_bytes((lex_ctx), (count))
 
#define DUK__INITBUFFER(lex_ctx)   duk__initbuffer((lex_ctx))
 
#define DUK__APPENDBUFFER(lex_ctx, x)   duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x))
 
#define DUK__APPENDBUFFER_ASCII(lex_ctx, x)   duk__appendbuffer_ascii((lex_ctx), (duk_codepoint_t) (x))
 
#define DUK__L0()   DUK__LOOKUP(lex_ctx, 0)
 
#define DUK__L1()   DUK__LOOKUP(lex_ctx, 1)
 
#define DUK__L2()   DUK__LOOKUP(lex_ctx, 2)
 
#define DUK__L3()   DUK__LOOKUP(lex_ctx, 3)
 
#define DUK__L4()   DUK__LOOKUP(lex_ctx, 4)
 
#define DUK__L5()   DUK__LOOKUP(lex_ctx, 5)
 
#define DUK__ADVTOK(advbytes, tok)   ((((advbytes) * sizeof(duk_lexer_codepoint)) << 8) + (tok))
 
#define DUK__IEEE_DOUBLE_EXP_BIAS   1023
 
#define DUK__IEEE_DOUBLE_EXP_MIN   (-1022) /* biased exp == 0 -> denormal, exp -1022 */
 
#define DUK__DIGITCHAR(x)   duk_lc_digits[(x)]
 
#define DUK__BI_MAX_PARTS   37 /* 37x32 = 1184 bits */
 
#define DUK__BI_PRINT(name, x)
 
#define DUK__MAX_OUTPUT_DIGITS   1040 /* (Number.MAX_VALUE).toString(2).length == 1024, + slack */
 
#define DUK__MAX_FORMATTED_LENGTH   1040 /* (-Number.MAX_VALUE).toString(2).length == 1025, + slack */
 
#define DUK__NUMCONV_CTX_NUM_BIGINTS   7
 
#define DUK__NUMCONV_CTX_BIGINTS_SIZE   (sizeof(duk__bigint) * DUK__NUMCONV_CTX_NUM_BIGINTS)
 
#define DUK__DRAGON4_OUTPUT_PREINC(nc_ctx, preinc_idx, x)
 
#define DUK__NO_EXP   (65536) /* arbitrary marker, outside valid exp range */
 
#define DUK__RE_INITIAL_BUFSIZE   64
 
#define DUK__RE_BUFLEN(re_ctx)   DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw)
 
#define DUK__BITPACK_LETTER_LIMIT   26
 
#define DUK__BITPACK_LOOKUP1   26
 
#define DUK__BITPACK_LOOKUP2   27
 
#define DUK__BITPACK_SWITCH1   28
 
#define DUK__BITPACK_SWITCH   29
 
#define DUK__BITPACK_UNUSED1   30
 
#define DUK__BITPACK_EIGHTBIT   31
 
#define DUK__DOUBLE_INT_CAST1(tname, minval, maxval)
 
#define DUK__DOUBLE_INT_CAST2(tname, minval, maxval)
 
#define DUK__DOUBLE_INT_CAST3(tname, minval, maxval)
 
#define DUK__DOUBLE_INT_CAST4(tname, minval, maxval)
 
#define DUK__FLOAT_ROUND_LIMIT   340282356779733623858607532500980858880.0
 
#define DUK__FLOAT_MAX   340282346638528859811704183484516925440.0
 
#define DUK__RANDOM_SHAMIR3OP
 
#define DUK__UPDATE_RND(rnd)
 
#define DUK__RND_BIT(rnd)   ((rnd) >> 31) /* only use the highest bit */
 

Typedefs

typedef union duk_double_union duk_double_union
 
typedef union duk_float_union duk_float_union
 
typedef struct duk_jmpbuf duk_jmpbuf
 
typedef struct duk_heaphdr duk_heaphdr
 
typedef struct duk_heaphdr_string duk_heaphdr_string
 
typedef struct duk_harray duk_harray
 
typedef struct duk_hstring duk_hstring
 
typedef struct duk_hstring_external duk_hstring_external
 
typedef struct duk_hobject duk_hobject
 
typedef struct duk_hcompfunc duk_hcompfunc
 
typedef struct duk_hnatfunc duk_hnatfunc
 
typedef struct duk_hboundfunc duk_hboundfunc
 
typedef struct duk_hthread duk_hthread
 
typedef struct duk_hbufobj duk_hbufobj
 
typedef struct duk_hdecenv duk_hdecenv
 
typedef struct duk_hobjenv duk_hobjenv
 
typedef struct duk_hproxy duk_hproxy
 
typedef struct duk_hbuffer duk_hbuffer
 
typedef struct duk_hbuffer_fixed duk_hbuffer_fixed
 
typedef struct duk_hbuffer_dynamic duk_hbuffer_dynamic
 
typedef struct duk_hbuffer_external duk_hbuffer_external
 
typedef struct duk_propaccessor duk_propaccessor
 
typedef union duk_propvalue duk_propvalue
 
typedef struct duk_propdesc duk_propdesc
 
typedef struct duk_heap duk_heap
 
typedef struct duk_breakpoint duk_breakpoint
 
typedef struct duk_activation duk_activation
 
typedef struct duk_catcher duk_catcher
 
typedef struct duk_ljstate duk_ljstate
 
typedef struct duk_strcache_entry duk_strcache_entry
 
typedef struct duk_litcache_entry duk_litcache_entry
 
typedef struct duk_strtab_entry duk_strtab_entry
 
typedef struct duk_bitdecoder_ctx duk_bitdecoder_ctx
 
typedef struct duk_bitencoder_ctx duk_bitencoder_ctx
 
typedef struct duk_bufwriter_ctx duk_bufwriter_ctx
 
typedef struct duk_token duk_token
 
typedef struct duk_re_token duk_re_token
 
typedef struct duk_lexer_point duk_lexer_point
 
typedef struct duk_lexer_ctx duk_lexer_ctx
 
typedef struct duk_lexer_codepoint duk_lexer_codepoint
 
typedef struct duk_compiler_instr duk_compiler_instr
 
typedef struct duk_compiler_func duk_compiler_func
 
typedef struct duk_compiler_ctx duk_compiler_ctx
 
typedef struct duk_re_matcher_ctx duk_re_matcher_ctx
 
typedef struct duk_re_compiler_ctx duk_re_compiler_ctx
 
typedef struct duk_tval_struct duk_tval
 
typedef duk_uint32_t duk_instr_t
 
typedef void(* duk_re_range_callback) (void *user, duk_codepoint_t r1, duk_codepoint_t r2, duk_bool_t direct)
 
typedef duk_int32_t duk_regconst_t
 
typedef void *(* duk_mem_getptr) (duk_heap *heap, void *ud)
 
typedef union duk__u16_union duk__u16_union
 
typedef union duk__u32_union duk__u32_union
 
typedef struct duk__pcall_prop_args duk__pcall_prop_args
 
typedef struct duk__pcall_method_args duk__pcall_method_args
 
typedef struct duk__pcall_args duk__pcall_args
 
typedef struct duk__compile_raw_args duk__compile_raw_args
 
typedef struct duk_internal_thread_state duk_internal_thread_state
 
typedef duk_double_t(* duk__toint_coercer) (duk_hthread *thr, duk_tval *tv)
 
typedef void(* duk__transform_callback) (duk__transform_context *tfm_ctx, const void *udata, duk_codepoint_t cp)
 
typedef double(* duk__one_arg_func) (double)
 
typedef double(* duk__two_arg_func) (double, double)
 
typedef duk_double_t duk__sort_key_t
 

Functions

DUK_INTERNAL_DECL int duk_repl_fpclassify (double x)
 
DUK_INTERNAL_DECL int duk_repl_signbit (double x)
 
DUK_INTERNAL_DECL int duk_repl_isfinite (double x)
 
DUK_INTERNAL_DECL int duk_repl_isnan (double x)
 
DUK_INTERNAL_DECL int duk_repl_isinf (double x)
 
DUK_INTERNAL_DECL duk_double_t duk_tval_get_number_unpacked_fastint (duk_tval *tv)
 
DUK_INTERNAL_DECL void duk_tval_set_number_chkfast_fast (duk_tval *tv, duk_double_t x)
 
DUK_INTERNAL_DECL void duk_tval_set_number_chkfast_slow (duk_tval *tv, duk_double_t x)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_function_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_boolean_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_constructor_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_type_error_thrower (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_parse_int (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_parse_float (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_thread_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_pointer_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_proxy_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_symbol_constructor_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_arraybuffer_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_dataview_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_typedarray_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_textencoder_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_textdecoder_constructor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_eval (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_is_nan (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_is_finite (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_decode_uri (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_decode_uri_component (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_encode_uri (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_encode_uri_component (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_escape (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_global_object_unescape (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_getprototype_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_setprototype_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_get_own_property_descriptor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_keys_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_assign (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_create (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_define_property (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_define_properties (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_seal_freeze_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_prevent_extensions (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_is_sealed_frozen_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_is_extensible (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_constructor_is (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_to_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_to_locale_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_value_of (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_has_own_property (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_is_prototype_of (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_property_is_enumerable (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_defineaccessor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_object_prototype_lookupaccessor (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype_to_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype_apply (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype_call (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype_bind (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_function_prototype_hasinstance (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_native_function_length (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_native_function_name (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_constructor_is_array (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_to_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_join_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_concat (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_pop (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_push (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_reverse (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_shift (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_slice (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_sort (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_splice (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_unshift (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_indexof_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_iter_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_array_prototype_reduce_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_constructor_from_char_code (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_constructor_from_code_point (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_to_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_char_at (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_char_code_at (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_concat (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_indexof_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_locale_compare (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_match (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_replace (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_search (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_slice (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_split (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_substring (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_caseconv_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_trim (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_repeat (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_startswith_endswith (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_includes (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_string_prototype_substr (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_boolean_prototype_tostring_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_check_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_prototype_to_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_prototype_to_locale_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_prototype_value_of (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_prototype_to_fixed (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_prototype_to_exponential (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_number_prototype_to_precision (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_constructor_parse (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_constructor_utc (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_constructor_now (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_tostring_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_to_json (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_value_of (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_get_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_get_timezone_offset (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_set_time (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_set_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_date_prototype_toprimitive (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_prototype_exec (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_prototype_test (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_prototype_tostring (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_prototype_flags (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_regexp_prototype_shared_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_prototype_stack_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_prototype_stack_setter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_prototype_filename_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_prototype_filename_setter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_prototype_linenumber_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_prototype_linenumber_setter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_error_prototype_to_string (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_onearg_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_twoarg_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_clz32 (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_hypot (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_imul (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_max (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_min (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_random (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_math_object_sign (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_json_object_parse (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_json_object_stringify (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_duktape_object_info (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_duktape_object_act (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_duktape_object_gc (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_duktape_object_fin (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_duktape_object_enc (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_duktape_object_dec (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_duktape_object_compact (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_thread_yield (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_thread_resume (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_thread_current (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_pointer_prototype_tostring_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_reflect_apply (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_reflect_construct (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_reflect_object_delete_property (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_reflect_object_get (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_reflect_object_has (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_reflect_object_set (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_symbol_key_for (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_symbol_tostring_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_symbol_toprimitive (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_arraybuffer_isview (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_typedarray_bytelength_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_buffer_slice_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_typedarray_byteoffset_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_typedarray_buffer_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_buffer_readfield (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_buffer_writefield (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_typedarray_set (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_uint8array_allocplain (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_uint8array_plainof (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_concat (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_is_encoding (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_is_buffer (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_byte_length (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_buffer_compare_shared (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_tostring (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_tojson (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_fill (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_copy (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_nodejs_buffer_write (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_cbor_encode (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_cbor_decode (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_textencoder_prototype_encoding_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_textencoder_prototype_encode (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_textdecoder_prototype_shared_getter (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_textdecoder_prototype_decode (duk_context *ctx)
 
DUK_INTERNAL_DECL duk_ret_t duk_bi_performance_now (duk_context *ctx)
 
DUK_INTERNAL_DECL void duk_dblunion_host_to_little (duk_double_union *u)
 
DUK_INTERNAL_DECL void duk_dblunion_little_to_host (duk_double_union *u)
 
DUK_INTERNAL_DECL void duk_dblunion_host_to_big (duk_double_union *u)
 
DUK_INTERNAL_DECL void duk_dblunion_big_to_host (duk_double_union *u)
 
DUK_INTERNAL_DECL void duk_fltunion_host_to_big (duk_float_union *u)
 
DUK_INTERNAL_DECL void duk_fltunion_big_to_host (duk_float_union *u)
 
DUK_INTERNAL_DECL duk_uint32_t duk_bd_decode (duk_bitdecoder_ctx *ctx, duk_small_int_t bits)
 
DUK_INTERNAL_DECL duk_small_uint_t duk_bd_decode_flag (duk_bitdecoder_ctx *ctx)
 
DUK_INTERNAL_DECL duk_uint32_t duk_bd_decode_flagged (duk_bitdecoder_ctx *ctx, duk_small_int_t bits, duk_uint32_t def_value)
 
DUK_INTERNAL_DECL duk_int32_t duk_bd_decode_flagged_signed (duk_bitdecoder_ctx *ctx, duk_small_int_t bits, duk_int32_t def_value)
 
DUK_INTERNAL_DECL duk_uint32_t duk_bd_decode_varuint (duk_bitdecoder_ctx *ctx)
 
DUK_INTERNAL_DECL duk_small_uint_t duk_bd_decode_bitpacked_string (duk_bitdecoder_ctx *bd, duk_uint8_t *out)
 
DUK_INTERNAL_DECL void duk_be_encode (duk_bitencoder_ctx *ctx, duk_uint32_t data, duk_small_int_t bits)
 
DUK_INTERNAL_DECL void duk_be_finish (duk_bitencoder_ctx *ctx)
 
DUK_INTERNAL_DECL duk_double_t duk_util_tinyrandom_get_double (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_util_tinyrandom_prepare_seed (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_bw_init (duk_hthread *thr, duk_bufwriter_ctx *bw_ctx, duk_hbuffer_dynamic *h_buf)
 
DUK_INTERNAL_DECL void duk_bw_init_pushbuf (duk_hthread *thr, duk_bufwriter_ctx *bw_ctx, duk_size_t buf_size)
 
DUK_INTERNAL_DECL duk_uint8_t * duk_bw_resize (duk_hthread *thr, duk_bufwriter_ctx *bw_ctx, duk_size_t sz)
 
DUK_INTERNAL_DECL void duk_bw_compact (duk_hthread *thr, duk_bufwriter_ctx *bw_ctx)
 
DUK_INTERNAL_DECL void duk_bw_write_raw_slice (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t src_off, duk_size_t len)
 
DUK_INTERNAL_DECL void duk_bw_write_ensure_slice (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t src_off, duk_size_t len)
 
DUK_INTERNAL_DECL void duk_bw_insert_raw_bytes (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t dst_off, const duk_uint8_t *buf, duk_size_t len)
 
DUK_INTERNAL_DECL void duk_bw_insert_ensure_bytes (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t dst_off, const duk_uint8_t *buf, duk_size_t len)
 
DUK_INTERNAL_DECL void duk_bw_insert_raw_slice (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t dst_off, duk_size_t src_off, duk_size_t len)
 
DUK_INTERNAL_DECL void duk_bw_insert_ensure_slice (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t dst_off, duk_size_t src_off, duk_size_t len)
 
DUK_INTERNAL_DECL duk_uint8_t * duk_bw_insert_raw_area (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t off, duk_size_t len)
 
DUK_INTERNAL_DECL duk_uint8_t * duk_bw_insert_ensure_area (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t off, duk_size_t len)
 
DUK_INTERNAL_DECL void duk_bw_remove_raw_slice (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_size_t off, duk_size_t len)
 
DUK_INTERNAL_DECL duk_uint16_t duk_raw_read_u16_be (const duk_uint8_t *p)
 
DUK_INTERNAL_DECL duk_uint32_t duk_raw_read_u32_be (const duk_uint8_t *p)
 
DUK_INTERNAL_DECL duk_float_t duk_raw_read_float_be (const duk_uint8_t *p)
 
DUK_INTERNAL_DECL duk_double_t duk_raw_read_double_be (const duk_uint8_t *p)
 
DUK_INTERNAL_DECL duk_uint16_t duk_raw_readinc_u16_be (const duk_uint8_t **p)
 
DUK_INTERNAL_DECL duk_uint32_t duk_raw_readinc_u32_be (const duk_uint8_t **p)
 
DUK_INTERNAL_DECL duk_float_t duk_raw_readinc_float_be (const duk_uint8_t **p)
 
DUK_INTERNAL_DECL duk_double_t duk_raw_readinc_double_be (const duk_uint8_t **p)
 
DUK_INTERNAL_DECL void duk_raw_write_u16_be (duk_uint8_t *p, duk_uint16_t val)
 
DUK_INTERNAL_DECL void duk_raw_write_u32_be (duk_uint8_t *p, duk_uint32_t val)
 
DUK_INTERNAL_DECL void duk_raw_write_float_be (duk_uint8_t *p, duk_float_t val)
 
DUK_INTERNAL_DECL void duk_raw_write_double_be (duk_uint8_t *p, duk_double_t val)
 
DUK_INTERNAL_DECL duk_small_int_t duk_raw_write_xutf8 (duk_uint8_t *p, duk_ucodepoint_t val)
 
DUK_INTERNAL_DECL duk_small_int_t duk_raw_write_cesu8 (duk_uint8_t *p, duk_ucodepoint_t val)
 
DUK_INTERNAL_DECL void duk_raw_writeinc_u16_be (duk_uint8_t **p, duk_uint16_t val)
 
DUK_INTERNAL_DECL void duk_raw_writeinc_u32_be (duk_uint8_t **p, duk_uint32_t val)
 
DUK_INTERNAL_DECL void duk_raw_writeinc_float_be (duk_uint8_t **p, duk_float_t val)
 
DUK_INTERNAL_DECL void duk_raw_writeinc_double_be (duk_uint8_t **p, duk_double_t val)
 
DUK_INTERNAL_DECL void duk_raw_writeinc_xutf8 (duk_uint8_t **p, duk_ucodepoint_t val)
 
DUK_INTERNAL_DECL void duk_raw_writeinc_cesu8 (duk_uint8_t **p, duk_ucodepoint_t val)
 
DUK_INTERNAL_DECL duk_double_t duk_util_get_random_double (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_small_int_t duk_memcmp (const void *s1, const void *s2, duk_size_t len)
 
DUK_INTERNAL_DECL duk_small_int_t duk_memcmp_unsafe (const void *s1, const void *s2, duk_size_t len)
 
DUK_INTERNAL_DECL duk_bool_t duk_is_whole_get_int32_nonegzero (duk_double_t x, duk_int32_t *ival)
 
DUK_INTERNAL_DECL duk_bool_t duk_is_whole_get_int32 (duk_double_t x, duk_int32_t *ival)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_anyinf (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_posinf (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_neginf (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_nan (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_nan_or_zero (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_nan_or_inf (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_nan_zero_inf (duk_double_t x)
 
DUK_INTERNAL_DECL duk_small_uint_t duk_double_signbit (duk_double_t x)
 
DUK_INTERNAL_DECL duk_double_t duk_double_trunc_towards_zero (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_same_sign (duk_double_t x, duk_double_t y)
 
DUK_INTERNAL_DECL duk_double_t duk_double_fmin (duk_double_t x, duk_double_t y)
 
DUK_INTERNAL_DECL duk_double_t duk_double_fmax (duk_double_t x, duk_double_t y)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_finite (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_integer (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_is_safe_integer (duk_double_t x)
 
DUK_INTERNAL_DECL duk_double_t duk_double_div (duk_double_t x, duk_double_t y)
 
DUK_INTERNAL_DECL duk_int_t duk_double_to_int_t (duk_double_t x)
 
DUK_INTERNAL_DECL duk_uint_t duk_double_to_uint_t (duk_double_t x)
 
DUK_INTERNAL_DECL duk_int32_t duk_double_to_int32_t (duk_double_t x)
 
DUK_INTERNAL_DECL duk_uint32_t duk_double_to_uint32_t (duk_double_t x)
 
DUK_INTERNAL_DECL duk_float_t duk_double_to_float_t (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_double_equals (duk_double_t x, duk_double_t y)
 
DUK_INTERNAL_DECL duk_bool_t duk_float_equals (duk_float_t x, duk_float_t y)
 
DUK_INTERNAL_DECL void duk_lexer_initctx (duk_lexer_ctx *lex_ctx)
 
DUK_INTERNAL_DECL void duk_lexer_getpoint (duk_lexer_ctx *lex_ctx, duk_lexer_point *pt)
 
DUK_INTERNAL_DECL void duk_lexer_setpoint (duk_lexer_ctx *lex_ctx, duk_lexer_point *pt)
 
DUK_INTERNAL_DECL void duk_lexer_parse_js_input_element (duk_lexer_ctx *lex_ctx, duk_token *out_token, duk_bool_t strict_mode, duk_bool_t regexp_mode)
 
DUK_INTERNAL_DECL void duk_lexer_parse_re_token (duk_lexer_ctx *lex_ctx, duk_re_token *out_token)
 
DUK_INTERNAL_DECL void duk_lexer_parse_re_ranges (duk_lexer_ctx *lex_ctx, duk_re_range_callback gen_range, void *userdata)
 
DUK_INTERNAL_DECL void duk_js_compile (duk_hthread *thr, const duk_uint8_t *src_buffer, duk_size_t src_length, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL void duk_regexp_compile (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_regexp_create_instance (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_regexp_match (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_regexp_match_force_global (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_refzero_check_slow (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_refzero_check_fast (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_heaphdr_refcount_finalize_norz (duk_heap *heap, duk_heaphdr *hdr)
 
DUK_INTERNAL_DECL void duk_hobject_refcount_finalize_norz (duk_heap *heap, duk_hobject *h)
 
DUK_INTERNAL_DECL void duk_heaphdr_refzero (duk_hthread *thr, duk_heaphdr *h)
 
DUK_INTERNAL_DECL void duk_heaphdr_refzero_norz (duk_hthread *thr, duk_heaphdr *h)
 
DUK_INTERNAL_DECL void duk_hstring_refzero (duk_hthread *thr, duk_hstring *h)
 
DUK_INTERNAL_DECL void duk_hbuffer_refzero (duk_hthread *thr, duk_hbuffer *h)
 
DUK_INTERNAL_DECL void duk_hobject_refzero (duk_hthread *thr, duk_hobject *h)
 
DUK_INTERNAL_DECL void duk_hobject_refzero_norz (duk_hthread *thr, duk_hobject *h)
 
DUK_INTERNAL_DECL void duk_valstack_grow_check_throw (duk_hthread *thr, duk_size_t min_bytes)
 
DUK_INTERNAL_DECL duk_bool_t duk_valstack_grow_check_nothrow (duk_hthread *thr, duk_size_t min_bytes)
 
DUK_INTERNAL_DECL void duk_valstack_shrink_check_nothrow (duk_hthread *thr, duk_bool_t snug)
 
DUK_INTERNAL_DECL void duk_copy_tvals_incref (duk_hthread *thr, duk_tval *tv_dst, duk_tval *tv_src, duk_size_t count)
 
DUK_INTERNAL_DECL duk_tvalduk_reserve_gap (duk_hthread *thr, duk_idx_t idx_base, duk_idx_t count)
 
DUK_INTERNAL_DECL void duk_set_top_unsafe (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL void duk_set_top_and_wipe (duk_hthread *thr, duk_idx_t top, duk_idx_t idx_wipe_start)
 
DUK_INTERNAL_DECL void duk_dup_0 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_dup_1 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_dup_2 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_dup_m2 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_dup_m3 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_dup_m4 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_remove_unsafe (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL void duk_remove_m2 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_remove_n (duk_hthread *thr, duk_idx_t idx, duk_idx_t count)
 
DUK_INTERNAL_DECL void duk_remove_n_unsafe (duk_hthread *thr, duk_idx_t idx, duk_idx_t count)
 
DUK_INTERNAL_DECL duk_int_t duk_get_type_tval (duk_tval *tv)
 
DUK_INTERNAL_DECL duk_uint_t duk_get_type_mask_tval (duk_tval *tv)
 
DUK_INTERNAL_DECL duk_small_uint_t duk_get_class_number (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_tvalduk_get_tval (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_tvalduk_get_tval_or_unused (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_tvalduk_require_tval (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL void duk_push_tval (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL void duk_push_this_check_object_coercible (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_hobjectduk_push_this_coercible_to_object (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_hstringduk_push_this_coercible_to_string (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_hstringduk_push_uint_to_hstring (duk_hthread *thr, duk_uint_t i)
 
DUK_INTERNAL_DECL duk_tvalduk_get_borrowed_this_tval (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_bool_t duk_is_string_notsymbol (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_bool_t duk_is_callable_tval (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_bool_t duk_is_bare_object (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hstringduk_get_hstring (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hstringduk_get_hstring_notsymbol (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL const char * duk_get_string_notsymbol (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hobjectduk_get_hobject (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hbufferduk_get_hbuffer (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hthreadduk_get_hthread (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hcompfuncduk_get_hcompfunc (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hnatfuncduk_get_hnatfunc (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL void * duk_get_buffer_data_raw (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size, void *def_ptr, duk_size_t def_len, duk_bool_t throw_flag, duk_bool_t *out_isbuffer)
 
DUK_INTERNAL_DECL duk_hobjectduk_get_hobject_with_class (duk_hthread *thr, duk_idx_t idx, duk_small_uint_t classnum)
 
DUK_INTERNAL_DECL duk_hobjectduk_get_hobject_promote_mask (duk_hthread *thr, duk_idx_t idx, duk_uint_t type_mask)
 
DUK_INTERNAL_DECL duk_hobjectduk_require_hobject_promote_mask (duk_hthread *thr, duk_idx_t idx, duk_uint_t type_mask)
 
DUK_INTERNAL_DECL duk_hobjectduk_require_hobject_accept_mask (duk_hthread *thr, duk_idx_t idx, duk_uint_t type_mask)
 
DUK_INTERNAL_DECL duk_hstringduk_known_hstring (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hobjectduk_known_hobject (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hbufferduk_known_hbuffer (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hcompfuncduk_known_hcompfunc (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hnatfuncduk_known_hnatfunc (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_double_t duk_to_number_tval (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_hstringduk_to_hstring (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hstringduk_to_hstring_m1 (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_hstringduk_to_hstring_acceptsymbol (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hobjectduk_to_hobject (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_double_t duk_to_number_m1 (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_double_t duk_to_number_m2 (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_bool_t duk_to_boolean_top_pop (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_push_class_string_tval (duk_hthread *thr, duk_tval *tv, duk_bool_t avoid_side_effects)
 
DUK_INTERNAL_DECL duk_int_t duk_to_int_clamped_raw (duk_hthread *thr, duk_idx_t idx, duk_int_t minval, duk_int_t maxval, duk_bool_t *out_clamped)
 
DUK_INTERNAL_DECL duk_int_t duk_to_int_clamped (duk_hthread *thr, duk_idx_t idx, duk_int_t minval, duk_int_t maxval)
 
DUK_INTERNAL_DECL duk_int_t duk_to_int_check_range (duk_hthread *thr, duk_idx_t idx, duk_int_t minval, duk_int_t maxval)
 
DUK_INTERNAL_DECL duk_uint8_t duk_to_uint8clamped (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hstringduk_to_property_key_hstring (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hstringduk_require_hstring (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hstringduk_require_hstring_notsymbol (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL const char * duk_require_lstring_notsymbol (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len)
 
DUK_INTERNAL_DECL const char * duk_require_string_notsymbol (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hobjectduk_require_hobject (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hbufferduk_require_hbuffer (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hthreadduk_require_hthread (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hcompfuncduk_require_hcompfunc (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hnatfuncduk_require_hnatfunc (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_hobjectduk_require_hobject_with_class (duk_hthread *thr, duk_idx_t idx, duk_small_uint_t classnum)
 
DUK_INTERNAL_DECL void duk_push_hstring (duk_hthread *thr, duk_hstring *h)
 
DUK_INTERNAL_DECL void duk_push_hstring_stridx (duk_hthread *thr, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL void duk_push_hstring_empty (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_push_hobject (duk_hthread *thr, duk_hobject *h)
 
DUK_INTERNAL_DECL void duk_push_hbuffer (duk_hthread *thr, duk_hbuffer *h)
 
DUK_INTERNAL_DECL void duk_push_hobject_bidx (duk_hthread *thr, duk_small_int_t builtin_idx)
 
DUK_INTERNAL_DECL duk_hobjectduk_push_object_helper (duk_hthread *thr, duk_uint_t hobject_flags_and_class, duk_small_int_t prototype_bidx)
 
DUK_INTERNAL_DECL duk_hobjectduk_push_object_helper_proto (duk_hthread *thr, duk_uint_t hobject_flags_and_class, duk_hobject *proto)
 
DUK_INTERNAL_DECL duk_hcompfuncduk_push_hcompfunc (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_hboundfuncduk_push_hboundfunc (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_push_c_function_builtin (duk_hthread *thr, duk_c_function func, duk_int_t nargs)
 
DUK_INTERNAL_DECL void duk_push_c_function_builtin_noconstruct (duk_hthread *thr, duk_c_function func, duk_int_t nargs)
 
DUK_INTERNAL_DECL duk_harrayduk_push_harray (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_harrayduk_push_harray_with_size (duk_hthread *thr, duk_uint32_t size)
 
DUK_INTERNAL_DECL duk_tvalduk_push_harray_with_size_outptr (duk_hthread *thr, duk_uint32_t size)
 
DUK_INTERNAL_DECL void duk_push_string_funcptr (duk_hthread *thr, duk_uint8_t *ptr, duk_size_t sz)
 
DUK_INTERNAL_DECL void duk_push_lightfunc_name_raw (duk_hthread *thr, duk_c_function func, duk_small_uint_t lf_flags)
 
DUK_INTERNAL_DECL void duk_push_lightfunc_name (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL void duk_push_lightfunc_tostring (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_hbufobjduk_push_bufobj_raw (duk_hthread *thr, duk_uint_t hobject_flags_and_class, duk_small_int_t prototype_bidx)
 
DUK_INTERNAL_DECL void * duk_push_fixed_buffer_nozero (duk_hthread *thr, duk_size_t len)
 
DUK_INTERNAL_DECL void * duk_push_fixed_buffer_zero (duk_hthread *thr, duk_size_t len)
 
DUK_INTERNAL_DECL const char * duk_push_string_readable (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL const char * duk_push_string_tval_readable (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL const char * duk_push_string_tval_readable_error (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_bool_t duk_get_prop_stridx (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL duk_bool_t duk_get_prop_stridx_short_raw (duk_hthread *thr, duk_uint_t packed_args)
 
DUK_INTERNAL_DECL duk_bool_t duk_get_prop_stridx_boolean (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx, duk_bool_t *out_has_prop)
 
DUK_INTERNAL_DECL duk_bool_t duk_xget_owndataprop (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_INTERNAL_DECL duk_bool_t duk_xget_owndataprop_stridx (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL duk_bool_t duk_xget_owndataprop_stridx_short_raw (duk_hthread *thr, duk_uint_t packed_args)
 
DUK_INTERNAL_DECL duk_bool_t duk_put_prop_stridx (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL duk_bool_t duk_put_prop_stridx_short_raw (duk_hthread *thr, duk_uint_t packed_args)
 
DUK_INTERNAL_DECL duk_bool_t duk_del_prop_stridx (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL duk_bool_t duk_has_prop_stridx (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL void duk_xdef_prop (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t desc_flags)
 
DUK_INTERNAL_DECL void duk_xdef_prop_index (duk_hthread *thr, duk_idx_t obj_idx, duk_uarridx_t arr_idx, duk_small_uint_t desc_flags)
 
DUK_INTERNAL_DECL void duk_xdef_prop_stridx (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx, duk_small_uint_t desc_flags)
 
DUK_INTERNAL_DECL void duk_xdef_prop_stridx_short_raw (duk_hthread *thr, duk_uint_t packed_args)
 
DUK_INTERNAL_DECL void duk_xdef_prop_stridx_thrower (duk_hthread *thr, duk_idx_t obj_idx, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL duk_bool_t duk_get_method_stridx (duk_hthread *thr, duk_idx_t idx, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL void duk_pack (duk_hthread *thr, duk_idx_t count)
 
DUK_INTERNAL_DECL duk_idx_t duk_unpack_array_like (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL void duk_push_symbol_descriptive_string (duk_hthread *thr, duk_hstring *h)
 
DUK_INTERNAL_DECL void duk_resolve_nonbound_function (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_idx_t duk_get_top_require_min (duk_hthread *thr, duk_idx_t min_top)
 
DUK_INTERNAL_DECL duk_idx_t duk_get_top_index_unsafe (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_pop_n_unsafe (duk_hthread *thr, duk_idx_t count)
 
DUK_INTERNAL_DECL void duk_pop_unsafe (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_pop_2_unsafe (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_pop_3_unsafe (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_pop_n_nodecref_unsafe (duk_hthread *thr, duk_idx_t count)
 
DUK_INTERNAL_DECL void duk_pop_nodecref_unsafe (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_pop_2_nodecref_unsafe (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_pop_3_nodecref_unsafe (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_pop_undefined (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_compact_m1 (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_seal_freeze_raw (duk_hthread *thr, duk_idx_t obj_idx, duk_bool_t is_freeze)
 
DUK_INTERNAL_DECL void duk_insert_undefined (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL void duk_insert_undefined_n (duk_hthread *thr, duk_idx_t idx, duk_idx_t count)
 
DUK_INTERNAL_DECL void duk_concat_2 (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_int_t duk_pcall_method_flags (duk_hthread *thr, duk_idx_t nargs, duk_small_uint_t call_flags)
 
DUK_INTERNAL_DECL void duk_to_primitive_ordinary (duk_hthread *thr, duk_idx_t idx, duk_int_t hint)
 
DUK_INTERNAL_DECL void duk_clear_prototype (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL duk_double_t duk_time_get_ecmascript_time (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_double_t duk_time_get_ecmascript_time_nofrac (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_double_t duk_time_get_monotonic_time (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_ucodepoint_t duk_hstring_char_code_at_raw (duk_hthread *thr, duk_hstring *h, duk_uint_t pos, duk_bool_t surrogate_aware)
 
DUK_INTERNAL_DECL duk_bool_t duk_hstring_equals_ascii_cstring (duk_hstring *h, const char *cstr)
 
DUK_INTERNAL_DECL duk_size_t duk_hstring_get_charlen (duk_hstring *h)
 
DUK_INTERNAL_DECL duk_hobjectduk_hobject_alloc_unchecked (duk_heap *heap, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hobjectduk_hobject_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_harrayduk_harray_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hcompfuncduk_hcompfunc_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hnatfuncduk_hnatfunc_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hboundfuncduk_hboundfunc_alloc (duk_heap *heap, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hbufobjduk_hbufobj_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hthreadduk_hthread_alloc_unchecked (duk_heap *heap, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hthreadduk_hthread_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hdecenvduk_hdecenv_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hobjenvduk_hobjenv_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL duk_hproxyduk_hproxy_alloc (duk_hthread *thr, duk_uint_t hobject_flags)
 
DUK_INTERNAL_DECL void duk_hobject_realloc_props (duk_hthread *thr, duk_hobject *obj, duk_uint32_t new_e_size, duk_uint32_t new_a_size, duk_uint32_t new_h_size, duk_bool_t abandon_array)
 
DUK_INTERNAL_DECL void duk_hobject_resize_entrypart (duk_hthread *thr, duk_hobject *obj, duk_uint32_t new_e_size)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_find_entry (duk_heap *heap, duk_hobject *obj, duk_hstring *key, duk_int_t *e_idx, duk_int_t *h_idx)
 
DUK_INTERNAL_DECL duk_tvalduk_hobject_find_entry_tval_ptr (duk_heap *heap, duk_hobject *obj, duk_hstring *key)
 
DUK_INTERNAL_DECL duk_tvalduk_hobject_find_entry_tval_ptr_stridx (duk_heap *heap, duk_hobject *obj, duk_small_uint_t stridx)
 
DUK_INTERNAL_DECL duk_tvalduk_hobject_find_entry_tval_ptr_and_attrs (duk_heap *heap, duk_hobject *obj, duk_hstring *key, duk_uint_t *out_attrs)
 
DUK_INTERNAL_DECL duk_tvalduk_hobject_find_array_entry_tval_ptr (duk_heap *heap, duk_hobject *obj, duk_uarridx_t i)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_get_own_propdesc (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_propdesc *out_desc, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_getprop (duk_hthread *thr, duk_tval *tv_obj, duk_tval *tv_key)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_putprop (duk_hthread *thr, duk_tval *tv_obj, duk_tval *tv_key, duk_tval *tv_val, duk_bool_t throw_flag)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_delprop (duk_hthread *thr, duk_tval *tv_obj, duk_tval *tv_key, duk_bool_t throw_flag)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_hasprop (duk_hthread *thr, duk_tval *tv_obj, duk_tval *tv_key)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_delprop_raw (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_hasprop_raw (duk_hthread *thr, duk_hobject *obj, duk_hstring *key)
 
DUK_INTERNAL_DECL void duk_hobject_define_property_internal (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL void duk_hobject_define_property_internal_arridx (duk_hthread *thr, duk_hobject *obj, duk_uarridx_t arr_idx, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_size_t duk_hobject_get_length (duk_hthread *thr, duk_hobject *obj)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_has_finalizer_fast_raw (duk_hobject *obj)
 
DUK_INTERNAL_DECL void duk_hobject_prepare_property_descriptor (duk_hthread *thr, duk_idx_t idx_in, duk_uint_t *out_defprop_flags, duk_idx_t *out_idx_value, duk_hobject **out_getter, duk_hobject **out_setter)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_define_property_helper (duk_hthread *thr, duk_uint_t defprop_flags, duk_hobject *obj, duk_hstring *key, duk_idx_t idx_value, duk_hobject *get, duk_hobject *set, duk_bool_t throw_flag)
 
DUK_INTERNAL_DECL void duk_hobject_object_get_own_property_descriptor (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_INTERNAL_DECL void duk_hobject_object_seal_freeze_helper (duk_hthread *thr, duk_hobject *obj, duk_bool_t is_freeze)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_object_is_sealed_frozen_helper (duk_hthread *thr, duk_hobject *obj, duk_bool_t is_frozen)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_object_ownprop_helper (duk_hthread *thr, duk_small_uint_t required_desc_flags)
 
DUK_INTERNAL_DECL duk_tvalduk_hobject_get_internal_value_tval_ptr (duk_heap *heap, duk_hobject *obj)
 
DUK_INTERNAL_DECL duk_hstringduk_hobject_get_internal_value_string (duk_heap *heap, duk_hobject *obj)
 
DUK_INTERNAL_DECL duk_harrayduk_hobject_get_formals (duk_hthread *thr, duk_hobject *obj)
 
DUK_INTERNAL_DECL duk_hobjectduk_hobject_get_varmap (duk_hthread *thr, duk_hobject *obj)
 
DUK_INTERNAL_DECL void duk_hobject_compact_props (duk_hthread *thr, duk_hobject *obj)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_proxy_check (duk_hobject *obj, duk_hobject **out_target, duk_hobject **out_handler)
 
DUK_INTERNAL_DECL duk_hobjectduk_hobject_resolve_proxy_target (duk_hobject *obj)
 
DUK_INTERNAL_DECL void duk_hobject_enumerator_create (duk_hthread *thr, duk_small_uint_t enum_flags)
 
DUK_INTERNAL_DECL duk_ret_t duk_hobject_get_enumerated_keys (duk_hthread *thr, duk_small_uint_t enum_flags)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_enumerator_next (duk_hthread *thr, duk_bool_t get_value)
 
DUK_INTERNAL_DECL void duk_hobject_set_prototype_updref (duk_hthread *thr, duk_hobject *h, duk_hobject *p)
 
DUK_INTERNAL_DECL void duk_hobject_pc2line_pack (duk_hthread *thr, duk_compiler_instr *instrs, duk_uint_fast32_t length)
 
DUK_INTERNAL_DECL duk_uint_fast32_t duk_hobject_pc2line_query (duk_hthread *thr, duk_idx_t idx_func, duk_uint_fast32_t pc)
 
DUK_INTERNAL_DECL duk_bool_t duk_hobject_prototype_chain_contains (duk_hthread *thr, duk_hobject *h, duk_hobject *p, duk_bool_t ignore_loop)
 
DUK_INTERNAL_DECL duk_uint_t duk_hbufobj_clamp_bytelength (duk_hbufobj *h_bufobj, duk_uint_t len)
 
DUK_INTERNAL_DECL void duk_hbufobj_push_uint8array_from_plain (duk_hthread *thr, duk_hbuffer *h_buf)
 
DUK_INTERNAL_DECL void duk_hbufobj_push_validated_read (duk_hthread *thr, duk_hbufobj *h_bufobj, duk_uint8_t *p, duk_small_uint_t elem_size)
 
DUK_INTERNAL_DECL void duk_hbufobj_validated_write (duk_hthread *thr, duk_hbufobj *h_bufobj, duk_uint8_t *p, duk_small_uint_t elem_size)
 
DUK_INTERNAL_DECL void duk_hbufobj_promote_plain (duk_hthread *thr, duk_idx_t idx)
 
DUK_INTERNAL_DECL void duk_hthread_copy_builtin_objects (duk_hthread *thr_from, duk_hthread *thr_to)
 
DUK_INTERNAL_DECL void duk_hthread_create_builtin_objects (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_bool_t duk_hthread_init_stacks (duk_heap *heap, duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_hthread_terminate (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_activationduk_hthread_activation_alloc (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_hthread_activation_free (duk_hthread *thr, duk_activation *act)
 
DUK_INTERNAL_DECL void duk_hthread_activation_unwind_norz (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_hthread_activation_unwind_reuse_norz (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_activationduk_hthread_get_activation_for_level (duk_hthread *thr, duk_int_t level)
 
DUK_INTERNAL_DECL duk_catcherduk_hthread_catcher_alloc (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_hthread_catcher_free (duk_hthread *thr, duk_catcher *cat)
 
DUK_INTERNAL_DECL void duk_hthread_catcher_unwind_norz (duk_hthread *thr, duk_activation *act)
 
DUK_INTERNAL_DECL void duk_hthread_catcher_unwind_nolexenv_norz (duk_hthread *thr, duk_activation *act)
 
DUK_INTERNAL_DECL void * duk_hthread_get_valstack_ptr (duk_heap *heap, void *ud)
 
DUK_INTERNAL_DECL duk_uint_fast32_t duk_hthread_get_act_prev_pc (duk_hthread *thr, duk_activation *act)
 
DUK_INTERNAL_DECL void duk_hthread_sync_currpc (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_hthread_sync_and_null_currpc (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_hbufferduk_hbuffer_alloc (duk_heap *heap, duk_size_t size, duk_small_uint_t flags, void **out_bufdata)
 
DUK_INTERNAL_DECL void * duk_hbuffer_get_dynalloc_ptr (duk_heap *heap, void *ud)
 
DUK_INTERNAL_DECL void duk_hbuffer_resize (duk_hthread *thr, duk_hbuffer_dynamic *buf, duk_size_t new_size)
 
DUK_INTERNAL_DECL void duk_hbuffer_reset (duk_hthread *thr, duk_hbuffer_dynamic *buf)
 
DUK_INTERNAL_DECL duk_heapduk_heap_alloc (duk_alloc_function alloc_func, duk_realloc_function realloc_func, duk_free_function free_func, void *heap_udata, duk_fatal_function fatal_func)
 
DUK_INTERNAL_DECL void duk_heap_free (duk_heap *heap)
 
DUK_INTERNAL_DECL void duk_free_hobject (duk_heap *heap, duk_hobject *h)
 
DUK_INTERNAL_DECL void duk_free_hbuffer (duk_heap *heap, duk_hbuffer *h)
 
DUK_INTERNAL_DECL void duk_free_hstring (duk_heap *heap, duk_hstring *h)
 
DUK_INTERNAL_DECL void duk_heap_free_heaphdr_raw (duk_heap *heap, duk_heaphdr *hdr)
 
DUK_INTERNAL_DECL void duk_heap_insert_into_heap_allocated (duk_heap *heap, duk_heaphdr *hdr)
 
DUK_INTERNAL_DECL void duk_heap_remove_from_heap_allocated (duk_heap *heap, duk_heaphdr *hdr)
 
DUK_INTERNAL_DECL void duk_heap_insert_into_finalize_list (duk_heap *heap, duk_heaphdr *hdr)
 
DUK_INTERNAL_DECL void duk_heap_remove_from_finalize_list (duk_heap *heap, duk_heaphdr *hdr)
 
DUK_INTERNAL_DECL void duk_heap_switch_thread (duk_heap *heap, duk_hthread *new_thr)
 
DUK_INTERNAL_DECL duk_hstringduk_heap_strtable_intern (duk_heap *heap, const duk_uint8_t *str, duk_uint32_t blen)
 
DUK_INTERNAL_DECL duk_hstringduk_heap_strtable_intern_checked (duk_hthread *thr, const duk_uint8_t *str, duk_uint32_t len)
 
DUK_INTERNAL_DECL duk_hstringduk_heap_strtable_intern_literal_checked (duk_hthread *thr, const duk_uint8_t *str, duk_uint32_t blen)
 
DUK_INTERNAL_DECL duk_hstringduk_heap_strtable_intern_u32 (duk_heap *heap, duk_uint32_t val)
 
DUK_INTERNAL_DECL duk_hstringduk_heap_strtable_intern_u32_checked (duk_hthread *thr, duk_uint32_t val)
 
DUK_INTERNAL_DECL void duk_heap_strtable_unlink (duk_heap *heap, duk_hstring *h)
 
DUK_INTERNAL_DECL void duk_heap_strtable_unlink_prev (duk_heap *heap, duk_hstring *h, duk_hstring *prev)
 
DUK_INTERNAL_DECL void duk_heap_strtable_force_resize (duk_heap *heap)
 
DUK_INTERNAL void duk_heap_strtable_free (duk_heap *heap)
 
DUK_INTERNAL_DECL void duk_heap_strcache_string_remove (duk_heap *heap, duk_hstring *h)
 
DUK_INTERNAL_DECL duk_uint_fast32_t duk_heap_strcache_offset_char2byte (duk_hthread *thr, duk_hstring *h, duk_uint_fast32_t char_offset)
 
DUK_INTERNAL_DECL void * duk_default_alloc_function (void *udata, duk_size_t size)
 
DUK_INTERNAL_DECL void * duk_default_realloc_function (void *udata, void *ptr, duk_size_t newsize)
 
DUK_INTERNAL_DECL void duk_default_free_function (void *udata, void *ptr)
 
DUK_INTERNAL_DECL void * duk_heap_mem_alloc (duk_heap *heap, duk_size_t size)
 
DUK_INTERNAL_DECL void * duk_heap_mem_alloc_zeroed (duk_heap *heap, duk_size_t size)
 
DUK_INTERNAL_DECL void * duk_heap_mem_alloc_checked (duk_hthread *thr, duk_size_t size)
 
DUK_INTERNAL_DECL void * duk_heap_mem_alloc_checked_zeroed (duk_hthread *thr, duk_size_t size)
 
DUK_INTERNAL_DECL void * duk_heap_mem_realloc (duk_heap *heap, void *ptr, duk_size_t newsize)
 
DUK_INTERNAL_DECL void * duk_heap_mem_realloc_indirect (duk_heap *heap, duk_mem_getptr cb, void *ud, duk_size_t newsize)
 
DUK_INTERNAL_DECL void duk_heap_mem_free (duk_heap *heap, void *ptr)
 
DUK_INTERNAL_DECL void duk_heap_free_freelists (duk_heap *heap)
 
DUK_INTERNAL_DECL void duk_heap_run_finalizer (duk_heap *heap, duk_hobject *obj)
 
DUK_INTERNAL_DECL void duk_heap_process_finalize_list (duk_heap *heap)
 
DUK_INTERNAL_DECL void duk_heap_mark_and_sweep (duk_heap *heap, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_uint32_t duk_heap_hashstring (duk_heap *heap, const duk_uint8_t *str, duk_size_t len)
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_handle_error(duk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *msg))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_handle_error_fmt(duk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *fmt,...))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_create_and_throw(duk_hthread *thr, duk_errcode_t code, const char *msg, const char *filename, duk_int_t line))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_error_throw_from_negative_rc(duk_hthread *thr, duk_ret_t rc))
 
DUK_INTERNAL_DECL void duk_err_augment_error_create (duk_hthread *thr, duk_hthread *thr_callstack, const char *filename, duk_int_t line, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL void duk_err_augment_error_throw (duk_hthread *thr)
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_require_type_index(duk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t idx, const char *expect_name))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_error_internal(duk_hthread *thr, const char *filename, duk_int_t linenumber))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_error(duk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_range_index(duk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t idx))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_err_longjmp(duk_hthread *thr))
 
 DUK_NORETURN (DUK_INTERNAL_DECL void duk_default_fatal_handler(void *udata, const char *msg))
 
DUK_INTERNAL_DECL void duk_err_setup_ljstate1 (duk_hthread *thr, duk_small_uint_t lj_type, duk_tval *tv_val)
 
DUK_INTERNAL_DECL duk_hobjectduk_error_prototype_from_code (duk_hthread *thr, duk_errcode_t err_code)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_get_xutf8_length (duk_ucodepoint_t cp)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_encode_xutf8 (duk_ucodepoint_t cp, duk_uint8_t *out)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_encode_cesu8 (duk_ucodepoint_t cp, duk_uint8_t *out)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_decode_xutf8 (duk_hthread *thr, const duk_uint8_t **ptr, const duk_uint8_t *ptr_start, const duk_uint8_t *ptr_end, duk_ucodepoint_t *out_cp)
 
DUK_INTERNAL_DECL duk_ucodepoint_t duk_unicode_decode_xutf8_checked (duk_hthread *thr, const duk_uint8_t **ptr, const duk_uint8_t *ptr_start, const duk_uint8_t *ptr_end)
 
DUK_INTERNAL_DECL duk_size_t duk_unicode_unvalidated_utf8_length (const duk_uint8_t *data, duk_size_t blen)
 
DUK_INTERNAL_DECL duk_bool_t duk_unicode_is_utf8_compatible (const duk_uint8_t *buf, duk_size_t len)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_is_whitespace (duk_codepoint_t cp)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_is_line_terminator (duk_codepoint_t cp)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_is_identifier_start (duk_codepoint_t cp)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_is_identifier_part (duk_codepoint_t cp)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_is_letter (duk_codepoint_t cp)
 
DUK_INTERNAL_DECL void duk_unicode_case_convert_string (duk_hthread *thr, duk_bool_t uppercase)
 
DUK_INTERNAL_DECL duk_codepoint_t duk_unicode_re_canonicalize_char (duk_hthread *thr, duk_codepoint_t cp)
 
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_re_is_wordchar (duk_codepoint_t cp)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_toboolean (duk_tval *tv)
 
DUK_INTERNAL_DECL duk_double_t duk_js_tonumber (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_double_t duk_js_tointeger_number (duk_double_t x)
 
DUK_INTERNAL_DECL duk_double_t duk_js_tointeger (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_uint32_t duk_js_touint32 (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_int32_t duk_js_toint32 (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_uint16_t duk_js_touint16 (duk_hthread *thr, duk_tval *tv)
 
DUK_INTERNAL_DECL duk_uarridx_t duk_js_to_arrayindex_string (const duk_uint8_t *str, duk_uint32_t blen)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_equals_helper (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_small_int_t duk_js_data_compare (const duk_uint8_t *buf1, const duk_uint8_t *buf2, duk_size_t len1, duk_size_t len2)
 
DUK_INTERNAL_DECL duk_small_int_t duk_js_string_compare (duk_hstring *h1, duk_hstring *h2)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_compare_helper (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_instanceof (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_instanceof_ordinary (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_in (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y)
 
DUK_INTERNAL_DECL duk_small_uint_t duk_js_typeof_stridx (duk_tval *tv_x)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_isarray_hobject (duk_hobject *h)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_isarray (duk_tval *tv)
 
DUK_INTERNAL_DECL double duk_js_arith_pow (double x, double y)
 
DUK_INTERNAL_DECL double duk_js_arith_mod (double x, double y)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_getvar_envrec (duk_hthread *thr, duk_hobject *env, duk_hstring *name, duk_bool_t throw_flag)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_getvar_activation (duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_bool_t throw_flag)
 
DUK_INTERNAL_DECL void duk_js_putvar_envrec (duk_hthread *thr, duk_hobject *env, duk_hstring *name, duk_tval *val, duk_bool_t strict)
 
DUK_INTERNAL_DECL void duk_js_putvar_activation (duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_tval *val, duk_bool_t strict)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_delvar_activation (duk_hthread *thr, duk_activation *act, duk_hstring *name)
 
DUK_INTERNAL_DECL duk_bool_t duk_js_declvar_activation (duk_hthread *thr, duk_activation *act, duk_hstring *name, duk_tval *val, duk_small_uint_t prop_flags, duk_bool_t is_func_decl)
 
DUK_INTERNAL_DECL void duk_js_init_activation_environment_records_delayed (duk_hthread *thr, duk_activation *act)
 
DUK_INTERNAL_DECL void duk_js_close_environment_record (duk_hthread *thr, duk_hobject *env)
 
DUK_INTERNAL_DECL duk_hobjectduk_create_activation_environment_record (duk_hthread *thr, duk_hobject *func, duk_size_t bottom_byteoff)
 
DUK_INTERNAL_DECL void duk_js_push_closure (duk_hthread *thr, duk_hcompfunc *fun_temp, duk_hobject *outer_var_env, duk_hobject *outer_lex_env, duk_bool_t add_auto_proto)
 
DUK_INTERNAL_DECL void duk_native_stack_check (duk_hthread *thr)
 
DUK_INTERNAL_DECL duk_int_t duk_handle_call_unprotected (duk_hthread *thr, duk_idx_t idx_func, duk_small_uint_t call_flags)
 
DUK_INTERNAL_DECL duk_int_t duk_handle_call_unprotected_nargs (duk_hthread *thr, duk_idx_t nargs, duk_small_uint_t call_flags)
 
DUK_INTERNAL_DECL duk_int_t duk_handle_safe_call (duk_hthread *thr, duk_safe_call_function func, void *udata, duk_idx_t num_stack_args, duk_idx_t num_stack_res)
 
DUK_INTERNAL_DECL void duk_call_construct_postprocess (duk_hthread *thr, duk_small_uint_t proxy_invariant)
 
DUK_INTERNAL_DECL void duk_call_setup_propcall_error (duk_hthread *thr, duk_tval *tv_base, duk_tval *tv_key)
 
DUK_INTERNAL_DECL void duk_js_execute_bytecode (duk_hthread *exec_thr)
 
DUK_INTERNAL_DECL void duk_numconv_stringify (duk_hthread *thr, duk_small_int_t radix, duk_small_int_t digits, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL void duk_numconv_parse (duk_hthread *thr, duk_small_int_t radix, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL void duk_bi_date_timeval_to_parts (duk_double_t d, duk_int_t *parts, duk_double_t *dparts, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_double_t duk_bi_date_get_timeval_from_dparts (duk_double_t *dparts, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_bool_t duk_bi_date_is_leap_year (duk_int_t year)
 
DUK_INTERNAL_DECL duk_bool_t duk_bi_date_timeval_in_valid_range (duk_double_t x)
 
DUK_INTERNAL_DECL duk_bool_t duk_bi_date_year_in_valid_range (duk_double_t year)
 
DUK_INTERNAL_DECL duk_bool_t duk_bi_date_timeval_in_leeway_range (duk_double_t x)
 
DUK_INTERNAL_DECL duk_double_t duk_bi_date_get_now_time (void)
 
DUK_INTERNAL_DECL duk_int_t duk_bi_date_get_local_tzoffset_gmtime (duk_double_t d)
 
DUK_INTERNAL_DECL void duk_bi_json_parse_helper (duk_hthread *thr, duk_idx_t idx_value, duk_idx_t idx_reviver, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL void duk_bi_json_stringify_helper (duk_hthread *thr, duk_idx_t idx_value, duk_idx_t idx_replacer, duk_idx_t idx_space, duk_small_uint_t flags)
 
DUK_INTERNAL_DECL duk_ret_t duk_textdecoder_decode_utf8_nodejs (duk_hthread *thr)
 
DUK_INTERNAL_DECL void duk_proxy_ownkeys_postprocess (duk_hthread *thr, duk_hobject *h_proxy_target, duk_uint_t flags)
 
DUK_INTERNAL DUK_COLD void duk_err_handle_error_fmt (duk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *fmt,...)
 
DUK_INTERNAL DUK_COLD void duk_err_handle_error (duk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *msg)
 
DUK_INTERNAL DUK_COLD void duk_err_require_type_index (duk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t idx, const char *expect_name)
 
DUK_INTERNAL DUK_COLD void duk_err_error_internal (duk_hthread *thr, const char *filename, duk_int_t linenumber)
 
DUK_INTERNAL DUK_COLD void duk_err_error_alloc_failed (duk_hthread *thr, const char *filename, duk_int_t linenumber)
 
DUK_INTERNAL DUK_COLD void duk_err_error (duk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message)
 
DUK_INTERNAL DUK_COLD void duk_err_range (duk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message)
 
DUK_INTERNAL DUK_COLD void duk_err_range_index (duk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t idx)
 
DUK_INTERNAL DUK_COLD void duk_err_range_push_beyond (duk_hthread *thr, const char *filename, duk_int_t linenumber)
 
DUK_INTERNAL DUK_COLD void duk_err_type_invalid_args (duk_hthread *thr, const char *filename, duk_int_t linenumber)
 
DUK_INTERNAL DUK_COLD void duk_err_type_invalid_state (duk_hthread *thr, const char *filename, duk_int_t linenumber)
 
DUK_INTERNAL DUK_COLD void duk_err_type_invalid_trap_result (duk_hthread *thr, const char *filename, duk_int_t linenumber)
 
DUK_INTERNAL DUK_COLD void duk_default_fatal_handler (void *udata, const char *msg)
 
DUK_LOCAL duk_uint32_t duk__uni_decode_value (duk_bitdecoder_ctx *bd_ctx)
 
DUK_LOCAL duk_small_int_t duk__uni_range_match (const duk_uint8_t *unitab, duk_size_t unilen, duk_codepoint_t cp)
 
DUK_LOCAL duk_codepoint_t duk__slow_case_conversion (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_codepoint_t cp, duk_bitdecoder_ctx *bd_ctx)
 
DUK_LOCAL duk_codepoint_t duk__case_transform_helper (duk_hthread *thr, duk_bufwriter_ctx *bw, duk_codepoint_t cp, duk_codepoint_t prev, duk_codepoint_t next, duk_bool_t uppercase)
 
DUK_EXTERNAL void * duk_resize_buffer (duk_hthread *thr, duk_idx_t idx, duk_size_t new_size)
 
DUK_EXTERNAL void * duk_steal_buffer (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size)
 
DUK_EXTERNAL void duk_config_buffer (duk_hthread *thr, duk_idx_t idx, void *ptr, duk_size_t len)
 
DUK_LOCAL const duk_uint8_t * duk__load_string_raw (duk_hthread *thr, const duk_uint8_t *p)
 
DUK_LOCAL const duk_uint8_t * duk__load_buffer_raw (duk_hthread *thr, const duk_uint8_t *p)
 
DUK_LOCAL duk_uint8_t * duk__dump_hstring_raw (duk_uint8_t *p, duk_hstring *h)
 
DUK_LOCAL duk_uint8_t * duk__dump_hbuffer_raw (duk_hthread *thr, duk_uint8_t *p, duk_hbuffer *h)
 
DUK_LOCAL duk_uint8_t * duk__dump_string_prop (duk_hthread *thr, duk_uint8_t *p, duk_bufwriter_ctx *bw_ctx, duk_hobject *func, duk_small_uint_t stridx)
 
DUK_LOCAL duk_uint8_t * duk__dump_buffer_prop (duk_hthread *thr, duk_uint8_t *p, duk_bufwriter_ctx *bw_ctx, duk_hobject *func, duk_small_uint_t stridx)
 
DUK_LOCAL duk_uint8_t * duk__dump_uint32_prop (duk_hthread *thr, duk_uint8_t *p, duk_bufwriter_ctx *bw_ctx, duk_hobject *func, duk_small_uint_t stridx, duk_uint32_t def_value)
 
DUK_LOCAL duk_uint8_t * duk__dump_varmap (duk_hthread *thr, duk_uint8_t *p, duk_bufwriter_ctx *bw_ctx, duk_hobject *func)
 
DUK_LOCAL duk_uint8_t * duk__dump_formals (duk_hthread *thr, duk_uint8_t *p, duk_bufwriter_ctx *bw_ctx, duk_hobject *func)
 
static duk_uint8_t * duk__dump_func (duk_hthread *thr, duk_hcompfunc *func, duk_bufwriter_ctx *bw_ctx, duk_uint8_t *p)
 
static const duk_uint8_t * duk__load_func (duk_hthread *thr, const duk_uint8_t *p, const duk_uint8_t *p_end)
 
DUK_EXTERNAL void duk_dump_function (duk_hthread *thr)
 
DUK_EXTERNAL void duk_load_function (duk_hthread *thr)
 
DUK_LOCAL duk_idx_t duk__call_get_idx_func (duk_hthread *thr, duk_idx_t nargs, duk_idx_t other)
 
DUK_LOCAL duk_idx_t duk__call_get_idx_func_unvalidated (duk_hthread *thr, duk_idx_t nargs, duk_idx_t other)
 
DUK_LOCAL void duk__call_prop_prep_stack (duk_hthread *thr, duk_idx_t normalized_obj_idx, duk_idx_t nargs)
 
DUK_EXTERNAL void duk_call (duk_hthread *thr, duk_idx_t nargs)
 
DUK_EXTERNAL void duk_call_method (duk_hthread *thr, duk_idx_t nargs)
 
DUK_EXTERNAL void duk_call_prop (duk_hthread *thr, duk_idx_t obj_idx, duk_idx_t nargs)
 
DUK_LOCAL duk_ret_t duk__pcall_raw (duk_hthread *thr, void *udata)
 
DUK_EXTERNAL duk_int_t duk_pcall (duk_hthread *thr, duk_idx_t nargs)
 
DUK_LOCAL duk_ret_t duk__pcall_method_raw (duk_hthread *thr, void *udata)
 
DUK_EXTERNAL duk_int_t duk_pcall_method (duk_hthread *thr, duk_idx_t nargs)
 
DUK_LOCAL duk_ret_t duk__pcall_prop_raw (duk_hthread *thr, void *udata)
 
DUK_EXTERNAL duk_int_t duk_pcall_prop (duk_hthread *thr, duk_idx_t obj_idx, duk_idx_t nargs)
 
DUK_EXTERNAL duk_int_t duk_safe_call (duk_hthread *thr, duk_safe_call_function func, void *udata, duk_idx_t nargs, duk_idx_t nrets)
 
DUK_EXTERNAL void duk_new (duk_hthread *thr, duk_idx_t nargs)
 
DUK_LOCAL duk_ret_t duk__pnew_helper (duk_hthread *thr, void *udata)
 
DUK_EXTERNAL duk_int_t duk_pnew (duk_hthread *thr, duk_idx_t nargs)
 
DUK_EXTERNAL duk_bool_t duk_is_constructor_call (duk_hthread *thr)
 
DUK_EXTERNAL void duk_require_constructor_call (duk_hthread *thr)
 
DUK_EXTERNAL duk_bool_t duk_is_strict_call (duk_hthread *thr)
 
DUK_EXTERNAL duk_int_t duk_get_current_magic (duk_hthread *thr)
 
DUK_EXTERNAL duk_int_t duk_get_magic (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_set_magic (duk_hthread *thr, duk_idx_t idx, duk_int_t magic)
 
DUK_LOCAL const duk_uint8_t * duk__prep_codec_arg (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__base64_encode_fast_3 (const duk_uint8_t *src, duk_uint8_t *dst)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__base64_encode_fast_2 (const duk_uint8_t *src, duk_uint8_t *dst)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__base64_encode_fast_1 (const duk_uint8_t *src, duk_uint8_t *dst)
 
DUK_LOCAL void duk__base64_encode_helper (const duk_uint8_t *src, duk_size_t srclen, duk_uint8_t *dst)
 
DUK_LOCAL duk_bool_t duk__base64_decode_helper (const duk_uint8_t *src, duk_size_t srclen, duk_uint8_t *dst, duk_uint8_t **out_dst_final)
 
DUK_EXTERNAL const char * duk_base64_encode (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_base64_decode (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL const char * duk_hex_encode (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_hex_decode (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL const char * duk_json_encode (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_json_decode (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_int_t duk_eval_raw (duk_hthread *thr, const char *src_buffer, duk_size_t src_length, duk_uint_t flags)
 
DUK_LOCAL duk_ret_t duk__do_compile (duk_hthread *thr, void *udata)
 
DUK_EXTERNAL duk_int_t duk_compile_raw (duk_hthread *thr, const char *src_buffer, duk_size_t src_length, duk_uint_t flags)
 
DUK_EXTERNAL void duk_push_context_dump (duk_hthread *thr)
 
DUK_EXTERNAL void duk_debugger_attach (duk_hthread *thr, duk_debug_read_function read_cb, duk_debug_write_function write_cb, duk_debug_peek_function peek_cb, duk_debug_read_flush_function read_flush_cb, duk_debug_write_flush_function write_flush_cb, duk_debug_request_function request_cb, duk_debug_detached_function detached_cb, void *udata)
 
DUK_EXTERNAL void duk_debugger_detach (duk_hthread *thr)
 
DUK_EXTERNAL void duk_debugger_cooperate (duk_hthread *thr)
 
DUK_EXTERNAL duk_bool_t duk_debugger_notify (duk_hthread *thr, duk_idx_t nvalues)
 
DUK_EXTERNAL void duk_debugger_pause (duk_hthread *thr)
 
DUK_EXTERNAL duk_hthreadduk_create_heap (duk_alloc_function alloc_func, duk_realloc_function realloc_func, duk_free_function free_func, void *heap_udata, duk_fatal_function fatal_handler)
 
DUK_EXTERNAL void duk_destroy_heap (duk_hthread *thr)
 
DUK_EXTERNAL void duk_suspend (duk_hthread *thr, duk_thread_state *state)
 
DUK_EXTERNAL void duk_resume (duk_hthread *thr, const duk_thread_state *state)
 
DUK_EXTERNAL void duk_set_global_object (duk_hthread *thr)
 
DUK_LOCAL void duk__inspect_multiple_uint (duk_hthread *thr, const char *fmt, duk_int_t *vals)
 
DUK_EXTERNAL void duk_inspect_value (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_inspect_callstack_entry (duk_hthread *thr, duk_int_t level)
 
DUK_EXTERNAL void * duk_alloc_raw (duk_hthread *thr, duk_size_t size)
 
DUK_EXTERNAL void duk_free_raw (duk_hthread *thr, void *ptr)
 
DUK_EXTERNAL void * duk_realloc_raw (duk_hthread *thr, void *ptr, duk_size_t size)
 
DUK_EXTERNAL void * duk_alloc (duk_hthread *thr, duk_size_t size)
 
DUK_EXTERNAL void duk_free (duk_hthread *thr, void *ptr)
 
DUK_EXTERNAL void * duk_realloc (duk_hthread *thr, void *ptr, duk_size_t size)
 
DUK_EXTERNAL void duk_get_memory_functions (duk_hthread *thr, duk_memory_functions *out_funcs)
 
DUK_EXTERNAL void duk_gc (duk_hthread *thr, duk_uint_t flags)
 
DUK_EXTERNAL duk_bool_t duk_get_prop (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_EXTERNAL duk_bool_t duk_get_prop_string (duk_hthread *thr, duk_idx_t obj_idx, const char *key)
 
DUK_EXTERNAL duk_bool_t duk_get_prop_lstring (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_get_prop_literal_raw (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_get_prop_index (duk_hthread *thr, duk_idx_t obj_idx, duk_uarridx_t arr_idx)
 
DUK_EXTERNAL duk_bool_t duk_get_prop_heapptr (duk_hthread *thr, duk_idx_t obj_idx, void *ptr)
 
DUK_LOCAL duk_bool_t duk__put_prop_shared (duk_hthread *thr, duk_idx_t obj_idx, duk_idx_t idx_key)
 
DUK_EXTERNAL duk_bool_t duk_put_prop (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_EXTERNAL duk_bool_t duk_put_prop_string (duk_hthread *thr, duk_idx_t obj_idx, const char *key)
 
DUK_EXTERNAL duk_bool_t duk_put_prop_lstring (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_put_prop_literal_raw (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_put_prop_index (duk_hthread *thr, duk_idx_t obj_idx, duk_uarridx_t arr_idx)
 
DUK_EXTERNAL duk_bool_t duk_put_prop_heapptr (duk_hthread *thr, duk_idx_t obj_idx, void *ptr)
 
DUK_EXTERNAL duk_bool_t duk_del_prop (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_EXTERNAL duk_bool_t duk_del_prop_string (duk_hthread *thr, duk_idx_t obj_idx, const char *key)
 
DUK_EXTERNAL duk_bool_t duk_del_prop_lstring (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_del_prop_literal_raw (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_del_prop_index (duk_hthread *thr, duk_idx_t obj_idx, duk_uarridx_t arr_idx)
 
DUK_EXTERNAL duk_bool_t duk_del_prop_heapptr (duk_hthread *thr, duk_idx_t obj_idx, void *ptr)
 
DUK_EXTERNAL duk_bool_t duk_has_prop (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_EXTERNAL duk_bool_t duk_has_prop_string (duk_hthread *thr, duk_idx_t obj_idx, const char *key)
 
DUK_EXTERNAL duk_bool_t duk_has_prop_lstring (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_has_prop_literal_raw (duk_hthread *thr, duk_idx_t obj_idx, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_has_prop_index (duk_hthread *thr, duk_idx_t obj_idx, duk_uarridx_t arr_idx)
 
DUK_EXTERNAL duk_bool_t duk_has_prop_heapptr (duk_hthread *thr, duk_idx_t obj_idx, void *ptr)
 
DUK_EXTERNAL void duk_get_prop_desc (duk_hthread *thr, duk_idx_t obj_idx, duk_uint_t flags)
 
DUK_EXTERNAL void duk_def_prop (duk_hthread *thr, duk_idx_t obj_idx, duk_uint_t flags)
 
DUK_EXTERNAL void duk_compact (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_EXTERNAL void duk_enum (duk_hthread *thr, duk_idx_t obj_idx, duk_uint_t enum_flags)
 
DUK_EXTERNAL duk_bool_t duk_next (duk_hthread *thr, duk_idx_t enum_index, duk_bool_t get_value)
 
DUK_EXTERNAL void duk_seal (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_EXTERNAL void duk_freeze (duk_hthread *thr, duk_idx_t obj_idx)
 
DUK_EXTERNAL void duk_put_function_list (duk_hthread *thr, duk_idx_t obj_idx, const duk_function_list_entry *funcs)
 
DUK_EXTERNAL void duk_put_number_list (duk_hthread *thr, duk_idx_t obj_idx, const duk_number_list_entry *numbers)
 
DUK_EXTERNAL duk_bool_t duk_get_global_string (duk_hthread *thr, const char *key)
 
DUK_EXTERNAL duk_bool_t duk_get_global_lstring (duk_hthread *thr, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_get_global_literal_raw (duk_hthread *thr, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_get_global_heapptr (duk_hthread *thr, void *ptr)
 
DUK_EXTERNAL duk_bool_t duk_put_global_string (duk_hthread *thr, const char *key)
 
DUK_EXTERNAL duk_bool_t duk_put_global_lstring (duk_hthread *thr, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_put_global_literal_raw (duk_hthread *thr, const char *key, duk_size_t key_len)
 
DUK_EXTERNAL duk_bool_t duk_put_global_heapptr (duk_hthread *thr, void *ptr)
 
DUK_EXTERNAL void duk_get_prototype (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_set_prototype (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_get_finalizer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_set_finalizer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_double_t duk_random (duk_hthread *thr)
 
DUK_LOCAL_DECL duk_idx_t duk__push_c_function_raw (duk_hthread *thr, duk_c_function func, duk_idx_t nargs, duk_uint_t flags, duk_small_uint_t proto_bidx)
 
DUK_LOCAL duk_small_uint_t duk__get_symbol_type (duk_hstring *h)
 
DUK_LOCAL const char * duk__get_symbol_type_string (duk_hstring *h)
 
DUK_LOCAL_DECL duk_heaphdrduk__get_tagged_heaphdr_raw (duk_hthread *thr, duk_idx_t idx, duk_uint_t tag)
 
DUK_LOCAL duk_int_t duk__api_coerce_d2i (duk_hthread *thr, duk_idx_t idx, duk_int_t def_value, duk_bool_t require)
 
DUK_LOCAL duk_uint_t duk__api_coerce_d2ui (duk_hthread *thr, duk_idx_t idx, duk_uint_t def_value, duk_bool_t require)
 
DUK_EXTERNAL duk_idx_t duk_normalize_index (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_idx_t duk_require_normalize_index (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_valid_index (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_require_valid_index (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_idx_t duk_get_top (duk_hthread *thr)
 
DUK_EXTERNAL void duk_set_top (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_idx_t duk_get_top_index (duk_hthread *thr)
 
DUK_EXTERNAL duk_idx_t duk_require_top_index (duk_hthread *thr)
 
DUK_LOCAL DUK_COLD DUK_NOINLINE duk_bool_t duk__resize_valstack (duk_hthread *thr, duk_size_t new_size)
 
DUK_LOCAL DUK_COLD DUK_NOINLINE duk_bool_t duk__valstack_grow (duk_hthread *thr, duk_size_t min_bytes, duk_bool_t throw_on_error)
 
DUK_EXTERNAL duk_bool_t duk_check_stack (duk_hthread *thr, duk_idx_t extra)
 
DUK_EXTERNAL void duk_require_stack (duk_hthread *thr, duk_idx_t extra)
 
DUK_EXTERNAL duk_bool_t duk_check_stack_top (duk_hthread *thr, duk_idx_t top)
 
DUK_EXTERNAL void duk_require_stack_top (duk_hthread *thr, duk_idx_t top)
 
DUK_EXTERNAL void duk_swap (duk_hthread *thr, duk_idx_t idx1, duk_idx_t idx2)
 
DUK_EXTERNAL void duk_swap_top (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_dup (duk_hthread *thr, duk_idx_t from_idx)
 
DUK_EXTERNAL void duk_dup_top (duk_hthread *thr)
 
DUK_EXTERNAL void duk_insert (duk_hthread *thr, duk_idx_t to_idx)
 
DUK_EXTERNAL void duk_pull (duk_hthread *thr, duk_idx_t from_idx)
 
DUK_EXTERNAL void duk_replace (duk_hthread *thr, duk_idx_t to_idx)
 
DUK_EXTERNAL void duk_copy (duk_hthread *thr, duk_idx_t from_idx, duk_idx_t to_idx)
 
DUK_EXTERNAL void duk_remove (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_xcopymove_raw (duk_hthread *to_thr, duk_hthread *from_thr, duk_idx_t count, duk_bool_t is_copy)
 
DUK_EXTERNAL void duk_require_undefined (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_require_null (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL DUK_ALWAYS_INLINE duk_bool_t duk__get_boolean_raw (duk_hthread *thr, duk_idx_t idx, duk_bool_t def_value)
 
DUK_EXTERNAL duk_bool_t duk_get_boolean (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_get_boolean_default (duk_hthread *thr, duk_idx_t idx, duk_bool_t def_value)
 
DUK_EXTERNAL duk_bool_t duk_require_boolean (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_opt_boolean (duk_hthread *thr, duk_idx_t idx, duk_bool_t def_value)
 
DUK_LOCAL DUK_ALWAYS_INLINE duk_double_t duk__get_number_raw (duk_hthread *thr, duk_idx_t idx, duk_double_t def_value)
 
DUK_EXTERNAL duk_double_t duk_get_number (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_double_t duk_get_number_default (duk_hthread *thr, duk_idx_t idx, duk_double_t def_value)
 
DUK_EXTERNAL duk_double_t duk_require_number (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_double_t duk_opt_number (duk_hthread *thr, duk_idx_t idx, duk_double_t def_value)
 
DUK_EXTERNAL duk_int_t duk_get_int (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_uint_t duk_get_uint (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_int_t duk_get_int_default (duk_hthread *thr, duk_idx_t idx, duk_int_t def_value)
 
DUK_EXTERNAL duk_uint_t duk_get_uint_default (duk_hthread *thr, duk_idx_t idx, duk_uint_t def_value)
 
DUK_EXTERNAL duk_int_t duk_require_int (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_uint_t duk_require_uint (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_int_t duk_opt_int (duk_hthread *thr, duk_idx_t idx, duk_int_t def_value)
 
DUK_EXTERNAL duk_uint_t duk_opt_uint (duk_hthread *thr, duk_idx_t idx, duk_uint_t def_value)
 
DUK_EXTERNAL const char * duk_get_lstring (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len)
 
DUK_EXTERNAL const char * duk_require_lstring (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len)
 
DUK_EXTERNAL const char * duk_get_string (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL const char * duk_opt_lstring (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len, const char *def_ptr, duk_size_t def_len)
 
DUK_EXTERNAL const char * duk_opt_string (duk_hthread *thr, duk_idx_t idx, const char *def_ptr)
 
DUK_EXTERNAL const char * duk_get_lstring_default (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len, const char *def_ptr, duk_size_t def_len)
 
DUK_EXTERNAL const char * duk_get_string_default (duk_hthread *thr, duk_idx_t idx, const char *def_value)
 
DUK_EXTERNAL const char * duk_require_string (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_require_object (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL void * duk__get_pointer_raw (duk_hthread *thr, duk_idx_t idx, void *def_value)
 
DUK_EXTERNAL void * duk_get_pointer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void * duk_opt_pointer (duk_hthread *thr, duk_idx_t idx, void *def_value)
 
DUK_EXTERNAL void * duk_get_pointer_default (duk_hthread *thr, duk_idx_t idx, void *def_value)
 
DUK_EXTERNAL void * duk_require_pointer (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL void * duk__get_buffer_helper (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size, void *def_ptr, duk_size_t def_size, duk_bool_t throw_flag)
 
DUK_EXTERNAL void * duk_get_buffer (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size)
 
DUK_EXTERNAL void * duk_opt_buffer (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size, void *def_ptr, duk_size_t def_size)
 
DUK_EXTERNAL void * duk_get_buffer_default (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size, void *def_ptr, duk_size_t def_len)
 
DUK_EXTERNAL void * duk_require_buffer (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size)
 
DUK_EXTERNAL void * duk_get_buffer_data (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size)
 
DUK_EXTERNAL void * duk_get_buffer_data_default (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size, void *def_ptr, duk_size_t def_size)
 
DUK_EXTERNAL void * duk_opt_buffer_data (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size, void *def_ptr, duk_size_t def_size)
 
DUK_EXTERNAL void * duk_require_buffer_data (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size)
 
DUK_EXTERNAL duk_c_function duk_get_c_function (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_c_function duk_opt_c_function (duk_hthread *thr, duk_idx_t idx, duk_c_function def_value)
 
DUK_EXTERNAL duk_c_function duk_get_c_function_default (duk_hthread *thr, duk_idx_t idx, duk_c_function def_value)
 
DUK_EXTERNAL duk_c_function duk_require_c_function (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_require_function (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_require_constructable (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_hthreadduk_get_context (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_hthreadduk_require_context (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_hthreadduk_opt_context (duk_hthread *thr, duk_idx_t idx, duk_hthread *def_value)
 
DUK_EXTERNAL duk_hthreadduk_get_context_default (duk_hthread *thr, duk_idx_t idx, duk_hthread *def_value)
 
DUK_EXTERNAL void * duk_get_heapptr (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void * duk_opt_heapptr (duk_hthread *thr, duk_idx_t idx, void *def_value)
 
DUK_EXTERNAL void * duk_get_heapptr_default (duk_hthread *thr, duk_idx_t idx, void *def_value)
 
DUK_EXTERNAL void * duk_require_heapptr (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL duk_hobjectduk__get_hobject_promote_mask_raw (duk_hthread *thr, duk_idx_t idx, duk_uint_t type_mask)
 
DUK_EXTERNAL duk_size_t duk_get_length (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL duk_heaphdrduk__known_heaphdr (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_set_length (duk_hthread *thr, duk_idx_t idx, duk_size_t len)
 
DUK_LOCAL duk_bool_t duk__defaultvalue_coerce_attempt (duk_hthread *thr, duk_idx_t idx, duk_small_uint_t func_stridx)
 
DUK_EXTERNAL void duk_to_undefined (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_to_null (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL void duk__to_primitive_helper (duk_hthread *thr, duk_idx_t idx, duk_int_t hint, duk_bool_t check_symbol)
 
DUK_EXTERNAL void duk_to_primitive (duk_hthread *thr, duk_idx_t idx, duk_int_t hint)
 
DUK_EXTERNAL duk_bool_t duk_to_boolean (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_double_t duk_to_number (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL duk_double_t duk__to_int_uint_helper (duk_hthread *thr, duk_idx_t idx, duk__toint_coercer coerce_func)
 
DUK_EXTERNAL duk_int_t duk_to_int (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_uint_t duk_to_uint (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_int32_t duk_to_int32 (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_uint32_t duk_to_uint32 (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_uint16_t duk_to_uint16 (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL const char * duk_to_lstring (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len)
 
DUK_LOCAL duk_ret_t duk__safe_to_string_raw (duk_hthread *thr, void *udata)
 
DUK_EXTERNAL const char * duk_safe_to_lstring (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_len)
 
DUK_EXTERNAL const char * duk_to_stacktrace (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL duk_ret_t duk__safe_to_stacktrace_raw (duk_hthread *thr, void *udata)
 
DUK_EXTERNAL const char * duk_safe_to_stacktrace (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL const char * duk_to_string (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL const char * duk_buffer_to_string (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void * duk_to_buffer_raw (duk_hthread *thr, duk_idx_t idx, duk_size_t *out_size, duk_uint_t mode)
 
DUK_EXTERNAL void * duk_to_pointer (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL void duk__push_func_from_lightfunc (duk_hthread *thr, duk_c_function func, duk_small_uint_t lf_flags)
 
DUK_EXTERNAL void duk_to_object (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL duk_bool_t duk__tag_check (duk_hthread *thr, duk_idx_t idx, duk_small_uint_t tag)
 
DUK_LOCAL duk_bool_t duk__obj_flag_any_default_false (duk_hthread *thr, duk_idx_t idx, duk_uint_t flag_mask)
 
DUK_EXTERNAL duk_int_t duk_get_type (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_check_type (duk_hthread *thr, duk_idx_t idx, duk_int_t type)
 
DUK_EXTERNAL duk_uint_t duk_get_type_mask (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_check_type_mask (duk_hthread *thr, duk_idx_t idx, duk_uint_t mask)
 
DUK_EXTERNAL duk_bool_t duk_is_undefined (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_null (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_boolean (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_number (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_nan (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_string (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_object (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_buffer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_buffer_data (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_pointer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_lightfunc (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_symbol (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_array (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_function (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_constructable (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_c_function (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_ecmascript_function (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_bound_function (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_thread (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_fixed_buffer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_dynamic_buffer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_bool_t duk_is_external_buffer (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_errcode_t duk_get_error_code (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL void duk_push_undefined (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_null (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_boolean (duk_hthread *thr, duk_bool_t val)
 
DUK_EXTERNAL void duk_push_true (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_false (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_number (duk_hthread *thr, duk_double_t val)
 
DUK_EXTERNAL void duk_push_int (duk_hthread *thr, duk_int_t val)
 
DUK_EXTERNAL void duk_push_uint (duk_hthread *thr, duk_uint_t val)
 
DUK_EXTERNAL void duk_push_nan (duk_hthread *thr)
 
DUK_EXTERNAL const char * duk_push_lstring (duk_hthread *thr, const char *str, duk_size_t len)
 
DUK_EXTERNAL const char * duk_push_string (duk_hthread *thr, const char *str)
 
DUK_EXTERNAL const char * duk_push_literal_raw (duk_hthread *thr, const char *str, duk_size_t len)
 
DUK_EXTERNAL void duk_push_pointer (duk_hthread *thr, void *val)
 
DUK_LOCAL void duk__push_this_helper (duk_hthread *thr, duk_small_uint_t check_object_coercible)
 
DUK_EXTERNAL void duk_push_this (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_new_target (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_current_function (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_current_thread (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_global_object (duk_hthread *thr)
 
DUK_LOCAL void duk__push_stash (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_heap_stash (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_global_stash (duk_hthread *thr)
 
DUK_EXTERNAL void duk_push_thread_stash (duk_hthread *thr, duk_hthread *target_thr)
 
DUK_LOCAL duk_int_t duk__try_push_vsprintf (duk_hthread *thr, void *buf, duk_size_t sz, const char *fmt, va_list ap)
 
DUK_EXTERNAL const char * duk_push_vsprintf (duk_hthread *thr, const char *fmt, va_list ap)
 
DUK_EXTERNAL const char * duk_push_sprintf (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_idx_t duk_push_object (duk_hthread *thr)
 
DUK_EXTERNAL duk_idx_t duk_push_array (duk_hthread *thr)
 
DUK_EXTERNAL duk_idx_t duk_push_bare_array (duk_hthread *thr)
 
DUK_EXTERNAL duk_idx_t duk_push_thread_raw (duk_hthread *thr, duk_uint_t flags)
 
DUK_EXTERNAL duk_idx_t duk_push_c_function (duk_hthread *thr, duk_c_function func, duk_int_t nargs)
 
DUK_EXTERNAL duk_idx_t duk_push_c_lightfunc (duk_hthread *thr, duk_c_function func, duk_idx_t nargs, duk_idx_t length, duk_int_t magic)
 
DUK_EXTERNAL void duk_push_buffer_object (duk_hthread *thr, duk_idx_t idx_buffer, duk_size_t byte_offset, duk_size_t byte_length, duk_uint_t flags)
 
DUK_EXTERNAL duk_idx_t duk_push_error_object_va_raw (duk_hthread *thr, duk_errcode_t err_code, const char *filename, duk_int_t line, const char *fmt, va_list ap)
 
DUK_EXTERNAL duk_idx_t duk_push_error_object_raw (duk_hthread *thr, duk_errcode_t err_code, const char *filename, duk_int_t line, const char *fmt,...)
 
DUK_EXTERNAL duk_idx_t duk_push_error_object_stash (duk_hthread *thr, duk_errcode_t err_code, const char *fmt,...)
 
DUK_EXTERNAL void * duk_push_buffer_raw (duk_hthread *thr, duk_size_t size, duk_small_uint_t flags)
 
DUK_EXTERNAL duk_idx_t duk_push_proxy (duk_hthread *thr, duk_uint_t proxy_flags)
 
DUK_EXTERNAL duk_idx_t duk_push_heapptr (duk_hthread *thr, void *ptr)
 
DUK_EXTERNAL duk_idx_t duk_push_bare_object (duk_hthread *thr)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__pop_n_unsafe_raw (duk_hthread *thr, duk_idx_t count)
 
DUK_EXTERNAL void duk_pop_n (duk_hthread *thr, duk_idx_t count)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__pop_unsafe_raw (duk_hthread *thr)
 
DUK_EXTERNAL void duk_pop (duk_hthread *thr)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__pop_2_unsafe_raw (duk_hthread *thr)
 
DUK_EXTERNAL void duk_pop_2 (duk_hthread *thr)
 
DUK_EXTERNAL void duk_pop_3 (duk_hthread *thr)
 
DUK_EXTERNAL void duk_throw_raw (duk_hthread *thr)
 
DUK_EXTERNAL void duk_fatal_raw (duk_hthread *thr, const char *err_msg)
 
DUK_EXTERNAL void duk_error_va_raw (duk_hthread *thr, duk_errcode_t err_code, const char *filename, duk_int_t line, const char *fmt, va_list ap)
 
DUK_EXTERNAL void duk_error_raw (duk_hthread *thr, duk_errcode_t err_code, const char *filename, duk_int_t line, const char *fmt,...)
 
 DUK_NORETURN (DUK_LOCAL_DECL void duk__throw_error_from_stash(duk_hthread *thr, duk_errcode_t err_code, const char *fmt, va_list ap))
 
DUK_LOCAL void duk__throw_error_from_stash (duk_hthread *thr, duk_errcode_t err_code, const char *fmt, va_list ap)
 
DUK_EXTERNAL duk_ret_t duk_error_stash (duk_hthread *thr, duk_errcode_t err_code, const char *fmt,...)
 
DUK_EXTERNAL duk_ret_t duk_generic_error_stash (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_ret_t duk_eval_error_stash (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_ret_t duk_range_error_stash (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_ret_t duk_reference_error_stash (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_ret_t duk_syntax_error_stash (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_ret_t duk_type_error_stash (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_ret_t duk_uri_error_stash (duk_hthread *thr, const char *fmt,...)
 
DUK_EXTERNAL duk_bool_t duk_equals (duk_hthread *thr, duk_idx_t idx1, duk_idx_t idx2)
 
DUK_EXTERNAL duk_bool_t duk_strict_equals (duk_hthread *thr, duk_idx_t idx1, duk_idx_t idx2)
 
DUK_EXTERNAL duk_bool_t duk_samevalue (duk_hthread *thr, duk_idx_t idx1, duk_idx_t idx2)
 
DUK_EXTERNAL duk_bool_t duk_instanceof (duk_hthread *thr, duk_idx_t idx1, duk_idx_t idx2)
 
DUK_LOCAL void duk__push_hstring_readable_unicode (duk_hthread *thr, duk_hstring *h_input, duk_small_uint_t maxchars)
 
DUK_LOCAL const char * duk__push_string_tval_readable (duk_hthread *thr, duk_tval *tv, duk_bool_t error_aware)
 
DUK_LOCAL void duk__concat_and_join_helper (duk_hthread *thr, duk_idx_t count_in, duk_bool_t is_join)
 
DUK_EXTERNAL void duk_concat (duk_hthread *thr, duk_idx_t count)
 
DUK_EXTERNAL void duk_join (duk_hthread *thr, duk_idx_t count)
 
DUK_EXTERNAL void duk_decode_string (duk_hthread *thr, duk_idx_t idx, duk_decode_char_function callback, void *udata)
 
DUK_EXTERNAL void duk_map_string (duk_hthread *thr, duk_idx_t idx, duk_map_char_function callback, void *udata)
 
DUK_EXTERNAL void duk_substring (duk_hthread *thr, duk_idx_t idx, duk_size_t start_offset, duk_size_t end_offset)
 
DUK_EXTERNAL void duk_trim (duk_hthread *thr, duk_idx_t idx)
 
DUK_EXTERNAL duk_codepoint_t duk_char_code_at (duk_hthread *thr, duk_idx_t idx, duk_size_t char_offset)
 
DUK_EXTERNAL duk_double_t duk_get_now (duk_hthread *thr)
 
DUK_EXTERNAL void duk_time_to_components (duk_hthread *thr, duk_double_t timeval, duk_time_components *comp)
 
DUK_EXTERNAL duk_double_t duk_components_to_time (duk_hthread *thr, duk_time_components *comp)
 
DUK_LOCAL duk_uint32_t duk__push_this_obj_len_u32 (duk_hthread *thr)
 
DUK_LOCAL duk_uint32_t duk__push_this_obj_len_u32_limited (duk_hthread *thr)
 
DUK_LOCAL duk_harrayduk__arraypart_fastpath_this (duk_hthread *thr)
 
DUK_LOCAL duk_ret_t duk__array_pop_fastpath (duk_hthread *thr, duk_harray *h_arr)
 
DUK_LOCAL duk_ret_t duk__array_push_fastpath (duk_hthread *thr, duk_harray *h_arr)
 
DUK_LOCAL duk_small_int_t duk__array_sort_compare (duk_hthread *thr, duk_int_t idx1, duk_int_t idx2)
 
DUK_LOCAL void duk__array_sort_swap (duk_hthread *thr, duk_int_t l, duk_int_t r)
 
DUK_LOCAL void duk__array_qsort (duk_hthread *thr, duk_int_t lo, duk_int_t hi)
 
DUK_LOCAL duk_hbufobjduk__hbufobj_promote_this (duk_hthread *thr)
 
DUK_LOCAL duk_heaphdrduk__getrequire_bufobj_this (duk_hthread *thr, duk_small_uint_t flags)
 
DUK_LOCAL duk_hbufobjduk__get_bufobj_this (duk_hthread *thr)
 
DUK_LOCAL duk_hbufobjduk__require_bufobj_this (duk_hthread *thr)
 
DUK_LOCAL duk_hbufobjduk__require_bufobj_value (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL void duk__set_bufobj_buffer (duk_hthread *thr, duk_hbufobj *h_bufobj, duk_hbuffer *h_val)
 
DUK_LOCAL void duk__resolve_offset_opt_length (duk_hthread *thr, duk_hbufobj *h_bufarg, duk_idx_t idx_offset, duk_idx_t idx_length, duk_uint_t *out_offset, duk_uint_t *out_length, duk_bool_t throw_flag)
 
DUK_LOCAL void duk__clamp_startend_nonegidx_noshift (duk_hthread *thr, duk_int_t buffer_length, duk_idx_t idx_start, duk_idx_t idx_end, duk_int_t *out_start_offset, duk_int_t *out_end_offset)
 
DUK_LOCAL void duk__clamp_startend_negidx_shifted (duk_hthread *thr, duk_int_t buffer_length, duk_uint8_t buffer_shift, duk_idx_t idx_start, duk_idx_t idx_end, duk_int_t *out_start_offset, duk_int_t *out_end_offset)
 
DUK_LOCAL duk_hbufferduk__hbufobj_fixed_from_argvalue (duk_hthread *thr)
 
DUK_LOCAL void duk__arraybuffer_plain_slice (duk_hthread *thr, duk_hbuffer *h_val)
 
DUK_LOCAL duk_hbufobjduk__autospawn_arraybuffer (duk_hthread *thr, duk_hbuffer *h_buf)
 
DUK_LOCAL void duk__cbor_encode_value (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_decode_value (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL duk_uint32_t duk__cbor_double_to_uint32 (double d)
 
DUK_LOCAL void duk__cbor_encode_error (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_req_stack (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_objarr_entry (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_objarr_exit (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_sizet_uint32_check (duk_cbor_encode_context *enc_ctx, duk_size_t len)
 
DUK_LOCAL DUK_NOINLINE void duk__cbor_encode_ensure_slowpath (duk_cbor_encode_context *enc_ctx, duk_size_t len)
 
DUK_LOCAL DUK_INLINE void duk__cbor_encode_ensure (duk_cbor_encode_context *enc_ctx, duk_size_t len)
 
DUK_LOCAL duk_size_t duk__cbor_get_reserve (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_uint32 (duk_cbor_encode_context *enc_ctx, duk_uint32_t u, duk_uint8_t base)
 
DUK_LOCAL void duk__cbor_encode_double_fp (duk_cbor_encode_context *enc_ctx, double d)
 
DUK_LOCAL void duk__cbor_encode_double (duk_cbor_encode_context *enc_ctx, double d)
 
DUK_LOCAL void duk__cbor_encode_string_top (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_object (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_buffer (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_pointer (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_encode_lightfunc (duk_cbor_encode_context *enc_ctx)
 
DUK_LOCAL void duk__cbor_decode_error (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL void duk__cbor_decode_req_stack (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL void duk__cbor_decode_objarr_entry (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL void duk__cbor_decode_objarr_exit (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL duk_uint8_t duk__cbor_decode_readbyte (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL duk_uint16_t duk__cbor_decode_read_u16 (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL duk_uint32_t duk__cbor_decode_read_u32 (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL duk_uint8_t duk__cbor_decode_peekbyte (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL void duk__cbor_decode_rewind (duk_cbor_decode_context *dec_ctx, duk_size_t len)
 
DUK_LOCAL const duk_uint8_t * duk__cbor_decode_consume (duk_cbor_decode_context *dec_ctx, duk_size_t len)
 
DUK_LOCAL int duk__cbor_decode_checkbreak (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL void duk__cbor_decode_push_aival_int (duk_cbor_decode_context *dec_ctx, duk_uint8_t ib, duk_bool_t negative)
 
DUK_LOCAL void duk__cbor_decode_skip_aival_int (duk_cbor_decode_context *dec_ctx, duk_uint8_t ib)
 
DUK_LOCAL duk_uint32_t duk__cbor_decode_aival_uint32 (duk_cbor_decode_context *dec_ctx, duk_uint8_t ib)
 
DUK_LOCAL void duk__cbor_decode_buffer (duk_cbor_decode_context *dec_ctx, duk_uint8_t expected_base)
 
DUK_LOCAL void duk__cbor_decode_join_buffers (duk_cbor_decode_context *dec_ctx, duk_idx_t count)
 
DUK_LOCAL void duk__cbor_decode_and_join_strbuf (duk_cbor_decode_context *dec_ctx, duk_uint8_t expected_base)
 
DUK_LOCAL duk_double_t duk__cbor_decode_half_float (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL void duk__cbor_decode_string (duk_cbor_decode_context *dec_ctx, duk_uint8_t ib, duk_uint8_t ai)
 
DUK_LOCAL duk_bool_t duk__cbor_decode_array (duk_cbor_decode_context *dec_ctx, duk_uint8_t ib, duk_uint8_t ai)
 
DUK_LOCAL duk_bool_t duk__cbor_decode_map (duk_cbor_decode_context *dec_ctx, duk_uint8_t ib, duk_uint8_t ai)
 
DUK_LOCAL duk_double_t duk__cbor_decode_float (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL duk_double_t duk__cbor_decode_double (duk_cbor_decode_context *dec_ctx)
 
DUK_LOCAL void duk__cbor_encode (duk_hthread *thr, duk_idx_t idx, duk_uint_t encode_flags)
 
DUK_LOCAL void duk__cbor_decode (duk_hthread *thr, duk_idx_t idx, duk_uint_t decode_flags)
 
DUK_EXTERNAL void duk_cbor_encode (duk_hthread *thr, duk_idx_t idx, duk_uint_t encode_flags)
 
DUK_EXTERNAL void duk_cbor_decode (duk_hthread *thr, duk_idx_t idx, duk_uint_t decode_flags)
 
DUK_LOCAL_DECL duk_double_t duk__push_this_get_timeval_tzoffset (duk_hthread *thr, duk_small_uint_t flags, duk_int_t *out_tzoffset)
 
DUK_LOCAL_DECL duk_double_t duk__push_this_get_timeval (duk_hthread *thr, duk_small_uint_t flags)
 
DUK_LOCAL_DECL void duk__twodigit_year_fixup (duk_hthread *thr, duk_idx_t idx_val)
 
DUK_LOCAL_DECL duk_ret_t duk__set_this_timeval_from_dparts (duk_hthread *thr, duk_double_t *dparts, duk_small_uint_t flags)
 
DUK_LOCAL duk_bool_t duk__parse_string_iso8601_subset (duk_hthread *thr, const char *str)
 
DUK_LOCAL duk_ret_t duk__parse_string (duk_hthread *thr, const char *str)
 
DUK_LOCAL duk_double_t duk__timeclip (duk_double_t x)
 
DUK_LOCAL duk_int_t duk__div_floor (duk_int_t a, duk_int_t b)
 
DUK_LOCAL duk_int_t duk__day_from_year (duk_int_t year)
 
DUK_LOCAL duk_int_t duk__year_from_day (duk_int_t day, duk_small_int_t *out_day_within_year)
 
DUK_LOCAL duk_double_t duk__make_day (duk_double_t year, duk_double_t month, duk_double_t day)
 
DUK_LOCAL void duk__format_parts_iso8601 (duk_int_t *parts, duk_int_t tzoffset, duk_small_uint_t flags, duk_uint8_t *out_buf)
 
DUK_LOCAL duk_ret_t duk__to_string_helper (duk_hthread *thr, duk_small_uint_t flags)
 
DUK_LOCAL duk_ret_t duk__get_part_helper (duk_hthread *thr, duk_small_uint_t flags_and_idx)
 
DUK_LOCAL duk_ret_t duk__set_part_helper (duk_hthread *thr, duk_small_uint_t flags_and_maxnargs)
 
DUK_LOCAL void duk__set_parts_from_args (duk_hthread *thr, duk_double_t *dparts, duk_idx_t nargs)
 
DUK_LOCAL duk_small_uint_t duk__date_get_indirect_magic (duk_hthread *thr)
 
DUK_LOCAL duk_uint8_t * duk__utf8_emit_repl (duk_uint8_t *ptr)
 
DUK_LOCAL void duk__utf8_decode_init (duk__decode_context *dec_ctx)
 
DUK_LOCAL duk_codepoint_t duk__utf8_decode_next (duk__decode_context *dec_ctx, duk_uint8_t x)
 
DUK_LOCAL void duk__utf8_encode_char (void *udata, duk_codepoint_t codepoint)
 
DUK_LOCAL duk_ret_t duk__decode_helper (duk_hthread *thr, duk__decode_context *dec_ctx)
 
DUK_LOCAL duk__decode_contextduk__get_textdecoder_context (duk_hthread *thr)
 
DUK_LOCAL duk_ret_t duk__error_getter_helper (duk_hthread *thr, duk_small_int_t output_type)
 
DUK_LOCAL duk_ret_t duk__error_setter_helper (duk_hthread *thr, duk_small_uint_t stridx_key)
 
DUK_LOCAL duk_small_int_t duk__decode_hex_escape (const duk_uint8_t *p, duk_small_int_t n)
 
DUK_LOCAL int duk__transform_helper (duk_hthread *thr, duk__transform_callback callback, const void *udata)
 
DUK_LOCAL void duk__transform_callback_encode_uri (duk__transform_context *tfm_ctx, const void *udata, duk_codepoint_t cp)
 
DUK_LOCAL void duk__transform_callback_decode_uri (duk__transform_context *tfm_ctx, const void *udata, duk_codepoint_t cp)
 
DUK_LOCAL void duk__transform_callback_escape (duk__transform_context *tfm_ctx, const void *udata, duk_codepoint_t cp)
 
DUK_LOCAL void duk__transform_callback_unescape (duk__transform_context *tfm_ctx, const void *udata, duk_codepoint_t cp)
 
DUK_LOCAL_DECL void duk__json_dec_syntax_error (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_eat_white (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL duk_uint8_t duk__json_dec_peek (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL duk_uint8_t duk__json_dec_get (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL duk_uint8_t duk__json_dec_get_nonwhite (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL duk_uint_fast32_t duk__json_dec_decode_hex_escape (duk_json_dec_ctx *js_ctx, duk_small_uint_t n)
 
DUK_LOCAL_DECL void duk__json_dec_req_stridx (duk_json_dec_ctx *js_ctx, duk_small_uint_t stridx)
 
DUK_LOCAL_DECL void duk__json_dec_string (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_plain_string (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_pointer (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_buffer (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_number (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_objarr_entry (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_objarr_exit (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_object (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_array (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_value (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_dec_reviver_walk (duk_json_dec_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__emit_1 (duk_json_enc_ctx *js_ctx, duk_uint_fast8_t ch)
 
DUK_LOCAL_DECL void duk__emit_2 (duk_json_enc_ctx *js_ctx, duk_uint_fast8_t ch1, duk_uint_fast8_t ch2)
 
DUK_LOCAL_DECL void duk__unemit_1 (duk_json_enc_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__emit_hstring (duk_json_enc_ctx *js_ctx, duk_hstring *h)
 
DUK_LOCAL_DECL void duk__emit_cstring (duk_json_enc_ctx *js_ctx, const char *p)
 
DUK_LOCAL_DECL void duk__emit_stridx (duk_json_enc_ctx *js_ctx, duk_small_uint_t stridx)
 
DUK_LOCAL_DECL duk_uint8_t * duk__emit_esc_auto_fast (duk_json_enc_ctx *js_ctx, duk_uint_fast32_t cp, duk_uint8_t *q)
 
DUK_LOCAL_DECL void duk__json_enc_key_autoquote (duk_json_enc_ctx *js_ctx, duk_hstring *k)
 
DUK_LOCAL_DECL void duk__json_enc_quote_string (duk_json_enc_ctx *js_ctx, duk_hstring *h_str)
 
DUK_LOCAL_DECL void duk__json_enc_objarr_entry (duk_json_enc_ctx *js_ctx, duk_idx_t *entry_top)
 
DUK_LOCAL_DECL void duk__json_enc_objarr_exit (duk_json_enc_ctx *js_ctx, duk_idx_t *entry_top)
 
DUK_LOCAL_DECL void duk__json_enc_object (duk_json_enc_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_enc_array (duk_json_enc_ctx *js_ctx)
 
DUK_LOCAL_DECL duk_bool_t duk__json_enc_value (duk_json_enc_ctx *js_ctx, duk_idx_t idx_holder)
 
DUK_LOCAL_DECL duk_bool_t duk__json_enc_allow_into_proplist (duk_tval *tv)
 
DUK_LOCAL_DECL void duk__json_enc_double (duk_json_enc_ctx *js_ctx)
 
DUK_LOCAL_DECL void duk__json_enc_fastint_tval (duk_json_enc_ctx *js_ctx, duk_tval *tv)
 
DUK_LOCAL_DECL void duk__json_enc_buffer_jx_jc (duk_json_enc_ctx *js_ctx, duk_hbuffer *h)
 
DUK_LOCAL_DECL void duk__json_enc_pointer (duk_json_enc_ctx *js_ctx, void *ptr)
 
DUK_LOCAL_DECL void duk__json_enc_bufobj (duk_json_enc_ctx *js_ctx, duk_hbufobj *h_bufobj)
 
DUK_LOCAL_DECL void duk__json_enc_newline_indent (duk_json_enc_ctx *js_ctx, duk_uint_t depth)
 
DUK_LOCAL duk_small_int_t duk__json_dec_string_escape (duk_json_dec_ctx *js_ctx, duk_uint8_t **ext_p)
 
DUK_LOCAL duk_uint8_t * duk__json_enc_buffer_data_hex (const duk_uint8_t *src, duk_size_t src_len, duk_uint8_t *dst)
 
DUK_LOCAL void duk__json_enc_buffer_data (duk_json_enc_ctx *js_ctx, duk_uint8_t *buf_data, duk_size_t buf_len)
 
DUK_LOCAL duk_ret_t duk__math_minmax (duk_hthread *thr, duk_double_t initial, duk__two_arg_func min_max)
 
DUK_LOCAL double duk__fmin_fixed (double x, double y)
 
DUK_LOCAL double duk__fmax_fixed (double x, double y)
 
DUK_LOCAL double duk__cbrt (double x)
 
DUK_LOCAL double duk__log2 (double x)
 
DUK_LOCAL double duk__log10 (double x)
 
DUK_LOCAL double duk__trunc (double x)
 
DUK_LOCAL double duk__round_fixed (double x)
 
DUK_LOCAL double duk__fabs (double x)
 
DUK_LOCAL double duk__acos (double x)
 
DUK_LOCAL double duk__asin (double x)
 
DUK_LOCAL double duk__atan (double x)
 
DUK_LOCAL double duk__ceil (double x)
 
DUK_LOCAL double duk__cos (double x)
 
DUK_LOCAL double duk__exp (double x)
 
DUK_LOCAL double duk__floor (double x)
 
DUK_LOCAL double duk__log (double x)
 
DUK_LOCAL double duk__sin (double x)
 
DUK_LOCAL double duk__sqrt (double x)
 
DUK_LOCAL double duk__tan (double x)
 
DUK_LOCAL double duk__atan2_fixed (double x, double y)
 
DUK_LOCAL duk_double_t duk__push_this_number_plain (duk_hthread *thr)
 
DUK_LOCAL void duk__get_this_regexp (duk_hthread *thr)
 
DUK_LOCAL duk_hstringduk__str_tostring_notregexp (duk_hthread *thr, duk_idx_t idx)
 
DUK_LOCAL duk_int_t duk__str_search_shared (duk_hthread *thr, duk_hstring *h_this, duk_hstring *h_search, duk_int_t start_cpos, duk_bool_t backwards)
 
DUK_LOCAL duk_ret_t duk__construct_from_codepoints (duk_hthread *thr, duk_bool_t nonbmp)
 
DUK_LOCAL void duk__to_regexp_helper (duk_hthread *thr, duk_idx_t idx, duk_bool_t force_new)
 
DUK_LOCAL duk_hstringduk__auto_unbox_symbol (duk_hthread *thr, duk_tval *tv_arg)
 
DUK_LOCAL void duk__err_augment_user (duk_hthread *thr, duk_small_uint_t stridx_cb)
 
DUK_LOCAL void duk__add_traceback (duk_hthread *thr, duk_hthread *thr_callstack, const char *c_filename, duk_int_t c_line, duk_small_uint_t flags)
 
DUK_LOCAL void duk__add_compiler_error_line (duk_hthread *thr)
 
DUK_LOCAL void duk__err_augment_builtin_create (duk_hthread *thr, duk_hthread *thr_callstack, const char *c_filename, duk_int_t c_line, duk_hobject *obj, duk_small_uint_t flags)
 
 DUK_NORETURN (DUK_LOCAL_DECL void duk__uncaught_error_aware(duk_hthread *thr))
 
DUK_LOCAL void duk__uncaught_error_aware (duk_hthread *thr)
 
DUK_INTERNAL void duk_err_longjmp (duk_hthread *thr)
 
DUK_INTERNAL void duk_err_create_and_throw (duk_hthread *thr, duk_errcode_t code, const char *msg, const char *filename, duk_int_t line)
 
DUK_INTERNAL void duk_error_throw_from_negative_rc (duk_hthread *thr, duk_ret_t rc)
 
DUK_LOCAL duk_size_t duk__heap_free_activation_freelist (duk_heap *heap)
 
DUK_LOCAL duk_size_t duk__heap_free_catcher_freelist (duk_heap *heap)
 
DUK_LOCAL void duk__free_allocated (duk_heap *heap)
 
DUK_LOCAL void duk__free_finalize_list (duk_heap *heap)
 
DUK_LOCAL void duk__free_stringtable (duk_heap *heap)
 
DUK_LOCAL void duk__free_run_finalizers (duk_heap *heap)
 
DUK_LOCAL duk_bool_t duk__init_heap_strings (duk_heap *heap)
 
DUK_LOCAL duk_bool_t duk__init_heap_thread (duk_heap *heap)
 
DUK_LOCAL duk_ret_t duk__finalize_helper (duk_hthread *thr, void *udata)
 
DUK_LOCAL_DECL void duk__mark_heaphdr (duk_heap *heap, duk_heaphdr *h)
 
DUK_LOCAL_DECL void duk__mark_heaphdr_nonnull (duk_heap *heap, duk_heaphdr *h)
 
DUK_LOCAL_DECL void duk__mark_tval (duk_heap *heap, duk_tval *tv)
 
DUK_LOCAL_DECL void duk__mark_tvals (duk_heap *heap, duk_tval *tv, duk_idx_t count)
 
DUK_LOCAL void duk__mark_hstring (duk_heap *heap, duk_hstring *h)
 
DUK_LOCAL void duk__mark_hobject (duk_heap *heap, duk_hobject *h)
 
DUK_LOCAL void duk__mark_roots_heap (duk_heap *heap)
 
DUK_LOCAL void duk__mark_finalizable (duk_heap *heap)
 
DUK_LOCAL void duk__mark_finalize_list (duk_heap *heap)
 
DUK_LOCAL void duk__handle_temproot (duk_heap *heap, duk_heaphdr *hdr)
 
DUK_LOCAL void duk__mark_temproots_by_heap_scan (duk_heap *heap)
 
DUK_LOCAL void duk__finalize_refcounts (duk_heap *heap)
 
DUK_LOCAL void duk__clear_finalize_list_flags (duk_heap *heap)
 
DUK_LOCAL void duk__sweep_stringtable (duk_heap *heap, duk_size_t *out_count_keep)
 
DUK_LOCAL void duk__sweep_heap (duk_heap *heap, duk_small_uint_t flags, duk_size_t *out_count_keep)
 
DUK_LOCAL void duk__wipe_litcache (duk_heap *heap)
 
DUK_LOCAL int duk__protected_compact_object (duk_hthread *thr, void *udata)
 
DUK_LOCAL void duk__compact_object_list (duk_heap *heap, duk_hthread *thr, duk_heaphdr *start)
 
DUK_LOCAL void duk__compact_objects (duk_heap *heap)
 
DUK_LOCAL DUK_NOINLINE_PERF DUK_COLD void * duk__heap_mem_alloc_slowpath (duk_heap *heap, duk_size_t size)
 
DUK_LOCAL DUK_NOINLINE_PERF DUK_COLD void * duk__heap_mem_realloc_slowpath (duk_heap *heap, void *ptr, duk_size_t newsize)
 
DUK_LOCAL DUK_NOINLINE_PERF DUK_COLD void * duk__heap_mem_realloc_indirect_slowpath (duk_heap *heap, duk_mem_getptr cb, void *ud, duk_size_t newsize)
 
DUK_LOCAL void duk__decref_tvals_norz (duk_hthread *thr, duk_tval *tv, duk_idx_t count)
 
DUK_LOCAL void duk__refcount_free_pending (duk_heap *heap)
 
DUK_LOCAL DUK_INLINE void duk__refcount_refzero_hobject (duk_heap *heap, duk_hobject *obj, duk_bool_t skip_free_pending)
 
DUK_LOCAL DUK_INLINE void duk__refcount_refzero_hstring (duk_heap *heap, duk_hstring *str)
 
DUK_LOCAL DUK_INLINE void duk__refcount_refzero_hbuffer (duk_heap *heap, duk_hbuffer *buf)
 
DUK_LOCAL DUK__RZ_INLINE void duk__hstring_refzero_helper (duk_hthread *thr, duk_hstring *h)
 
DUK_LOCAL DUK__RZ_INLINE void duk__hbuffer_refzero_helper (duk_hthread *thr, duk_hbuffer *h)
 
DUK_LOCAL DUK__RZ_INLINE void duk__hobject_refzero_helper (duk_hthread *thr, duk_hobject *h, duk_bool_t skip_free_pending)
 
DUK_LOCAL DUK__RZ_INLINE void duk__heaphdr_refzero_helper (duk_hthread *thr, duk_heaphdr *h, duk_bool_t skip_free_pending)
 
DUK_LOCAL const duk_uint8_t * duk__scan_forwards (const duk_uint8_t *p, const duk_uint8_t *q, duk_uint_fast32_t n)
 
DUK_LOCAL const duk_uint8_t * duk__scan_backwards (const duk_uint8_t *p, const duk_uint8_t *q, duk_uint_fast32_t n)
 
DUK_LOCAL duk_hstringduk__strtable_alloc_hstring (duk_heap *heap, const duk_uint8_t *str, duk_uint32_t blen, duk_uint32_t strhash, const duk_uint8_t *extdata)
 
DUK_LOCAL void duk__strtable_grow_inplace (duk_heap *heap)
 
DUK_LOCAL void duk__strtable_shrink_inplace (duk_heap *heap)
 
DUK_LOCAL DUK_COLD DUK_NOINLINE void duk__strtable_resize_check (duk_heap *heap)
 
DUK_LOCAL duk_hstringduk__strtable_do_intern (duk_heap *heap, const duk_uint8_t *str, duk_uint32_t blen, duk_uint32_t strhash)
 
DUK_LOCAL duk_uint_t duk__strtable_litcache_key (const duk_uint8_t *str, duk_uint32_t blen)
 
DUK_LOCAL void duk__init_object_parts (duk_heap *heap, duk_uint_t hobject_flags, duk_hobject *obj)
 
DUK_LOCAL void * duk__hobject_alloc_init (duk_hthread *thr, duk_uint_t hobject_flags, duk_size_t size)
 
DUK_LOCAL duk__sort_key_t duk__hstring_sort_key (duk_hstring *x)
 
DUK_LOCAL duk_bool_t duk__sort_compare_es6 (duk_hstring *a, duk_hstring *b, duk__sort_key_t val_b)
 
DUK_LOCAL void duk__sort_enum_keys_es6 (duk_hthread *thr, duk_hobject *h_obj, duk_int_fast32_t idx_start, duk_int_fast32_t idx_end)
 
DUK_LOCAL void duk__add_enum_key (duk_hthread *thr, duk_hstring *k)
 
DUK_LOCAL void duk__add_enum_key_stridx (duk_hthread *thr, duk_small_uint_t stridx)
 
DUK_LOCAL duk_uint_fast32_t duk__hobject_pc2line_query_raw (duk_hthread *thr, duk_hbuffer_fixed *buf, duk_uint_fast32_t pc)
 
DUK_LOCAL_DECL duk_bool_t duk__check_arguments_map_for_get (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_propdesc *temp_desc)
 
DUK_LOCAL_DECL void duk__check_arguments_map_for_put (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_propdesc *temp_desc, duk_bool_t throw_flag)
 
DUK_LOCAL_DECL void duk__check_arguments_map_for_delete (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_propdesc *temp_desc)
 
DUK_LOCAL_DECL duk_bool_t duk__handle_put_array_length_smaller (duk_hthread *thr, duk_hobject *obj, duk_uint32_t old_len, duk_uint32_t new_len, duk_bool_t force_flag, duk_uint32_t *out_result_len)
 
DUK_LOCAL_DECL duk_bool_t duk__handle_put_array_length (duk_hthread *thr, duk_hobject *obj)
 
DUK_LOCAL_DECL duk_bool_t duk__get_propdesc (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_propdesc *out_desc, duk_small_uint_t flags)
 
DUK_LOCAL_DECL duk_bool_t duk__get_own_propdesc_raw (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_uint32_t arr_idx, duk_propdesc *out_desc, duk_small_uint_t flags)
 
DUK_LOCAL_DECL void duk__abandon_array_part (duk_hthread *thr, duk_hobject *obj)
 
DUK_LOCAL_DECL void duk__grow_props_for_array_item (duk_hthread *thr, duk_hobject *obj, duk_uint32_t highest_arr_idx)
 
DUK_LOCAL duk_uint32_t duk__tval_number_to_arr_idx (duk_tval *tv)
 
DUK_LOCAL duk_uint32_t duk__tval_fastint_to_arr_idx (duk_tval *tv)
 
DUK_LOCAL duk_uint32_t duk__to_property_key (duk_hthread *thr, duk_idx_t idx, duk_hstring **out_h)
 
DUK_LOCAL duk_uint32_t duk__push_tval_to_property_key (duk_hthread *thr, duk_tval *tv_key, duk_hstring **out_h)
 
DUK_LOCAL duk_bool_t duk__key_is_plain_buf_ownprop (duk_hthread *thr, duk_hbuffer *buf, duk_hstring *key, duk_uint32_t arr_idx)
 
DUK_LOCAL duk_uint32_t duk__get_default_h_size (duk_uint32_t e_size)
 
DUK_LOCAL duk_uint32_t duk__get_min_grow_e (duk_uint32_t e_size)
 
DUK_LOCAL duk_uint32_t duk__get_min_grow_a (duk_uint32_t a_size)
 
DUK_LOCAL duk_uint32_t duk__count_used_e_keys (duk_hthread *thr, duk_hobject *obj)
 
DUK_LOCAL void duk__compute_a_stats (duk_hthread *thr, duk_hobject *obj, duk_uint32_t *out_used, duk_uint32_t *out_min_size)
 
DUK_LOCAL duk_bool_t duk__abandon_array_density_check (duk_uint32_t a_used, duk_uint32_t a_size)
 
DUK_LOCAL duk_bool_t duk__abandon_array_slow_check_required (duk_uint32_t arr_idx, duk_uint32_t old_size)
 
DUK_LOCAL duk_bool_t duk__abandon_array_check (duk_hthread *thr, duk_uint32_t arr_idx, duk_hobject *obj)
 
DUK_LOCAL duk_tvalduk__obtain_arridx_slot_slowpath (duk_hthread *thr, duk_uint32_t arr_idx, duk_hobject *obj)
 
DUK_LOCAL DUK_INLINE duk_tvalduk__obtain_arridx_slot (duk_hthread *thr, duk_uint32_t arr_idx, duk_hobject *obj)
 
DUK_LOCAL duk_bool_t duk__proxy_check_prop (duk_hthread *thr, duk_hobject *obj, duk_small_uint_t stridx_trap, duk_tval *tv_key, duk_hobject **out_target)
 
DUK_LOCAL void duk__grow_props_for_new_entry_item (duk_hthread *thr, duk_hobject *obj)
 
DUK_LOCAL duk_int_t duk__hobject_alloc_entry_checked (duk_hthread *thr, duk_hobject *obj, duk_hstring *key)
 
DUK_LOCAL duk_heaphdrduk_hobject_get_internal_value_heaphdr (duk_heap *heap, duk_hobject *obj)
 
DUK_LOCAL duk_hobjectduk__hobject_get_entry_object_stridx (duk_heap *heap, duk_hobject *obj, duk_small_uint_t stridx)
 
DUK_LOCAL duk_bool_t duk__lookup_arguments_map (duk_hthread *thr, duk_hobject *obj, duk_hstring *key, duk_propdesc *temp_desc, duk_hobject **out_map, duk_hobject **out_varenv)
 
DUK_LOCAL duk_tvalduk__getprop_shallow_fastpath_array_tval (duk_hthread *thr, duk_hobject *obj, duk_tval *tv_key)
 
DUK_LOCAL duk_bool_t duk__putprop_shallow_fastpath_array_tval (duk_hthread *thr, duk_hobject *obj, duk_tval *tv_key, duk_tval *tv_val)
 
DUK_LOCAL duk_bool_t duk__getprop_fastpath_bufobj_tval (duk_hthread *thr, duk_hobject *obj, duk_tval *tv_key)
 
DUK_LOCAL duk_bool_t duk__putprop_fastpath_bufobj_tval (duk_hthread *thr, duk_hobject *obj, duk_tval *tv_key, duk_tval *tv_val)
 
DUK_LOCAL duk_uint32_t duk__to_new_array_length_checked (duk_hthread *thr, duk_tval *tv)
 
DUK_LOCAL DUK_COLD duk_size_t duk__hstring_get_charlen_slowpath (duk_hstring *h)
 
DUK_LOCAL void duk__push_stridx (duk_hthread *thr, duk_bitdecoder_ctx *bd)
 
DUK_LOCAL void duk__push_string (duk_hthread *thr, duk_bitdecoder_ctx *bd)
 
DUK_LOCAL void duk__push_stridx_or_string (duk_hthread *thr, duk_bitdecoder_ctx *bd)
 
DUK_LOCAL void duk__push_double (duk_hthread *thr, duk_bitdecoder_ctx *bd)
 
DUK_LOCAL DUK_NOINLINE duk_catcherduk__hthread_catcher_alloc_slow (duk_hthread *thr)
 
DUK_LOCAL DUK_NOINLINE duk_activationduk__hthread_activation_alloc_slow (duk_hthread *thr)
 
DUK_LOCAL void duk__activation_unwind_nofree_norz (duk_hthread *thr)
 
DUK_LOCAL DUK_NOINLINE void duk__call_c_recursion_limit_check_slowpath (duk_hthread *thr)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__call_c_recursion_limit_check (duk_hthread *thr)
 
DUK_LOCAL DUK_NOINLINE void duk__call_callstack_limit_check_slowpath (duk_hthread *thr)
 
DUK_LOCAL DUK_ALWAYS_INLINE void duk__call_callstack_limit_check (duk_hthread *thr)
 
DUK_LOCAL void duk__create_arguments_object (duk_hthread *thr, duk_hobject *func, duk_hobject *varenv, duk_idx_t idx_args)
 
DUK_LOCAL void duk__handle_createargs_for_call (duk_hthread *thr, duk_hobject *func, duk_hobject *env, duk_idx_t idx_args)
 
DUK_LOCAL void duk__update_default_instance_proto (duk_hthread *thr, duk_idx_t idx_func)
 
DUK_LOCAL void duk__handle_bound_chain_for_call (duk_hthread *thr, duk_idx_t idx_func, duk_bool_t is_constructor_call)
 
DUK_LOCAL duk_bool_t duk__handle_specialfuncs_for_call (duk_hthread *thr, duk_idx_t idx_func, duk_hobject *func, duk_small_uint_t *call_flags, duk_bool_t first)
 
DUK_LOCAL void duk__handle_proxy_for_call (duk_hthread *thr, duk_idx_t idx_func, duk_hproxy *h_proxy, duk_small_uint_t *call_flags)
 
DUK_LOCAL void duk__handle_oldenv_for_call (duk_hthread *thr, duk_hobject *func, duk_activation *act)
 
DUK_LOCAL DUK_INLINE void duk__coerce_nonstrict_this_binding (duk_hthread *thr, duk_idx_t idx_this)
 
DUK_LOCAL DUK_ALWAYS_INLINE duk_bool_t duk__resolve_target_fastpath_check (duk_hthread *thr, duk_idx_t idx_func, duk_hobject **out_func, duk_small_uint_t call_flags)
 
DUK_LOCAL duk_hobjectduk__resolve_target_func_and_this_binding (duk_hthread *thr, duk_idx_t idx_func, duk_small_uint_t *call_flags)
 
DUK_LOCAL void duk__safe_call_adjust_valstack (duk_hthread *thr, duk_idx_t idx_retbase, duk_idx_t num_stack_rets, duk_idx_t num_actual_rets)
 
DUK_LOCAL duk_small_uint_t duk__call_setup_act_attempt_tailcall (duk_hthread *thr, duk_small_uint_t call_flags, duk_idx_t idx_func, duk_hobject *func, duk_size_t entry_valstack_bottom_byteoff, duk_size_t entry_valstack_end_byteoff, duk_idx_t *out_nargs, duk_idx_t *out_nregs, duk_size_t *out_vs_min_bytes, duk_activation **out_act)
 
DUK_LOCAL void duk__call_setup_act_not_tailcall (duk_hthread *thr, duk_small_uint_t call_flags, duk_idx_t idx_func, duk_hobject *func, duk_size_t entry_valstack_bottom_byteoff, duk_size_t entry_valstack_end_byteoff, duk_idx_t *out_nargs, duk_idx_t *out_nregs, duk_size_t *out_vs_min_bytes, duk_activation **out_act)
 
DUK_LOCAL void duk__call_env_setup (duk_hthread *thr, duk_hobject *func, duk_activation *act, duk_idx_t idx_args)
 
DUK_LOCAL void duk__call_thread_state_update (duk_hthread *thr)
 
DUK_LOCAL duk_int_t duk__handle_call_raw (duk_hthread *thr, duk_idx_t idx_func, duk_small_uint_t call_flags)
 
DUK_LOCAL void duk__handle_safe_call_inner (duk_hthread *thr, duk_safe_call_function func, void *udata, duk_hthread *entry_curr_thread, duk_uint_fast8_t entry_thread_state, duk_idx_t idx_retbase, duk_idx_t num_stack_rets)
 
DUK_LOCAL void duk__handle_safe_call_error (duk_hthread *thr, duk_activation *entry_act, duk_hthread *entry_curr_thread, duk_uint_fast8_t entry_thread_state, duk_idx_t idx_retbase, duk_idx_t num_stack_rets, duk_size_t entry_valstack_bottom_byteoff, duk_jmpbuf *old_jmpbuf_ptr)
 
DUK_LOCAL void duk__handle_safe_call_shared_unwind (duk_hthread *thr, duk_idx_t idx_retbase, duk_idx_t num_stack_rets, duk_int_t entry_call_recursion_depth, duk_hthread *entry_curr_thread, duk_instr_t **entry_ptr_curr_pc)
 
DUK_LOCAL_DECL void duk__advance_helper (duk_compiler_ctx *comp_ctx, duk_small_int_t expect)
 
DUK_LOCAL_DECL void duk__advance_expect (duk_compiler_ctx *comp_ctx, duk_small_int_t expect)
 
DUK_LOCAL_DECL void duk__advance (duk_compiler_ctx *ctx)
 
DUK_LOCAL_DECL void duk__init_func_valstack_slots (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL void duk__reset_func_for_pass2 (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL void duk__init_varmap_and_prologue_for_pass2 (duk_compiler_ctx *comp_ctx, duk_regconst_t *out_stmt_value_reg)
 
DUK_LOCAL_DECL void duk__convert_to_func_template (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL duk_int_t duk__cleanup_varmap (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL duk_int_t duk__get_current_pc (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL duk_compiler_instrduk__get_instr_ptr (duk_compiler_ctx *comp_ctx, duk_int_t pc)
 
DUK_LOCAL_DECL void duk__emit (duk_compiler_ctx *comp_ctx, duk_instr_t ins)
 
DUK_LOCAL_DECL void duk__emit_op_only (duk_compiler_ctx *comp_ctx, duk_small_uint_t op)
 
DUK_LOCAL_DECL void duk__emit_a_b_c (duk_compiler_ctx *comp_ctx, duk_small_uint_t op_flags, duk_regconst_t a, duk_regconst_t b, duk_regconst_t c)
 
DUK_LOCAL_DECL void duk__emit_a_b (duk_compiler_ctx *comp_ctx, duk_small_uint_t op_flags, duk_regconst_t a, duk_regconst_t b)
 
DUK_LOCAL_DECL void duk__emit_b_c (duk_compiler_ctx *comp_ctx, duk_small_uint_t op_flags, duk_regconst_t b, duk_regconst_t c)
 
DUK_LOCAL_DECL void duk__emit_a_bc (duk_compiler_ctx *comp_ctx, duk_small_uint_t op_flags, duk_regconst_t a, duk_regconst_t bc)
 
DUK_LOCAL_DECL void duk__emit_bc (duk_compiler_ctx *comp_ctx, duk_small_uint_t op, duk_regconst_t bc)
 
DUK_LOCAL_DECL void duk__emit_abc (duk_compiler_ctx *comp_ctx, duk_small_uint_t op, duk_regconst_t abc)
 
DUK_LOCAL_DECL void duk__emit_load_int32 (duk_compiler_ctx *comp_ctx, duk_regconst_t reg, duk_int32_t val)
 
DUK_LOCAL_DECL void duk__emit_load_int32_noshuffle (duk_compiler_ctx *comp_ctx, duk_regconst_t reg, duk_int32_t val)
 
DUK_LOCAL_DECL void duk__emit_jump (duk_compiler_ctx *comp_ctx, duk_int_t target_pc)
 
DUK_LOCAL_DECL duk_int_t duk__emit_jump_empty (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL void duk__insert_jump_entry (duk_compiler_ctx *comp_ctx, duk_int_t jump_pc)
 
DUK_LOCAL_DECL void duk__patch_jump (duk_compiler_ctx *comp_ctx, duk_int_t jump_pc, duk_int_t target_pc)
 
DUK_LOCAL_DECL void duk__patch_jump_here (duk_compiler_ctx *comp_ctx, duk_int_t jump_pc)
 
DUK_LOCAL_DECL void duk__patch_trycatch (duk_compiler_ctx *comp_ctx, duk_int_t ldconst_pc, duk_int_t trycatch_pc, duk_regconst_t reg_catch, duk_regconst_t const_varname, duk_small_uint_t flags)
 
DUK_LOCAL_DECL void duk__emit_if_false_skip (duk_compiler_ctx *comp_ctx, duk_regconst_t regconst)
 
DUK_LOCAL_DECL void duk__emit_if_true_skip (duk_compiler_ctx *comp_ctx, duk_regconst_t regconst)
 
DUK_LOCAL_DECL void duk__emit_invalid (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL void duk__ivalue_regconst (duk_ivalue *x, duk_regconst_t regconst)
 
DUK_LOCAL_DECL void duk__ivalue_plain_fromstack (duk_compiler_ctx *comp_ctx, duk_ivalue *x)
 
DUK_LOCAL_DECL void duk__ivalue_var_fromstack (duk_compiler_ctx *comp_ctx, duk_ivalue *x)
 
DUK_LOCAL_DECL void duk__ivalue_var_hstring (duk_compiler_ctx *comp_ctx, duk_ivalue *x, duk_hstring *h)
 
DUK_LOCAL_DECL void duk__copy_ispec (duk_compiler_ctx *comp_ctx, duk_ispec *src, duk_ispec *dst)
 
DUK_LOCAL_DECL void duk__copy_ivalue (duk_compiler_ctx *comp_ctx, duk_ivalue *src, duk_ivalue *dst)
 
DUK_LOCAL_DECL duk_regconst_t duk__alloctemps (duk_compiler_ctx *comp_ctx, duk_small_int_t num)
 
DUK_LOCAL_DECL duk_regconst_t duk__alloctemp (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL void duk__settemp_checkmax (duk_compiler_ctx *comp_ctx, duk_regconst_t temp_next)
 
DUK_LOCAL_DECL duk_regconst_t duk__getconst (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL duk_regconst_t duk__ispec_toregconst_raw (duk_compiler_ctx *comp_ctx, duk_ispec *x, duk_regconst_t forced_reg, duk_small_uint_t flags)
 
DUK_LOCAL_DECL void duk__ispec_toforcedreg (duk_compiler_ctx *comp_ctx, duk_ispec *x, duk_regconst_t forced_reg)
 
DUK_LOCAL_DECL void duk__ivalue_toplain_raw (duk_compiler_ctx *comp_ctx, duk_ivalue *x, duk_regconst_t forced_reg)
 
DUK_LOCAL_DECL void duk__ivalue_toplain (duk_compiler_ctx *comp_ctx, duk_ivalue *x)
 
DUK_LOCAL_DECL void duk__ivalue_toplain_ignore (duk_compiler_ctx *comp_ctx, duk_ivalue *x)
 
DUK_LOCAL_DECL duk_regconst_t duk__ivalue_toregconst_raw (duk_compiler_ctx *comp_ctx, duk_ivalue *x, duk_regconst_t forced_reg, duk_small_uint_t flags)
 
DUK_LOCAL_DECL duk_regconst_t duk__ivalue_toreg (duk_compiler_ctx *comp_ctx, duk_ivalue *x)
 
DUK_LOCAL_DECL void duk__ivalue_toforcedreg (duk_compiler_ctx *comp_ctx, duk_ivalue *x, duk_int_t forced_reg)
 
DUK_LOCAL_DECL duk_regconst_t duk__ivalue_toregconst (duk_compiler_ctx *comp_ctx, duk_ivalue *x)
 
DUK_LOCAL_DECL duk_regconst_t duk__ivalue_totempconst (duk_compiler_ctx *comp_ctx, duk_ivalue *x)
 
DUK_LOCAL_DECL duk_regconst_t duk__lookup_active_register_binding (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL duk_bool_t duk__lookup_lhs (duk_compiler_ctx *ctx, duk_regconst_t *out_reg_varbind, duk_regconst_t *out_rc_varname)
 
DUK_LOCAL_DECL void duk__add_label (duk_compiler_ctx *comp_ctx, duk_hstring *h_label, duk_int_t pc_label, duk_int_t label_id)
 
DUK_LOCAL_DECL void duk__update_label_flags (duk_compiler_ctx *comp_ctx, duk_int_t label_id, duk_small_uint_t flags)
 
DUK_LOCAL_DECL void duk__lookup_active_label (duk_compiler_ctx *comp_ctx, duk_hstring *h_label, duk_bool_t is_break, duk_int_t *out_label_id, duk_int_t *out_label_catch_depth, duk_int_t *out_label_pc, duk_bool_t *out_is_closest)
 
DUK_LOCAL_DECL void duk__reset_labels_to_length (duk_compiler_ctx *comp_ctx, duk_size_t len)
 
DUK_LOCAL_DECL void duk__expr_nud (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__expr_led (duk_compiler_ctx *comp_ctx, duk_ivalue *left, duk_ivalue *res)
 
DUK_LOCAL_DECL duk_small_uint_t duk__expr_lbp (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL duk_bool_t duk__expr_is_empty (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL void duk__expr (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags)
 
DUK_LOCAL_DECL void duk__exprtop (duk_compiler_ctx *ctx, duk_ivalue *res, duk_small_uint_t rbp_flags)
 
DUK_LOCAL_DECL void duk__expr_toforcedreg (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags, duk_regconst_t forced_reg)
 
DUK_LOCAL_DECL duk_regconst_t duk__expr_toregconst (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags)
 
DUK_LOCAL_DECL void duk__expr_toplain (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags)
 
DUK_LOCAL_DECL void duk__expr_toplain_ignore (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags)
 
DUK_LOCAL_DECL duk_regconst_t duk__exprtop_toreg (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags)
 
DUK_LOCAL_DECL void duk__exprtop_toforcedreg (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags, duk_regconst_t forced_reg)
 
DUK_LOCAL_DECL duk_regconst_t duk__exprtop_toregconst (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t rbp_flags)
 
DUK_LOCAL_DECL duk_int_t duk__parse_arguments (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__nud_array_literal (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__nud_object_literal (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__parse_var_decl (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t expr_flags, duk_regconst_t *out_reg_varbind, duk_regconst_t *out_rc_varname)
 
DUK_LOCAL_DECL void duk__parse_var_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_small_uint_t expr_flags)
 
DUK_LOCAL_DECL void duk__parse_for_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_int_t pc_label_site)
 
DUK_LOCAL_DECL void duk__parse_switch_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_int_t pc_label_site)
 
DUK_LOCAL_DECL void duk__parse_if_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__parse_do_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_int_t pc_label_site)
 
DUK_LOCAL_DECL void duk__parse_while_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_int_t pc_label_site)
 
DUK_LOCAL_DECL void duk__parse_break_or_continue_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__parse_return_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__parse_throw_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__parse_try_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__parse_with_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res)
 
DUK_LOCAL_DECL void duk__parse_stmt (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_bool_t allow_source_elem)
 
DUK_LOCAL_DECL duk_int_t duk__stmt_label_site (duk_compiler_ctx *comp_ctx, duk_int_t label_id)
 
DUK_LOCAL_DECL void duk__parse_stmts (duk_compiler_ctx *comp_ctx, duk_bool_t allow_source_elem, duk_bool_t expect_eof, duk_bool_t regexp_after)
 
DUK_LOCAL_DECL void duk__parse_func_body (duk_compiler_ctx *comp_ctx, duk_bool_t expect_eof, duk_bool_t implicit_return_value, duk_bool_t regexp_after, duk_small_int_t expect_token)
 
DUK_LOCAL_DECL void duk__parse_func_formals (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL_DECL void duk__parse_func_like_raw (duk_compiler_ctx *comp_ctx, duk_small_uint_t flags)
 
DUK_LOCAL_DECL duk_int_t duk__parse_func_like_fnum (duk_compiler_ctx *comp_ctx, duk_small_uint_t flags)
 
DUK_LOCAL void duk__comp_recursion_increase (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL void duk__comp_recursion_decrease (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL duk_bool_t duk__hstring_is_eval_or_arguments (duk_compiler_ctx *comp_ctx, duk_hstring *h)
 
DUK_LOCAL duk_bool_t duk__hstring_is_eval_or_arguments_in_strict_mode (duk_compiler_ctx *comp_ctx, duk_hstring *h)
 
DUK_LOCAL void duk__update_lineinfo_currtoken (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL void duk__emit_load_int32_raw (duk_compiler_ctx *comp_ctx, duk_regconst_t reg, duk_int32_t val, duk_small_uint_t op_flags)
 
DUK_LOCAL void duk__peephole_optimize_bytecode (duk_compiler_ctx *comp_ctx)
 
DUK_LOCAL duk_bool_t duk__const_needs_refcount (duk_compiler_ctx *comp_ctx, duk_regconst_t rc)
 
DUK_LOCAL void duk__objlit_flush_keys (duk_compiler_ctx *comp_ctx, duk__objlit_state *st)
 
DUK_LOCAL duk_bool_t duk__objlit_load_key (duk_compiler_ctx *comp_ctx, duk_ivalue *res, duk_token *tok, duk_regconst_t reg_temp)
 
DUK_LOCAL duk_ret_t duk__js_compile_raw (duk_hthread *thr, void *udata)
 
DUK_LOCAL_DECL void duk__js_execute_bytecode_inner (duk_hthread *entry_thread, duk_activation *entry_act)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF duk_double_t duk__compute_mod (duk_double_t d1, duk_double_t d2)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF duk_double_t duk__compute_exp (duk_double_t d1, duk_double_t d2)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_arith_add (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y, duk_small_uint_fast_t idx_z)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_arith_binary_op (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y, duk_uint_fast_t idx_z, duk_small_uint_fast_t opcode)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_bitwise_binary_op (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y, duk_small_uint_fast_t idx_z, duk_small_uint_fast_t opcode)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_arith_unary_op (duk_hthread *thr, duk_uint_fast_t idx_src, duk_uint_fast_t idx_dst, duk_small_uint_fast_t opcode)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_bitwise_not (duk_hthread *thr, duk_uint_fast_t idx_src, duk_uint_fast_t idx_dst)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_logical_not (duk_hthread *thr, duk_uint_fast_t idx_src, duk_uint_fast_t idx_dst)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__prepost_incdec_reg_helper (duk_hthread *thr, duk_tval *tv_dst, duk_tval *tv_src, duk_small_uint_t op)
 
DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__prepost_incdec_var_helper (duk_hthread *thr, duk_small_uint_t idx_dst, duk_tval *tv_id, duk_small_uint_t op, duk_small_uint_t is_strict)
 
DUK_LOCAL void duk__reconfig_valstack_ecma_return (duk_hthread *thr)
 
DUK_LOCAL void duk__reconfig_valstack_ecma_catcher (duk_hthread *thr, duk_activation *act)
 
DUK_LOCAL void duk__set_catcher_regs_norz (duk_hthread *thr, duk_catcher *cat, duk_tval *tv_val_unstable, duk_small_uint_t lj_type)
 
DUK_LOCAL void duk__handle_catch_part1 (duk_hthread *thr, duk_tval *tv_val_unstable, duk_small_uint_t lj_type, volatile duk_bool_t *out_delayed_catch_setup)
 
DUK_LOCAL void duk__handle_catch_part2 (duk_hthread *thr)
 
DUK_LOCAL void duk__handle_finally (duk_hthread *thr, duk_tval *tv_val_unstable, duk_small_uint_t lj_type)
 
DUK_LOCAL void duk__handle_label (duk_hthread *thr, duk_small_uint_t lj_type)
 
DUK_LOCAL void duk__handle_yield (duk_hthread *thr, duk_hthread *resumer, duk_tval *tv_val_unstable)
 
DUK_LOCAL duk_small_uint_t duk__handle_longjmp (duk_hthread *thr, duk_activation *entry_act, volatile duk_bool_t *out_delayed_catch_setup)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_break_or_continue (duk_hthread *thr, duk_uint_t label_id, duk_small_uint_t lj_type)
 
DUK_LOCAL duk_small_uint_t duk__handle_return (duk_hthread *thr, duk_activation *entry_act)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF DUK_COLD duk_small_uint_t duk__executor_interrupt (duk_hthread *thr)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_op_initset_initget (duk_hthread *thr, duk_uint_fast32_t ins)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_op_trycatch (duk_hthread *thr, duk_uint_fast32_t ins, duk_instr_t *curr_pc)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_instr_tduk__handle_op_endtry (duk_hthread *thr, duk_uint_fast32_t ins)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_instr_tduk__handle_op_endcatch (duk_hthread *thr, duk_uint_fast32_t ins)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_small_uint_t duk__handle_op_endfin (duk_hthread *thr, duk_uint_fast32_t ins, duk_activation *entry_act)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_op_initenum (duk_hthread *thr, duk_uint_fast32_t ins)
 
DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_small_uint_t duk__handle_op_nextenum (duk_hthread *thr, duk_uint_fast32_t ins)
 
DUK_LOCAL duk_bool_t duk__executor_handle_call (duk_hthread *thr, duk_idx_t idx, duk_idx_t nargs, duk_small_uint_t call_flags)
 
DUK_LOCAL void duk__handle_executor_error (duk_heap *heap, duk_activation *entry_act, duk_int_t entry_call_recursion_depth, duk_jmpbuf *entry_jmpbuf_ptr, volatile duk_bool_t *out_delayed_catch_setup)
 
DUK_LOCAL duk_double_t duk__tonumber_string_raw (duk_hthread *thr)
 
DUK_LOCAL duk_double_t duk__toint32_touint32_helper (duk_double_t x, duk_bool_t is_toint32)
 
DUK_LOCAL duk_bool_t duk__js_equals_number (duk_double_t x, duk_double_t y)
 
DUK_LOCAL duk_bool_t duk__js_samevalue_number (duk_double_t x, duk_double_t y)
 
DUK_LOCAL duk_bool_t duk__compare_fastint (duk_bool_t retval, duk_int64_t v1, duk_int64_t v2)
 
DUK_LOCAL duk_bool_t duk__compare_number (duk_bool_t retval, duk_double_t d1, duk_double_t d2)
 
DUK_LOCAL duk_bool_t duk__js_instanceof_helper (duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y, duk_bool_t skip_sym_check)
 
DUK_LOCAL void duk__inc_data_inner_refcounts (duk_hthread *thr, duk_hcompfunc *f)
 
DUK_LOCAL void duk__preallocate_env_entries (duk_hthread *thr, duk_hobject *varmap, duk_hobject *env)
 
DUK_LOCAL duk_bool_t duk__getid_open_decl_env_regs (duk_hthread *thr, duk_hstring *name, duk_hdecenv *env, duk__id_lookup_result *out)
 
DUK_LOCAL duk_bool_t duk__getid_activation_regs (duk_hthread *thr, duk_hstring *name, duk_activation *act, duk__id_lookup_result *out)
 
DUK_LOCAL duk_bool_t duk__get_identifier_reference (duk_hthread *thr, duk_hobject *env, duk_hstring *name, duk_activation *act, duk_bool_t parents, duk__id_lookup_result *out)
 
DUK_LOCAL duk_bool_t duk__getvar_helper (duk_hthread *thr, duk_hobject *env, duk_activation *act, duk_hstring *name, duk_bool_t throw_flag)
 
DUK_LOCAL void duk__putvar_helper (duk_hthread *thr, duk_hobject *env, duk_activation *act, duk_hstring *name, duk_tval *val, duk_bool_t strict)
 
DUK_LOCAL duk_bool_t duk__delvar_helper (duk_hthread *thr, duk_hobject *env, duk_activation *act, duk_hstring *name)
 
DUK_LOCAL duk_bool_t duk__declvar_helper (duk_hthread *thr, duk_hobject *env, duk_hstring *name, duk_tval *val, duk_small_uint_t prop_flags, duk_bool_t is_func_decl)
 
DUK_LOCAL void duk__fill_lexer_buffer (duk_lexer_ctx *lex_ctx, duk_small_uint_t start_offset_bytes)
 
DUK_LOCAL void duk__advance_bytes (duk_lexer_ctx *lex_ctx, duk_small_uint_t count_bytes)
 
DUK_LOCAL void duk__init_lexer_window (duk_lexer_ctx *lex_ctx)
 
DUK_LOCAL void duk__advance_chars (duk_lexer_ctx *lex_ctx, duk_small_uint_t count_chars)
 
DUK_LOCAL void duk__initbuffer (duk_lexer_ctx *lex_ctx)
 
DUK_LOCAL void duk__appendbuffer (duk_lexer_ctx *lex_ctx, duk_codepoint_t x)
 
DUK_LOCAL void duk__appendbuffer_ascii (duk_lexer_ctx *lex_ctx, duk_codepoint_t x)
 
DUK_LOCAL duk_hstringduk__internbuffer (duk_lexer_ctx *lex_ctx, duk_idx_t valstack_idx)
 
DUK_LOCAL duk_codepoint_t duk__hexval_validate (duk_codepoint_t x)
 
DUK_LOCAL duk_codepoint_t duk__hexval (duk_codepoint_t x)
 
DUK_LOCAL duk_bool_t duk__is_hex_digit (duk_codepoint_t x)
 
DUK_LOCAL duk_codepoint_t duk__lexer_parse_escape (duk_lexer_ctx *lex_ctx, duk_bool_t allow_es6)
 
DUK_LOCAL duk_codepoint_t duk__lexer_parse_legacy_octal (duk_lexer_ctx *lex_ctx, duk_small_uint_t *out_adv, duk_bool_t reject_annex_b)
 
DUK_LOCAL void duk__lexer_parse_string_literal (duk_lexer_ctx *lex_ctx, duk_token *out_token, duk_small_int_t quote, duk_bool_t strict_mode)
 
DUK_LOCAL void duk__lexer_skip_to_endofline (duk_lexer_ctx *lex_ctx)
 
DUK_LOCAL void duk__emit_u16_direct_ranges (duk_lexer_ctx *lex_ctx, duk_re_range_callback gen_range, void *userdata, const duk_uint16_t *ranges, duk_small_int_t num)
 
DUK_LOCAL void duk__bi_normalize (duk__bigint *x)
 
DUK_LOCAL void duk__bi_copy (duk__bigint *x, duk__bigint *y)
 
DUK_LOCAL void duk__bi_set_small (duk__bigint *x, duk_uint32_t v)
 
DUK_LOCAL int duk__bi_compare (duk__bigint *x, duk__bigint *y)
 
DUK_LOCAL void duk__bi_add (duk__bigint *x, duk__bigint *y, duk__bigint *z)
 
DUK_LOCAL void duk__bi_add_small (duk__bigint *x, duk__bigint *y, duk_uint32_t z)
 
DUK_LOCAL void duk__bi_sub (duk__bigint *x, duk__bigint *y, duk__bigint *z)
 
DUK_LOCAL void duk__bi_sub_copy (duk__bigint *x, duk__bigint *y, duk__bigint *t)
 
DUK_LOCAL void duk__bi_mul (duk__bigint *x, duk__bigint *y, duk__bigint *z)
 
DUK_LOCAL void duk__bi_mul_small (duk__bigint *x, duk__bigint *y, duk_uint32_t z)
 
DUK_LOCAL void duk__bi_mul_copy (duk__bigint *x, duk__bigint *y, duk__bigint *t)
 
DUK_LOCAL void duk__bi_mul_small_copy (duk__bigint *x, duk_uint32_t y, duk__bigint *t)
 
DUK_LOCAL int duk__bi_is_even (duk__bigint *x)
 
DUK_LOCAL int duk__bi_is_zero (duk__bigint *x)
 
DUK_LOCAL duk_small_int_t duk__bi_is_2to52 (duk__bigint *x)
 
DUK_LOCAL void duk__bi_twoexp (duk__bigint *x, duk_small_int_t y)
 
DUK_LOCAL void duk__bi_exp_small (duk__bigint *x, duk_small_int_t b, duk_small_int_t y, duk__bigint *t1, duk__bigint *t2)
 
DUK_LOCAL duk_size_t duk__dragon4_format_uint32 (duk_uint8_t *buf, duk_uint32_t x, duk_small_int_t radix)
 
DUK_LOCAL void duk__dragon4_prepare (duk__numconv_stringify_ctx *nc_ctx)
 
DUK_LOCAL void duk__dragon4_scale (duk__numconv_stringify_ctx *nc_ctx)
 
DUK_LOCAL void duk__dragon4_generate (duk__numconv_stringify_ctx *nc_ctx)
 
DUK_LOCAL duk_small_int_t duk__dragon4_fixed_format_round (duk__numconv_stringify_ctx *nc_ctx, duk_small_int_t round_idx)
 
DUK_LOCAL void duk__dragon4_convert_and_push (duk__numconv_stringify_ctx *nc_ctx, duk_hthread *thr, duk_small_int_t radix, duk_small_int_t digits, duk_small_uint_t flags, duk_small_int_t neg)
 
DUK_LOCAL void duk__dragon4_double_to_ctx (duk__numconv_stringify_ctx *nc_ctx, duk_double_t x)
 
DUK_LOCAL void duk__dragon4_ctx_to_double (duk__numconv_stringify_ctx *nc_ctx, duk_double_t *x)
 
DUK_LOCAL DUK_NOINLINE void duk__numconv_stringify_raw (duk_hthread *thr, duk_small_int_t radix, duk_small_int_t digits, duk_small_uint_t flags)
 
DUK_LOCAL DUK_NOINLINE void duk__numconv_parse_raw (duk_hthread *thr, duk_small_int_t radix, duk_small_uint_t flags)
 
DUK_LOCAL duk_uint32_t duk__encode_i32 (duk_int32_t x)
 
DUK_LOCAL duk_uint32_t duk__insert_u32 (duk_re_compiler_ctx *re_ctx, duk_uint32_t offset, duk_uint32_t x)
 
DUK_LOCAL void duk__append_u32 (duk_re_compiler_ctx *re_ctx, duk_uint32_t x)
 
DUK_LOCAL void duk__append_7bit (duk_re_compiler_ctx *re_ctx, duk_uint32_t x)
 
DUK_LOCAL duk_uint32_t duk__insert_i32 (duk_re_compiler_ctx *re_ctx, duk_uint32_t offset, duk_int32_t x)
 
DUK_LOCAL void duk__append_reop (duk_re_compiler_ctx *re_ctx, duk_uint32_t reop)
 
DUK_LOCAL void duk__append_u16_list (duk_re_compiler_ctx *re_ctx, const duk_uint16_t *values, duk_uint32_t count)
 
DUK_LOCAL void duk__insert_slice (duk_re_compiler_ctx *re_ctx, duk_uint32_t offset, duk_uint32_t data_offset, duk_uint32_t data_length)
 
DUK_LOCAL void duk__append_slice (duk_re_compiler_ctx *re_ctx, duk_uint32_t data_offset, duk_uint32_t data_length)
 
DUK_LOCAL void duk__remove_slice (duk_re_compiler_ctx *re_ctx, duk_uint32_t data_offset, duk_uint32_t data_length)
 
DUK_LOCAL duk_uint32_t duk__insert_jump_offset (duk_re_compiler_ctx *re_ctx, duk_uint32_t offset, duk_int32_t skip)
 
DUK_LOCAL duk_uint32_t duk__append_jump_offset (duk_re_compiler_ctx *re_ctx, duk_int32_t skip)
 
DUK_LOCAL void duk__regexp_emit_range (duk_re_compiler_ctx *re_ctx, duk_codepoint_t r1, duk_codepoint_t r2)
 
DUK_LOCAL duk_codepoint_t duk__re_canon_next_discontinuity (duk_codepoint_t start, duk_codepoint_t end)
 
DUK_LOCAL void duk__regexp_generate_ranges (void *userdata, duk_codepoint_t r1, duk_codepoint_t r2, duk_bool_t direct)
 
DUK_LOCAL void duk__append_range_atom_matcher (duk_re_compiler_ctx *re_ctx, duk_small_uint_t re_op, const duk_uint16_t *ranges, duk_small_uint_t count)
 
DUK_LOCAL void duk__parse_disjunction (duk_re_compiler_ctx *re_ctx, duk_bool_t expect_eof, duk__re_disjunction_info *out_atom_info)
 
DUK_LOCAL duk_uint32_t duk__parse_regexp_flags (duk_hthread *thr, duk_hstring *h)
 
DUK_LOCAL void duk__create_escaped_source (duk_hthread *thr, int idx_pattern)
 
DUK_LOCAL duk_uint32_t duk__bc_get_u32 (duk_re_matcher_ctx *re_ctx, const duk_uint8_t **pc)
 
DUK_LOCAL duk_int32_t duk__bc_get_i32 (duk_re_matcher_ctx *re_ctx, const duk_uint8_t **pc)
 
DUK_LOCAL const duk_uint8_t * duk__utf8_backtrack (duk_hthread *thr, const duk_uint8_t **ptr, const duk_uint8_t *ptr_start, const duk_uint8_t *ptr_end, duk_uint_fast32_t count)
 
DUK_LOCAL const duk_uint8_t * duk__utf8_advance (duk_hthread *thr, const duk_uint8_t **ptr, const duk_uint8_t *ptr_start, const duk_uint8_t *ptr_end, duk_uint_fast32_t count)
 
DUK_LOCAL duk_codepoint_t duk__inp_get_cp (duk_re_matcher_ctx *re_ctx, const duk_uint8_t **sp)
 
DUK_LOCAL const duk_uint8_t * duk__inp_backtrack (duk_re_matcher_ctx *re_ctx, const duk_uint8_t **sp, duk_uint_fast32_t count)
 
DUK_LOCAL duk_codepoint_t duk__inp_get_prev_cp (duk_re_matcher_ctx *re_ctx, const duk_uint8_t *sp)
 
DUK_LOCAL const duk_uint8_t * duk__match_regexp (duk_re_matcher_ctx *re_ctx, const duk_uint8_t *pc, const duk_uint8_t *sp)
 
DUK_LOCAL void duk__regexp_match_helper (duk_hthread *thr, duk_small_int_t force_global)
 
DUK_LOCAL void duk__bw_update_ptrs (duk_hthread *thr, duk_bufwriter_ctx *bw_ctx, duk_size_t curr_offset, duk_size_t new_length)
 

Variables

const duk_uint8_t duk_unicode_ids_noa [1116]
 
const duk_uint8_t duk_unicode_ids_m_let_noa [42]
 
const duk_uint8_t duk_unicode_idp_m_ids_noa [576]
 
const duk_uint8_t duk_unicode_caseconv_uc [1411]
 
const duk_uint8_t duk_unicode_caseconv_lc [706]
 
const duk_uint16_t duk_unicode_re_canon_lookup [65536]
 
const duk_uint8_t duk_unicode_re_canon_bitmap [256]
 
DUK_INTERNAL const duk_uint8_t duk_strings_data [972]
 
DUK_INTERNAL const duk_c_function duk_bi_native_functions [185]
 
DUK_INTERNAL const duk_int8_t duk_is_idchar_tab [128]
 
DUK_INTERNAL const duk_uint8_t duk_unicode_xutf8_markers [7] = { 0x00, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe }
 
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_digit [2]
 
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_white [22]
 
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_wordchar [8]
 
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_not_digit [4]
 
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_not_white [24]
 
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_not_wordchar [10]
 
DUK_INTERNAL const duk_uint8_t duk_lc_digits [36]
 
DUK_INTERNAL const duk_uint8_t duk_uc_nybbles [16]
 
DUK_INTERNAL const duk_int8_t duk_hex_dectab [256]
 
DUK_INTERNAL const duk_int16_t duk_hex_dectab_shift4 [256]
 
DUK_INTERNAL const duk_uint16_t duk_hex_enctab [256]
 
DUK_INTERNAL duk_uint8_t duk_class_number_to_stridx [32]
 
DUK_LOCAL const duk_int8_t duk__base64_decode_nequal_step [5]
 
DUK_LOCAL const duk_uint8_t duk__base64_enctab_fast [64]
 
DUK_LOCAL const duk_int8_t duk__base64_dectab_fast [256]
 
DUK_EXTERNAL const char * duk_api_global_filename = NULL
 
DUK_EXTERNAL duk_int_t duk_api_global_line = 0
 
DUK_LOCAL const char *const duk__symbol_type_strings [4] = { "hidden", "global", "local", "wellknown" }
 
DUK_LOCAL const duk_uint_t duk__type_from_tag []
 
DUK_LOCAL const duk_uint_t duk__type_mask_from_tag []
 
DUK_LOCAL const duk_tval_unused duk__const_tval_unused = DUK_TVAL_UNUSED_INITIALIZER()
 
DUK_LOCAL const char *const duk__toprim_hint_strings [3] = { "default", "string", "number" }
 
static const duk_uint32_t duk__bufobj_flags_lookup []
 
static const duk_uint8_t duk__buffer_proto_from_classnum []
 
static const duk_uint8_t duk__buffer_class_from_elemtype [9]
 
static const duk_uint8_t duk__buffer_proto_from_elemtype [9]
 
static const duk_uint8_t duk__buffer_nbytes_from_fldtype [6]
 
static duk_uint16_t duk__buffer_elemtype_copy_compatible [9]
 
DUK_LOCAL duk_uint8_t duk__date_equivyear [14]
 
DUK_LOCAL const duk_uint8_t duk__parse_iso8601_seps []
 
DUK_LOCAL const duk_uint32_t duk__parse_iso8601_control []
 
DUK_LOCAL duk_uint8_t duk__days_in_month [12]
 
static duk_uint16_t duk__date_magics []
 
DUK_LOCAL const duk_uint8_t duk__encode_uriunescaped_table [16]
 
DUK_LOCAL const duk_uint8_t duk__encode_uricomponent_unescaped_table [16]
 
DUK_LOCAL const duk_uint8_t duk__decode_uri_reserved_table [16]
 
DUK_LOCAL const duk_uint8_t duk__decode_uri_component_reserved_table [16]
 
DUK_LOCAL const duk_uint8_t duk__escape_unescaped_table [16]
 
DUK_LOCAL const duk_uint8_t duk__json_quotestr_lookup [256]
 
DUK_LOCAL const duk_uint8_t duk__json_decstr_lookup [256]
 
DUK_LOCAL const duk_uint8_t duk__json_eatwhite_lookup [256]
 
DUK_LOCAL const duk_uint8_t duk__json_decnumber_lookup [256]
 
DUK_LOCAL const duk__one_arg_func duk__one_arg_funcs []
 
DUK_LOCAL const duk__two_arg_func duk__two_arg_funcs []
 
DUK_LOCAL const duk_small_uint_t duk__object_keys_enum_flags [4]
 
DUK_LOCAL const duk_uint8_t duk__token_lbp []
 
DUK_LOCAL const duk_uint16_t duk__closure_copy_proplist []
 
DUK_LOCAL const duk_uint8_t duk__str2num_digits_for_radix []
 
DUK_LOCAL const duk__exp_limits duk__str2num_exp_limits []
 
DUK_LOCAL const duk_uint16_t *const duk__re_range_lookup1 [3]
 
DUK_LOCAL const duk_uint8_t duk__re_range_lookup2 [3]
 
DUK_LOCAL const duk_uint8_t duk__bitpacked_lookup [16]
 

Macro Definition Documentation

◆ DUK__ADVANCEBYTES

#define DUK__ADVANCEBYTES (   lex_ctx,
  count 
)    duk__advance_bytes((lex_ctx), (count))

Definition at line 85799 of file duktape.c.

◆ DUK__ADVANCECHARS

#define DUK__ADVANCECHARS (   lex_ctx,
  count 
)    duk__advance_chars((lex_ctx), (count))

Definition at line 85798 of file duktape.c.

◆ DUK__ADVTOK

#define DUK__ADVTOK (   advbytes,
  tok 
)    ((((advbytes) * sizeof(duk_lexer_codepoint)) << 8) + (tok))

Definition at line 85813 of file duktape.c.

◆ DUK__ALLOCTEMP

#define DUK__ALLOCTEMP (   comp_ctx)    duk__alloctemp((comp_ctx))

Definition at line 69066 of file duktape.c.

◆ DUK__ALLOCTEMPS

#define DUK__ALLOCTEMPS (   comp_ctx,
  count 
)    duk__alloctemps((comp_ctx), (count))

Definition at line 69067 of file duktape.c.

◆ DUK__ALLOW_AUTO_SEMI_ALWAYS

#define DUK__ALLOW_AUTO_SEMI_ALWAYS   (1 << 2) /* allow automatic semicolon even without lineterm (compatibility) */

Definition at line 74112 of file duktape.c.

◆ DUK__APPENDBUFFER

#define DUK__APPENDBUFFER (   lex_ctx,
 
)    duk__appendbuffer((lex_ctx), (duk_codepoint_t) (x))

Definition at line 85801 of file duktape.c.

◆ DUK__APPENDBUFFER_ASCII

#define DUK__APPENDBUFFER_ASCII (   lex_ctx,
 
)    duk__appendbuffer_ascii((lex_ctx), (duk_codepoint_t) (x))

Definition at line 85802 of file duktape.c.

◆ DUK__ARRAY_MID_JOIN_LIMIT

#define DUK__ARRAY_MID_JOIN_LIMIT   4096

Definition at line 26127 of file duktape.c.

◆ DUK__ASSERT_LEFT

#define DUK__ASSERT_LEFT (   n)
Value:
do { \
DUK_ASSERT((duk_size_t) (p_end - p) >= (duk_size_t) (n)); \
} while (0)
size_t duk_size_t
Definition: duk_config.h:1996

Definition at line 14794 of file duktape.c.

◆ DUK__ASSERT_SPACE

#define DUK__ASSERT_SPACE ( )
Value:
do { \
DUK_ASSERT(!(thr->valstack_top >= thr->valstack_end)); \
} while (0)

Definition at line 18735 of file duktape.c.

◆ DUK__AUGMENT_CALL_RELAX_COUNT

#define DUK__AUGMENT_CALL_RELAX_COUNT   (10 + 2)

Definition at line 66122 of file duktape.c.

◆ DUK__BC_INITIAL_INSTS

#define DUK__BC_INITIAL_INSTS   256

Definition at line 69087 of file duktape.c.

◆ DUK__BI_MAX_PARTS

#define DUK__BI_MAX_PARTS   37 /* 37x32 = 1184 bits */

Definition at line 88228 of file duktape.c.

◆ DUK__BI_PRINT

#define DUK__BI_PRINT (   name,
 
)

Definition at line 88233 of file duktape.c.

◆ DUK__BITPACK_EIGHTBIT

#define DUK__BITPACK_EIGHTBIT   31

Definition at line 100041 of file duktape.c.

◆ DUK__BITPACK_LETTER_LIMIT

#define DUK__BITPACK_LETTER_LIMIT   26

Definition at line 100035 of file duktape.c.

◆ DUK__BITPACK_LOOKUP1

#define DUK__BITPACK_LOOKUP1   26

Definition at line 100036 of file duktape.c.

◆ DUK__BITPACK_LOOKUP2

#define DUK__BITPACK_LOOKUP2   27

Definition at line 100037 of file duktape.c.

◆ DUK__BITPACK_SWITCH

#define DUK__BITPACK_SWITCH   29

Definition at line 100039 of file duktape.c.

◆ DUK__BITPACK_SWITCH1

#define DUK__BITPACK_SWITCH1   28

Definition at line 100038 of file duktape.c.

◆ DUK__BITPACK_UNUSED1

#define DUK__BITPACK_UNUSED1   30

Definition at line 100040 of file duktape.c.

◆ DUK__BP_ADDITIVE

#define DUK__BP_ADDITIVE   28

Definition at line 69335 of file duktape.c.

◆ DUK__BP_ASSIGNMENT

#define DUK__BP_ASSIGNMENT   8

Definition at line 69325 of file duktape.c.

◆ DUK__BP_BAND

#define DUK__BP_BAND   20

Definition at line 69331 of file duktape.c.

◆ DUK__BP_BOR

#define DUK__BP_BOR   16

Definition at line 69329 of file duktape.c.

◆ DUK__BP_BXOR

#define DUK__BP_BXOR   18

Definition at line 69330 of file duktape.c.

◆ DUK__BP_CALL

#define DUK__BP_CALL   36

Definition at line 69339 of file duktape.c.

◆ DUK__BP_CLOSING

#define DUK__BP_CLOSING   4 /* token closes expression, e.g. ')', ']' */

Definition at line 69322 of file duktape.c.

◆ DUK__BP_COMMA

#define DUK__BP_COMMA   6

Definition at line 69324 of file duktape.c.

◆ DUK__BP_CONDITIONAL

#define DUK__BP_CONDITIONAL   10

Definition at line 69326 of file duktape.c.

◆ DUK__BP_EOF

#define DUK__BP_EOF   2

Definition at line 69321 of file duktape.c.

◆ DUK__BP_EQUALITY

#define DUK__BP_EQUALITY   22

Definition at line 69332 of file duktape.c.

◆ DUK__BP_EXPONENTIATION

#define DUK__BP_EXPONENTIATION   32

Definition at line 69337 of file duktape.c.

◆ DUK__BP_FOR_EXPR

#define DUK__BP_FOR_EXPR   DUK__BP_CLOSING /* bp to use when parsing a top level Expression */

Definition at line 69323 of file duktape.c.

◆ DUK__BP_INVALID

#define DUK__BP_INVALID   0 /* always terminates led() */

Definition at line 69320 of file duktape.c.

◆ DUK__BP_LAND

#define DUK__BP_LAND   14

Definition at line 69328 of file duktape.c.

◆ DUK__BP_LOR

#define DUK__BP_LOR   12

Definition at line 69327 of file duktape.c.

◆ DUK__BP_MEMBER

#define DUK__BP_MEMBER   38

Definition at line 69340 of file duktape.c.

◆ DUK__BP_MULTIPLICATIVE

#define DUK__BP_MULTIPLICATIVE   30

Definition at line 69336 of file duktape.c.

◆ DUK__BP_POSTFIX

#define DUK__BP_POSTFIX   34

Definition at line 69338 of file duktape.c.

◆ DUK__BP_RELATIONAL

#define DUK__BP_RELATIONAL   24

Definition at line 69333 of file duktape.c.

◆ DUK__BP_SHIFT

#define DUK__BP_SHIFT   26

Definition at line 69334 of file duktape.c.

◆ DUK__BUFOBJ_FLAG_PROMOTE

#define DUK__BUFOBJ_FLAG_PROMOTE   (1 << 1)

Definition at line 27911 of file duktape.c.

◆ DUK__BUFOBJ_FLAG_THROW

#define DUK__BUFOBJ_FLAG_THROW   (1 << 0)

Definition at line 27910 of file duktape.c.

◆ DUK__BYTECODE_INITIAL_ALLOC

#define DUK__BYTECODE_INITIAL_ALLOC   256

Definition at line 14434 of file duktape.c.

◆ DUK__BYTEOFF_A

#define DUK__BYTEOFF_A (   ins)    (((ins) >> DUK__SHIFT_A) & DUK__MASK_A)

Definition at line 79950 of file duktape.c.

◆ DUK__BYTEOFF_B

#define DUK__BYTEOFF_B (   ins)    (((ins) >> DUK__SHIFT_B) & DUK__MASK_B)

Definition at line 79951 of file duktape.c.

◆ DUK__BYTEOFF_BC

#define DUK__BYTEOFF_BC (   ins)    (((ins) >> DUK__SHIFT_BC) & DUK__MASK_BC)

Definition at line 79953 of file duktape.c.

◆ DUK__BYTEOFF_C

#define DUK__BYTEOFF_C (   ins)    (((ins) >> DUK__SHIFT_C) & DUK__MASK_C)

Definition at line 79952 of file duktape.c.

◆ DUK__CALL_HANDLING_REQUIRE_STACK

#define DUK__CALL_HANDLING_REQUIRE_STACK   8

Definition at line 66125 of file duktape.c.

◆ DUK__CF_ACCEPT

#define DUK__CF_ACCEPT   (1 << 1) /* accept string */

Definition at line 32830 of file duktape.c.

◆ DUK__CF_ACCEPT_NUL

#define DUK__CF_ACCEPT_NUL   (1 << 2) /* accept string if next char is NUL (otherwise reject) */

Definition at line 32831 of file duktape.c.

◆ DUK__CF_NEG

#define DUK__CF_NEG   (1 << 0) /* continue matching, set neg_tzoffset flag */

Definition at line 32829 of file duktape.c.

◆ DUK__CHECK_BITMASK

#define DUK__CHECK_BITMASK (   table,
  cp 
)    ((table)[(cp) >> 3] & (1 << ((cp) &0x07)))

Definition at line 36659 of file duktape.c.

◆ DUK__CHECK_SPACE

#define DUK__CHECK_SPACE ( )
Value:
do { \
if (DUK_UNLIKELY(thr->valstack_top >= thr->valstack_end)) { \
DUK_ERROR_RANGE_PUSH_BEYOND(thr); \
} \
} while (0)
#define DUK_UNLIKELY(x)
Definition: duk_config.h:2703

Definition at line 18745 of file duktape.c.

◆ DUK__COMPARE_BODY

#define DUK__COMPARE_BODY (   arg1,
  arg2,
  flags 
)
Value:
{ \
duk_bool_t tmp; \
tmp = duk_js_compare_helper(thr, (arg1), (arg2), (flags)); \
DUK_ASSERT(tmp == 0 || tmp == 1); \
DUK__REPLACE_BOOL_A_BREAK(tmp); \
}
DUK_INTERNAL_DECL duk_bool_t duk_js_compare_helper(duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y, duk_small_uint_t flags)
Definition: duktape.c:83346

◆ DUK__COMPILE_ENTRY_SLOTS

#define DUK__COMPILE_ENTRY_SLOTS   8

Definition at line 69105 of file duktape.c.

◆ DUK__CONST

#define DUK__CONST (   x)    (*(consts + (x)))

Definition at line 79924 of file duktape.c.

◆ DUK__CONST_MARKER

#define DUK__CONST_MARKER   DUK_REGCONST_CONST_MARKER

Definition at line 69053 of file duktape.c.

◆ DUK__CONSTP

#define DUK__CONSTP (   x)    (consts + (x))

Definition at line 79925 of file duktape.c.

◆ DUK__CONSTP_A

#define DUK__CONSTP_A (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_A((ins))))

Definition at line 79959 of file duktape.c.

◆ DUK__CONSTP_B

#define DUK__CONSTP_B (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_B((ins))))

Definition at line 79960 of file duktape.c.

◆ DUK__CONSTP_BC

#define DUK__CONSTP_BC (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_BC((ins))))

Definition at line 79962 of file duktape.c.

◆ DUK__CONSTP_C

#define DUK__CONSTP_C (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) consts + DUK__BYTEOFF_C((ins))))

Definition at line 79961 of file duktape.c.

◆ DUK__CP_CONTINUE

#define DUK__CP_CONTINUE   (-1) /* continue to next byte, no completed codepoint */

Definition at line 35283 of file duktape.c.

◆ DUK__CP_ERROR

#define DUK__CP_ERROR   (-2) /* decoding error */

Definition at line 35284 of file duktape.c.

◆ DUK__CP_RETRY

#define DUK__CP_RETRY   (-3) /* decoding error; retry last byte */

Definition at line 35285 of file duktape.c.

◆ DUK__DBLUNION_IS_ANYINF

#define DUK__DBLUNION_IS_ANYINF (   u)     ((((u)->ui[DUK_DBL_IDX_UI0] & 0x7fffffffUL) == 0x7ff00000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))

Definition at line 490 of file duktape.c.

◆ DUK__DBLUNION_IS_ANYZERO

#define DUK__DBLUNION_IS_ANYZERO (   u)     ((((u)->ui[DUK_DBL_IDX_UI0] & 0x7fffffffUL) == 0x00000000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))

Definition at line 494 of file duktape.c.

◆ DUK__DBLUNION_IS_NAN_FULL

#define DUK__DBLUNION_IS_NAN_FULL (   u)
Value:
((((u)->ui[DUK_DBL_IDX_UI0] & 0x7ff00000UL) == 0x7ff00000UL) && \
(((u)->ui[DUK_DBL_IDX_UI0] & 0x000fffffUL) != 0 || (u)->ui[DUK_DBL_IDX_UI1] != 0))

Definition at line 485 of file duktape.c.

◆ DUK__DBLUNION_IS_NAN_NOTFULL

#define DUK__DBLUNION_IS_NAN_NOTFULL (   u)
Value:
/* E == 0x7ff, topmost four bits of F != 0 => assume NaN */ \
((((u)->us[DUK_DBL_IDX_US0] & 0x7ff0UL) == 0x7ff0UL) && (((u)->us[DUK_DBL_IDX_US0] & 0x000fUL) != 0x0000UL))

Definition at line 505 of file duktape.c.

◆ DUK__DBLUNION_IS_NEGINF

#define DUK__DBLUNION_IS_NEGINF (   u)    (((u)->ui[DUK_DBL_IDX_UI0] == 0xfff00000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))

Definition at line 493 of file duktape.c.

◆ DUK__DBLUNION_IS_NEGZERO

#define DUK__DBLUNION_IS_NEGZERO (   u)    (((u)->ui[DUK_DBL_IDX_UI0] == 0x80000000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))

Definition at line 497 of file duktape.c.

◆ DUK__DBLUNION_IS_NORMALIZED_NAN_FULL

#define DUK__DBLUNION_IS_NORMALIZED_NAN_FULL (   u)     (((u)->ui[DUK_DBL_IDX_UI0] == 0x7ff80000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))

Definition at line 488 of file duktape.c.

◆ DUK__DBLUNION_IS_NORMALIZED_NAN_NOTFULL

#define DUK__DBLUNION_IS_NORMALIZED_NAN_NOTFULL (   u)
Value:
/* E == 0x7ff, F == 8 => normalized NaN */ \
((u)->us[DUK_DBL_IDX_US0] == 0x7ff8UL)

Definition at line 509 of file duktape.c.

◆ DUK__DBLUNION_IS_POSINF

#define DUK__DBLUNION_IS_POSINF (   u)    (((u)->ui[DUK_DBL_IDX_UI0] == 0x7ff00000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))

Definition at line 492 of file duktape.c.

◆ DUK__DBLUNION_IS_POSZERO

#define DUK__DBLUNION_IS_POSZERO (   u)    (((u)->ui[DUK_DBL_IDX_UI0] == 0x00000000UL) && ((u)->ui[DUK_DBL_IDX_UI1] == 0x00000000UL))

Definition at line 496 of file duktape.c.

◆ DUK__DBLUNION_NORMALIZE_NAN_CHECK_FULL

#define DUK__DBLUNION_NORMALIZE_NAN_CHECK_FULL (   u)
Value:
do { \
DUK__DBLUNION_SET_NAN_FULL((u)); \
} \
} while (0)
#define DUK__DBLUNION_IS_NAN_FULL(u)
Definition: duktape.c:485

Definition at line 513 of file duktape.c.

◆ DUK__DBLUNION_NORMALIZE_NAN_CHECK_NOTFULL

#define DUK__DBLUNION_NORMALIZE_NAN_CHECK_NOTFULL (   u)
Value:
do { \
/* Check must be full. */ \
DUK__DBLUNION_SET_NAN_NOTFULL((u)); \
} \
} while (0)

Definition at line 520 of file duktape.c.

◆ DUK__DBLUNION_SET_NAN_FULL

#define DUK__DBLUNION_SET_NAN_FULL (   u)
Value:
do { \
(u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) 0x7ff80000UL; \
(u)->ui[DUK_DBL_IDX_UI1] = (duk_uint32_t) 0x00000000UL; \
} while (0)

Definition at line 480 of file duktape.c.

◆ DUK__DBLUNION_SET_NAN_NOTFULL

#define DUK__DBLUNION_SET_NAN_NOTFULL (   u)
Value:
do { \
(u)->us[DUK_DBL_IDX_US0] = 0x7ff8UL; \
} while (0)

Definition at line 500 of file duktape.c.

◆ DUK__DECREF_ASSERTS

#define DUK__DECREF_ASSERTS ( )
Value:
do { \
DUK_ASSERT(thr != NULL); \
DUK_ASSERT(thr->heap != NULL); \
DUK_ASSERT(h != NULL); \
DUK_ASSERT(DUK_HEAPHDR_HTYPE_VALID((duk_heaphdr *) h)); \
DUK_ASSERT(DUK_HEAPHDR_GET_REFCOUNT((duk_heaphdr *) h) >= 1); \
} while (0)
#define DUK_HEAPHDR_HTYPE_VALID(h)
Definition: duktape.c:4761
#define DUK_HEAPHDR_GET_REFCOUNT(h)
Definition: duktape.c:4724

Definition at line 54890 of file duktape.c.

◆ DUK__DECREF_SHARED

#define DUK__DECREF_SHARED ( )
Value:
do { \
return; \
} \
} while (0)
#define DUK_HEAPHDR_PREDEC_REFCOUNT(h)
Definition: duktape.c:4731

Definition at line 54922 of file duktape.c.

◆ DUK__DELPROP_BODY

#define DUK__DELPROP_BODY (   barg,
  carg 
)
Value:
{ \
/* A -> result reg \
* B -> object reg \
* C -> key reg/const \
*/ \
duk_bool_t rc; \
rc = duk_hobject_delprop(thr, (barg), (carg), DUK__STRICT()); \
DUK_ASSERT(rc == 0 || rc == 1); \
DUK__REPLACE_BOOL_A_BREAK(rc); \
}
DUK_INTERNAL_DECL duk_bool_t duk_hobject_delprop(duk_hthread *thr, duk_tval *tv_obj, duk_tval *tv_key, duk_bool_t throw_flag)
Definition: duktape.c:62522
#define DUK__STRICT()
Definition: duktape.c:79916

◆ DUK__DIGITCHAR

#define DUK__DIGITCHAR (   x)    duk_lc_digits[(x)]

Definition at line 88176 of file duktape.c.

◆ DUK__DOUBLE_INT_CAST1

#define DUK__DOUBLE_INT_CAST1 (   tname,
  minval,
  maxval 
)
Value:
do { \
if (DUK_LIKELY(x >= (duk_double_t) (minval))) { \
DUK_ASSERT(!DUK_ISNAN(x)); \
if (DUK_LIKELY(x <= (duk_double_t) (maxval))) { \
return (tname) x; \
} else { \
return (tname) (maxval); \
} \
} else { \
/* NaN or below minval. Since we don't care about the result \
* for out-of-range values, just return the minimum value for \
* both. \
*/ \
return (tname) (minval); \
} \
} while (0)
double duk_double_t
Definition: duk_config.h:2103
#define DUK_ISNAN
Definition: duk_config.h:2340
#define DUK_LIKELY(x)
Definition: duk_config.h:2700

Definition at line 100444 of file duktape.c.

◆ DUK__DOUBLE_INT_CAST2

#define DUK__DOUBLE_INT_CAST2 (   tname,
  minval,
  maxval 
)
Value:
do { \
return (tname) duk_double_fmin(duk_double_fmax(x, (duk_double_t) (minval)), (duk_double_t) (maxval)); \
} while (0)
DUK_INTERNAL_DECL duk_double_t duk_double_fmin(duk_double_t x, duk_double_t y)
Definition: duktape.c:100720
DUK_INTERNAL_DECL duk_double_t duk_double_fmax(duk_double_t x, duk_double_t y)
Definition: duktape.c:100729

Definition at line 100463 of file duktape.c.

◆ DUK__DOUBLE_INT_CAST3

#define DUK__DOUBLE_INT_CAST3 (   tname,
  minval,
  maxval 
)
Value:
do { \
if (DUK_ISNAN(x)) { \
/* 0 or any other value is fine. */ \
return (tname) 0; \
} else \
return (tname) DUK_FMIN(DUK_FMAX(x, (duk_double_t) (minval)), (duk_double_t) (maxval)); \
} \
} \
while (0)

Definition at line 100469 of file duktape.c.

◆ DUK__DOUBLE_INT_CAST4

#define DUK__DOUBLE_INT_CAST4 (   tname,
  minval,
  maxval 
)
Value:
do { \
return (tname) DUK_FMIN(DUK_FMAX(x, (duk_double_t) (minval)), (duk_double_t) (maxval)); \
} while (0)

Definition at line 100487 of file duktape.c.

◆ DUK__DPRINT_DPARTS

#define DUK__DPRINT_DPARTS (   dparts)
Value:
do { \
DUK_D(DUK_DPRINT("dparts: %lf %lf %lf %lf %lf %lf %lf %lf", \
(double) (dparts)[0], \
(double) (dparts)[1], \
(double) (dparts)[2], \
(double) (dparts)[3], \
(double) (dparts)[4], \
(double) (dparts)[5], \
(double) (dparts)[6], \
(double) (dparts)[7])); \
} while (0)
#define DUK_DPRINT
Definition: duktape.c:9974

Definition at line 32720 of file duktape.c.

◆ DUK__DPRINT_PARTS

#define DUK__DPRINT_PARTS (   parts)
Value:
do { \
DUK_D(DUK_DPRINT("parts: %ld %ld %ld %ld %ld %ld %ld %ld", \
(long) (parts)[0], \
(long) (parts)[1], \
(long) (parts)[2], \
(long) (parts)[3], \
(long) (parts)[4], \
(long) (parts)[5], \
(long) (parts)[6], \
(long) (parts)[7])); \
} while (0)

Definition at line 32708 of file duktape.c.

◆ DUK__DPRINT_PARTS_AND_DPARTS

#define DUK__DPRINT_PARTS_AND_DPARTS (   parts,
  dparts 
)
Value:
do { \
DUK_D(DUK_DPRINT("parts: %ld %ld %ld %ld %ld %ld %ld %ld, dparts: %lf %lf %lf %lf %lf %lf %lf %lf", \
(long) (parts)[0], \
(long) (parts)[1], \
(long) (parts)[2], \
(long) (parts)[3], \
(long) (parts)[4], \
(long) (parts)[5], \
(long) (parts)[6], \
(long) (parts)[7], \
(double) (dparts)[0], \
(double) (dparts)[1], \
(double) (dparts)[2], \
(double) (dparts)[3], \
(double) (dparts)[4], \
(double) (dparts)[5], \
(double) (dparts)[6], \
(double) (dparts)[7])); \
} while (0)

Definition at line 32688 of file duktape.c.

◆ DUK__DRAGON4_OUTPUT_PREINC

#define DUK__DRAGON4_OUTPUT_PREINC (   nc_ctx,
  preinc_idx,
 
)
Value:
do { \
DUK_ASSERT((preinc_idx) -1 >= 0); \
DUK_ASSERT((preinc_idx) -1 < DUK__MAX_OUTPUT_DIGITS); \
((nc_ctx)->digits[(preinc_idx) -1]) = (duk_uint8_t) (x); \
} while (0)
#define DUK__MAX_OUTPUT_DIGITS
Definition: duktape.c:88801

Definition at line 88839 of file duktape.c.

◆ DUK__DUMP_ISPEC

#define DUK__DUMP_ISPEC (   comp_ctx,
 
)
Value:
do { \
} while (0)

Definition at line 70976 of file duktape.c.

◆ DUK__DUMP_IVALUE

#define DUK__DUMP_IVALUE (   comp_ctx,
 
)
Value:
do { \
} while (0)

Definition at line 70979 of file duktape.c.

◆ DUK__EMIT_1

#define DUK__EMIT_1 (   js_ctx,
  ch 
)    duk__emit_1((js_ctx), (duk_uint_fast8_t) (ch))

Definition at line 38415 of file duktape.c.

◆ DUK__EMIT_2

#define DUK__EMIT_2 (   js_ctx,
  ch1,
  ch2 
)    duk__emit_2((js_ctx), (duk_uint_fast8_t) (ch1), (duk_uint_fast8_t) (ch2))

Definition at line 38416 of file duktape.c.

◆ DUK__EMIT_CSTR

#define DUK__EMIT_CSTR (   js_ctx,
 
)    duk__emit_cstring((js_ctx), (p))

Definition at line 38419 of file duktape.c.

◆ DUK__EMIT_FLAG_A_IS_SOURCE

#define DUK__EMIT_FLAG_A_IS_SOURCE   (1 << 11) /* slot A is a source (default: target) */

Definition at line 70142 of file duktape.c.

◆ DUK__EMIT_FLAG_B_IS_TARGET

#define DUK__EMIT_FLAG_B_IS_TARGET   (1 << 12) /* slot B is a target (default: source) */

Definition at line 70143 of file duktape.c.

◆ DUK__EMIT_FLAG_BC_REGCONST

#define DUK__EMIT_FLAG_BC_REGCONST   (1 << 14) /* slots B and C are reg/const */

Definition at line 70145 of file duktape.c.

◆ DUK__EMIT_FLAG_C_IS_TARGET

#define DUK__EMIT_FLAG_C_IS_TARGET   (1 << 13) /* slot C is a target (default: source) */

Definition at line 70144 of file duktape.c.

◆ DUK__EMIT_FLAG_NO_SHUFFLE_A

#define DUK__EMIT_FLAG_NO_SHUFFLE_A   (1 << 8)

Definition at line 70139 of file duktape.c.

◆ DUK__EMIT_FLAG_NO_SHUFFLE_B

#define DUK__EMIT_FLAG_NO_SHUFFLE_B   (1 << 9)

Definition at line 70140 of file duktape.c.

◆ DUK__EMIT_FLAG_NO_SHUFFLE_C

#define DUK__EMIT_FLAG_NO_SHUFFLE_C   (1 << 10)

Definition at line 70141 of file duktape.c.

◆ DUK__EMIT_FLAG_RESERVE_JUMPSLOT

#define DUK__EMIT_FLAG_RESERVE_JUMPSLOT   (1 << 15) /* reserve a jumpslot after instr before target spilling, used for NEXTENUM */

Definition at line 70146 of file duktape.c.

◆ DUK__EMIT_HSTR

#define DUK__EMIT_HSTR (   js_ctx,
 
)    duk__emit_hstring((js_ctx), (h))

Definition at line 38417 of file duktape.c.

◆ DUK__EMIT_STRIDX

#define DUK__EMIT_STRIDX (   js_ctx,
 
)    duk__emit_stridx((js_ctx), (i))

Definition at line 38421 of file duktape.c.

◆ DUK__ENUM_START_INDEX

#define DUK__ENUM_START_INDEX   2

Definition at line 56899 of file duktape.c.

◆ DUK__EQ_BODY

#define DUK__EQ_BODY (   barg,
  carg 
)
Value:
{ \
duk_bool_t tmp; \
tmp = duk_js_equals(thr, (barg), (carg)); \
DUK_ASSERT(tmp == 0 || tmp == 1); \
DUK__REPLACE_BOOL_A_BREAK(tmp); \
}
#define duk_js_equals(thr, tv_x, tv_y)
Definition: duktape.c:11148

◆ DUK__ERRFMT_BUFSIZE

#define DUK__ERRFMT_BUFSIZE   256 /* size for formatting buffers */

Definition at line 12462 of file duktape.c.

◆ DUK__ERROR_STASH_SHARED

#define DUK__ERROR_STASH_SHARED (   code)
Value:
do { \
va_list ap; \
va_start(ap, fmt); \
duk__throw_error_from_stash(thr, (code), fmt, ap); \
va_end(ap); \
DUK_WO_NORETURN(return 0;); \
} while (0)

Definition at line 25147 of file duktape.c.

◆ DUK__EXPR_FLAG_ALLOW_EMPTY

#define DUK__EXPR_FLAG_ALLOW_EMPTY   (1 << 9) /* allow empty expression */

Definition at line 73928 of file duktape.c.

◆ DUK__EXPR_FLAG_REJECT_IN

#define DUK__EXPR_FLAG_REJECT_IN   (1 << 8) /* reject 'in' token (used for for-in) */

Definition at line 73927 of file duktape.c.

◆ DUK__EXPR_FLAG_REQUIRE_INIT

#define DUK__EXPR_FLAG_REQUIRE_INIT   (1 << 10) /* require initializer for var/const */

Definition at line 73929 of file duktape.c.

◆ DUK__EXPR_RBP_MASK

#define DUK__EXPR_RBP_MASK   0xff

Definition at line 73926 of file duktape.c.

◆ DUK__FLD_16BIT

#define DUK__FLD_16BIT   1

Definition at line 30044 of file duktape.c.

◆ DUK__FLD_32BIT

#define DUK__FLD_32BIT   2

Definition at line 30045 of file duktape.c.

◆ DUK__FLD_8BIT

#define DUK__FLD_8BIT   0

Definition at line 30043 of file duktape.c.

◆ DUK__FLD_BIGENDIAN

#define DUK__FLD_BIGENDIAN   (1 << 3)

Definition at line 30049 of file duktape.c.

◆ DUK__FLD_DOUBLE

#define DUK__FLD_DOUBLE   4

Definition at line 30047 of file duktape.c.

◆ DUK__FLD_FLOAT

#define DUK__FLD_FLOAT   3

Definition at line 30046 of file duktape.c.

◆ DUK__FLD_SIGNED

#define DUK__FLD_SIGNED   (1 << 4)

Definition at line 30050 of file duktape.c.

◆ DUK__FLD_TYPEDARRAY

#define DUK__FLD_TYPEDARRAY   (1 << 5)

Definition at line 30051 of file duktape.c.

◆ DUK__FLD_VARINT

#define DUK__FLD_VARINT   5

Definition at line 30048 of file duktape.c.

◆ DUK__FLOAT_MAX

#define DUK__FLOAT_MAX   340282346638528859811704183484516925440.0

Definition at line 100537 of file duktape.c.

◆ DUK__FLOAT_ROUND_LIMIT

#define DUK__FLOAT_ROUND_LIMIT   340282356779733623858607532500980858880.0

Definition at line 100532 of file duktape.c.

◆ DUK__FUN

#define DUK__FUN ( )    ((duk_hcompfunc *) DUK_ACT_GET_FUNC((thr)->callstack_curr))

Definition at line 79912 of file duktape.c.

◆ DUK__FUNC_FLAG_DECL

#define DUK__FUNC_FLAG_DECL   (1 << 0) /* Parsing a function declaration. */

Definition at line 69299 of file duktape.c.

◆ DUK__FUNC_FLAG_GETSET

#define DUK__FUNC_FLAG_GETSET   (1 << 1) /* Parsing an object literal getter/setter. */

Definition at line 69300 of file duktape.c.

◆ DUK__FUNC_FLAG_METDEF

#define DUK__FUNC_FLAG_METDEF   (1 << 2) /* Parsing an object literal method definition shorthand. */

Definition at line 69301 of file duktape.c.

◆ DUK__FUNC_FLAG_PUSHNAME_PASS1

#define DUK__FUNC_FLAG_PUSHNAME_PASS1   (1 << 3) /* Push function name when creating template (first pass only). */

Definition at line 69302 of file duktape.c.

◆ DUK__FUNC_FLAG_USE_PREVTOKEN

#define DUK__FUNC_FLAG_USE_PREVTOKEN   (1 << 4) /* Use prev_token to start function parsing (workaround for object literal). */

Definition at line 69303 of file duktape.c.

◆ DUK__FUNCTION_BODY_REQUIRE_SLOTS

#define DUK__FUNCTION_BODY_REQUIRE_SLOTS   16

Definition at line 69107 of file duktape.c.

◆ DUK__FUNCTION_INIT_REQUIRE_SLOTS

#define DUK__FUNCTION_INIT_REQUIRE_SLOTS   16

Definition at line 69106 of file duktape.c.

◆ DUK__GE_BODY

#define DUK__GE_BODY (   barg,
  carg 
)    DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE)

◆ DUK__GET_STRTABLE

#define DUK__GET_STRTABLE (   heap)    ((heap)->strtable)

Definition at line 55351 of file duktape.c.

◆ DUK__GETCONST_MAX_CONSTS_CHECK

#define DUK__GETCONST_MAX_CONSTS_CHECK   256

Definition at line 69074 of file duktape.c.

◆ DUK__GETPROP_BODY

#define DUK__GETPROP_BODY (   barg,
  carg 
)
Value:
{ \
/* A -> target reg \
* B -> object reg/const (may be const e.g. in "'foo'[1]") \
* C -> key reg/const \
*/ \
(void) duk_hobject_getprop(thr, (barg), (carg)); \
DUK__REPLACE_TOP_A_BREAK(); \
}
DUK_INTERNAL_DECL duk_bool_t duk_hobject_getprop(duk_hthread *thr, duk_tval *tv_obj, duk_tval *tv_key)
Definition: duktape.c:60464

◆ DUK__GETPROPC_BODY

#define DUK__GETPROPC_BODY (   barg,
  carg 
)
Value:
{ \
/* Same as GETPROP but callability check for property-based calls. */ \
duk_tval *tv__targ; \
(void) duk_hobject_getprop(thr, (barg), (carg)); \
DUK_GC_TORTURE(thr->heap); \
tv__targ = DUK_GET_TVAL_NEGIDX(thr, -1); \
if (DUK_UNLIKELY(!duk_is_callable_tval(thr, tv__targ))) { \
/* Here we intentionally re-evaluate the macro \
* arguments to deal with potentially changed \
* valstack base pointer! \
*/ \
duk_call_setup_propcall_error(thr, (barg), (carg)); \
} \
DUK__REPLACE_TOP_A_BREAK(); \
}
DUK_INTERNAL_DECL duk_bool_t duk_is_callable_tval(duk_hthread *thr, duk_tval *tv)
Definition: duktape.c:22816
#define DUK_GET_TVAL_NEGIDX(thr, idx)
Definition: duktape.c:6269

◆ DUK__GETTEMP

#define DUK__GETTEMP (   comp_ctx)    ((comp_ctx)->curr_func.temp_next)

Definition at line 69063 of file duktape.c.

◆ DUK__GT_BODY

#define DUK__GT_BODY (   barg,
  carg 
)    DUK__COMPARE_BODY((carg), (barg), 0)

◆ DUK__HAS_TERM

#define DUK__HAS_TERM   (1 << 1) /* stmt has explicit/implicit semicolon terminator */

Definition at line 74111 of file duktape.c.

◆ DUK__HAS_VAL

#define DUK__HAS_VAL   (1 << 0) /* stmt has non-empty value */

Definition at line 74110 of file duktape.c.

◆ DUK__HASH_DELETED

#define DUK__HASH_DELETED   DUK_HOBJECT_HASHIDX_DELETED

Definition at line 57947 of file duktape.c.

◆ DUK__HASH_UNUSED

#define DUK__HASH_UNUSED   DUK_HOBJECT_HASHIDX_UNUSED

Definition at line 57946 of file duktape.c.

◆ DUK__HEAP_CLEAR_FLAGS

#define DUK__HEAP_CLEAR_FLAGS (   heap,
  bits 
)
Value:
do { \
(heap)->flags &= ~(bits); \
} while (0)

Definition at line 8969 of file duktape.c.

◆ DUK__HEAP_HAS_FLAGS

#define DUK__HEAP_HAS_FLAGS (   heap,
  bits 
)    ((heap)->flags & (bits))

Definition at line 8964 of file duktape.c.

◆ DUK__HEAP_SET_FLAGS

#define DUK__HEAP_SET_FLAGS (   heap,
  bits 
)
Value:
do { \
(heap)->flags |= (bits); \
} while (0)

Definition at line 8965 of file duktape.c.

◆ DUK__HEAPPTR_DEC16

#define DUK__HEAPPTR_DEC16 (   heap,
  val 
)    (val)

Definition at line 55350 of file duktape.c.

◆ DUK__HEAPPTR_ENC16

#define DUK__HEAPPTR_ENC16 (   heap,
  ptr 
)    (ptr)

Definition at line 55349 of file duktape.c.

◆ DUK__IDX_ASIZE

#define DUK__IDX_ASIZE   8

Definition at line 17336 of file duktape.c.

◆ DUK__IDX_BCBYTES

#define DUK__IDX_BCBYTES   10

Definition at line 17338 of file duktape.c.

◆ DUK__IDX_CLASS

#define DUK__IDX_CLASS   4

Definition at line 17332 of file duktape.c.

◆ DUK__IDX_DBYTES

#define DUK__IDX_DBYTES   11

Definition at line 17339 of file duktape.c.

◆ DUK__IDX_ENEXT

#define DUK__IDX_ENEXT   7

Definition at line 17335 of file duktape.c.

◆ DUK__IDX_ESIZE

#define DUK__IDX_ESIZE   6

Definition at line 17334 of file duktape.c.

◆ DUK__IDX_HBYTES

#define DUK__IDX_HBYTES   3

Definition at line 17331 of file duktape.c.

◆ DUK__IDX_HSIZE

#define DUK__IDX_HSIZE   9

Definition at line 17337 of file duktape.c.

◆ DUK__IDX_ITAG

#define DUK__IDX_ITAG   1

Definition at line 17329 of file duktape.c.

◆ DUK__IDX_PBYTES

#define DUK__IDX_PBYTES   5

Definition at line 17333 of file duktape.c.

◆ DUK__IDX_REFC

#define DUK__IDX_REFC   2

Definition at line 17330 of file duktape.c.

◆ DUK__IDX_TSTATE

#define DUK__IDX_TSTATE   12

Definition at line 17340 of file duktape.c.

◆ DUK__IDX_TYPE

#define DUK__IDX_TYPE   0

Definition at line 17328 of file duktape.c.

◆ DUK__IDX_VARIANT

#define DUK__IDX_VARIANT   13

Definition at line 17341 of file duktape.c.

◆ DUK__IEEE_DOUBLE_EXP_BIAS

#define DUK__IEEE_DOUBLE_EXP_BIAS   1023

Definition at line 88173 of file duktape.c.

◆ DUK__IEEE_DOUBLE_EXP_MIN

#define DUK__IEEE_DOUBLE_EXP_MIN   (-1022) /* biased exp == 0 -> denormal, exp -1022 */

Definition at line 88174 of file duktape.c.

◆ DUK__IN_BODY

#define DUK__IN_BODY (   barg,
  carg 
)
Value:
{ \
duk_bool_t tmp; \
tmp = duk_js_in(thr, (barg), (carg)); \
DUK_ASSERT(tmp == 0 || tmp == 1); \
DUK__REPLACE_BOOL_A_BREAK(tmp); \
}
DUK_INTERNAL_DECL duk_bool_t duk_js_in(duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y)
Definition: duktape.c:83667

◆ DUK__INCREF_SHARED

#define DUK__INCREF_SHARED ( )
Value:
do { \
DUK_HEAPHDR_PREINC_REFCOUNT((duk_heaphdr *) h); \
DUK_ASSERT(DUK_HEAPHDR_GET_REFCOUNT((duk_heaphdr *) h) != 0); /* No wrapping. */ \
} while (0)

Definition at line 54917 of file duktape.c.

◆ DUK__INITBUFFER

#define DUK__INITBUFFER (   lex_ctx)    duk__initbuffer((lex_ctx))

Definition at line 85800 of file duktape.c.

◆ DUK__INSTOF_BODY

#define DUK__INSTOF_BODY (   barg,
  carg 
)
Value:
{ \
duk_bool_t tmp; \
tmp = duk_js_instanceof(thr, (barg), (carg)); \
DUK_ASSERT(tmp == 0 || tmp == 1); \
DUK__REPLACE_BOOL_A_BREAK(tmp); \
}
DUK_INTERNAL_DECL duk_bool_t duk_js_instanceof(duk_hthread *thr, duk_tval *tv_x, duk_tval *tv_y)
Definition: duktape.c:83653

◆ DUK__INT_NOACTION

#define DUK__INT_NOACTION   0 /* no specific action, resume normal execution */

Definition at line 78932 of file duktape.c.

◆ DUK__INT_RESTART

#define DUK__INT_RESTART   1 /* must "goto restart_execution", e.g. breakpoints changed */

Definition at line 78933 of file duktape.c.

◆ DUK__INTERNAL_ERROR

#define DUK__INTERNAL_ERROR (   msg)
Value:
do { \
DUK_ERROR_ERROR(thr, (msg)); \
DUK_WO_NORETURN(return;); \
} while (0)

Definition at line 79982 of file duktape.c.

◆ DUK__IS_TERMINAL

#define DUK__IS_TERMINAL   (1 << 4) /* statement is guaranteed to be terminal (control doesn't flow to next statement) */

Definition at line 74114 of file duktape.c.

◆ DUK__ISCONST

#define DUK__ISCONST (   x)    ((x) < 0)

Definition at line 69056 of file duktape.c.

◆ DUK__ISDIGIT

#define DUK__ISDIGIT (   x)    ((x) >= DUK_ASC_0 && (x) <= DUK_ASC_9)

Definition at line 85790 of file duktape.c.

◆ DUK__ISDIGIT03

#define DUK__ISDIGIT03 (   x)    ((x) >= DUK_ASC_0 && (x) <= DUK_ASC_3)

Definition at line 85793 of file duktape.c.

◆ DUK__ISDIGIT47

#define DUK__ISDIGIT47 (   x)    ((x) >= DUK_ASC_4 && (x) <= DUK_ASC_7)

Definition at line 85794 of file duktape.c.

◆ DUK__ISHEXDIGIT

#define DUK__ISHEXDIGIT (   x)    duk__is_hex_digit((x))

Definition at line 85791 of file duktape.c.

◆ DUK__ISOCTDIGIT

#define DUK__ISOCTDIGIT (   x)    ((x) >= DUK_ASC_0 && (x) <= DUK_ASC_7)

Definition at line 85792 of file duktape.c.

◆ DUK__ISREG

#define DUK__ISREG (   x)    ((x) >= 0)

Definition at line 69055 of file duktape.c.

◆ DUK__ISREG_NOTTEMP

#define DUK__ISREG_NOTTEMP (   comp_ctx,
 
)
Value:
((duk_uint32_t) (x) < \
(duk_uint32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= 0 && x < temp_first by interpreting as unsigned. */

Definition at line 69060 of file duktape.c.

◆ DUK__ISREG_TEMP

#define DUK__ISREG_TEMP (   comp_ctx,
 
)
Value:
((duk_int32_t) (x) >= \
(duk_int32_t) ((comp_ctx)->curr_func.temp_first)) /* Check for x >= temp_first && x >= 0 by comparing as signed. */

Definition at line 69057 of file duktape.c.

◆ DUK__ITER_EVERY

#define DUK__ITER_EVERY   0

Definition at line 27507 of file duktape.c.

◆ DUK__ITER_FILTER

#define DUK__ITER_FILTER   4

Definition at line 27511 of file duktape.c.

◆ DUK__ITER_FOREACH

#define DUK__ITER_FOREACH   2

Definition at line 27509 of file duktape.c.

◆ DUK__ITER_MAP

#define DUK__ITER_MAP   3

Definition at line 27510 of file duktape.c.

◆ DUK__ITER_SOME

#define DUK__ITER_SOME   1

Definition at line 27508 of file duktape.c.

◆ DUK__IVAL_FLAG_ALLOW_CONST

#define DUK__IVAL_FLAG_ALLOW_CONST   (1 << 0) /* allow a constant to be returned */

Definition at line 70944 of file duktape.c.

◆ DUK__IVAL_FLAG_REQUIRE_SHORT

#define DUK__IVAL_FLAG_REQUIRE_SHORT   (1 << 2) /* require a short (8-bit) reg/const which fits into bytecode B/C slot */

Definition at line 70946 of file duktape.c.

◆ DUK__IVAL_FLAG_REQUIRE_TEMP

#define DUK__IVAL_FLAG_REQUIRE_TEMP   (1 << 1) /* require a (mutable) temporary as a result (or a const if allowed) */

Definition at line 70945 of file duktape.c.

◆ DUK__JSON_DECSTR_BUFSIZE

#define DUK__JSON_DECSTR_BUFSIZE   128

Definition at line 37383 of file duktape.c.

◆ DUK__JSON_DECSTR_CHUNKSIZE

#define DUK__JSON_DECSTR_CHUNKSIZE   64

Definition at line 37384 of file duktape.c.

◆ DUK__JSON_ENCSTR_CHUNKSIZE

#define DUK__JSON_ENCSTR_CHUNKSIZE   64

Definition at line 37385 of file duktape.c.

◆ DUK__JSON_MAX_ESC_LEN

#define DUK__JSON_MAX_ESC_LEN   10 /* '\Udeadbeef' */

Definition at line 37387 of file duktape.c.

◆ DUK__JSON_STRINGIFY_BUFSIZE

#define DUK__JSON_STRINGIFY_BUFSIZE   128

Definition at line 37386 of file duktape.c.

◆ DUK__L0

#define DUK__L0 ( )    DUK__LOOKUP(lex_ctx, 0)

Definition at line 85805 of file duktape.c.

◆ DUK__L1

#define DUK__L1 ( )    DUK__LOOKUP(lex_ctx, 1)

Definition at line 85806 of file duktape.c.

◆ DUK__L2

#define DUK__L2 ( )    DUK__LOOKUP(lex_ctx, 2)

Definition at line 85807 of file duktape.c.

◆ DUK__L3

#define DUK__L3 ( )    DUK__LOOKUP(lex_ctx, 3)

Definition at line 85808 of file duktape.c.

◆ DUK__L4

#define DUK__L4 ( )    DUK__LOOKUP(lex_ctx, 4)

Definition at line 85809 of file duktape.c.

◆ DUK__L5

#define DUK__L5 ( )    DUK__LOOKUP(lex_ctx, 5)

Definition at line 85810 of file duktape.c.

◆ DUK__LE_BODY

#define DUK__LE_BODY (   barg,
  carg 
)    DUK__COMPARE_BODY((carg), (barg), DUK_COMPARE_FLAG_NEGATE)

◆ DUK__LENGTH_PROP_BITS

#define DUK__LENGTH_PROP_BITS   3

Definition at line 64538 of file duktape.c.

◆ DUK__LOCAL_TZOFFSET_MAXITER

#define DUK__LOCAL_TZOFFSET_MAXITER   4

Definition at line 33136 of file duktape.c.

◆ DUK__LONGJMP_RESTART

#define DUK__LONGJMP_RESTART   0 /* state updated, restart bytecode execution */

Definition at line 77934 of file duktape.c.

◆ DUK__LONGJMP_RETHROW

#define DUK__LONGJMP_RETHROW   1 /* exit bytecode executor by rethrowing an error to caller */

Definition at line 77935 of file duktape.c.

◆ DUK__LOOKUP

#define DUK__LOOKUP (   lex_ctx,
  idx 
)    ((lex_ctx)->window[(idx)].codepoint)

Definition at line 85797 of file duktape.c.

◆ DUK__LOOKUP_INDIRECT

#define DUK__LOOKUP_INDIRECT (   idx)
Value:
do { \
duk_tval *tv_ind; \
tv_ind = DUK__REGP((idx)); \
DUK_ASSERT(DUK_TVAL_IS_NUMBER(tv_ind)); \
DUK_ASSERT(DUK_TVAL_IS_FASTINT(tv_ind)); /* compiler guarantees */ \
} while (0)
duk_uint_fast32_t duk_uint_fast_t
Definition: duk_config.h:2024
#define DUK_TVAL_IS_NUMBER(tv)
Definition: duktape.c:1489
#define DUK_TVAL_GET_FASTINT_U32(tv)
Definition: duktape.c:1452
#define DUK__REGP(x)
Definition: duktape.c:79923
#define DUK_TVAL_IS_FASTINT(tv)
Definition: duktape.c:1488

Definition at line 80014 of file duktape.c.

◆ DUK__LT_BODY

#define DUK__LT_BODY (   barg,
  carg 
)    DUK__COMPARE_BODY((barg), (carg), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST)

◆ DUK__MASK_A

#define DUK__MASK_A   (DUK_BC_UNSHIFTED_MASK_A << DUK__TVAL_SHIFT)

Definition at line 79946 of file duktape.c.

◆ DUK__MASK_B

#define DUK__MASK_B   (DUK_BC_UNSHIFTED_MASK_B << DUK__TVAL_SHIFT)

Definition at line 79947 of file duktape.c.

◆ DUK__MASK_BC

#define DUK__MASK_BC   (DUK_BC_UNSHIFTED_MASK_BC << DUK__TVAL_SHIFT)

Definition at line 79949 of file duktape.c.

◆ DUK__MASK_C

#define DUK__MASK_C   (DUK_BC_UNSHIFTED_MASK_C << DUK__TVAL_SHIFT)

Definition at line 79948 of file duktape.c.

◆ DUK__MAX_ARRAY_INIT_VALUES

#define DUK__MAX_ARRAY_INIT_VALUES   20

Definition at line 69070 of file duktape.c.

◆ DUK__MAX_CONSTS

#define DUK__MAX_CONSTS   DUK_BC_BC_MAX

Definition at line 69079 of file duktape.c.

◆ DUK__MAX_FORMATTED_LENGTH

#define DUK__MAX_FORMATTED_LENGTH   1040 /* (-Number.MAX_VALUE).toString(2).length == 1025, + slack */

Definition at line 88804 of file duktape.c.

◆ DUK__MAX_FUNCS

#define DUK__MAX_FUNCS   DUK_BC_BC_MAX

Definition at line 69080 of file duktape.c.

◆ DUK__MAX_OBJECT_INIT_PAIRS

#define DUK__MAX_OBJECT_INIT_PAIRS   10

Definition at line 69071 of file duktape.c.

◆ DUK__MAX_OUTPUT_DIGITS

#define DUK__MAX_OUTPUT_DIGITS   1040 /* (Number.MAX_VALUE).toString(2).length == 1024, + slack */

Definition at line 88801 of file duktape.c.

◆ DUK__MAX_RE_DECESC_DIGITS

#define DUK__MAX_RE_DECESC_DIGITS   9

Definition at line 85786 of file duktape.c.

◆ DUK__MAX_RE_QUANT_DIGITS

#define DUK__MAX_RE_QUANT_DIGITS   9 /* Does not allow e.g. 2**31-1, but one more would allow overflows of u32. */

Definition at line 85787 of file duktape.c.

◆ DUK__MAX_TEMPS

#define DUK__MAX_TEMPS   0xffffL

Definition at line 69081 of file duktape.c.

◆ DUK__MK_LBP

#define DUK__MK_LBP (   bp)    ((bp) >> 1) /* bp is assumed to be even */

Definition at line 69349 of file duktape.c.

◆ DUK__MK_LBP_FLAGS

#define DUK__MK_LBP_FLAGS (   bp,
  flags 
)    (((bp) >> 1) | (flags))

Definition at line 69350 of file duktape.c.

◆ DUK__MKBITS

#define DUK__MKBITS (   a,
  b,
  c,
  d,
  e,
  f,
  g,
 
)     ((duk_uint8_t) (((a) << 0) | ((b) << 1) | ((c) << 2) | ((d) << 3) | ((e) << 4) | ((f) << 5) | ((g) << 6) | ((h) << 7)))

Definition at line 36657 of file duktape.c.

◆ DUK__MKESC

#define DUK__MKESC (   nybbles,
  esc1,
  esc2 
)     (((duk_uint_fast32_t) (nybbles)) << 16) | (((duk_uint_fast32_t) (esc1)) << 8) | ((duk_uint_fast32_t) (esc2))

Definition at line 38457 of file duktape.c.

◆ DUK__NARGS_BITS

#define DUK__NARGS_BITS   3

Definition at line 64539 of file duktape.c.

◆ DUK__NARGS_VARARGS_MARKER

#define DUK__NARGS_VARARGS_MARKER   0x07

Definition at line 64542 of file duktape.c.

◆ DUK__NEQ_BODY

#define DUK__NEQ_BODY (   barg,
  carg 
)
Value:
{ \
duk_bool_t tmp; \
tmp = duk_js_equals(thr, (barg), (carg)); \
DUK_ASSERT(tmp == 0 || tmp == 1); \
tmp ^= 1; \
DUK__REPLACE_BOOL_A_BREAK(tmp); \
}

◆ DUK__NO_ARRAY_INDEX

#define DUK__NO_ARRAY_INDEX   DUK_HSTRING_NO_ARRAY_INDEX

Definition at line 57943 of file duktape.c.

◆ DUK__NO_EXP

#define DUK__NO_EXP   (65536) /* arbitrary marker, outside valid exp range */

Definition at line 89390 of file duktape.c.

◆ DUK__NO_FORMALS

#define DUK__NO_FORMALS   0xffffffffUL

Definition at line 14435 of file duktape.c.

◆ DUK__NUM_ISO8601_PARSER_PARTS

#define DUK__NUM_ISO8601_PARSER_PARTS   9

Definition at line 32784 of file duktape.c.

◆ DUK__NUMCONV_CTX_BIGINTS_SIZE

#define DUK__NUMCONV_CTX_BIGINTS_SIZE   (sizeof(duk__bigint) * DUK__NUMCONV_CTX_NUM_BIGINTS)

Definition at line 88808 of file duktape.c.

◆ DUK__NUMCONV_CTX_NUM_BIGINTS

#define DUK__NUMCONV_CTX_NUM_BIGINTS   7

Definition at line 88807 of file duktape.c.

◆ DUK__OBJ_LIT_KEY_GET

#define DUK__OBJ_LIT_KEY_GET   (1 << 1) /* key encountered as a getter */

Definition at line 71931 of file duktape.c.

◆ DUK__OBJ_LIT_KEY_PLAIN

#define DUK__OBJ_LIT_KEY_PLAIN   (1 << 0) /* key encountered as a plain property */

Definition at line 71930 of file duktape.c.

◆ DUK__OBJ_LIT_KEY_SET

#define DUK__OBJ_LIT_KEY_SET   (1 << 2) /* key encountered as a setter */

Definition at line 71932 of file duktape.c.

◆ DUK__OUTPUT_TYPE_FILENAME

#define DUK__OUTPUT_TYPE_FILENAME   0

Definition at line 35896 of file duktape.c.

◆ DUK__OUTPUT_TYPE_LINENUMBER

#define DUK__OUTPUT_TYPE_LINENUMBER   1

Definition at line 35897 of file duktape.c.

◆ DUK__OUTPUT_TYPE_TRACEBACK

#define DUK__OUTPUT_TYPE_TRACEBACK   (-1)

Definition at line 35895 of file duktape.c.

◆ DUK__PACK_ARGS

#define DUK__PACK_ARGS (   classnum,
  protobidx,
  elemtype,
  elemshift,
  istypedarray 
)     (((classnum) << 24) | ((protobidx) << 16) | ((elemtype) << 8) | ((elemshift) << 4) | (istypedarray))

Definition at line 23913 of file duktape.c.

◆ DUK__PACK_RULE

#define DUK__PACK_RULE (   partmask,
  sepmask,
  nextpart,
  flags 
)
Value:
((duk_uint32_t) (partmask) + (((duk_uint32_t) (sepmask)) << 9) + (((duk_uint32_t) (nextpart)) << 17) + \
(((duk_uint32_t) (flags)) << 21))

Definition at line 32833 of file duktape.c.

◆ DUK__PARSE_EXPR_SLOTS

#define DUK__PARSE_EXPR_SLOTS   16

Definition at line 69109 of file duktape.c.

◆ DUK__PARSE_STATEMENTS_SLOTS

#define DUK__PARSE_STATEMENTS_SLOTS   16

Definition at line 69108 of file duktape.c.

◆ DUK__PI_DAY

#define DUK__PI_DAY   2

Definition at line 32789 of file duktape.c.

◆ DUK__PI_HOUR

#define DUK__PI_HOUR   3

Definition at line 32790 of file duktape.c.

◆ DUK__PI_MILLISECOND

#define DUK__PI_MILLISECOND   6

Definition at line 32793 of file duktape.c.

◆ DUK__PI_MINUTE

#define DUK__PI_MINUTE   4

Definition at line 32791 of file duktape.c.

◆ DUK__PI_MONTH

#define DUK__PI_MONTH   1

Definition at line 32788 of file duktape.c.

◆ DUK__PI_SECOND

#define DUK__PI_SECOND   5

Definition at line 32792 of file duktape.c.

◆ DUK__PI_TZHOUR

#define DUK__PI_TZHOUR   7

Definition at line 32794 of file duktape.c.

◆ DUK__PI_TZMINUTE

#define DUK__PI_TZMINUTE   8

Definition at line 32795 of file duktape.c.

◆ DUK__PI_YEAR

#define DUK__PI_YEAR   0

Definition at line 32787 of file duktape.c.

◆ DUK__PM_DAY

#define DUK__PM_DAY   (1 << DUK__PI_DAY)

Definition at line 32800 of file duktape.c.

◆ DUK__PM_HOUR

#define DUK__PM_HOUR   (1 << DUK__PI_HOUR)

Definition at line 32801 of file duktape.c.

◆ DUK__PM_MILLISECOND

#define DUK__PM_MILLISECOND   (1 << DUK__PI_MILLISECOND)

Definition at line 32804 of file duktape.c.

◆ DUK__PM_MINUTE

#define DUK__PM_MINUTE   (1 << DUK__PI_MINUTE)

Definition at line 32802 of file duktape.c.

◆ DUK__PM_MONTH

#define DUK__PM_MONTH   (1 << DUK__PI_MONTH)

Definition at line 32799 of file duktape.c.

◆ DUK__PM_SECOND

#define DUK__PM_SECOND   (1 << DUK__PI_SECOND)

Definition at line 32803 of file duktape.c.

◆ DUK__PM_TZHOUR

#define DUK__PM_TZHOUR   (1 << DUK__PI_TZHOUR)

Definition at line 32805 of file duktape.c.

◆ DUK__PM_TZMINUTE

#define DUK__PM_TZMINUTE   (1 << DUK__PI_TZMINUTE)

Definition at line 32806 of file duktape.c.

◆ DUK__PM_YEAR

#define DUK__PM_YEAR   (1 << DUK__PI_YEAR)

Definition at line 32798 of file duktape.c.

◆ DUK__PROP_FLAGS_BITS

#define DUK__PROP_FLAGS_BITS   3

Definition at line 64537 of file duktape.c.

◆ DUK__PROP_TYPE_ACCESSOR

#define DUK__PROP_TYPE_ACCESSOR   7

Definition at line 64551 of file duktape.c.

◆ DUK__PROP_TYPE_BITS

#define DUK__PROP_TYPE_BITS   3

Definition at line 64540 of file duktape.c.

◆ DUK__PROP_TYPE_BOOLEAN_FALSE

#define DUK__PROP_TYPE_BOOLEAN_FALSE   6

Definition at line 64550 of file duktape.c.

◆ DUK__PROP_TYPE_BOOLEAN_TRUE

#define DUK__PROP_TYPE_BOOLEAN_TRUE   5

Definition at line 64549 of file duktape.c.

◆ DUK__PROP_TYPE_BUILTIN

#define DUK__PROP_TYPE_BUILTIN   3

Definition at line 64547 of file duktape.c.

◆ DUK__PROP_TYPE_DOUBLE

#define DUK__PROP_TYPE_DOUBLE   0

Definition at line 64544 of file duktape.c.

◆ DUK__PROP_TYPE_STRIDX

#define DUK__PROP_TYPE_STRIDX   2

Definition at line 64546 of file duktape.c.

◆ DUK__PROP_TYPE_STRING

#define DUK__PROP_TYPE_STRING   1

Definition at line 64545 of file duktape.c.

◆ DUK__PROP_TYPE_UNDEFINED

#define DUK__PROP_TYPE_UNDEFINED   4

Definition at line 64548 of file duktape.c.

◆ DUK__PUTPROP_BODY

#define DUK__PUTPROP_BODY (   aarg,
  barg,
  carg 
)
Value:
{ \
/* A -> object reg \
* B -> key reg/const \
* C -> value reg/const \
* \
* Note: intentional difference to register arrangement \
* of e.g. GETPROP; 'A' must contain a register-only value. \
*/ \
(void) duk_hobject_putprop(thr, (aarg), (barg), (carg), DUK__STRICT()); \
break; \
}
DUK_INTERNAL_DECL duk_bool_t duk_hobject_putprop(duk_hthread *thr, duk_tval *tv_obj, duk_tval *tv_key, duk_tval *tv_val, duk_bool_t throw_flag)
Definition: duktape.c:61478

◆ DUK__RANDOM_SHAMIR3OP

#define DUK__RANDOM_SHAMIR3OP

Definition at line 101052 of file duktape.c.

◆ DUK__RCBIT_B

#define DUK__RCBIT_B   DUK_BC_REGCONST_B

Definition at line 79934 of file duktape.c.

◆ DUK__RCBIT_C

#define DUK__RCBIT_C   DUK_BC_REGCONST_C

Definition at line 79935 of file duktape.c.

◆ DUK__RE_BUFLEN

#define DUK__RE_BUFLEN (   re_ctx)    DUK_BW_GET_SIZE(re_ctx->thr, &re_ctx->bw)

Definition at line 90531 of file duktape.c.

◆ DUK__RE_INITIAL_BUFSIZE

#define DUK__RE_INITIAL_BUFSIZE   64

Definition at line 90529 of file duktape.c.

◆ DUK__READABLE_ERRMSG_MAXCHARS

#define DUK__READABLE_ERRMSG_MAXCHARS   96 /* for error messages */

Definition at line 25359 of file duktape.c.

◆ DUK__READABLE_STRING_MAXCHARS

#define DUK__READABLE_STRING_MAXCHARS   32 /* for strings/symbols */

Definition at line 25358 of file duktape.c.

◆ DUK__READABLE_SUMMARY_MAXCHARS

#define DUK__READABLE_SUMMARY_MAXCHARS   96 /* maximum supported by helper */

Definition at line 25357 of file duktape.c.

◆ DUK__RECURSION_DECREASE

#define DUK__RECURSION_DECREASE (   comp_ctx,
  thr 
)
Value:
do { \
DUK_DDD(DUK_DDDPRINT("RECURSION DECREASE: %s:%ld", (const char *) DUK_FILE_MACRO, (long) DUK_LINE_MACRO)); \
duk__comp_recursion_decrease((comp_ctx)); \
} while (0)
#define DUK_LINE_MACRO
Definition: duk_config.h:2757
#define DUK_FILE_MACRO
Definition: duk_config.h:2754
#define DUK_DDDPRINT
Definition: duktape.c:9976

Definition at line 69096 of file duktape.c.

◆ DUK__RECURSION_INCREASE

#define DUK__RECURSION_INCREASE (   comp_ctx,
  thr 
)
Value:
do { \
DUK_DDD(DUK_DDDPRINT("RECURSION INCREASE: %s:%ld", (const char *) DUK_FILE_MACRO, (long) DUK_LINE_MACRO)); \
duk__comp_recursion_increase((comp_ctx)); \
} while (0)

Definition at line 69090 of file duktape.c.

◆ DUK__REFCINIT

#define DUK__REFCINIT (   refc)    (refc) /*actual*/

Definition at line 11601 of file duktape.c.

◆ DUK__REG

#define DUK__REG (   x)    (*(thr->valstack_bottom + (x)))

Definition at line 79922 of file duktape.c.

◆ DUK__REGCONSTP_B

#define DUK__REGCONSTP_B (   ins)     ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_B) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_B((ins))))

Definition at line 79963 of file duktape.c.

◆ DUK__REGCONSTP_C

#define DUK__REGCONSTP_C (   ins)     ((duk_tval *) (void *) ((duk_uint8_t *) (((ins) &DUK__RCBIT_C) ? consts : thr->valstack_bottom) + DUK__BYTEOFF_C((ins))))

Definition at line 79965 of file duktape.c.

◆ DUK__REGP

#define DUK__REGP (   x)    (thr->valstack_bottom + (x))

Definition at line 79923 of file duktape.c.

◆ DUK__REGP_A

#define DUK__REGP_A (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_A((ins))))

Definition at line 79955 of file duktape.c.

◆ DUK__REGP_B

#define DUK__REGP_B (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_B((ins))))

Definition at line 79956 of file duktape.c.

◆ DUK__REGP_BC

#define DUK__REGP_BC (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_BC((ins))))

Definition at line 79958 of file duktape.c.

◆ DUK__REGP_C

#define DUK__REGP_C (   ins)    ((duk_tval *) (void *) ((duk_uint8_t *) thr->valstack_bottom + DUK__BYTEOFF_C((ins))))

Definition at line 79957 of file duktape.c.

◆ DUK__REMOVECONST

#define DUK__REMOVECONST (   x)    ((x) & ~DUK__CONST_MARKER)

Definition at line 69054 of file duktape.c.

◆ DUK__REPLACE_BOOL_A_BREAK

#define DUK__REPLACE_BOOL_A_BREAK (   bval)
Value:
{ \
duk_bool_t duk__bval; \
duk_tval *duk__tvdst; \
duk__bval = (bval); \
DUK_ASSERT(duk__bval == 0 || duk__bval == 1); \
duk__tvdst = DUK__REGP_A(ins); \
DUK_TVAL_SET_BOOLEAN_UPDREF(thr, duk__tvdst, duk__bval); \
break; \
}
#define DUK__REGP_A(ins)
Definition: duktape.c:79955

◆ DUK__REPLACE_TO_TVPTR

#define DUK__REPLACE_TO_TVPTR (   thr,
  tv_ptr 
)
Value:
do { \
duk_hthread *duk__thr; \
duk_tval *duk__tvsrc; \
duk_tval *duk__tvdst; \
duk_tval duk__tvtmp; \
duk__thr = (thr); \
duk__tvsrc = DUK_GET_TVAL_NEGIDX(duk__thr, -1); \
duk__tvdst = (tv_ptr); \
DUK_TVAL_SET_TVAL(&duk__tvtmp, duk__tvdst); \
DUK_TVAL_SET_TVAL(duk__tvdst, duk__tvsrc); \
DUK_TVAL_SET_UNDEFINED(duk__tvsrc); /* value stack init policy */ \
duk__thr->valstack_top = duk__tvsrc; \
DUK_TVAL_DECREF(duk__thr, &duk__tvtmp); \
} while (0)

Definition at line 77176 of file duktape.c.

◆ DUK__REPLACE_TOP_A_BREAK

#define DUK__REPLACE_TOP_A_BREAK ( )
Value:
{ \
DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_A(ins)); \
break; \
}

◆ DUK__REPLACE_TOP_BC_BREAK

#define DUK__REPLACE_TOP_BC_BREAK ( )
Value:
{ \
DUK__REPLACE_TO_TVPTR(thr, DUK__REGP_BC(ins)); \
break; \
}
#define DUK__REGP_BC(ins)
Definition: duktape.c:79958

◆ DUK__RETHAND_FINISHED

#define DUK__RETHAND_FINISHED   1 /* exit bytecode execution with return value */

Definition at line 77938 of file duktape.c.

◆ DUK__RETHAND_RESTART

#define DUK__RETHAND_RESTART   0 /* state updated, restart bytecode execution */

Definition at line 77937 of file duktape.c.

◆ DUK__RETURN_SHARED

#define DUK__RETURN_SHARED ( )
Value:
do { \
duk_small_uint_t ret_result; \
/* duk__handle_return() is guaranteed never to throw, except \
* for potential out-of-memory situations which will then \
* propagate out of the executor longjmp handler. \
*/ \
DUK_ASSERT(thr->ptr_curr_pc == NULL); \
ret_result = duk__handle_return(thr, entry_act); \
if (ret_result == DUK__RETHAND_RESTART) { \
goto restart_execution; \
} \
DUK_ASSERT(ret_result == DUK__RETHAND_FINISHED); \
return; \
} while (0)
DUK_LOCAL duk_small_uint_t duk__handle_return(duk_hthread *thr, duk_activation *entry_act)
Definition: duktape.c:78733
#define DUK__RETHAND_FINISHED
Definition: duktape.c:77938
#define DUK__RETHAND_RESTART
Definition: duktape.c:77937

◆ DUK__RND_BIT

#define DUK__RND_BIT (   rnd)    ((rnd) >> 31) /* only use the highest bit */

Definition at line 101064 of file duktape.c.

◆ DUK__RULE_MASK_PART_SEP

#define DUK__RULE_MASK_PART_SEP   0x1ffffUL

Definition at line 32843 of file duktape.c.

◆ DUK__RZ_BUFFER

#define DUK__RZ_BUFFER ( )
Value:
do { \
duk__refcount_refzero_hbuffer(heap, (duk_hbuffer *) h); \
} while (0)

Definition at line 54719 of file duktape.c.

◆ DUK__RZ_INLINE

#define DUK__RZ_INLINE   DUK_ALWAYS_INLINE

Definition at line 54730 of file duktape.c.

◆ DUK__RZ_OBJECT

#define DUK__RZ_OBJECT ( )
Value:
do { \
duk__refcount_refzero_hobject(heap, (duk_hobject *) h, skip_free_pending); \
} while (0)

Definition at line 54723 of file duktape.c.

◆ DUK__RZ_STRING

#define DUK__RZ_STRING ( )
Value:
do { \
duk__refcount_refzero_hstring(heap, (duk_hstring *) h); \
} while (0)

Definition at line 54715 of file duktape.c.

◆ DUK__RZ_SUPPRESS_ASSERT1

#define DUK__RZ_SUPPRESS_ASSERT1 ( )
Value:
do { \
DUK_ASSERT(thr != NULL); \
DUK_ASSERT(thr->heap != NULL); \
/* When mark-and-sweep runs, heap_thread must exist. */ \
DUK_ASSERT(thr->heap->ms_running == 0 || thr->heap->heap_thread != NULL); \
/* In normal operation finalizers are executed with ms_running == 0 \
* so we should never see ms_running == 1 and thr != heap_thread. \
* In heap destruction finalizers are executed with ms_running != 0 \
* to e.g. prevent refzero; a special value ms_running == 2 is used \
* in that case so it can be distinguished from the normal runtime \
* case, and allows a stronger assertion here (GH-2030). \
*/ \
DUK_ASSERT(!(thr->heap->ms_running == 1 && thr != thr->heap->heap_thread)); \
/* We may be called when the heap is initializing and we process \
* refzeros normally, but mark-and-sweep and finalizers are prevented \
* if that's the case. \
*/ \
DUK_ASSERT(thr->heap->heap_initializing == 0 || thr->heap->ms_prevent_count > 0); \
DUK_ASSERT(thr->heap->heap_initializing == 0 || thr->heap->pf_prevent_count > 0); \
} while (0)

Definition at line 54676 of file duktape.c.

◆ DUK__RZ_SUPPRESS_ASSERT2

#define DUK__RZ_SUPPRESS_ASSERT2 ( )
Value:
do { \
} while (0)

Definition at line 54697 of file duktape.c.

◆ DUK__RZ_SUPPRESS_CHECK

#define DUK__RZ_SUPPRESS_CHECK ( )
Value:
do { \
DUK__RZ_SUPPRESS_ASSERT1(); \
DUK__RZ_SUPPRESS_ASSERT2(); \
DUK_DDD( \
DUK_DDDPRINT("refzero handling suppressed (not even queued) when mark-and-sweep running, object: %p", \
(void *) h)); \
return; \
} \
} while (0)
#define DUK__RZ_SUPPRESS_COND()
Definition: duktape.c:54700

Definition at line 54703 of file duktape.c.

◆ DUK__RZ_SUPPRESS_COND

#define DUK__RZ_SUPPRESS_COND ( )    (heap->ms_running != 0)

Definition at line 54700 of file duktape.c.

◆ DUK__SEQ_BODY

#define DUK__SEQ_BODY (   barg,
  carg 
)
Value:
{ \
duk_bool_t tmp; \
tmp = duk_js_strict_equals((barg), (carg)); \
DUK_ASSERT(tmp == 0 || tmp == 1); \
DUK__REPLACE_BOOL_A_BREAK(tmp); \
}
#define duk_js_strict_equals(tv_x, tv_y)
Definition: duktape.c:11149

◆ DUK__SER_MARKER

#define DUK__SER_MARKER   0xbf

Definition at line 14431 of file duktape.c.

◆ DUK__SER_NUMBER

#define DUK__SER_NUMBER   0x01

Definition at line 14433 of file duktape.c.

◆ DUK__SER_STRING

#define DUK__SER_STRING   0x00

Definition at line 14432 of file duktape.c.

◆ DUK__SETTEMP

#define DUK__SETTEMP (   comp_ctx,
 
)    ((comp_ctx)->curr_func.temp_next = (x)) /* dangerous: must only lower (temp_max not updated) */

Definition at line 69064 of file duktape.c.

◆ DUK__SETTEMP_CHECKMAX

#define DUK__SETTEMP_CHECKMAX (   comp_ctx,
 
)    duk__settemp_checkmax((comp_ctx), (x))

Definition at line 69065 of file duktape.c.

◆ DUK__SHIFT_A

#define DUK__SHIFT_A   (DUK_BC_SHIFT_A - DUK__TVAL_SHIFT)

Definition at line 79942 of file duktape.c.

◆ DUK__SHIFT_B

#define DUK__SHIFT_B   (DUK_BC_SHIFT_B - DUK__TVAL_SHIFT)

Definition at line 79943 of file duktape.c.

◆ DUK__SHIFT_BC

#define DUK__SHIFT_BC   (DUK_BC_SHIFT_BC - DUK__TVAL_SHIFT)

Definition at line 79945 of file duktape.c.

◆ DUK__SHIFT_C

#define DUK__SHIFT_C   (DUK_BC_SHIFT_C - DUK__TVAL_SHIFT)

Definition at line 79944 of file duktape.c.

◆ DUK__SI_COLON

#define DUK__SI_COLON   4

Definition at line 32813 of file duktape.c.

◆ DUK__SI_MINUS

#define DUK__SI_MINUS   1

Definition at line 32810 of file duktape.c.

◆ DUK__SI_NUL

#define DUK__SI_NUL   7

Definition at line 32816 of file duktape.c.

◆ DUK__SI_PERIOD

#define DUK__SI_PERIOD   5

Definition at line 32814 of file duktape.c.

◆ DUK__SI_PLUS

#define DUK__SI_PLUS   0

Definition at line 32809 of file duktape.c.

◆ DUK__SI_SPACE

#define DUK__SI_SPACE   3

Definition at line 32812 of file duktape.c.

◆ DUK__SI_T

#define DUK__SI_T   2

Definition at line 32811 of file duktape.c.

◆ DUK__SI_Z

#define DUK__SI_Z   6

Definition at line 32815 of file duktape.c.

◆ DUK__SM_COLON

#define DUK__SM_COLON   (1 << DUK__SI_COLON)

Definition at line 32823 of file duktape.c.

◆ DUK__SM_MINUS

#define DUK__SM_MINUS   (1 << DUK__SI_MINUS)

Definition at line 32820 of file duktape.c.

◆ DUK__SM_NUL

#define DUK__SM_NUL   (1 << DUK__SI_NUL)

Definition at line 32826 of file duktape.c.

◆ DUK__SM_PERIOD

#define DUK__SM_PERIOD   (1 << DUK__SI_PERIOD)

Definition at line 32824 of file duktape.c.

◆ DUK__SM_PLUS

#define DUK__SM_PLUS   (1 << DUK__SI_PLUS)

Definition at line 32819 of file duktape.c.

◆ DUK__SM_SPACE

#define DUK__SM_SPACE   (1 << DUK__SI_SPACE)

Definition at line 32822 of file duktape.c.

◆ DUK__SM_T

#define DUK__SM_T   (1 << DUK__SI_T)

Definition at line 32821 of file duktape.c.

◆ DUK__SM_Z

#define DUK__SM_Z   (1 << DUK__SI_Z)

Definition at line 32825 of file duktape.c.

◆ DUK__SNEQ_BODY

#define DUK__SNEQ_BODY (   barg,
  carg 
)
Value:
{ \
duk_bool_t tmp; \
tmp = duk_js_strict_equals((barg), (carg)); \
DUK_ASSERT(tmp == 0 || tmp == 1); \
tmp ^= 1; \
DUK__REPLACE_BOOL_A_BREAK(tmp); \
}

◆ DUK__STILL_PROLOGUE

#define DUK__STILL_PROLOGUE   (1 << 3) /* statement does not terminate directive prologue */

Definition at line 74113 of file duktape.c.

◆ DUK__STRFTIME_BUF_SIZE

#define DUK__STRFTIME_BUF_SIZE   64

Definition at line 34570 of file duktape.c.

◆ DUK__STRICT

#define DUK__STRICT ( )    ((duk_small_uint_t) DUK_HOBJECT_HAS_STRICT((duk_hobject *) DUK__FUN()))

Definition at line 79916 of file duktape.c.

◆ DUK__STRPTIME_BUF_SIZE

#define DUK__STRPTIME_BUF_SIZE   64

Definition at line 34569 of file duktape.c.

◆ DUK__STRTAB_RESIZE_CHECK

#define DUK__STRTAB_RESIZE_CHECK

Definition at line 55339 of file duktape.c.

◆ DUK__STRTAB_U32_MAX_STRLEN

#define DUK__STRTAB_U32_MAX_STRLEN   10 /* 4'294'967'295 */

Definition at line 55354 of file duktape.c.

◆ DUK__SYNC_AND_NULL_CURR_PC

#define DUK__SYNC_AND_NULL_CURR_PC ( )
Value:
do { \
duk_activation *duk__act; \
duk__act = thr->callstack_curr; \
duk__act->curr_pc = curr_pc; \
thr->ptr_curr_pc = NULL; \
} while (0)

Definition at line 80000 of file duktape.c.

◆ DUK__SYNC_CURR_PC

#define DUK__SYNC_CURR_PC ( )
Value:
do { \
duk_activation *duk__act; \
duk__act = thr->callstack_curr; \
duk__act->curr_pc = curr_pc; \
} while (0)

Definition at line 79994 of file duktape.c.

◆ DUK__TOKEN_LBP_BP_MASK

#define DUK__TOKEN_LBP_BP_MASK   0x1f

Definition at line 69342 of file duktape.c.

◆ DUK__TOKEN_LBP_FLAG_NO_REGEXP

#define DUK__TOKEN_LBP_FLAG_NO_REGEXP   (1 << 5) /* regexp literal must not follow this token */

Definition at line 69343 of file duktape.c.

◆ DUK__TOKEN_LBP_FLAG_TERMINATES

#define DUK__TOKEN_LBP_FLAG_TERMINATES   (1 << 6) /* terminates expression; e.g. post-increment/-decrement */

Definition at line 69344 of file duktape.c.

◆ DUK__TOKEN_LBP_FLAG_UNUSED

#define DUK__TOKEN_LBP_FLAG_UNUSED   (1 << 7) /* unused */

Definition at line 69345 of file duktape.c.

◆ DUK__TOKEN_LBP_GET_BP

#define DUK__TOKEN_LBP_GET_BP (   x)    ((duk_small_uint_t) (((x) &DUK__TOKEN_LBP_BP_MASK) * 2))

Definition at line 69347 of file duktape.c.

◆ DUK__TVAL_SHIFT

#define DUK__TVAL_SHIFT   4 /* sizeof(duk_tval) == 16; not always the case so also asserted for */

Definition at line 79940 of file duktape.c.

◆ DUK__UNEMIT_1

#define DUK__UNEMIT_1 (   js_ctx)    duk__unemit_1((js_ctx))

Definition at line 38422 of file duktape.c.

◆ DUK__UNPACK_RULE

#define DUK__UNPACK_RULE (   rule,
  var_nextidx,
  var_flags 
)
Value:
do { \
(var_nextidx) = (duk_small_uint_t) (((rule) >> 17) & 0x0f); \
(var_flags) = (duk_small_uint_t) ((rule) >> 21); \
} while (0)
unsigned int duk_small_uint_t
Definition: duk_config.h:2034

Definition at line 32837 of file duktape.c.

◆ DUK__UPDATE_RND

#define DUK__UPDATE_RND (   rnd)
Value:
do { \
(rnd) += ((rnd) * (rnd)) | 0x05UL; \
(rnd) = ((rnd) &0xffffffffUL); /* if duk_uint32_t is exactly 32 bits, this is a NOP */ \
} while (0)

Definition at line 101058 of file duktape.c.

◆ DUK__VALSTACK_PROXY_LOOKUP

#define DUK__VALSTACK_PROXY_LOOKUP   20

Definition at line 57957 of file duktape.c.

◆ DUK__VALSTACK_SPACE

#define DUK__VALSTACK_SPACE   10

Definition at line 57952 of file duktape.c.

◆ DUK__WEEKDAY_MOD_ADDER

#define DUK__WEEKDAY_MOD_ADDER   (20000000 * 7) /* 0x08583b00 */

Definition at line 33144 of file duktape.c.

◆ DUK__YEAR

#define DUK__YEAR (   x)    ((duk_uint8_t) ((x) -1970))

Definition at line 32738 of file duktape.c.

◆ DUK_ACT_FLAG_BREAKPOINT_ACTIVE

#define DUK_ACT_FLAG_BREAKPOINT_ACTIVE   (1U << 6) /* activation has active breakpoint(s) */

Definition at line 8063 of file duktape.c.

◆ DUK_ACT_FLAG_CONSTRUCT

#define DUK_ACT_FLAG_CONSTRUCT   (1U << 2) /* function executes as a constructor (called via "new") */

Definition at line 8059 of file duktape.c.

◆ DUK_ACT_FLAG_CONSTRUCT_PROXY

#define DUK_ACT_FLAG_CONSTRUCT_PROXY   (1U << 5) /* activation is for Proxy 'construct' call, special return value handling */

Definition at line 8062 of file duktape.c.

◆ DUK_ACT_FLAG_DIRECT_EVAL

#define DUK_ACT_FLAG_DIRECT_EVAL   (1U << 4) /* activation is a direct eval call */

Definition at line 8061 of file duktape.c.

◆ DUK_ACT_FLAG_PREVENT_YIELD

#define DUK_ACT_FLAG_PREVENT_YIELD   (1U << 3) /* activation prevents yield (native call or "new") */

Definition at line 8060 of file duktape.c.

◆ DUK_ACT_FLAG_STRICT

#define DUK_ACT_FLAG_STRICT   (1U << 0) /* function executes in strict mode */

Definition at line 8057 of file duktape.c.

◆ DUK_ACT_FLAG_TAILCALLED

#define DUK_ACT_FLAG_TAILCALLED   (1U << 1) /* activation has tail called one or more times */

Definition at line 8058 of file duktape.c.

◆ DUK_ACT_GET_FUNC

#define DUK_ACT_GET_FUNC (   act)    ((act)->func)

Definition at line 8065 of file duktape.c.

◆ DUK_ALLOC

#define DUK_ALLOC (   heap,
  size 
)    duk_heap_mem_alloc((heap), (size))

Definition at line 9168 of file duktape.c.

◆ DUK_ALLOC_CHECKED

#define DUK_ALLOC_CHECKED (   thr,
  size 
)    duk_heap_mem_alloc_checked((thr), (size))

Definition at line 9181 of file duktape.c.

◆ DUK_ALLOC_CHECKED_ZEROED

#define DUK_ALLOC_CHECKED_ZEROED (   thr,
  size 
)    duk_heap_mem_alloc_checked_zeroed((thr), (size))

Definition at line 9182 of file duktape.c.

◆ DUK_ALLOC_RAW

#define DUK_ALLOC_RAW (   heap,
  size 
)    ((heap)->alloc_func((heap)->heap_udata, (size)))

Definition at line 9131 of file duktape.c.

◆ DUK_ALLOC_ZEROED

#define DUK_ALLOC_ZEROED (   heap,
  size 
)    duk_heap_mem_alloc_zeroed((heap), (size))

Definition at line 9169 of file duktape.c.

◆ DUK_ALWAYS_INLINE_PERF

#define DUK_ALWAYS_INLINE_PERF   DUK_ALWAYS_INLINE

Definition at line 5905 of file duktape.c.

◆ DUK_API_INTERNAL_H_INCLUDED

#define DUK_API_INTERNAL_H_INCLUDED

Definition at line 5896 of file duktape.c.

◆ DUK_ASC_0

#define DUK_ASC_0   0x30

Definition at line 10806 of file duktape.c.

◆ DUK_ASC_1

#define DUK_ASC_1   0x31

Definition at line 10807 of file duktape.c.

◆ DUK_ASC_2

#define DUK_ASC_2   0x32

Definition at line 10808 of file duktape.c.

◆ DUK_ASC_3

#define DUK_ASC_3   0x33

Definition at line 10809 of file duktape.c.

◆ DUK_ASC_4

#define DUK_ASC_4   0x34

Definition at line 10810 of file duktape.c.

◆ DUK_ASC_5

#define DUK_ASC_5   0x35

Definition at line 10811 of file duktape.c.

◆ DUK_ASC_6

#define DUK_ASC_6   0x36

Definition at line 10812 of file duktape.c.

◆ DUK_ASC_7

#define DUK_ASC_7   0x37

Definition at line 10813 of file duktape.c.

◆ DUK_ASC_8

#define DUK_ASC_8   0x38

Definition at line 10814 of file duktape.c.

◆ DUK_ASC_9

#define DUK_ASC_9   0x39

Definition at line 10815 of file duktape.c.

◆ DUK_ASC_ACK

#define DUK_ASC_ACK   0x06

Definition at line 10764 of file duktape.c.

◆ DUK_ASC_AMP

#define DUK_ASC_AMP   0x26

Definition at line 10796 of file duktape.c.

◆ DUK_ASC_ATSIGN

#define DUK_ASC_ATSIGN   0x40

Definition at line 10822 of file duktape.c.

◆ DUK_ASC_BACKSLASH

#define DUK_ASC_BACKSLASH   0x5c

Definition at line 10850 of file duktape.c.

◆ DUK_ASC_BEL

#define DUK_ASC_BEL   0x07

Definition at line 10765 of file duktape.c.

◆ DUK_ASC_BS

#define DUK_ASC_BS   0x08

Definition at line 10766 of file duktape.c.

◆ DUK_ASC_CAN

#define DUK_ASC_CAN   0x18

Definition at line 10782 of file duktape.c.

◆ DUK_ASC_CARET

#define DUK_ASC_CARET   0x5e

Definition at line 10852 of file duktape.c.

◆ DUK_ASC_COLON

#define DUK_ASC_COLON   0x3a

Definition at line 10816 of file duktape.c.

◆ DUK_ASC_COMMA

#define DUK_ASC_COMMA   0x2c

Definition at line 10802 of file duktape.c.

◆ DUK_ASC_CR

#define DUK_ASC_CR   0x0d

Definition at line 10771 of file duktape.c.

◆ DUK_ASC_DC1

#define DUK_ASC_DC1   0x11

Definition at line 10775 of file duktape.c.

◆ DUK_ASC_DC2

#define DUK_ASC_DC2   0x12

Definition at line 10776 of file duktape.c.

◆ DUK_ASC_DC3

#define DUK_ASC_DC3   0x13

Definition at line 10777 of file duktape.c.

◆ DUK_ASC_DC4

#define DUK_ASC_DC4   0x14

Definition at line 10778 of file duktape.c.

◆ DUK_ASC_DEL

#define DUK_ASC_DEL   0x7f

Definition at line 10885 of file duktape.c.

◆ DUK_ASC_DLE

#define DUK_ASC_DLE   0x10

Definition at line 10774 of file duktape.c.

◆ DUK_ASC_DOLLAR

#define DUK_ASC_DOLLAR   0x24

Definition at line 10794 of file duktape.c.

◆ DUK_ASC_DOUBLEQUOTE

#define DUK_ASC_DOUBLEQUOTE   0x22

Definition at line 10792 of file duktape.c.

◆ DUK_ASC_EM

#define DUK_ASC_EM   0x19

Definition at line 10783 of file duktape.c.

◆ DUK_ASC_ENQ

#define DUK_ASC_ENQ   0x05

Definition at line 10763 of file duktape.c.

◆ DUK_ASC_EOT

#define DUK_ASC_EOT   0x04

Definition at line 10762 of file duktape.c.

◆ DUK_ASC_EQUALS

#define DUK_ASC_EQUALS   0x3d

Definition at line 10819 of file duktape.c.

◆ DUK_ASC_ESC

#define DUK_ASC_ESC   0x1b

Definition at line 10785 of file duktape.c.

◆ DUK_ASC_ETB

#define DUK_ASC_ETB   0x17

Definition at line 10781 of file duktape.c.

◆ DUK_ASC_ETX

#define DUK_ASC_ETX   0x03

Definition at line 10761 of file duktape.c.

◆ DUK_ASC_EXCLAMATION

#define DUK_ASC_EXCLAMATION   0x21

Definition at line 10791 of file duktape.c.

◆ DUK_ASC_FF

#define DUK_ASC_FF   0x0c

Definition at line 10770 of file duktape.c.

◆ DUK_ASC_FS

#define DUK_ASC_FS   0x1c

Definition at line 10786 of file duktape.c.

◆ DUK_ASC_GRAVE

#define DUK_ASC_GRAVE   0x60

Definition at line 10854 of file duktape.c.

◆ DUK_ASC_GS

#define DUK_ASC_GS   0x1d

Definition at line 10787 of file duktape.c.

◆ DUK_ASC_HASH

#define DUK_ASC_HASH   0x23

Definition at line 10793 of file duktape.c.

◆ DUK_ASC_HT

#define DUK_ASC_HT   0x09

Definition at line 10767 of file duktape.c.

◆ DUK_ASC_LANGLE

#define DUK_ASC_LANGLE   0x3c

Definition at line 10818 of file duktape.c.

◆ DUK_ASC_LBRACKET

#define DUK_ASC_LBRACKET   0x5b

Definition at line 10849 of file duktape.c.

◆ DUK_ASC_LC_A

#define DUK_ASC_LC_A   0x61

Definition at line 10855 of file duktape.c.

◆ DUK_ASC_LC_B

#define DUK_ASC_LC_B   0x62

Definition at line 10856 of file duktape.c.

◆ DUK_ASC_LC_C

#define DUK_ASC_LC_C   0x63

Definition at line 10857 of file duktape.c.

◆ DUK_ASC_LC_D

#define DUK_ASC_LC_D   0x64

Definition at line 10858 of file duktape.c.

◆ DUK_ASC_LC_E

#define DUK_ASC_LC_E   0x65

Definition at line 10859 of file duktape.c.

◆ DUK_ASC_LC_F

#define DUK_ASC_LC_F   0x66

Definition at line 10860 of file duktape.c.

◆ DUK_ASC_LC_G

#define DUK_ASC_LC_G   0x67

Definition at line 10861 of file duktape.c.

◆ DUK_ASC_LC_H

#define DUK_ASC_LC_H   0x68

Definition at line 10862 of file duktape.c.

◆ DUK_ASC_LC_I

#define DUK_ASC_LC_I   0x69

Definition at line 10863 of file duktape.c.

◆ DUK_ASC_LC_J

#define DUK_ASC_LC_J   0x6a

Definition at line 10864 of file duktape.c.

◆ DUK_ASC_LC_K

#define DUK_ASC_LC_K   0x6b

Definition at line 10865 of file duktape.c.

◆ DUK_ASC_LC_L

#define DUK_ASC_LC_L   0x6c

Definition at line 10866 of file duktape.c.

◆ DUK_ASC_LC_M

#define DUK_ASC_LC_M   0x6d

Definition at line 10867 of file duktape.c.

◆ DUK_ASC_LC_N

#define DUK_ASC_LC_N   0x6e

Definition at line 10868 of file duktape.c.

◆ DUK_ASC_LC_O

#define DUK_ASC_LC_O   0x6f

Definition at line 10869 of file duktape.c.

◆ DUK_ASC_LC_P

#define DUK_ASC_LC_P   0x70

Definition at line 10870 of file duktape.c.

◆ DUK_ASC_LC_Q

#define DUK_ASC_LC_Q   0x71

Definition at line 10871 of file duktape.c.

◆ DUK_ASC_LC_R

#define DUK_ASC_LC_R   0x72

Definition at line 10872 of file duktape.c.

◆ DUK_ASC_LC_S

#define DUK_ASC_LC_S   0x73

Definition at line 10873 of file duktape.c.

◆ DUK_ASC_LC_T

#define DUK_ASC_LC_T   0x74

Definition at line 10874 of file duktape.c.

◆ DUK_ASC_LC_U

#define DUK_ASC_LC_U   0x75

Definition at line 10875 of file duktape.c.

◆ DUK_ASC_LC_V

#define DUK_ASC_LC_V   0x76

Definition at line 10876 of file duktape.c.

◆ DUK_ASC_LC_W

#define DUK_ASC_LC_W   0x77

Definition at line 10877 of file duktape.c.

◆ DUK_ASC_LC_X

#define DUK_ASC_LC_X   0x78

Definition at line 10878 of file duktape.c.

◆ DUK_ASC_LC_Y

#define DUK_ASC_LC_Y   0x79

Definition at line 10879 of file duktape.c.

◆ DUK_ASC_LC_Z

#define DUK_ASC_LC_Z   0x7a

Definition at line 10880 of file duktape.c.

◆ DUK_ASC_LCURLY

#define DUK_ASC_LCURLY   0x7b

Definition at line 10881 of file duktape.c.

◆ DUK_ASC_LF

#define DUK_ASC_LF   0x0a

Definition at line 10768 of file duktape.c.

◆ DUK_ASC_LPAREN

#define DUK_ASC_LPAREN   0x28

Definition at line 10798 of file duktape.c.

◆ DUK_ASC_MINUS

#define DUK_ASC_MINUS   0x2d

Definition at line 10803 of file duktape.c.

◆ DUK_ASC_NAK

#define DUK_ASC_NAK   0x15

Definition at line 10779 of file duktape.c.

◆ DUK_ASC_NUL

#define DUK_ASC_NUL   0x00

Definition at line 10758 of file duktape.c.

◆ DUK_ASC_PERCENT

#define DUK_ASC_PERCENT   0x25

Definition at line 10795 of file duktape.c.

◆ DUK_ASC_PERIOD

#define DUK_ASC_PERIOD   0x2e

Definition at line 10804 of file duktape.c.

◆ DUK_ASC_PIPE

#define DUK_ASC_PIPE   0x7c

Definition at line 10882 of file duktape.c.

◆ DUK_ASC_PLUS

#define DUK_ASC_PLUS   0x2b

Definition at line 10801 of file duktape.c.

◆ DUK_ASC_QUESTION

#define DUK_ASC_QUESTION   0x3f

Definition at line 10821 of file duktape.c.

◆ DUK_ASC_RANGLE

#define DUK_ASC_RANGLE   0x3e

Definition at line 10820 of file duktape.c.

◆ DUK_ASC_RBRACKET

#define DUK_ASC_RBRACKET   0x5d

Definition at line 10851 of file duktape.c.

◆ DUK_ASC_RCURLY

#define DUK_ASC_RCURLY   0x7d

Definition at line 10883 of file duktape.c.

◆ DUK_ASC_RPAREN

#define DUK_ASC_RPAREN   0x29

Definition at line 10799 of file duktape.c.

◆ DUK_ASC_RS

#define DUK_ASC_RS   0x1e

Definition at line 10788 of file duktape.c.

◆ DUK_ASC_SEMICOLON

#define DUK_ASC_SEMICOLON   0x3b

Definition at line 10817 of file duktape.c.

◆ DUK_ASC_SI

#define DUK_ASC_SI   0x0f

Definition at line 10773 of file duktape.c.

◆ DUK_ASC_SINGLEQUOTE

#define DUK_ASC_SINGLEQUOTE   0x27

Definition at line 10797 of file duktape.c.

◆ DUK_ASC_SLASH

#define DUK_ASC_SLASH   0x2f

Definition at line 10805 of file duktape.c.

◆ DUK_ASC_SO

#define DUK_ASC_SO   0x0e

Definition at line 10772 of file duktape.c.

◆ DUK_ASC_SOH

#define DUK_ASC_SOH   0x01

Definition at line 10759 of file duktape.c.

◆ DUK_ASC_SPACE

#define DUK_ASC_SPACE   0x20

Definition at line 10790 of file duktape.c.

◆ DUK_ASC_STAR

#define DUK_ASC_STAR   0x2a

Definition at line 10800 of file duktape.c.

◆ DUK_ASC_STX

#define DUK_ASC_STX   0x02

Definition at line 10760 of file duktape.c.

◆ DUK_ASC_SUB

#define DUK_ASC_SUB   0x1a

Definition at line 10784 of file duktape.c.

◆ DUK_ASC_SYN

#define DUK_ASC_SYN   0x16

Definition at line 10780 of file duktape.c.

◆ DUK_ASC_TILDE

#define DUK_ASC_TILDE   0x7e

Definition at line 10884 of file duktape.c.

◆ DUK_ASC_UC_A

#define DUK_ASC_UC_A   0x41

Definition at line 10823 of file duktape.c.

◆ DUK_ASC_UC_B

#define DUK_ASC_UC_B   0x42

Definition at line 10824 of file duktape.c.

◆ DUK_ASC_UC_C

#define DUK_ASC_UC_C   0x43

Definition at line 10825 of file duktape.c.

◆ DUK_ASC_UC_D

#define DUK_ASC_UC_D   0x44

Definition at line 10826 of file duktape.c.

◆ DUK_ASC_UC_E

#define DUK_ASC_UC_E   0x45

Definition at line 10827 of file duktape.c.

◆ DUK_ASC_UC_F

#define DUK_ASC_UC_F   0x46

Definition at line 10828 of file duktape.c.

◆ DUK_ASC_UC_G

#define DUK_ASC_UC_G   0x47

Definition at line 10829 of file duktape.c.

◆ DUK_ASC_UC_H

#define DUK_ASC_UC_H   0x48

Definition at line 10830 of file duktape.c.

◆ DUK_ASC_UC_I

#define DUK_ASC_UC_I   0x49

Definition at line 10831 of file duktape.c.

◆ DUK_ASC_UC_J

#define DUK_ASC_UC_J   0x4a

Definition at line 10832 of file duktape.c.

◆ DUK_ASC_UC_K

#define DUK_ASC_UC_K   0x4b

Definition at line 10833 of file duktape.c.

◆ DUK_ASC_UC_L

#define DUK_ASC_UC_L   0x4c

Definition at line 10834 of file duktape.c.

◆ DUK_ASC_UC_M

#define DUK_ASC_UC_M   0x4d

Definition at line 10835 of file duktape.c.

◆ DUK_ASC_UC_N

#define DUK_ASC_UC_N   0x4e

Definition at line 10836 of file duktape.c.

◆ DUK_ASC_UC_O

#define DUK_ASC_UC_O   0x4f

Definition at line 10837 of file duktape.c.

◆ DUK_ASC_UC_P

#define DUK_ASC_UC_P   0x50

Definition at line 10838 of file duktape.c.

◆ DUK_ASC_UC_Q

#define DUK_ASC_UC_Q   0x51

Definition at line 10839 of file duktape.c.

◆ DUK_ASC_UC_R

#define DUK_ASC_UC_R   0x52

Definition at line 10840 of file duktape.c.

◆ DUK_ASC_UC_S

#define DUK_ASC_UC_S   0x53

Definition at line 10841 of file duktape.c.

◆ DUK_ASC_UC_T

#define DUK_ASC_UC_T   0x54

Definition at line 10842 of file duktape.c.

◆ DUK_ASC_UC_U

#define DUK_ASC_UC_U   0x55

Definition at line 10843 of file duktape.c.

◆ DUK_ASC_UC_V

#define DUK_ASC_UC_V   0x56

Definition at line 10844 of file duktape.c.

◆ DUK_ASC_UC_W

#define DUK_ASC_UC_W   0x57

Definition at line 10845 of file duktape.c.

◆ DUK_ASC_UC_X

#define DUK_ASC_UC_X   0x58

Definition at line 10846 of file duktape.c.

◆ DUK_ASC_UC_Y

#define DUK_ASC_UC_Y   0x59

Definition at line 10847 of file duktape.c.

◆ DUK_ASC_UC_Z

#define DUK_ASC_UC_Z   0x5a

Definition at line 10848 of file duktape.c.

◆ DUK_ASC_UNDERSCORE

#define DUK_ASC_UNDERSCORE   0x5f

Definition at line 10853 of file duktape.c.

◆ DUK_ASC_US

#define DUK_ASC_US   0x1f

Definition at line 10789 of file duktape.c.

◆ DUK_ASC_VT

#define DUK_ASC_VT   0x0b

Definition at line 10769 of file duktape.c.

◆ DUK_ASSERT

#define DUK_ASSERT (   x)
Value:
do { /* assertion omitted */ \
} while (0)

Definition at line 10545 of file duktape.c.

◆ DUK_ASSERT_API_ENTRY

#define DUK_ASSERT_API_ENTRY (   thr)
Value:
do { \
DUK_CTX_ASSERT_VALID((thr)); \
DUK_ASSERT((thr)->heap != NULL); \
DUK_ASSERT((thr)->heap->dbg_calling_transport == 0); \
} while (0)

Definition at line 8201 of file duktape.c.

◆ DUK_ASSERT_BIDX_VALID

#define DUK_ASSERT_BIDX_VALID (   val)    DUK_ASSERT((duk_uint_t) (val) < DUK_NUM_BUILTINS)

Definition at line 8214 of file duktape.c.

◆ DUK_ASSERT_DISABLE

#define DUK_ASSERT_DISABLE (   x)
Value:
do { /* assertion disabled */ \
} while (0)

Definition at line 10556 of file duktape.c.

◆ DUK_ASSERT_DOUBLE_IS_NORMALIZED

#define DUK_ASSERT_DOUBLE_IS_NORMALIZED (   dval)    /* nop */

Definition at line 10590 of file duktape.c.

◆ DUK_ASSERT_EXPR

#define DUK_ASSERT_EXPR (   x)    ((void) 0)

Definition at line 10549 of file duktape.c.

◆ DUK_ASSERT_LJSTATE_SET

#define DUK_ASSERT_LJSTATE_SET (   heap)
Value:
do { \
DUK_ASSERT(heap != NULL); \
DUK_ASSERT(heap->lj.type != DUK_LJ_TYPE_UNKNOWN); \
} while (0)
#define DUK_LJ_TYPE_UNKNOWN
Definition: duktape.c:8994

Definition at line 9264 of file duktape.c.

◆ DUK_ASSERT_LJSTATE_UNSET

#define DUK_ASSERT_LJSTATE_UNSET (   heap)
Value:
do { \
DUK_ASSERT(heap != NULL); \
DUK_ASSERT(heap->lj.type == DUK_LJ_TYPE_UNKNOWN); \
DUK_ASSERT(heap->lj.iserror == 0); \
DUK_ASSERT(DUK_TVAL_IS_UNDEFINED(&heap->lj.value1)); \
DUK_ASSERT(DUK_TVAL_IS_UNDEFINED(&heap->lj.value2)); \
} while (0)
#define DUK_TVAL_IS_UNDEFINED(tv)
Definition: duktape.c:1480

Definition at line 9256 of file duktape.c.

◆ DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR

#define DUK_ASSERT_REFCOUNT_NONZERO_HEAPHDR (   h)    /* no refcount check */

Definition at line 10576 of file duktape.c.

◆ DUK_ASSERT_REFCOUNT_NONZERO_TVAL

#define DUK_ASSERT_REFCOUNT_NONZERO_TVAL (   tv)    /* no refcount check */

Definition at line 10577 of file duktape.c.

◆ DUK_ASSERT_SET_GARBAGE

#define DUK_ASSERT_SET_GARBAGE (   ptr,
  size 
)
Value:
do { \
} while (0)

Definition at line 10606 of file duktape.c.

◆ DUK_ASSERT_STRIDX_VALID

#define DUK_ASSERT_STRIDX_VALID (   val)    DUK_ASSERT((duk_uint_t) (val) < DUK_HEAP_NUM_STRINGS)

Definition at line 8212 of file duktape.c.

◆ DUK_ASSERT_TOP

#define DUK_ASSERT_TOP (   ctx,
 
)    DUK_ASSERT((duk_idx_t) duk_get_top((ctx)) == (duk_idx_t) (n))

Definition at line 10580 of file duktape.c.

◆ DUK_ASSERT_VALID_NEGIDX

#define DUK_ASSERT_VALID_NEGIDX (   thr,
  idx 
)     (DUK_ASSERT_EXPR((duk_int_t) (idx) < 0), DUK_ASSERT_EXPR(duk_is_valid_index((thr), (idx))))

Definition at line 6265 of file duktape.c.

◆ DUK_ASSERT_VALID_POSIDX

#define DUK_ASSERT_VALID_POSIDX (   thr,
  idx 
)     (DUK_ASSERT_EXPR((duk_int_t) (idx) >= 0), DUK_ASSERT_EXPR(duk_is_valid_index((thr), (idx))))

Definition at line 6267 of file duktape.c.

◆ DUK_ASSERT_VALSTACK_SPACE

#define DUK_ASSERT_VALSTACK_SPACE (   thr,
 
)    /* no valstack space check */

Definition at line 10628 of file duktape.c.

◆ DUK_ASSERT_VS_SPACE

#define DUK_ASSERT_VS_SPACE (   thr)    DUK_ASSERT(thr->valstack_top < thr->valstack_end)

Definition at line 10593 of file duktape.c.

◆ DUK_AUGMENT_FLAG_NOBLAME_FILELINE

#define DUK_AUGMENT_FLAG_NOBLAME_FILELINE   (1U << 0) /* if set, don't blame C file/line for .fileName and .lineNumber */

Definition at line 10656 of file duktape.c.

◆ DUK_AUGMENT_FLAG_SKIP_ONE

#define DUK_AUGMENT_FLAG_SKIP_ONE   (1U << 1) /* if set, skip topmost activation in traceback construction */

Definition at line 10657 of file duktape.c.

◆ DUK_BC_A_MAX

#define DUK_BC_A_MAX   0xffL

Definition at line 3461 of file duktape.c.

◆ DUK_BC_A_MIN

#define DUK_BC_A_MIN   0

Definition at line 3460 of file duktape.c.

◆ DUK_BC_ABC_MAX

#define DUK_BC_ABC_MAX   0xffffffL

Definition at line 3469 of file duktape.c.

◆ DUK_BC_ABC_MIN

#define DUK_BC_ABC_MIN   0

Definition at line 3468 of file duktape.c.

◆ DUK_BC_B_MAX

#define DUK_BC_B_MAX   0xffL

Definition at line 3463 of file duktape.c.

◆ DUK_BC_B_MIN

#define DUK_BC_B_MIN   0

Definition at line 3462 of file duktape.c.

◆ DUK_BC_BC_MAX

#define DUK_BC_BC_MAX   0xffffL

Definition at line 3467 of file duktape.c.

◆ DUK_BC_BC_MIN

#define DUK_BC_BC_MIN   0

Definition at line 3466 of file duktape.c.

◆ DUK_BC_C_MAX

#define DUK_BC_C_MAX   0xffL

Definition at line 3465 of file duktape.c.

◆ DUK_BC_C_MIN

#define DUK_BC_C_MIN   0

Definition at line 3464 of file duktape.c.

◆ DUK_BC_CALL_FLAG_CALLED_AS_EVAL

#define DUK_BC_CALL_FLAG_CALLED_AS_EVAL   (1U << 2)

Definition at line 3792 of file duktape.c.

◆ DUK_BC_CALL_FLAG_CONSTRUCT

#define DUK_BC_CALL_FLAG_CONSTRUCT   (1U << 1)

Definition at line 3791 of file duktape.c.

◆ DUK_BC_CALL_FLAG_INDIRECT

#define DUK_BC_CALL_FLAG_INDIRECT   (1U << 3)

Definition at line 3793 of file duktape.c.

◆ DUK_BC_CALL_FLAG_TAILCALL

#define DUK_BC_CALL_FLAG_TAILCALL   (1U << 0)

Definition at line 3790 of file duktape.c.

◆ DUK_BC_DECLVAR_FLAG_FUNC_DECL

#define DUK_BC_DECLVAR_FLAG_FUNC_DECL   (1U << 4) /* function declaration */

Definition at line 3785 of file duktape.c.

◆ DUK_BC_INCDECP_FLAG_DEC

#define DUK_BC_INCDECP_FLAG_DEC   (0x04UL)

Definition at line 3476 of file duktape.c.

◆ DUK_BC_INCDECP_FLAG_POST

#define DUK_BC_INCDECP_FLAG_POST   (0x08UL)

Definition at line 3477 of file duktape.c.

◆ DUK_BC_JUMP_BIAS

#define DUK_BC_JUMP_BIAS   (1L << 23)

Definition at line 3798 of file duktape.c.

◆ DUK_BC_LDINT_BIAS

#define DUK_BC_LDINT_BIAS   (1L << 15)

Definition at line 3796 of file duktape.c.

◆ DUK_BC_LDINTX_SHIFT

#define DUK_BC_LDINTX_SHIFT   16

Definition at line 3797 of file duktape.c.

◆ DUK_BC_NOREGCONST_OP

#define DUK_BC_NOREGCONST_OP (   op)    ((op) &0xfc)

Definition at line 3453 of file duktape.c.

◆ DUK_BC_OP_MAX

#define DUK_BC_OP_MAX   0xffL

Definition at line 3459 of file duktape.c.

◆ DUK_BC_OP_MIN

#define DUK_BC_OP_MIN   0

Definition at line 3458 of file duktape.c.

◆ DUK_BC_REGCONST_B

#define DUK_BC_REGCONST_B   (0x01UL)

Definition at line 3472 of file duktape.c.

◆ DUK_BC_REGCONST_C

#define DUK_BC_REGCONST_C   (0x02UL)

Definition at line 3473 of file duktape.c.

◆ DUK_BC_SHIFT_A

#define DUK_BC_SHIFT_A   8

Definition at line 3414 of file duktape.c.

◆ DUK_BC_SHIFT_ABC

#define DUK_BC_SHIFT_ABC   DUK_BC_SHIFT_A

Definition at line 3418 of file duktape.c.

◆ DUK_BC_SHIFT_B

#define DUK_BC_SHIFT_B   16

Definition at line 3415 of file duktape.c.

◆ DUK_BC_SHIFT_BC

#define DUK_BC_SHIFT_BC   DUK_BC_SHIFT_B

Definition at line 3417 of file duktape.c.

◆ DUK_BC_SHIFT_C

#define DUK_BC_SHIFT_C   24

Definition at line 3416 of file duktape.c.

◆ DUK_BC_SHIFT_OP

#define DUK_BC_SHIFT_OP   0

Definition at line 3413 of file duktape.c.

◆ DUK_BC_SHIFTED_MASK_A

#define DUK_BC_SHIFTED_MASK_A   (DUK_BC_UNSHIFTED_MASK_A << DUK_BC_SHIFT_A)

Definition at line 3428 of file duktape.c.

◆ DUK_BC_SHIFTED_MASK_ABC

#define DUK_BC_SHIFTED_MASK_ABC   (DUK_BC_UNSHIFTED_MASK_ABC << DUK_BC_SHIFT_ABC)

Definition at line 3432 of file duktape.c.

◆ DUK_BC_SHIFTED_MASK_B

#define DUK_BC_SHIFTED_MASK_B   (DUK_BC_UNSHIFTED_MASK_B << DUK_BC_SHIFT_B)

Definition at line 3429 of file duktape.c.

◆ DUK_BC_SHIFTED_MASK_BC

#define DUK_BC_SHIFTED_MASK_BC   (DUK_BC_UNSHIFTED_MASK_BC << DUK_BC_SHIFT_BC)

Definition at line 3431 of file duktape.c.

◆ DUK_BC_SHIFTED_MASK_C

#define DUK_BC_SHIFTED_MASK_C   (DUK_BC_UNSHIFTED_MASK_C << DUK_BC_SHIFT_C)

Definition at line 3430 of file duktape.c.

◆ DUK_BC_SHIFTED_MASK_OP

#define DUK_BC_SHIFTED_MASK_OP   (DUK_BC_UNSHIFTED_MASK_OP << DUK_BC_SHIFT_OP)

Definition at line 3427 of file duktape.c.

◆ DUK_BC_TRYCATCH_FLAG_CATCH_BINDING

#define DUK_BC_TRYCATCH_FLAG_CATCH_BINDING   (1U << 2)

Definition at line 3779 of file duktape.c.

◆ DUK_BC_TRYCATCH_FLAG_HAVE_CATCH

#define DUK_BC_TRYCATCH_FLAG_HAVE_CATCH   (1U << 0)

Definition at line 3777 of file duktape.c.

◆ DUK_BC_TRYCATCH_FLAG_HAVE_FINALLY

#define DUK_BC_TRYCATCH_FLAG_HAVE_FINALLY   (1U << 1)

Definition at line 3778 of file duktape.c.

◆ DUK_BC_TRYCATCH_FLAG_WITH_BINDING

#define DUK_BC_TRYCATCH_FLAG_WITH_BINDING   (1U << 3)

Definition at line 3780 of file duktape.c.

◆ DUK_BC_UNSHIFTED_MASK_A

#define DUK_BC_UNSHIFTED_MASK_A   0xffUL

Definition at line 3421 of file duktape.c.

◆ DUK_BC_UNSHIFTED_MASK_ABC

#define DUK_BC_UNSHIFTED_MASK_ABC   0xffffffUL

Definition at line 3425 of file duktape.c.

◆ DUK_BC_UNSHIFTED_MASK_B

#define DUK_BC_UNSHIFTED_MASK_B   0xffUL

Definition at line 3422 of file duktape.c.

◆ DUK_BC_UNSHIFTED_MASK_BC

#define DUK_BC_UNSHIFTED_MASK_BC   0xffffUL

Definition at line 3424 of file duktape.c.

◆ DUK_BC_UNSHIFTED_MASK_C

#define DUK_BC_UNSHIFTED_MASK_C   0xffUL

Definition at line 3423 of file duktape.c.

◆ DUK_BC_UNSHIFTED_MASK_OP

#define DUK_BC_UNSHIFTED_MASK_OP   0xffUL

Definition at line 3420 of file duktape.c.

◆ DUK_BD_BITPACKED_STRING_MAXLEN

#define DUK_BD_BITPACKED_STRING_MAXLEN   256

Definition at line 2408 of file duktape.c.

◆ DUK_BI_DATE_ISO8601_BUFSIZE

#define DUK_BI_DATE_ISO8601_BUFSIZE   40

Definition at line 11343 of file duktape.c.

◆ DUK_BIDX_ARRAY_CONSTRUCTOR

#define DUK_BIDX_ARRAY_CONSTRUCTOR   7

Definition at line 2293 of file duktape.c.

◆ DUK_BIDX_ARRAY_PROTOTYPE

#define DUK_BIDX_ARRAY_PROTOTYPE   8

Definition at line 2294 of file duktape.c.

◆ DUK_BIDX_ARRAYBUFFER_PROTOTYPE

#define DUK_BIDX_ARRAYBUFFER_PROTOTYPE   39

Definition at line 2325 of file duktape.c.

◆ DUK_BIDX_BOOLEAN_CONSTRUCTOR

#define DUK_BIDX_BOOLEAN_CONSTRUCTOR   11

Definition at line 2297 of file duktape.c.

◆ DUK_BIDX_BOOLEAN_PROTOTYPE

#define DUK_BIDX_BOOLEAN_PROTOTYPE   12

Definition at line 2298 of file duktape.c.

◆ DUK_BIDX_DATAVIEW_PROTOTYPE

#define DUK_BIDX_DATAVIEW_PROTOTYPE   40

Definition at line 2326 of file duktape.c.

◆ DUK_BIDX_DATE_CONSTRUCTOR

#define DUK_BIDX_DATE_CONSTRUCTOR   15

Definition at line 2301 of file duktape.c.

◆ DUK_BIDX_DATE_PROTOTYPE

#define DUK_BIDX_DATE_PROTOTYPE   16

Definition at line 2302 of file duktape.c.

◆ DUK_BIDX_DOUBLE_ERROR

#define DUK_BIDX_DOUBLE_ERROR   37

Definition at line 2323 of file duktape.c.

◆ DUK_BIDX_DUKTAPE

#define DUK_BIDX_DUKTAPE   34

Definition at line 2320 of file duktape.c.

◆ DUK_BIDX_ERROR_CONSTRUCTOR

#define DUK_BIDX_ERROR_CONSTRUCTOR   19

Definition at line 2305 of file duktape.c.

◆ DUK_BIDX_ERROR_PROTOTYPE

#define DUK_BIDX_ERROR_PROTOTYPE   20

Definition at line 2306 of file duktape.c.

◆ DUK_BIDX_EVAL_ERROR_CONSTRUCTOR

#define DUK_BIDX_EVAL_ERROR_CONSTRUCTOR   21

Definition at line 2307 of file duktape.c.

◆ DUK_BIDX_EVAL_ERROR_PROTOTYPE

#define DUK_BIDX_EVAL_ERROR_PROTOTYPE   22

Definition at line 2308 of file duktape.c.

◆ DUK_BIDX_FLOAT32ARRAY_PROTOTYPE

#define DUK_BIDX_FLOAT32ARRAY_PROTOTYPE   48

Definition at line 2334 of file duktape.c.

◆ DUK_BIDX_FLOAT64ARRAY_PROTOTYPE

#define DUK_BIDX_FLOAT64ARRAY_PROTOTYPE   49

Definition at line 2335 of file duktape.c.

◆ DUK_BIDX_FUNCTION_CONSTRUCTOR

#define DUK_BIDX_FUNCTION_CONSTRUCTOR   4

Definition at line 2290 of file duktape.c.

◆ DUK_BIDX_FUNCTION_PROTOTYPE

#define DUK_BIDX_FUNCTION_PROTOTYPE   5

Definition at line 2291 of file duktape.c.

◆ DUK_BIDX_GLOBAL

#define DUK_BIDX_GLOBAL   0

Definition at line 2286 of file duktape.c.

◆ DUK_BIDX_GLOBAL_ENV

#define DUK_BIDX_GLOBAL_ENV   1

Definition at line 2287 of file duktape.c.

◆ DUK_BIDX_INT16ARRAY_PROTOTYPE

#define DUK_BIDX_INT16ARRAY_PROTOTYPE   44

Definition at line 2330 of file duktape.c.

◆ DUK_BIDX_INT32ARRAY_PROTOTYPE

#define DUK_BIDX_INT32ARRAY_PROTOTYPE   46

Definition at line 2332 of file duktape.c.

◆ DUK_BIDX_INT8ARRAY_PROTOTYPE

#define DUK_BIDX_INT8ARRAY_PROTOTYPE   41

Definition at line 2327 of file duktape.c.

◆ DUK_BIDX_NATIVE_FUNCTION_PROTOTYPE

#define DUK_BIDX_NATIVE_FUNCTION_PROTOTYPE   6

Definition at line 2292 of file duktape.c.

◆ DUK_BIDX_NODEJS_BUFFER_PROTOTYPE

#define DUK_BIDX_NODEJS_BUFFER_PROTOTYPE   50

Definition at line 2336 of file duktape.c.

◆ DUK_BIDX_NUMBER_CONSTRUCTOR

#define DUK_BIDX_NUMBER_CONSTRUCTOR   13

Definition at line 2299 of file duktape.c.

◆ DUK_BIDX_NUMBER_PROTOTYPE

#define DUK_BIDX_NUMBER_PROTOTYPE   14

Definition at line 2300 of file duktape.c.

◆ DUK_BIDX_OBJECT_CONSTRUCTOR

#define DUK_BIDX_OBJECT_CONSTRUCTOR   2

Definition at line 2288 of file duktape.c.

◆ DUK_BIDX_OBJECT_PROTOTYPE

#define DUK_BIDX_OBJECT_PROTOTYPE   3

Definition at line 2289 of file duktape.c.

◆ DUK_BIDX_POINTER_PROTOTYPE

#define DUK_BIDX_POINTER_PROTOTYPE   36

Definition at line 2322 of file duktape.c.

◆ DUK_BIDX_RANGE_ERROR_CONSTRUCTOR

#define DUK_BIDX_RANGE_ERROR_CONSTRUCTOR   23

Definition at line 2309 of file duktape.c.

◆ DUK_BIDX_RANGE_ERROR_PROTOTYPE

#define DUK_BIDX_RANGE_ERROR_PROTOTYPE   24

Definition at line 2310 of file duktape.c.

◆ DUK_BIDX_REFERENCE_ERROR_CONSTRUCTOR

#define DUK_BIDX_REFERENCE_ERROR_CONSTRUCTOR   25

Definition at line 2311 of file duktape.c.

◆ DUK_BIDX_REFERENCE_ERROR_PROTOTYPE

#define DUK_BIDX_REFERENCE_ERROR_PROTOTYPE   26

Definition at line 2312 of file duktape.c.

◆ DUK_BIDX_REGEXP_CONSTRUCTOR

#define DUK_BIDX_REGEXP_CONSTRUCTOR   17

Definition at line 2303 of file duktape.c.

◆ DUK_BIDX_REGEXP_PROTOTYPE

#define DUK_BIDX_REGEXP_PROTOTYPE   18

Definition at line 2304 of file duktape.c.

◆ DUK_BIDX_STRING_CONSTRUCTOR

#define DUK_BIDX_STRING_CONSTRUCTOR   9

Definition at line 2295 of file duktape.c.

◆ DUK_BIDX_STRING_PROTOTYPE

#define DUK_BIDX_STRING_PROTOTYPE   10

Definition at line 2296 of file duktape.c.

◆ DUK_BIDX_SYMBOL_PROTOTYPE

#define DUK_BIDX_SYMBOL_PROTOTYPE   38

Definition at line 2324 of file duktape.c.

◆ DUK_BIDX_SYNTAX_ERROR_CONSTRUCTOR

#define DUK_BIDX_SYNTAX_ERROR_CONSTRUCTOR   27

Definition at line 2313 of file duktape.c.

◆ DUK_BIDX_SYNTAX_ERROR_PROTOTYPE

#define DUK_BIDX_SYNTAX_ERROR_PROTOTYPE   28

Definition at line 2314 of file duktape.c.

◆ DUK_BIDX_THREAD_PROTOTYPE

#define DUK_BIDX_THREAD_PROTOTYPE   35

Definition at line 2321 of file duktape.c.

◆ DUK_BIDX_TYPE_ERROR_CONSTRUCTOR

#define DUK_BIDX_TYPE_ERROR_CONSTRUCTOR   29

Definition at line 2315 of file duktape.c.

◆ DUK_BIDX_TYPE_ERROR_PROTOTYPE

#define DUK_BIDX_TYPE_ERROR_PROTOTYPE   30

Definition at line 2316 of file duktape.c.

◆ DUK_BIDX_TYPE_ERROR_THROWER

#define DUK_BIDX_TYPE_ERROR_THROWER   33

Definition at line 2319 of file duktape.c.

◆ DUK_BIDX_UINT16ARRAY_PROTOTYPE

#define DUK_BIDX_UINT16ARRAY_PROTOTYPE   45

Definition at line 2331 of file duktape.c.

◆ DUK_BIDX_UINT32ARRAY_PROTOTYPE

#define DUK_BIDX_UINT32ARRAY_PROTOTYPE   47

Definition at line 2333 of file duktape.c.

◆ DUK_BIDX_UINT8ARRAY_PROTOTYPE

#define DUK_BIDX_UINT8ARRAY_PROTOTYPE   42

Definition at line 2328 of file duktape.c.

◆ DUK_BIDX_UINT8CLAMPEDARRAY_PROTOTYPE

#define DUK_BIDX_UINT8CLAMPEDARRAY_PROTOTYPE   43

Definition at line 2329 of file duktape.c.

◆ DUK_BIDX_URI_ERROR_CONSTRUCTOR

#define DUK_BIDX_URI_ERROR_CONSTRUCTOR   31

Definition at line 2317 of file duktape.c.

◆ DUK_BIDX_URI_ERROR_PROTOTYPE

#define DUK_BIDX_URI_ERROR_PROTOTYPE   32

Definition at line 2318 of file duktape.c.

◆ DUK_BUILTIN_PROTOS_H_INCLUDED

#define DUK_BUILTIN_PROTOS_H_INCLUDED

Definition at line 11335 of file duktape.c.

◆ DUK_BUILTINS_H_INCLUDED

#define DUK_BUILTINS_H_INCLUDED

Definition at line 1574 of file duktape.c.

◆ DUK_BW_ADD_PTR

#define DUK_BW_ADD_PTR (   thr,
  bw_ctx,
  delta 
)
Value:
do { \
(bw_ctx)->p += (delta); \
} while (0)

Definition at line 2557 of file duktape.c.

◆ DUK_BW_ASSERT_SPACE

#define DUK_BW_ASSERT_SPACE (   thr,
  bw_ctx,
  sz 
)
Value:
do { \
DUK_BW_ASSERT_SPACE_EXPR((thr), (bw_ctx), (sz)); \
} while (0)

Definition at line 2596 of file duktape.c.

◆ DUK_BW_ASSERT_SPACE_EXPR

#define DUK_BW_ASSERT_SPACE_EXPR (   thr,
  bw_ctx,
  sz 
)
Value:
(DUK_BW_ASSERT_VALID_EXPR((thr), (bw_ctx)), \
DUK_ASSERT_EXPR((duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p) >= (duk_size_t) (sz)))
#define DUK_BW_ASSERT_VALID_EXPR(thr, bw_ctx)
Definition: duktape.c:2544

Definition at line 2593 of file duktape.c.

◆ DUK_BW_ASSERT_VALID

#define DUK_BW_ASSERT_VALID (   thr,
  bw_ctx 
)
Value:
do { \
} while (0)

Definition at line 2545 of file duktape.c.

◆ DUK_BW_ASSERT_VALID_EXPR

#define DUK_BW_ASSERT_VALID_EXPR (   thr,
  bw_ctx 
)    DUK_ASSERT_EXPR(1)

Definition at line 2544 of file duktape.c.

◆ DUK_BW_COMPACT

#define DUK_BW_COMPACT (   thr,
  bw_ctx 
)
Value:
do { \
/* Make underlying buffer compact to match DUK_BW_GET_SIZE(). */ \
duk_bw_compact((thr), (bw_ctx)); \
} while (0)

Definition at line 2521 of file duktape.c.

◆ DUK_BW_ENSURE

#define DUK_BW_ENSURE (   thr,
  bw_ctx,
  sz 
)
Value:
do { \
duk_size_t duk__sz, duk__space; \
DUK_BW_ASSERT_VALID((thr), (bw_ctx)); \
duk__sz = (sz); \
duk__space = (duk_size_t) ((bw_ctx)->p_limit - (bw_ctx)->p); \
if (duk__space < duk__sz) { \
(void) duk_bw_resize((thr), (bw_ctx), duk__sz); \
} \
} while (0)
DUK_INTERNAL_DECL duk_uint8_t * duk_bw_resize(duk_hthread *thr, duk_bufwriter_ctx *bw_ctx, duk_size_t sz)
Definition: duktape.c:100192

Definition at line 2578 of file duktape.c.

◆ DUK_BW_ENSURE_GETPTR

#define DUK_BW_ENSURE_GETPTR (   thr,
  bw_ctx,
  sz 
)    DUK_BW_ENSURE_RAW((thr), (bw_ctx), (sz), (bw_ctx)->p)

Definition at line 2592 of file duktape.c.

◆ DUK_BW_ENSURE_RAW

#define DUK_BW_ENSURE_RAW (   thr,
  bw_ctx,
  sz,
  ptr 
)     (((duk_size_t) ((bw_ctx)->p_limit - (ptr)) >= (sz)) ? (ptr) : ((bw_ctx)->p = (ptr), duk_bw_resize((thr), (bw_ctx), (sz))))

Definition at line 2590 of file duktape.c.

◆ DUK_BW_GET_BASEPTR

#define DUK_BW_GET_BASEPTR (   thr,
  bw_ctx 
)    ((bw_ctx)->p_base)

Definition at line 2561 of file duktape.c.

◆ DUK_BW_GET_BUFFER

#define DUK_BW_GET_BUFFER (   thr,
  bw_ctx 
)    ((bw_ctx)->buf)

Definition at line 2574 of file duktape.c.

◆ DUK_BW_GET_LIMITPTR

#define DUK_BW_GET_LIMITPTR (   thr,
  bw_ctx 
)    ((bw_ctx)->p_limit)

Definition at line 2562 of file duktape.c.

◆ DUK_BW_GET_PTR

#define DUK_BW_GET_PTR (   thr,
  bw_ctx 
)    ((bw_ctx)->p)

Definition at line 2552 of file duktape.c.

◆ DUK_BW_GET_SIZE

#define DUK_BW_GET_SIZE (   thr,
  bw_ctx 
)    ((duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base))

Definition at line 2563 of file duktape.c.

◆ DUK_BW_INIT_PUSHBUF

#define DUK_BW_INIT_PUSHBUF (   thr,
  bw_ctx,
  sz 
)
Value:
do { \
duk_bw_init_pushbuf((thr), (bw_ctx), (sz)); \
} while (0)

Definition at line 2513 of file duktape.c.

◆ DUK_BW_INIT_WITHBUF

#define DUK_BW_INIT_WITHBUF (   thr,
  bw_ctx,
  buf 
)
Value:
do { \
duk_bw_init((thr), (bw_ctx), (buf)); \
} while (0)

Definition at line 2517 of file duktape.c.

◆ DUK_BW_INSERT_ENSURE_AREA

#define DUK_BW_INSERT_ENSURE_AREA (   thr,
  bw,
  off,
  len 
)
Value:
/* Evaluates to (duk_uint8_t *) pointing to start of area. */ \
duk_bw_insert_ensure_area((thr), (bw), (off), (len))

Definition at line 2875 of file duktape.c.

◆ DUK_BW_INSERT_ENSURE_BYTES

#define DUK_BW_INSERT_ENSURE_BYTES (   thr,
  bw,
  dst_off,
  buf,
  len 
)    duk_bw_insert_ensure_bytes((thr), (bw), (dst_off), (buf), (len))

Definition at line 2872 of file duktape.c.

◆ DUK_BW_INSERT_ENSURE_SLICE

#define DUK_BW_INSERT_ENSURE_SLICE (   thr,
  bw,
  dst_off,
  src_off,
  len 
)     duk_bw_insert_ensure_slice((thr), (bw), (dst_off), (src_off), (len))

Definition at line 2873 of file duktape.c.

◆ DUK_BW_INSERT_RAW_AREA

#define DUK_BW_INSERT_RAW_AREA (   thr,
  bw,
  off,
  len 
)    duk_bw_insert_raw_area((thr), (bw), (off), (len))

Definition at line 2763 of file duktape.c.

◆ DUK_BW_INSERT_RAW_BYTES

#define DUK_BW_INSERT_RAW_BYTES (   thr,
  bw,
  dst_off,
  buf,
  len 
)    duk_bw_insert_raw_bytes((thr), (bw), (dst_off), (buf), (len))

Definition at line 2752 of file duktape.c.

◆ DUK_BW_INSERT_RAW_SLICE

#define DUK_BW_INSERT_RAW_SLICE (   thr,
  bw,
  dst_off,
  src_off,
  len 
)    duk_bw_insert_raw_slice((thr), (bw), (dst_off), (src_off), (len))

Definition at line 2757 of file duktape.c.

◆ DUK_BW_PUSH_AS_STRING

#define DUK_BW_PUSH_AS_STRING (   thr,
  bw_ctx 
)
Value:
do { \
duk_push_lstring((thr), (const char *) (bw_ctx)->p_base, (duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)); \
} while (0)

Definition at line 2526 of file duktape.c.

◆ DUK_BW_REMOVE_ENSURE_SLICE

#define DUK_BW_REMOVE_ENSURE_SLICE (   thr,
  bw,
  off,
  len 
)
Value:
/* No difference between raw/ensure because the buffer shrinks. */ \
DUK_BW_REMOVE_RAW_SLICE((thr), (bw), (off), (len))

Definition at line 2878 of file duktape.c.

◆ DUK_BW_REMOVE_RAW_SLICE

#define DUK_BW_REMOVE_RAW_SLICE (   thr,
  bw,
  off,
  len 
)    duk_bw_remove_raw_slice((thr), (bw), (off), (len))

Definition at line 2766 of file duktape.c.

◆ DUK_BW_RESET_SIZE

#define DUK_BW_RESET_SIZE (   thr,
  bw_ctx 
)
Value:
do { \
/* Reset to zero size, keep current limit. */ \
(bw_ctx)->p = (bw_ctx)->p_base; \
} while (0)

Definition at line 2569 of file duktape.c.

◆ DUK_BW_SET_PTR

#define DUK_BW_SET_PTR (   thr,
  bw_ctx,
  ptr 
)
Value:
do { \
(bw_ctx)->p = (ptr); \
} while (0)

Definition at line 2553 of file duktape.c.

◆ DUK_BW_SET_SIZE

#define DUK_BW_SET_SIZE (   thr,
  bw_ctx,
  sz 
)
Value:
do { \
DUK_ASSERT((duk_size_t) (sz) <= (duk_size_t) ((bw_ctx)->p - (bw_ctx)->p_base)); \
(bw_ctx)->p = (bw_ctx)->p_base + (sz); \
} while (0)

Definition at line 2564 of file duktape.c.

◆ DUK_BW_SETPTR_AND_COMPACT

#define DUK_BW_SETPTR_AND_COMPACT (   thr,
  bw_ctx,
  ptr 
)
Value:
do { \
(bw_ctx)->p = (ptr); \
duk_bw_compact((thr), (bw_ctx)); \
} while (0)

Definition at line 2603 of file duktape.c.

◆ DUK_BW_SLACK_ADD

#define DUK_BW_SLACK_ADD   64

Definition at line 2507 of file duktape.c.

◆ DUK_BW_SLACK_SHIFT

#define DUK_BW_SLACK_SHIFT   2 /* 2^2 -> 1/4 = 25% slack */

Definition at line 2508 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_BYTES

#define DUK_BW_WRITE_ENSURE_BYTES (   thr,
  bw_ctx,
  valptr,
  valsz 
)
Value:
do { \
const void *duk__valptr; \
duk_size_t duk__valsz; \
duk__valptr = (const void *) (valptr); \
duk__valsz = (duk_size_t) (valsz); \
DUK_BW_ENSURE((thr), (bw_ctx), duk__valsz); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \
(bw_ctx)->p += duk__valsz; \
} while (0)

Definition at line 2812 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_CESU8

#define DUK_BW_WRITE_ENSURE_CESU8 (   thr,
  bw_ctx,
  cp 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_CESU8_LENGTH); \
DUK_BW_WRITE_RAW_CESU8((thr), (bw_ctx), (cp)); \
} while (0)
#define DUK_UNICODE_MAX_CESU8_LENGTH
Definition: duktape.c:10732

Definition at line 2805 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_CSTRING

#define DUK_BW_WRITE_ENSURE_CSTRING (   thr,
  bw_ctx,
  val 
)
Value:
do { \
const duk_uint8_t *duk__val; \
duk_size_t duk__val_len; \
duk__val = (const duk_uint8_t *) (val); \
duk__val_len = DUK_STRLEN((const char *) duk__val); \
DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) duk__val, duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)
#define DUK_STRLEN
Definition: duk_config.h:2220

Definition at line 2822 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_HBUFFER

#define DUK_BW_WRITE_ENSURE_HBUFFER (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HBUFFER_GET_SIZE((val)); \
DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), \
(const void *) DUK_HBUFFER_GET_DATA_PTR((thr)->heap, (val)), \
duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)
#define DUK_HBUFFER_GET_DATA_PTR(heap, x)
Definition: duktape.c:8727
#define DUK_HBUFFER_GET_SIZE(x)
Definition: duktape.c:8638

Definition at line 2840 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_HBUFFER_DYNAMIC

#define DUK_BW_WRITE_ENSURE_HBUFFER_DYNAMIC (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HBUFFER_DYNAMIC_GET_SIZE((val)); \
DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), \
(const void *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((thr)->heap, (val)), \
duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)
#define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR(heap, x)
Definition: duktape.c:8678
#define DUK_HBUFFER_DYNAMIC_GET_SIZE(x)
Definition: duktape.c:8656

Definition at line 2860 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_HBUFFER_FIXED

#define DUK_BW_WRITE_ENSURE_HBUFFER_FIXED (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HBUFFER_FIXED_GET_SIZE((val)); \
DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), \
(const void *) DUK_HBUFFER_FIXED_GET_DATA_PTR((thr)->heap, (val)), \
duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)
#define DUK_HBUFFER_FIXED_GET_SIZE(x)
Definition: duktape.c:8653
#define DUK_HBUFFER_FIXED_GET_DATA_PTR(heap, x)
Definition: duktape.c:8664

Definition at line 2850 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_HSTRING

#define DUK_BW_WRITE_ENSURE_HSTRING (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HSTRING_GET_BYTELEN((val)); \
DUK_BW_ENSURE((thr), (bw_ctx), duk__val_len); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)
#define DUK_HSTRING_GET_DATA(x)
Definition: duktape.c:6428
#define DUK_HSTRING_GET_BYTELEN(x)
Definition: duktape.c:6410

Definition at line 2832 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_SLICE

#define DUK_BW_WRITE_ENSURE_SLICE (   thr,
  bw,
  dst_off,
  dst_len 
)    duk_bw_write_ensure_slice((thr), (bw), (dst_off), (dst_len))

Definition at line 2871 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_U8

#define DUK_BW_WRITE_ENSURE_U8 (   thr,
  bw_ctx,
  val 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), 1); \
DUK_BW_WRITE_RAW_U8((thr), (bw_ctx), (val)); \
} while (0)

Definition at line 2770 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_U8_2

#define DUK_BW_WRITE_ENSURE_U8_2 (   thr,
  bw_ctx,
  val1,
  val2 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), 2); \
DUK_BW_WRITE_RAW_U8_2((thr), (bw_ctx), (val1), (val2)); \
} while (0)

Definition at line 2775 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_U8_3

#define DUK_BW_WRITE_ENSURE_U8_3 (   thr,
  bw_ctx,
  val1,
  val2,
  val3 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), 3); \
DUK_BW_WRITE_RAW_U8_3((thr), (bw_ctx), (val1), (val2), (val3)); \
} while (0)

Definition at line 2780 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_U8_4

#define DUK_BW_WRITE_ENSURE_U8_4 (   thr,
  bw_ctx,
  val1,
  val2,
  val3,
  val4 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), 4); \
DUK_BW_WRITE_RAW_U8_4((thr), (bw_ctx), (val1), (val2), (val3), (val4)); \
} while (0)

Definition at line 2785 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_U8_5

#define DUK_BW_WRITE_ENSURE_U8_5 (   thr,
  bw_ctx,
  val1,
  val2,
  val3,
  val4,
  val5 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), 5); \
DUK_BW_WRITE_RAW_U8_5((thr), (bw_ctx), (val1), (val2), (val3), (val4), (val5)); \
} while (0)

Definition at line 2790 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_U8_6

#define DUK_BW_WRITE_ENSURE_U8_6 (   thr,
  bw_ctx,
  val1,
  val2,
  val3,
  val4,
  val5,
  val6 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), 6); \
DUK_BW_WRITE_RAW_U8_6((thr), (bw_ctx), (val1), (val2), (val3), (val4), (val5), (val6)); \
} while (0)

Definition at line 2795 of file duktape.c.

◆ DUK_BW_WRITE_ENSURE_XUTF8

#define DUK_BW_WRITE_ENSURE_XUTF8 (   thr,
  bw_ctx,
  cp 
)
Value:
do { \
DUK_BW_ENSURE((thr), (bw_ctx), DUK_UNICODE_MAX_XUTF8_LENGTH); \
DUK_BW_WRITE_RAW_XUTF8((thr), (bw_ctx), (cp)); \
} while (0)
#define DUK_UNICODE_MAX_XUTF8_LENGTH
Definition: duktape.c:10730

Definition at line 2800 of file duktape.c.

◆ DUK_BW_WRITE_RAW_BYTES

#define DUK_BW_WRITE_RAW_BYTES (   thr,
  bw_ctx,
  valptr,
  valsz 
)
Value:
do { \
const void *duk__valptr; \
duk_size_t duk__valsz; \
duk__valptr = (const void *) (valptr); \
duk__valsz = (duk_size_t) (valsz); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), duk__valptr, duk__valsz); \
(bw_ctx)->p += duk__valsz; \
} while (0)

Definition at line 2695 of file duktape.c.

◆ DUK_BW_WRITE_RAW_CESU8

#define DUK_BW_WRITE_RAW_CESU8 (   thr,
  bw_ctx,
  cp 
)
Value:
do { \
duk_ucodepoint_t duk__cp; \
duk_small_int_t duk__enc_len; \
duk__cp = (duk_ucodepoint_t) (cp); \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), duk_unicode_get_cesu8_length(duk__cp)); \
duk__enc_len = duk_unicode_encode_cesu8(duk__cp, (bw_ctx)->p); \
(bw_ctx)->p += duk__enc_len; \
} while (0)
duk_uint_t duk_ucodepoint_t
Definition: duk_config.h:2095
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_encode_cesu8(duk_ucodepoint_t cp, duk_uint8_t *out)
Definition: duktape.c:12763

Definition at line 2684 of file duktape.c.

◆ DUK_BW_WRITE_RAW_CSTRING

#define DUK_BW_WRITE_RAW_CSTRING (   thr,
  bw_ctx,
  val 
)
Value:
do { \
const duk_uint8_t *duk__val; \
duk_size_t duk__val_len; \
duk__val = (const duk_uint8_t *) (val); \
duk__val_len = DUK_STRLEN((const char *) duk__val); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) duk__val, duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)

Definition at line 2704 of file duktape.c.

◆ DUK_BW_WRITE_RAW_HBUFFER

#define DUK_BW_WRITE_RAW_HBUFFER (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HBUFFER_GET_SIZE((val)); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), \
(const void *) DUK_HBUFFER_GET_DATA_PTR((thr)->heap, (val)), \
duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)

Definition at line 2720 of file duktape.c.

◆ DUK_BW_WRITE_RAW_HBUFFER_DYNAMIC

#define DUK_BW_WRITE_RAW_HBUFFER_DYNAMIC (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HBUFFER_DYNAMIC_GET_SIZE((val)); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), \
(const void *) DUK_HBUFFER_DYNAMIC_GET_DATA_PTR((thr)->heap, (val)), \
duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)

Definition at line 2738 of file duktape.c.

◆ DUK_BW_WRITE_RAW_HBUFFER_FIXED

#define DUK_BW_WRITE_RAW_HBUFFER_FIXED (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HBUFFER_FIXED_GET_SIZE((val)); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), \
(const void *) DUK_HBUFFER_FIXED_GET_DATA_PTR((thr)->heap, (val)), \
duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)

Definition at line 2729 of file duktape.c.

◆ DUK_BW_WRITE_RAW_HSTRING

#define DUK_BW_WRITE_RAW_HSTRING (   thr,
  bw_ctx,
  val 
)
Value:
do { \
duk_size_t duk__val_len; \
duk__val_len = DUK_HSTRING_GET_BYTELEN((val)); \
duk_memcpy_unsafe((void *) ((bw_ctx)->p), (const void *) DUK_HSTRING_GET_DATA((val)), duk__val_len); \
(bw_ctx)->p += duk__val_len; \
} while (0)

Definition at line 2713 of file duktape.c.

◆ DUK_BW_WRITE_RAW_SLICE

#define DUK_BW_WRITE_RAW_SLICE (   thr,
  bw,
  dst_off,
  dst_len 
)    duk_bw_write_raw_slice((thr), (bw), (dst_off), (dst_len))

Definition at line 2749 of file duktape.c.

◆ DUK_BW_WRITE_RAW_U8

#define DUK_BW_WRITE_RAW_U8 (   thr,
  bw_ctx,
  val 
)
Value:
do { \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), 1); \
*(bw_ctx)->p++ = (duk_uint8_t) (val); \
} while (0)

Definition at line 2615 of file duktape.c.

◆ DUK_BW_WRITE_RAW_U8_2

#define DUK_BW_WRITE_RAW_U8_2 (   thr,
  bw_ctx,
  val1,
  val2 
)
Value:
do { \
duk_uint8_t *duk__p; \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), 2); \
duk__p = (bw_ctx)->p; \
*duk__p++ = (duk_uint8_t) (val1); \
*duk__p++ = (duk_uint8_t) (val2); \
(bw_ctx)->p = duk__p; \
} while (0)

Definition at line 2620 of file duktape.c.

◆ DUK_BW_WRITE_RAW_U8_3

#define DUK_BW_WRITE_RAW_U8_3 (   thr,
  bw_ctx,
  val1,
  val2,
  val3 
)
Value:
do { \
duk_uint8_t *duk__p; \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), 3); \
duk__p = (bw_ctx)->p; \
*duk__p++ = (duk_uint8_t) (val1); \
*duk__p++ = (duk_uint8_t) (val2); \
*duk__p++ = (duk_uint8_t) (val3); \
(bw_ctx)->p = duk__p; \
} while (0)

Definition at line 2629 of file duktape.c.

◆ DUK_BW_WRITE_RAW_U8_4

#define DUK_BW_WRITE_RAW_U8_4 (   thr,
  bw_ctx,
  val1,
  val2,
  val3,
  val4 
)
Value:
do { \
duk_uint8_t *duk__p; \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), 4); \
duk__p = (bw_ctx)->p; \
*duk__p++ = (duk_uint8_t) (val1); \
*duk__p++ = (duk_uint8_t) (val2); \
*duk__p++ = (duk_uint8_t) (val3); \
*duk__p++ = (duk_uint8_t) (val4); \
(bw_ctx)->p = duk__p; \
} while (0)

Definition at line 2639 of file duktape.c.

◆ DUK_BW_WRITE_RAW_U8_5

#define DUK_BW_WRITE_RAW_U8_5 (   thr,
  bw_ctx,
  val1,
  val2,
  val3,
  val4,
  val5 
)
Value:
do { \
duk_uint8_t *duk__p; \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), 5); \
duk__p = (bw_ctx)->p; \
*duk__p++ = (duk_uint8_t) (val1); \
*duk__p++ = (duk_uint8_t) (val2); \
*duk__p++ = (duk_uint8_t) (val3); \
*duk__p++ = (duk_uint8_t) (val4); \
*duk__p++ = (duk_uint8_t) (val5); \
(bw_ctx)->p = duk__p; \
} while (0)

Definition at line 2650 of file duktape.c.

◆ DUK_BW_WRITE_RAW_U8_6

#define DUK_BW_WRITE_RAW_U8_6 (   thr,
  bw_ctx,
  val1,
  val2,
  val3,
  val4,
  val5,
  val6 
)
Value:
do { \
duk_uint8_t *duk__p; \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), 6); \
duk__p = (bw_ctx)->p; \
*duk__p++ = (duk_uint8_t) (val1); \
*duk__p++ = (duk_uint8_t) (val2); \
*duk__p++ = (duk_uint8_t) (val3); \
*duk__p++ = (duk_uint8_t) (val4); \
*duk__p++ = (duk_uint8_t) (val5); \
*duk__p++ = (duk_uint8_t) (val6); \
(bw_ctx)->p = duk__p; \
} while (0)

Definition at line 2662 of file duktape.c.

◆ DUK_BW_WRITE_RAW_XUTF8

#define DUK_BW_WRITE_RAW_XUTF8 (   thr,
  bw_ctx,
  cp 
)
Value:
do { \
duk_ucodepoint_t duk__cp; \
duk_small_int_t duk__enc_len; \
duk__cp = (duk_ucodepoint_t) (cp); \
DUK_BW_ASSERT_SPACE((thr), (bw_ctx), duk_unicode_get_xutf8_length(duk__cp)); \
duk__enc_len = duk_unicode_encode_xutf8(duk__cp, (bw_ctx)->p); \
(bw_ctx)->p += duk__enc_len; \
} while (0)
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_encode_xutf8(duk_ucodepoint_t cp, duk_uint8_t *out)
Definition: duktape.c:12729
DUK_INTERNAL_DECL duk_small_int_t duk_unicode_get_xutf8_length(duk_ucodepoint_t cp)
Definition: duktape.c:12675

Definition at line 2675 of file duktape.c.

◆ DUK_CALL_FLAG_ALLOW_ECMATOECMA

#define DUK_CALL_FLAG_ALLOW_ECMATOECMA   (1U << 3) /* ecma-to-ecma call with executor reuse is possible */

Definition at line 11098 of file duktape.c.

◆ DUK_CALL_FLAG_CALLED_AS_EVAL

#define DUK_CALL_FLAG_CALLED_AS_EVAL   (1U << 2) /* call was made using the identifier 'eval' */

Definition at line 11097 of file duktape.c.

◆ DUK_CALL_FLAG_CONSTRUCT

#define DUK_CALL_FLAG_CONSTRUCT   (1U << 1) /* constructor call (i.e. called as 'new Foo()') */

Definition at line 11096 of file duktape.c.

◆ DUK_CALL_FLAG_CONSTRUCT_PROXY

#define DUK_CALL_FLAG_CONSTRUCT_PROXY   (1U << 5) /* handled via 'construct' proxy trap, check return value invariant(s) */

Definition at line 11100 of file duktape.c.

◆ DUK_CALL_FLAG_DEFAULT_INSTANCE_UPDATED

#define DUK_CALL_FLAG_DEFAULT_INSTANCE_UPDATED    (1U << 6) /* prototype of 'default instance' updated, temporary flag in call handling */

Definition at line 11101 of file duktape.c.

◆ DUK_CALL_FLAG_DIRECT_EVAL

#define DUK_CALL_FLAG_DIRECT_EVAL   (1U << 4) /* call is a direct eval call */

Definition at line 11099 of file duktape.c.

◆ DUK_CALL_FLAG_TAILCALL

#define DUK_CALL_FLAG_TAILCALL   (1U << 0) /* setup for a tail call */

Definition at line 11095 of file duktape.c.

◆ DUK_CANON_BITMAP_BLKMASK

#define DUK_CANON_BITMAP_BLKMASK   31

Definition at line 10964 of file duktape.c.

◆ DUK_CANON_BITMAP_BLKSHIFT

#define DUK_CANON_BITMAP_BLKSHIFT   5

Definition at line 10963 of file duktape.c.

◆ DUK_CANON_BITMAP_BLKSIZE

#define DUK_CANON_BITMAP_BLKSIZE   32

Definition at line 10962 of file duktape.c.

◆ DUK_CAT_CLEAR_CATCH_BINDING_ENABLED

#define DUK_CAT_CLEAR_CATCH_BINDING_ENABLED (   c)
Value:
do { \
} while (0)
#define DUK_CAT_FLAG_CATCH_BINDING_ENABLED
Definition: duktape.c:8088

Definition at line 8128 of file duktape.c.

◆ DUK_CAT_CLEAR_CATCH_ENABLED

#define DUK_CAT_CLEAR_CATCH_ENABLED (   c)
Value:
do { \
(c)->flags &= ~DUK_CAT_FLAG_CATCH_ENABLED; \
} while (0)
#define DUK_CAT_FLAG_CATCH_ENABLED
Definition: duktape.c:8086

Definition at line 8120 of file duktape.c.

◆ DUK_CAT_CLEAR_FINALLY_ENABLED

#define DUK_CAT_CLEAR_FINALLY_ENABLED (   c)
Value:
do { \
(c)->flags &= ~DUK_CAT_FLAG_FINALLY_ENABLED; \
} while (0)
#define DUK_CAT_FLAG_FINALLY_ENABLED
Definition: duktape.c:8087

Definition at line 8124 of file duktape.c.

◆ DUK_CAT_CLEAR_LEXENV_ACTIVE

#define DUK_CAT_CLEAR_LEXENV_ACTIVE (   c)
Value:
do { \
(c)->flags &= ~DUK_CAT_FLAG_LEXENV_ACTIVE; \
} while (0)
#define DUK_CAT_FLAG_LEXENV_ACTIVE
Definition: duktape.c:8089

Definition at line 8132 of file duktape.c.

◆ DUK_CAT_FLAG_CATCH_BINDING_ENABLED

#define DUK_CAT_FLAG_CATCH_BINDING_ENABLED   (1U << 6) /* request to create catch binding */

Definition at line 8088 of file duktape.c.

◆ DUK_CAT_FLAG_CATCH_ENABLED

#define DUK_CAT_FLAG_CATCH_ENABLED   (1U << 4) /* catch part will catch */

Definition at line 8086 of file duktape.c.

◆ DUK_CAT_FLAG_FINALLY_ENABLED

#define DUK_CAT_FLAG_FINALLY_ENABLED   (1U << 5) /* finally part will catch */

Definition at line 8087 of file duktape.c.

◆ DUK_CAT_FLAG_LEXENV_ACTIVE

#define DUK_CAT_FLAG_LEXENV_ACTIVE   (1U << 7) /* catch or with binding is currently active */

Definition at line 8089 of file duktape.c.

◆ DUK_CAT_GET_LABEL

#define DUK_CAT_GET_LABEL (   c)    (((c)->flags & DUK_CAT_LABEL_MASK) >> DUK_CAT_LABEL_SHIFT)

Definition at line 8096 of file duktape.c.

◆ DUK_CAT_GET_TYPE

#define DUK_CAT_GET_TYPE (   c)    ((c)->flags & DUK_CAT_TYPE_MASK)

Definition at line 8095 of file duktape.c.

◆ DUK_CAT_HAS_CATCH_BINDING_ENABLED

#define DUK_CAT_HAS_CATCH_BINDING_ENABLED (   c)    ((c)->flags & DUK_CAT_FLAG_CATCH_BINDING_ENABLED)

Definition at line 8100 of file duktape.c.

◆ DUK_CAT_HAS_CATCH_ENABLED

#define DUK_CAT_HAS_CATCH_ENABLED (   c)    ((c)->flags & DUK_CAT_FLAG_CATCH_ENABLED)

Definition at line 8098 of file duktape.c.

◆ DUK_CAT_HAS_FINALLY_ENABLED

#define DUK_CAT_HAS_FINALLY_ENABLED (   c)    ((c)->flags & DUK_CAT_FLAG_FINALLY_ENABLED)

Definition at line 8099 of file duktape.c.

◆ DUK_CAT_HAS_LEXENV_ACTIVE

#define DUK_CAT_HAS_LEXENV_ACTIVE (   c)    ((c)->flags & DUK_CAT_FLAG_LEXENV_ACTIVE)

Definition at line 8101 of file duktape.c.

◆ DUK_CAT_LABEL_BITS

#define DUK_CAT_LABEL_BITS   24

Definition at line 8083 of file duktape.c.

◆ DUK_CAT_LABEL_MASK

#define DUK_CAT_LABEL_MASK   0xffffff00UL

Definition at line 8082 of file duktape.c.

◆ DUK_CAT_LABEL_SHIFT

#define DUK_CAT_LABEL_SHIFT   8

Definition at line 8084 of file duktape.c.

◆ DUK_CAT_SET_CATCH_BINDING_ENABLED

#define DUK_CAT_SET_CATCH_BINDING_ENABLED (   c)
Value:
do { \
} while (0)

Definition at line 8111 of file duktape.c.

◆ DUK_CAT_SET_CATCH_ENABLED

#define DUK_CAT_SET_CATCH_ENABLED (   c)
Value:
do { \
(c)->flags |= DUK_CAT_FLAG_CATCH_ENABLED; \
} while (0)

Definition at line 8103 of file duktape.c.

◆ DUK_CAT_SET_FINALLY_ENABLED

#define DUK_CAT_SET_FINALLY_ENABLED (   c)
Value:
do { \
} while (0)

Definition at line 8107 of file duktape.c.

◆ DUK_CAT_SET_LEXENV_ACTIVE

#define DUK_CAT_SET_LEXENV_ACTIVE (   c)
Value:
do { \
(c)->flags |= DUK_CAT_FLAG_LEXENV_ACTIVE; \
} while (0)

Definition at line 8115 of file duktape.c.

◆ DUK_CAT_TYPE_BITS

#define DUK_CAT_TYPE_BITS   4

Definition at line 8081 of file duktape.c.

◆ DUK_CAT_TYPE_LABEL

#define DUK_CAT_TYPE_LABEL   2

Definition at line 8093 of file duktape.c.

◆ DUK_CAT_TYPE_MASK

#define DUK_CAT_TYPE_MASK   0x0000000fUL

Definition at line 8080 of file duktape.c.

◆ DUK_CAT_TYPE_TCF

#define DUK_CAT_TYPE_TCF   1

Definition at line 8092 of file duktape.c.

◆ DUK_CAT_TYPE_UNKNOWN

#define DUK_CAT_TYPE_UNKNOWN   0

Definition at line 8091 of file duktape.c.

◆ DUK_COMPARE_FLAG_EVAL_LEFT_FIRST

#define DUK_COMPARE_FLAG_EVAL_LEFT_FIRST   (1U << 1) /* eval left argument first */

Definition at line 11110 of file duktape.c.

◆ DUK_COMPARE_FLAG_NEGATE

#define DUK_COMPARE_FLAG_NEGATE   (1U << 0) /* negate result */

Definition at line 11109 of file duktape.c.

◆ DUK_COMPILER_MAX_BYTECODE_LENGTH

#define DUK_COMPILER_MAX_BYTECODE_LENGTH   (256L * 1024L * 1024L) /* 1 GB */

Definition at line 4252 of file duktape.c.

◆ DUK_COMPILER_PEEPHOLE_MAXITER

#define DUK_COMPILER_PEEPHOLE_MAXITER   3

Definition at line 4249 of file duktape.c.

◆ DUK_COMPILER_TOKEN_LIMIT

#define DUK_COMPILER_TOKEN_LIMIT   100000000L /* 1e8: protects against deeply nested inner functions */

Definition at line 4246 of file duktape.c.

◆ DUK_COMPILING_DUKTAPE

#define DUK_COMPILING_DUKTAPE

Definition at line 196 of file duktape.c.

◆ DUK_CTX_ASSERT_VALID

#define DUK_CTX_ASSERT_VALID (   thr)
Value:
do { \
} while (0)

Definition at line 8193 of file duktape.c.

◆ DUK_D

#define DUK_D (   x)
Value:
do { \
} while (0) /* omit */

Definition at line 9956 of file duktape.c.

◆ DUK_DBG_CMD_ADDBREAK

#define DUK_DBG_CMD_ADDBREAK   0x18

Definition at line 9739 of file duktape.c.

◆ DUK_DBG_CMD_APPNOTIFY

#define DUK_DBG_CMD_APPNOTIFY   0x07

Definition at line 9728 of file duktape.c.

◆ DUK_DBG_CMD_APPREQUEST

#define DUK_DBG_CMD_APPREQUEST   0x22

Definition at line 9749 of file duktape.c.

◆ DUK_DBG_CMD_BASICINFO

#define DUK_DBG_CMD_BASICINFO   0x10

Definition at line 9731 of file duktape.c.

◆ DUK_DBG_CMD_DELBREAK

#define DUK_DBG_CMD_DELBREAK   0x19

Definition at line 9740 of file duktape.c.

◆ DUK_DBG_CMD_DETACH

#define DUK_DBG_CMD_DETACH   0x1f

Definition at line 9746 of file duktape.c.

◆ DUK_DBG_CMD_DETACHING

#define DUK_DBG_CMD_DETACHING   0x06

Definition at line 9727 of file duktape.c.

◆ DUK_DBG_CMD_DUMPHEAP

#define DUK_DBG_CMD_DUMPHEAP   0x20

Definition at line 9747 of file duktape.c.

◆ DUK_DBG_CMD_EVAL

#define DUK_DBG_CMD_EVAL   0x1e

Definition at line 9745 of file duktape.c.

◆ DUK_DBG_CMD_GETBYTECODE

#define DUK_DBG_CMD_GETBYTECODE   0x21

Definition at line 9748 of file duktape.c.

◆ DUK_DBG_CMD_GETCALLSTACK

#define DUK_DBG_CMD_GETCALLSTACK   0x1c

Definition at line 9743 of file duktape.c.

◆ DUK_DBG_CMD_GETHEAPOBJINFO

#define DUK_DBG_CMD_GETHEAPOBJINFO   0x23

Definition at line 9750 of file duktape.c.

◆ DUK_DBG_CMD_GETLOCALS

#define DUK_DBG_CMD_GETLOCALS   0x1d

Definition at line 9744 of file duktape.c.

◆ DUK_DBG_CMD_GETOBJPROPDESC

#define DUK_DBG_CMD_GETOBJPROPDESC   0x24

Definition at line 9751 of file duktape.c.

◆ DUK_DBG_CMD_GETOBJPROPDESCRANGE

#define DUK_DBG_CMD_GETOBJPROPDESCRANGE   0x25

Definition at line 9752 of file duktape.c.

◆ DUK_DBG_CMD_GETVAR

#define DUK_DBG_CMD_GETVAR   0x1a

Definition at line 9741 of file duktape.c.

◆ DUK_DBG_CMD_LISTBREAK

#define DUK_DBG_CMD_LISTBREAK   0x17

Definition at line 9738 of file duktape.c.

◆ DUK_DBG_CMD_PAUSE

#define DUK_DBG_CMD_PAUSE   0x12

Definition at line 9733 of file duktape.c.

◆ DUK_DBG_CMD_PUTVAR

#define DUK_DBG_CMD_PUTVAR   0x1b

Definition at line 9742 of file duktape.c.

◆ DUK_DBG_CMD_RESUME

#define DUK_DBG_CMD_RESUME   0x13

Definition at line 9734 of file duktape.c.

◆ DUK_DBG_CMD_STATUS

#define DUK_DBG_CMD_STATUS   0x01

Definition at line 9722 of file duktape.c.

◆ DUK_DBG_CMD_STEPINTO

#define DUK_DBG_CMD_STEPINTO   0x14

Definition at line 9735 of file duktape.c.

◆ DUK_DBG_CMD_STEPOUT

#define DUK_DBG_CMD_STEPOUT   0x16

Definition at line 9737 of file duktape.c.

◆ DUK_DBG_CMD_STEPOVER

#define DUK_DBG_CMD_STEPOVER   0x15

Definition at line 9736 of file duktape.c.

◆ DUK_DBG_CMD_THROW

#define DUK_DBG_CMD_THROW   0x05

Definition at line 9726 of file duktape.c.

◆ DUK_DBG_CMD_TRIGGERSTATUS

#define DUK_DBG_CMD_TRIGGERSTATUS   0x11

Definition at line 9732 of file duktape.c.

◆ DUK_DBG_CMD_UNUSED_2

#define DUK_DBG_CMD_UNUSED_2   0x02 /* Duktape 1.x: print notify */

Definition at line 9723 of file duktape.c.

◆ DUK_DBG_CMD_UNUSED_3

#define DUK_DBG_CMD_UNUSED_3   0x03 /* Duktape 1.x: alert notify */

Definition at line 9724 of file duktape.c.

◆ DUK_DBG_CMD_UNUSED_4

#define DUK_DBG_CMD_UNUSED_4   0x04 /* Duktape 1.x: log notify */

Definition at line 9725 of file duktape.c.

◆ DUK_DBG_ERR_APPLICATION

#define DUK_DBG_ERR_APPLICATION   0x04

Definition at line 9719 of file duktape.c.

◆ DUK_DBG_ERR_NOTFOUND

#define DUK_DBG_ERR_NOTFOUND   0x03

Definition at line 9718 of file duktape.c.

◆ DUK_DBG_ERR_TOOMANY

#define DUK_DBG_ERR_TOOMANY   0x02

Definition at line 9717 of file duktape.c.

◆ DUK_DBG_ERR_UNKNOWN

#define DUK_DBG_ERR_UNKNOWN   0x00

Definition at line 9715 of file duktape.c.

◆ DUK_DBG_ERR_UNSUPPORTED

#define DUK_DBG_ERR_UNSUPPORTED   0x01

Definition at line 9716 of file duktape.c.

◆ DUK_DBG_IB_BUF2

#define DUK_DBG_IB_BUF2   0x14

Definition at line 9699 of file duktape.c.

◆ DUK_DBG_IB_BUF4

#define DUK_DBG_IB_BUF4   0x13

Definition at line 9698 of file duktape.c.

◆ DUK_DBG_IB_EOM

#define DUK_DBG_IB_EOM   0x00

Definition at line 9688 of file duktape.c.

◆ DUK_DBG_IB_ERROR

#define DUK_DBG_IB_ERROR   0x03

Definition at line 9691 of file duktape.c.

◆ DUK_DBG_IB_FALSE

#define DUK_DBG_IB_FALSE   0x19

Definition at line 9704 of file duktape.c.

◆ DUK_DBG_IB_HEAPPTR

#define DUK_DBG_IB_HEAPPTR   0x1e

Definition at line 9709 of file duktape.c.

◆ DUK_DBG_IB_INT4

#define DUK_DBG_IB_INT4   0x10

Definition at line 9695 of file duktape.c.

◆ DUK_DBG_IB_LIGHTFUNC

#define DUK_DBG_IB_LIGHTFUNC   0x1d

Definition at line 9708 of file duktape.c.

◆ DUK_DBG_IB_NOTIFY

#define DUK_DBG_IB_NOTIFY   0x04

Definition at line 9692 of file duktape.c.

◆ DUK_DBG_IB_NULL

#define DUK_DBG_IB_NULL   0x17

Definition at line 9702 of file duktape.c.

◆ DUK_DBG_IB_NUMBER

#define DUK_DBG_IB_NUMBER   0x1a

Definition at line 9705 of file duktape.c.

◆ DUK_DBG_IB_OBJECT

#define DUK_DBG_IB_OBJECT   0x1b

Definition at line 9706 of file duktape.c.

◆ DUK_DBG_IB_POINTER

#define DUK_DBG_IB_POINTER   0x1c

Definition at line 9707 of file duktape.c.

◆ DUK_DBG_IB_REPLY

#define DUK_DBG_IB_REPLY   0x02

Definition at line 9690 of file duktape.c.

◆ DUK_DBG_IB_REQUEST

#define DUK_DBG_IB_REQUEST   0x01

Definition at line 9689 of file duktape.c.

◆ DUK_DBG_IB_STR2

#define DUK_DBG_IB_STR2   0x12

Definition at line 9697 of file duktape.c.

◆ DUK_DBG_IB_STR4

#define DUK_DBG_IB_STR4   0x11

Definition at line 9696 of file duktape.c.

◆ DUK_DBG_IB_TRUE

#define DUK_DBG_IB_TRUE   0x18

Definition at line 9703 of file duktape.c.

◆ DUK_DBG_IB_UNDEFINED

#define DUK_DBG_IB_UNDEFINED   0x16

Definition at line 9701 of file duktape.c.

◆ DUK_DBG_IB_UNUSED

#define DUK_DBG_IB_UNUSED   0x15

Definition at line 9700 of file duktape.c.

◆ DUK_DBG_PROPFLAG_HIDDEN

#define DUK_DBG_PROPFLAG_HIDDEN   (1U << 9)

Definition at line 9758 of file duktape.c.

◆ DUK_DBG_PROPFLAG_SYMBOL

#define DUK_DBG_PROPFLAG_SYMBOL   (1U << 8)

Definition at line 9757 of file duktape.c.

◆ DUK_DBLUNION_BSWAP64

#define DUK_DBLUNION_BSWAP64 (   u)
Value:
do { \
duk_uint32_t duk__bswaptmp1, duk__bswaptmp2; \
duk__bswaptmp1 = (u)->ui[0]; \
duk__bswaptmp2 = (u)->ui[1]; \
duk__bswaptmp1 = DUK_BSWAP32(duk__bswaptmp1); \
duk__bswaptmp2 = DUK_BSWAP32(duk__bswaptmp2); \
(u)->ui[0] = duk__bswaptmp2; \
(u)->ui[1] = duk__bswaptmp1; \
} while (0)
#define DUK_BSWAP32(x)
Definition: duk_config.h:2783

Definition at line 571 of file duktape.c.

◆ DUK_DBLUNION_DOUBLE_NTOH

#define DUK_DBLUNION_DOUBLE_NTOH (   u)    DUK_DBLUNION_DOUBLE_HTON((u))

Definition at line 616 of file duktape.c.

◆ DUK_DBLUNION_GET_DOUBLE

#define DUK_DBLUNION_GET_DOUBLE (   u)    ((u)->d)

Definition at line 391 of file duktape.c.

◆ DUK_DBLUNION_GET_HIGH32

#define DUK_DBLUNION_GET_HIGH32 (   u)    ((u)->ui[DUK_DBL_IDX_UI0])

Definition at line 392 of file duktape.c.

◆ DUK_DBLUNION_GET_LOW32

#define DUK_DBLUNION_GET_LOW32 (   u)    ((u)->ui[DUK_DBL_IDX_UI1])

Definition at line 393 of file duktape.c.

◆ DUK_DBLUNION_GET_SIGNBIT

#define DUK_DBLUNION_GET_SIGNBIT (   u)    (((u)->ui[DUK_DBL_IDX_UI0] >> 31U))

Definition at line 624 of file duktape.c.

◆ DUK_DBLUNION_H_INCLUDED

#define DUK_DBLUNION_H_INCLUDED

Definition at line 261 of file duktape.c.

◆ DUK_DBLUNION_HAS_SIGNBIT

#define DUK_DBLUNION_HAS_SIGNBIT (   u)    (((u)->ui[DUK_DBL_IDX_UI0] & 0x80000000UL) != 0)

Definition at line 623 of file duktape.c.

◆ DUK_DBLUNION_IS_ANYINF

#define DUK_DBLUNION_IS_ANYINF (   u)    DUK__DBLUNION_IS_ANYINF((u))

Definition at line 560 of file duktape.c.

◆ DUK_DBLUNION_IS_ANYZERO

#define DUK_DBLUNION_IS_ANYZERO (   u)    DUK__DBLUNION_IS_ANYZERO((u))

Definition at line 564 of file duktape.c.

◆ DUK_DBLUNION_IS_NAN

#define DUK_DBLUNION_IS_NAN (   u)    DUK__DBLUNION_IS_NAN_FULL((u)) /* (DUK_ISNAN((u)->d)) */

Definition at line 550 of file duktape.c.

◆ DUK_DBLUNION_IS_NEGINF

#define DUK_DBLUNION_IS_NEGINF (   u)    DUK__DBLUNION_IS_NEGINF((u))

Definition at line 562 of file duktape.c.

◆ DUK_DBLUNION_IS_NEGZERO

#define DUK_DBLUNION_IS_NEGZERO (   u)    DUK__DBLUNION_IS_NEGZERO((u))

Definition at line 566 of file duktape.c.

◆ DUK_DBLUNION_IS_NORMALIZED

#define DUK_DBLUNION_IS_NORMALIZED (   u)    1 /* all doubles are considered normalized */

Definition at line 552 of file duktape.c.

◆ DUK_DBLUNION_IS_NORMALIZED_NAN

#define DUK_DBLUNION_IS_NORMALIZED_NAN (   u)    DUK__DBLUNION_IS_NAN_FULL((u)) /* (DUK_ISNAN((u)->d)) */

Definition at line 551 of file duktape.c.

◆ DUK_DBLUNION_IS_POSINF

#define DUK_DBLUNION_IS_POSINF (   u)    DUK__DBLUNION_IS_POSINF((u))

Definition at line 561 of file duktape.c.

◆ DUK_DBLUNION_IS_POSZERO

#define DUK_DBLUNION_IS_POSZERO (   u)    DUK__DBLUNION_IS_POSZERO((u))

Definition at line 565 of file duktape.c.

◆ DUK_DBLUNION_NORMALIZE_NAN_CHECK

#define DUK_DBLUNION_NORMALIZE_NAN_CHECK (   u)    /* nop: no need to normalize */

Definition at line 549 of file duktape.c.

◆ DUK_DBLUNION_SET_DOUBLE

#define DUK_DBLUNION_SET_DOUBLE (   u,
 
)
Value:
do { \
(u)->d = (v); \
} while (0)

Definition at line 356 of file duktape.c.

◆ DUK_DBLUNION_SET_HIGH32

#define DUK_DBLUNION_SET_HIGH32 (   u,
 
)
Value:
do { \
(u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \
} while (0)

Definition at line 361 of file duktape.c.

◆ DUK_DBLUNION_SET_HIGH32_ZERO_LOW32

#define DUK_DBLUNION_SET_HIGH32_ZERO_LOW32 (   u,
 
)
Value:
do { \
(u)->ui[DUK_DBL_IDX_UI0] = (duk_uint32_t) (v); \
(u)->ui[DUK_DBL_IDX_UI1] = (duk_uint32_t) 0; \
} while (0)

Definition at line 379 of file duktape.c.

◆ DUK_DBLUNION_SET_LOW32

#define DUK_DBLUNION_SET_LOW32 (   u,
 
)
Value:
do { \
(u)->ui[DUK_DBL_IDX_UI1] = (duk_uint32_t) (v); \
} while (0)

Definition at line 386 of file duktape.c.

◆ DUK_DBLUNION_SET_NAN

#define DUK_DBLUNION_SET_NAN (   u)
Value:
do { \
/* in non-packed representation we don't care about which NaN is used */ \
(u)->d = DUK_DOUBLE_NAN; \
} while (0)
#define DUK_DOUBLE_NAN
Definition: duk_config.h:2278

Definition at line 553 of file duktape.c.

◆ DUK_DCERROR_INTERNAL

#define DUK_DCERROR_INTERNAL (   thr)
Value:
do { \
DUK_ERROR_INTERNAL((thr)); \
return 0; \
} while (0)

Definition at line 10280 of file duktape.c.

◆ DUK_DCERROR_RANGE_INVALID_ARGS

#define DUK_DCERROR_RANGE_INVALID_ARGS (   thr)
Value:
do { \
DUK_ERROR_RANGE_INVALID_ARGS((thr)); \
return 0; \
} while (0)

Definition at line 10314 of file duktape.c.

◆ DUK_DCERROR_RANGE_INVALID_COUNT

#define DUK_DCERROR_RANGE_INVALID_COUNT (   thr)
Value:
do { \
DUK_ERROR_RANGE_INVALID_COUNT((thr)); \
return 0; \
} while (0)

Definition at line 10323 of file duktape.c.

◆ DUK_DCERROR_RANGE_INVALID_LENGTH

#define DUK_DCERROR_RANGE_INVALID_LENGTH (   thr)
Value:
do { \
DUK_ERROR_RANGE_INVALID_LENGTH((thr)); \
return 0; \
} while (0)

Definition at line 10332 of file duktape.c.

◆ DUK_DCERROR_TYPE_INVALID_ARGS

#define DUK_DCERROR_TYPE_INVALID_ARGS (   thr)
Value:
do { \
DUK_ERROR_TYPE_INVALID_ARGS((thr)); \
return 0; \
} while (0)

Definition at line 10357 of file duktape.c.

◆ DUK_DCERROR_TYPE_INVALID_STATE

#define DUK_DCERROR_TYPE_INVALID_STATE (   thr)
Value:
do { \
DUK_ERROR_TYPE_INVALID_STATE((thr)); \
return 0; \
} while (0)

Definition at line 10366 of file duktape.c.

◆ DUK_DCERROR_TYPE_INVALID_TRAP_RESULT

#define DUK_DCERROR_TYPE_INVALID_TRAP_RESULT (   thr)
Value:
do { \
DUK_ERROR_TYPE((thr), DUK_STR_INVALID_TRAP_RESULT); \
} while (0)
#define DUK_STR_INVALID_TRAP_RESULT
Definition: duktape.c:3253

Definition at line 10375 of file duktape.c.

◆ DUK_DCERROR_UNSUPPORTED

#define DUK_DCERROR_UNSUPPORTED (   thr)
Value:
do { \
DUK_ERROR_UNSUPPORTED((thr)); \
return 0; \
} while (0)

Definition at line 10293 of file duktape.c.

◆ DUK_DD

#define DUK_DD (   x)
Value:
do { \
} while (0) /* omit */

Definition at line 9959 of file duktape.c.

◆ DUK_DDD

#define DUK_DDD (   x)
Value:
do { \
} while (0) /* omit */

Definition at line 9962 of file duktape.c.

◆ DUK_DDDPRINT

#define DUK_DDDPRINT   0 && /* args */

Definition at line 9976 of file duktape.c.

◆ DUK_DDPRINT

#define DUK_DDPRINT   0 && /* args */

Definition at line 9975 of file duktape.c.

◆ DUK_DEBUG_H_INCLUDED

#define DUK_DEBUG_H_INCLUDED

Definition at line 9857 of file duktape.c.

◆ DUK_DEBUGGER_H_INCLUDED

#define DUK_DEBUGGER_H_INCLUDED

Definition at line 9683 of file duktape.c.

◆ DUK_DEC_A

#define DUK_DEC_A (   x)    (((x) >> 8) & 0xffUL)

Definition at line 3435 of file duktape.c.

◆ DUK_DEC_ABC

#define DUK_DEC_ABC (   x)    (((x) >> 8) & 0xffffffUL)

Definition at line 3439 of file duktape.c.

◆ DUK_DEC_B

#define DUK_DEC_B (   x)    (((x) >> 16) & 0xffUL)

Definition at line 3436 of file duktape.c.

◆ DUK_DEC_BC

#define DUK_DEC_BC (   x)    (((x) >> 16) & 0xffffUL)

Definition at line 3438 of file duktape.c.

◆ DUK_DEC_C

#define DUK_DEC_C (   x)    (((x) >> 24) & 0xffUL)

Definition at line 3437 of file duktape.c.

◆ DUK_DEC_OP

#define DUK_DEC_OP (   x)    ((x) &0xffUL)

Definition at line 3434 of file duktape.c.

◆ DUK_DECL_TYPE_FUNC

#define DUK_DECL_TYPE_FUNC   1

Definition at line 4325 of file duktape.c.

◆ DUK_DECL_TYPE_VAR

#define DUK_DECL_TYPE_VAR   0

Definition at line 4324 of file duktape.c.

◆ duk_del_prop_stridx_short

#define duk_del_prop_stridx_short (   thr,
  obj_idx,
  stridx 
)    duk_del_prop_stridx((thr), (obj_idx), (stridx))

Definition at line 6171 of file duktape.c.

◆ DUK_DELPROP_FLAG_FORCE

#define DUK_DELPROP_FLAG_FORCE   (1U << 1)

Definition at line 7453 of file duktape.c.

◆ DUK_DELPROP_FLAG_THROW

#define DUK_DELPROP_FLAG_THROW   (1U << 0)

Definition at line 7452 of file duktape.c.

◆ DUK_DOUBLE_2TO31

#define DUK_DOUBLE_2TO31   2147483648.0

Definition at line 2374 of file duktape.c.

◆ DUK_DOUBLE_2TO32

#define DUK_DOUBLE_2TO32   4294967296.0

Definition at line 2373 of file duktape.c.

◆ DUK_DOUBLE_LOG10E

#define DUK_DOUBLE_LOG10E   0.4342944819032518

Definition at line 2376 of file duktape.c.

◆ DUK_DOUBLE_LOG2E

#define DUK_DOUBLE_LOG2E   1.4426950408889634

Definition at line 2375 of file duktape.c.

◆ DUK_DPRINT

#define DUK_DPRINT   0 && /* args go here as a comma expression in parens */

Definition at line 9974 of file duktape.c.

◆ DUK_ENC_OP

#define DUK_ENC_OP (   op)    ((duk_instr_t) (op))

Definition at line 3441 of file duktape.c.

◆ DUK_ENC_OP_A

#define DUK_ENC_OP_A (   op,
 
)    DUK_ENC_OP_A_B_C((op), (a), 0, 0)

Definition at line 3449 of file duktape.c.

◆ DUK_ENC_OP_A_B

#define DUK_ENC_OP_A_B (   op,
  a,
 
)    DUK_ENC_OP_A_B_C((op), (a), (b), 0)

Definition at line 3448 of file duktape.c.

◆ DUK_ENC_OP_A_B_C

#define DUK_ENC_OP_A_B_C (   op,
  a,
  b,
 
)
Value:
((duk_instr_t) ((((duk_instr_t) (c)) << 24) | (((duk_instr_t) (b)) << 16) | (((duk_instr_t) (a)) << 8) | \
((duk_instr_t) (op))))
duk_uint32_t duk_instr_t
Definition: duktape.c:3411

Definition at line 3445 of file duktape.c.

◆ DUK_ENC_OP_A_BC

#define DUK_ENC_OP_A_BC (   op,
  a,
  bc 
)     ((duk_instr_t) ((((duk_instr_t) (bc)) << 16) | (((duk_instr_t) (a)) << 8) | ((duk_instr_t) (op))))

Definition at line 3443 of file duktape.c.

◆ DUK_ENC_OP_ABC

#define DUK_ENC_OP_ABC (   op,
  abc 
)    ((duk_instr_t) ((((duk_instr_t) (abc)) << 8) | ((duk_instr_t) (op))))

Definition at line 3442 of file duktape.c.

◆ DUK_ENC_OP_BC

#define DUK_ENC_OP_BC (   op,
  bc 
)    DUK_ENC_OP_A_BC((op), 0, (bc))

Definition at line 3450 of file duktape.c.

◆ DUK_EQUALS_FLAG_SAMEVALUE

#define DUK_EQUALS_FLAG_SAMEVALUE   (1U << 0) /* use SameValue instead of non-strict equality */

Definition at line 11105 of file duktape.c.

◆ DUK_EQUALS_FLAG_STRICT

#define DUK_EQUALS_FLAG_STRICT   (1U << 1) /* use strict equality instead of non-strict equality */

Definition at line 11106 of file duktape.c.

◆ DUK_ERRCODE_FLAG_NOBLAME_FILELINE

#define DUK_ERRCODE_FLAG_NOBLAME_FILELINE   (1L << 24)

Definition at line 5927 of file duktape.c.

◆ DUK_ERRMSG_H_INCLUDED

#define DUK_ERRMSG_H_INCLUDED

Definition at line 3179 of file duktape.c.

◆ DUK_ERROR

#define DUK_ERROR (   thr,
  err,
  msg 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error((thr), DUK_FILE_MACRO, (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \
} while (0)
duk_int_fast32_t duk_int_t
Definition: duk_config.h:2011
duk_uint_fast32_t duk_uint_t
Definition: duk_config.h:2012

Definition at line 10086 of file duktape.c.

◆ DUK_ERROR_ALLOC_FAILED

#define DUK_ERROR_ALLOC_FAILED (   thr)
Value:
do { \
duk_err_error_alloc_failed((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \
} while (0)

Definition at line 10285 of file duktape.c.

◆ DUK_ERROR_ERROR

#define DUK_ERROR_ERROR (   thr,
  msg 
)
Value:
do { \
duk_err_error((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \
} while (0)

Definition at line 10298 of file duktape.c.

◆ DUK_ERROR_EVAL

#define DUK_ERROR_EVAL (   thr,
  msg 
)
Value:
do { \
DUK_ERROR((thr), DUK_ERR_EVAL_ERROR, (msg)); \
} while (0)
#define DUK_ERR_EVAL_ERROR
Definition: duktape.h:442

Definition at line 10341 of file duktape.c.

◆ DUK_ERROR_FMT1

#define DUK_ERROR_FMT1 (   thr,
  err,
  fmt,
  arg1 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1)); \
} while (0)

Definition at line 10103 of file duktape.c.

◆ DUK_ERROR_FMT2

#define DUK_ERROR_FMT2 (   thr,
  err,
  fmt,
  arg1,
  arg2 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1), \
(arg2)); \
} while (0)

Definition at line 10128 of file duktape.c.

◆ DUK_ERROR_FMT3

#define DUK_ERROR_FMT3 (   thr,
  err,
  fmt,
  arg1,
  arg2,
  arg3 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1), \
(arg2), \
(arg3)); \
} while (0)

Definition at line 10155 of file duktape.c.

◆ DUK_ERROR_FMT4

#define DUK_ERROR_FMT4 (   thr,
  err,
  fmt,
  arg1,
  arg2,
  arg3,
  arg4 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) DUK_LINE_MACRO; \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1), \
(arg2), \
(arg3), \
(arg4)); \
} while (0)

Definition at line 10184 of file duktape.c.

◆ DUK_ERROR_H_INCLUDED

#define DUK_ERROR_H_INCLUDED

Definition at line 10047 of file duktape.c.

◆ DUK_ERROR_INTERNAL

#define DUK_ERROR_INTERNAL (   thr)
Value:
do { \
duk_err_error_internal((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \
} while (0)

Definition at line 10276 of file duktape.c.

◆ DUK_ERROR_RANGE

#define DUK_ERROR_RANGE (   thr,
  msg 
)
Value:
do { \
duk_err_range((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (msg)); \
} while (0)

Definition at line 10337 of file duktape.c.

◆ DUK_ERROR_RANGE_INDEX

#define DUK_ERROR_RANGE_INDEX (   thr,
  idx 
)
Value:
do { \
duk_err_range_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx)); \
} while (0)

Definition at line 10302 of file duktape.c.

◆ DUK_ERROR_RANGE_INVALID_ARGS

#define DUK_ERROR_RANGE_INVALID_ARGS (   thr)
Value:
do { \
DUK_ERROR_RANGE((thr), DUK_STR_INVALID_ARGS); \
} while (0)
#define DUK_STR_INVALID_ARGS
Definition: duktape.c:3185

Definition at line 10310 of file duktape.c.

◆ DUK_ERROR_RANGE_INVALID_COUNT

#define DUK_ERROR_RANGE_INVALID_COUNT (   thr)
Value:
do { \
DUK_ERROR_RANGE((thr), DUK_STR_INVALID_COUNT); \
} while (0)
#define DUK_STR_INVALID_COUNT
Definition: duktape.c:3184

Definition at line 10319 of file duktape.c.

◆ DUK_ERROR_RANGE_INVALID_LENGTH

#define DUK_ERROR_RANGE_INVALID_LENGTH (   thr)
Value:
do { \
DUK_ERROR_RANGE((thr), DUK_STR_INVALID_LENGTH); \
} while (0)
#define DUK_STR_INVALID_LENGTH
Definition: duktape.c:3188

Definition at line 10328 of file duktape.c.

◆ DUK_ERROR_RANGE_PUSH_BEYOND

#define DUK_ERROR_RANGE_PUSH_BEYOND (   thr)
Value:
do { \
duk_err_range_push_beyond((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \
} while (0)

Definition at line 10306 of file duktape.c.

◆ DUK_ERROR_RAW

#define DUK_ERROR_RAW (   thr,
  file,
  line,
  err,
  msg 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) (line); \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error((thr), (file), (((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), (msg)); \
} while (0)
static nserror line(const struct redraw_context *ctx, const plot_style_t *style, const struct rect *line)
Plots a line.
Definition: plot.c:579

Definition at line 10094 of file duktape.c.

◆ DUK_ERROR_RAW_FMT1

#define DUK_ERROR_RAW_FMT1 (   thr,
  file,
  line,
  err,
  fmt,
  arg1 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) (line); \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(file), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1)); \
} while (0)

Definition at line 10115 of file duktape.c.

◆ DUK_ERROR_RAW_FMT2

#define DUK_ERROR_RAW_FMT2 (   thr,
  file,
  line,
  err,
  fmt,
  arg1,
  arg2 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) (line); \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(file), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1), \
(arg2)); \
} while (0)

Definition at line 10141 of file duktape.c.

◆ DUK_ERROR_RAW_FMT3

#define DUK_ERROR_RAW_FMT3 (   thr,
  file,
  line,
  err,
  fmt,
  arg1,
  arg2,
  arg3 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) (line); \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(file), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1), \
(arg2), \
(arg3)); \
} while (0)

Definition at line 10169 of file duktape.c.

◆ DUK_ERROR_RAW_FMT4

#define DUK_ERROR_RAW_FMT4 (   thr,
  file,
  line,
  err,
  fmt,
  arg1,
  arg2,
  arg3,
  arg4 
)
Value:
do { \
duk_errcode_t duk__err = (err); \
duk_int_t duk__line = (duk_int_t) (line); \
DUK_ASSERT(duk__err >= 0 && duk__err <= 0xff); \
DUK_ASSERT(duk__line >= 0 && duk__line <= 0x00ffffffL); \
duk_err_handle_error_fmt((thr), \
(file), \
(((duk_uint_t) duk__err) << 24) | ((duk_uint_t) duk__line), \
(fmt), \
(arg1), \
(arg2), \
(arg3), \
(arg4)); \
} while (0)

Definition at line 10199 of file duktape.c.

◆ DUK_ERROR_REFERENCE

#define DUK_ERROR_REFERENCE (   thr,
  msg 
)
Value:
do { \
DUK_ERROR((thr), DUK_ERR_REFERENCE_ERROR, (msg)); \
} while (0)
#define DUK_ERR_REFERENCE_ERROR
Definition: duktape.h:444

Definition at line 10345 of file duktape.c.

◆ DUK_ERROR_REQUIRE_TYPE_INDEX

#define DUK_ERROR_REQUIRE_TYPE_INDEX (   thr,
  idx,
  expectname,
  lowmemstr 
)
Value:
do { \
duk_err_require_type_index((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO, (idx), (expectname)); \
} while (0)

Definition at line 10270 of file duktape.c.

◆ DUK_ERROR_SYNTAX

#define DUK_ERROR_SYNTAX (   thr,
  msg 
)
Value:
do { \
DUK_ERROR((thr), DUK_ERR_SYNTAX_ERROR, (msg)); \
} while (0)
#define DUK_ERR_SYNTAX_ERROR
Definition: duktape.h:445

Definition at line 10349 of file duktape.c.

◆ DUK_ERROR_TYPE

#define DUK_ERROR_TYPE (   thr,
  msg 
)
Value:
do { \
DUK_ERROR((thr), DUK_ERR_TYPE_ERROR, (msg)); \
} while (0)
#define DUK_ERR_TYPE_ERROR
Definition: duktape.h:446

Definition at line 10379 of file duktape.c.

◆ DUK_ERROR_TYPE_INVALID_ARGS

#define DUK_ERROR_TYPE_INVALID_ARGS (   thr)
Value:
do { \
duk_err_type_invalid_args((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \
} while (0)

Definition at line 10353 of file duktape.c.

◆ DUK_ERROR_TYPE_INVALID_STATE

#define DUK_ERROR_TYPE_INVALID_STATE (   thr)
Value:
do { \
duk_err_type_invalid_state((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \
} while (0)

Definition at line 10362 of file duktape.c.

◆ DUK_ERROR_TYPE_INVALID_TRAP_RESULT

#define DUK_ERROR_TYPE_INVALID_TRAP_RESULT (   thr)
Value:
do { \
duk_err_type_invalid_trap_result((thr), DUK_FILE_MACRO, (duk_int_t) DUK_LINE_MACRO); \
} while (0)

Definition at line 10371 of file duktape.c.

◆ DUK_ERROR_UNSUPPORTED

#define DUK_ERROR_UNSUPPORTED (   thr)
Value:
do { \
DUK_ERROR((thr), DUK_ERR_ERROR, DUK_STR_UNSUPPORTED); \
} while (0)
#define DUK_STR_UNSUPPORTED
Definition: duktape.c:3183
#define DUK_ERR_ERROR
Definition: duktape.h:441

Definition at line 10289 of file duktape.c.

◆ DUK_ERROR_URI

#define DUK_ERROR_URI (   thr,
  msg 
)
Value:
do { \
DUK_ERROR((thr), DUK_ERR_URI_ERROR, (msg)); \
} while (0)
#define DUK_ERR_URI_ERROR
Definition: duktape.h:447

Definition at line 10383 of file duktape.c.

◆ DUK_EXCEPTION_H_INCLUDED

#define DUK_EXCEPTION_H_INCLUDED

Definition at line 730 of file duktape.c.

◆ DUK_EXEC_ALWAYS_INLINE_PERF

#define DUK_EXEC_ALWAYS_INLINE_PERF   DUK_ALWAYS_INLINE

Definition at line 5916 of file duktape.c.

◆ DUK_EXEC_INLINE_PERF

#define DUK_EXEC_INLINE_PERF   DUK_INLINE

Definition at line 5915 of file duktape.c.

◆ DUK_EXEC_NOINLINE_PERF

#define DUK_EXEC_NOINLINE_PERF   DUK_NOINLINE

Definition at line 5917 of file duktape.c.

◆ DUK_FASTINT_BITS

#define DUK_FASTINT_BITS   48

Definition at line 1549 of file duktape.c.

◆ DUK_FASTINT_MAX

#define DUK_FASTINT_MAX   (DUK_I64_CONSTANT(0x7fffffffffff))

Definition at line 1548 of file duktape.c.

◆ DUK_FASTINT_MIN

#define DUK_FASTINT_MIN   (DUK_I64_CONSTANT(-0x800000000000))

Definition at line 1547 of file duktape.c.

◆ DUK_FATAL_WITHOUT_CONTEXT

#define DUK_FATAL_WITHOUT_CONTEXT (   msg)    duk_default_fatal_handler(NULL, (msg))

Definition at line 10240 of file duktape.c.

◆ DUK_FLTUNION_H_INCLUDED

#define DUK_FLTUNION_H_INCLUDED

Definition at line 634 of file duktape.c.

◆ DUK_FORWDECL_H_INCLUDED

#define DUK_FORWDECL_H_INCLUDED

Definition at line 761 of file duktape.c.

◆ DUK_FREE

#define DUK_FREE (   heap,
  ptr 
)    duk_heap_mem_free((heap), (ptr))

Definition at line 9172 of file duktape.c.

◆ DUK_FREE_CHECKED

#define DUK_FREE_CHECKED (   thr,
  ptr 
)    duk_heap_mem_free((thr)->heap, (ptr))

Definition at line 9183 of file duktape.c.

◆ DUK_FREE_RAW

#define DUK_FREE_RAW (   heap,
  ptr 
)    ((heap)->free_func((heap)->heap_udata, (void *) (ptr)))

Definition at line 9135 of file duktape.c.

◆ DUK_GC_TORTURE

#define DUK_GC_TORTURE (   heap)
Value:
do { \
} while (0)

Definition at line 9091 of file duktape.c.

◆ DUK_GET_HOBJECT_NEGIDX

#define DUK_GET_HOBJECT_NEGIDX (   thr,
  idx 
)     (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_top + (idx)))

Definition at line 6271 of file duktape.c.

◆ DUK_GET_HOBJECT_POSIDX

#define DUK_GET_HOBJECT_POSIDX (   thr,
  idx 
)     (DUK_ASSERT_VALID_POSIDX((thr), (idx)), DUK_TVAL_GET_OBJECT(((duk_hthread *) (thr))->valstack_bottom + (idx)))

Definition at line 6273 of file duktape.c.

◆ duk_get_hobject_promote_lfunc

#define duk_get_hobject_promote_lfunc (   thr,
  idx 
)    duk_get_hobject_promote_mask((thr), (idx), DUK_TYPE_MASK_LIGHTFUNC)

Definition at line 6030 of file duktape.c.

◆ duk_get_prop_stridx_short

#define duk_get_prop_stridx_short (   thr,
  obj_idx,
  stridx 
)
Value:
(DUK_ASSERT_EXPR((duk_int_t) (obj_idx) >= -0x8000L && (duk_int_t) (obj_idx) <= 0x7fffL), \
DUK_ASSERT_EXPR((duk_int_t) (stridx) >= 0 && (duk_int_t) (stridx) <= 0xffffL), \
duk_get_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx))))
#define DUK_ASSERT_EXPR(x)
Definition: duktape.c:10549

Definition at line 6139 of file duktape.c.

◆ DUK_GET_THIS_TVAL_PTR

#define DUK_GET_THIS_TVAL_PTR (   thr)    (DUK_ASSERT_EXPR((thr)->valstack_bottom > (thr)->valstack), (thr)->valstack_bottom - 1)

Definition at line 6276 of file duktape.c.

◆ DUK_GET_TVAL_NEGIDX

#define DUK_GET_TVAL_NEGIDX (   thr,
  idx 
)    (DUK_ASSERT_VALID_NEGIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_top + (idx))

Definition at line 6269 of file duktape.c.

◆ DUK_GET_TVAL_POSIDX

#define DUK_GET_TVAL_POSIDX (   thr,
  idx 
)    (DUK_ASSERT_VALID_POSIDX((thr), (idx)), ((duk_hthread *) (thr))->valstack_bottom + (idx))

Definition at line 6270 of file duktape.c.

◆ DUK_GETDESC_FLAG_IGNORE_PROTOLOOP

#define DUK_GETDESC_FLAG_IGNORE_PROTOLOOP   (1U << 1) /* don't throw for prototype loop */

Definition at line 6862 of file duktape.c.

◆ DUK_GETDESC_FLAG_PUSH_VALUE

#define DUK_GETDESC_FLAG_PUSH_VALUE   (1U << 0) /* push value to stack */

Definition at line 6861 of file duktape.c.

◆ DUK_HARRAY_ASSERT_VALID

#define DUK_HARRAY_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 8464 of file duktape.c.

◆ DUK_HARRAY_H_INCLUDED

#define DUK_HARRAY_H_INCLUDED

Definition at line 8455 of file duktape.c.

◆ DUK_HARRAY_LENGTH_NONWRITABLE

#define DUK_HARRAY_LENGTH_NONWRITABLE (   h)    ((h)->length_nonwritable)

Definition at line 8470 of file duktape.c.

◆ DUK_HARRAY_LENGTH_WRITABLE

#define DUK_HARRAY_LENGTH_WRITABLE (   h)    (!(h)->length_nonwritable)

Definition at line 8469 of file duktape.c.

◆ DUK_HARRAY_SET_LENGTH_NONWRITABLE

#define DUK_HARRAY_SET_LENGTH_NONWRITABLE (   h)
Value:
do { \
(h)->length_nonwritable = 1; \
} while (0)

Definition at line 8475 of file duktape.c.

◆ DUK_HARRAY_SET_LENGTH_WRITABLE

#define DUK_HARRAY_SET_LENGTH_WRITABLE (   h)
Value:
do { \
(h)->length_nonwritable = 0; \
} while (0)

Definition at line 8471 of file duktape.c.

◆ duk_has_prop_stridx_short

#define duk_has_prop_stridx_short (   thr,
  obj_idx,
  stridx 
)    duk_has_prop_stridx((thr), (obj_idx), (stridx))

Definition at line 6181 of file duktape.c.

◆ DUK_HBOUNDFUNC_ASSERT_VALID

#define DUK_HBOUNDFUNC_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 7862 of file duktape.c.

◆ DUK_HBOUNDFUNC_H_INCLUDED

#define DUK_HBOUNDFUNC_H_INCLUDED

Definition at line 7848 of file duktape.c.

◆ DUK_HBOUNDFUNC_MAX_ARGS

#define DUK_HBOUNDFUNC_MAX_ARGS   0x20000000UL

Definition at line 7853 of file duktape.c.

◆ DUK_HBUFFER_ADD_SIZE

#define DUK_HBUFFER_ADD_SIZE (   x,
  dv 
)
Value:
do { \
(x)->size += (dv); \
} while (0)

Definition at line 8643 of file duktape.c.

◆ DUK_HBUFFER_ASSERT_VALID

#define DUK_HBUFFER_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 8740 of file duktape.c.

◆ DUK_HBUFFER_CLEAR_DYNAMIC

#define DUK_HBUFFER_CLEAR_DYNAMIC (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_DYNAMIC)

Definition at line 8593 of file duktape.c.

◆ DUK_HBUFFER_CLEAR_EXTERNAL

#define DUK_HBUFFER_CLEAR_EXTERNAL (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_EXTERNAL)

Definition at line 8594 of file duktape.c.

◆ DUK_HBUFFER_DECREF

#define DUK_HBUFFER_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hbuffer_refzero, duk_hbuffer *)

Definition at line 5055 of file duktape.c.

◆ DUK_HBUFFER_DECREF_ALLOWNULL

#define DUK_HBUFFER_DECREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HBUFFER_DECREF((thr), (h)); \
} \
} while (0)

Definition at line 5145 of file duktape.c.

◆ DUK_HBUFFER_DECREF_NORZ

#define DUK_HBUFFER_DECREF_NORZ (   thr,
 
)     DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hbuffer_refzero, duk_hbuffer *) /* no 'norz' variant */

Definition at line 5056 of file duktape.c.

◆ DUK_HBUFFER_DECREF_NORZ_ALLOWNULL

#define DUK_HBUFFER_DECREF_NORZ_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HBUFFER_DECREF_NORZ((thr), (h)); \
} \
} while (0)

Definition at line 5151 of file duktape.c.

◆ DUK_HBUFFER_DECREF_NORZ_SLOW

#define DUK_HBUFFER_DECREF_NORZ_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref_norz((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 5016 of file duktape.c.

◆ DUK_HBUFFER_DECREF_SLOW

#define DUK_HBUFFER_DECREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 5012 of file duktape.c.

◆ DUK_HBUFFER_DYNAMIC_ADD_SIZE

#define DUK_HBUFFER_DYNAMIC_ADD_SIZE (   x,
  dv 
)    DUK_HBUFFER_ADD_SIZE((duk_hbuffer *) (x), (dv))

Definition at line 8658 of file duktape.c.

◆ DUK_HBUFFER_DYNAMIC_GET_DATA_PTR

#define DUK_HBUFFER_DYNAMIC_GET_DATA_PTR (   heap,
 
)    ((x)->curr_alloc)

Definition at line 8678 of file duktape.c.

◆ DUK_HBUFFER_DYNAMIC_GET_SIZE

#define DUK_HBUFFER_DYNAMIC_GET_SIZE (   x)    DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x))

Definition at line 8656 of file duktape.c.

◆ DUK_HBUFFER_DYNAMIC_SET_DATA_PTR

#define DUK_HBUFFER_DYNAMIC_SET_DATA_PTR (   heap,
  x,
 
)
Value:
do { \
(x)->curr_alloc = (void *) (v); \
} while (0)

Definition at line 8679 of file duktape.c.

◆ DUK_HBUFFER_DYNAMIC_SET_DATA_PTR_NULL

#define DUK_HBUFFER_DYNAMIC_SET_DATA_PTR_NULL (   heap,
 
)
Value:
do { \
(x)->curr_alloc = (void *) NULL; \
} while (0)

Definition at line 8683 of file duktape.c.

◆ DUK_HBUFFER_DYNAMIC_SET_SIZE

#define DUK_HBUFFER_DYNAMIC_SET_SIZE (   x,
 
)    DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v))

Definition at line 8657 of file duktape.c.

◆ DUK_HBUFFER_DYNAMIC_SUB_SIZE

#define DUK_HBUFFER_DYNAMIC_SUB_SIZE (   x,
  dv 
)    DUK_HBUFFER_SUB_SIZE((duk_hbuffer *) (x), (dv))

Definition at line 8659 of file duktape.c.

◆ DUK_HBUFFER_EXTERNAL_GET_DATA_PTR

#define DUK_HBUFFER_EXTERNAL_GET_DATA_PTR (   heap,
 
)    ((void *) (x)->curr_alloc)

Definition at line 8703 of file duktape.c.

◆ DUK_HBUFFER_EXTERNAL_GET_SIZE

#define DUK_HBUFFER_EXTERNAL_GET_SIZE (   x)    DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x))

Definition at line 8661 of file duktape.c.

◆ DUK_HBUFFER_EXTERNAL_SET_DATA_PTR

#define DUK_HBUFFER_EXTERNAL_SET_DATA_PTR (   heap,
  x,
 
)
Value:
do { \
(x)->curr_alloc = (void *) (v); \
} while (0)

Definition at line 8704 of file duktape.c.

◆ DUK_HBUFFER_EXTERNAL_SET_DATA_PTR_NULL

#define DUK_HBUFFER_EXTERNAL_SET_DATA_PTR_NULL (   heap,
 
)
Value:
do { \
(x)->curr_alloc = (void *) NULL; \
} while (0)

Definition at line 8708 of file duktape.c.

◆ DUK_HBUFFER_EXTERNAL_SET_SIZE

#define DUK_HBUFFER_EXTERNAL_SET_SIZE (   x,
 
)    DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x), (v))

Definition at line 8662 of file duktape.c.

◆ DUK_HBUFFER_FIXED_GET_DATA_PTR

#define DUK_HBUFFER_FIXED_GET_DATA_PTR (   heap,
 
)    ((duk_uint8_t *) (((duk_hbuffer_fixed *) (void *) (x)) + 1))

Definition at line 8664 of file duktape.c.

◆ DUK_HBUFFER_FIXED_GET_SIZE

#define DUK_HBUFFER_FIXED_GET_SIZE (   x)    DUK_HBUFFER_GET_SIZE((duk_hbuffer *) (x))

Definition at line 8653 of file duktape.c.

◆ DUK_HBUFFER_FIXED_SET_SIZE

#define DUK_HBUFFER_FIXED_SET_SIZE (   x,
 
)    DUK_HBUFFER_SET_SIZE((duk_hbuffer *) (x))

Definition at line 8654 of file duktape.c.

◆ DUK_HBUFFER_FLAG_DYNAMIC

#define DUK_HBUFFER_FLAG_DYNAMIC   DUK_HEAPHDR_USER_FLAG(0) /* buffer is behind a pointer, dynamic or external */

Definition at line 8584 of file duktape.c.

◆ DUK_HBUFFER_FLAG_EXTERNAL

#define DUK_HBUFFER_FLAG_EXTERNAL   DUK_HEAPHDR_USER_FLAG(1) /* buffer pointer is to an externally allocated buffer */

Definition at line 8585 of file duktape.c.

◆ DUK_HBUFFER_GET_DATA_PTR

#define DUK_HBUFFER_GET_DATA_PTR (   heap,
 
)
Value:

Definition at line 8727 of file duktape.c.

◆ DUK_HBUFFER_GET_SIZE

#define DUK_HBUFFER_GET_SIZE (   x)    (((duk_hbuffer *) (x))->size)

Definition at line 8638 of file duktape.c.

◆ DUK_HBUFFER_H_INCLUDED

#define DUK_HBUFFER_H_INCLUDED

Definition at line 8574 of file duktape.c.

◆ DUK_HBUFFER_HAS_DYNAMIC

#define DUK_HBUFFER_HAS_DYNAMIC (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_DYNAMIC)

Definition at line 8587 of file duktape.c.

◆ DUK_HBUFFER_HAS_EXTERNAL

#define DUK_HBUFFER_HAS_EXTERNAL (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_EXTERNAL)

Definition at line 8588 of file duktape.c.

◆ DUK_HBUFFER_INCREF

#define DUK_HBUFFER_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h))

Definition at line 5054 of file duktape.c.

◆ DUK_HBUFFER_INCREF_ALLOWNULL

#define DUK_HBUFFER_INCREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HBUFFER_INCREF((thr), (h)); \
} \
} while (0)

Definition at line 5139 of file duktape.c.

◆ DUK_HBUFFER_INCREF_SLOW

#define DUK_HBUFFER_INCREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_incref((duk_heaphdr *) (h)); \
} while (0)

Definition at line 5008 of file duktape.c.

◆ DUK_HBUFFER_MAX_BYTELEN

#define DUK_HBUFFER_MAX_BYTELEN   (0x7ffffffeUL)

Definition at line 8612 of file duktape.c.

◆ DUK_HBUFFER_SET_DYNAMIC

#define DUK_HBUFFER_SET_DYNAMIC (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_DYNAMIC)

Definition at line 8590 of file duktape.c.

◆ DUK_HBUFFER_SET_EXTERNAL

#define DUK_HBUFFER_SET_EXTERNAL (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HBUFFER_FLAG_EXTERNAL)

Definition at line 8591 of file duktape.c.

◆ DUK_HBUFFER_SET_SIZE

#define DUK_HBUFFER_SET_SIZE (   x,
 
)
Value:
do { \
((duk_hbuffer *) (x))->size = (v); \
} while (0)

Definition at line 8639 of file duktape.c.

◆ DUK_HBUFFER_SUB_SIZE

#define DUK_HBUFFER_SUB_SIZE (   x,
  dv 
)
Value:
do { \
(x)->size -= (dv); \
} while (0)

Definition at line 8647 of file duktape.c.

◆ DUK_HBUFOBJ_ASSERT_VALID

#define DUK_HBUFOBJ_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 7914 of file duktape.c.

◆ DUK_HBUFOBJ_CLAMP_BYTELENGTH

#define DUK_HBUFOBJ_CLAMP_BYTELENGTH (   h,
  len 
)    (DUK_ASSERT_EXPR((h) != NULL), duk_hbufobj_clamp_bytelength((h), (len)))

Definition at line 7965 of file duktape.c.

◆ DUK_HBUFOBJ_DECREF

#define DUK_HBUFOBJ_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)

Definition at line 5065 of file duktape.c.

◆ DUK_HBUFOBJ_DECREF_NORZ

#define DUK_HBUFOBJ_DECREF_NORZ (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)

Definition at line 5066 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_FLOAT32

#define DUK_HBUFOBJ_ELEM_FLOAT32   7

Definition at line 7903 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_FLOAT64

#define DUK_HBUFOBJ_ELEM_FLOAT64   8

Definition at line 7904 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_INT16

#define DUK_HBUFOBJ_ELEM_INT16   4

Definition at line 7900 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_INT32

#define DUK_HBUFOBJ_ELEM_INT32   6

Definition at line 7902 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_INT8

#define DUK_HBUFOBJ_ELEM_INT8   2

Definition at line 7898 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_MAX

#define DUK_HBUFOBJ_ELEM_MAX   8

Definition at line 7905 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_UINT16

#define DUK_HBUFOBJ_ELEM_UINT16   3

Definition at line 7899 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_UINT32

#define DUK_HBUFOBJ_ELEM_UINT32   5

Definition at line 7901 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_UINT8

#define DUK_HBUFOBJ_ELEM_UINT8   0

Definition at line 7896 of file duktape.c.

◆ DUK_HBUFOBJ_ELEM_UINT8CLAMPED

#define DUK_HBUFOBJ_ELEM_UINT8CLAMPED   1

Definition at line 7897 of file duktape.c.

◆ DUK_HBUFOBJ_FULL_SLICE

#define DUK_HBUFOBJ_FULL_SLICE (   h)
Value:
(DUK_ASSERT_EXPR((h) != NULL), \
DUK_ASSERT_EXPR((h)->buf != NULL), \
((h)->offset == 0 && (h)->length == DUK_HBUFFER_GET_SIZE((h)->buf)))

Definition at line 7933 of file duktape.c.

◆ DUK_HBUFOBJ_GET_SLICE_BASE

#define DUK_HBUFOBJ_GET_SLICE_BASE (   heap,
 
)
Value:
(DUK_ASSERT_EXPR((h) != NULL), \
DUK_ASSERT_EXPR((h)->buf != NULL), \
(((duk_uint8_t *) DUK_HBUFFER_GET_DATA_PTR((heap), (h)->buf)) + (h)->offset))

Definition at line 7923 of file duktape.c.

◆ DUK_HBUFOBJ_H_INCLUDED

#define DUK_HBUFOBJ_H_INCLUDED

Definition at line 7891 of file duktape.c.

◆ DUK_HBUFOBJ_HAS_VIRTUAL_INDICES

#define DUK_HBUFOBJ_HAS_VIRTUAL_INDICES (   h)    ((h)->is_typedarray)

Definition at line 7968 of file duktape.c.

◆ DUK_HBUFOBJ_INCREF

#define DUK_HBUFOBJ_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)

Definition at line 5064 of file duktape.c.

◆ DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL

#define DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL (   h,
  off 
)     (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) <= DUK_HBUFFER_GET_SIZE((h)->buf)))

Definition at line 7956 of file duktape.c.

◆ DUK_HBUFOBJ_VALID_BYTEOFFSET_INCL

#define DUK_HBUFOBJ_VALID_BYTEOFFSET_INCL (   h,
  off 
)     (DUK_ASSERT_EXPR((h) != NULL), DUK_ASSERT_EXPR((h)->buf != NULL), ((h)->offset + (off) < DUK_HBUFFER_GET_SIZE((h)->buf)))

Definition at line 7953 of file duktape.c.

◆ DUK_HBUFOBJ_VALID_SLICE

#define DUK_HBUFOBJ_VALID_SLICE (   h)
Value:
(DUK_ASSERT_EXPR((h) != NULL), \
DUK_ASSERT_EXPR((h)->buf != NULL), \
((h)->offset + (h)->length <= DUK_HBUFFER_GET_SIZE((h)->buf)))

Definition at line 7941 of file duktape.c.

◆ DUK_HCOMPFUNC_ASSERT_VALID

#define DUK_HCOMPFUNC_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 7659 of file duktape.c.

◆ DUK_HCOMPFUNC_DECREF

#define DUK_HCOMPFUNC_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)

Definition at line 5059 of file duktape.c.

◆ DUK_HCOMPFUNC_DECREF_NORZ

#define DUK_HCOMPFUNC_DECREF_NORZ (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)

Definition at line 5060 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_BUFFER_BASE

#define DUK_HCOMPFUNC_GET_BUFFER_BASE (   heap,
 
)    DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h)))

Definition at line 7613 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_BYTECODE

#define DUK_HCOMPFUNC_GET_BYTECODE (   heap,
 
)    ((h)->bytecode)

Definition at line 7591 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CODE_BASE

#define DUK_HCOMPFUNC_GET_CODE_BASE (   heap,
 
)    DUK_HCOMPFUNC_GET_BYTECODE((heap), (h))

Definition at line 7619 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CODE_COUNT

#define DUK_HCOMPFUNC_GET_CODE_COUNT (   heap,
 
)    ((duk_size_t) (DUK_HCOMPFUNC_GET_CODE_SIZE((heap), (h)) / sizeof(duk_instr_t)))

Definition at line 7646 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CODE_END

#define DUK_HCOMPFUNC_GET_CODE_END (   heap,
 
)
Value:
((duk_instr_t *) (void *) (DUK_HBUFFER_FIXED_GET_DATA_PTR((heap), DUK_HCOMPFUNC_GET_DATA((heap), (h))) + \
DUK_HBUFFER_GET_SIZE((duk_hbuffer *) DUK_HCOMPFUNC_GET_DATA((heap), h))))
#define DUK_HCOMPFUNC_GET_DATA(heap, h)
Definition: duktape.c:7581

Definition at line 7626 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CODE_SIZE

#define DUK_HCOMPFUNC_GET_CODE_SIZE (   heap,
 
)
Value:
((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_END((heap), (h))) - \
((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CODE_BASE((heap), (h)))))
#define DUK_HCOMPFUNC_GET_CODE_BASE(heap, h)
Definition: duktape.c:7619
#define DUK_HCOMPFUNC_GET_CODE_END(heap, h)
Definition: duktape.c:7626

Definition at line 7638 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CONSTS_BASE

#define DUK_HCOMPFUNC_GET_CONSTS_BASE (   heap,
 
)    ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_BUFFER_BASE((heap), (h)))

Definition at line 7615 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CONSTS_COUNT

#define DUK_HCOMPFUNC_GET_CONSTS_COUNT (   heap,
 
)    ((duk_size_t) (DUK_HCOMPFUNC_GET_CONSTS_SIZE((heap), (h)) / sizeof(duk_tval)))

Definition at line 7642 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CONSTS_END

#define DUK_HCOMPFUNC_GET_CONSTS_END (   heap,
 
)    ((duk_tval *) (void *) DUK_HCOMPFUNC_GET_FUNCS((heap), (h)))

Definition at line 7621 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_CONSTS_SIZE

#define DUK_HCOMPFUNC_GET_CONSTS_SIZE (   heap,
 
)
Value:
((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_END((heap), (h))) - \
((const duk_uint8_t *) DUK_HCOMPFUNC_GET_CONSTS_BASE((heap), (h)))))
#define DUK_HCOMPFUNC_GET_CONSTS_END(heap, h)
Definition: duktape.c:7621
#define DUK_HCOMPFUNC_GET_CONSTS_BASE(heap, h)
Definition: duktape.c:7615

Definition at line 7630 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_DATA

#define DUK_HCOMPFUNC_GET_DATA (   heap,
 
)    ((duk_hbuffer_fixed *) (void *) (h)->data)

Definition at line 7581 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_FUNCS

#define DUK_HCOMPFUNC_GET_FUNCS (   heap,
 
)    ((h)->funcs)

Definition at line 7586 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_FUNCS_BASE

#define DUK_HCOMPFUNC_GET_FUNCS_BASE (   heap,
 
)    DUK_HCOMPFUNC_GET_FUNCS((heap), (h))

Definition at line 7617 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_FUNCS_COUNT

#define DUK_HCOMPFUNC_GET_FUNCS_COUNT (   heap,
 
)    ((duk_size_t) (DUK_HCOMPFUNC_GET_FUNCS_SIZE((heap), (h)) / sizeof(duk_hobject *)))

Definition at line 7644 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_FUNCS_END

#define DUK_HCOMPFUNC_GET_FUNCS_END (   heap,
 
)    ((duk_hobject **) (void *) DUK_HCOMPFUNC_GET_BYTECODE((heap), (h)))

Definition at line 7623 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_FUNCS_SIZE

#define DUK_HCOMPFUNC_GET_FUNCS_SIZE (   heap,
 
)
Value:
((duk_size_t) (((const duk_uint8_t *) DUK_HCOMPFUNC_GET_FUNCS_END((heap), (h))) - \
((const duk_uint8_t *) DUK_HCOMPFUNC_GET_FUNCS_BASE((heap), (h)))))
#define DUK_HCOMPFUNC_GET_FUNCS_END(heap, h)
Definition: duktape.c:7623
#define DUK_HCOMPFUNC_GET_FUNCS_BASE(heap, h)
Definition: duktape.c:7617

Definition at line 7634 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_LEXENV

#define DUK_HCOMPFUNC_GET_LEXENV (   heap,
 
)    ((h)->lex_env)

Definition at line 7596 of file duktape.c.

◆ DUK_HCOMPFUNC_GET_VARENV

#define DUK_HCOMPFUNC_GET_VARENV (   heap,
 
)    ((h)->var_env)

Definition at line 7601 of file duktape.c.

◆ DUK_HCOMPFUNC_H_INCLUDED

#define DUK_HCOMPFUNC_H_INCLUDED

Definition at line 7546 of file duktape.c.

◆ DUK_HCOMPFUNC_INCREF

#define DUK_HCOMPFUNC_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)

Definition at line 5058 of file duktape.c.

◆ DUK_HCOMPFUNC_SET_BYTECODE

#define DUK_HCOMPFUNC_SET_BYTECODE (   heap,
  h,
 
)
Value:
do { \
(h)->bytecode = (v); \
} while (0)

Definition at line 7592 of file duktape.c.

◆ DUK_HCOMPFUNC_SET_DATA

#define DUK_HCOMPFUNC_SET_DATA (   heap,
  h,
 
)
Value:
do { \
(h)->data = (duk_hbuffer *) (v); \
} while (0)

Definition at line 7582 of file duktape.c.

◆ DUK_HCOMPFUNC_SET_FUNCS

#define DUK_HCOMPFUNC_SET_FUNCS (   heap,
  h,
 
)
Value:
do { \
(h)->funcs = (v); \
} while (0)

Definition at line 7587 of file duktape.c.

◆ DUK_HCOMPFUNC_SET_LEXENV

#define DUK_HCOMPFUNC_SET_LEXENV (   heap,
  h,
 
)
Value:
do { \
(h)->lex_env = (v); \
} while (0)

Definition at line 7597 of file duktape.c.

◆ DUK_HCOMPFUNC_SET_VARENV

#define DUK_HCOMPFUNC_SET_VARENV (   heap,
  h,
 
)
Value:
do { \
(h)->var_env = (v); \
} while (0)

Definition at line 7602 of file duktape.c.

◆ DUK_HDECENV_ASSERT_VALID

#define DUK_HDECENV_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 8525 of file duktape.c.

◆ DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_EMERGENCY_LIMIT

#define DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_EMERGENCY_LIMIT
Value:
3 /* Starting from this round, use emergency mode \
* for mark-and-sweep. \
*/

Definition at line 9192 of file duktape.c.

◆ DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_LIMIT

#define DUK_HEAP_ALLOC_FAIL_MARKANDSWEEP_LIMIT
Value:
10 /* Retry allocation after mark-and-sweep for this \
* many times. A single mark-and-sweep round is \
* not guaranteed to free all unreferenced memory \
* because of finalization (in fact, ANY number of \
* rounds is strictly not enough). \
*/

Definition at line 9189 of file duktape.c.

◆ DUK_HEAP_ASSERT_VALID

#define DUK_HEAP_ASSERT_VALID (   heap)
Value:
do { \
} while (0)

Definition at line 9290 of file duktape.c.

◆ DUK_HEAP_CLEAR_DEBUGGER_PAUSED

#define DUK_HEAP_CLEAR_DEBUGGER_PAUSED (   heap)    DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_DEBUGGER_PAUSED)

Definition at line 8988 of file duktape.c.

◆ DUK_HEAP_CLEAR_FINALIZER_NORESCUE

#define DUK_HEAP_CLEAR_FINALIZER_NORESCUE (   heap)    DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_FINALIZER_NORESCUE)

Definition at line 8987 of file duktape.c.

◆ DUK_HEAP_CLEAR_INTERRUPT_RUNNING

#define DUK_HEAP_CLEAR_INTERRUPT_RUNNING (   heap)    DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_INTERRUPT_RUNNING)

Definition at line 8986 of file duktape.c.

◆ DUK_HEAP_CLEAR_MARKANDSWEEP_RECLIMIT_REACHED

#define DUK_HEAP_CLEAR_MARKANDSWEEP_RECLIMIT_REACHED (   heap)     DUK__HEAP_CLEAR_FLAGS((heap), DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED)

Definition at line 8984 of file duktape.c.

◆ DUK_HEAP_DBG_RATELIMIT_MILLISECS

#define DUK_HEAP_DBG_RATELIMIT_MILLISECS   200

Definition at line 9212 of file duktape.c.

◆ DUK_HEAP_DBG_RATELIMIT_OPCODES

#define DUK_HEAP_DBG_RATELIMIT_OPCODES   4000

Definition at line 9209 of file duktape.c.

◆ DUK_HEAP_FLAG_DEBUGGER_PAUSED

#define DUK_HEAP_FLAG_DEBUGGER_PAUSED   (1U << 3) /* debugger is paused: talk with debug client until step/resume */

Definition at line 8962 of file duktape.c.

◆ DUK_HEAP_FLAG_FINALIZER_NORESCUE

#define DUK_HEAP_FLAG_FINALIZER_NORESCUE   (1U << 2) /* heap destruction ongoing, finalizer rescue no longer possible */

Definition at line 8961 of file duktape.c.

◆ DUK_HEAP_FLAG_INTERRUPT_RUNNING

#define DUK_HEAP_FLAG_INTERRUPT_RUNNING   (1U << 1) /* executor interrupt running (used to avoid nested interrupts) */

Definition at line 8960 of file duktape.c.

◆ DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED

#define DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED    (1U << 0) /* mark-and-sweep marking reached a recursion limit and must use multi-pass marking */

Definition at line 8958 of file duktape.c.

◆ DUK_HEAP_GET_STRING

#define DUK_HEAP_GET_STRING (   heap,
  idx 
)    ((heap)->strs[(idx)])

Definition at line 9123 of file duktape.c.

◆ DUK_HEAP_H_INCLUDED

#define DUK_HEAP_H_INCLUDED

Definition at line 8950 of file duktape.c.

◆ DUK_HEAP_HAS_DEBUGGER_PAUSED

#define DUK_HEAP_HAS_DEBUGGER_PAUSED (   heap)    DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_DEBUGGER_PAUSED)

Definition at line 8977 of file duktape.c.

◆ DUK_HEAP_HAS_FINALIZER_NORESCUE

#define DUK_HEAP_HAS_FINALIZER_NORESCUE (   heap)    DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_FINALIZER_NORESCUE)

Definition at line 8976 of file duktape.c.

◆ DUK_HEAP_HAS_INTERRUPT_RUNNING

#define DUK_HEAP_HAS_INTERRUPT_RUNNING (   heap)    DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_INTERRUPT_RUNNING)

Definition at line 8975 of file duktape.c.

◆ DUK_HEAP_HAS_MARKANDSWEEP_RECLIMIT_REACHED

#define DUK_HEAP_HAS_MARKANDSWEEP_RECLIMIT_REACHED (   heap)    DUK__HEAP_HAS_FLAGS((heap), DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED)

Definition at line 8974 of file duktape.c.

◆ DUK_HEAP_INSERT_INTO_FINALIZE_LIST

#define DUK_HEAP_INSERT_INTO_FINALIZE_LIST (   heap,
  hdr 
)    duk_heap_insert_into_finalize_list((heap), (hdr))

Definition at line 9108 of file duktape.c.

◆ DUK_HEAP_INSERT_INTO_HEAP_ALLOCATED

#define DUK_HEAP_INSERT_INTO_HEAP_ALLOCATED (   heap,
  hdr 
)    duk_heap_insert_into_heap_allocated((heap), (hdr))

Definition at line 9103 of file duktape.c.

◆ DUK_HEAP_MARK_AND_SWEEP_TRIGGER_ADD

#define DUK_HEAP_MARK_AND_SWEEP_TRIGGER_ADD   1024L

Definition at line 9076 of file duktape.c.

◆ DUK_HEAP_MARK_AND_SWEEP_TRIGGER_MULT

#define DUK_HEAP_MARK_AND_SWEEP_TRIGGER_MULT   12800L /* 50x heap size */

Definition at line 9075 of file duktape.c.

◆ DUK_HEAP_MARK_AND_SWEEP_TRIGGER_SKIP

#define DUK_HEAP_MARK_AND_SWEEP_TRIGGER_SKIP   256L

Definition at line 9077 of file duktape.c.

◆ DUK_HEAP_MAX_BREAKPOINTS

#define DUK_HEAP_MAX_BREAKPOINTS   16

Definition at line 9202 of file duktape.c.

◆ DUK_HEAP_NUM_STRINGS

#define DUK_HEAP_NUM_STRINGS   167

Definition at line 2081 of file duktape.c.

◆ DUK_HEAP_REMOVE_FROM_FINALIZE_LIST

#define DUK_HEAP_REMOVE_FROM_FINALIZE_LIST (   heap,
  hdr 
)    duk_heap_remove_from_finalize_list((heap), (hdr))

Definition at line 9109 of file duktape.c.

◆ DUK_HEAP_REMOVE_FROM_HEAP_ALLOCATED

#define DUK_HEAP_REMOVE_FROM_HEAP_ALLOCATED (   heap,
  hdr 
)    duk_heap_remove_from_heap_allocated((heap), (hdr))

Definition at line 9105 of file duktape.c.

◆ DUK_HEAP_SET_DEBUGGER_PAUSED

#define DUK_HEAP_SET_DEBUGGER_PAUSED (   heap)    DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_DEBUGGER_PAUSED)

Definition at line 8982 of file duktape.c.

◆ DUK_HEAP_SET_FINALIZER_NORESCUE

#define DUK_HEAP_SET_FINALIZER_NORESCUE (   heap)    DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_FINALIZER_NORESCUE)

Definition at line 8981 of file duktape.c.

◆ DUK_HEAP_SET_INTERRUPT_RUNNING

#define DUK_HEAP_SET_INTERRUPT_RUNNING (   heap)    DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_INTERRUPT_RUNNING)

Definition at line 8980 of file duktape.c.

◆ DUK_HEAP_SET_MARKANDSWEEP_RECLIMIT_REACHED

#define DUK_HEAP_SET_MARKANDSWEEP_RECLIMIT_REACHED (   heap)    DUK__HEAP_SET_FLAGS((heap), DUK_HEAP_FLAG_MARKANDSWEEP_RECLIMIT_REACHED)

Definition at line 8979 of file duktape.c.

◆ DUK_HEAP_STRCACHE_SIZE

#define DUK_HEAP_STRCACHE_SIZE   4

Definition at line 9099 of file duktape.c.

◆ DUK_HEAP_STRING___PROTO__

#define DUK_HEAP_STRING___PROTO__ (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX___PROTO__)

Definition at line 1823 of file duktape.c.

◆ DUK_HEAP_STRING_APPLY

#define DUK_HEAP_STRING_APPLY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_APPLY)

Definition at line 1790 of file duktape.c.

◆ DUK_HEAP_STRING_ARRAY_BUFFER

#define DUK_HEAP_STRING_ARRAY_BUFFER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ARRAY_BUFFER)

Definition at line 1628 of file duktape.c.

◆ DUK_HEAP_STRING_BASE64

#define DUK_HEAP_STRING_BASE64 (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_BASE64)

Definition at line 1919 of file duktape.c.

◆ DUK_HEAP_STRING_BRACKETED_ELLIPSIS

#define DUK_HEAP_STRING_BRACKETED_ELLIPSIS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_BRACKETED_ELLIPSIS)

Definition at line 1775 of file duktape.c.

◆ DUK_HEAP_STRING_BREAK

#define DUK_HEAP_STRING_BREAK (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_BREAK)

Definition at line 1946 of file duktape.c.

◆ DUK_HEAP_STRING_CALLEE

#define DUK_HEAP_STRING_CALLEE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CALLEE)

Definition at line 1784 of file duktape.c.

◆ DUK_HEAP_STRING_CALLER

#define DUK_HEAP_STRING_CALLER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CALLER)

Definition at line 1787 of file duktape.c.

◆ DUK_HEAP_STRING_CASE

#define DUK_HEAP_STRING_CASE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CASE)

Definition at line 1949 of file duktape.c.

◆ DUK_HEAP_STRING_CATCH

#define DUK_HEAP_STRING_CATCH (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CATCH)

Definition at line 1952 of file duktape.c.

◆ DUK_HEAP_STRING_CLASS

#define DUK_HEAP_STRING_CLASS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CLASS)

Definition at line 2027 of file duktape.c.

◆ DUK_HEAP_STRING_COMMA

#define DUK_HEAP_STRING_COMMA (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_COMMA)

Definition at line 1769 of file duktape.c.

◆ DUK_HEAP_STRING_COMPILE

#define DUK_HEAP_STRING_COMPILE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_COMPILE)

Definition at line 1901 of file duktape.c.

◆ DUK_HEAP_STRING_CONFIGURABLE

#define DUK_HEAP_STRING_CONFIGURABLE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONFIGURABLE)

Definition at line 1688 of file duktape.c.

◆ DUK_HEAP_STRING_CONST

#define DUK_HEAP_STRING_CONST (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONST)

Definition at line 2015 of file duktape.c.

◆ DUK_HEAP_STRING_CONSTRUCT

#define DUK_HEAP_STRING_CONSTRUCT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONSTRUCT)

Definition at line 1793 of file duktape.c.

◆ DUK_HEAP_STRING_CONSTRUCTOR

#define DUK_HEAP_STRING_CONSTRUCTOR (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONSTRUCTOR)

Definition at line 1733 of file duktape.c.

◆ DUK_HEAP_STRING_CONTINUE

#define DUK_HEAP_STRING_CONTINUE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_CONTINUE)

Definition at line 1955 of file duktape.c.

◆ DUK_HEAP_STRING_DATA

#define DUK_HEAP_STRING_DATA (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DATA)

Definition at line 1835 of file duktape.c.

◆ DUK_HEAP_STRING_DATA_VIEW

#define DUK_HEAP_STRING_DATA_VIEW (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DATA_VIEW)

Definition at line 1631 of file duktape.c.

◆ DUK_HEAP_STRING_DEBUGGER

#define DUK_HEAP_STRING_DEBUGGER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DEBUGGER)

Definition at line 1958 of file duktape.c.

◆ DUK_HEAP_STRING_DEC_ENV

#define DUK_HEAP_STRING_DEC_ENV (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DEC_ENV)

Definition at line 1667 of file duktape.c.

◆ DUK_HEAP_STRING_DEFAULT

#define DUK_HEAP_STRING_DEFAULT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DEFAULT)

Definition at line 1961 of file duktape.c.

◆ DUK_HEAP_STRING_DELETE

#define DUK_HEAP_STRING_DELETE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DELETE)

Definition at line 1964 of file duktape.c.

◆ DUK_HEAP_STRING_DELETE_PROPERTY

#define DUK_HEAP_STRING_DELETE_PROPERTY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DELETE_PROPERTY)

Definition at line 1796 of file duktape.c.

◆ DUK_HEAP_STRING_DO

#define DUK_HEAP_STRING_DO (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_DO)

Definition at line 1967 of file duktape.c.

◆ DUK_HEAP_STRING_ELSE

#define DUK_HEAP_STRING_ELSE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ELSE)

Definition at line 1970 of file duktape.c.

◆ DUK_HEAP_STRING_EMPTY_STRING

#define DUK_HEAP_STRING_EMPTY_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EMPTY_STRING)

Definition at line 1625 of file duktape.c.

◆ DUK_HEAP_STRING_ENUM

#define DUK_HEAP_STRING_ENUM (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ENUM)

Definition at line 2030 of file duktape.c.

◆ DUK_HEAP_STRING_ENUMERABLE

#define DUK_HEAP_STRING_ENUMERABLE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ENUMERABLE)

Definition at line 1691 of file duktape.c.

◆ DUK_HEAP_STRING_ENV

#define DUK_HEAP_STRING_ENV (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ENV)

Definition at line 1913 of file duktape.c.

◆ DUK_HEAP_STRING_ERR_CREATE

#define DUK_HEAP_STRING_ERR_CREATE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ERR_CREATE)

Definition at line 1907 of file duktape.c.

◆ DUK_HEAP_STRING_ERR_THROW

#define DUK_HEAP_STRING_ERR_THROW (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_ERR_THROW)

Definition at line 1910 of file duktape.c.

◆ DUK_HEAP_STRING_EVAL

#define DUK_HEAP_STRING_EVAL (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EVAL)

Definition at line 1679 of file duktape.c.

◆ DUK_HEAP_STRING_EXPORT

#define DUK_HEAP_STRING_EXPORT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EXPORT)

Definition at line 2033 of file duktape.c.

◆ DUK_HEAP_STRING_EXTENDS

#define DUK_HEAP_STRING_EXTENDS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_EXTENDS)

Definition at line 2036 of file duktape.c.

◆ DUK_HEAP_STRING_FALSE

#define DUK_HEAP_STRING_FALSE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FALSE)

Definition at line 2051 of file duktape.c.

◆ DUK_HEAP_STRING_FILE_NAME

#define DUK_HEAP_STRING_FILE_NAME (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FILE_NAME)

Definition at line 1862 of file duktape.c.

◆ DUK_HEAP_STRING_FINALLY

#define DUK_HEAP_STRING_FINALLY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FINALLY)

Definition at line 1973 of file duktape.c.

◆ DUK_HEAP_STRING_FLAGS

#define DUK_HEAP_STRING_FLAGS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FLAGS)

Definition at line 1724 of file duktape.c.

◆ DUK_HEAP_STRING_FLOAT32_ARRAY

#define DUK_HEAP_STRING_FLOAT32_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FLOAT32_ARRAY)

Definition at line 1655 of file duktape.c.

◆ DUK_HEAP_STRING_FLOAT64_ARRAY

#define DUK_HEAP_STRING_FLOAT64_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FLOAT64_ARRAY)

Definition at line 1658 of file duktape.c.

◆ DUK_HEAP_STRING_FOR

#define DUK_HEAP_STRING_FOR (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_FOR)

Definition at line 1976 of file duktape.c.

◆ DUK_HEAP_STRING_GET

#define DUK_HEAP_STRING_GET (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_GET)

Definition at line 1799 of file duktape.c.

◆ DUK_HEAP_STRING_GLOBAL

#define DUK_HEAP_STRING_GLOBAL (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_GLOBAL)

Definition at line 1661 of file duktape.c.

◆ DUK_HEAP_STRING_HAS

#define DUK_HEAP_STRING_HAS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_HAS)

Definition at line 1802 of file duktape.c.

◆ DUK_HEAP_STRING_HEX

#define DUK_HEAP_STRING_HEX (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_HEX)

Definition at line 1916 of file duktape.c.

◆ DUK_HEAP_STRING_IF

#define DUK_HEAP_STRING_IF (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IF)

Definition at line 1982 of file duktape.c.

◆ DUK_HEAP_STRING_IGNORE_CASE

#define DUK_HEAP_STRING_IGNORE_CASE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IGNORE_CASE)

Definition at line 1715 of file duktape.c.

◆ DUK_HEAP_STRING_IMPLEMENTS

#define DUK_HEAP_STRING_IMPLEMENTS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IMPLEMENTS)

Definition at line 2054 of file duktape.c.

◆ DUK_HEAP_STRING_IMPORT

#define DUK_HEAP_STRING_IMPORT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IMPORT)

Definition at line 2039 of file duktape.c.

◆ DUK_HEAP_STRING_IN

#define DUK_HEAP_STRING_IN (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_IN)

Definition at line 1985 of file duktape.c.

◆ DUK_HEAP_STRING_INDEX

#define DUK_HEAP_STRING_INDEX (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INDEX)

Definition at line 1727 of file duktape.c.

◆ DUK_HEAP_STRING_INFINITY

#define DUK_HEAP_STRING_INFINITY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INFINITY)

Definition at line 1760 of file duktape.c.

◆ DUK_HEAP_STRING_INPUT

#define DUK_HEAP_STRING_INPUT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INPUT)

Definition at line 1904 of file duktape.c.

◆ DUK_HEAP_STRING_INSTANCEOF

#define DUK_HEAP_STRING_INSTANCEOF (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INSTANCEOF)

Definition at line 1988 of file duktape.c.

◆ DUK_HEAP_STRING_INT16_ARRAY

#define DUK_HEAP_STRING_INT16_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT16_ARRAY)

Definition at line 1643 of file duktape.c.

◆ DUK_HEAP_STRING_INT32_ARRAY

#define DUK_HEAP_STRING_INT32_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT32_ARRAY)

Definition at line 1649 of file duktape.c.

◆ DUK_HEAP_STRING_INT8_ARRAY

#define DUK_HEAP_STRING_INT8_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT8_ARRAY)

Definition at line 1634 of file duktape.c.

◆ DUK_HEAP_STRING_INT_BYTECODE

#define DUK_HEAP_STRING_INT_BYTECODE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_BYTECODE)

Definition at line 1874 of file duktape.c.

◆ DUK_HEAP_STRING_INT_FINALIZER

#define DUK_HEAP_STRING_INT_FINALIZER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_FINALIZER)

Definition at line 1895 of file duktape.c.

◆ DUK_HEAP_STRING_INT_FORMALS

#define DUK_HEAP_STRING_INT_FORMALS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_FORMALS)

Definition at line 1877 of file duktape.c.

◆ DUK_HEAP_STRING_INT_MAP

#define DUK_HEAP_STRING_INT_MAP (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_MAP)

Definition at line 1889 of file duktape.c.

◆ DUK_HEAP_STRING_INT_NEXT

#define DUK_HEAP_STRING_INT_NEXT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_NEXT)

Definition at line 1871 of file duktape.c.

◆ DUK_HEAP_STRING_INT_PC2LINE

#define DUK_HEAP_STRING_INT_PC2LINE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_PC2LINE)

Definition at line 1886 of file duktape.c.

◆ DUK_HEAP_STRING_INT_SOURCE

#define DUK_HEAP_STRING_INT_SOURCE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_SOURCE)

Definition at line 1883 of file duktape.c.

◆ DUK_HEAP_STRING_INT_TARGET

#define DUK_HEAP_STRING_INT_TARGET (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_TARGET)

Definition at line 1868 of file duktape.c.

◆ DUK_HEAP_STRING_INT_TRACEDATA

#define DUK_HEAP_STRING_INT_TRACEDATA (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_TRACEDATA)

Definition at line 1856 of file duktape.c.

◆ DUK_HEAP_STRING_INT_VALUE

#define DUK_HEAP_STRING_INT_VALUE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_VALUE)

Definition at line 1898 of file duktape.c.

◆ DUK_HEAP_STRING_INT_VARENV

#define DUK_HEAP_STRING_INT_VARENV (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_VARENV)

Definition at line 1892 of file duktape.c.

◆ DUK_HEAP_STRING_INT_VARMAP

#define DUK_HEAP_STRING_INT_VARMAP (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INT_VARMAP)

Definition at line 1880 of file duktape.c.

◆ DUK_HEAP_STRING_INTERFACE

#define DUK_HEAP_STRING_INTERFACE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INTERFACE)

Definition at line 2057 of file duktape.c.

◆ DUK_HEAP_STRING_INVALID_DATE

#define DUK_HEAP_STRING_INVALID_DATE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_INVALID_DATE)

Definition at line 1778 of file duktape.c.

◆ DUK_HEAP_STRING_JC

#define DUK_HEAP_STRING_JC (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JC)

Definition at line 1925 of file duktape.c.

◆ DUK_HEAP_STRING_JOIN

#define DUK_HEAP_STRING_JOIN (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JOIN)

Definition at line 1694 of file duktape.c.

◆ DUK_HEAP_STRING_JSON

#define DUK_HEAP_STRING_JSON (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON)

Definition at line 1622 of file duktape.c.

◆ DUK_HEAP_STRING_JSON_EXT_FUNCTION1

#define DUK_HEAP_STRING_JSON_EXT_FUNCTION1 (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_FUNCTION1)

Definition at line 1940 of file duktape.c.

◆ DUK_HEAP_STRING_JSON_EXT_FUNCTION2

#define DUK_HEAP_STRING_JSON_EXT_FUNCTION2 (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_FUNCTION2)

Definition at line 1943 of file duktape.c.

◆ DUK_HEAP_STRING_JSON_EXT_NAN

#define DUK_HEAP_STRING_JSON_EXT_NAN (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_NAN)

Definition at line 1931 of file duktape.c.

◆ DUK_HEAP_STRING_JSON_EXT_NEGINF

#define DUK_HEAP_STRING_JSON_EXT_NEGINF (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_NEGINF)

Definition at line 1937 of file duktape.c.

◆ DUK_HEAP_STRING_JSON_EXT_POSINF

#define DUK_HEAP_STRING_JSON_EXT_POSINF (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_POSINF)

Definition at line 1934 of file duktape.c.

◆ DUK_HEAP_STRING_JSON_EXT_UNDEFINED

#define DUK_HEAP_STRING_JSON_EXT_UNDEFINED (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JSON_EXT_UNDEFINED)

Definition at line 1928 of file duktape.c.

◆ DUK_HEAP_STRING_JX

#define DUK_HEAP_STRING_JX (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_JX)

Definition at line 1922 of file duktape.c.

◆ DUK_HEAP_STRING_LAST_INDEX

#define DUK_HEAP_STRING_LAST_INDEX (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LAST_INDEX)

Definition at line 1721 of file duktape.c.

◆ DUK_HEAP_STRING_LC_ARGUMENTS

#define DUK_HEAP_STRING_LC_ARGUMENTS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_ARGUMENTS)

Definition at line 1781 of file duktape.c.

◆ DUK_HEAP_STRING_LC_BOOLEAN

#define DUK_HEAP_STRING_LC_BOOLEAN (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_BOOLEAN)

Definition at line 1739 of file duktape.c.

◆ DUK_HEAP_STRING_LC_BUFFER

#define DUK_HEAP_STRING_LC_BUFFER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_BUFFER)

Definition at line 1838 of file duktape.c.

◆ DUK_HEAP_STRING_LC_FUNCTION

#define DUK_HEAP_STRING_LC_FUNCTION (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_FUNCTION)

Definition at line 1979 of file duktape.c.

◆ DUK_HEAP_STRING_LC_NULL

#define DUK_HEAP_STRING_LC_NULL (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_NULL)

Definition at line 2045 of file duktape.c.

◆ DUK_HEAP_STRING_LC_NUMBER

#define DUK_HEAP_STRING_LC_NUMBER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_NUMBER)

Definition at line 1742 of file duktape.c.

◆ DUK_HEAP_STRING_LC_OBJECT

#define DUK_HEAP_STRING_LC_OBJECT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_OBJECT)

Definition at line 1751 of file duktape.c.

◆ DUK_HEAP_STRING_LC_POINTER

#define DUK_HEAP_STRING_LC_POINTER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_POINTER)

Definition at line 1865 of file duktape.c.

◆ DUK_HEAP_STRING_LC_STRING

#define DUK_HEAP_STRING_LC_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_STRING)

Definition at line 1745 of file duktape.c.

◆ DUK_HEAP_STRING_LC_SYMBOL

#define DUK_HEAP_STRING_LC_SYMBOL (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_SYMBOL)

Definition at line 1748 of file duktape.c.

◆ DUK_HEAP_STRING_LC_UNDEFINED

#define DUK_HEAP_STRING_LC_UNDEFINED (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LC_UNDEFINED)

Definition at line 1754 of file duktape.c.

◆ DUK_HEAP_STRING_LENGTH

#define DUK_HEAP_STRING_LENGTH (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LENGTH)

Definition at line 1841 of file duktape.c.

◆ DUK_HEAP_STRING_LET

#define DUK_HEAP_STRING_LET (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LET)

Definition at line 2060 of file duktape.c.

◆ DUK_HEAP_STRING_LINE_NUMBER

#define DUK_HEAP_STRING_LINE_NUMBER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_LINE_NUMBER)

Definition at line 1853 of file duktape.c.

◆ DUK_HEAP_STRING_MATH

#define DUK_HEAP_STRING_MATH (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MATH)

Definition at line 1619 of file duktape.c.

◆ DUK_HEAP_STRING_MESSAGE

#define DUK_HEAP_STRING_MESSAGE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MESSAGE)

Definition at line 1736 of file duktape.c.

◆ DUK_HEAP_STRING_MINUS_INFINITY

#define DUK_HEAP_STRING_MINUS_INFINITY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MINUS_INFINITY)

Definition at line 1763 of file duktape.c.

◆ DUK_HEAP_STRING_MINUS_ZERO

#define DUK_HEAP_STRING_MINUS_ZERO (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MINUS_ZERO)

Definition at line 1766 of file duktape.c.

◆ DUK_HEAP_STRING_MULTILINE

#define DUK_HEAP_STRING_MULTILINE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_MULTILINE)

Definition at line 1718 of file duktape.c.

◆ DUK_HEAP_STRING_NAME

#define DUK_HEAP_STRING_NAME (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NAME)

Definition at line 1859 of file duktape.c.

◆ DUK_HEAP_STRING_NAN

#define DUK_HEAP_STRING_NAN (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NAN)

Definition at line 1757 of file duktape.c.

◆ DUK_HEAP_STRING_NEW

#define DUK_HEAP_STRING_NEW (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NEW)

Definition at line 1991 of file duktape.c.

◆ DUK_HEAP_STRING_NEWLINE_4SPACE

#define DUK_HEAP_STRING_NEWLINE_4SPACE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_NEWLINE_4SPACE)

Definition at line 1772 of file duktape.c.

◆ DUK_HEAP_STRING_OBJ_ENV

#define DUK_HEAP_STRING_OBJ_ENV (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_OBJ_ENV)

Definition at line 1664 of file duktape.c.

◆ DUK_HEAP_STRING_OWN_KEYS

#define DUK_HEAP_STRING_OWN_KEYS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_OWN_KEYS)

Definition at line 1805 of file duktape.c.

◆ DUK_HEAP_STRING_PACKAGE

#define DUK_HEAP_STRING_PACKAGE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PACKAGE)

Definition at line 2063 of file duktape.c.

◆ DUK_HEAP_STRING_PC

#define DUK_HEAP_STRING_PC (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PC)

Definition at line 1850 of file duktape.c.

◆ DUK_HEAP_STRING_PRIVATE

#define DUK_HEAP_STRING_PRIVATE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PRIVATE)

Definition at line 2066 of file duktape.c.

◆ DUK_HEAP_STRING_PROTECTED

#define DUK_HEAP_STRING_PROTECTED (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PROTECTED)

Definition at line 2069 of file duktape.c.

◆ DUK_HEAP_STRING_PROTOTYPE

#define DUK_HEAP_STRING_PROTOTYPE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PROTOTYPE)

Definition at line 1730 of file duktape.c.

◆ DUK_HEAP_STRING_PUBLIC

#define DUK_HEAP_STRING_PUBLIC (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_PUBLIC)

Definition at line 2072 of file duktape.c.

◆ DUK_HEAP_STRING_REG_EXP

#define DUK_HEAP_STRING_REG_EXP (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_REG_EXP)

Definition at line 1613 of file duktape.c.

◆ DUK_HEAP_STRING_RETURN

#define DUK_HEAP_STRING_RETURN (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_RETURN)

Definition at line 1994 of file duktape.c.

◆ DUK_HEAP_STRING_SET

#define DUK_HEAP_STRING_SET (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SET)

Definition at line 1844 of file duktape.c.

◆ DUK_HEAP_STRING_SET_PROTOTYPE_OF

#define DUK_HEAP_STRING_SET_PROTOTYPE_OF (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SET_PROTOTYPE_OF)

Definition at line 1820 of file duktape.c.

◆ DUK_HEAP_STRING_SOURCE

#define DUK_HEAP_STRING_SOURCE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SOURCE)

Definition at line 1712 of file duktape.c.

◆ DUK_HEAP_STRING_STACK

#define DUK_HEAP_STRING_STACK (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_STACK)

Definition at line 1847 of file duktape.c.

◆ DUK_HEAP_STRING_STATIC

#define DUK_HEAP_STRING_STATIC (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_STATIC)

Definition at line 2075 of file duktape.c.

◆ DUK_HEAP_STRING_SUPER

#define DUK_HEAP_STRING_SUPER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SUPER)

Definition at line 2042 of file duktape.c.

◆ DUK_HEAP_STRING_SWITCH

#define DUK_HEAP_STRING_SWITCH (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_SWITCH)

Definition at line 1997 of file duktape.c.

◆ DUK_HEAP_STRING_THIS

#define DUK_HEAP_STRING_THIS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_THIS)

Definition at line 2000 of file duktape.c.

◆ DUK_HEAP_STRING_THROW

#define DUK_HEAP_STRING_THROW (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_THROW)

Definition at line 2003 of file duktape.c.

◆ DUK_HEAP_STRING_TO_GMT_STRING

#define DUK_HEAP_STRING_TO_GMT_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_GMT_STRING)

Definition at line 1709 of file duktape.c.

◆ DUK_HEAP_STRING_TO_ISO_STRING

#define DUK_HEAP_STRING_TO_ISO_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_ISO_STRING)

Definition at line 1706 of file duktape.c.

◆ DUK_HEAP_STRING_TO_JSON

#define DUK_HEAP_STRING_TO_JSON (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_JSON)

Definition at line 1829 of file duktape.c.

◆ DUK_HEAP_STRING_TO_LOCALE_STRING

#define DUK_HEAP_STRING_TO_LOCALE_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_LOCALE_STRING)

Definition at line 1697 of file duktape.c.

◆ DUK_HEAP_STRING_TO_STRING

#define DUK_HEAP_STRING_TO_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_STRING)

Definition at line 1826 of file duktape.c.

◆ DUK_HEAP_STRING_TO_UTC_STRING

#define DUK_HEAP_STRING_TO_UTC_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TO_UTC_STRING)

Definition at line 1703 of file duktape.c.

◆ DUK_HEAP_STRING_TRUE

#define DUK_HEAP_STRING_TRUE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TRUE)

Definition at line 2048 of file duktape.c.

◆ DUK_HEAP_STRING_TRY

#define DUK_HEAP_STRING_TRY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TRY)

Definition at line 2006 of file duktape.c.

◆ DUK_HEAP_STRING_TYPE

#define DUK_HEAP_STRING_TYPE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TYPE)

Definition at line 1832 of file duktape.c.

◆ DUK_HEAP_STRING_TYPEOF

#define DUK_HEAP_STRING_TYPEOF (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_TYPEOF)

Definition at line 2009 of file duktape.c.

◆ DUK_HEAP_STRING_UC_ARGUMENTS

#define DUK_HEAP_STRING_UC_ARGUMENTS (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_ARGUMENTS)

Definition at line 1589 of file duktape.c.

◆ DUK_HEAP_STRING_UC_ARRAY

#define DUK_HEAP_STRING_UC_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_ARRAY)

Definition at line 1598 of file duktape.c.

◆ DUK_HEAP_STRING_UC_BOOLEAN

#define DUK_HEAP_STRING_UC_BOOLEAN (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_BOOLEAN)

Definition at line 1604 of file duktape.c.

◆ DUK_HEAP_STRING_UC_BUFFER

#define DUK_HEAP_STRING_UC_BUFFER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_BUFFER)

Definition at line 1670 of file duktape.c.

◆ DUK_HEAP_STRING_UC_DATE

#define DUK_HEAP_STRING_UC_DATE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_DATE)

Definition at line 1610 of file duktape.c.

◆ DUK_HEAP_STRING_UC_ERROR

#define DUK_HEAP_STRING_UC_ERROR (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_ERROR)

Definition at line 1616 of file duktape.c.

◆ DUK_HEAP_STRING_UC_FUNCTION

#define DUK_HEAP_STRING_UC_FUNCTION (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_FUNCTION)

Definition at line 1595 of file duktape.c.

◆ DUK_HEAP_STRING_UC_NULL

#define DUK_HEAP_STRING_UC_NULL (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_NULL)

Definition at line 1583 of file duktape.c.

◆ DUK_HEAP_STRING_UC_NUMBER

#define DUK_HEAP_STRING_UC_NUMBER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_NUMBER)

Definition at line 1607 of file duktape.c.

◆ DUK_HEAP_STRING_UC_OBJECT

#define DUK_HEAP_STRING_UC_OBJECT (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_OBJECT)

Definition at line 1592 of file duktape.c.

◆ DUK_HEAP_STRING_UC_POINTER

#define DUK_HEAP_STRING_UC_POINTER (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_POINTER)

Definition at line 1673 of file duktape.c.

◆ DUK_HEAP_STRING_UC_STRING

#define DUK_HEAP_STRING_UC_STRING (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_STRING)

Definition at line 1601 of file duktape.c.

◆ DUK_HEAP_STRING_UC_SYMBOL

#define DUK_HEAP_STRING_UC_SYMBOL (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_SYMBOL)

Definition at line 1586 of file duktape.c.

◆ DUK_HEAP_STRING_UC_THREAD

#define DUK_HEAP_STRING_UC_THREAD (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_THREAD)

Definition at line 1676 of file duktape.c.

◆ DUK_HEAP_STRING_UC_UNDEFINED

#define DUK_HEAP_STRING_UC_UNDEFINED (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UC_UNDEFINED)

Definition at line 1580 of file duktape.c.

◆ DUK_HEAP_STRING_UINT16_ARRAY

#define DUK_HEAP_STRING_UINT16_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT16_ARRAY)

Definition at line 1646 of file duktape.c.

◆ DUK_HEAP_STRING_UINT32_ARRAY

#define DUK_HEAP_STRING_UINT32_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT32_ARRAY)

Definition at line 1652 of file duktape.c.

◆ DUK_HEAP_STRING_UINT8_ARRAY

#define DUK_HEAP_STRING_UINT8_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT8_ARRAY)

Definition at line 1637 of file duktape.c.

◆ DUK_HEAP_STRING_UINT8_CLAMPED_ARRAY

#define DUK_HEAP_STRING_UINT8_CLAMPED_ARRAY (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_UINT8_CLAMPED_ARRAY)

Definition at line 1640 of file duktape.c.

◆ DUK_HEAP_STRING_VALUE

#define DUK_HEAP_STRING_VALUE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VALUE)

Definition at line 1682 of file duktape.c.

◆ DUK_HEAP_STRING_VALUE_OF

#define DUK_HEAP_STRING_VALUE_OF (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VALUE_OF)

Definition at line 1700 of file duktape.c.

◆ DUK_HEAP_STRING_VAR

#define DUK_HEAP_STRING_VAR (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VAR)

Definition at line 2012 of file duktape.c.

◆ DUK_HEAP_STRING_VOID

#define DUK_HEAP_STRING_VOID (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_VOID)

Definition at line 2018 of file duktape.c.

◆ DUK_HEAP_STRING_WELLKNOWN_SYMBOL_HAS_INSTANCE

#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_HAS_INSTANCE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_HAS_INSTANCE)

Definition at line 1811 of file duktape.c.

◆ DUK_HEAP_STRING_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE

#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE)

Definition at line 1817 of file duktape.c.

◆ DUK_HEAP_STRING_WELLKNOWN_SYMBOL_TO_PRIMITIVE

#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_TO_PRIMITIVE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_PRIMITIVE)

Definition at line 1808 of file duktape.c.

◆ DUK_HEAP_STRING_WELLKNOWN_SYMBOL_TO_STRING_TAG

#define DUK_HEAP_STRING_WELLKNOWN_SYMBOL_TO_STRING_TAG (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_STRING_TAG)

Definition at line 1814 of file duktape.c.

◆ DUK_HEAP_STRING_WHILE

#define DUK_HEAP_STRING_WHILE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WHILE)

Definition at line 2021 of file duktape.c.

◆ DUK_HEAP_STRING_WITH

#define DUK_HEAP_STRING_WITH (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WITH)

Definition at line 2024 of file duktape.c.

◆ DUK_HEAP_STRING_WRITABLE

#define DUK_HEAP_STRING_WRITABLE (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_WRITABLE)

Definition at line 1685 of file duktape.c.

◆ DUK_HEAP_STRING_YIELD

#define DUK_HEAP_STRING_YIELD (   heap)    DUK_HEAP_GET_STRING((heap),DUK_STRIDX_YIELD)

Definition at line 2078 of file duktape.c.

◆ DUK_HEAP_STRINGCACHE_NOCACHE_LIMIT

#define DUK_HEAP_STRINGCACHE_NOCACHE_LIMIT   16 /* strings up to the this length are not cached */

Definition at line 9100 of file duktape.c.

◆ DUK_HEAP_SWITCH_THREAD

#define DUK_HEAP_SWITCH_THREAD (   heap,
  newthr 
)    duk_heap_switch_thread((heap), (newthr))

Definition at line 9037 of file duktape.c.

◆ DUK_HEAPHDR_ASSERT_LINKS

#define DUK_HEAPHDR_ASSERT_LINKS (   heap,
 
)
Value:
do { \
} while (0)

Definition at line 4863 of file duktape.c.

◆ DUK_HEAPHDR_ASSERT_VALID

#define DUK_HEAPHDR_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 4866 of file duktape.c.

◆ DUK_HEAPHDR_CHECK_FLAG_BITS

#define DUK_HEAPHDR_CHECK_FLAG_BITS (   h,
  bits 
)    (((h)->h_flags & (bits)) != 0)

Definition at line 4780 of file duktape.c.

◆ DUK_HEAPHDR_CLEAR_FINALIZABLE

#define DUK_HEAPHDR_CLEAR_FINALIZABLE (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZABLE)

Definition at line 4791 of file duktape.c.

◆ DUK_HEAPHDR_CLEAR_FINALIZED

#define DUK_HEAPHDR_CLEAR_FINALIZED (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZED)

Definition at line 4795 of file duktape.c.

◆ DUK_HEAPHDR_CLEAR_FLAG_BITS

#define DUK_HEAPHDR_CLEAR_FLAG_BITS (   h,
  bits 
)
Value:
do { \
DUK_ASSERT(((bits) & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) == 0); \
(h)->h_flags &= ~((bits)); \
} while (0)
#define DUK_HEAPHDR_FLAGS_FLAG_MASK
Definition: duktape.c:4670

Definition at line 4774 of file duktape.c.

◆ DUK_HEAPHDR_CLEAR_REACHABLE

#define DUK_HEAPHDR_CLEAR_REACHABLE (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_REACHABLE)

Definition at line 4783 of file duktape.c.

◆ DUK_HEAPHDR_CLEAR_READONLY

#define DUK_HEAPHDR_CLEAR_READONLY (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_READONLY)

Definition at line 4799 of file duktape.c.

◆ DUK_HEAPHDR_CLEAR_TEMPROOT

#define DUK_HEAPHDR_CLEAR_TEMPROOT (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS((h), DUK_HEAPHDR_FLAG_TEMPROOT)

Definition at line 4787 of file duktape.c.

◆ DUK_HEAPHDR_DECREF

#define DUK_HEAPHDR_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *)

Definition at line 5045 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_ALLOWNULL

#define DUK_HEAPHDR_DECREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HEAPHDR_DECREF((thr), (duk_heaphdr *) (h)); \
} \
} while (0)

Definition at line 5109 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_FAST

#define DUK_HEAPHDR_DECREF_FAST (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero, duk_heaphdr *)

Definition at line 4966 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_FAST_RAW

#define DUK_HEAPHDR_DECREF_FAST_RAW (   thr,
  h,
  rzcall,
  rzcast 
)
Value:
do { \
duk_heaphdr *duk__h = (duk_heaphdr *) (h); \
DUK_ASSERT(duk__h != NULL); \
DUK_ASSERT(DUK_HEAPHDR_HTYPE_VALID(duk__h)); \
DUK_ASSERT(DUK_HEAPHDR_GET_REFCOUNT(duk__h) > 0); \
if (DUK_HEAPHDR_PREDEC_REFCOUNT(duk__h) == 0) { \
(rzcall)((thr), (rzcast) duk__h); \
} \
} \
} while (0)
#define DUK_HEAPHDR_NEEDS_REFCOUNT_UPDATE(h)
Definition: duktape.c:4896

Definition at line 4954 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_NORZ

#define DUK_HEAPHDR_DECREF_NORZ (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero_norz, duk_heaphdr *)

Definition at line 5046 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_NORZ_ALLOWNULL

#define DUK_HEAPHDR_DECREF_NORZ_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HEAPHDR_DECREF_NORZ((thr), (duk_heaphdr *) (h)); \
} \
} while (0)

Definition at line 5115 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_NORZ_FAST

#define DUK_HEAPHDR_DECREF_NORZ_FAST (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_heaphdr_refzero_norz, duk_heaphdr *)

Definition at line 4967 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_NORZ_SLOW

#define DUK_HEAPHDR_DECREF_NORZ_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref_norz((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 4992 of file duktape.c.

◆ DUK_HEAPHDR_DECREF_SLOW

#define DUK_HEAPHDR_DECREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 4988 of file duktape.c.

◆ DUK_HEAPHDR_FLAG_FINALIZABLE

#define DUK_HEAPHDR_FLAG_FINALIZABLE   DUK_HEAPHDR_HEAP_FLAG(2) /* mark-and-sweep: finalizable (on current pass) */

Definition at line 4683 of file duktape.c.

◆ DUK_HEAPHDR_FLAG_FINALIZED

#define DUK_HEAPHDR_FLAG_FINALIZED   DUK_HEAPHDR_HEAP_FLAG(3) /* mark-and-sweep: finalized (on previous pass) */

Definition at line 4684 of file duktape.c.

◆ DUK_HEAPHDR_FLAG_REACHABLE

#define DUK_HEAPHDR_FLAG_REACHABLE   DUK_HEAPHDR_HEAP_FLAG(0) /* mark-and-sweep: reachable */

Definition at line 4681 of file duktape.c.

◆ DUK_HEAPHDR_FLAG_READONLY

#define DUK_HEAPHDR_FLAG_READONLY   DUK_HEAPHDR_HEAP_FLAG(4) /* read-only object, in code section */

Definition at line 4685 of file duktape.c.

◆ DUK_HEAPHDR_FLAG_TEMPROOT

#define DUK_HEAPHDR_FLAG_TEMPROOT   DUK_HEAPHDR_HEAP_FLAG(1) /* mark-and-sweep: children not processed */

Definition at line 4682 of file duktape.c.

◆ DUK_HEAPHDR_FLAGS_FLAG_MASK

#define DUK_HEAPHDR_FLAGS_FLAG_MASK   (~DUK_HEAPHDR_FLAGS_TYPE_MASK)

Definition at line 4670 of file duktape.c.

◆ DUK_HEAPHDR_FLAGS_HEAP_START

#define DUK_HEAPHDR_FLAGS_HEAP_START   2 /* 5 heap flags */

Definition at line 4673 of file duktape.c.

◆ DUK_HEAPHDR_FLAGS_TYPE_MASK

#define DUK_HEAPHDR_FLAGS_TYPE_MASK   0x00000003UL

Definition at line 4669 of file duktape.c.

◆ DUK_HEAPHDR_FLAGS_USER_START

#define DUK_HEAPHDR_FLAGS_USER_START   7 /* 25 user flags */

Definition at line 4674 of file duktape.c.

◆ DUK_HEAPHDR_GET_FLAG_RANGE

#define DUK_HEAPHDR_GET_FLAG_RANGE (   h,
  m,
 
)    (((h)->h_flags >> (m)) & ((1UL << (n)) - 1UL))

Definition at line 4803 of file duktape.c.

◆ DUK_HEAPHDR_GET_FLAGS

#define DUK_HEAPHDR_GET_FLAGS (   h)    ((h)->h_flags & DUK_HEAPHDR_FLAGS_FLAG_MASK)

Definition at line 4747 of file duktape.c.

◆ DUK_HEAPHDR_GET_FLAGS_RAW

#define DUK_HEAPHDR_GET_FLAGS_RAW (   h)    ((h)->h_flags)

Definition at line 4741 of file duktape.c.

◆ DUK_HEAPHDR_GET_NEXT

#define DUK_HEAPHDR_GET_NEXT (   heap,
 
)    ((h)->h_next)

Definition at line 4700 of file duktape.c.

◆ DUK_HEAPHDR_GET_PREV

#define DUK_HEAPHDR_GET_PREV (   heap,
 
)    ((h)->h_prev)

Definition at line 4715 of file duktape.c.

◆ DUK_HEAPHDR_GET_REFCOUNT

#define DUK_HEAPHDR_GET_REFCOUNT (   h)    ((h)->h_refcount)

Definition at line 4724 of file duktape.c.

◆ DUK_HEAPHDR_GET_TYPE

#define DUK_HEAPHDR_GET_TYPE (   h)    ((h)->h_flags & DUK_HEAPHDR_FLAGS_TYPE_MASK)

Definition at line 4752 of file duktape.c.

◆ DUK_HEAPHDR_H_INCLUDED

#define DUK_HEAPHDR_H_INCLUDED

Definition at line 4562 of file duktape.c.

◆ DUK_HEAPHDR_HAS_FINALIZABLE

#define DUK_HEAPHDR_HAS_FINALIZABLE (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZABLE)

Definition at line 4792 of file duktape.c.

◆ DUK_HEAPHDR_HAS_FINALIZED

#define DUK_HEAPHDR_HAS_FINALIZED (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZED)

Definition at line 4796 of file duktape.c.

◆ DUK_HEAPHDR_HAS_REACHABLE

#define DUK_HEAPHDR_HAS_REACHABLE (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_REACHABLE)

Definition at line 4784 of file duktape.c.

◆ DUK_HEAPHDR_HAS_READONLY

#define DUK_HEAPHDR_HAS_READONLY (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_READONLY)

Definition at line 4800 of file duktape.c.

◆ DUK_HEAPHDR_HAS_TEMPROOT

#define DUK_HEAPHDR_HAS_TEMPROOT (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS((h), DUK_HEAPHDR_FLAG_TEMPROOT)

Definition at line 4788 of file duktape.c.

◆ DUK_HEAPHDR_HEAP_FLAG

#define DUK_HEAPHDR_HEAP_FLAG (   n)    (1UL << (DUK_HEAPHDR_FLAGS_HEAP_START + (n)))

Definition at line 4678 of file duktape.c.

◆ DUK_HEAPHDR_HEAP_FLAG_NUMBER

#define DUK_HEAPHDR_HEAP_FLAG_NUMBER (   n)    (DUK_HEAPHDR_FLAGS_HEAP_START + (n))

Definition at line 4676 of file duktape.c.

◆ DUK_HEAPHDR_HTYPE_VALID

#define DUK_HEAPHDR_HTYPE_VALID (   h)    (DUK_HEAPHDR_GET_TYPE((h)) <= DUK_HTYPE_MAX)

Definition at line 4761 of file duktape.c.

◆ DUK_HEAPHDR_INCREF

#define DUK_HEAPHDR_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF_FAST((thr), (h))

Definition at line 5044 of file duktape.c.

◆ DUK_HEAPHDR_INCREF_ALLOWNULL

#define DUK_HEAPHDR_INCREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h)); \
} \
} while (0)

Definition at line 5103 of file duktape.c.

◆ DUK_HEAPHDR_INCREF_FAST

#define DUK_HEAPHDR_INCREF_FAST (   thr,
 
)
Value:
do { \
duk_heaphdr *duk__h = (duk_heaphdr *) (h); \
DUK_ASSERT(duk__h != NULL); \
DUK_ASSERT(DUK_HEAPHDR_HTYPE_VALID(duk__h)); \
DUK_HEAPHDR_PREINC_REFCOUNT(duk__h); \
DUK_ASSERT(DUK_HEAPHDR_GET_REFCOUNT(duk__h) != 0); /* No wrapping. */ \
} \
} while (0)

Definition at line 4944 of file duktape.c.

◆ DUK_HEAPHDR_INCREF_SLOW

#define DUK_HEAPHDR_INCREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_incref((duk_heaphdr *) (h)); \
} while (0)

Definition at line 4984 of file duktape.c.

◆ DUK_HEAPHDR_INIT_NULLS

#define DUK_HEAPHDR_INIT_NULLS (   h)
Value:
do { \
DUK_HEAPHDR_SET_NEXT((h), (void *) NULL); \
DUK_HEAPHDR_SET_PREV((h), (void *) NULL); \
} while (0)

Definition at line 4812 of file duktape.c.

◆ DUK_HEAPHDR_IS_BUFFER

#define DUK_HEAPHDR_IS_BUFFER (   h)    (DUK_HEAPHDR_GET_TYPE((h)) == DUK_HTYPE_BUFFER)

Definition at line 4841 of file duktape.c.

◆ DUK_HEAPHDR_IS_OBJECT

#define DUK_HEAPHDR_IS_OBJECT (   h)    ((h)->h_flags & 0x01UL)

Definition at line 4839 of file duktape.c.

◆ DUK_HEAPHDR_IS_STRING

#define DUK_HEAPHDR_IS_STRING (   h)    (DUK_HEAPHDR_GET_TYPE((h)) == DUK_HTYPE_STRING)

Definition at line 4840 of file duktape.c.

◆ DUK_HEAPHDR_NEEDS_REFCOUNT_UPDATE

#define DUK_HEAPHDR_NEEDS_REFCOUNT_UPDATE (   h)    1

Definition at line 4896 of file duktape.c.

◆ DUK_HEAPHDR_PREDEC_REFCOUNT

#define DUK_HEAPHDR_PREDEC_REFCOUNT (   h)    (--(h)->h_refcount) /* result: updated refcount */

Definition at line 4731 of file duktape.c.

◆ DUK_HEAPHDR_PREINC_REFCOUNT

#define DUK_HEAPHDR_PREINC_REFCOUNT (   h)    (++(h)->h_refcount) /* result: updated refcount */

Definition at line 4730 of file duktape.c.

◆ DUK_HEAPHDR_SET_FINALIZABLE

#define DUK_HEAPHDR_SET_FINALIZABLE (   h)    DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZABLE)

Definition at line 4790 of file duktape.c.

◆ DUK_HEAPHDR_SET_FINALIZED

#define DUK_HEAPHDR_SET_FINALIZED (   h)    DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_FINALIZED)

Definition at line 4794 of file duktape.c.

◆ DUK_HEAPHDR_SET_FLAG_BITS

#define DUK_HEAPHDR_SET_FLAG_BITS (   h,
  bits 
)
Value:
do { \
DUK_ASSERT(((bits) & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) == 0); \
(h)->h_flags |= (bits); \
} while (0)

Definition at line 4768 of file duktape.c.

◆ DUK_HEAPHDR_SET_FLAG_RANGE

#define DUK_HEAPHDR_SET_FLAG_RANGE (   h,
  m,
  n,
 
)
Value:
do { \
(h)->h_flags = ((h)->h_flags & (~(((1UL << (n)) - 1UL) << (m)))) | ((v) << (m)); \
} while (0)

Definition at line 4805 of file duktape.c.

◆ DUK_HEAPHDR_SET_FLAGS

#define DUK_HEAPHDR_SET_FLAGS (   h,
  val 
)
Value:
do { \
(h)->h_flags = ((h)->h_flags & ~(DUK_HEAPHDR_FLAGS_FLAG_MASK)) | (val); \
} while (0)

Definition at line 4748 of file duktape.c.

◆ DUK_HEAPHDR_SET_FLAGS_RAW

#define DUK_HEAPHDR_SET_FLAGS_RAW (   h,
  val 
)
Value:
do { \
(h)->h_flags = (val); \
} \
}

Definition at line 4742 of file duktape.c.

◆ DUK_HEAPHDR_SET_NEXT

#define DUK_HEAPHDR_SET_NEXT (   heap,
  h,
  val 
)
Value:
do { \
(h)->h_next = (val); \
} while (0)

Definition at line 4701 of file duktape.c.

◆ DUK_HEAPHDR_SET_PREV

#define DUK_HEAPHDR_SET_PREV (   heap,
  h,
  val 
)
Value:
do { \
(h)->h_prev = (val); \
} while (0)

Definition at line 4716 of file duktape.c.

◆ DUK_HEAPHDR_SET_REACHABLE

#define DUK_HEAPHDR_SET_REACHABLE (   h)    DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_REACHABLE)

Definition at line 4782 of file duktape.c.

◆ DUK_HEAPHDR_SET_READONLY

#define DUK_HEAPHDR_SET_READONLY (   h)    DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_READONLY)

Definition at line 4798 of file duktape.c.

◆ DUK_HEAPHDR_SET_REFCOUNT

#define DUK_HEAPHDR_SET_REFCOUNT (   h,
  val 
)
Value:
do { \
(h)->h_refcount = (val); \
DUK_ASSERT((h)->h_refcount == (val)); /* No truncation. */ \
} while (0)

Definition at line 4725 of file duktape.c.

◆ DUK_HEAPHDR_SET_TEMPROOT

#define DUK_HEAPHDR_SET_TEMPROOT (   h)    DUK_HEAPHDR_SET_FLAG_BITS((h), DUK_HEAPHDR_FLAG_TEMPROOT)

Definition at line 4786 of file duktape.c.

◆ DUK_HEAPHDR_SET_TYPE

#define DUK_HEAPHDR_SET_TYPE (   h,
  val 
)
Value:
do { \
(h)->h_flags = ((h)->h_flags & ~(DUK_HEAPHDR_FLAGS_TYPE_MASK)) | (val); \
} while (0)
#define DUK_HEAPHDR_FLAGS_TYPE_MASK
Definition: duktape.c:4669

Definition at line 4753 of file duktape.c.

◆ DUK_HEAPHDR_SET_TYPE_AND_FLAGS

#define DUK_HEAPHDR_SET_TYPE_AND_FLAGS (   h,
  tval,
  fval 
)
Value:
do { \
(h)->h_flags = ((tval) &DUK_HEAPHDR_FLAGS_TYPE_MASK) | ((fval) &DUK_HEAPHDR_FLAGS_FLAG_MASK); \
} while (0)

Definition at line 4763 of file duktape.c.

◆ DUK_HEAPHDR_STRING_INIT_NULLS

#define DUK_HEAPHDR_STRING_INIT_NULLS (   h)
Value:
do { \
(h)->h_next = NULL; \
} while (0)

Definition at line 4824 of file duktape.c.

◆ DUK_HEAPHDR_USER_FLAG

#define DUK_HEAPHDR_USER_FLAG (   n)    (1UL << (DUK_HEAPHDR_FLAGS_USER_START + (n)))

Definition at line 4679 of file duktape.c.

◆ DUK_HEAPHDR_USER_FLAG_NUMBER

#define DUK_HEAPHDR_USER_FLAG_NUMBER (   n)    (DUK_HEAPHDR_FLAGS_USER_START + (n))

Definition at line 4677 of file duktape.c.

◆ DUK_HENV_H_INCLUDED

#define DUK_HENV_H_INCLUDED

Definition at line 8511 of file duktape.c.

◆ DUK_HNATFUNC_ASSERT_VALID

#define DUK_HNATFUNC_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 7812 of file duktape.c.

◆ DUK_HNATFUNC_DECREF

#define DUK_HNATFUNC_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)

Definition at line 5062 of file duktape.c.

◆ DUK_HNATFUNC_DECREF_NORZ

#define DUK_HNATFUNC_DECREF_NORZ (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)

Definition at line 5063 of file duktape.c.

◆ DUK_HNATFUNC_H_INCLUDED

#define DUK_HNATFUNC_H_INCLUDED

Definition at line 7803 of file duktape.c.

◆ DUK_HNATFUNC_INCREF

#define DUK_HNATFUNC_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)

Definition at line 5061 of file duktape.c.

◆ DUK_HNATFUNC_NARGS_MAX

#define DUK_HNATFUNC_NARGS_MAX   ((duk_int16_t) 0x7fff)

Definition at line 7818 of file duktape.c.

◆ DUK_HNATFUNC_NARGS_VARARGS

#define DUK_HNATFUNC_NARGS_VARARGS   ((duk_int16_t) -1)

Definition at line 7817 of file duktape.c.

◆ DUK_HOBJECT_A_GET_BASE

#define DUK_HOBJECT_A_GET_BASE (   heap,
 
)
Value:
((duk_tval *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + \
DUK_HOBJECT_GET_ESIZE((h)) * \
(sizeof(duk_hstring *) + sizeof(duk_propvalue) + sizeof(duk_uint8_t)) + \
DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h)))))
#define DUK_HOBJECT_GET_PROPS(heap, h)
Definition: duktape.c:6893
#define DUK_HOBJECT_GET_ESIZE(h)
Definition: duktape.c:7127

Definition at line 6945 of file duktape.c.

◆ DUK_HOBJECT_A_GET_VALUE

#define DUK_HOBJECT_A_GET_VALUE (   heap,
  h,
 
)    (DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)])

Definition at line 7015 of file duktape.c.

◆ DUK_HOBJECT_A_GET_VALUE_PTR

#define DUK_HOBJECT_A_GET_VALUE_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_A_GET_BASE((heap), (h))[(i)])

Definition at line 7016 of file duktape.c.

◆ DUK_HOBJECT_A_SET_VALUE

#define DUK_HOBJECT_A_SET_VALUE (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_A_GET_VALUE((heap), (h), (i)) = (v); \
} while (0)

Definition at line 7044 of file duktape.c.

◆ DUK_HOBJECT_A_SET_VALUE_TVAL

#define DUK_HOBJECT_A_SET_VALUE_TVAL (   heap,
  h,
  i,
 
)    DUK_HOBJECT_A_SET_VALUE((heap), (h), (i), (v)) /* alias for above */

Definition at line 7048 of file duktape.c.

◆ DUK_HOBJECT_ALIGN_TARGET

#define DUK_HOBJECT_ALIGN_TARGET   8

Definition at line 7242 of file duktape.c.

◆ DUK_HOBJECT_ALLOWS_FASTREFS

#define DUK_HOBJECT_ALLOWS_FASTREFS (   h)    (!DUK_HOBJECT_PROHIBITS_FASTREFS((h)))

Definition at line 6831 of file duktape.c.

◆ DUK_HOBJECT_ASSERT_VALID

#define DUK_HOBJECT_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 6877 of file duktape.c.

◆ DUK_HOBJECT_CLASS_ARGUMENTS

#define DUK_HOBJECT_CLASS_ARGUMENTS   4

Definition at line 6639 of file duktape.c.

◆ DUK_HOBJECT_CLASS_ARRAY

#define DUK_HOBJECT_CLASS_ARRAY   2

Definition at line 6637 of file duktape.c.

◆ DUK_HOBJECT_CLASS_ARRAYBUFFER

#define DUK_HOBJECT_CLASS_ARRAYBUFFER   19 /* implies DUK_HOBJECT_IS_BUFOBJ */

Definition at line 6655 of file duktape.c.

◆ DUK_HOBJECT_CLASS_AS_FLAGS

#define DUK_HOBJECT_CLASS_AS_FLAGS (   v)    (((duk_uint_t) (v)) << DUK_HOBJECT_FLAG_CLASS_BASE)

Definition at line 6632 of file duktape.c.

◆ DUK_HOBJECT_CLASS_BOOLEAN

#define DUK_HOBJECT_CLASS_BOOLEAN   5

Definition at line 6640 of file duktape.c.

◆ DUK_HOBJECT_CLASS_BUFOBJ_MAX

#define DUK_HOBJECT_CLASS_BUFOBJ_MAX   29

Definition at line 6666 of file duktape.c.

◆ DUK_HOBJECT_CLASS_BUFOBJ_MIN

#define DUK_HOBJECT_CLASS_BUFOBJ_MIN   19

Definition at line 6654 of file duktape.c.

◆ DUK_HOBJECT_CLASS_DATAVIEW

#define DUK_HOBJECT_CLASS_DATAVIEW   20

Definition at line 6656 of file duktape.c.

◆ DUK_HOBJECT_CLASS_DATE

#define DUK_HOBJECT_CLASS_DATE   6

Definition at line 6641 of file duktape.c.

◆ DUK_HOBJECT_CLASS_DECENV

#define DUK_HOBJECT_CLASS_DECENV   16 /* custom */

Definition at line 6651 of file duktape.c.

◆ DUK_HOBJECT_CLASS_ERROR

#define DUK_HOBJECT_CLASS_ERROR   7

Definition at line 6642 of file duktape.c.

◆ DUK_HOBJECT_CLASS_FLOAT32ARRAY

#define DUK_HOBJECT_CLASS_FLOAT32ARRAY   28

Definition at line 6664 of file duktape.c.

◆ DUK_HOBJECT_CLASS_FLOAT64ARRAY

#define DUK_HOBJECT_CLASS_FLOAT64ARRAY   29

Definition at line 6665 of file duktape.c.

◆ DUK_HOBJECT_CLASS_FUNCTION

#define DUK_HOBJECT_CLASS_FUNCTION   3

Definition at line 6638 of file duktape.c.

◆ DUK_HOBJECT_CLASS_GLOBAL

#define DUK_HOBJECT_CLASS_GLOBAL   13

Definition at line 6648 of file duktape.c.

◆ DUK_HOBJECT_CLASS_INT16ARRAY

#define DUK_HOBJECT_CLASS_INT16ARRAY   24

Definition at line 6660 of file duktape.c.

◆ DUK_HOBJECT_CLASS_INT32ARRAY

#define DUK_HOBJECT_CLASS_INT32ARRAY   26

Definition at line 6662 of file duktape.c.

◆ DUK_HOBJECT_CLASS_INT8ARRAY

#define DUK_HOBJECT_CLASS_INT8ARRAY   21

Definition at line 6657 of file duktape.c.

◆ DUK_HOBJECT_CLASS_JSON

#define DUK_HOBJECT_CLASS_JSON   8

Definition at line 6643 of file duktape.c.

◆ DUK_HOBJECT_CLASS_MATH

#define DUK_HOBJECT_CLASS_MATH   9

Definition at line 6644 of file duktape.c.

◆ DUK_HOBJECT_CLASS_MAX

#define DUK_HOBJECT_CLASS_MAX   29

Definition at line 6667 of file duktape.c.

◆ DUK_HOBJECT_CLASS_NONE

#define DUK_HOBJECT_CLASS_NONE   0

Definition at line 6635 of file duktape.c.

◆ DUK_HOBJECT_CLASS_NUMBER

#define DUK_HOBJECT_CLASS_NUMBER   10

Definition at line 6645 of file duktape.c.

◆ DUK_HOBJECT_CLASS_NUMBER_TO_STRIDX

#define DUK_HOBJECT_CLASS_NUMBER_TO_STRIDX (   n)    duk_class_number_to_stridx[(n)]

Definition at line 7172 of file duktape.c.

◆ DUK_HOBJECT_CLASS_OBJECT

#define DUK_HOBJECT_CLASS_OBJECT   1

Definition at line 6636 of file duktape.c.

◆ DUK_HOBJECT_CLASS_OBJENV

#define DUK_HOBJECT_CLASS_OBJENV   15 /* custom */

Definition at line 6650 of file duktape.c.

◆ DUK_HOBJECT_CLASS_POINTER

#define DUK_HOBJECT_CLASS_POINTER   17 /* custom */

Definition at line 6652 of file duktape.c.

◆ DUK_HOBJECT_CLASS_REGEXP

#define DUK_HOBJECT_CLASS_REGEXP   11

Definition at line 6646 of file duktape.c.

◆ DUK_HOBJECT_CLASS_STRING

#define DUK_HOBJECT_CLASS_STRING   12

Definition at line 6647 of file duktape.c.

◆ DUK_HOBJECT_CLASS_SYMBOL

#define DUK_HOBJECT_CLASS_SYMBOL   14

Definition at line 6649 of file duktape.c.

◆ DUK_HOBJECT_CLASS_THREAD

#define DUK_HOBJECT_CLASS_THREAD   18 /* custom; implies DUK_HOBJECT_IS_THREAD */

Definition at line 6653 of file duktape.c.

◆ DUK_HOBJECT_CLASS_UINT16ARRAY

#define DUK_HOBJECT_CLASS_UINT16ARRAY   25

Definition at line 6661 of file duktape.c.

◆ DUK_HOBJECT_CLASS_UINT32ARRAY

#define DUK_HOBJECT_CLASS_UINT32ARRAY   27

Definition at line 6663 of file duktape.c.

◆ DUK_HOBJECT_CLASS_UINT8ARRAY

#define DUK_HOBJECT_CLASS_UINT8ARRAY   22

Definition at line 6658 of file duktape.c.

◆ DUK_HOBJECT_CLASS_UINT8CLAMPEDARRAY

#define DUK_HOBJECT_CLASS_UINT8CLAMPEDARRAY   23

Definition at line 6659 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_ARRAY_PART

#define DUK_HOBJECT_CLEAR_ARRAY_PART (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_ARRAY_PART)

Definition at line 6809 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_BOUNDFUNC

#define DUK_HOBJECT_CLEAR_BOUNDFUNC (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)

Definition at line 6802 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_BUFOBJ

#define DUK_HOBJECT_CLEAR_BUFOBJ (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)

Definition at line 6806 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_CALLABLE

#define DUK_HOBJECT_CLEAR_CALLABLE (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CALLABLE)

Definition at line 6801 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_COMPFUNC

#define DUK_HOBJECT_CLEAR_COMPFUNC (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)

Definition at line 6803 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_CONSTRUCTABLE

#define DUK_HOBJECT_CLEAR_CONSTRUCTABLE (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CONSTRUCTABLE)

Definition at line 6800 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_CREATEARGS

#define DUK_HOBJECT_CLEAR_CREATEARGS (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CREATEARGS)

Definition at line 6814 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_EXOTIC_ARGUMENTS

#define DUK_HOBJECT_CLEAR_EXOTIC_ARGUMENTS (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS)

Definition at line 6818 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_EXOTIC_ARRAY

#define DUK_HOBJECT_CLEAR_EXOTIC_ARRAY (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARRAY)

Definition at line 6816 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_EXOTIC_PROXYOBJ

#define DUK_HOBJECT_CLEAR_EXOTIC_PROXYOBJ (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ)

Definition at line 6820 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_EXOTIC_STRINGOBJ

#define DUK_HOBJECT_CLEAR_EXOTIC_STRINGOBJ (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ)

Definition at line 6817 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_EXTENSIBLE

#define DUK_HOBJECT_CLEAR_EXTENSIBLE (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXTENSIBLE)

Definition at line 6799 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_FASTREFS

#define DUK_HOBJECT_CLEAR_FASTREFS (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_FASTREFS)

Definition at line 6808 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_HAVE_FINALIZER

#define DUK_HOBJECT_CLEAR_HAVE_FINALIZER (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_HAVE_FINALIZER)

Definition at line 6815 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_NAMEBINDING

#define DUK_HOBJECT_CLEAR_NAMEBINDING (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NAMEBINDING)

Definition at line 6813 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_NATFUNC

#define DUK_HOBJECT_CLEAR_NATFUNC (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)

Definition at line 6804 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_NEWENV

#define DUK_HOBJECT_CLEAR_NEWENV (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NEWENV)

Definition at line 6812 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_NOTAIL

#define DUK_HOBJECT_CLEAR_NOTAIL (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NOTAIL)

Definition at line 6811 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_SPECIAL_CALL

#define DUK_HOBJECT_CLEAR_SPECIAL_CALL (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_SPECIAL_CALL)

Definition at line 6822 of file duktape.c.

◆ DUK_HOBJECT_CLEAR_STRICT

#define DUK_HOBJECT_CLEAR_STRICT (   h)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT)

Definition at line 6810 of file duktape.c.

◆ DUK_HOBJECT_CMASK_ALL

#define DUK_HOBJECT_CMASK_ALL   ((1UL << (DUK_HOBJECT_CLASS_MAX + 1)) - 1UL)

Definition at line 6670 of file duktape.c.

◆ DUK_HOBJECT_CMASK_ALL_BUFOBJS

#define DUK_HOBJECT_CMASK_ALL_BUFOBJS
Value:
DUK_HOBJECT_CMASK_UINT8CLAMPEDARRAY | DUK_HOBJECT_CMASK_INT16ARRAY | DUK_HOBJECT_CMASK_UINT16ARRAY | \
DUK_HOBJECT_CMASK_FLOAT64ARRAY)
#define DUK_HOBJECT_CMASK_INT16ARRAY
Definition: duktape.c:6694
#define DUK_HOBJECT_CMASK_ARRAYBUFFER
Definition: duktape.c:6689
#define DUK_HOBJECT_CMASK_FLOAT32ARRAY
Definition: duktape.c:6698
#define DUK_HOBJECT_CMASK_INT8ARRAY
Definition: duktape.c:6691
#define DUK_HOBJECT_CMASK_DATAVIEW
Definition: duktape.c:6690
#define DUK_HOBJECT_CMASK_UINT16ARRAY
Definition: duktape.c:6695
#define DUK_HOBJECT_CMASK_UINT8ARRAY
Definition: duktape.c:6692
#define DUK_HOBJECT_CMASK_UINT32ARRAY
Definition: duktape.c:6697

Definition at line 6701 of file duktape.c.

◆ DUK_HOBJECT_CMASK_ARGUMENTS

#define DUK_HOBJECT_CMASK_ARGUMENTS   (1UL << DUK_HOBJECT_CLASS_ARGUMENTS)

Definition at line 6672 of file duktape.c.

◆ DUK_HOBJECT_CMASK_ARRAY

#define DUK_HOBJECT_CMASK_ARRAY   (1UL << DUK_HOBJECT_CLASS_ARRAY)

Definition at line 6673 of file duktape.c.

◆ DUK_HOBJECT_CMASK_ARRAYBUFFER

#define DUK_HOBJECT_CMASK_ARRAYBUFFER   (1UL << DUK_HOBJECT_CLASS_ARRAYBUFFER)

Definition at line 6689 of file duktape.c.

◆ DUK_HOBJECT_CMASK_BOOLEAN

#define DUK_HOBJECT_CMASK_BOOLEAN   (1UL << DUK_HOBJECT_CLASS_BOOLEAN)

Definition at line 6674 of file duktape.c.

◆ DUK_HOBJECT_CMASK_DATAVIEW

#define DUK_HOBJECT_CMASK_DATAVIEW   (1UL << DUK_HOBJECT_CLASS_DATAVIEW)

Definition at line 6690 of file duktape.c.

◆ DUK_HOBJECT_CMASK_DATE

#define DUK_HOBJECT_CMASK_DATE   (1UL << DUK_HOBJECT_CLASS_DATE)

Definition at line 6675 of file duktape.c.

◆ DUK_HOBJECT_CMASK_DECENV

#define DUK_HOBJECT_CMASK_DECENV   (1UL << DUK_HOBJECT_CLASS_DECENV)

Definition at line 6687 of file duktape.c.

◆ DUK_HOBJECT_CMASK_ERROR

#define DUK_HOBJECT_CMASK_ERROR   (1UL << DUK_HOBJECT_CLASS_ERROR)

Definition at line 6676 of file duktape.c.

◆ DUK_HOBJECT_CMASK_FLOAT32ARRAY

#define DUK_HOBJECT_CMASK_FLOAT32ARRAY   (1UL << DUK_HOBJECT_CLASS_FLOAT32ARRAY)

Definition at line 6698 of file duktape.c.

◆ DUK_HOBJECT_CMASK_FLOAT64ARRAY

#define DUK_HOBJECT_CMASK_FLOAT64ARRAY   (1UL << DUK_HOBJECT_CLASS_FLOAT64ARRAY)

Definition at line 6699 of file duktape.c.

◆ DUK_HOBJECT_CMASK_FUNCTION

#define DUK_HOBJECT_CMASK_FUNCTION   (1UL << DUK_HOBJECT_CLASS_FUNCTION)

Definition at line 6677 of file duktape.c.

◆ DUK_HOBJECT_CMASK_GLOBAL

#define DUK_HOBJECT_CMASK_GLOBAL   (1UL << DUK_HOBJECT_CLASS_GLOBAL)

Definition at line 6684 of file duktape.c.

◆ DUK_HOBJECT_CMASK_INT16ARRAY

#define DUK_HOBJECT_CMASK_INT16ARRAY   (1UL << DUK_HOBJECT_CLASS_INT16ARRAY)

Definition at line 6694 of file duktape.c.

◆ DUK_HOBJECT_CMASK_INT32ARRAY

#define DUK_HOBJECT_CMASK_INT32ARRAY   (1UL << DUK_HOBJECT_CLASS_INT32ARRAY)

Definition at line 6696 of file duktape.c.

◆ DUK_HOBJECT_CMASK_INT8ARRAY

#define DUK_HOBJECT_CMASK_INT8ARRAY   (1UL << DUK_HOBJECT_CLASS_INT8ARRAY)

Definition at line 6691 of file duktape.c.

◆ DUK_HOBJECT_CMASK_JSON

#define DUK_HOBJECT_CMASK_JSON   (1UL << DUK_HOBJECT_CLASS_JSON)

Definition at line 6678 of file duktape.c.

◆ DUK_HOBJECT_CMASK_MATH

#define DUK_HOBJECT_CMASK_MATH   (1UL << DUK_HOBJECT_CLASS_MATH)

Definition at line 6679 of file duktape.c.

◆ DUK_HOBJECT_CMASK_NONE

#define DUK_HOBJECT_CMASK_NONE   (1UL << DUK_HOBJECT_CLASS_NONE)

Definition at line 6671 of file duktape.c.

◆ DUK_HOBJECT_CMASK_NUMBER

#define DUK_HOBJECT_CMASK_NUMBER   (1UL << DUK_HOBJECT_CLASS_NUMBER)

Definition at line 6680 of file duktape.c.

◆ DUK_HOBJECT_CMASK_OBJECT

#define DUK_HOBJECT_CMASK_OBJECT   (1UL << DUK_HOBJECT_CLASS_OBJECT)

Definition at line 6681 of file duktape.c.

◆ DUK_HOBJECT_CMASK_OBJENV

#define DUK_HOBJECT_CMASK_OBJENV   (1UL << DUK_HOBJECT_CLASS_OBJENV)

Definition at line 6686 of file duktape.c.

◆ DUK_HOBJECT_CMASK_POINTER

#define DUK_HOBJECT_CMASK_POINTER   (1UL << DUK_HOBJECT_CLASS_POINTER)

Definition at line 6688 of file duktape.c.

◆ DUK_HOBJECT_CMASK_REGEXP

#define DUK_HOBJECT_CMASK_REGEXP   (1UL << DUK_HOBJECT_CLASS_REGEXP)

Definition at line 6682 of file duktape.c.

◆ DUK_HOBJECT_CMASK_STRING

#define DUK_HOBJECT_CMASK_STRING   (1UL << DUK_HOBJECT_CLASS_STRING)

Definition at line 6683 of file duktape.c.

◆ DUK_HOBJECT_CMASK_SYMBOL

#define DUK_HOBJECT_CMASK_SYMBOL   (1UL << DUK_HOBJECT_CLASS_SYMBOL)

Definition at line 6685 of file duktape.c.

◆ DUK_HOBJECT_CMASK_UINT16ARRAY

#define DUK_HOBJECT_CMASK_UINT16ARRAY   (1UL << DUK_HOBJECT_CLASS_UINT16ARRAY)

Definition at line 6695 of file duktape.c.

◆ DUK_HOBJECT_CMASK_UINT32ARRAY

#define DUK_HOBJECT_CMASK_UINT32ARRAY   (1UL << DUK_HOBJECT_CLASS_UINT32ARRAY)

Definition at line 6697 of file duktape.c.

◆ DUK_HOBJECT_CMASK_UINT8ARRAY

#define DUK_HOBJECT_CMASK_UINT8ARRAY   (1UL << DUK_HOBJECT_CLASS_UINT8ARRAY)

Definition at line 6692 of file duktape.c.

◆ DUK_HOBJECT_CMASK_UINT8CLAMPEDARRAY

#define DUK_HOBJECT_CMASK_UINT8CLAMPEDARRAY   (1UL << DUK_HOBJECT_CLASS_UINT8CLAMPEDARRAY)

Definition at line 6693 of file duktape.c.

◆ DUK_HOBJECT_DECREF

#define DUK_HOBJECT_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)

Definition at line 5052 of file duktape.c.

◆ DUK_HOBJECT_DECREF_ALLOWNULL

#define DUK_HOBJECT_DECREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HOBJECT_DECREF((thr), (h)); \
} \
} while (0)

Definition at line 5127 of file duktape.c.

◆ DUK_HOBJECT_DECREF_NORZ

#define DUK_HOBJECT_DECREF_NORZ (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)

Definition at line 5053 of file duktape.c.

◆ DUK_HOBJECT_DECREF_NORZ_ALLOWNULL

#define DUK_HOBJECT_DECREF_NORZ_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HOBJECT_DECREF_NORZ((thr), (h)); \
} \
} while (0)

Definition at line 5133 of file duktape.c.

◆ DUK_HOBJECT_DECREF_NORZ_SLOW

#define DUK_HOBJECT_DECREF_NORZ_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref_norz((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 5028 of file duktape.c.

◆ DUK_HOBJECT_DECREF_SLOW

#define DUK_HOBJECT_DECREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 5024 of file duktape.c.

◆ DUK_HOBJECT_E_CLEAR_FLAG_BITS

#define DUK_HOBJECT_E_CLEAR_FLAG_BITS (   heap,
  h,
  i,
  mask 
)
Value:
do { \
DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] &= ~(mask); \
} while (0)

Definition at line 7059 of file duktape.c.

◆ DUK_HOBJECT_E_FLAG_PADDING

#define DUK_HOBJECT_E_FLAG_PADDING (   e_sz)    ((8 - (e_sz)) & 0x07)

Definition at line 6933 of file duktape.c.

◆ DUK_HOBJECT_E_GET_FLAGS

#define DUK_HOBJECT_E_GET_FLAGS (   heap,
  h,
 
)    (DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)])

Definition at line 7013 of file duktape.c.

◆ DUK_HOBJECT_E_GET_FLAGS_BASE

#define DUK_HOBJECT_E_GET_FLAGS_BASE (   heap,
 
)
Value:
((duk_uint8_t *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + \
DUK_HOBJECT_GET_ESIZE((h)) * (sizeof(duk_hstring *) + sizeof(duk_propvalue))))

Definition at line 6942 of file duktape.c.

◆ DUK_HOBJECT_E_GET_FLAGS_PTR

#define DUK_HOBJECT_E_GET_FLAGS_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)])

Definition at line 7014 of file duktape.c.

◆ DUK_HOBJECT_E_GET_KEY

#define DUK_HOBJECT_E_GET_KEY (   heap,
  h,
 
)    (DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)])

Definition at line 7003 of file duktape.c.

◆ DUK_HOBJECT_E_GET_KEY_BASE

#define DUK_HOBJECT_E_GET_KEY_BASE (   heap,
 
)     ((duk_hstring **) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + DUK_HOBJECT_GET_ESIZE((h)) * sizeof(duk_propvalue)))

Definition at line 6939 of file duktape.c.

◆ DUK_HOBJECT_E_GET_KEY_PTR

#define DUK_HOBJECT_E_GET_KEY_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_E_GET_KEY_BASE((heap), (h))[(i)])

Definition at line 7004 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE

#define DUK_HOBJECT_E_GET_VALUE (   heap,
  h,
 
)    (DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)])

Definition at line 7005 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_BASE

#define DUK_HOBJECT_E_GET_VALUE_BASE (   heap,
 
)    ((duk_propvalue *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h))))

Definition at line 6941 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_GETTER

#define DUK_HOBJECT_E_GET_VALUE_GETTER (   heap,
  h,
 
)    (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get)

Definition at line 7009 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_GETTER_PTR

#define DUK_HOBJECT_E_GET_VALUE_GETTER_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get)

Definition at line 7010 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_PTR

#define DUK_HOBJECT_E_GET_VALUE_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_E_GET_VALUE_BASE((heap), (h))[(i)])

Definition at line 7006 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_SETTER

#define DUK_HOBJECT_E_GET_VALUE_SETTER (   heap,
  h,
 
)    (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set)

Definition at line 7011 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_SETTER_PTR

#define DUK_HOBJECT_E_GET_VALUE_SETTER_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set)

Definition at line 7012 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_TVAL

#define DUK_HOBJECT_E_GET_VALUE_TVAL (   heap,
  h,
 
)    (DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v)

Definition at line 7007 of file duktape.c.

◆ DUK_HOBJECT_E_GET_VALUE_TVAL_PTR

#define DUK_HOBJECT_E_GET_VALUE_TVAL_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v)

Definition at line 7008 of file duktape.c.

◆ DUK_HOBJECT_E_SET_FLAG_BITS

#define DUK_HOBJECT_E_SET_FLAG_BITS (   heap,
  h,
  i,
  mask 
)
Value:
do { \
DUK_HOBJECT_E_GET_FLAGS_BASE((heap), (h))[(i)] |= (mask); \
} while (0)

Definition at line 7054 of file duktape.c.

◆ DUK_HOBJECT_E_SET_FLAGS

#define DUK_HOBJECT_E_SET_FLAGS (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) = (duk_uint8_t) (f); \
} while (0)

Definition at line 7040 of file duktape.c.

◆ DUK_HOBJECT_E_SET_KEY

#define DUK_HOBJECT_E_SET_KEY (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_E_GET_KEY((heap), (h), (i)) = (k); \
} while (0)

Definition at line 7020 of file duktape.c.

◆ DUK_HOBJECT_E_SET_VALUE

#define DUK_HOBJECT_E_SET_VALUE (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)) = (v); \
} while (0)

Definition at line 7024 of file duktape.c.

◆ DUK_HOBJECT_E_SET_VALUE_GETTER

#define DUK_HOBJECT_E_SET_VALUE_GETTER (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.get = (v); \
} while (0)

Definition at line 7032 of file duktape.c.

◆ DUK_HOBJECT_E_SET_VALUE_SETTER

#define DUK_HOBJECT_E_SET_VALUE_SETTER (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).a.set = (v); \
} while (0)

Definition at line 7036 of file duktape.c.

◆ DUK_HOBJECT_E_SET_VALUE_TVAL

#define DUK_HOBJECT_E_SET_VALUE_TVAL (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_E_GET_VALUE((heap), (h), (i)).v = (v); \
} while (0)

Definition at line 7028 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR

#define DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR (   heap,
  h,
 
)    DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR)

Definition at line 7082 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_CLEAR_CONFIGURABLE

#define DUK_HOBJECT_E_SLOT_CLEAR_CONFIGURABLE (   heap,
  h,
 
)     DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_CONFIGURABLE)

Definition at line 7080 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_CLEAR_ENUMERABLE

#define DUK_HOBJECT_E_SLOT_CLEAR_ENUMERABLE (   heap,
  h,
 
)     DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ENUMERABLE)

Definition at line 7078 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE

#define DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE (   heap,
  h,
 
)    DUK_HOBJECT_E_CLEAR_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE)

Definition at line 7077 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_IS_ACCESSOR

#define DUK_HOBJECT_E_SLOT_IS_ACCESSOR (   heap,
  h,
 
)    ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ACCESSOR) != 0)

Definition at line 7069 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_IS_CONFIGURABLE

#define DUK_HOBJECT_E_SLOT_IS_CONFIGURABLE (   heap,
  h,
 
)     ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_CONFIGURABLE) != 0)

Definition at line 7067 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_IS_ENUMERABLE

#define DUK_HOBJECT_E_SLOT_IS_ENUMERABLE (   heap,
  h,
 
)     ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_ENUMERABLE) != 0)

Definition at line 7065 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_IS_WRITABLE

#define DUK_HOBJECT_E_SLOT_IS_WRITABLE (   heap,
  h,
 
)    ((DUK_HOBJECT_E_GET_FLAGS((heap), (h), (i)) & DUK_PROPDESC_FLAG_WRITABLE) != 0)

Definition at line 7064 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_SET_ACCESSOR

#define DUK_HOBJECT_E_SLOT_SET_ACCESSOR (   heap,
  h,
 
)    DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ACCESSOR)

Definition at line 7075 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_SET_CONFIGURABLE

#define DUK_HOBJECT_E_SLOT_SET_CONFIGURABLE (   heap,
  h,
 
)     DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_CONFIGURABLE)

Definition at line 7073 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_SET_ENUMERABLE

#define DUK_HOBJECT_E_SLOT_SET_ENUMERABLE (   heap,
  h,
 
)    DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_ENUMERABLE)

Definition at line 7072 of file duktape.c.

◆ DUK_HOBJECT_E_SLOT_SET_WRITABLE

#define DUK_HOBJECT_E_SLOT_SET_WRITABLE (   heap,
  h,
 
)    DUK_HOBJECT_E_SET_FLAG_BITS((heap), (h), (i), DUK_PROPDESC_FLAG_WRITABLE)

Definition at line 7071 of file duktape.c.

◆ DUK_HOBJECT_EXOTIC_BEHAVIOR_FLAGS

#define DUK_HOBJECT_EXOTIC_BEHAVIOR_FLAGS
Value:
DUK_HOBJECT_FLAG_BUFOBJ | DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ)
#define DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS
Definition: duktape.c:6611
#define DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ
Definition: duktape.c:6610
#define DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ
Definition: duktape.c:6613
#define DUK_HOBJECT_FLAG_EXOTIC_ARRAY
Definition: duktape.c:6609

Definition at line 6735 of file duktape.c.

◆ DUK_HOBJECT_FLAG_ARRAY_PART

#define DUK_HOBJECT_FLAG_ARRAY_PART   DUK_HEAPHDR_USER_FLAG(8) /* object has an array part (a_size may still be 0) */

Definition at line 6600 of file duktape.c.

◆ DUK_HOBJECT_FLAG_BOUNDFUNC

#define DUK_HOBJECT_FLAG_BOUNDFUNC   DUK_HEAPHDR_USER_FLAG(3) /* object established using Function.prototype.bind() */

Definition at line 6594 of file duktape.c.

◆ DUK_HOBJECT_FLAG_BUFOBJ

#define DUK_HOBJECT_FLAG_BUFOBJ   DUK_HEAPHDR_USER_FLAG(6) /* object is a buffer object (duk_hbufobj) (always exotic) */

Definition at line 6597 of file duktape.c.

◆ DUK_HOBJECT_FLAG_CALLABLE

#define DUK_HOBJECT_FLAG_CALLABLE   DUK_HEAPHDR_USER_FLAG(2) /* object is callable */

Definition at line 6593 of file duktape.c.

◆ DUK_HOBJECT_FLAG_CLASS_BASE

#define DUK_HOBJECT_FLAG_CLASS_BASE   DUK_HEAPHDR_USER_FLAG_NUMBER(20)

Definition at line 6616 of file duktape.c.

◆ DUK_HOBJECT_FLAG_CLASS_BITS

#define DUK_HOBJECT_FLAG_CLASS_BITS   5

Definition at line 6617 of file duktape.c.

◆ DUK_HOBJECT_FLAG_COMPFUNC

#define DUK_HOBJECT_FLAG_COMPFUNC   DUK_HEAPHDR_USER_FLAG(4) /* object is a compiled function (duk_hcompfunc) */

Definition at line 6595 of file duktape.c.

◆ DUK_HOBJECT_FLAG_CONSTRUCTABLE

#define DUK_HOBJECT_FLAG_CONSTRUCTABLE   DUK_HEAPHDR_USER_FLAG(1) /* object is constructable */

Definition at line 6592 of file duktape.c.

◆ DUK_HOBJECT_FLAG_CREATEARGS

#define DUK_HOBJECT_FLAG_CREATEARGS   DUK_HEAPHDR_USER_FLAG(13) /* function: create an arguments object on function call */

Definition at line 6607 of file duktape.c.

◆ DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS

#define DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS    DUK_HEAPHDR_USER_FLAG(17) /* 'Arguments' object and has arguments exotic behavior (non-strict callee) */

Definition at line 6611 of file duktape.c.

◆ DUK_HOBJECT_FLAG_EXOTIC_ARRAY

#define DUK_HOBJECT_FLAG_EXOTIC_ARRAY   DUK_HEAPHDR_USER_FLAG(15) /* 'Array' object, array length and index exotic behavior */

Definition at line 6609 of file duktape.c.

◆ DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ

#define DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ   DUK_HEAPHDR_USER_FLAG(18) /* 'Proxy' object */

Definition at line 6613 of file duktape.c.

◆ DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ

#define DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ   DUK_HEAPHDR_USER_FLAG(16) /* 'String' object, array index exotic behavior */

Definition at line 6610 of file duktape.c.

◆ DUK_HOBJECT_FLAG_EXTENSIBLE

#define DUK_HOBJECT_FLAG_EXTENSIBLE   DUK_HEAPHDR_USER_FLAG(0) /* object is extensible */

Definition at line 6591 of file duktape.c.

◆ DUK_HOBJECT_FLAG_FASTREFS

#define DUK_HOBJECT_FLAG_FASTREFS    DUK_HEAPHDR_USER_FLAG(7) /* object has no fields needing DECREF/marking beyond base duk_hobject header */

Definition at line 6598 of file duktape.c.

◆ DUK_HOBJECT_FLAG_HAVE_FINALIZER

#define DUK_HOBJECT_FLAG_HAVE_FINALIZER   DUK_HEAPHDR_USER_FLAG(14) /* object has a callable (own) finalizer property */

Definition at line 6608 of file duktape.c.

◆ DUK_HOBJECT_FLAG_NAMEBINDING

#define DUK_HOBJECT_FLAG_NAMEBINDING
Value:
12) /* function: create binding for func name (function templates only, used for named function expressions) */
#define DUK_HEAPHDR_USER_FLAG(n)
Definition: duktape.c:4679

Definition at line 6604 of file duktape.c.

◆ DUK_HOBJECT_FLAG_NATFUNC

#define DUK_HOBJECT_FLAG_NATFUNC   DUK_HEAPHDR_USER_FLAG(5) /* object is a native function (duk_hnatfunc) */

Definition at line 6596 of file duktape.c.

◆ DUK_HOBJECT_FLAG_NEWENV

#define DUK_HOBJECT_FLAG_NEWENV   DUK_HEAPHDR_USER_FLAG(11) /* function: create new environment when called (see duk_hcompfunc) */

Definition at line 6603 of file duktape.c.

◆ DUK_HOBJECT_FLAG_NOTAIL

#define DUK_HOBJECT_FLAG_NOTAIL   DUK_HEAPHDR_USER_FLAG(10) /* function: function must not be tail called */

Definition at line 6602 of file duktape.c.

◆ DUK_HOBJECT_FLAG_SPECIAL_CALL

#define DUK_HOBJECT_FLAG_SPECIAL_CALL   DUK_HEAPHDR_USER_FLAG(19) /* special casing in call behavior, for .call(), .apply(), etc. */

Definition at line 6614 of file duktape.c.

◆ DUK_HOBJECT_FLAG_STRICT

#define DUK_HOBJECT_FLAG_STRICT   DUK_HEAPHDR_USER_FLAG(9) /* function: function object is strict */

Definition at line 6601 of file duktape.c.

◆ DUK_HOBJECT_GET_ASIZE

#define DUK_HOBJECT_GET_ASIZE (   h)    ((h)->a_size)

Definition at line 7138 of file duktape.c.

◆ DUK_HOBJECT_GET_CLASS_MASK

#define DUK_HOBJECT_GET_CLASS_MASK (   h)     (1UL << DUK_HEAPHDR_GET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS))

Definition at line 6624 of file duktape.c.

◆ DUK_HOBJECT_GET_CLASS_NUMBER

#define DUK_HOBJECT_GET_CLASS_NUMBER (   h)     DUK_HEAPHDR_GET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS)

Definition at line 6619 of file duktape.c.

◆ DUK_HOBJECT_GET_CLASS_STRING

#define DUK_HOBJECT_GET_CLASS_STRING (   heap,
 
)     DUK_HEAP_GET_STRING((heap), DUK_HOBJECT_CLASS_NUMBER_TO_STRIDX(DUK_HOBJECT_GET_CLASS_NUMBER((h))))

Definition at line 7174 of file duktape.c.

◆ DUK_HOBJECT_GET_ENEXT

#define DUK_HOBJECT_GET_ENEXT (   h)    ((h)->e_next)

Definition at line 7132 of file duktape.c.

◆ DUK_HOBJECT_GET_ESIZE

#define DUK_HOBJECT_GET_ESIZE (   h)    ((h)->e_size)

Definition at line 7127 of file duktape.c.

◆ DUK_HOBJECT_GET_HSIZE

#define DUK_HOBJECT_GET_HSIZE (   h)    ((h)->h_size)

Definition at line 7144 of file duktape.c.

◆ DUK_HOBJECT_GET_PROPS

#define DUK_HOBJECT_GET_PROPS (   heap,
 
)    ((h)->props)

Definition at line 6893 of file duktape.c.

◆ DUK_HOBJECT_GET_PROTOTYPE

#define DUK_HOBJECT_GET_PROTOTYPE (   heap,
 
)    ((h)->prototype)

Definition at line 7188 of file duktape.c.

◆ DUK_HOBJECT_H_GET_BASE

#define DUK_HOBJECT_H_GET_BASE (   heap,
 
)
Value:
((duk_uint32_t *) (void *) (DUK_HOBJECT_GET_PROPS((heap), (h)) + \
DUK_HOBJECT_GET_ESIZE((h)) * \
(sizeof(duk_hstring *) + sizeof(duk_propvalue) + sizeof(duk_uint8_t)) + \
DUK_HOBJECT_E_FLAG_PADDING(DUK_HOBJECT_GET_ESIZE((h))) + \
DUK_HOBJECT_GET_ASIZE((h)) * sizeof(duk_tval)))
struct duk_tval_struct duk_tval
Definition: duktape.c:1219

Definition at line 6950 of file duktape.c.

◆ DUK_HOBJECT_H_GET_INDEX

#define DUK_HOBJECT_H_GET_INDEX (   heap,
  h,
 
)    (DUK_HOBJECT_H_GET_BASE((heap), (h))[(i)])

Definition at line 7017 of file duktape.c.

◆ DUK_HOBJECT_H_GET_INDEX_PTR

#define DUK_HOBJECT_H_GET_INDEX_PTR (   heap,
  h,
 
)    (&DUK_HOBJECT_H_GET_BASE((heap), (h))[(i)])

Definition at line 7018 of file duktape.c.

◆ DUK_HOBJECT_H_INCLUDED

#define DUK_HOBJECT_H_INCLUDED

Definition at line 6582 of file duktape.c.

◆ DUK_HOBJECT_H_SET_INDEX

#define DUK_HOBJECT_H_SET_INDEX (   heap,
  h,
  i,
 
)
Value:
do { \
DUK_HOBJECT_H_GET_INDEX((heap), (h), (i)) = (v); \
} while (0)

Definition at line 7049 of file duktape.c.

◆ DUK_HOBJECT_HAS_ARRAY_PART

#define DUK_HOBJECT_HAS_ARRAY_PART (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_ARRAY_PART)

Definition at line 6757 of file duktape.c.

◆ DUK_HOBJECT_HAS_BOUNDFUNC

#define DUK_HOBJECT_HAS_BOUNDFUNC (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)

Definition at line 6748 of file duktape.c.

◆ DUK_HOBJECT_HAS_BUFOBJ

#define DUK_HOBJECT_HAS_BUFOBJ (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)

Definition at line 6752 of file duktape.c.

◆ DUK_HOBJECT_HAS_CALLABLE

#define DUK_HOBJECT_HAS_CALLABLE (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CALLABLE)

Definition at line 6747 of file duktape.c.

◆ DUK_HOBJECT_HAS_COMPFUNC

#define DUK_HOBJECT_HAS_COMPFUNC (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)

Definition at line 6749 of file duktape.c.

◆ DUK_HOBJECT_HAS_CONSTRUCTABLE

#define DUK_HOBJECT_HAS_CONSTRUCTABLE (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CONSTRUCTABLE)

Definition at line 6746 of file duktape.c.

◆ DUK_HOBJECT_HAS_CREATEARGS

#define DUK_HOBJECT_HAS_CREATEARGS (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CREATEARGS)

Definition at line 6762 of file duktape.c.

◆ DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS

#define DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS)

Definition at line 6766 of file duktape.c.

◆ DUK_HOBJECT_HAS_EXOTIC_ARRAY

#define DUK_HOBJECT_HAS_EXOTIC_ARRAY (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARRAY)

Definition at line 6764 of file duktape.c.

◆ DUK_HOBJECT_HAS_EXOTIC_BEHAVIOR

#define DUK_HOBJECT_HAS_EXOTIC_BEHAVIOR (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_EXOTIC_BEHAVIOR_FLAGS)

Definition at line 6738 of file duktape.c.

◆ DUK_HOBJECT_HAS_EXOTIC_PROXYOBJ

#define DUK_HOBJECT_HAS_EXOTIC_PROXYOBJ (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ)

Definition at line 6768 of file duktape.c.

◆ DUK_HOBJECT_HAS_EXOTIC_STRINGOBJ

#define DUK_HOBJECT_HAS_EXOTIC_STRINGOBJ (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ)

Definition at line 6765 of file duktape.c.

◆ DUK_HOBJECT_HAS_EXTENSIBLE

#define DUK_HOBJECT_HAS_EXTENSIBLE (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXTENSIBLE)

Definition at line 6745 of file duktape.c.

◆ DUK_HOBJECT_HAS_FASTREFS

#define DUK_HOBJECT_HAS_FASTREFS (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_FASTREFS)

Definition at line 6756 of file duktape.c.

◆ DUK_HOBJECT_HAS_FINALIZER_FAST

#define DUK_HOBJECT_HAS_FINALIZER_FAST (   heap,
 
)    duk_hobject_has_finalizer_fast_raw((h))

Definition at line 7219 of file duktape.c.

◆ DUK_HOBJECT_HAS_HAVE_FINALIZER

#define DUK_HOBJECT_HAS_HAVE_FINALIZER (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_HAVE_FINALIZER)

Definition at line 6763 of file duktape.c.

◆ DUK_HOBJECT_HAS_NAMEBINDING

#define DUK_HOBJECT_HAS_NAMEBINDING (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NAMEBINDING)

Definition at line 6761 of file duktape.c.

◆ DUK_HOBJECT_HAS_NATFUNC

#define DUK_HOBJECT_HAS_NATFUNC (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)

Definition at line 6750 of file duktape.c.

◆ DUK_HOBJECT_HAS_NEWENV

#define DUK_HOBJECT_HAS_NEWENV (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NEWENV)

Definition at line 6760 of file duktape.c.

◆ DUK_HOBJECT_HAS_NOTAIL

#define DUK_HOBJECT_HAS_NOTAIL (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NOTAIL)

Definition at line 6759 of file duktape.c.

◆ DUK_HOBJECT_HAS_SPECIAL_CALL

#define DUK_HOBJECT_HAS_SPECIAL_CALL (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_SPECIAL_CALL)

Definition at line 6772 of file duktape.c.

◆ DUK_HOBJECT_HAS_STRICT

#define DUK_HOBJECT_HAS_STRICT (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT)

Definition at line 6758 of file duktape.c.

◆ DUK_HOBJECT_HAS_VIRTUAL_PROPERTIES

#define DUK_HOBJECT_HAS_VIRTUAL_PROPERTIES (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_VIRTUAL_PROPERTY_FLAGS)

Definition at line 6743 of file duktape.c.

◆ DUK_HOBJECT_HASHIDX_DELETED

#define DUK_HOBJECT_HASHIDX_DELETED   0xfffffffeUL

Definition at line 7090 of file duktape.c.

◆ DUK_HOBJECT_HASHIDX_UNUSED

#define DUK_HOBJECT_HASHIDX_UNUSED   0xffffffffUL

Definition at line 7089 of file duktape.c.

◆ DUK_HOBJECT_INCREF

#define DUK_HOBJECT_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h))

Definition at line 5051 of file duktape.c.

◆ DUK_HOBJECT_INCREF_ALLOWNULL

#define DUK_HOBJECT_INCREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HOBJECT_INCREF((thr), (h)); \
} \
} while (0)

Definition at line 5121 of file duktape.c.

◆ DUK_HOBJECT_INCREF_SLOW

#define DUK_HOBJECT_INCREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_incref((duk_heaphdr *) (h)); \
} while (0)

Definition at line 5020 of file duktape.c.

◆ DUK_HOBJECT_IS_ARRAY

#define DUK_HOBJECT_IS_ARRAY (   h)    DUK_HOBJECT_HAS_EXOTIC_ARRAY((h)) /* Rely on class Array <=> exotic Array */

Definition at line 6710 of file duktape.c.

◆ DUK_HOBJECT_IS_BOUNDFUNC

#define DUK_HOBJECT_IS_BOUNDFUNC (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)

Definition at line 6711 of file duktape.c.

◆ DUK_HOBJECT_IS_BUFOBJ

#define DUK_HOBJECT_IS_BUFOBJ (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)

Definition at line 6715 of file duktape.c.

◆ DUK_HOBJECT_IS_CALLABLE

#define DUK_HOBJECT_IS_CALLABLE (   h)    DUK_HOBJECT_HAS_CALLABLE((h))

Definition at line 6732 of file duktape.c.

◆ DUK_HOBJECT_IS_COMPFUNC

#define DUK_HOBJECT_IS_COMPFUNC (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)

Definition at line 6712 of file duktape.c.

◆ DUK_HOBJECT_IS_DECENV

#define DUK_HOBJECT_IS_DECENV (   h)    (DUK_HOBJECT_GET_CLASS_NUMBER((h)) == DUK_HOBJECT_CLASS_DECENV)

Definition at line 6708 of file duktape.c.

◆ DUK_HOBJECT_IS_ENV

#define DUK_HOBJECT_IS_ENV (   h)    (DUK_HOBJECT_IS_OBJENV((h)) || DUK_HOBJECT_IS_DECENV((h)))

Definition at line 6709 of file duktape.c.

◆ DUK_HOBJECT_IS_FUNCTION

#define DUK_HOBJECT_IS_FUNCTION (   h)     DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC | DUK_HOBJECT_FLAG_COMPFUNC | DUK_HOBJECT_FLAG_NATFUNC)

Definition at line 6729 of file duktape.c.

◆ DUK_HOBJECT_IS_NATFUNC

#define DUK_HOBJECT_IS_NATFUNC (   h)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)

Definition at line 6713 of file duktape.c.

◆ DUK_HOBJECT_IS_NONBOUND_FUNCTION

#define DUK_HOBJECT_IS_NONBOUND_FUNCTION (   h)     DUK_HEAPHDR_CHECK_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC | DUK_HOBJECT_FLAG_NATFUNC)

Definition at line 6726 of file duktape.c.

◆ DUK_HOBJECT_IS_OBJENV

#define DUK_HOBJECT_IS_OBJENV (   h)    (DUK_HOBJECT_GET_CLASS_NUMBER((h)) == DUK_HOBJECT_CLASS_OBJENV)

Definition at line 6707 of file duktape.c.

◆ DUK_HOBJECT_IS_PROXY

#define DUK_HOBJECT_IS_PROXY (   h)    DUK_HOBJECT_HAS_EXOTIC_PROXYOBJ((h))

Definition at line 6721 of file duktape.c.

◆ DUK_HOBJECT_IS_THREAD

#define DUK_HOBJECT_IS_THREAD (   h)    (DUK_HOBJECT_GET_CLASS_NUMBER((h)) == DUK_HOBJECT_CLASS_THREAD)

Definition at line 6719 of file duktape.c.

◆ DUK_HOBJECT_MAX_PROPERTIES

#define DUK_HOBJECT_MAX_PROPERTIES   0x3fffffffUL /* 2**30-1 ~= 1G properties */

Definition at line 7235 of file duktape.c.

◆ DUK_HOBJECT_P_ALLOC_SIZE

#define DUK_HOBJECT_P_ALLOC_SIZE (   h)     DUK_HOBJECT_P_COMPUTE_SIZE(DUK_HOBJECT_GET_ESIZE((h)), DUK_HOBJECT_GET_ASIZE((h)), DUK_HOBJECT_GET_HSIZE((h)))

Definition at line 7000 of file duktape.c.

◆ DUK_HOBJECT_P_COMPUTE_SIZE

#define DUK_HOBJECT_P_COMPUTE_SIZE (   n_ent,
  n_arr,
  n_hash 
)
Value:
((n_ent) * (sizeof(duk_hstring *) + sizeof(duk_propvalue) + sizeof(duk_uint8_t)) + DUK_HOBJECT_E_FLAG_PADDING((n_ent)) + \
(n_arr) * sizeof(duk_tval) + (n_hash) * sizeof(duk_uint32_t))
union duk_propvalue duk_propvalue
Definition: duktape.c:855
#define DUK_HOBJECT_E_FLAG_PADDING(e_sz)
Definition: duktape.c:6933

Definition at line 6956 of file duktape.c.

◆ DUK_HOBJECT_P_SET_REALLOC_PTRS

#define DUK_HOBJECT_P_SET_REALLOC_PTRS (   p_base,
  set_e_k,
  set_e_pv,
  set_e_f,
  set_a,
  set_h,
  n_ent,
  n_arr,
  n_hash 
)
Value:
do { \
(set_e_pv) = (duk_propvalue *) (void *) (p_base); \
(set_e_k) = (duk_hstring **) (void *) ((set_e_pv) + (n_ent)); \
(set_e_f) = (duk_uint8_t *) (void *) ((set_e_k) + (n_ent)); \
(set_a) = (duk_tval *) (void *) (((duk_uint8_t *) (set_e_f)) + sizeof(duk_uint8_t) * (n_ent) + \
DUK_HOBJECT_E_FLAG_PADDING((n_ent))); \
(set_h) = (duk_uint32_t *) (void *) ((set_a) + (n_arr)); \
} while (0)

Definition at line 6959 of file duktape.c.

◆ DUK_HOBJECT_POSTINC_ENEXT

#define DUK_HOBJECT_POSTINC_ENEXT (   h)    ((h)->e_next++)

Definition at line 7137 of file duktape.c.

◆ DUK_HOBJECT_PROHIBITS_FASTREFS

#define DUK_HOBJECT_PROHIBITS_FASTREFS (   h)
Value:
DUK_HOBJECT_IS_THREAD((h)) || DUK_HOBJECT_IS_PROXY((h)) || DUK_HOBJECT_IS_BOUNDFUNC((h)))
#define DUK_HOBJECT_IS_COMPFUNC(h)
Definition: duktape.c:6712
#define DUK_HOBJECT_IS_OBJENV(h)
Definition: duktape.c:6707
#define DUK_HOBJECT_IS_BOUNDFUNC(h)
Definition: duktape.c:6711
#define DUK_HOBJECT_IS_DECENV(h)
Definition: duktape.c:6708
#define DUK_HOBJECT_IS_PROXY(h)
Definition: duktape.c:6721
#define DUK_HOBJECT_IS_BUFOBJ(h)
Definition: duktape.c:6715

Definition at line 6828 of file duktape.c.

◆ DUK_HOBJECT_PROTOTYPE_CHAIN_SANITY

#define DUK_HOBJECT_PROTOTYPE_CHAIN_SANITY   10000L

Definition at line 7165 of file duktape.c.

◆ DUK_HOBJECT_SET_ARRAY_PART

#define DUK_HOBJECT_SET_ARRAY_PART (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_ARRAY_PART)

Definition at line 6784 of file duktape.c.

◆ DUK_HOBJECT_SET_ASIZE

#define DUK_HOBJECT_SET_ASIZE (   h,
 
)
Value:
do { \
(h)->a_size = (v); \
} while (0)

Definition at line 7139 of file duktape.c.

◆ DUK_HOBJECT_SET_BOUNDFUNC

#define DUK_HOBJECT_SET_BOUNDFUNC (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BOUNDFUNC)

Definition at line 6777 of file duktape.c.

◆ DUK_HOBJECT_SET_BUFOBJ

#define DUK_HOBJECT_SET_BUFOBJ (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_BUFOBJ)

Definition at line 6781 of file duktape.c.

◆ DUK_HOBJECT_SET_CALLABLE

#define DUK_HOBJECT_SET_CALLABLE (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CALLABLE)

Definition at line 6776 of file duktape.c.

◆ DUK_HOBJECT_SET_CLASS_NUMBER

#define DUK_HOBJECT_SET_CLASS_NUMBER (   h,
 
)     DUK_HEAPHDR_SET_FLAG_RANGE(&(h)->hdr, DUK_HOBJECT_FLAG_CLASS_BASE, DUK_HOBJECT_FLAG_CLASS_BITS, (v))

Definition at line 6621 of file duktape.c.

◆ DUK_HOBJECT_SET_COMPFUNC

#define DUK_HOBJECT_SET_COMPFUNC (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_COMPFUNC)

Definition at line 6778 of file duktape.c.

◆ DUK_HOBJECT_SET_CONSTRUCTABLE

#define DUK_HOBJECT_SET_CONSTRUCTABLE (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CONSTRUCTABLE)

Definition at line 6775 of file duktape.c.

◆ DUK_HOBJECT_SET_CREATEARGS

#define DUK_HOBJECT_SET_CREATEARGS (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_CREATEARGS)

Definition at line 6789 of file duktape.c.

◆ DUK_HOBJECT_SET_ENEXT

#define DUK_HOBJECT_SET_ENEXT (   h,
 
)
Value:
do { \
(h)->e_next = (v); \
} while (0)

Definition at line 7133 of file duktape.c.

◆ DUK_HOBJECT_SET_ESIZE

#define DUK_HOBJECT_SET_ESIZE (   h,
 
)
Value:
do { \
(h)->e_size = (v); \
} while (0)

Definition at line 7128 of file duktape.c.

◆ DUK_HOBJECT_SET_EXOTIC_ARGUMENTS

#define DUK_HOBJECT_SET_EXOTIC_ARGUMENTS (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARGUMENTS)

Definition at line 6793 of file duktape.c.

◆ DUK_HOBJECT_SET_EXOTIC_ARRAY

#define DUK_HOBJECT_SET_EXOTIC_ARRAY (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_ARRAY)

Definition at line 6791 of file duktape.c.

◆ DUK_HOBJECT_SET_EXOTIC_PROXYOBJ

#define DUK_HOBJECT_SET_EXOTIC_PROXYOBJ (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_PROXYOBJ)

Definition at line 6795 of file duktape.c.

◆ DUK_HOBJECT_SET_EXOTIC_STRINGOBJ

#define DUK_HOBJECT_SET_EXOTIC_STRINGOBJ (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ)

Definition at line 6792 of file duktape.c.

◆ DUK_HOBJECT_SET_EXTENSIBLE

#define DUK_HOBJECT_SET_EXTENSIBLE (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_EXTENSIBLE)

Definition at line 6774 of file duktape.c.

◆ DUK_HOBJECT_SET_FASTREFS

#define DUK_HOBJECT_SET_FASTREFS (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_FASTREFS)

Definition at line 6783 of file duktape.c.

◆ DUK_HOBJECT_SET_HAVE_FINALIZER

#define DUK_HOBJECT_SET_HAVE_FINALIZER (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_HAVE_FINALIZER)

Definition at line 6790 of file duktape.c.

◆ DUK_HOBJECT_SET_HSIZE

#define DUK_HOBJECT_SET_HSIZE (   h,
 
)
Value:
do { \
(h)->h_size = (v); \
} while (0)

Definition at line 7145 of file duktape.c.

◆ DUK_HOBJECT_SET_NAMEBINDING

#define DUK_HOBJECT_SET_NAMEBINDING (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NAMEBINDING)

Definition at line 6788 of file duktape.c.

◆ DUK_HOBJECT_SET_NATFUNC

#define DUK_HOBJECT_SET_NATFUNC (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NATFUNC)

Definition at line 6779 of file duktape.c.

◆ DUK_HOBJECT_SET_NEWENV

#define DUK_HOBJECT_SET_NEWENV (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NEWENV)

Definition at line 6787 of file duktape.c.

◆ DUK_HOBJECT_SET_NOTAIL

#define DUK_HOBJECT_SET_NOTAIL (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_NOTAIL)

Definition at line 6786 of file duktape.c.

◆ DUK_HOBJECT_SET_PROPS

#define DUK_HOBJECT_SET_PROPS (   heap,
  h,
 
)
Value:
do { \
(h)->props = (duk_uint8_t *) (x); \
} while (0)

Definition at line 6894 of file duktape.c.

◆ DUK_HOBJECT_SET_PROTOTYPE

#define DUK_HOBJECT_SET_PROTOTYPE (   heap,
  h,
 
)
Value:
do { \
(h)->prototype = (x); \
} while (0)

Definition at line 7189 of file duktape.c.

◆ DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF

#define DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF (   thr,
  h,
  proto 
)
Value:
do { \
duk_hthread *duk__thr = (thr); \
duk_hobject *duk__obj = (h); \
duk_hobject *duk__proto = (proto); \
DUK_UNREF(duk__thr); \
DUK_ASSERT(DUK_HOBJECT_GET_PROTOTYPE(duk__thr->heap, duk__obj) == NULL); \
DUK_HOBJECT_SET_PROTOTYPE(duk__thr->heap, duk__obj, duk__proto); \
DUK_HOBJECT_INCREF_ALLOWNULL(duk__thr, duk__proto); \
} while (0)
#define DUK_HOBJECT_GET_PROTOTYPE(heap, h)
Definition: duktape.c:7188

Definition at line 7201 of file duktape.c.

◆ DUK_HOBJECT_SET_PROTOTYPE_UPDREF

#define DUK_HOBJECT_SET_PROTOTYPE_UPDREF (   thr,
  h,
 
)    duk_hobject_set_prototype_updref((thr), (h), (p))

Definition at line 7196 of file duktape.c.

◆ DUK_HOBJECT_SET_SPECIAL_CALL

#define DUK_HOBJECT_SET_SPECIAL_CALL (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_SPECIAL_CALL)

Definition at line 6797 of file duktape.c.

◆ DUK_HOBJECT_SET_STRICT

#define DUK_HOBJECT_SET_STRICT (   h)    DUK_HEAPHDR_SET_FLAG_BITS(&(h)->hdr, DUK_HOBJECT_FLAG_STRICT)

Definition at line 6785 of file duktape.c.

◆ DUK_HOBJECT_VIRTUAL_PROPERTY_FLAGS

#define DUK_HOBJECT_VIRTUAL_PROPERTY_FLAGS    (DUK_HOBJECT_FLAG_EXOTIC_ARRAY | DUK_HOBJECT_FLAG_EXOTIC_STRINGOBJ | DUK_HOBJECT_FLAG_BUFOBJ)

Definition at line 6741 of file duktape.c.

◆ DUK_HOBJENV_ASSERT_VALID

#define DUK_HOBJENV_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 8528 of file duktape.c.

◆ DUK_HPROXY_ASSERT_VALID

#define DUK_HPROXY_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 8924 of file duktape.c.

◆ DUK_HPROXY_H_INCLUDED

#define DUK_HPROXY_H_INCLUDED

Definition at line 8915 of file duktape.c.

◆ DUK_HSTRING_ASSERT_VALID

#define DUK_HSTRING_ASSERT_VALID (   h)
Value:
do { \
} while (0)

Definition at line 6466 of file duktape.c.

◆ DUK_HSTRING_CLEAR_ARRIDX

#define DUK_HSTRING_CLEAR_ARRIDX (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ARRIDX)

Definition at line 6359 of file duktape.c.

◆ DUK_HSTRING_CLEAR_ASCII

#define DUK_HSTRING_CLEAR_ASCII (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ASCII)

Definition at line 6358 of file duktape.c.

◆ DUK_HSTRING_CLEAR_EVAL_OR_ARGUMENTS

#define DUK_HSTRING_CLEAR_EVAL_OR_ARGUMENTS (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS)

Definition at line 6364 of file duktape.c.

◆ DUK_HSTRING_CLEAR_EXTDATA

#define DUK_HSTRING_CLEAR_EXTDATA (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EXTDATA)

Definition at line 6365 of file duktape.c.

◆ DUK_HSTRING_CLEAR_HIDDEN

#define DUK_HSTRING_CLEAR_HIDDEN (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_HIDDEN)

Definition at line 6361 of file duktape.c.

◆ DUK_HSTRING_CLEAR_PINNED_LITERAL

#define DUK_HSTRING_CLEAR_PINNED_LITERAL (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_PINNED_LITERAL)

Definition at line 6366 of file duktape.c.

◆ DUK_HSTRING_CLEAR_RESERVED_WORD

#define DUK_HSTRING_CLEAR_RESERVED_WORD (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_RESERVED_WORD)

Definition at line 6362 of file duktape.c.

◆ DUK_HSTRING_CLEAR_STRICT_RESERVED_WORD

#define DUK_HSTRING_CLEAR_STRICT_RESERVED_WORD (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_STRICT_RESERVED_WORD)

Definition at line 6363 of file duktape.c.

◆ DUK_HSTRING_CLEAR_SYMBOL

#define DUK_HSTRING_CLEAR_SYMBOL (   x)    DUK_HEAPHDR_CLEAR_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL)

Definition at line 6360 of file duktape.c.

◆ DUK_HSTRING_DECREF

#define DUK_HSTRING_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *)

Definition at line 5048 of file duktape.c.

◆ DUK_HSTRING_DECREF_NORZ

#define DUK_HSTRING_DECREF_NORZ (   thr,
 
)     DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hstring_refzero, duk_hstring *) /* no 'norz' variant */

Definition at line 5049 of file duktape.c.

◆ DUK_HSTRING_DECREF_NORZ_SLOW

#define DUK_HSTRING_DECREF_NORZ_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref_norz((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 5004 of file duktape.c.

◆ DUK_HSTRING_DECREF_SLOW

#define DUK_HSTRING_DECREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_decref((thr), (duk_heaphdr *) (h)); \
} while (0)

Definition at line 5000 of file duktape.c.

◆ DUK_HSTRING_FLAG_ARRIDX

#define DUK_HSTRING_FLAG_ARRIDX   DUK_HEAPHDR_USER_FLAG(1) /* string is a valid array index */

Definition at line 6328 of file duktape.c.

◆ DUK_HSTRING_FLAG_ASCII

#define DUK_HSTRING_FLAG_ASCII   DUK_HEAPHDR_USER_FLAG(0) /* string is ASCII, clen == blen */

Definition at line 6327 of file duktape.c.

◆ DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS

#define DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS   DUK_HEAPHDR_USER_FLAG(6) /* string is 'eval' or 'arguments' */

Definition at line 6334 of file duktape.c.

◆ DUK_HSTRING_FLAG_EXTDATA

#define DUK_HSTRING_FLAG_EXTDATA   DUK_HEAPHDR_USER_FLAG(7) /* string data is external (duk_hstring_external) */

Definition at line 6335 of file duktape.c.

◆ DUK_HSTRING_FLAG_HIDDEN

#define DUK_HSTRING_FLAG_HIDDEN    DUK_HEAPHDR_USER_FLAG(3) /* string is a hidden symbol (implies symbol, Duktape 1.x internal string) */

Definition at line 6330 of file duktape.c.

◆ DUK_HSTRING_FLAG_PINNED_LITERAL

#define DUK_HSTRING_FLAG_PINNED_LITERAL   DUK_HEAPHDR_USER_FLAG(8) /* string is a literal, and pinned */

Definition at line 6336 of file duktape.c.

◆ DUK_HSTRING_FLAG_RESERVED_WORD

#define DUK_HSTRING_FLAG_RESERVED_WORD   DUK_HEAPHDR_USER_FLAG(4) /* string is a reserved word (non-strict) */

Definition at line 6332 of file duktape.c.

◆ DUK_HSTRING_FLAG_STRICT_RESERVED_WORD

#define DUK_HSTRING_FLAG_STRICT_RESERVED_WORD   DUK_HEAPHDR_USER_FLAG(5) /* string is a reserved word (strict) */

Definition at line 6333 of file duktape.c.

◆ DUK_HSTRING_FLAG_SYMBOL

#define DUK_HSTRING_FLAG_SYMBOL   DUK_HEAPHDR_USER_FLAG(2) /* string is a symbol (invalid utf-8) */

Definition at line 6329 of file duktape.c.

◆ DUK_HSTRING_GET_ARRIDX_FAST

#define DUK_HSTRING_GET_ARRIDX_FAST (   h)    ((h)->arridx)

Definition at line 6439 of file duktape.c.

◆ DUK_HSTRING_GET_ARRIDX_SLOW

#define DUK_HSTRING_GET_ARRIDX_SLOW (   h)    ((h)->arridx)

Definition at line 6440 of file duktape.c.

◆ DUK_HSTRING_GET_BYTELEN

#define DUK_HSTRING_GET_BYTELEN (   x)    ((x)->blen)

Definition at line 6410 of file duktape.c.

◆ DUK_HSTRING_GET_CHARLEN

#define DUK_HSTRING_GET_CHARLEN (   x)    duk_hstring_get_charlen((x))

Definition at line 6415 of file duktape.c.

◆ DUK_HSTRING_GET_DATA

#define DUK_HSTRING_GET_DATA (   x)    ((const duk_uint8_t *) ((x) + 1))

Definition at line 6428 of file duktape.c.

◆ DUK_HSTRING_GET_DATA_END

#define DUK_HSTRING_GET_DATA_END (   x)    (DUK_HSTRING_GET_DATA((x)) + (x)->blen)

Definition at line 6431 of file duktape.c.

◆ DUK_HSTRING_GET_HASH

#define DUK_HSTRING_GET_HASH (   x)    ((x)->hash)

Definition at line 6383 of file duktape.c.

◆ DUK_HSTRING_H_INCLUDED

#define DUK_HSTRING_H_INCLUDED

Definition at line 6301 of file duktape.c.

◆ DUK_HSTRING_HAS_ARRIDX

#define DUK_HSTRING_HAS_ARRIDX (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ARRIDX)

Definition at line 6339 of file duktape.c.

◆ DUK_HSTRING_HAS_ASCII

#define DUK_HSTRING_HAS_ASCII (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ASCII)

Definition at line 6338 of file duktape.c.

◆ DUK_HSTRING_HAS_EVAL_OR_ARGUMENTS

#define DUK_HSTRING_HAS_EVAL_OR_ARGUMENTS (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS)

Definition at line 6344 of file duktape.c.

◆ DUK_HSTRING_HAS_EXTDATA

#define DUK_HSTRING_HAS_EXTDATA (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EXTDATA)

Definition at line 6345 of file duktape.c.

◆ DUK_HSTRING_HAS_HIDDEN

#define DUK_HSTRING_HAS_HIDDEN (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_HIDDEN)

Definition at line 6341 of file duktape.c.

◆ DUK_HSTRING_HAS_PINNED_LITERAL

#define DUK_HSTRING_HAS_PINNED_LITERAL (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_PINNED_LITERAL)

Definition at line 6346 of file duktape.c.

◆ DUK_HSTRING_HAS_RESERVED_WORD

#define DUK_HSTRING_HAS_RESERVED_WORD (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_RESERVED_WORD)

Definition at line 6342 of file duktape.c.

◆ DUK_HSTRING_HAS_STRICT_RESERVED_WORD

#define DUK_HSTRING_HAS_STRICT_RESERVED_WORD (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_STRICT_RESERVED_WORD)

Definition at line 6343 of file duktape.c.

◆ DUK_HSTRING_HAS_SYMBOL

#define DUK_HSTRING_HAS_SYMBOL (   x)    DUK_HEAPHDR_CHECK_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL)

Definition at line 6340 of file duktape.c.

◆ DUK_HSTRING_INCREF

#define DUK_HSTRING_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) (h))

Definition at line 5047 of file duktape.c.

◆ DUK_HSTRING_INCREF_SLOW

#define DUK_HSTRING_INCREF_SLOW (   thr,
 
)
Value:
do { \
duk_heaphdr_incref((duk_heaphdr *) (h)); \
} while (0)

Definition at line 4996 of file duktape.c.

◆ DUK_HSTRING_IS_ASCII

#define DUK_HSTRING_IS_ASCII (   x)    DUK_HSTRING_HAS_ASCII((x)) /* lazily set! */

Definition at line 6373 of file duktape.c.

◆ DUK_HSTRING_IS_EMPTY

#define DUK_HSTRING_IS_EMPTY (   x)    (DUK_HSTRING_GET_BYTELEN((x)) == 0)

Definition at line 6374 of file duktape.c.

◆ DUK_HSTRING_MAX_BYTELEN

#define DUK_HSTRING_MAX_BYTELEN   (0x7fffffffUL)

Definition at line 6315 of file duktape.c.

◆ DUK_HSTRING_NO_ARRAY_INDEX

#define DUK_HSTRING_NO_ARRAY_INDEX   (0xffffffffUL)

Definition at line 6436 of file duktape.c.

◆ DUK_HSTRING_SET_ARRIDX

#define DUK_HSTRING_SET_ARRIDX (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ARRIDX)

Definition at line 6349 of file duktape.c.

◆ DUK_HSTRING_SET_ASCII

#define DUK_HSTRING_SET_ASCII (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_ASCII)

Definition at line 6348 of file duktape.c.

◆ DUK_HSTRING_SET_BYTELEN

#define DUK_HSTRING_SET_BYTELEN (   x,
 
)
Value:
do { \
(x)->blen = (v); \
} while (0)

Definition at line 6411 of file duktape.c.

◆ DUK_HSTRING_SET_CHARLEN

#define DUK_HSTRING_SET_CHARLEN (   x,
 
)
Value:
do { \
(x)->clen = (v); \
} while (0)

Definition at line 6416 of file duktape.c.

◆ DUK_HSTRING_SET_EVAL_OR_ARGUMENTS

#define DUK_HSTRING_SET_EVAL_OR_ARGUMENTS (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EVAL_OR_ARGUMENTS)

Definition at line 6354 of file duktape.c.

◆ DUK_HSTRING_SET_EXTDATA

#define DUK_HSTRING_SET_EXTDATA (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_EXTDATA)

Definition at line 6355 of file duktape.c.

◆ DUK_HSTRING_SET_HASH

#define DUK_HSTRING_SET_HASH (   x,
 
)
Value:
do { \
(x)->hash = (v); \
} while (0)

Definition at line 6384 of file duktape.c.

◆ DUK_HSTRING_SET_HIDDEN

#define DUK_HSTRING_SET_HIDDEN (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_HIDDEN)

Definition at line 6351 of file duktape.c.

◆ DUK_HSTRING_SET_PINNED_LITERAL

#define DUK_HSTRING_SET_PINNED_LITERAL (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_PINNED_LITERAL)

Definition at line 6356 of file duktape.c.

◆ DUK_HSTRING_SET_RESERVED_WORD

#define DUK_HSTRING_SET_RESERVED_WORD (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_RESERVED_WORD)

Definition at line 6352 of file duktape.c.

◆ DUK_HSTRING_SET_STRICT_RESERVED_WORD

#define DUK_HSTRING_SET_STRICT_RESERVED_WORD (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_STRICT_RESERVED_WORD)

Definition at line 6353 of file duktape.c.

◆ DUK_HSTRING_SET_SYMBOL

#define DUK_HSTRING_SET_SYMBOL (   x)    DUK_HEAPHDR_SET_FLAG_BITS(&(x)->hdr, DUK_HSTRING_FLAG_SYMBOL)

Definition at line 6350 of file duktape.c.

◆ DUK_HTHREAD_ASSERT_VALID

#define DUK_HTHREAD_ASSERT_VALID (   thr)
Value:
do { \
} while (0)

Definition at line 8190 of file duktape.c.

◆ DUK_HTHREAD_DECREF

#define DUK_HTHREAD_DECREF (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero, duk_hobject *)

Definition at line 5068 of file duktape.c.

◆ DUK_HTHREAD_DECREF_ALLOWNULL

#define DUK_HTHREAD_DECREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HTHREAD_DECREF((thr), (h)); \
} \
} while (0)

Definition at line 5163 of file duktape.c.

◆ DUK_HTHREAD_DECREF_NORZ

#define DUK_HTHREAD_DECREF_NORZ (   thr,
 
)    DUK_HEAPHDR_DECREF_FAST_RAW((thr), (h), duk_hobject_refzero_norz, duk_hobject *)

Definition at line 5069 of file duktape.c.

◆ DUK_HTHREAD_DECREF_NORZ_ALLOWNULL

#define DUK_HTHREAD_DECREF_NORZ_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HTHREAD_DECREF_NORZ((thr), (h)); \
} \
} while (0)

Definition at line 5169 of file duktape.c.

◆ DUK_HTHREAD_GET_STRING

#define DUK_HTHREAD_GET_STRING (   thr,
  idx 
)    ((thr)->strs[(idx)])

Definition at line 8147 of file duktape.c.

◆ DUK_HTHREAD_H_INCLUDED

#define DUK_HTHREAD_H_INCLUDED

Definition at line 8033 of file duktape.c.

◆ DUK_HTHREAD_INCREF

#define DUK_HTHREAD_INCREF (   thr,
 
)    DUK_HEAPHDR_INCREF((thr), (duk_heaphdr *) &(h)->obj)

Definition at line 5067 of file duktape.c.

◆ DUK_HTHREAD_INCREF_ALLOWNULL

#define DUK_HTHREAD_INCREF_ALLOWNULL (   thr,
 
)
Value:
do { \
if ((h) != NULL) { \
DUK_HTHREAD_INCREF((thr), (h)); \
} \
} while (0)

Definition at line 5157 of file duktape.c.

◆ DUK_HTHREAD_INTCTR_DEFAULT

#define DUK_HTHREAD_INTCTR_DEFAULT   (256L * 1024L)

Definition at line 8164 of file duktape.c.

◆ DUK_HTHREAD_STATE_INACTIVE

#define DUK_HTHREAD_STATE_INACTIVE   1 /* thread not currently running */

Definition at line 8152 of file duktape.c.

◆ DUK_HTHREAD_STATE_RESUMED

#define DUK_HTHREAD_STATE_RESUMED   3 /* thread resumed another thread (active but not running) */

Definition at line 8154 of file duktape.c.

◆ DUK_HTHREAD_STATE_RUNNING

#define DUK_HTHREAD_STATE_RUNNING   2 /* thread currently running (only one at a time) */

Definition at line 8153 of file duktape.c.

◆ DUK_HTHREAD_STATE_TERMINATED

#define DUK_HTHREAD_STATE_TERMINATED   5 /* thread has terminated */

Definition at line 8156 of file duktape.c.

◆ DUK_HTHREAD_STATE_YIELDED

#define DUK_HTHREAD_STATE_YIELDED   4 /* thread has yielded */

Definition at line 8155 of file duktape.c.

◆ DUK_HTHREAD_STRING___PROTO__

#define DUK_HTHREAD_STRING___PROTO__ (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX___PROTO__)

Definition at line 1824 of file duktape.c.

◆ DUK_HTHREAD_STRING_APPLY

#define DUK_HTHREAD_STRING_APPLY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_APPLY)

Definition at line 1791 of file duktape.c.

◆ DUK_HTHREAD_STRING_ARRAY_BUFFER

#define DUK_HTHREAD_STRING_ARRAY_BUFFER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ARRAY_BUFFER)

Definition at line 1629 of file duktape.c.

◆ DUK_HTHREAD_STRING_BASE64

#define DUK_HTHREAD_STRING_BASE64 (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_BASE64)

Definition at line 1920 of file duktape.c.

◆ DUK_HTHREAD_STRING_BRACKETED_ELLIPSIS

#define DUK_HTHREAD_STRING_BRACKETED_ELLIPSIS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_BRACKETED_ELLIPSIS)

Definition at line 1776 of file duktape.c.

◆ DUK_HTHREAD_STRING_BREAK

#define DUK_HTHREAD_STRING_BREAK (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_BREAK)

Definition at line 1947 of file duktape.c.

◆ DUK_HTHREAD_STRING_CALLEE

#define DUK_HTHREAD_STRING_CALLEE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CALLEE)

Definition at line 1785 of file duktape.c.

◆ DUK_HTHREAD_STRING_CALLER

#define DUK_HTHREAD_STRING_CALLER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CALLER)

Definition at line 1788 of file duktape.c.

◆ DUK_HTHREAD_STRING_CASE

#define DUK_HTHREAD_STRING_CASE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CASE)

Definition at line 1950 of file duktape.c.

◆ DUK_HTHREAD_STRING_CATCH

#define DUK_HTHREAD_STRING_CATCH (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CATCH)

Definition at line 1953 of file duktape.c.

◆ DUK_HTHREAD_STRING_CLASS

#define DUK_HTHREAD_STRING_CLASS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CLASS)

Definition at line 2028 of file duktape.c.

◆ DUK_HTHREAD_STRING_COMMA

#define DUK_HTHREAD_STRING_COMMA (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_COMMA)

Definition at line 1770 of file duktape.c.

◆ DUK_HTHREAD_STRING_COMPILE

#define DUK_HTHREAD_STRING_COMPILE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_COMPILE)

Definition at line 1902 of file duktape.c.

◆ DUK_HTHREAD_STRING_CONFIGURABLE

#define DUK_HTHREAD_STRING_CONFIGURABLE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONFIGURABLE)

Definition at line 1689 of file duktape.c.

◆ DUK_HTHREAD_STRING_CONST

#define DUK_HTHREAD_STRING_CONST (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONST)

Definition at line 2016 of file duktape.c.

◆ DUK_HTHREAD_STRING_CONSTRUCT

#define DUK_HTHREAD_STRING_CONSTRUCT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONSTRUCT)

Definition at line 1794 of file duktape.c.

◆ DUK_HTHREAD_STRING_CONSTRUCTOR

#define DUK_HTHREAD_STRING_CONSTRUCTOR (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONSTRUCTOR)

Definition at line 1734 of file duktape.c.

◆ DUK_HTHREAD_STRING_CONTINUE

#define DUK_HTHREAD_STRING_CONTINUE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_CONTINUE)

Definition at line 1956 of file duktape.c.

◆ DUK_HTHREAD_STRING_DATA

#define DUK_HTHREAD_STRING_DATA (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DATA)

Definition at line 1836 of file duktape.c.

◆ DUK_HTHREAD_STRING_DATA_VIEW

#define DUK_HTHREAD_STRING_DATA_VIEW (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DATA_VIEW)

Definition at line 1632 of file duktape.c.

◆ DUK_HTHREAD_STRING_DEBUGGER

#define DUK_HTHREAD_STRING_DEBUGGER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DEBUGGER)

Definition at line 1959 of file duktape.c.

◆ DUK_HTHREAD_STRING_DEC_ENV

#define DUK_HTHREAD_STRING_DEC_ENV (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DEC_ENV)

Definition at line 1668 of file duktape.c.

◆ DUK_HTHREAD_STRING_DEFAULT

#define DUK_HTHREAD_STRING_DEFAULT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DEFAULT)

Definition at line 1962 of file duktape.c.

◆ DUK_HTHREAD_STRING_DELETE

#define DUK_HTHREAD_STRING_DELETE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DELETE)

Definition at line 1965 of file duktape.c.

◆ DUK_HTHREAD_STRING_DELETE_PROPERTY

#define DUK_HTHREAD_STRING_DELETE_PROPERTY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DELETE_PROPERTY)

Definition at line 1797 of file duktape.c.

◆ DUK_HTHREAD_STRING_DO

#define DUK_HTHREAD_STRING_DO (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_DO)

Definition at line 1968 of file duktape.c.

◆ DUK_HTHREAD_STRING_ELSE

#define DUK_HTHREAD_STRING_ELSE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ELSE)

Definition at line 1971 of file duktape.c.

◆ DUK_HTHREAD_STRING_EMPTY_STRING

#define DUK_HTHREAD_STRING_EMPTY_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EMPTY_STRING)

Definition at line 1626 of file duktape.c.

◆ DUK_HTHREAD_STRING_ENUM

#define DUK_HTHREAD_STRING_ENUM (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ENUM)

Definition at line 2031 of file duktape.c.

◆ DUK_HTHREAD_STRING_ENUMERABLE

#define DUK_HTHREAD_STRING_ENUMERABLE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ENUMERABLE)

Definition at line 1692 of file duktape.c.

◆ DUK_HTHREAD_STRING_ENV

#define DUK_HTHREAD_STRING_ENV (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ENV)

Definition at line 1914 of file duktape.c.

◆ DUK_HTHREAD_STRING_ERR_CREATE

#define DUK_HTHREAD_STRING_ERR_CREATE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ERR_CREATE)

Definition at line 1908 of file duktape.c.

◆ DUK_HTHREAD_STRING_ERR_THROW

#define DUK_HTHREAD_STRING_ERR_THROW (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_ERR_THROW)

Definition at line 1911 of file duktape.c.

◆ DUK_HTHREAD_STRING_EVAL

#define DUK_HTHREAD_STRING_EVAL (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EVAL)

Definition at line 1680 of file duktape.c.

◆ DUK_HTHREAD_STRING_EXPORT

#define DUK_HTHREAD_STRING_EXPORT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EXPORT)

Definition at line 2034 of file duktape.c.

◆ DUK_HTHREAD_STRING_EXTENDS

#define DUK_HTHREAD_STRING_EXTENDS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_EXTENDS)

Definition at line 2037 of file duktape.c.

◆ DUK_HTHREAD_STRING_FALSE

#define DUK_HTHREAD_STRING_FALSE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FALSE)

Definition at line 2052 of file duktape.c.

◆ DUK_HTHREAD_STRING_FILE_NAME

#define DUK_HTHREAD_STRING_FILE_NAME (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FILE_NAME)

Definition at line 1863 of file duktape.c.

◆ DUK_HTHREAD_STRING_FINALLY

#define DUK_HTHREAD_STRING_FINALLY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FINALLY)

Definition at line 1974 of file duktape.c.

◆ DUK_HTHREAD_STRING_FLAGS

#define DUK_HTHREAD_STRING_FLAGS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FLAGS)

Definition at line 1725 of file duktape.c.

◆ DUK_HTHREAD_STRING_FLOAT32_ARRAY

#define DUK_HTHREAD_STRING_FLOAT32_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FLOAT32_ARRAY)

Definition at line 1656 of file duktape.c.

◆ DUK_HTHREAD_STRING_FLOAT64_ARRAY

#define DUK_HTHREAD_STRING_FLOAT64_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FLOAT64_ARRAY)

Definition at line 1659 of file duktape.c.

◆ DUK_HTHREAD_STRING_FOR

#define DUK_HTHREAD_STRING_FOR (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_FOR)

Definition at line 1977 of file duktape.c.

◆ DUK_HTHREAD_STRING_GET

#define DUK_HTHREAD_STRING_GET (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_GET)

Definition at line 1800 of file duktape.c.

◆ DUK_HTHREAD_STRING_GLOBAL

#define DUK_HTHREAD_STRING_GLOBAL (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_GLOBAL)

Definition at line 1662 of file duktape.c.

◆ DUK_HTHREAD_STRING_HAS

#define DUK_HTHREAD_STRING_HAS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_HAS)

Definition at line 1803 of file duktape.c.

◆ DUK_HTHREAD_STRING_HEX

#define DUK_HTHREAD_STRING_HEX (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_HEX)

Definition at line 1917 of file duktape.c.

◆ DUK_HTHREAD_STRING_IF

#define DUK_HTHREAD_STRING_IF (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IF)

Definition at line 1983 of file duktape.c.

◆ DUK_HTHREAD_STRING_IGNORE_CASE

#define DUK_HTHREAD_STRING_IGNORE_CASE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IGNORE_CASE)

Definition at line 1716 of file duktape.c.

◆ DUK_HTHREAD_STRING_IMPLEMENTS

#define DUK_HTHREAD_STRING_IMPLEMENTS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IMPLEMENTS)

Definition at line 2055 of file duktape.c.

◆ DUK_HTHREAD_STRING_IMPORT

#define DUK_HTHREAD_STRING_IMPORT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IMPORT)

Definition at line 2040 of file duktape.c.

◆ DUK_HTHREAD_STRING_IN

#define DUK_HTHREAD_STRING_IN (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_IN)

Definition at line 1986 of file duktape.c.

◆ DUK_HTHREAD_STRING_INDEX

#define DUK_HTHREAD_STRING_INDEX (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INDEX)

Definition at line 1728 of file duktape.c.

◆ DUK_HTHREAD_STRING_INFINITY

#define DUK_HTHREAD_STRING_INFINITY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INFINITY)

Definition at line 1761 of file duktape.c.

◆ DUK_HTHREAD_STRING_INPUT

#define DUK_HTHREAD_STRING_INPUT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INPUT)

Definition at line 1905 of file duktape.c.

◆ DUK_HTHREAD_STRING_INSTANCEOF

#define DUK_HTHREAD_STRING_INSTANCEOF (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INSTANCEOF)

Definition at line 1989 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT16_ARRAY

#define DUK_HTHREAD_STRING_INT16_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT16_ARRAY)

Definition at line 1644 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT32_ARRAY

#define DUK_HTHREAD_STRING_INT32_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT32_ARRAY)

Definition at line 1650 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT8_ARRAY

#define DUK_HTHREAD_STRING_INT8_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT8_ARRAY)

Definition at line 1635 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_BYTECODE

#define DUK_HTHREAD_STRING_INT_BYTECODE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_BYTECODE)

Definition at line 1875 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_FINALIZER

#define DUK_HTHREAD_STRING_INT_FINALIZER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_FINALIZER)

Definition at line 1896 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_FORMALS

#define DUK_HTHREAD_STRING_INT_FORMALS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_FORMALS)

Definition at line 1878 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_MAP

#define DUK_HTHREAD_STRING_INT_MAP (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_MAP)

Definition at line 1890 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_NEXT

#define DUK_HTHREAD_STRING_INT_NEXT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_NEXT)

Definition at line 1872 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_PC2LINE

#define DUK_HTHREAD_STRING_INT_PC2LINE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_PC2LINE)

Definition at line 1887 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_SOURCE

#define DUK_HTHREAD_STRING_INT_SOURCE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_SOURCE)

Definition at line 1884 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_TARGET

#define DUK_HTHREAD_STRING_INT_TARGET (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_TARGET)

Definition at line 1869 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_TRACEDATA

#define DUK_HTHREAD_STRING_INT_TRACEDATA (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_TRACEDATA)

Definition at line 1857 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_VALUE

#define DUK_HTHREAD_STRING_INT_VALUE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_VALUE)

Definition at line 1899 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_VARENV

#define DUK_HTHREAD_STRING_INT_VARENV (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_VARENV)

Definition at line 1893 of file duktape.c.

◆ DUK_HTHREAD_STRING_INT_VARMAP

#define DUK_HTHREAD_STRING_INT_VARMAP (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INT_VARMAP)

Definition at line 1881 of file duktape.c.

◆ DUK_HTHREAD_STRING_INTERFACE

#define DUK_HTHREAD_STRING_INTERFACE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INTERFACE)

Definition at line 2058 of file duktape.c.

◆ DUK_HTHREAD_STRING_INVALID_DATE

#define DUK_HTHREAD_STRING_INVALID_DATE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_INVALID_DATE)

Definition at line 1779 of file duktape.c.

◆ DUK_HTHREAD_STRING_JC

#define DUK_HTHREAD_STRING_JC (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JC)

Definition at line 1926 of file duktape.c.

◆ DUK_HTHREAD_STRING_JOIN

#define DUK_HTHREAD_STRING_JOIN (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JOIN)

Definition at line 1695 of file duktape.c.

◆ DUK_HTHREAD_STRING_JSON

#define DUK_HTHREAD_STRING_JSON (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON)

Definition at line 1623 of file duktape.c.

◆ DUK_HTHREAD_STRING_JSON_EXT_FUNCTION1

#define DUK_HTHREAD_STRING_JSON_EXT_FUNCTION1 (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_FUNCTION1)

Definition at line 1941 of file duktape.c.

◆ DUK_HTHREAD_STRING_JSON_EXT_FUNCTION2

#define DUK_HTHREAD_STRING_JSON_EXT_FUNCTION2 (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_FUNCTION2)

Definition at line 1944 of file duktape.c.

◆ DUK_HTHREAD_STRING_JSON_EXT_NAN

#define DUK_HTHREAD_STRING_JSON_EXT_NAN (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_NAN)

Definition at line 1932 of file duktape.c.

◆ DUK_HTHREAD_STRING_JSON_EXT_NEGINF

#define DUK_HTHREAD_STRING_JSON_EXT_NEGINF (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_NEGINF)

Definition at line 1938 of file duktape.c.

◆ DUK_HTHREAD_STRING_JSON_EXT_POSINF

#define DUK_HTHREAD_STRING_JSON_EXT_POSINF (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_POSINF)

Definition at line 1935 of file duktape.c.

◆ DUK_HTHREAD_STRING_JSON_EXT_UNDEFINED

#define DUK_HTHREAD_STRING_JSON_EXT_UNDEFINED (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JSON_EXT_UNDEFINED)

Definition at line 1929 of file duktape.c.

◆ DUK_HTHREAD_STRING_JX

#define DUK_HTHREAD_STRING_JX (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_JX)

Definition at line 1923 of file duktape.c.

◆ DUK_HTHREAD_STRING_LAST_INDEX

#define DUK_HTHREAD_STRING_LAST_INDEX (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LAST_INDEX)

Definition at line 1722 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_ARGUMENTS

#define DUK_HTHREAD_STRING_LC_ARGUMENTS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_ARGUMENTS)

Definition at line 1782 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_BOOLEAN

#define DUK_HTHREAD_STRING_LC_BOOLEAN (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_BOOLEAN)

Definition at line 1740 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_BUFFER

#define DUK_HTHREAD_STRING_LC_BUFFER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_BUFFER)

Definition at line 1839 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_FUNCTION

#define DUK_HTHREAD_STRING_LC_FUNCTION (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_FUNCTION)

Definition at line 1980 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_NULL

#define DUK_HTHREAD_STRING_LC_NULL (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_NULL)

Definition at line 2046 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_NUMBER

#define DUK_HTHREAD_STRING_LC_NUMBER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_NUMBER)

Definition at line 1743 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_OBJECT

#define DUK_HTHREAD_STRING_LC_OBJECT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_OBJECT)

Definition at line 1752 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_POINTER

#define DUK_HTHREAD_STRING_LC_POINTER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_POINTER)

Definition at line 1866 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_STRING

#define DUK_HTHREAD_STRING_LC_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_STRING)

Definition at line 1746 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_SYMBOL

#define DUK_HTHREAD_STRING_LC_SYMBOL (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_SYMBOL)

Definition at line 1749 of file duktape.c.

◆ DUK_HTHREAD_STRING_LC_UNDEFINED

#define DUK_HTHREAD_STRING_LC_UNDEFINED (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LC_UNDEFINED)

Definition at line 1755 of file duktape.c.

◆ DUK_HTHREAD_STRING_LENGTH

#define DUK_HTHREAD_STRING_LENGTH (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LENGTH)

Definition at line 1842 of file duktape.c.

◆ DUK_HTHREAD_STRING_LET

#define DUK_HTHREAD_STRING_LET (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LET)

Definition at line 2061 of file duktape.c.

◆ DUK_HTHREAD_STRING_LINE_NUMBER

#define DUK_HTHREAD_STRING_LINE_NUMBER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_LINE_NUMBER)

Definition at line 1854 of file duktape.c.

◆ DUK_HTHREAD_STRING_MATH

#define DUK_HTHREAD_STRING_MATH (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MATH)

Definition at line 1620 of file duktape.c.

◆ DUK_HTHREAD_STRING_MESSAGE

#define DUK_HTHREAD_STRING_MESSAGE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MESSAGE)

Definition at line 1737 of file duktape.c.

◆ DUK_HTHREAD_STRING_MINUS_INFINITY

#define DUK_HTHREAD_STRING_MINUS_INFINITY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MINUS_INFINITY)

Definition at line 1764 of file duktape.c.

◆ DUK_HTHREAD_STRING_MINUS_ZERO

#define DUK_HTHREAD_STRING_MINUS_ZERO (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MINUS_ZERO)

Definition at line 1767 of file duktape.c.

◆ DUK_HTHREAD_STRING_MULTILINE

#define DUK_HTHREAD_STRING_MULTILINE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_MULTILINE)

Definition at line 1719 of file duktape.c.

◆ DUK_HTHREAD_STRING_NAME

#define DUK_HTHREAD_STRING_NAME (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NAME)

Definition at line 1860 of file duktape.c.

◆ DUK_HTHREAD_STRING_NAN

#define DUK_HTHREAD_STRING_NAN (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NAN)

Definition at line 1758 of file duktape.c.

◆ DUK_HTHREAD_STRING_NEW

#define DUK_HTHREAD_STRING_NEW (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NEW)

Definition at line 1992 of file duktape.c.

◆ DUK_HTHREAD_STRING_NEWLINE_4SPACE

#define DUK_HTHREAD_STRING_NEWLINE_4SPACE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_NEWLINE_4SPACE)

Definition at line 1773 of file duktape.c.

◆ DUK_HTHREAD_STRING_OBJ_ENV

#define DUK_HTHREAD_STRING_OBJ_ENV (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_OBJ_ENV)

Definition at line 1665 of file duktape.c.

◆ DUK_HTHREAD_STRING_OWN_KEYS

#define DUK_HTHREAD_STRING_OWN_KEYS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_OWN_KEYS)

Definition at line 1806 of file duktape.c.

◆ DUK_HTHREAD_STRING_PACKAGE

#define DUK_HTHREAD_STRING_PACKAGE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PACKAGE)

Definition at line 2064 of file duktape.c.

◆ DUK_HTHREAD_STRING_PC

#define DUK_HTHREAD_STRING_PC (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PC)

Definition at line 1851 of file duktape.c.

◆ DUK_HTHREAD_STRING_PRIVATE

#define DUK_HTHREAD_STRING_PRIVATE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PRIVATE)

Definition at line 2067 of file duktape.c.

◆ DUK_HTHREAD_STRING_PROTECTED

#define DUK_HTHREAD_STRING_PROTECTED (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PROTECTED)

Definition at line 2070 of file duktape.c.

◆ DUK_HTHREAD_STRING_PROTOTYPE

#define DUK_HTHREAD_STRING_PROTOTYPE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PROTOTYPE)

Definition at line 1731 of file duktape.c.

◆ DUK_HTHREAD_STRING_PUBLIC

#define DUK_HTHREAD_STRING_PUBLIC (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_PUBLIC)

Definition at line 2073 of file duktape.c.

◆ DUK_HTHREAD_STRING_REG_EXP

#define DUK_HTHREAD_STRING_REG_EXP (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_REG_EXP)

Definition at line 1614 of file duktape.c.

◆ DUK_HTHREAD_STRING_RETURN

#define DUK_HTHREAD_STRING_RETURN (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_RETURN)

Definition at line 1995 of file duktape.c.

◆ DUK_HTHREAD_STRING_SET

#define DUK_HTHREAD_STRING_SET (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SET)

Definition at line 1845 of file duktape.c.

◆ DUK_HTHREAD_STRING_SET_PROTOTYPE_OF

#define DUK_HTHREAD_STRING_SET_PROTOTYPE_OF (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SET_PROTOTYPE_OF)

Definition at line 1821 of file duktape.c.

◆ DUK_HTHREAD_STRING_SOURCE

#define DUK_HTHREAD_STRING_SOURCE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SOURCE)

Definition at line 1713 of file duktape.c.

◆ DUK_HTHREAD_STRING_STACK

#define DUK_HTHREAD_STRING_STACK (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_STACK)

Definition at line 1848 of file duktape.c.

◆ DUK_HTHREAD_STRING_STATIC

#define DUK_HTHREAD_STRING_STATIC (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_STATIC)

Definition at line 2076 of file duktape.c.

◆ DUK_HTHREAD_STRING_SUPER

#define DUK_HTHREAD_STRING_SUPER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SUPER)

Definition at line 2043 of file duktape.c.

◆ DUK_HTHREAD_STRING_SWITCH

#define DUK_HTHREAD_STRING_SWITCH (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_SWITCH)

Definition at line 1998 of file duktape.c.

◆ DUK_HTHREAD_STRING_THIS

#define DUK_HTHREAD_STRING_THIS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_THIS)

Definition at line 2001 of file duktape.c.

◆ DUK_HTHREAD_STRING_THROW

#define DUK_HTHREAD_STRING_THROW (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_THROW)

Definition at line 2004 of file duktape.c.

◆ DUK_HTHREAD_STRING_TO_GMT_STRING

#define DUK_HTHREAD_STRING_TO_GMT_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_GMT_STRING)

Definition at line 1710 of file duktape.c.

◆ DUK_HTHREAD_STRING_TO_ISO_STRING

#define DUK_HTHREAD_STRING_TO_ISO_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_ISO_STRING)

Definition at line 1707 of file duktape.c.

◆ DUK_HTHREAD_STRING_TO_JSON

#define DUK_HTHREAD_STRING_TO_JSON (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_JSON)

Definition at line 1830 of file duktape.c.

◆ DUK_HTHREAD_STRING_TO_LOCALE_STRING

#define DUK_HTHREAD_STRING_TO_LOCALE_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_LOCALE_STRING)

Definition at line 1698 of file duktape.c.

◆ DUK_HTHREAD_STRING_TO_STRING

#define DUK_HTHREAD_STRING_TO_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_STRING)

Definition at line 1827 of file duktape.c.

◆ DUK_HTHREAD_STRING_TO_UTC_STRING

#define DUK_HTHREAD_STRING_TO_UTC_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TO_UTC_STRING)

Definition at line 1704 of file duktape.c.

◆ DUK_HTHREAD_STRING_TRUE

#define DUK_HTHREAD_STRING_TRUE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TRUE)

Definition at line 2049 of file duktape.c.

◆ DUK_HTHREAD_STRING_TRY

#define DUK_HTHREAD_STRING_TRY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TRY)

Definition at line 2007 of file duktape.c.

◆ DUK_HTHREAD_STRING_TYPE

#define DUK_HTHREAD_STRING_TYPE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TYPE)

Definition at line 1833 of file duktape.c.

◆ DUK_HTHREAD_STRING_TYPEOF

#define DUK_HTHREAD_STRING_TYPEOF (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_TYPEOF)

Definition at line 2010 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_ARGUMENTS

#define DUK_HTHREAD_STRING_UC_ARGUMENTS (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_ARGUMENTS)

Definition at line 1590 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_ARRAY

#define DUK_HTHREAD_STRING_UC_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_ARRAY)

Definition at line 1599 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_BOOLEAN

#define DUK_HTHREAD_STRING_UC_BOOLEAN (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_BOOLEAN)

Definition at line 1605 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_BUFFER

#define DUK_HTHREAD_STRING_UC_BUFFER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_BUFFER)

Definition at line 1671 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_DATE

#define DUK_HTHREAD_STRING_UC_DATE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_DATE)

Definition at line 1611 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_ERROR

#define DUK_HTHREAD_STRING_UC_ERROR (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_ERROR)

Definition at line 1617 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_FUNCTION

#define DUK_HTHREAD_STRING_UC_FUNCTION (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_FUNCTION)

Definition at line 1596 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_NULL

#define DUK_HTHREAD_STRING_UC_NULL (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_NULL)

Definition at line 1584 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_NUMBER

#define DUK_HTHREAD_STRING_UC_NUMBER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_NUMBER)

Definition at line 1608 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_OBJECT

#define DUK_HTHREAD_STRING_UC_OBJECT (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_OBJECT)

Definition at line 1593 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_POINTER

#define DUK_HTHREAD_STRING_UC_POINTER (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_POINTER)

Definition at line 1674 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_STRING

#define DUK_HTHREAD_STRING_UC_STRING (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_STRING)

Definition at line 1602 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_SYMBOL

#define DUK_HTHREAD_STRING_UC_SYMBOL (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_SYMBOL)

Definition at line 1587 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_THREAD

#define DUK_HTHREAD_STRING_UC_THREAD (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_THREAD)

Definition at line 1677 of file duktape.c.

◆ DUK_HTHREAD_STRING_UC_UNDEFINED

#define DUK_HTHREAD_STRING_UC_UNDEFINED (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UC_UNDEFINED)

Definition at line 1581 of file duktape.c.

◆ DUK_HTHREAD_STRING_UINT16_ARRAY

#define DUK_HTHREAD_STRING_UINT16_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT16_ARRAY)

Definition at line 1647 of file duktape.c.

◆ DUK_HTHREAD_STRING_UINT32_ARRAY

#define DUK_HTHREAD_STRING_UINT32_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT32_ARRAY)

Definition at line 1653 of file duktape.c.

◆ DUK_HTHREAD_STRING_UINT8_ARRAY

#define DUK_HTHREAD_STRING_UINT8_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT8_ARRAY)

Definition at line 1638 of file duktape.c.

◆ DUK_HTHREAD_STRING_UINT8_CLAMPED_ARRAY

#define DUK_HTHREAD_STRING_UINT8_CLAMPED_ARRAY (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_UINT8_CLAMPED_ARRAY)

Definition at line 1641 of file duktape.c.

◆ DUK_HTHREAD_STRING_VALUE

#define DUK_HTHREAD_STRING_VALUE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VALUE)

Definition at line 1683 of file duktape.c.

◆ DUK_HTHREAD_STRING_VALUE_OF

#define DUK_HTHREAD_STRING_VALUE_OF (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VALUE_OF)

Definition at line 1701 of file duktape.c.

◆ DUK_HTHREAD_STRING_VAR

#define DUK_HTHREAD_STRING_VAR (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VAR)

Definition at line 2013 of file duktape.c.

◆ DUK_HTHREAD_STRING_VOID

#define DUK_HTHREAD_STRING_VOID (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_VOID)

Definition at line 2019 of file duktape.c.

◆ DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_HAS_INSTANCE

#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_HAS_INSTANCE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_HAS_INSTANCE)

Definition at line 1812 of file duktape.c.

◆ DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE

#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE)

Definition at line 1818 of file duktape.c.

◆ DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_TO_PRIMITIVE

#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_TO_PRIMITIVE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_PRIMITIVE)

Definition at line 1809 of file duktape.c.

◆ DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_TO_STRING_TAG

#define DUK_HTHREAD_STRING_WELLKNOWN_SYMBOL_TO_STRING_TAG (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WELLKNOWN_SYMBOL_TO_STRING_TAG)

Definition at line 1815 of file duktape.c.

◆ DUK_HTHREAD_STRING_WHILE

#define DUK_HTHREAD_STRING_WHILE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WHILE)

Definition at line 2022 of file duktape.c.

◆ DUK_HTHREAD_STRING_WITH

#define DUK_HTHREAD_STRING_WITH (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WITH)

Definition at line 2025 of file duktape.c.

◆ DUK_HTHREAD_STRING_WRITABLE

#define DUK_HTHREAD_STRING_WRITABLE (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_WRITABLE)

Definition at line 1686 of file duktape.c.

◆ DUK_HTHREAD_STRING_YIELD

#define DUK_HTHREAD_STRING_YIELD (   thr)    DUK_HTHREAD_GET_STRING((thr),DUK_STRIDX_YIELD)

Definition at line 2079 of file duktape.c.

◆ DUK_HTHREAD_THIS_PTR

#define DUK_HTHREAD_THIS_PTR (   thr)     (DUK_ASSERT_EXPR((thr) != NULL), DUK_ASSERT_EXPR((thr)->valstack_bottom > (thr)->valstack), (thr)->valstack_bottom - 1)

Definition at line 8221 of file duktape.c.

◆ DUK_HTYPE_BUFFER

#define DUK_HTYPE_BUFFER   2

Definition at line 4690 of file duktape.c.

◆ DUK_HTYPE_MAX

#define DUK_HTYPE_MAX   2

Definition at line 4691 of file duktape.c.

◆ DUK_HTYPE_MIN

#define DUK_HTYPE_MIN   0

Definition at line 4687 of file duktape.c.

◆ DUK_HTYPE_OBJECT

#define DUK_HTYPE_OBJECT   1

Definition at line 4689 of file duktape.c.

◆ DUK_HTYPE_STRING

#define DUK_HTYPE_STRING   0

Definition at line 4688 of file duktape.c.

◆ DUK_INLINE_PERF

#define DUK_INLINE_PERF   DUK_INLINE

Definition at line 5904 of file duktape.c.

◆ DUK_INTERNAL_H_INCLUDED

#define DUK_INTERNAL_H_INCLUDED

Definition at line 180 of file duktape.c.

◆ DUK_IS_POWER_OF_TWO

#define DUK_IS_POWER_OF_TWO (   x)    ((x) != 0U && ((x) & ((x) -1U)) == 0U)

Definition at line 3154 of file duktape.c.

◆ DUK_ISPEC_NONE

#define DUK_ISPEC_NONE   0 /* no value */

Definition at line 4268 of file duktape.c.

◆ DUK_ISPEC_REGCONST

#define DUK_ISPEC_REGCONST   2 /* value resides in a register or constant */

Definition at line 4270 of file duktape.c.

◆ DUK_ISPEC_VALUE

#define DUK_ISPEC_VALUE   1 /* value resides in 'valstack_idx' */

Definition at line 4269 of file duktape.c.

◆ DUK_IVAL_ARITH

#define DUK_IVAL_ARITH   2 /* binary arithmetic; DUK_OP_ADD, DUK_OP_EQ, other binary ops */

Definition at line 4264 of file duktape.c.

◆ DUK_IVAL_NONE

#define DUK_IVAL_NONE   0 /* no value */

Definition at line 4262 of file duktape.c.

◆ DUK_IVAL_PLAIN

#define DUK_IVAL_PLAIN   1 /* register, constant, or value */

Definition at line 4263 of file duktape.c.

◆ DUK_IVAL_PROP

#define DUK_IVAL_PROP   3 /* property access */

Definition at line 4265 of file duktape.c.

◆ DUK_IVAL_VAR

#define DUK_IVAL_VAR   4 /* variable access */

Definition at line 4266 of file duktape.c.

◆ DUK_JMPBUF_H_INCLUDED

#define DUK_JMPBUF_H_INCLUDED

Definition at line 710 of file duktape.c.

◆ DUK_JS_BYTECODE_H_INCLUDED

#define DUK_JS_BYTECODE_H_INCLUDED

Definition at line 3333 of file duktape.c.

◆ DUK_JS_COMPILER_H_INCLUDED

#define DUK_JS_COMPILER_H_INCLUDED

Definition at line 4243 of file duktape.c.

◆ duk_js_equals

#define duk_js_equals (   thr,
  tv_x,
  tv_y 
)    duk_js_equals_helper((thr), (tv_x), (tv_y), 0)

Definition at line 11148 of file duktape.c.

◆ duk_js_greaterthan

#define duk_js_greaterthan (   thr,
  tv_x,
  tv_y 
)    duk_js_compare_helper((thr), (tv_y), (tv_x), 0)

Definition at line 11156 of file duktape.c.

◆ duk_js_greaterthanorequal

#define duk_js_greaterthanorequal (   thr,
  tv_x,
  tv_y 
)     duk_js_compare_helper((thr), (tv_x), (tv_y), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST | DUK_COMPARE_FLAG_NEGATE)

Definition at line 11162 of file duktape.c.

◆ DUK_JS_H_INCLUDED

#define DUK_JS_H_INCLUDED

Definition at line 11092 of file duktape.c.

◆ duk_js_lessthan

#define duk_js_lessthan (   thr,
  tv_x,
  tv_y 
)    duk_js_compare_helper((thr), (tv_x), (tv_Y), DUK_COMPARE_FLAG_EVAL_LEFT_FIRST)

Definition at line 11153 of file duktape.c.

◆ duk_js_lessthanorequal

#define duk_js_lessthanorequal (   thr,
  tv_x,
  tv_y 
)    duk_js_compare_helper((thr), (tv_y), (tv_x), DUK_COMPARE_FLAG_NEGATE)

Definition at line 11159 of file duktape.c.

◆ duk_js_samevalue

#define duk_js_samevalue (   tv_x,
  tv_y 
)    duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_SAMEVALUE)

Definition at line 11150 of file duktape.c.

◆ duk_js_strict_equals

#define duk_js_strict_equals (   tv_x,
  tv_y 
)    duk_js_equals_helper(NULL, (tv_x), (tv_y), DUK_EQUALS_FLAG_STRICT)

Definition at line 11149 of file duktape.c.

◆ DUK_JSON_DEC_REQSTACK

#define DUK_JSON_DEC_REQSTACK   32

Definition at line 11035 of file duktape.c.

◆ DUK_JSON_ENC_LOOPARRAY

#define DUK_JSON_ENC_LOOPARRAY   64

Definition at line 11038 of file duktape.c.

◆ DUK_JSON_ENC_REQSTACK

#define DUK_JSON_ENC_REQSTACK   32

Definition at line 11032 of file duktape.c.

◆ DUK_JSON_FLAG_ASCII_ONLY

#define DUK_JSON_FLAG_ASCII_ONLY   (1U << 0) /* escape any non-ASCII characters */

Definition at line 11026 of file duktape.c.

◆ DUK_JSON_FLAG_AVOID_KEY_QUOTES

#define DUK_JSON_FLAG_AVOID_KEY_QUOTES   (1U << 1) /* avoid key quotes when key is an ASCII Identifier */

Definition at line 11027 of file duktape.c.

◆ DUK_JSON_FLAG_EXT_COMPATIBLE

#define DUK_JSON_FLAG_EXT_COMPATIBLE   (1U << 3) /* extended types: compatible encoding */

Definition at line 11029 of file duktape.c.

◆ DUK_JSON_FLAG_EXT_CUSTOM

#define DUK_JSON_FLAG_EXT_CUSTOM   (1U << 2) /* extended types: custom encoding */

Definition at line 11028 of file duktape.c.

◆ DUK_JSON_H_INCLUDED

#define DUK_JSON_H_INCLUDED

Definition at line 11023 of file duktape.c.

◆ DUK_LABEL_FLAG_ALLOW_BREAK

#define DUK_LABEL_FLAG_ALLOW_BREAK   (1U << 0)

Definition at line 4321 of file duktape.c.

◆ DUK_LABEL_FLAG_ALLOW_CONTINUE

#define DUK_LABEL_FLAG_ALLOW_CONTINUE   (1U << 1)

Definition at line 4322 of file duktape.c.

◆ DUK_LEXER_BUFFER_SIZE

#define DUK_LEXER_BUFFER_SIZE   64

Definition at line 3839 of file duktape.c.

◆ DUK_LEXER_GETPOINT

#define DUK_LEXER_GETPOINT (   ctx,
  pt 
)    duk_lexer_getpoint((ctx), (pt))

Definition at line 3834 of file duktape.c.

◆ DUK_LEXER_H_INCLUDED

#define DUK_LEXER_H_INCLUDED

Definition at line 3807 of file duktape.c.

◆ DUK_LEXER_INITCTX

#define DUK_LEXER_INITCTX (   ctx)    duk_lexer_initctx((ctx))

Definition at line 3830 of file duktape.c.

◆ DUK_LEXER_SETPOINT

#define DUK_LEXER_SETPOINT (   ctx,
  pt 
)    duk_lexer_setpoint((ctx), (pt))

Definition at line 3832 of file duktape.c.

◆ DUK_LEXER_TEMP_BUF_LIMIT

#define DUK_LEXER_TEMP_BUF_LIMIT   256

Definition at line 4149 of file duktape.c.

◆ DUK_LEXER_WINDOW_SIZE

#define DUK_LEXER_WINDOW_SIZE   6

Definition at line 3837 of file duktape.c.

◆ DUK_LFUNC_FLAGS_GET_LENGTH

#define DUK_LFUNC_FLAGS_GET_LENGTH (   lf_flags)    (((lf_flags) >> 4) & 0x0fU)

Definition at line 1533 of file duktape.c.

◆ DUK_LFUNC_FLAGS_GET_MAGIC

#define DUK_LFUNC_FLAGS_GET_MAGIC (   lf_flags)    ((duk_int32_t) (duk_int8_t) (((duk_uint16_t) (lf_flags)) >> 8))

Definition at line 1532 of file duktape.c.

◆ DUK_LFUNC_FLAGS_GET_NARGS

#define DUK_LFUNC_FLAGS_GET_NARGS (   lf_flags)    ((lf_flags) &0x0fU)

Definition at line 1534 of file duktape.c.

◆ DUK_LFUNC_FLAGS_PACK

#define DUK_LFUNC_FLAGS_PACK (   magic,
  length,
  nargs 
)    ((((duk_small_uint_t) (magic)) & 0xffU) << 8) | ((length) << 4) | (nargs)

Definition at line 1535 of file duktape.c.

◆ DUK_LFUNC_LENGTH_MAX

#define DUK_LFUNC_LENGTH_MAX   0x0f

Definition at line 1541 of file duktape.c.

◆ DUK_LFUNC_LENGTH_MIN

#define DUK_LFUNC_LENGTH_MIN   0x00

Definition at line 1540 of file duktape.c.

◆ DUK_LFUNC_MAGIC_MAX

#define DUK_LFUNC_MAGIC_MAX   0x7f

Definition at line 1543 of file duktape.c.

◆ DUK_LFUNC_MAGIC_MIN

#define DUK_LFUNC_MAGIC_MIN   (-0x80)

Definition at line 1542 of file duktape.c.

◆ DUK_LFUNC_NARGS_MAX

#define DUK_LFUNC_NARGS_MAX   0x0e /* max, excl. varargs marker */

Definition at line 1539 of file duktape.c.

◆ DUK_LFUNC_NARGS_MIN

#define DUK_LFUNC_NARGS_MIN   0x00

Definition at line 1538 of file duktape.c.

◆ DUK_LFUNC_NARGS_VARARGS

#define DUK_LFUNC_NARGS_VARARGS   0x0f /* varargs marker */

Definition at line 1537 of file duktape.c.

◆ DUK_LJ_TYPE_BREAK

#define DUK_LJ_TYPE_BREAK   4 /* value1 -> label number, pseudo-type to indicate a break continuation (for ENDFIN) */

Definition at line 8998 of file duktape.c.

◆ DUK_LJ_TYPE_CONTINUE

#define DUK_LJ_TYPE_CONTINUE   5 /* value1 -> label number, pseudo-type to indicate a continue continuation (for ENDFIN) */

Definition at line 8999 of file duktape.c.

◆ DUK_LJ_TYPE_NORMAL

#define DUK_LJ_TYPE_NORMAL   7 /* no value, pseudo-type to indicate a normal continuation (for ENDFIN) */

Definition at line 9001 of file duktape.c.

◆ DUK_LJ_TYPE_RESUME

#define DUK_LJ_TYPE_RESUME   3 /* value1 -> resume value, value2 -> resumee thread, iserror -> error/normal */

Definition at line 8997 of file duktape.c.

◆ DUK_LJ_TYPE_RETURN

#define DUK_LJ_TYPE_RETURN   6 /* value1 -> return value, pseudo-type to indicate a return continuation (for ENDFIN) */

Definition at line 9000 of file duktape.c.

◆ DUK_LJ_TYPE_THROW

#define DUK_LJ_TYPE_THROW   1 /* value1 -> error object */

Definition at line 8995 of file duktape.c.

◆ DUK_LJ_TYPE_UNKNOWN

#define DUK_LJ_TYPE_UNKNOWN   0 /* unused */

Definition at line 8994 of file duktape.c.

◆ DUK_LJ_TYPE_YIELD

#define DUK_LJ_TYPE_YIELD   2 /* value1 -> yield value, iserror -> error / normal */

Definition at line 8996 of file duktape.c.

◆ DUK_LOWERCASE_CHAR_ASCII

#define DUK_LOWERCASE_CHAR_ASCII (   x)    ((x) | 0x20)

Definition at line 10894 of file duktape.c.

◆ duk_memcpy

#define duk_memcpy (   dst,
  src,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
const void *duk__src = (src); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL); \
DUK_ASSERT(duk__src != NULL); \
(void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \
} while (0)
#define DUK_MEMCPY
Definition: duk_config.h:2207

Definition at line 3028 of file duktape.c.

◆ duk_memcpy_unsafe

#define duk_memcpy_unsafe (   dst,
  src,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
const void *duk__src = (src); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL || duk__len == 0U); \
DUK_ASSERT(duk__src != NULL || duk__len == 0U); \
if (DUK_LIKELY(duk__len > 0U)) { \
DUK_ASSERT(duk__dst != NULL); \
DUK_ASSERT(duk__src != NULL); \
(void) DUK_MEMCPY(duk__dst, duk__src, (size_t) duk__len); \
} \
} while (0)

Definition at line 3037 of file duktape.c.

◆ duk_memmove

#define duk_memmove (   dst,
  src,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
const void *duk__src = (src); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL); \
DUK_ASSERT(duk__src != NULL); \
(void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \
} while (0)
#define DUK_MEMMOVE
Definition: duk_config.h:2211

Definition at line 3050 of file duktape.c.

◆ duk_memmove_unsafe

#define duk_memmove_unsafe (   dst,
  src,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
const void *duk__src = (src); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL || duk__len == 0U); \
DUK_ASSERT(duk__src != NULL || duk__len == 0U); \
if (DUK_LIKELY(duk__len > 0U)) { \
DUK_ASSERT(duk__dst != NULL); \
DUK_ASSERT(duk__src != NULL); \
(void) DUK_MEMMOVE(duk__dst, duk__src, (size_t) duk__len); \
} \
} while (0)

Definition at line 3059 of file duktape.c.

◆ duk_memset

#define duk_memset (   dst,
  val,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
duk_small_int_t duk__val = (val); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL); \
(void) DUK_MEMSET(duk__dst, duk__val, (size_t) duk__len); \
} while (0)
#define DUK_MEMSET
Definition: duk_config.h:2217

Definition at line 3072 of file duktape.c.

◆ duk_memset_unsafe

#define duk_memset_unsafe (   dst,
  val,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
duk_small_int_t duk__val = (val); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL || duk__len == 0U); \
if (DUK_LIKELY(duk__len > 0U)) { \
DUK_ASSERT(duk__dst != NULL); \
(void) DUK_MEMSET(duk__dst, duk__val, (size_t) duk__len); \
} \
} while (0)

Definition at line 3080 of file duktape.c.

◆ duk_memzero

#define duk_memzero (   dst,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL); \
(void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \
} while (0)
#define DUK_MEMZERO(p, n)
Definition: duk_config.h:2249

Definition at line 3091 of file duktape.c.

◆ duk_memzero_unsafe

#define duk_memzero_unsafe (   dst,
  len 
)
Value:
do { \
void *duk__dst = (dst); \
duk_size_t duk__len = (len); \
DUK_ASSERT(duk__dst != NULL || duk__len == 0U); \
if (DUK_LIKELY(duk__len > 0U)) { \
DUK_ASSERT(duk__dst != NULL); \
(void) DUK_MEMZERO(duk__dst, (size_t) duk__len); \
} \
} while (0)

Definition at line 3098 of file duktape.c.

◆ DUK_MS_FLAG_EMERGENCY

#define DUK_MS_FLAG_EMERGENCY   (1U << 0)

Definition at line 9014 of file duktape.c.

◆ DUK_MS_FLAG_NO_OBJECT_COMPACTION

#define DUK_MS_FLAG_NO_OBJECT_COMPACTION   (1U << 2)

Definition at line 9026 of file duktape.c.

◆ DUK_MS_FLAG_POSTPONE_RESCUE

#define DUK_MS_FLAG_POSTPONE_RESCUE   (1U << 1)

Definition at line 9020 of file duktape.c.

◆ DUK_N2S_FLAG_FIXED_FORMAT

#define DUK_N2S_FLAG_FIXED_FORMAT   (1U << 0)

Definition at line 11232 of file duktape.c.

◆ DUK_N2S_FLAG_FORCE_EXP

#define DUK_N2S_FLAG_FORCE_EXP   (1U << 1)

Definition at line 11235 of file duktape.c.

◆ DUK_N2S_FLAG_FRACTION_DIGITS

#define DUK_N2S_FLAG_FRACTION_DIGITS   (1U << 3)

Definition at line 11248 of file duktape.c.

◆ DUK_N2S_FLAG_NO_ZERO_PAD

#define DUK_N2S_FLAG_NO_ZERO_PAD   (1U << 2)

Definition at line 11242 of file duktape.c.

◆ DUK_NOINLINE_PERF

#define DUK_NOINLINE_PERF   DUK_NOINLINE

Definition at line 5906 of file duktape.c.

◆ DUK_NUM_ALL_BUILTINS

#define DUK_NUM_ALL_BUILTINS   80

Definition at line 2339 of file duktape.c.

◆ DUK_NUM_BIDX_BUILTINS

#define DUK_NUM_BIDX_BUILTINS   51

Definition at line 2338 of file duktape.c.

◆ DUK_NUM_BUILTINS

#define DUK_NUM_BUILTINS   51

Definition at line 2337 of file duktape.c.

◆ DUK_NUMCONV_H_INCLUDED

#define DUK_NUMCONV_H_INCLUDED

Definition at line 11227 of file duktape.c.

◆ DUK_OP_ADD

#define DUK_OP_ADD   52

Definition at line 3542 of file duktape.c.

◆ DUK_OP_ADD_CC

#define DUK_OP_ADD_CC   55

Definition at line 3546 of file duktape.c.

◆ DUK_OP_ADD_CR

#define DUK_OP_ADD_CR   53

Definition at line 3544 of file duktape.c.

◆ DUK_OP_ADD_RC

#define DUK_OP_ADD_RC   54

Definition at line 3545 of file duktape.c.

◆ DUK_OP_ADD_RR

#define DUK_OP_ADD_RR   52

Definition at line 3543 of file duktape.c.

◆ DUK_OP_BAND

#define DUK_OP_BAND   76

Definition at line 3572 of file duktape.c.

◆ DUK_OP_BAND_CC

#define DUK_OP_BAND_CC   79

Definition at line 3576 of file duktape.c.

◆ DUK_OP_BAND_CR

#define DUK_OP_BAND_CR   77

Definition at line 3574 of file duktape.c.

◆ DUK_OP_BAND_RC

#define DUK_OP_BAND_RC   78

Definition at line 3575 of file duktape.c.

◆ DUK_OP_BAND_RR

#define DUK_OP_BAND_RR   76

Definition at line 3573 of file duktape.c.

◆ DUK_OP_BASL

#define DUK_OP_BASL   88

Definition at line 3587 of file duktape.c.

◆ DUK_OP_BASL_CC

#define DUK_OP_BASL_CC   91

Definition at line 3591 of file duktape.c.

◆ DUK_OP_BASL_CR

#define DUK_OP_BASL_CR   89

Definition at line 3589 of file duktape.c.

◆ DUK_OP_BASL_RC

#define DUK_OP_BASL_RC   90

Definition at line 3590 of file duktape.c.

◆ DUK_OP_BASL_RR

#define DUK_OP_BASL_RR   88

Definition at line 3588 of file duktape.c.

◆ DUK_OP_BASR

#define DUK_OP_BASR   96

Definition at line 3597 of file duktape.c.

◆ DUK_OP_BASR_CC

#define DUK_OP_BASR_CC   99

Definition at line 3601 of file duktape.c.

◆ DUK_OP_BASR_CR

#define DUK_OP_BASR_CR   97

Definition at line 3599 of file duktape.c.

◆ DUK_OP_BASR_RC

#define DUK_OP_BASR_RC   98

Definition at line 3600 of file duktape.c.

◆ DUK_OP_BASR_RR

#define DUK_OP_BASR_RR   96

Definition at line 3598 of file duktape.c.

◆ DUK_OP_BLSR

#define DUK_OP_BLSR   92

Definition at line 3592 of file duktape.c.

◆ DUK_OP_BLSR_CC

#define DUK_OP_BLSR_CC   95

Definition at line 3596 of file duktape.c.

◆ DUK_OP_BLSR_CR

#define DUK_OP_BLSR_CR   93

Definition at line 3594 of file duktape.c.

◆ DUK_OP_BLSR_RC

#define DUK_OP_BLSR_RC   94

Definition at line 3595 of file duktape.c.

◆ DUK_OP_BLSR_RR

#define DUK_OP_BLSR_RR   92

Definition at line 3593 of file duktape.c.

◆ DUK_OP_BNOT

#define DUK_OP_BNOT   12

Definition at line 3492 of file duktape.c.

◆ DUK_OP_BOR

#define DUK_OP_BOR   80

Definition at line 3577 of file duktape.c.

◆ DUK_OP_BOR_CC

#define DUK_OP_BOR_CC   83

Definition at line 3581 of file duktape.c.

◆ DUK_OP_BOR_CR

#define DUK_OP_BOR_CR   81

Definition at line 3579 of file duktape.c.

◆ DUK_OP_BOR_RC

#define DUK_OP_BOR_RC   82

Definition at line 3580 of file duktape.c.

◆ DUK_OP_BOR_RR

#define DUK_OP_BOR_RR   80

Definition at line 3578 of file duktape.c.

◆ DUK_OP_BREAK

#define DUK_OP_BREAK   163

Definition at line 3676 of file duktape.c.

◆ DUK_OP_BXOR

#define DUK_OP_BXOR   84

Definition at line 3582 of file duktape.c.

◆ DUK_OP_BXOR_CC

#define DUK_OP_BXOR_CC   87

Definition at line 3586 of file duktape.c.

◆ DUK_OP_BXOR_CR

#define DUK_OP_BXOR_CR   85

Definition at line 3584 of file duktape.c.

◆ DUK_OP_BXOR_RC

#define DUK_OP_BXOR_RC   86

Definition at line 3585 of file duktape.c.

◆ DUK_OP_BXOR_RR

#define DUK_OP_BXOR_RR   84

Definition at line 3583 of file duktape.c.

◆ DUK_OP_CALL0

#define DUK_OP_CALL0   176 /* DUK_OP_CALL0 & 0x0F must be zero. */

Definition at line 3690 of file duktape.c.

◆ DUK_OP_CALL1

#define DUK_OP_CALL1   177

Definition at line 3691 of file duktape.c.

◆ DUK_OP_CALL10

#define DUK_OP_CALL10   186

Definition at line 3700 of file duktape.c.

◆ DUK_OP_CALL11

#define DUK_OP_CALL11   187

Definition at line 3701 of file duktape.c.

◆ DUK_OP_CALL12

#define DUK_OP_CALL12   188

Definition at line 3702 of file duktape.c.

◆ DUK_OP_CALL13

#define DUK_OP_CALL13   189

Definition at line 3703 of file duktape.c.

◆ DUK_OP_CALL14

#define DUK_OP_CALL14   190

Definition at line 3704 of file duktape.c.

◆ DUK_OP_CALL15

#define DUK_OP_CALL15   191

Definition at line 3705 of file duktape.c.

◆ DUK_OP_CALL2

#define DUK_OP_CALL2   178

Definition at line 3692 of file duktape.c.

◆ DUK_OP_CALL3

#define DUK_OP_CALL3   179

Definition at line 3693 of file duktape.c.

◆ DUK_OP_CALL4

#define DUK_OP_CALL4   180

Definition at line 3694 of file duktape.c.

◆ DUK_OP_CALL5

#define DUK_OP_CALL5   181

Definition at line 3695 of file duktape.c.

◆ DUK_OP_CALL6

#define DUK_OP_CALL6   182

Definition at line 3696 of file duktape.c.

◆ DUK_OP_CALL7

#define DUK_OP_CALL7   183

Definition at line 3697 of file duktape.c.

◆ DUK_OP_CALL8

#define DUK_OP_CALL8   184

Definition at line 3698 of file duktape.c.

◆ DUK_OP_CALL9

#define DUK_OP_CALL9   185

Definition at line 3699 of file duktape.c.

◆ DUK_OP_CLOSURE

#define DUK_OP_CLOSURE   152

Definition at line 3665 of file duktape.c.

◆ DUK_OP_CONTINUE

#define DUK_OP_CONTINUE   164

Definition at line 3677 of file duktape.c.

◆ DUK_OP_CSREG

#define DUK_OP_CSREG   171

Definition at line 3684 of file duktape.c.

◆ DUK_OP_CSVAR

#define DUK_OP_CSVAR   172

Definition at line 3685 of file duktape.c.

◆ DUK_OP_CSVAR_CC

#define DUK_OP_CSVAR_CC   175

Definition at line 3689 of file duktape.c.

◆ DUK_OP_CSVAR_CR

#define DUK_OP_CSVAR_CR   173

Definition at line 3687 of file duktape.c.

◆ DUK_OP_CSVAR_RC

#define DUK_OP_CSVAR_RC   174

Definition at line 3688 of file duktape.c.

◆ DUK_OP_CSVAR_RR

#define DUK_OP_CSVAR_RR   172

Definition at line 3686 of file duktape.c.

◆ DUK_OP_DEBUGGER

#define DUK_OP_DEBUGGER   204

Definition at line 3718 of file duktape.c.

◆ DUK_OP_DECLVAR

#define DUK_OP_DECLVAR   144

Definition at line 3655 of file duktape.c.

◆ DUK_OP_DECLVAR_CC

#define DUK_OP_DECLVAR_CC   147

Definition at line 3659 of file duktape.c.

◆ DUK_OP_DECLVAR_CR

#define DUK_OP_DECLVAR_CR   145

Definition at line 3657 of file duktape.c.

◆ DUK_OP_DECLVAR_RC

#define DUK_OP_DECLVAR_RC   146

Definition at line 3658 of file duktape.c.

◆ DUK_OP_DECLVAR_RR

#define DUK_OP_DECLVAR_RR   144

Definition at line 3656 of file duktape.c.

◆ DUK_OP_DELPROP

#define DUK_OP_DELPROP   116

Definition at line 3622 of file duktape.c.

◆ DUK_OP_DELPROP_CC_UNUSED

#define DUK_OP_DELPROP_CC_UNUSED   119 /* unused now */

Definition at line 3626 of file duktape.c.

◆ DUK_OP_DELPROP_CR_UNUSED

#define DUK_OP_DELPROP_CR_UNUSED   117 /* unused now */

Definition at line 3624 of file duktape.c.

◆ DUK_OP_DELPROP_RC

#define DUK_OP_DELPROP_RC   118

Definition at line 3625 of file duktape.c.

◆ DUK_OP_DELPROP_RR

#define DUK_OP_DELPROP_RR   116

Definition at line 3623 of file duktape.c.

◆ DUK_OP_DELVAR

#define DUK_OP_DELVAR   156

Definition at line 3669 of file duktape.c.

◆ DUK_OP_DIV

#define DUK_OP_DIV   64

Definition at line 3557 of file duktape.c.

◆ DUK_OP_DIV_CC

#define DUK_OP_DIV_CC   67

Definition at line 3561 of file duktape.c.

◆ DUK_OP_DIV_CR

#define DUK_OP_DIV_CR   65

Definition at line 3559 of file duktape.c.

◆ DUK_OP_DIV_RC

#define DUK_OP_DIV_RC   66

Definition at line 3560 of file duktape.c.

◆ DUK_OP_DIV_RR

#define DUK_OP_DIV_RR   64

Definition at line 3558 of file duktape.c.

◆ DUK_OP_ENDCATCH

#define DUK_OP_ENDCATCH   167

Definition at line 3680 of file duktape.c.

◆ DUK_OP_ENDFIN

#define DUK_OP_ENDFIN   168

Definition at line 3681 of file duktape.c.

◆ DUK_OP_ENDLABEL

#define DUK_OP_ENDLABEL   162

Definition at line 3675 of file duktape.c.

◆ DUK_OP_ENDTRY

#define DUK_OP_ENDTRY   166

Definition at line 3679 of file duktape.c.

◆ DUK_OP_EQ

#define DUK_OP_EQ   16

Definition at line 3496 of file duktape.c.

◆ DUK_OP_EQ_CC

#define DUK_OP_EQ_CC   19

Definition at line 3500 of file duktape.c.

◆ DUK_OP_EQ_CR

#define DUK_OP_EQ_CR   17

Definition at line 3498 of file duktape.c.

◆ DUK_OP_EQ_RC

#define DUK_OP_EQ_RC   18

Definition at line 3499 of file duktape.c.

◆ DUK_OP_EQ_RR

#define DUK_OP_EQ_RR   16

Definition at line 3497 of file duktape.c.

◆ DUK_OP_EXP

#define DUK_OP_EXP   72

Definition at line 3567 of file duktape.c.

◆ DUK_OP_EXP_CC

#define DUK_OP_EXP_CC   75

Definition at line 3571 of file duktape.c.

◆ DUK_OP_EXP_CR

#define DUK_OP_EXP_CR   73

Definition at line 3569 of file duktape.c.

◆ DUK_OP_EXP_RC

#define DUK_OP_EXP_RC   74

Definition at line 3570 of file duktape.c.

◆ DUK_OP_EXP_RR

#define DUK_OP_EXP_RR   72

Definition at line 3568 of file duktape.c.

◆ DUK_OP_GE

#define DUK_OP_GE   36

Definition at line 3521 of file duktape.c.

◆ DUK_OP_GE_CC

#define DUK_OP_GE_CC   39

Definition at line 3525 of file duktape.c.

◆ DUK_OP_GE_CR

#define DUK_OP_GE_CR   37

Definition at line 3523 of file duktape.c.

◆ DUK_OP_GE_RC

#define DUK_OP_GE_RC   38

Definition at line 3524 of file duktape.c.

◆ DUK_OP_GE_RR

#define DUK_OP_GE_RR   36

Definition at line 3522 of file duktape.c.

◆ DUK_OP_GETPROP

#define DUK_OP_GETPROP   108

Definition at line 3612 of file duktape.c.

◆ DUK_OP_GETPROP_CC

#define DUK_OP_GETPROP_CC   111

Definition at line 3616 of file duktape.c.

◆ DUK_OP_GETPROP_CR

#define DUK_OP_GETPROP_CR   109

Definition at line 3614 of file duktape.c.

◆ DUK_OP_GETPROP_RC

#define DUK_OP_GETPROP_RC   110

Definition at line 3615 of file duktape.c.

◆ DUK_OP_GETPROP_RR

#define DUK_OP_GETPROP_RR   108

Definition at line 3613 of file duktape.c.

◆ DUK_OP_GETPROPC

#define DUK_OP_GETPROPC   208

Definition at line 3722 of file duktape.c.

◆ DUK_OP_GETPROPC_CC

#define DUK_OP_GETPROPC_CC   211

Definition at line 3726 of file duktape.c.

◆ DUK_OP_GETPROPC_CR

#define DUK_OP_GETPROPC_CR   209

Definition at line 3724 of file duktape.c.

◆ DUK_OP_GETPROPC_RC

#define DUK_OP_GETPROPC_RC   210

Definition at line 3725 of file duktape.c.

◆ DUK_OP_GETPROPC_RR

#define DUK_OP_GETPROPC_RR   208

Definition at line 3723 of file duktape.c.

◆ DUK_OP_GETVAR

#define DUK_OP_GETVAR   11

Definition at line 3491 of file duktape.c.

◆ DUK_OP_GT

#define DUK_OP_GT   32

Definition at line 3516 of file duktape.c.

◆ DUK_OP_GT_CC

#define DUK_OP_GT_CC   35

Definition at line 3520 of file duktape.c.

◆ DUK_OP_GT_CR

#define DUK_OP_GT_CR   33

Definition at line 3518 of file duktape.c.

◆ DUK_OP_GT_RC

#define DUK_OP_GT_RC   34

Definition at line 3519 of file duktape.c.

◆ DUK_OP_GT_RR

#define DUK_OP_GT_RR   32

Definition at line 3517 of file duktape.c.

◆ DUK_OP_IFFALSE

#define DUK_OP_IFFALSE   50

Definition at line 3539 of file duktape.c.

◆ DUK_OP_IFFALSE_C

#define DUK_OP_IFFALSE_C   51

Definition at line 3541 of file duktape.c.

◆ DUK_OP_IFFALSE_R

#define DUK_OP_IFFALSE_R   50

Definition at line 3540 of file duktape.c.

◆ DUK_OP_IFTRUE

#define DUK_OP_IFTRUE   48

Definition at line 3536 of file duktape.c.

◆ DUK_OP_IFTRUE_C

#define DUK_OP_IFTRUE_C   49

Definition at line 3538 of file duktape.c.

◆ DUK_OP_IFTRUE_R

#define DUK_OP_IFTRUE_R   48

Definition at line 3537 of file duktape.c.

◆ DUK_OP_IN

#define DUK_OP_IN   104

Definition at line 3607 of file duktape.c.

◆ DUK_OP_IN_CC

#define DUK_OP_IN_CC   107

Definition at line 3611 of file duktape.c.

◆ DUK_OP_IN_CR

#define DUK_OP_IN_CR   105

Definition at line 3609 of file duktape.c.

◆ DUK_OP_IN_RC

#define DUK_OP_IN_RC   106

Definition at line 3610 of file duktape.c.

◆ DUK_OP_IN_RR

#define DUK_OP_IN_RR   104

Definition at line 3608 of file duktape.c.

◆ DUK_OP_INITENUM

#define DUK_OP_INITENUM   201

Definition at line 3715 of file duktape.c.

◆ DUK_OP_INITGET

#define DUK_OP_INITGET   197

Definition at line 3711 of file duktape.c.

◆ DUK_OP_INITSET

#define DUK_OP_INITSET   196

Definition at line 3710 of file duktape.c.

◆ DUK_OP_INSTOF

#define DUK_OP_INSTOF   100

Definition at line 3602 of file duktape.c.

◆ DUK_OP_INSTOF_CC

#define DUK_OP_INSTOF_CC   103

Definition at line 3606 of file duktape.c.

◆ DUK_OP_INSTOF_CR

#define DUK_OP_INSTOF_CR   101

Definition at line 3604 of file duktape.c.

◆ DUK_OP_INSTOF_RC

#define DUK_OP_INSTOF_RC   102

Definition at line 3605 of file duktape.c.

◆ DUK_OP_INSTOF_RR

#define DUK_OP_INSTOF_RR   100

Definition at line 3603 of file duktape.c.

◆ DUK_OP_INVALID

#define DUK_OP_INVALID   206

Definition at line 3720 of file duktape.c.

◆ DUK_OP_INVLHS

#define DUK_OP_INVLHS   170

Definition at line 3683 of file duktape.c.

◆ DUK_OP_JUMP

#define DUK_OP_JUMP   2

Definition at line 3482 of file duktape.c.

◆ DUK_OP_LABEL

#define DUK_OP_LABEL   161

Definition at line 3674 of file duktape.c.

◆ DUK_OP_LDCONST

#define DUK_OP_LDCONST   3

Definition at line 3483 of file duktape.c.

◆ DUK_OP_LDFALSE

#define DUK_OP_LDFALSE   10

Definition at line 3490 of file duktape.c.

◆ DUK_OP_LDINT

#define DUK_OP_LDINT   4

Definition at line 3484 of file duktape.c.

◆ DUK_OP_LDINTX

#define DUK_OP_LDINTX   5

Definition at line 3485 of file duktape.c.

◆ DUK_OP_LDNULL

#define DUK_OP_LDNULL   8

Definition at line 3488 of file duktape.c.

◆ DUK_OP_LDREG

#define DUK_OP_LDREG   0

Definition at line 3480 of file duktape.c.

◆ DUK_OP_LDTHIS

#define DUK_OP_LDTHIS   6

Definition at line 3486 of file duktape.c.

◆ DUK_OP_LDTRUE

#define DUK_OP_LDTRUE   9

Definition at line 3489 of file duktape.c.

◆ DUK_OP_LDUNDEF

#define DUK_OP_LDUNDEF   7

Definition at line 3487 of file duktape.c.

◆ DUK_OP_LE

#define DUK_OP_LE   44

Definition at line 3531 of file duktape.c.

◆ DUK_OP_LE_CC

#define DUK_OP_LE_CC   47

Definition at line 3535 of file duktape.c.

◆ DUK_OP_LE_CR

#define DUK_OP_LE_CR   45

Definition at line 3533 of file duktape.c.

◆ DUK_OP_LE_RC

#define DUK_OP_LE_RC   46

Definition at line 3534 of file duktape.c.

◆ DUK_OP_LE_RR

#define DUK_OP_LE_RR   44

Definition at line 3532 of file duktape.c.

◆ DUK_OP_LNOT

#define DUK_OP_LNOT   13

Definition at line 3493 of file duktape.c.

◆ DUK_OP_LT

#define DUK_OP_LT   40

Definition at line 3526 of file duktape.c.

◆ DUK_OP_LT_CC

#define DUK_OP_LT_CC   43

Definition at line 3530 of file duktape.c.

◆ DUK_OP_LT_CR

#define DUK_OP_LT_CR   41

Definition at line 3528 of file duktape.c.

◆ DUK_OP_LT_RC

#define DUK_OP_LT_RC   42

Definition at line 3529 of file duktape.c.

◆ DUK_OP_LT_RR

#define DUK_OP_LT_RR   40

Definition at line 3527 of file duktape.c.

◆ DUK_OP_MOD

#define DUK_OP_MOD   68

Definition at line 3562 of file duktape.c.

◆ DUK_OP_MOD_CC

#define DUK_OP_MOD_CC   71

Definition at line 3566 of file duktape.c.

◆ DUK_OP_MOD_CR

#define DUK_OP_MOD_CR   69

Definition at line 3564 of file duktape.c.

◆ DUK_OP_MOD_RC

#define DUK_OP_MOD_RC   70

Definition at line 3565 of file duktape.c.

◆ DUK_OP_MOD_RR

#define DUK_OP_MOD_RR   68

Definition at line 3563 of file duktape.c.

◆ DUK_OP_MPUTARR

#define DUK_OP_MPUTARR   198

Definition at line 3712 of file duktape.c.

◆ DUK_OP_MPUTARRI

#define DUK_OP_MPUTARRI   199

Definition at line 3713 of file duktape.c.

◆ DUK_OP_MPUTOBJ

#define DUK_OP_MPUTOBJ   194

Definition at line 3708 of file duktape.c.

◆ DUK_OP_MPUTOBJI

#define DUK_OP_MPUTOBJI   195

Definition at line 3709 of file duktape.c.

◆ DUK_OP_MUL

#define DUK_OP_MUL   60

Definition at line 3552 of file duktape.c.

◆ DUK_OP_MUL_CC

#define DUK_OP_MUL_CC   63

Definition at line 3556 of file duktape.c.

◆ DUK_OP_MUL_CR

#define DUK_OP_MUL_CR   61

Definition at line 3554 of file duktape.c.

◆ DUK_OP_MUL_RC

#define DUK_OP_MUL_RC   62

Definition at line 3555 of file duktape.c.

◆ DUK_OP_MUL_RR

#define DUK_OP_MUL_RR   60

Definition at line 3553 of file duktape.c.

◆ DUK_OP_NEQ

#define DUK_OP_NEQ   20

Definition at line 3501 of file duktape.c.

◆ DUK_OP_NEQ_CC

#define DUK_OP_NEQ_CC   23

Definition at line 3505 of file duktape.c.

◆ DUK_OP_NEQ_CR

#define DUK_OP_NEQ_CR   21

Definition at line 3503 of file duktape.c.

◆ DUK_OP_NEQ_RC

#define DUK_OP_NEQ_RC   22

Definition at line 3504 of file duktape.c.

◆ DUK_OP_NEQ_RR

#define DUK_OP_NEQ_RR   20

Definition at line 3502 of file duktape.c.

◆ DUK_OP_NEWARR

#define DUK_OP_NEWARR   193

Definition at line 3707 of file duktape.c.

◆ DUK_OP_NEWOBJ

#define DUK_OP_NEWOBJ   192

Definition at line 3706 of file duktape.c.

◆ DUK_OP_NEWTARGET

#define DUK_OP_NEWTARGET   203

Definition at line 3717 of file duktape.c.

◆ DUK_OP_NEXTENUM

#define DUK_OP_NEXTENUM   202

Definition at line 3716 of file duktape.c.

◆ DUK_OP_NONE

#define DUK_OP_NONE   256 /* dummy value used as marker (doesn't fit in 8-bit field) */

Definition at line 3771 of file duktape.c.

◆ DUK_OP_NOP

#define DUK_OP_NOP   205

Definition at line 3719 of file duktape.c.

◆ DUK_OP_POSTDECP

#define DUK_OP_POSTDECP   140

Definition at line 3650 of file duktape.c.

◆ DUK_OP_POSTDECP_CC

#define DUK_OP_POSTDECP_CC   143

Definition at line 3654 of file duktape.c.

◆ DUK_OP_POSTDECP_CR

#define DUK_OP_POSTDECP_CR   141

Definition at line 3652 of file duktape.c.

◆ DUK_OP_POSTDECP_RC

#define DUK_OP_POSTDECP_RC   142

Definition at line 3653 of file duktape.c.

◆ DUK_OP_POSTDECP_RR

#define DUK_OP_POSTDECP_RR   140

Definition at line 3651 of file duktape.c.

◆ DUK_OP_POSTDECR

#define DUK_OP_POSTDECR   123

Definition at line 3630 of file duktape.c.

◆ DUK_OP_POSTDECV

#define DUK_OP_POSTDECV   127

Definition at line 3634 of file duktape.c.

◆ DUK_OP_POSTINCP

#define DUK_OP_POSTINCP   136

Definition at line 3645 of file duktape.c.

◆ DUK_OP_POSTINCP_CC

#define DUK_OP_POSTINCP_CC   139

Definition at line 3649 of file duktape.c.

◆ DUK_OP_POSTINCP_CR

#define DUK_OP_POSTINCP_CR   137

Definition at line 3647 of file duktape.c.

◆ DUK_OP_POSTINCP_RC

#define DUK_OP_POSTINCP_RC   138

Definition at line 3648 of file duktape.c.

◆ DUK_OP_POSTINCP_RR

#define DUK_OP_POSTINCP_RR   136

Definition at line 3646 of file duktape.c.

◆ DUK_OP_POSTINCR

#define DUK_OP_POSTINCR   122

Definition at line 3629 of file duktape.c.

◆ DUK_OP_POSTINCV

#define DUK_OP_POSTINCV   126

Definition at line 3633 of file duktape.c.

◆ DUK_OP_PREDECP

#define DUK_OP_PREDECP   132

Definition at line 3640 of file duktape.c.

◆ DUK_OP_PREDECP_CC

#define DUK_OP_PREDECP_CC   135

Definition at line 3644 of file duktape.c.

◆ DUK_OP_PREDECP_CR

#define DUK_OP_PREDECP_CR   133

Definition at line 3642 of file duktape.c.

◆ DUK_OP_PREDECP_RC

#define DUK_OP_PREDECP_RC   134

Definition at line 3643 of file duktape.c.

◆ DUK_OP_PREDECP_RR

#define DUK_OP_PREDECP_RR   132

Definition at line 3641 of file duktape.c.

◆ DUK_OP_PREDECR

#define DUK_OP_PREDECR   121 /* see duk_js_executor.c and duk_js_compiler.c. */

Definition at line 3628 of file duktape.c.

◆ DUK_OP_PREDECV

#define DUK_OP_PREDECV   125

Definition at line 3632 of file duktape.c.

◆ DUK_OP_PREINCP

#define DUK_OP_PREINCP   128 /* pre/post inc/dec prop opcodes have constraints */

Definition at line 3635 of file duktape.c.

◆ DUK_OP_PREINCP_CC

#define DUK_OP_PREINCP_CC   131

Definition at line 3639 of file duktape.c.

◆ DUK_OP_PREINCP_CR

#define DUK_OP_PREINCP_CR   129

Definition at line 3637 of file duktape.c.

◆ DUK_OP_PREINCP_RC

#define DUK_OP_PREINCP_RC   130

Definition at line 3638 of file duktape.c.

◆ DUK_OP_PREINCP_RR

#define DUK_OP_PREINCP_RR   128

Definition at line 3636 of file duktape.c.

◆ DUK_OP_PREINCR

#define DUK_OP_PREINCR   120 /* pre/post opcode values have constraints, */

Definition at line 3627 of file duktape.c.

◆ DUK_OP_PREINCV

#define DUK_OP_PREINCV   124

Definition at line 3631 of file duktape.c.

◆ DUK_OP_PUTPROP

#define DUK_OP_PUTPROP   112

Definition at line 3617 of file duktape.c.

◆ DUK_OP_PUTPROP_CC

#define DUK_OP_PUTPROP_CC   115

Definition at line 3621 of file duktape.c.

◆ DUK_OP_PUTPROP_CR

#define DUK_OP_PUTPROP_CR   113

Definition at line 3619 of file duktape.c.

◆ DUK_OP_PUTPROP_RC

#define DUK_OP_PUTPROP_RC   114

Definition at line 3620 of file duktape.c.

◆ DUK_OP_PUTPROP_RR

#define DUK_OP_PUTPROP_RR   112

Definition at line 3618 of file duktape.c.

◆ DUK_OP_PUTVAR

#define DUK_OP_PUTVAR   155

Definition at line 3668 of file duktape.c.

◆ DUK_OP_REGEXP

#define DUK_OP_REGEXP   148

Definition at line 3660 of file duktape.c.

◆ DUK_OP_REGEXP_CC

#define DUK_OP_REGEXP_CC   151

Definition at line 3664 of file duktape.c.

◆ DUK_OP_REGEXP_CR

#define DUK_OP_REGEXP_CR   149

Definition at line 3662 of file duktape.c.

◆ DUK_OP_REGEXP_RC

#define DUK_OP_REGEXP_RC   150

Definition at line 3663 of file duktape.c.

◆ DUK_OP_REGEXP_RR

#define DUK_OP_REGEXP_RR   148

Definition at line 3661 of file duktape.c.

◆ DUK_OP_RETCONST

#define DUK_OP_RETCONST   159

Definition at line 3672 of file duktape.c.

◆ DUK_OP_RETCONSTN

#define DUK_OP_RETCONSTN   160 /* return const without incref (e.g. number) */

Definition at line 3673 of file duktape.c.

◆ DUK_OP_RETREG

#define DUK_OP_RETREG   157

Definition at line 3670 of file duktape.c.

◆ DUK_OP_RETUNDEF

#define DUK_OP_RETUNDEF   158

Definition at line 3671 of file duktape.c.

◆ DUK_OP_SEQ

#define DUK_OP_SEQ   24

Definition at line 3506 of file duktape.c.

◆ DUK_OP_SEQ_CC

#define DUK_OP_SEQ_CC   27

Definition at line 3510 of file duktape.c.

◆ DUK_OP_SEQ_CR

#define DUK_OP_SEQ_CR   25

Definition at line 3508 of file duktape.c.

◆ DUK_OP_SEQ_RC

#define DUK_OP_SEQ_RC   26

Definition at line 3509 of file duktape.c.

◆ DUK_OP_SEQ_RR

#define DUK_OP_SEQ_RR   24

Definition at line 3507 of file duktape.c.

◆ DUK_OP_SETALEN

#define DUK_OP_SETALEN   200

Definition at line 3714 of file duktape.c.

◆ DUK_OP_SNEQ

#define DUK_OP_SNEQ   28

Definition at line 3511 of file duktape.c.

◆ DUK_OP_SNEQ_CC

#define DUK_OP_SNEQ_CC   31

Definition at line 3515 of file duktape.c.

◆ DUK_OP_SNEQ_CR

#define DUK_OP_SNEQ_CR   29

Definition at line 3513 of file duktape.c.

◆ DUK_OP_SNEQ_RC

#define DUK_OP_SNEQ_RC   30

Definition at line 3514 of file duktape.c.

◆ DUK_OP_SNEQ_RR

#define DUK_OP_SNEQ_RR   28

Definition at line 3512 of file duktape.c.

◆ DUK_OP_STREG

#define DUK_OP_STREG   1

Definition at line 3481 of file duktape.c.

◆ DUK_OP_SUB

#define DUK_OP_SUB   56

Definition at line 3547 of file duktape.c.

◆ DUK_OP_SUB_CC

#define DUK_OP_SUB_CC   59

Definition at line 3551 of file duktape.c.

◆ DUK_OP_SUB_CR

#define DUK_OP_SUB_CR   57

Definition at line 3549 of file duktape.c.

◆ DUK_OP_SUB_RC

#define DUK_OP_SUB_RC   58

Definition at line 3550 of file duktape.c.

◆ DUK_OP_SUB_RR

#define DUK_OP_SUB_RR   56

Definition at line 3548 of file duktape.c.

◆ DUK_OP_THROW

#define DUK_OP_THROW   169

Definition at line 3682 of file duktape.c.

◆ DUK_OP_TRYCATCH

#define DUK_OP_TRYCATCH   165

Definition at line 3678 of file duktape.c.

◆ DUK_OP_TYPEOF

#define DUK_OP_TYPEOF   153

Definition at line 3666 of file duktape.c.

◆ DUK_OP_TYPEOFID

#define DUK_OP_TYPEOFID   154

Definition at line 3667 of file duktape.c.

◆ DUK_OP_UNM

#define DUK_OP_UNM   14

Definition at line 3494 of file duktape.c.

◆ DUK_OP_UNP

#define DUK_OP_UNP   15

Definition at line 3495 of file duktape.c.

◆ DUK_OP_UNUSED207

#define DUK_OP_UNUSED207   207

Definition at line 3721 of file duktape.c.

◆ DUK_OP_UNUSED212

#define DUK_OP_UNUSED212   212

Definition at line 3727 of file duktape.c.

◆ DUK_OP_UNUSED213

#define DUK_OP_UNUSED213   213

Definition at line 3728 of file duktape.c.

◆ DUK_OP_UNUSED214

#define DUK_OP_UNUSED214   214

Definition at line 3729 of file duktape.c.

◆ DUK_OP_UNUSED215

#define DUK_OP_UNUSED215   215

Definition at line 3730 of file duktape.c.

◆ DUK_OP_UNUSED216

#define DUK_OP_UNUSED216   216

Definition at line 3731 of file duktape.c.

◆ DUK_OP_UNUSED217

#define DUK_OP_UNUSED217   217

Definition at line 3732 of file duktape.c.

◆ DUK_OP_UNUSED218

#define DUK_OP_UNUSED218   218

Definition at line 3733 of file duktape.c.

◆ DUK_OP_UNUSED219

#define DUK_OP_UNUSED219   219

Definition at line 3734 of file duktape.c.

◆ DUK_OP_UNUSED220

#define DUK_OP_UNUSED220   220

Definition at line 3735 of file duktape.c.

◆ DUK_OP_UNUSED221

#define DUK_OP_UNUSED221   221

Definition at line 3736 of file duktape.c.

◆ DUK_OP_UNUSED222

#define DUK_OP_UNUSED222   222

Definition at line 3737 of file duktape.c.

◆ DUK_OP_UNUSED223

#define DUK_OP_UNUSED223   223

Definition at line 3738 of file duktape.c.

◆ DUK_OP_UNUSED224

#define DUK_OP_UNUSED224   224

Definition at line 3739 of file duktape.c.

◆ DUK_OP_UNUSED225

#define DUK_OP_UNUSED225   225

Definition at line 3740 of file duktape.c.

◆ DUK_OP_UNUSED226

#define DUK_OP_UNUSED226   226

Definition at line 3741 of file duktape.c.

◆ DUK_OP_UNUSED227

#define DUK_OP_UNUSED227   227

Definition at line 3742 of file duktape.c.

◆ DUK_OP_UNUSED228

#define DUK_OP_UNUSED228   228

Definition at line 3743 of file duktape.c.

◆ DUK_OP_UNUSED229

#define DUK_OP_UNUSED229   229

Definition at line 3744 of file duktape.c.

◆ DUK_OP_UNUSED230

#define DUK_OP_UNUSED230   230

Definition at line 3745 of file duktape.c.

◆ DUK_OP_UNUSED231

#define DUK_OP_UNUSED231   231

Definition at line 3746 of file duktape.c.

◆ DUK_OP_UNUSED232

#define DUK_OP_UNUSED232   232

Definition at line 3747 of file duktape.c.

◆ DUK_OP_UNUSED233

#define DUK_OP_UNUSED233   233

Definition at line 3748 of file duktape.c.

◆ DUK_OP_UNUSED234

#define DUK_OP_UNUSED234   234

Definition at line 3749 of file duktape.c.

◆ DUK_OP_UNUSED235

#define DUK_OP_UNUSED235   235

Definition at line 3750 of file duktape.c.

◆ DUK_OP_UNUSED236

#define DUK_OP_UNUSED236   236

Definition at line 3751 of file duktape.c.

◆ DUK_OP_UNUSED237

#define DUK_OP_UNUSED237   237

Definition at line 3752 of file duktape.c.

◆ DUK_OP_UNUSED238

#define DUK_OP_UNUSED238   238

Definition at line 3753 of file duktape.c.

◆ DUK_OP_UNUSED239

#define DUK_OP_UNUSED239   239

Definition at line 3754 of file duktape.c.

◆ DUK_OP_UNUSED240

#define DUK_OP_UNUSED240   240

Definition at line 3755 of file duktape.c.

◆ DUK_OP_UNUSED241

#define DUK_OP_UNUSED241   241

Definition at line 3756 of file duktape.c.

◆ DUK_OP_UNUSED242

#define DUK_OP_UNUSED242   242

Definition at line 3757 of file duktape.c.

◆ DUK_OP_UNUSED243

#define DUK_OP_UNUSED243   243

Definition at line 3758 of file duktape.c.

◆ DUK_OP_UNUSED244

#define DUK_OP_UNUSED244   244

Definition at line 3759 of file duktape.c.

◆ DUK_OP_UNUSED245

#define DUK_OP_UNUSED245   245

Definition at line 3760 of file duktape.c.

◆ DUK_OP_UNUSED246

#define DUK_OP_UNUSED246   246

Definition at line 3761 of file duktape.c.

◆ DUK_OP_UNUSED247

#define DUK_OP_UNUSED247   247

Definition at line 3762 of file duktape.c.

◆ DUK_OP_UNUSED248

#define DUK_OP_UNUSED248   248

Definition at line 3763 of file duktape.c.

◆ DUK_OP_UNUSED249

#define DUK_OP_UNUSED249   249

Definition at line 3764 of file duktape.c.

◆ DUK_OP_UNUSED250

#define DUK_OP_UNUSED250   250

Definition at line 3765 of file duktape.c.

◆ DUK_OP_UNUSED251

#define DUK_OP_UNUSED251   251

Definition at line 3766 of file duktape.c.

◆ DUK_OP_UNUSED252

#define DUK_OP_UNUSED252   252

Definition at line 3767 of file duktape.c.

◆ DUK_OP_UNUSED253

#define DUK_OP_UNUSED253   253

Definition at line 3768 of file duktape.c.

◆ DUK_OP_UNUSED254

#define DUK_OP_UNUSED254   254

Definition at line 3769 of file duktape.c.

◆ DUK_OP_UNUSED255

#define DUK_OP_UNUSED255   255

Definition at line 3770 of file duktape.c.

◆ DUK_PAUSE_FLAG_CAUGHT_ERROR

#define DUK_PAUSE_FLAG_CAUGHT_ERROR   (1U << 5) /* pause when about to throw an error that is caught */

Definition at line 9220 of file duktape.c.

◆ DUK_PAUSE_FLAG_FUNC_ENTRY

#define DUK_PAUSE_FLAG_FUNC_ENTRY   (1U << 3) /* pause when entering a function */

Definition at line 9218 of file duktape.c.

◆ DUK_PAUSE_FLAG_FUNC_EXIT

#define DUK_PAUSE_FLAG_FUNC_EXIT   (1U << 4) /* pause when exiting current function */

Definition at line 9219 of file duktape.c.

◆ DUK_PAUSE_FLAG_LINE_CHANGE

#define DUK_PAUSE_FLAG_LINE_CHANGE   (1U << 2) /* pause when current line number changes */

Definition at line 9217 of file duktape.c.

◆ DUK_PAUSE_FLAG_ONE_OPCODE

#define DUK_PAUSE_FLAG_ONE_OPCODE   (1U << 0) /* pause when a single opcode has been executed */

Definition at line 9215 of file duktape.c.

◆ DUK_PAUSE_FLAG_ONE_OPCODE_ACTIVE

#define DUK_PAUSE_FLAG_ONE_OPCODE_ACTIVE   (1U << 1) /* one opcode pause actually active; artifact of current implementation */

Definition at line 9216 of file duktape.c.

◆ DUK_PAUSE_FLAG_UNCAUGHT_ERROR

#define DUK_PAUSE_FLAG_UNCAUGHT_ERROR   (1U << 6) /* pause when about to throw an error that won't be caught */

Definition at line 9221 of file duktape.c.

◆ DUK_PC2LINE_MAX_DIFF_LENGTH

#define DUK_PC2LINE_MAX_DIFF_LENGTH   (((DUK_PC2LINE_SKIP - 1) * 35 + 7) / 8)

Definition at line 7256 of file duktape.c.

◆ DUK_PC2LINE_SKIP

#define DUK_PC2LINE_SKIP   64

Definition at line 7253 of file duktape.c.

◆ DUK_PROPDESC_FLAG_ACCESSOR

#define DUK_PROPDESC_FLAG_ACCESSOR   (1U << 3) /* accessor */

Definition at line 6839 of file duktape.c.

◆ DUK_PROPDESC_FLAG_CONFIGURABLE

#define DUK_PROPDESC_FLAG_CONFIGURABLE   (1U << 2) /* E5 Section 8.6.1 */

Definition at line 6838 of file duktape.c.

◆ DUK_PROPDESC_FLAG_ENUMERABLE

#define DUK_PROPDESC_FLAG_ENUMERABLE   (1U << 1) /* E5 Section 8.6.1 */

Definition at line 6837 of file duktape.c.

◆ DUK_PROPDESC_FLAG_NO_OVERWRITE

#define DUK_PROPDESC_FLAG_NO_OVERWRITE   (1U << 4) /* internal define property: skip write silently if exists */

Definition at line 6848 of file duktape.c.

◆ DUK_PROPDESC_FLAG_VIRTUAL

#define DUK_PROPDESC_FLAG_VIRTUAL
Value:
(1U << 4) /* property is virtual: used in duk_propdesc, never stored \
* (used by e.g. buffer virtual properties) \
*/

Definition at line 6840 of file duktape.c.

◆ DUK_PROPDESC_FLAG_WRITABLE

#define DUK_PROPDESC_FLAG_WRITABLE   (1U << 0) /* E5 Section 8.6.1 */

Definition at line 6836 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_C

#define DUK_PROPDESC_FLAGS_C   (DUK_PROPDESC_FLAG_CONFIGURABLE)

Definition at line 6854 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_E

#define DUK_PROPDESC_FLAGS_E   (DUK_PROPDESC_FLAG_ENUMERABLE)

Definition at line 6853 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_EC

#define DUK_PROPDESC_FLAGS_EC   (DUK_PROPDESC_FLAG_ENUMERABLE | DUK_PROPDESC_FLAG_CONFIGURABLE)

Definition at line 6857 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_MASK

Definition at line 6842 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_NONE

#define DUK_PROPDESC_FLAGS_NONE   0

Definition at line 6851 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_W

#define DUK_PROPDESC_FLAGS_W   (DUK_PROPDESC_FLAG_WRITABLE)

Definition at line 6852 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_WC

#define DUK_PROPDESC_FLAGS_WC   (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_CONFIGURABLE)

Definition at line 6856 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_WE

#define DUK_PROPDESC_FLAGS_WE   (DUK_PROPDESC_FLAG_WRITABLE | DUK_PROPDESC_FLAG_ENUMERABLE)

Definition at line 6855 of file duktape.c.

◆ DUK_PROPDESC_FLAGS_WEC

Definition at line 6858 of file duktape.c.

◆ DUK_PROPDESC_IS_ACCESSOR

#define DUK_PROPDESC_IS_ACCESSOR (   p)    (((p)->flags & DUK_PROPDESC_FLAG_ACCESSOR) != 0)

Definition at line 7087 of file duktape.c.

◆ DUK_PROPDESC_IS_CONFIGURABLE

#define DUK_PROPDESC_IS_CONFIGURABLE (   p)    (((p)->flags & DUK_PROPDESC_FLAG_CONFIGURABLE) != 0)

Definition at line 7086 of file duktape.c.

◆ DUK_PROPDESC_IS_ENUMERABLE

#define DUK_PROPDESC_IS_ENUMERABLE (   p)    (((p)->flags & DUK_PROPDESC_FLAG_ENUMERABLE) != 0)

Definition at line 7085 of file duktape.c.

◆ DUK_PROPDESC_IS_WRITABLE

#define DUK_PROPDESC_IS_WRITABLE (   p)    (((p)->flags & DUK_PROPDESC_FLAG_WRITABLE) != 0)

Definition at line 7084 of file duktape.c.

◆ duk_push_hnatfunc

#define duk_push_hnatfunc (   thr,
 
)    duk_push_hobject((thr), (duk_hobject *) (h))

Definition at line 6090 of file duktape.c.

◆ duk_push_hthread

#define duk_push_hthread (   thr,
 
)    duk_push_hobject((thr), (duk_hobject *) (h))

Definition at line 6089 of file duktape.c.

◆ duk_push_i32

#define duk_push_i32 (   thr,
  val 
)    duk_push_int((thr), (duk_int_t) (val))

Definition at line 5994 of file duktape.c.

◆ duk_push_i64

#define duk_push_i64 (   thr,
  val 
)    duk_push_number((thr), (duk_double_t) (val))

Definition at line 5990 of file duktape.c.

◆ duk_push_idx

#define duk_push_idx (   thr,
  val 
)    duk_push_int((thr), (duk_int_t) (val))

Definition at line 5997 of file duktape.c.

◆ duk_push_size_t

#define duk_push_size_t (   thr,
  val 
)    duk_push_uint((thr), (duk_uint_t) (val)) /* XXX: assumed to fit for now */

Definition at line 5999 of file duktape.c.

◆ DUK_PUSH_SPRINTF_INITIAL_SIZE

#define DUK_PUSH_SPRINTF_INITIAL_SIZE   256L

Definition at line 5921 of file duktape.c.

◆ DUK_PUSH_SPRINTF_SANITY_LIMIT

#define DUK_PUSH_SPRINTF_SANITY_LIMIT   (1L * 1024L * 1024L * 1024L)

Definition at line 5922 of file duktape.c.

◆ duk_push_u32

#define duk_push_u32 (   thr,
  val 
)    duk_push_uint((thr), (duk_uint_t) (val))

Definition at line 5993 of file duktape.c.

◆ duk_push_u64

#define duk_push_u64 (   thr,
  val 
)    duk_push_number((thr), (duk_double_t) (val))

Definition at line 5989 of file duktape.c.

◆ duk_push_uarridx

#define duk_push_uarridx (   thr,
  val 
)    duk_push_uint((thr), (duk_uint_t) (val))

Definition at line 5998 of file duktape.c.

◆ duk_put_prop_stridx_short

#define duk_put_prop_stridx_short (   thr,
  obj_idx,
  stridx 
)
Value:
(DUK_ASSERT_EXPR((duk_int_t) (obj_idx) >= -0x8000L && (duk_int_t) (obj_idx) <= 0x7fffL), \
DUK_ASSERT_EXPR((duk_int_t) (stridx) >= 0 && (duk_int_t) (stridx) <= 0xffffL), \
duk_put_prop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx))))

Definition at line 6158 of file duktape.c.

◆ DUK_RAW_READ_DOUBLE_BE

#define DUK_RAW_READ_DOUBLE_BE (   ptr)    duk_raw_read_double_be((ptr));

Definition at line 2453 of file duktape.c.

◆ DUK_RAW_READ_U16_BE

#define DUK_RAW_READ_U16_BE (   ptr)    duk_raw_read_u16_be((ptr));

Definition at line 2451 of file duktape.c.

◆ DUK_RAW_READ_U32_BE

#define DUK_RAW_READ_U32_BE (   ptr)    duk_raw_read_u32_be((ptr));

Definition at line 2452 of file duktape.c.

◆ DUK_RAW_READ_U8

#define DUK_RAW_READ_U8 (   ptr)    ((duk_uint8_t) (*(ptr)))

Definition at line 2450 of file duktape.c.

◆ DUK_RAW_READINC_DOUBLE_BE

#define DUK_RAW_READINC_DOUBLE_BE (   ptr)    duk_raw_readinc_double_be(&(ptr));

Definition at line 2458 of file duktape.c.

◆ DUK_RAW_READINC_U16_BE

#define DUK_RAW_READINC_U16_BE (   ptr)    duk_raw_readinc_u16_be(&(ptr));

Definition at line 2456 of file duktape.c.

◆ DUK_RAW_READINC_U32_BE

#define DUK_RAW_READINC_U32_BE (   ptr)    duk_raw_readinc_u32_be(&(ptr));

Definition at line 2457 of file duktape.c.

◆ DUK_RAW_READINC_U8

#define DUK_RAW_READINC_U8 (   ptr)    ((duk_uint8_t) (*(ptr)++))

Definition at line 2455 of file duktape.c.

◆ DUK_RAW_WRITE_DOUBLE_BE

#define DUK_RAW_WRITE_DOUBLE_BE (   ptr,
  val 
)    duk_raw_write_double_be((ptr), (duk_double_t) (val))

Definition at line 2436 of file duktape.c.

◆ DUK_RAW_WRITE_FLOAT_BE

#define DUK_RAW_WRITE_FLOAT_BE (   ptr,
  val 
)    duk_raw_write_float_be((ptr), (duk_float_t) (val))

Definition at line 2435 of file duktape.c.

◆ DUK_RAW_WRITE_U16_BE

#define DUK_RAW_WRITE_U16_BE (   ptr,
  val 
)    duk_raw_write_u16_be((ptr), (duk_uint16_t) (val))

Definition at line 2433 of file duktape.c.

◆ DUK_RAW_WRITE_U32_BE

#define DUK_RAW_WRITE_U32_BE (   ptr,
  val 
)    duk_raw_write_u32_be((ptr), (duk_uint32_t) (val))

Definition at line 2434 of file duktape.c.

◆ DUK_RAW_WRITE_U8

#define DUK_RAW_WRITE_U8 (   ptr,
  val 
)
Value:
do { \
*(ptr) = (duk_uint8_t) (val); \
} while (0)

Definition at line 2429 of file duktape.c.

◆ DUK_RAW_WRITE_XUTF8

#define DUK_RAW_WRITE_XUTF8 (   ptr,
  val 
)    duk_raw_write_xutf8((ptr), (duk_ucodepoint_t) (val))

Definition at line 2437 of file duktape.c.

◆ DUK_RAW_WRITEINC_CESU8

#define DUK_RAW_WRITEINC_CESU8 (   ptr,
  val 
)    duk_raw_writeinc_cesu8(&(ptr), (duk_ucodepoint_t) (val))

Definition at line 2448 of file duktape.c.

◆ DUK_RAW_WRITEINC_DOUBLE_BE

#define DUK_RAW_WRITEINC_DOUBLE_BE (   ptr,
  val 
)    duk_raw_writeinc_double_be(&(ptr), (duk_double_t) (val))

Definition at line 2446 of file duktape.c.

◆ DUK_RAW_WRITEINC_FLOAT_BE

#define DUK_RAW_WRITEINC_FLOAT_BE (   ptr,
  val 
)    duk_raw_writeinc_float_be(&(ptr), (duk_float_t) (val))

Definition at line 2445 of file duktape.c.

◆ DUK_RAW_WRITEINC_U16_BE

#define DUK_RAW_WRITEINC_U16_BE (   ptr,
  val 
)    duk_raw_writeinc_u16_be(&(ptr), (duk_uint16_t) (val))

Definition at line 2443 of file duktape.c.

◆ DUK_RAW_WRITEINC_U32_BE

#define DUK_RAW_WRITEINC_U32_BE (   ptr,
  val 
)    duk_raw_writeinc_u32_be(&(ptr), (duk_uint32_t) (val))

Definition at line 2444 of file duktape.c.

◆ DUK_RAW_WRITEINC_U8

#define DUK_RAW_WRITEINC_U8 (   ptr,
  val 
)
Value:
do { \
*(ptr)++ = (duk_uint8_t) (val); \
} while (0)

Definition at line 2439 of file duktape.c.

◆ DUK_RAW_WRITEINC_XUTF8

#define DUK_RAW_WRITEINC_XUTF8 (   ptr,
  val 
)    duk_raw_writeinc_xutf8(&(ptr), (duk_ucodepoint_t) (val))

Definition at line 2447 of file duktape.c.

◆ DUK_RE_COMPILE_TOKEN_LIMIT

#define DUK_RE_COMPILE_TOKEN_LIMIT   100000000L /* 1e8 */

Definition at line 4482 of file duktape.c.

◆ DUK_RE_EXECUTE_STEPS_LIMIT

#define DUK_RE_EXECUTE_STEPS_LIMIT   1000000000L /* 1e9 */

Definition at line 4485 of file duktape.c.

◆ DUK_RE_FLAG_GLOBAL

#define DUK_RE_FLAG_GLOBAL   (1U << 0)

Definition at line 4509 of file duktape.c.

◆ DUK_RE_FLAG_IGNORE_CASE

#define DUK_RE_FLAG_IGNORE_CASE   (1U << 1)

Definition at line 4510 of file duktape.c.

◆ DUK_RE_FLAG_MULTILINE

#define DUK_RE_FLAG_MULTILINE   (1U << 2)

Definition at line 4511 of file duktape.c.

◆ DUK_RE_MAX_ATOM_COPIES

#define DUK_RE_MAX_ATOM_COPIES   1000

Definition at line 4479 of file duktape.c.

◆ DUK_RE_QUANTIFIER_INFINITE

#define DUK_RE_QUANTIFIER_INFINITE   ((duk_uint32_t) 0xffffffffUL)

Definition at line 4168 of file duktape.c.

◆ DUK_REALLOC

#define DUK_REALLOC (   heap,
  ptr,
  newsize 
)    duk_heap_mem_realloc((heap), (ptr), (newsize))

Definition at line 9170 of file duktape.c.

◆ DUK_REALLOC_INDIRECT

#define DUK_REALLOC_INDIRECT (   heap,
  cb,
  ud,
  newsize 
)    duk_heap_mem_realloc_indirect((heap), (cb), (ud), (newsize))

Definition at line 9171 of file duktape.c.

◆ DUK_REALLOC_RAW

#define DUK_REALLOC_RAW (   heap,
  ptr,
  newsize 
)    ((heap)->realloc_func((heap)->heap_udata, (void *) (ptr), (newsize)))

Definition at line 9133 of file duktape.c.

◆ DUK_REFCOUNT_H_INCLUDED

#define DUK_REFCOUNT_H_INCLUDED

Definition at line 4881 of file duktape.c.

◆ DUK_REFZERO_CHECK_FAST

#define DUK_REFZERO_CHECK_FAST (   thr)
Value:
do { \
duk_refzero_check_fast((thr)); \
} while (0)

Definition at line 5182 of file duktape.c.

◆ DUK_REFZERO_CHECK_SLOW

#define DUK_REFZERO_CHECK_SLOW (   thr)
Value:
do { \
duk_refzero_check_slow((thr)); \
} while (0)

Definition at line 5186 of file duktape.c.

◆ DUK_REGCONST_CONST_MARKER

#define DUK_REGCONST_CONST_MARKER   DUK_INT32_MIN /* = -0x80000000 */

Definition at line 4276 of file duktape.c.

◆ DUK_REGEXP_H_INCLUDED

#define DUK_REGEXP_H_INCLUDED

Definition at line 4476 of file duktape.c.

◆ DUK_REOP_ASSERT_END

#define DUK_REOP_ASSERT_END   17

Definition at line 4504 of file duktape.c.

◆ DUK_REOP_ASSERT_NOT_WORD_BOUNDARY

#define DUK_REOP_ASSERT_NOT_WORD_BOUNDARY   19

Definition at line 4506 of file duktape.c.

◆ DUK_REOP_ASSERT_START

#define DUK_REOP_ASSERT_START   16

Definition at line 4503 of file duktape.c.

◆ DUK_REOP_ASSERT_WORD_BOUNDARY

#define DUK_REOP_ASSERT_WORD_BOUNDARY   18

Definition at line 4505 of file duktape.c.

◆ DUK_REOP_BACKREFERENCE

#define DUK_REOP_BACKREFERENCE   15

Definition at line 4502 of file duktape.c.

◆ DUK_REOP_CHAR

#define DUK_REOP_CHAR   2

Definition at line 4489 of file duktape.c.

◆ DUK_REOP_INVRANGES

#define DUK_REOP_INVRANGES   5

Definition at line 4492 of file duktape.c.

◆ DUK_REOP_JUMP

#define DUK_REOP_JUMP   6

Definition at line 4493 of file duktape.c.

◆ DUK_REOP_LOOKNEG

#define DUK_REOP_LOOKNEG   14

Definition at line 4501 of file duktape.c.

◆ DUK_REOP_LOOKPOS

#define DUK_REOP_LOOKPOS   13

Definition at line 4500 of file duktape.c.

◆ DUK_REOP_MATCH

#define DUK_REOP_MATCH   1

Definition at line 4488 of file duktape.c.

◆ DUK_REOP_PERIOD

#define DUK_REOP_PERIOD   3

Definition at line 4490 of file duktape.c.

◆ DUK_REOP_RANGES

#define DUK_REOP_RANGES   4

Definition at line 4491 of file duktape.c.

◆ DUK_REOP_SAVE

#define DUK_REOP_SAVE   11

Definition at line 4498 of file duktape.c.

◆ DUK_REOP_SPLIT1

#define DUK_REOP_SPLIT1   7

Definition at line 4494 of file duktape.c.

◆ DUK_REOP_SPLIT2

#define DUK_REOP_SPLIT2   8

Definition at line 4495 of file duktape.c.

◆ DUK_REOP_SQGREEDY

#define DUK_REOP_SQGREEDY   10

Definition at line 4497 of file duktape.c.

◆ DUK_REOP_SQMINIMAL

#define DUK_REOP_SQMINIMAL   9

Definition at line 4496 of file duktape.c.

◆ DUK_REOP_WIPERANGE

#define DUK_REOP_WIPERANGE   12

Definition at line 4499 of file duktape.c.

◆ DUK_REPLACEMENTS_H_INCLUDED

#define DUK_REPLACEMENTS_H_INCLUDED

Definition at line 670 of file duktape.c.

◆ duk_require_hobject_promote_lfunc

#define duk_require_hobject_promote_lfunc (   thr,
  idx 
)    duk_require_hobject_promote_mask((thr), (idx), DUK_TYPE_MASK_LIGHTFUNC)

Definition at line 6029 of file duktape.c.

◆ DUK_RETOK_ASSERT_END

#define DUK_RETOK_ASSERT_END   4

Definition at line 4128 of file duktape.c.

◆ DUK_RETOK_ASSERT_NOT_WORD_BOUNDARY

#define DUK_RETOK_ASSERT_NOT_WORD_BOUNDARY   6

Definition at line 4130 of file duktape.c.

◆ DUK_RETOK_ASSERT_START

#define DUK_RETOK_ASSERT_START   3

Definition at line 4127 of file duktape.c.

◆ DUK_RETOK_ASSERT_START_NEG_LOOKAHEAD

#define DUK_RETOK_ASSERT_START_NEG_LOOKAHEAD   8

Definition at line 4132 of file duktape.c.

◆ DUK_RETOK_ASSERT_START_POS_LOOKAHEAD

#define DUK_RETOK_ASSERT_START_POS_LOOKAHEAD   7

Definition at line 4131 of file duktape.c.

◆ DUK_RETOK_ASSERT_WORD_BOUNDARY

#define DUK_RETOK_ASSERT_WORD_BOUNDARY   5

Definition at line 4129 of file duktape.c.

◆ DUK_RETOK_ATOM_BACKREFERENCE

#define DUK_RETOK_ATOM_BACKREFERENCE   17

Definition at line 4141 of file duktape.c.

◆ DUK_RETOK_ATOM_CHAR

#define DUK_RETOK_ATOM_CHAR   10

Definition at line 4134 of file duktape.c.

◆ DUK_RETOK_ATOM_DIGIT

#define DUK_RETOK_ATOM_DIGIT   11 /* assumptions in regexp compiler */

Definition at line 4135 of file duktape.c.

◆ DUK_RETOK_ATOM_END_GROUP

#define DUK_RETOK_ATOM_END_GROUP   22

Definition at line 4146 of file duktape.c.

◆ DUK_RETOK_ATOM_NOT_DIGIT

#define DUK_RETOK_ATOM_NOT_DIGIT   12 /* -""- */

Definition at line 4136 of file duktape.c.

◆ DUK_RETOK_ATOM_NOT_WHITE

#define DUK_RETOK_ATOM_NOT_WHITE   14 /* -""- */

Definition at line 4138 of file duktape.c.

◆ DUK_RETOK_ATOM_NOT_WORD_CHAR

#define DUK_RETOK_ATOM_NOT_WORD_CHAR   16 /* -""- */

Definition at line 4140 of file duktape.c.

◆ DUK_RETOK_ATOM_PERIOD

#define DUK_RETOK_ATOM_PERIOD   9

Definition at line 4133 of file duktape.c.

◆ DUK_RETOK_ATOM_START_CAPTURE_GROUP

#define DUK_RETOK_ATOM_START_CAPTURE_GROUP   18

Definition at line 4142 of file duktape.c.

◆ DUK_RETOK_ATOM_START_CHARCLASS

#define DUK_RETOK_ATOM_START_CHARCLASS   20

Definition at line 4144 of file duktape.c.

◆ DUK_RETOK_ATOM_START_CHARCLASS_INVERTED

#define DUK_RETOK_ATOM_START_CHARCLASS_INVERTED   21

Definition at line 4145 of file duktape.c.

◆ DUK_RETOK_ATOM_START_NONCAPTURE_GROUP

#define DUK_RETOK_ATOM_START_NONCAPTURE_GROUP   19

Definition at line 4143 of file duktape.c.

◆ DUK_RETOK_ATOM_WHITE

#define DUK_RETOK_ATOM_WHITE   13 /* -""- */

Definition at line 4137 of file duktape.c.

◆ DUK_RETOK_ATOM_WORD_CHAR

#define DUK_RETOK_ATOM_WORD_CHAR   15 /* -""- */

Definition at line 4139 of file duktape.c.

◆ DUK_RETOK_DISJUNCTION

#define DUK_RETOK_DISJUNCTION   1

Definition at line 4125 of file duktape.c.

◆ DUK_RETOK_EOF

#define DUK_RETOK_EOF   0

Definition at line 4124 of file duktape.c.

◆ DUK_RETOK_QUANTIFIER

#define DUK_RETOK_QUANTIFIER   2

Definition at line 4126 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_AUTO_BIN_INT

#define DUK_S2N_FLAG_ALLOW_AUTO_BIN_INT   (1U << 14)

Definition at line 11315 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_AUTO_HEX_INT

#define DUK_S2N_FLAG_ALLOW_AUTO_HEX_INT   (1U << 11)

Definition at line 11300 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_AUTO_LEGACY_OCT_INT

#define DUK_S2N_FLAG_ALLOW_AUTO_LEGACY_OCT_INT   (1U << 12)

Definition at line 11305 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_AUTO_OCT_INT

#define DUK_S2N_FLAG_ALLOW_AUTO_OCT_INT   (1U << 13)

Definition at line 11310 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_EMPTY_AS_ZERO

#define DUK_S2N_FLAG_ALLOW_EMPTY_AS_ZERO   (1U << 9)

Definition at line 11292 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_EMPTY_FRAC

#define DUK_S2N_FLAG_ALLOW_EMPTY_FRAC   (1U << 8)

Definition at line 11289 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_EXP

#define DUK_S2N_FLAG_ALLOW_EXP   (1U << 1)

Definition at line 11268 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_FRAC

#define DUK_S2N_FLAG_ALLOW_FRAC   (1U << 6)

Definition at line 11283 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_GARBAGE

#define DUK_S2N_FLAG_ALLOW_GARBAGE   (1U << 2)

Definition at line 11271 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_INF

#define DUK_S2N_FLAG_ALLOW_INF   (1U << 5)

Definition at line 11280 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_LEADING_ZERO

#define DUK_S2N_FLAG_ALLOW_LEADING_ZERO   (1U << 10)

Definition at line 11295 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_MINUS

#define DUK_S2N_FLAG_ALLOW_MINUS   (1U << 4)

Definition at line 11277 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_NAKED_FRAC

#define DUK_S2N_FLAG_ALLOW_NAKED_FRAC   (1U << 7)

Definition at line 11286 of file duktape.c.

◆ DUK_S2N_FLAG_ALLOW_PLUS

#define DUK_S2N_FLAG_ALLOW_PLUS   (1U << 3)

Definition at line 11274 of file duktape.c.

◆ DUK_S2N_FLAG_TRIM_WHITE

#define DUK_S2N_FLAG_TRIM_WHITE   (1U << 0)

Definition at line 11265 of file duktape.c.

◆ DUK_S2N_MAX_EXPONENT

#define DUK_S2N_MAX_EXPONENT   10000000L

Definition at line 11262 of file duktape.c.

◆ DUK_SELFTEST_H_INCLUDED

#define DUK_SELFTEST_H_INCLUDED

Definition at line 11416 of file duktape.c.

◆ DUK_STATS_INC

#define DUK_STATS_INC (   heap,
  fieldname 
)
Value:
do { \
} while (0)

Definition at line 9055 of file duktape.c.

◆ DUK_STR_ALLOC_FAILED

#define DUK_STR_ALLOC_FAILED   "alloc failed"

Definition at line 3220 of file duktape.c.

◆ DUK_STR_BASE64_DECODE_FAILED

#define DUK_STR_BASE64_DECODE_FAILED   "base64 decode failed"

Definition at line 3225 of file duktape.c.

◆ DUK_STR_BASE64_ENCODE_FAILED

#define DUK_STR_BASE64_ENCODE_FAILED   "base64 encode failed"

Definition at line 3222 of file duktape.c.

◆ DUK_STR_BOUND_CHAIN_LIMIT

#define DUK_STR_BOUND_CHAIN_LIMIT   "function call bound chain limit"

Definition at line 3314 of file duktape.c.

◆ DUK_STR_BUFFER_TOO_LONG

#define DUK_STR_BUFFER_TOO_LONG   "buffer too long"

Definition at line 3219 of file duktape.c.

◆ DUK_STR_BYTECODE_LIMIT

#define DUK_STR_BYTECODE_LIMIT   "bytecode limit"

Definition at line 3317 of file duktape.c.

◆ DUK_STR_CALLSTACK_LIMIT

#define DUK_STR_CALLSTACK_LIMIT   "callstack limit"

Definition at line 3312 of file duktape.c.

◆ DUK_STR_CANNOT_DELETE_IDENTIFIER

#define DUK_STR_CANNOT_DELETE_IDENTIFIER   "cannot delete identifier"

Definition at line 3274 of file duktape.c.

◆ DUK_STR_CANNOT_NUMBER_COERCE_SYMBOL

#define DUK_STR_CANNOT_NUMBER_COERCE_SYMBOL   "cannot number coerce Symbol"

Definition at line 3216 of file duktape.c.

◆ DUK_STR_CANNOT_STRING_COERCE_SYMBOL

#define DUK_STR_CANNOT_STRING_COERCE_SYMBOL   "cannot string coerce Symbol"

Definition at line 3217 of file duktape.c.

◆ DUK_STR_COMPILER_RECURSION_LIMIT

#define DUK_STR_COMPILER_RECURSION_LIMIT   "compiler recursion limit"

Definition at line 3316 of file duktape.c.

◆ DUK_STR_CONST_LIMIT

#define DUK_STR_CONST_LIMIT   "const limit"

Definition at line 3320 of file duktape.c.

◆ DUK_STR_CONSTRUCT_ONLY

#define DUK_STR_CONSTRUCT_ONLY   "constructor requires 'new'"

Definition at line 3190 of file duktape.c.

◆ DUK_STR_CYCLIC_INPUT

#define DUK_STR_CYCLIC_INPUT   "cyclic input"

Definition at line 3237 of file duktape.c.

◆ DUK_STR_DEC_RECLIMIT

#define DUK_STR_DEC_RECLIMIT   "decode recursion limit"

Definition at line 3240 of file duktape.c.

◆ DUK_STR_DUPLICATE_LABEL

#define DUK_STR_DUPLICATE_LABEL   "duplicate label"

Definition at line 3269 of file duktape.c.

◆ DUK_STR_EMPTY_EXPR_NOT_ALLOWED

#define DUK_STR_EMPTY_EXPR_NOT_ALLOWED   "empty expression not allowed"

Definition at line 3279 of file duktape.c.

◆ DUK_STR_ENC_RECLIMIT

#define DUK_STR_ENC_RECLIMIT   "encode recursion limit"

Definition at line 3241 of file duktape.c.

◆ DUK_STR_EXPECTED_IDENTIFIER

#define DUK_STR_EXPECTED_IDENTIFIER   "expected identifier"

Definition at line 3278 of file duktape.c.

◆ DUK_STR_FMT_INVALID_JSON

#define DUK_STR_FMT_INVALID_JSON   "invalid json (at offset %ld)"

Definition at line 3236 of file duktape.c.

◆ DUK_STR_FMT_PTR

#define DUK_STR_FMT_PTR   "%p"

Definition at line 3235 of file duktape.c.

◆ DUK_STR_FUNC_LIMIT

#define DUK_STR_FUNC_LIMIT   "function limit"

Definition at line 3321 of file duktape.c.

◆ DUK_STR_FUNC_NAME_REQUIRED

#define DUK_STR_FUNC_NAME_REQUIRED   "function name required"

Definition at line 3292 of file duktape.c.

◆ DUK_STR_FUNC_STMT_NOT_ALLOWED

#define DUK_STR_FUNC_STMT_NOT_ALLOWED   "function statement not allowed"

Definition at line 3287 of file duktape.c.

◆ DUK_STR_HEX_DECODE_FAILED

#define DUK_STR_HEX_DECODE_FAILED   "hex decode failed"

Definition at line 3226 of file duktape.c.

◆ DUK_STR_INTERNAL_ERROR

#define DUK_STR_INTERNAL_ERROR   "internal error"

Definition at line 3182 of file duktape.c.

◆ DUK_STR_INVALID_ARG_NAME

#define DUK_STR_INVALID_ARG_NAME   "invalid argument name"

Definition at line 3289 of file duktape.c.

◆ DUK_STR_INVALID_ARGS

#define DUK_STR_INVALID_ARGS   "invalid args"

Definition at line 3185 of file duktape.c.

◆ DUK_STR_INVALID_ARRAY_LENGTH

#define DUK_STR_INVALID_ARRAY_LENGTH   "invalid array length"

Definition at line 3247 of file duktape.c.

◆ DUK_STR_INVALID_ARRAY_LITERAL

#define DUK_STR_INVALID_ARRAY_LITERAL   "invalid array literal"

Definition at line 3271 of file duktape.c.

◆ DUK_STR_INVALID_BACKREFS

#define DUK_STR_INVALID_BACKREFS   "invalid backreference(s)"

Definition at line 3304 of file duktape.c.

◆ DUK_STR_INVALID_BASE

#define DUK_STR_INVALID_BASE   "invalid base value"

Definition at line 3244 of file duktape.c.

◆ DUK_STR_INVALID_BREAK_CONT_LABEL

#define DUK_STR_INVALID_BREAK_CONT_LABEL   "invalid break/continue label"

Definition at line 3282 of file duktape.c.

◆ DUK_STR_INVALID_BYTECODE

#define DUK_STR_INVALID_BYTECODE   "invalid bytecode"

Definition at line 3227 of file duktape.c.

◆ DUK_STR_INVALID_CFUNC_RC

#define DUK_STR_INVALID_CFUNC_RC   "invalid C function rc"

Definition at line 3230 of file duktape.c.

◆ DUK_STR_INVALID_CONTEXT

#define DUK_STR_INVALID_CONTEXT   "invalid context"

Definition at line 3195 of file duktape.c.

◆ DUK_STR_INVALID_COUNT

#define DUK_STR_INVALID_COUNT   "invalid count"

Definition at line 3184 of file duktape.c.

◆ DUK_STR_INVALID_DESCRIPTOR

#define DUK_STR_INVALID_DESCRIPTOR   "invalid descriptor"

Definition at line 3249 of file duktape.c.

◆ DUK_STR_INVALID_ESCAPE

#define DUK_STR_INVALID_ESCAPE   "invalid escape"

Definition at line 3258 of file duktape.c.

◆ DUK_STR_INVALID_EXPRESSION

#define DUK_STR_INVALID_EXPRESSION   "invalid expression"

Definition at line 3275 of file duktape.c.

◆ DUK_STR_INVALID_FOR

#define DUK_STR_INVALID_FOR   "invalid for statement"

Definition at line 3280 of file duktape.c.

◆ DUK_STR_INVALID_FUNC_NAME

#define DUK_STR_INVALID_FUNC_NAME   "invalid function name"

Definition at line 3290 of file duktape.c.

◆ DUK_STR_INVALID_GETSET_NAME

#define DUK_STR_INVALID_GETSET_NAME   "invalid getter/setter name"

Definition at line 3291 of file duktape.c.

◆ DUK_STR_INVALID_INDEX

#define DUK_STR_INVALID_INDEX   "invalid args"

Definition at line 3196 of file duktape.c.

◆ DUK_STR_INVALID_INPUT

#define DUK_STR_INVALID_INPUT   "invalid input"

Definition at line 3187 of file duktape.c.

◆ DUK_STR_INVALID_INSTANCEOF_RVAL

#define DUK_STR_INVALID_INSTANCEOF_RVAL   "invalid instanceof rval"

Definition at line 3231 of file duktape.c.

◆ DUK_STR_INVALID_INSTANCEOF_RVAL_NOPROTO

#define DUK_STR_INVALID_INSTANCEOF_RVAL_NOPROTO   "instanceof rval has no .prototype"

Definition at line 3232 of file duktape.c.

◆ DUK_STR_INVALID_LABEL

#define DUK_STR_INVALID_LABEL   "invalid label"

Definition at line 3270 of file duktape.c.

◆ DUK_STR_INVALID_LENGTH

#define DUK_STR_INVALID_LENGTH   "invalid length"

Definition at line 3188 of file duktape.c.

◆ DUK_STR_INVALID_LVALUE

#define DUK_STR_INVALID_LVALUE   "invalid lvalue"

Definition at line 3276 of file duktape.c.

◆ DUK_STR_INVALID_NEWTARGET

#define DUK_STR_INVALID_NEWTARGET   "invalid new.target"

Definition at line 3277 of file duktape.c.

◆ DUK_STR_INVALID_NUMBER_LITERAL

#define DUK_STR_INVALID_NUMBER_LITERAL   "invalid number literal"

Definition at line 3264 of file duktape.c.

◆ DUK_STR_INVALID_OBJECT_LITERAL

#define DUK_STR_INVALID_OBJECT_LITERAL   "invalid object literal"

Definition at line 3272 of file duktape.c.

◆ DUK_STR_INVALID_QUANTIFIER

#define DUK_STR_INVALID_QUANTIFIER   "invalid regexp quantifier"

Definition at line 3295 of file duktape.c.

◆ DUK_STR_INVALID_QUANTIFIER_NO_ATOM

#define DUK_STR_INVALID_QUANTIFIER_NO_ATOM   "quantifier without preceding atom"

Definition at line 3296 of file duktape.c.

◆ DUK_STR_INVALID_QUANTIFIER_VALUES

#define DUK_STR_INVALID_QUANTIFIER_VALUES   "quantifier values invalid (qmin > qmax)"

Definition at line 3297 of file duktape.c.

◆ DUK_STR_INVALID_RANGE

#define DUK_STR_INVALID_RANGE   "invalid range"

Definition at line 3308 of file duktape.c.

◆ DUK_STR_INVALID_REGEXP_CHARACTER

#define DUK_STR_INVALID_REGEXP_CHARACTER   "invalid regexp character"

Definition at line 3305 of file duktape.c.

◆ DUK_STR_INVALID_REGEXP_ESCAPE

#define DUK_STR_INVALID_REGEXP_ESCAPE   "invalid regexp escape"

Definition at line 3303 of file duktape.c.

◆ DUK_STR_INVALID_REGEXP_FLAGS

#define DUK_STR_INVALID_REGEXP_FLAGS   "invalid regexp flags"

Definition at line 3302 of file duktape.c.

◆ DUK_STR_INVALID_REGEXP_GROUP

#define DUK_STR_INVALID_REGEXP_GROUP   "invalid regexp group"

Definition at line 3306 of file duktape.c.

◆ DUK_STR_INVALID_RETURN

#define DUK_STR_INVALID_RETURN   "invalid return"

Definition at line 3283 of file duktape.c.

◆ DUK_STR_INVALID_STATE

#define DUK_STR_INVALID_STATE   "invalid state"

Definition at line 3186 of file duktape.c.

◆ DUK_STR_INVALID_SWITCH

#define DUK_STR_INVALID_SWITCH   "invalid switch statement"

Definition at line 3281 of file duktape.c.

◆ DUK_STR_INVALID_THROW

#define DUK_STR_INVALID_THROW   "invalid throw"

Definition at line 3285 of file duktape.c.

◆ DUK_STR_INVALID_TOKEN

#define DUK_STR_INVALID_TOKEN   "invalid token"

Definition at line 3265 of file duktape.c.

◆ DUK_STR_INVALID_TRAP_RESULT

#define DUK_STR_INVALID_TRAP_RESULT   "invalid trap result"

Definition at line 3253 of file duktape.c.

◆ DUK_STR_INVALID_TRY

#define DUK_STR_INVALID_TRY   "invalid try"

Definition at line 3284 of file duktape.c.

◆ DUK_STR_INVALID_VAR_DECLARATION

#define DUK_STR_INVALID_VAR_DECLARATION   "invalid variable declaration"

Definition at line 3273 of file duktape.c.

◆ DUK_STR_NATIVE_STACK_LIMIT

#define DUK_STR_NATIVE_STACK_LIMIT   "C stack depth limit"

Definition at line 3315 of file duktape.c.

◆ DUK_STR_NO_SOURCECODE

#define DUK_STR_NO_SOURCECODE   "no sourcecode"

Definition at line 3228 of file duktape.c.

◆ DUK_STR_NOT_BOOLEAN

#define DUK_STR_NOT_BOOLEAN   "unexpected type"

Definition at line 3200 of file duktape.c.

◆ DUK_STR_NOT_BUFFER

#define DUK_STR_NOT_BUFFER   "not buffer" /* still in use with verbose messages */

Definition at line 3205 of file duktape.c.

◆ DUK_STR_NOT_C_FUNCTION

#define DUK_STR_NOT_C_FUNCTION   "unexpected type"

Definition at line 3210 of file duktape.c.

◆ DUK_STR_NOT_CALLABLE

#define DUK_STR_NOT_CALLABLE   "not callable"

Definition at line 3191 of file duktape.c.

◆ DUK_STR_NOT_COMPFUNC

#define DUK_STR_NOT_COMPFUNC   "unexpected type"

Definition at line 3208 of file duktape.c.

◆ DUK_STR_NOT_CONFIGURABLE

#define DUK_STR_NOT_CONFIGURABLE   "not configurable"

Definition at line 3194 of file duktape.c.

◆ DUK_STR_NOT_CONSTRUCTABLE

#define DUK_STR_NOT_CONSTRUCTABLE   "not constructable"

Definition at line 3189 of file duktape.c.

◆ DUK_STR_NOT_EXTENSIBLE

#define DUK_STR_NOT_EXTENSIBLE   "not extensible"

Definition at line 3192 of file duktape.c.

◆ DUK_STR_NOT_FUNCTION

#define DUK_STR_NOT_FUNCTION   "unexpected type"

Definition at line 3211 of file duktape.c.

◆ DUK_STR_NOT_NATFUNC

#define DUK_STR_NOT_NATFUNC   "unexpected type"

Definition at line 3209 of file duktape.c.

◆ DUK_STR_NOT_NULL

#define DUK_STR_NOT_NULL   "unexpected type"

Definition at line 3199 of file duktape.c.

◆ DUK_STR_NOT_NUMBER

#define DUK_STR_NOT_NUMBER   "unexpected type"

Definition at line 3201 of file duktape.c.

◆ DUK_STR_NOT_OBJECT

#define DUK_STR_NOT_OBJECT   "unexpected type"

Definition at line 3203 of file duktape.c.

◆ DUK_STR_NOT_OBJECT_COERCIBLE

#define DUK_STR_NOT_OBJECT_COERCIBLE   "not object coercible"

Definition at line 3215 of file duktape.c.

◆ DUK_STR_NOT_POINTER

#define DUK_STR_NOT_POINTER   "unexpected type"

Definition at line 3204 of file duktape.c.

◆ DUK_STR_NOT_REGEXP

#define DUK_STR_NOT_REGEXP   "unexpected type"

Definition at line 3212 of file duktape.c.

◆ DUK_STR_NOT_STRING

#define DUK_STR_NOT_STRING   "unexpected type"

Definition at line 3202 of file duktape.c.

◆ DUK_STR_NOT_THREAD

#define DUK_STR_NOT_THREAD   "unexpected type"

Definition at line 3207 of file duktape.c.

◆ DUK_STR_NOT_UNDEFINED

#define DUK_STR_NOT_UNDEFINED   "unexpected type"

Definition at line 3198 of file duktape.c.

◆ DUK_STR_NOT_WRITABLE

#define DUK_STR_NOT_WRITABLE   "not writable"

Definition at line 3193 of file duktape.c.

◆ DUK_STR_NUMBER_OUTSIDE_RANGE

#define DUK_STR_NUMBER_OUTSIDE_RANGE   "number outside range"

Definition at line 3214 of file duktape.c.

◆ DUK_STR_PARSE_ERROR

#define DUK_STR_PARSE_ERROR   "parse error"

Definition at line 3268 of file duktape.c.

◆ DUK_STR_PROTOTYPE_CHAIN_LIMIT

#define DUK_STR_PROTOTYPE_CHAIN_LIMIT   "prototype chain limit"

Definition at line 3313 of file duktape.c.

◆ DUK_STR_PROXY_REJECTED

#define DUK_STR_PROXY_REJECTED   "proxy rejected"

Definition at line 3246 of file duktape.c.

◆ DUK_STR_PROXY_REVOKED

#define DUK_STR_PROXY_REVOKED   "proxy revoked"

Definition at line 3252 of file duktape.c.

◆ DUK_STR_PUSH_BEYOND_ALLOC_STACK

#define DUK_STR_PUSH_BEYOND_ALLOC_STACK   "cannot push beyond allocated stack"

Definition at line 3197 of file duktape.c.

◆ DUK_STR_QUANTIFIER_TOO_MANY_COPIES

#define DUK_STR_QUANTIFIER_TOO_MANY_COPIES   "quantifier requires too many atom copies"

Definition at line 3298 of file duktape.c.

◆ DUK_STR_REG_LIMIT

#define DUK_STR_REG_LIMIT   "register limit"

Definition at line 3318 of file duktape.c.

◆ DUK_STR_REGEXP_COMPILER_RECURSION_LIMIT

#define DUK_STR_REGEXP_COMPILER_RECURSION_LIMIT   "regexp compiler recursion limit"

Definition at line 3322 of file duktape.c.

◆ DUK_STR_REGEXP_EXECUTOR_RECURSION_LIMIT

#define DUK_STR_REGEXP_EXECUTOR_RECURSION_LIMIT   "regexp executor recursion limit"

Definition at line 3323 of file duktape.c.

◆ DUK_STR_REGEXP_EXECUTOR_STEP_LIMIT

#define DUK_STR_REGEXP_EXECUTOR_STEP_LIMIT   "regexp step limit"

Definition at line 3324 of file duktape.c.

◆ DUK_STR_REGEXP_SUPPORT_DISABLED

#define DUK_STR_REGEXP_SUPPORT_DISABLED   "regexp support disabled"

Definition at line 3263 of file duktape.c.

◆ DUK_STR_RESULT_TOO_LONG

#define DUK_STR_RESULT_TOO_LONG   "result too long"

Definition at line 3229 of file duktape.c.

◆ DUK_STR_SETTER_UNDEFINED

#define DUK_STR_SETTER_UNDEFINED   "setter undefined"

Definition at line 3248 of file duktape.c.

◆ DUK_STR_SOURCE_DECODE_FAILED

#define DUK_STR_SOURCE_DECODE_FAILED   "source decode failed"

Definition at line 3223 of file duktape.c.

◆ DUK_STR_STRICT_CALLER_READ

#define DUK_STR_STRICT_CALLER_READ   "cannot read strict 'caller'"

Definition at line 3245 of file duktape.c.

◆ DUK_STR_STRING_TOO_LONG

#define DUK_STR_STRING_TOO_LONG   "string too long"

Definition at line 3218 of file duktape.c.

◆ DUK_STR_TEMP_LIMIT

#define DUK_STR_TEMP_LIMIT   "temp limit"

Definition at line 3319 of file duktape.c.

◆ DUK_STR_TOKEN_LIMIT

#define DUK_STR_TOKEN_LIMIT   "token limit"

Definition at line 3262 of file duktape.c.

◆ DUK_STR_TOPRIMITIVE_FAILED

#define DUK_STR_TOPRIMITIVE_FAILED   "coercion to primitive failed"

Definition at line 3213 of file duktape.c.

◆ DUK_STR_UNEXPECTED_CLOSING_PAREN

#define DUK_STR_UNEXPECTED_CLOSING_PAREN   "unexpected closing parenthesis"

Definition at line 3299 of file duktape.c.

◆ DUK_STR_UNEXPECTED_END_OF_PATTERN

#define DUK_STR_UNEXPECTED_END_OF_PATTERN   "unexpected end of pattern"

Definition at line 3300 of file duktape.c.

◆ DUK_STR_UNEXPECTED_REGEXP_TOKEN

#define DUK_STR_UNEXPECTED_REGEXP_TOKEN   "unexpected token in regexp"

Definition at line 3301 of file duktape.c.

◆ DUK_STR_UNEXPECTED_TYPE

#define DUK_STR_UNEXPECTED_TYPE   "unexpected type"

Definition at line 3206 of file duktape.c.

◆ DUK_STR_UNSUPPORTED

#define DUK_STR_UNSUPPORTED   "unsupported"

Definition at line 3183 of file duktape.c.

◆ DUK_STR_UNTERMINATED_CHARCLASS

#define DUK_STR_UNTERMINATED_CHARCLASS   "unterminated character class"

Definition at line 3307 of file duktape.c.

◆ DUK_STR_UNTERMINATED_COMMENT

#define DUK_STR_UNTERMINATED_COMMENT   "unterminated comment"

Definition at line 3260 of file duktape.c.

◆ DUK_STR_UNTERMINATED_REGEXP

#define DUK_STR_UNTERMINATED_REGEXP   "unterminated regexp"

Definition at line 3261 of file duktape.c.

◆ DUK_STR_UNTERMINATED_STMT

#define DUK_STR_UNTERMINATED_STMT   "unterminated statement"

Definition at line 3288 of file duktape.c.

◆ DUK_STR_UNTERMINATED_STRING

#define DUK_STR_UNTERMINATED_STRING   "unterminated string"

Definition at line 3259 of file duktape.c.

◆ DUK_STR_UTF8_DECODE_FAILED

#define DUK_STR_UTF8_DECODE_FAILED   "utf-8 decode failed"

Definition at line 3224 of file duktape.c.

◆ DUK_STR_VALSTACK_LIMIT

#define DUK_STR_VALSTACK_LIMIT   "valstack limit"

Definition at line 3311 of file duktape.c.

◆ DUK_STR_WITH_IN_STRICT_MODE

#define DUK_STR_WITH_IN_STRICT_MODE   "with in strict mode"

Definition at line 3286 of file duktape.c.

◆ DUK_STR_WRONG_BUFFER_TYPE

#define DUK_STR_WRONG_BUFFER_TYPE   "wrong buffer type"

Definition at line 3221 of file duktape.c.

◆ DUK_STRDATA_DATA_LENGTH

#define DUK_STRDATA_DATA_LENGTH   972

Definition at line 2093 of file duktape.c.

◆ DUK_STRDATA_MAX_STRLEN

#define DUK_STRDATA_MAX_STRLEN   27

Definition at line 2092 of file duktape.c.

◆ DUK_STRIDX___PROTO__

#define DUK_STRIDX___PROTO__   81 /* '__proto__' */

Definition at line 1822 of file duktape.c.

◆ DUK_STRIDX_APPLY

#define DUK_STRIDX_APPLY   70 /* 'apply' */

Definition at line 1789 of file duktape.c.

◆ DUK_STRIDX_ARRAY_BUFFER

#define DUK_STRIDX_ARRAY_BUFFER   16 /* 'ArrayBuffer' */

Definition at line 1627 of file duktape.c.

◆ DUK_STRIDX_BASE64

#define DUK_STRIDX_BASE64   113 /* 'base64' */

Definition at line 1918 of file duktape.c.

◆ DUK_STRIDX_BRACKETED_ELLIPSIS

#define DUK_STRIDX_BRACKETED_ELLIPSIS   65 /* '[...]' */

Definition at line 1774 of file duktape.c.

◆ DUK_STRIDX_BREAK

#define DUK_STRIDX_BREAK   122 /* 'break' */

Definition at line 1945 of file duktape.c.

◆ DUK_STRIDX_CALLEE

#define DUK_STRIDX_CALLEE   68 /* 'callee' */

Definition at line 1783 of file duktape.c.

◆ DUK_STRIDX_CALLER

#define DUK_STRIDX_CALLER   69 /* 'caller' */

Definition at line 1786 of file duktape.c.

◆ DUK_STRIDX_CASE

#define DUK_STRIDX_CASE   123 /* 'case' */

Definition at line 1948 of file duktape.c.

◆ DUK_STRIDX_CATCH

#define DUK_STRIDX_CATCH   124 /* 'catch' */

Definition at line 1951 of file duktape.c.

◆ DUK_STRIDX_CLASS

#define DUK_STRIDX_CLASS   149 /* 'class' */

Definition at line 2026 of file duktape.c.

◆ DUK_STRIDX_COMMA

#define DUK_STRIDX_COMMA   63 /* ',' */

Definition at line 1768 of file duktape.c.

◆ DUK_STRIDX_COMPILE

#define DUK_STRIDX_COMPILE   107 /* 'compile' */

Definition at line 1900 of file duktape.c.

◆ DUK_STRIDX_CONFIGURABLE

#define DUK_STRIDX_CONFIGURABLE   36 /* 'configurable' */

Definition at line 1687 of file duktape.c.

◆ DUK_STRIDX_CONST

#define DUK_STRIDX_CONST   145 /* 'const' */

Definition at line 2014 of file duktape.c.

◆ DUK_STRIDX_CONSTRUCT

#define DUK_STRIDX_CONSTRUCT   71 /* 'construct' */

Definition at line 1792 of file duktape.c.

◆ DUK_STRIDX_CONSTRUCTOR

#define DUK_STRIDX_CONSTRUCTOR   51 /* 'constructor' */

Definition at line 1732 of file duktape.c.

◆ DUK_STRIDX_CONTINUE

#define DUK_STRIDX_CONTINUE   125 /* 'continue' */

Definition at line 1954 of file duktape.c.

◆ DUK_STRIDX_DATA

#define DUK_STRIDX_DATA   85 /* 'data' */

Definition at line 1834 of file duktape.c.

◆ DUK_STRIDX_DATA_VIEW

#define DUK_STRIDX_DATA_VIEW   17 /* 'DataView' */

Definition at line 1630 of file duktape.c.

◆ DUK_STRIDX_DEBUGGER

#define DUK_STRIDX_DEBUGGER   126 /* 'debugger' */

Definition at line 1957 of file duktape.c.

◆ DUK_STRIDX_DEC_ENV

#define DUK_STRIDX_DEC_ENV   29 /* 'DecEnv' */

Definition at line 1666 of file duktape.c.

◆ DUK_STRIDX_DEFAULT

#define DUK_STRIDX_DEFAULT   127 /* 'default' */

Definition at line 1960 of file duktape.c.

◆ DUK_STRIDX_DELETE

#define DUK_STRIDX_DELETE   128 /* 'delete' */

Definition at line 1963 of file duktape.c.

◆ DUK_STRIDX_DELETE_PROPERTY

#define DUK_STRIDX_DELETE_PROPERTY   72 /* 'deleteProperty' */

Definition at line 1795 of file duktape.c.

◆ DUK_STRIDX_DO

#define DUK_STRIDX_DO   129 /* 'do' */

Definition at line 1966 of file duktape.c.

◆ DUK_STRIDX_ELSE

#define DUK_STRIDX_ELSE   130 /* 'else' */

Definition at line 1969 of file duktape.c.

◆ DUK_STRIDX_EMPTY_STRING

#define DUK_STRIDX_EMPTY_STRING   15 /* '' */

Definition at line 1624 of file duktape.c.

◆ DUK_STRIDX_END_RESERVED

#define DUK_STRIDX_END_RESERVED   167 /* exclusive endpoint */

Definition at line 2084 of file duktape.c.

◆ DUK_STRIDX_ENUM

#define DUK_STRIDX_ENUM   150 /* 'enum' */

Definition at line 2029 of file duktape.c.

◆ DUK_STRIDX_ENUMERABLE

#define DUK_STRIDX_ENUMERABLE   37 /* 'enumerable' */

Definition at line 1690 of file duktape.c.

◆ DUK_STRIDX_ENV

#define DUK_STRIDX_ENV   111 /* 'env' */

Definition at line 1912 of file duktape.c.

◆ DUK_STRIDX_ERR_CREATE

#define DUK_STRIDX_ERR_CREATE   109 /* 'errCreate' */

Definition at line 1906 of file duktape.c.

◆ DUK_STRIDX_ERR_THROW

#define DUK_STRIDX_ERR_THROW   110 /* 'errThrow' */

Definition at line 1909 of file duktape.c.

◆ DUK_STRIDX_EVAL

#define DUK_STRIDX_EVAL   33 /* 'eval' */

Definition at line 1678 of file duktape.c.

◆ DUK_STRIDX_EXPORT

#define DUK_STRIDX_EXPORT   151 /* 'export' */

Definition at line 2032 of file duktape.c.

◆ DUK_STRIDX_EXTENDS

#define DUK_STRIDX_EXTENDS   152 /* 'extends' */

Definition at line 2035 of file duktape.c.

◆ DUK_STRIDX_FALSE

#define DUK_STRIDX_FALSE   157 /* 'false' */

Definition at line 2050 of file duktape.c.

◆ DUK_STRIDX_FILE_NAME

#define DUK_STRIDX_FILE_NAME   94 /* 'fileName' */

Definition at line 1861 of file duktape.c.

◆ DUK_STRIDX_FINALLY

#define DUK_STRIDX_FINALLY   131 /* 'finally' */

Definition at line 1972 of file duktape.c.

◆ DUK_STRIDX_FLAGS

#define DUK_STRIDX_FLAGS   48 /* 'flags' */

Definition at line 1723 of file duktape.c.

◆ DUK_STRIDX_FLOAT32_ARRAY

#define DUK_STRIDX_FLOAT32_ARRAY   25 /* 'Float32Array' */

Definition at line 1654 of file duktape.c.

◆ DUK_STRIDX_FLOAT64_ARRAY

#define DUK_STRIDX_FLOAT64_ARRAY   26 /* 'Float64Array' */

Definition at line 1657 of file duktape.c.

◆ DUK_STRIDX_FOR

#define DUK_STRIDX_FOR   132 /* 'for' */

Definition at line 1975 of file duktape.c.

◆ DUK_STRIDX_GET

#define DUK_STRIDX_GET   73 /* 'get' */

Definition at line 1798 of file duktape.c.

◆ DUK_STRIDX_GLOBAL

#define DUK_STRIDX_GLOBAL   27 /* 'global' */

Definition at line 1660 of file duktape.c.

◆ DUK_STRIDX_HAS

#define DUK_STRIDX_HAS   74 /* 'has' */

Definition at line 1801 of file duktape.c.

◆ DUK_STRIDX_HEX

#define DUK_STRIDX_HEX   112 /* 'hex' */

Definition at line 1915 of file duktape.c.

◆ DUK_STRIDX_IF

#define DUK_STRIDX_IF   134 /* 'if' */

Definition at line 1981 of file duktape.c.

◆ DUK_STRIDX_IGNORE_CASE

#define DUK_STRIDX_IGNORE_CASE   45 /* 'ignoreCase' */

Definition at line 1714 of file duktape.c.

◆ DUK_STRIDX_IMPLEMENTS

#define DUK_STRIDX_IMPLEMENTS   158 /* 'implements' */

Definition at line 2053 of file duktape.c.

◆ DUK_STRIDX_IMPORT

#define DUK_STRIDX_IMPORT   153 /* 'import' */

Definition at line 2038 of file duktape.c.

◆ DUK_STRIDX_IN

#define DUK_STRIDX_IN   135 /* 'in' */

Definition at line 1984 of file duktape.c.

◆ DUK_STRIDX_INDEX

#define DUK_STRIDX_INDEX   49 /* 'index' */

Definition at line 1726 of file duktape.c.

◆ DUK_STRIDX_INFINITY

#define DUK_STRIDX_INFINITY   60 /* 'Infinity' */

Definition at line 1759 of file duktape.c.

◆ DUK_STRIDX_INPUT

#define DUK_STRIDX_INPUT   108 /* 'input' */

Definition at line 1903 of file duktape.c.

◆ DUK_STRIDX_INSTANCEOF

#define DUK_STRIDX_INSTANCEOF   136 /* 'instanceof' */

Definition at line 1987 of file duktape.c.

◆ DUK_STRIDX_INT16_ARRAY

#define DUK_STRIDX_INT16_ARRAY   21 /* 'Int16Array' */

Definition at line 1642 of file duktape.c.

◆ DUK_STRIDX_INT32_ARRAY

#define DUK_STRIDX_INT32_ARRAY   23 /* 'Int32Array' */

Definition at line 1648 of file duktape.c.

◆ DUK_STRIDX_INT8_ARRAY

#define DUK_STRIDX_INT8_ARRAY   18 /* 'Int8Array' */

Definition at line 1633 of file duktape.c.

◆ DUK_STRIDX_INT_BYTECODE

#define DUK_STRIDX_INT_BYTECODE   98 /* '\x82Bytecode' */

Definition at line 1873 of file duktape.c.

◆ DUK_STRIDX_INT_FINALIZER

#define DUK_STRIDX_INT_FINALIZER   105 /* '\x82Finalizer' */

Definition at line 1894 of file duktape.c.

◆ DUK_STRIDX_INT_FORMALS

#define DUK_STRIDX_INT_FORMALS   99 /* '\x82Formals' */

Definition at line 1876 of file duktape.c.

◆ DUK_STRIDX_INT_MAP

#define DUK_STRIDX_INT_MAP   103 /* '\x82Map' */

Definition at line 1888 of file duktape.c.

◆ DUK_STRIDX_INT_NEXT

#define DUK_STRIDX_INT_NEXT   97 /* '\x82Next' */

Definition at line 1870 of file duktape.c.

◆ DUK_STRIDX_INT_PC2LINE

#define DUK_STRIDX_INT_PC2LINE   102 /* '\x82Pc2line' */

Definition at line 1885 of file duktape.c.

◆ DUK_STRIDX_INT_SOURCE

#define DUK_STRIDX_INT_SOURCE   101 /* '\x82Source' */

Definition at line 1882 of file duktape.c.

◆ DUK_STRIDX_INT_TARGET

#define DUK_STRIDX_INT_TARGET   96 /* '\x82Target' */

Definition at line 1867 of file duktape.c.

◆ DUK_STRIDX_INT_TRACEDATA

#define DUK_STRIDX_INT_TRACEDATA   92 /* '\x82Tracedata' */

Definition at line 1855 of file duktape.c.

◆ DUK_STRIDX_INT_VALUE

#define DUK_STRIDX_INT_VALUE   106 /* '\x82Value' */

Definition at line 1897 of file duktape.c.

◆ DUK_STRIDX_INT_VARENV

#define DUK_STRIDX_INT_VARENV   104 /* '\x82Varenv' */

Definition at line 1891 of file duktape.c.

◆ DUK_STRIDX_INT_VARMAP

#define DUK_STRIDX_INT_VARMAP   100 /* '\x82Varmap' */

Definition at line 1879 of file duktape.c.

◆ DUK_STRIDX_INTERFACE

#define DUK_STRIDX_INTERFACE   159 /* 'interface' */

Definition at line 2056 of file duktape.c.

◆ DUK_STRIDX_INVALID_DATE

#define DUK_STRIDX_INVALID_DATE   66 /* 'Invalid Date' */

Definition at line 1777 of file duktape.c.

◆ DUK_STRIDX_JC

#define DUK_STRIDX_JC   115 /* 'jc' */

Definition at line 1924 of file duktape.c.

◆ DUK_STRIDX_JOIN

#define DUK_STRIDX_JOIN   38 /* 'join' */

Definition at line 1693 of file duktape.c.

◆ DUK_STRIDX_JSON

#define DUK_STRIDX_JSON   14 /* 'JSON' */

Definition at line 1621 of file duktape.c.

◆ DUK_STRIDX_JSON_EXT_FUNCTION1

#define DUK_STRIDX_JSON_EXT_FUNCTION1   120 /* '{"_func":true}' */

Definition at line 1939 of file duktape.c.

◆ DUK_STRIDX_JSON_EXT_FUNCTION2

#define DUK_STRIDX_JSON_EXT_FUNCTION2   121 /* '{_func:true}' */

Definition at line 1942 of file duktape.c.

◆ DUK_STRIDX_JSON_EXT_NAN

#define DUK_STRIDX_JSON_EXT_NAN   117 /* '{"_nan":true}' */

Definition at line 1930 of file duktape.c.

◆ DUK_STRIDX_JSON_EXT_NEGINF

#define DUK_STRIDX_JSON_EXT_NEGINF   119 /* '{"_ninf":true}' */

Definition at line 1936 of file duktape.c.

◆ DUK_STRIDX_JSON_EXT_POSINF

#define DUK_STRIDX_JSON_EXT_POSINF   118 /* '{"_inf":true}' */

Definition at line 1933 of file duktape.c.

◆ DUK_STRIDX_JSON_EXT_UNDEFINED

#define DUK_STRIDX_JSON_EXT_UNDEFINED   116 /* '{"_undef":true}' */

Definition at line 1927 of file duktape.c.

◆ DUK_STRIDX_JX

#define DUK_STRIDX_JX   114 /* 'jx' */

Definition at line 1921 of file duktape.c.

◆ DUK_STRIDX_LAST_INDEX

#define DUK_STRIDX_LAST_INDEX   47 /* 'lastIndex' */

Definition at line 1720 of file duktape.c.

◆ DUK_STRIDX_LC_ARGUMENTS

#define DUK_STRIDX_LC_ARGUMENTS   67 /* 'arguments' */

Definition at line 1780 of file duktape.c.

◆ DUK_STRIDX_LC_BOOLEAN

#define DUK_STRIDX_LC_BOOLEAN   53 /* 'boolean' */

Definition at line 1738 of file duktape.c.

◆ DUK_STRIDX_LC_BUFFER

#define DUK_STRIDX_LC_BUFFER   86 /* 'buffer' */

Definition at line 1837 of file duktape.c.

◆ DUK_STRIDX_LC_FUNCTION

#define DUK_STRIDX_LC_FUNCTION   133 /* 'function' */

Definition at line 1978 of file duktape.c.

◆ DUK_STRIDX_LC_NULL

#define DUK_STRIDX_LC_NULL   155 /* 'null' */

Definition at line 2044 of file duktape.c.

◆ DUK_STRIDX_LC_NUMBER

#define DUK_STRIDX_LC_NUMBER   54 /* 'number' */

Definition at line 1741 of file duktape.c.

◆ DUK_STRIDX_LC_OBJECT

#define DUK_STRIDX_LC_OBJECT   57 /* 'object' */

Definition at line 1750 of file duktape.c.

◆ DUK_STRIDX_LC_POINTER

#define DUK_STRIDX_LC_POINTER   95 /* 'pointer' */

Definition at line 1864 of file duktape.c.

◆ DUK_STRIDX_LC_STRING

#define DUK_STRIDX_LC_STRING   55 /* 'string' */

Definition at line 1744 of file duktape.c.

◆ DUK_STRIDX_LC_SYMBOL

#define DUK_STRIDX_LC_SYMBOL   56 /* 'symbol' */

Definition at line 1747 of file duktape.c.

◆ DUK_STRIDX_LC_UNDEFINED

#define DUK_STRIDX_LC_UNDEFINED   58 /* 'undefined' */

Definition at line 1753 of file duktape.c.

◆ DUK_STRIDX_LENGTH

#define DUK_STRIDX_LENGTH   87 /* 'length' */

Definition at line 1840 of file duktape.c.

◆ DUK_STRIDX_LET

#define DUK_STRIDX_LET   160 /* 'let' */

Definition at line 2059 of file duktape.c.

◆ DUK_STRIDX_LINE_NUMBER

#define DUK_STRIDX_LINE_NUMBER   91 /* 'lineNumber' */

Definition at line 1852 of file duktape.c.

◆ DUK_STRIDX_MATH

#define DUK_STRIDX_MATH   13 /* 'Math' */

Definition at line 1618 of file duktape.c.

◆ DUK_STRIDX_MESSAGE

#define DUK_STRIDX_MESSAGE   52 /* 'message' */

Definition at line 1735 of file duktape.c.

◆ DUK_STRIDX_MINUS_INFINITY

#define DUK_STRIDX_MINUS_INFINITY   61 /* '-Infinity' */

Definition at line 1762 of file duktape.c.

◆ DUK_STRIDX_MINUS_ZERO

#define DUK_STRIDX_MINUS_ZERO   62 /* '-0' */

Definition at line 1765 of file duktape.c.

◆ DUK_STRIDX_MULTILINE

#define DUK_STRIDX_MULTILINE   46 /* 'multiline' */

Definition at line 1717 of file duktape.c.

◆ DUK_STRIDX_NAME

#define DUK_STRIDX_NAME   93 /* 'name' */

Definition at line 1858 of file duktape.c.

◆ DUK_STRIDX_NAN

#define DUK_STRIDX_NAN   59 /* 'NaN' */

Definition at line 1756 of file duktape.c.

◆ DUK_STRIDX_NEW

#define DUK_STRIDX_NEW   137 /* 'new' */

Definition at line 1990 of file duktape.c.

◆ DUK_STRIDX_NEWLINE_4SPACE

#define DUK_STRIDX_NEWLINE_4SPACE   64 /* '\n ' */

Definition at line 1771 of file duktape.c.

◆ DUK_STRIDX_OBJ_ENV

#define DUK_STRIDX_OBJ_ENV   28 /* 'ObjEnv' */

Definition at line 1663 of file duktape.c.

◆ DUK_STRIDX_OWN_KEYS

#define DUK_STRIDX_OWN_KEYS   75 /* 'ownKeys' */

Definition at line 1804 of file duktape.c.

◆ DUK_STRIDX_PACKAGE

#define DUK_STRIDX_PACKAGE   161 /* 'package' */

Definition at line 2062 of file duktape.c.

◆ DUK_STRIDX_PC

#define DUK_STRIDX_PC   90 /* 'pc' */

Definition at line 1849 of file duktape.c.

◆ DUK_STRIDX_PRIVATE

#define DUK_STRIDX_PRIVATE   162 /* 'private' */

Definition at line 2065 of file duktape.c.

◆ DUK_STRIDX_PROTECTED

#define DUK_STRIDX_PROTECTED   163 /* 'protected' */

Definition at line 2068 of file duktape.c.

◆ DUK_STRIDX_PROTOTYPE

#define DUK_STRIDX_PROTOTYPE   50 /* 'prototype' */

Definition at line 1729 of file duktape.c.

◆ DUK_STRIDX_PUBLIC

#define DUK_STRIDX_PUBLIC   164 /* 'public' */

Definition at line 2071 of file duktape.c.

◆ DUK_STRIDX_REG_EXP

#define DUK_STRIDX_REG_EXP   11 /* 'RegExp' */

Definition at line 1612 of file duktape.c.

◆ DUK_STRIDX_RETURN

#define DUK_STRIDX_RETURN   138 /* 'return' */

Definition at line 1993 of file duktape.c.

◆ DUK_STRIDX_SET

#define DUK_STRIDX_SET   88 /* 'set' */

Definition at line 1843 of file duktape.c.

◆ DUK_STRIDX_SET_PROTOTYPE_OF

#define DUK_STRIDX_SET_PROTOTYPE_OF   80 /* 'setPrototypeOf' */

Definition at line 1819 of file duktape.c.

◆ DUK_STRIDX_SOURCE

#define DUK_STRIDX_SOURCE   44 /* 'source' */

Definition at line 1711 of file duktape.c.

◆ DUK_STRIDX_STACK

#define DUK_STRIDX_STACK   89 /* 'stack' */

Definition at line 1846 of file duktape.c.

◆ DUK_STRIDX_START_RESERVED

#define DUK_STRIDX_START_RESERVED   122

Definition at line 2082 of file duktape.c.

◆ DUK_STRIDX_START_STRICT_RESERVED

#define DUK_STRIDX_START_STRICT_RESERVED   158

Definition at line 2083 of file duktape.c.

◆ DUK_STRIDX_STATIC

#define DUK_STRIDX_STATIC   165 /* 'static' */

Definition at line 2074 of file duktape.c.

◆ DUK_STRIDX_SUPER

#define DUK_STRIDX_SUPER   154 /* 'super' */

Definition at line 2041 of file duktape.c.

◆ DUK_STRIDX_SWITCH

#define DUK_STRIDX_SWITCH   139 /* 'switch' */

Definition at line 1996 of file duktape.c.

◆ DUK_STRIDX_THIS

#define DUK_STRIDX_THIS   140 /* 'this' */

Definition at line 1999 of file duktape.c.

◆ DUK_STRIDX_THROW

#define DUK_STRIDX_THROW   141 /* 'throw' */

Definition at line 2002 of file duktape.c.

◆ DUK_STRIDX_TO_GMT_STRING

#define DUK_STRIDX_TO_GMT_STRING   43 /* 'toGMTString' */

Definition at line 1708 of file duktape.c.

◆ DUK_STRIDX_TO_ISO_STRING

#define DUK_STRIDX_TO_ISO_STRING   42 /* 'toISOString' */

Definition at line 1705 of file duktape.c.

◆ DUK_STRIDX_TO_JSON

#define DUK_STRIDX_TO_JSON   83 /* 'toJSON' */

Definition at line 1828 of file duktape.c.

◆ DUK_STRIDX_TO_LOCALE_STRING

#define DUK_STRIDX_TO_LOCALE_STRING   39 /* 'toLocaleString' */

Definition at line 1696 of file duktape.c.

◆ DUK_STRIDX_TO_STRING

#define DUK_STRIDX_TO_STRING   82 /* 'toString' */

Definition at line 1825 of file duktape.c.

◆ DUK_STRIDX_TO_TOK

#define DUK_STRIDX_TO_TOK (   x)    ((x) -DUK_STRIDX_START_RESERVED + DUK_TOK_START_RESERVED)

Definition at line 3979 of file duktape.c.

◆ DUK_STRIDX_TO_UTC_STRING

#define DUK_STRIDX_TO_UTC_STRING   41 /* 'toUTCString' */

Definition at line 1702 of file duktape.c.

◆ DUK_STRIDX_TRUE

#define DUK_STRIDX_TRUE   156 /* 'true' */

Definition at line 2047 of file duktape.c.

◆ DUK_STRIDX_TRY

#define DUK_STRIDX_TRY   142 /* 'try' */

Definition at line 2005 of file duktape.c.

◆ DUK_STRIDX_TYPE

#define DUK_STRIDX_TYPE   84 /* 'type' */

Definition at line 1831 of file duktape.c.

◆ DUK_STRIDX_TYPEOF

#define DUK_STRIDX_TYPEOF   143 /* 'typeof' */

Definition at line 2008 of file duktape.c.

◆ DUK_STRIDX_UC_ARGUMENTS

#define DUK_STRIDX_UC_ARGUMENTS   3 /* 'Arguments' */

Definition at line 1588 of file duktape.c.

◆ DUK_STRIDX_UC_ARRAY

#define DUK_STRIDX_UC_ARRAY   6 /* 'Array' */

Definition at line 1597 of file duktape.c.

◆ DUK_STRIDX_UC_BOOLEAN

#define DUK_STRIDX_UC_BOOLEAN   8 /* 'Boolean' */

Definition at line 1603 of file duktape.c.

◆ DUK_STRIDX_UC_BUFFER

#define DUK_STRIDX_UC_BUFFER   30 /* 'Buffer' */

Definition at line 1669 of file duktape.c.

◆ DUK_STRIDX_UC_DATE

#define DUK_STRIDX_UC_DATE   10 /* 'Date' */

Definition at line 1609 of file duktape.c.

◆ DUK_STRIDX_UC_ERROR

#define DUK_STRIDX_UC_ERROR   12 /* 'Error' */

Definition at line 1615 of file duktape.c.

◆ DUK_STRIDX_UC_FUNCTION

#define DUK_STRIDX_UC_FUNCTION   5 /* 'Function' */

Definition at line 1594 of file duktape.c.

◆ DUK_STRIDX_UC_NULL

#define DUK_STRIDX_UC_NULL   1 /* 'Null' */

Definition at line 1582 of file duktape.c.

◆ DUK_STRIDX_UC_NUMBER

#define DUK_STRIDX_UC_NUMBER   9 /* 'Number' */

Definition at line 1606 of file duktape.c.

◆ DUK_STRIDX_UC_OBJECT

#define DUK_STRIDX_UC_OBJECT   4 /* 'Object' */

Definition at line 1591 of file duktape.c.

◆ DUK_STRIDX_UC_POINTER

#define DUK_STRIDX_UC_POINTER   31 /* 'Pointer' */

Definition at line 1672 of file duktape.c.

◆ DUK_STRIDX_UC_STRING

#define DUK_STRIDX_UC_STRING   7 /* 'String' */

Definition at line 1600 of file duktape.c.

◆ DUK_STRIDX_UC_SYMBOL

#define DUK_STRIDX_UC_SYMBOL   2 /* 'Symbol' */

Definition at line 1585 of file duktape.c.

◆ DUK_STRIDX_UC_THREAD

#define DUK_STRIDX_UC_THREAD   32 /* 'Thread' */

Definition at line 1675 of file duktape.c.

◆ DUK_STRIDX_UC_UNDEFINED

#define DUK_STRIDX_UC_UNDEFINED   0 /* 'Undefined' */

Definition at line 1579 of file duktape.c.

◆ DUK_STRIDX_UINT16_ARRAY

#define DUK_STRIDX_UINT16_ARRAY   22 /* 'Uint16Array' */

Definition at line 1645 of file duktape.c.

◆ DUK_STRIDX_UINT32_ARRAY

#define DUK_STRIDX_UINT32_ARRAY   24 /* 'Uint32Array' */

Definition at line 1651 of file duktape.c.

◆ DUK_STRIDX_UINT8_ARRAY

#define DUK_STRIDX_UINT8_ARRAY   19 /* 'Uint8Array' */

Definition at line 1636 of file duktape.c.

◆ DUK_STRIDX_UINT8_CLAMPED_ARRAY

#define DUK_STRIDX_UINT8_CLAMPED_ARRAY   20 /* 'Uint8ClampedArray' */

Definition at line 1639 of file duktape.c.

◆ DUK_STRIDX_VALUE

#define DUK_STRIDX_VALUE   34 /* 'value' */

Definition at line 1681 of file duktape.c.

◆ DUK_STRIDX_VALUE_OF

#define DUK_STRIDX_VALUE_OF   40 /* 'valueOf' */

Definition at line 1699 of file duktape.c.

◆ DUK_STRIDX_VAR

#define DUK_STRIDX_VAR   144 /* 'var' */

Definition at line 2011 of file duktape.c.

◆ DUK_STRIDX_VOID

#define DUK_STRIDX_VOID   146 /* 'void' */

Definition at line 2017 of file duktape.c.

◆ DUK_STRIDX_WELLKNOWN_SYMBOL_HAS_INSTANCE

#define DUK_STRIDX_WELLKNOWN_SYMBOL_HAS_INSTANCE   77 /* '\x81Symbol.hasInstance\xff' */

Definition at line 1810 of file duktape.c.

◆ DUK_STRIDX_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE

#define DUK_STRIDX_WELLKNOWN_SYMBOL_IS_CONCAT_SPREADABLE   79 /* '\x81Symbol.isConcatSpreadable\xff' */

Definition at line 1816 of file duktape.c.

◆ DUK_STRIDX_WELLKNOWN_SYMBOL_TO_PRIMITIVE

#define DUK_STRIDX_WELLKNOWN_SYMBOL_TO_PRIMITIVE   76 /* '\x81Symbol.toPrimitive\xff' */

Definition at line 1807 of file duktape.c.

◆ DUK_STRIDX_WELLKNOWN_SYMBOL_TO_STRING_TAG

#define DUK_STRIDX_WELLKNOWN_SYMBOL_TO_STRING_TAG   78 /* '\x81Symbol.toStringTag\xff' */

Definition at line 1813 of file duktape.c.

◆ DUK_STRIDX_WHILE

#define DUK_STRIDX_WHILE   147 /* 'while' */

Definition at line 2020 of file duktape.c.

◆ DUK_STRIDX_WITH

#define DUK_STRIDX_WITH   148 /* 'with' */

Definition at line 2023 of file duktape.c.

◆ DUK_STRIDX_WRITABLE

#define DUK_STRIDX_WRITABLE   35 /* 'writable' */

Definition at line 1684 of file duktape.c.

◆ DUK_STRIDX_YIELD

#define DUK_STRIDX_YIELD   166 /* 'yield' */

Definition at line 2077 of file duktape.c.

◆ DUK_SYMBOL_TYPE_GLOBAL

#define DUK_SYMBOL_TYPE_GLOBAL   1

Definition at line 6454 of file duktape.c.

◆ DUK_SYMBOL_TYPE_HIDDEN

#define DUK_SYMBOL_TYPE_HIDDEN   0

Definition at line 6453 of file duktape.c.

◆ DUK_SYMBOL_TYPE_LOCAL

#define DUK_SYMBOL_TYPE_LOCAL   2

Definition at line 6455 of file duktape.c.

◆ DUK_SYMBOL_TYPE_WELLKNOWN

#define DUK_SYMBOL_TYPE_WELLKNOWN   3

Definition at line 6456 of file duktape.c.

◆ DUK_TAG_BOOLEAN

#define DUK_TAG_BOOLEAN   4

Definition at line 1263 of file duktape.c.

◆ DUK_TAG_BUFFER

#define DUK_TAG_BUFFER   10

Definition at line 1269 of file duktape.c.

◆ DUK_TAG_FASTINT

#define DUK_TAG_FASTINT   1

Definition at line 1259 of file duktape.c.

◆ DUK_TAG_LIGHTFUNC

#define DUK_TAG_LIGHTFUNC   6

Definition at line 1265 of file duktape.c.

◆ DUK_TAG_MAX

#define DUK_TAG_MAX   10

Definition at line 1270 of file duktape.c.

◆ DUK_TAG_MIN

#define DUK_TAG_MIN   0

Definition at line 1256 of file duktape.c.

◆ DUK_TAG_NULL

#define DUK_TAG_NULL   3

Definition at line 1262 of file duktape.c.

◆ DUK_TAG_NUMBER

#define DUK_TAG_NUMBER   0 /* DUK_TAG_NUMBER only defined for non-packed duk_tval */

Definition at line 1257 of file duktape.c.

◆ DUK_TAG_OBJECT

#define DUK_TAG_OBJECT   9

Definition at line 1268 of file duktape.c.

◆ DUK_TAG_POINTER

#define DUK_TAG_POINTER   5

Definition at line 1264 of file duktape.c.

◆ DUK_TAG_STRING

#define DUK_TAG_STRING   8 /* first heap allocated, match bit boundary */

Definition at line 1267 of file duktape.c.

◆ DUK_TAG_UNDEFINED

#define DUK_TAG_UNDEFINED   2

Definition at line 1261 of file duktape.c.

◆ DUK_TAG_UNUSED

#define DUK_TAG_UNUSED   7 /* marker; not actual tagged type */

Definition at line 1266 of file duktape.c.

◆ DUK_TB_FLAG_NOBLAME_FILELINE

#define DUK_TB_FLAG_NOBLAME_FILELINE   (1U << 0) /* don't report __FILE__ / __LINE__ as fileName/lineNumber */

Definition at line 8071 of file duktape.c.

◆ DUK_TOK_ADD

#define DUK_TOK_ADD   66

Definition at line 3933 of file duktape.c.

◆ DUK_TOK_ADD_EQ

#define DUK_TOK_ADD_EQ   87

Definition at line 3954 of file duktape.c.

◆ DUK_TOK_ALSHIFT

#define DUK_TOK_ALSHIFT   74 /* named "arithmetic" because result is signed */

Definition at line 3941 of file duktape.c.

◆ DUK_TOK_ALSHIFT_EQ

#define DUK_TOK_ALSHIFT_EQ   93

Definition at line 3960 of file duktape.c.

◆ DUK_TOK_ARSHIFT

#define DUK_TOK_ARSHIFT   75

Definition at line 3942 of file duktape.c.

◆ DUK_TOK_ARSHIFT_EQ

#define DUK_TOK_ARSHIFT_EQ   94

Definition at line 3961 of file duktape.c.

◆ DUK_TOK_BAND

#define DUK_TOK_BAND   77

Definition at line 3944 of file duktape.c.

◆ DUK_TOK_BAND_EQ

#define DUK_TOK_BAND_EQ   96

Definition at line 3963 of file duktape.c.

◆ DUK_TOK_BNOT

#define DUK_TOK_BNOT   81

Definition at line 3948 of file duktape.c.

◆ DUK_TOK_BOR

#define DUK_TOK_BOR   78

Definition at line 3945 of file duktape.c.

◆ DUK_TOK_BOR_EQ

#define DUK_TOK_BOR_EQ   97

Definition at line 3964 of file duktape.c.

◆ DUK_TOK_BREAK

#define DUK_TOK_BREAK   2

Definition at line 3852 of file duktape.c.

◆ DUK_TOK_BXOR

#define DUK_TOK_BXOR   79

Definition at line 3946 of file duktape.c.

◆ DUK_TOK_BXOR_EQ

#define DUK_TOK_BXOR_EQ   98

Definition at line 3965 of file duktape.c.

◆ DUK_TOK_CASE

#define DUK_TOK_CASE   3

Definition at line 3853 of file duktape.c.

◆ DUK_TOK_CATCH

#define DUK_TOK_CATCH   4

Definition at line 3854 of file duktape.c.

◆ DUK_TOK_CLASS

#define DUK_TOK_CLASS   29

Definition at line 3881 of file duktape.c.

◆ DUK_TOK_COLON

#define DUK_TOK_COLON   85

Definition at line 3952 of file duktape.c.

◆ DUK_TOK_COMMA

#define DUK_TOK_COMMA   57

Definition at line 3924 of file duktape.c.

◆ DUK_TOK_CONST

#define DUK_TOK_CONST   25

Definition at line 3875 of file duktape.c.

◆ DUK_TOK_CONTINUE

#define DUK_TOK_CONTINUE   5

Definition at line 3855 of file duktape.c.

◆ DUK_TOK_DEBUGGER

#define DUK_TOK_DEBUGGER   6

Definition at line 3856 of file duktape.c.

◆ DUK_TOK_DECREMENT

#define DUK_TOK_DECREMENT   73

Definition at line 3940 of file duktape.c.

◆ DUK_TOK_DEFAULT

#define DUK_TOK_DEFAULT   7

Definition at line 3857 of file duktape.c.

◆ DUK_TOK_DELETE

#define DUK_TOK_DELETE   8

Definition at line 3858 of file duktape.c.

◆ DUK_TOK_DIV

#define DUK_TOK_DIV   69

Definition at line 3936 of file duktape.c.

◆ DUK_TOK_DIV_EQ

#define DUK_TOK_DIV_EQ   90

Definition at line 3957 of file duktape.c.

◆ DUK_TOK_DO

#define DUK_TOK_DO   9

Definition at line 3859 of file duktape.c.

◆ DUK_TOK_ELSE

#define DUK_TOK_ELSE   10

Definition at line 3860 of file duktape.c.

◆ DUK_TOK_END_RESERVED

#define DUK_TOK_END_RESERVED   47 /* exclusive */

Definition at line 3907 of file duktape.c.

◆ DUK_TOK_ENUM

#define DUK_TOK_ENUM   30

Definition at line 3882 of file duktape.c.

◆ DUK_TOK_EOF

#define DUK_TOK_EOF   0

Definition at line 3845 of file duktape.c.

◆ DUK_TOK_EQ

#define DUK_TOK_EQ   62

Definition at line 3929 of file duktape.c.

◆ DUK_TOK_EQUALSIGN

#define DUK_TOK_EQUALSIGN   86

Definition at line 3953 of file duktape.c.

◆ DUK_TOK_EXP

#define DUK_TOK_EXP   71

Definition at line 3938 of file duktape.c.

◆ DUK_TOK_EXP_EQ

#define DUK_TOK_EXP_EQ   92

Definition at line 3959 of file duktape.c.

◆ DUK_TOK_EXPORT

#define DUK_TOK_EXPORT   31

Definition at line 3883 of file duktape.c.

◆ DUK_TOK_EXTENDS

#define DUK_TOK_EXTENDS   32

Definition at line 3884 of file duktape.c.

◆ DUK_TOK_FALSE

#define DUK_TOK_FALSE   37

Definition at line 3893 of file duktape.c.

◆ DUK_TOK_FINALLY

#define DUK_TOK_FINALLY   11

Definition at line 3861 of file duktape.c.

◆ DUK_TOK_FOR

#define DUK_TOK_FOR   12

Definition at line 3862 of file duktape.c.

◆ DUK_TOK_FUNCTION

#define DUK_TOK_FUNCTION   13

Definition at line 3863 of file duktape.c.

◆ DUK_TOK_GE

#define DUK_TOK_GE   61

Definition at line 3928 of file duktape.c.

◆ DUK_TOK_GET

#define DUK_TOK_GET   47

Definition at line 3912 of file duktape.c.

◆ DUK_TOK_GT

#define DUK_TOK_GT   59

Definition at line 3926 of file duktape.c.

◆ DUK_TOK_IDENTIFIER

#define DUK_TOK_IDENTIFIER   1

Definition at line 3848 of file duktape.c.

◆ DUK_TOK_IF

#define DUK_TOK_IF   14

Definition at line 3864 of file duktape.c.

◆ DUK_TOK_IMPLEMENTS

#define DUK_TOK_IMPLEMENTS   38

Definition at line 3897 of file duktape.c.

◆ DUK_TOK_IMPORT

#define DUK_TOK_IMPORT   33

Definition at line 3885 of file duktape.c.

◆ DUK_TOK_IN

#define DUK_TOK_IN   15

Definition at line 3865 of file duktape.c.

◆ DUK_TOK_INCREMENT

#define DUK_TOK_INCREMENT   72

Definition at line 3939 of file duktape.c.

◆ DUK_TOK_INSTANCEOF

#define DUK_TOK_INSTANCEOF   16

Definition at line 3866 of file duktape.c.

◆ DUK_TOK_INTERFACE

#define DUK_TOK_INTERFACE   39

Definition at line 3898 of file duktape.c.

◆ DUK_TOK_INVALID

#define DUK_TOK_INVALID   DUK_SMALL_UINT_MAX

Definition at line 3976 of file duktape.c.

◆ DUK_TOK_LAND

#define DUK_TOK_LAND   82

Definition at line 3949 of file duktape.c.

◆ DUK_TOK_LBRACKET

#define DUK_TOK_LBRACKET   51

Definition at line 3918 of file duktape.c.

◆ DUK_TOK_LCURLY

#define DUK_TOK_LCURLY   49

Definition at line 3916 of file duktape.c.

◆ DUK_TOK_LE

#define DUK_TOK_LE   60

Definition at line 3927 of file duktape.c.

◆ DUK_TOK_LET

#define DUK_TOK_LET   40

Definition at line 3899 of file duktape.c.

◆ DUK_TOK_LNOT

#define DUK_TOK_LNOT   80

Definition at line 3947 of file duktape.c.

◆ DUK_TOK_LOR

#define DUK_TOK_LOR   83

Definition at line 3950 of file duktape.c.

◆ DUK_TOK_LPAREN

#define DUK_TOK_LPAREN   53

Definition at line 3920 of file duktape.c.

◆ DUK_TOK_LT

#define DUK_TOK_LT   58

Definition at line 3925 of file duktape.c.

◆ DUK_TOK_MAXVAL

#define DUK_TOK_MAXVAL   101 /* inclusive */

Definition at line 3974 of file duktape.c.

◆ DUK_TOK_MINVAL

#define DUK_TOK_MINVAL   0

Definition at line 3842 of file duktape.c.

◆ DUK_TOK_MOD

#define DUK_TOK_MOD   70

Definition at line 3937 of file duktape.c.

◆ DUK_TOK_MOD_EQ

#define DUK_TOK_MOD_EQ   91

Definition at line 3958 of file duktape.c.

◆ DUK_TOK_MUL

#define DUK_TOK_MUL   68

Definition at line 3935 of file duktape.c.

◆ DUK_TOK_MUL_EQ

#define DUK_TOK_MUL_EQ   89

Definition at line 3956 of file duktape.c.

◆ DUK_TOK_NEQ

#define DUK_TOK_NEQ   63

Definition at line 3930 of file duktape.c.

◆ DUK_TOK_NEW

#define DUK_TOK_NEW   17

Definition at line 3867 of file duktape.c.

◆ DUK_TOK_NULL

#define DUK_TOK_NULL   35

Definition at line 3891 of file duktape.c.

◆ DUK_TOK_NUMBER

#define DUK_TOK_NUMBER   99

Definition at line 3970 of file duktape.c.

◆ DUK_TOK_PACKAGE

#define DUK_TOK_PACKAGE   41

Definition at line 3900 of file duktape.c.

◆ DUK_TOK_PERIOD

#define DUK_TOK_PERIOD   55

Definition at line 3922 of file duktape.c.

◆ DUK_TOK_PRIVATE

#define DUK_TOK_PRIVATE   42

Definition at line 3901 of file duktape.c.

◆ DUK_TOK_PROTECTED

#define DUK_TOK_PROTECTED   43

Definition at line 3902 of file duktape.c.

◆ DUK_TOK_PUBLIC

#define DUK_TOK_PUBLIC   44

Definition at line 3903 of file duktape.c.

◆ DUK_TOK_QUESTION

#define DUK_TOK_QUESTION   84

Definition at line 3951 of file duktape.c.

◆ DUK_TOK_RBRACKET

#define DUK_TOK_RBRACKET   52

Definition at line 3919 of file duktape.c.

◆ DUK_TOK_RCURLY

#define DUK_TOK_RCURLY   50

Definition at line 3917 of file duktape.c.

◆ DUK_TOK_REGEXP

#define DUK_TOK_REGEXP   101

Definition at line 3972 of file duktape.c.

◆ DUK_TOK_RETURN

#define DUK_TOK_RETURN   18

Definition at line 3868 of file duktape.c.

◆ DUK_TOK_RPAREN

#define DUK_TOK_RPAREN   54

Definition at line 3921 of file duktape.c.

◆ DUK_TOK_RSHIFT

#define DUK_TOK_RSHIFT   76

Definition at line 3943 of file duktape.c.

◆ DUK_TOK_RSHIFT_EQ

#define DUK_TOK_RSHIFT_EQ   95

Definition at line 3962 of file duktape.c.

◆ DUK_TOK_SEMICOLON

#define DUK_TOK_SEMICOLON   56

Definition at line 3923 of file duktape.c.

◆ DUK_TOK_SEQ

#define DUK_TOK_SEQ   64

Definition at line 3931 of file duktape.c.

◆ DUK_TOK_SET

#define DUK_TOK_SET   48

Definition at line 3913 of file duktape.c.

◆ DUK_TOK_SNEQ

#define DUK_TOK_SNEQ   65

Definition at line 3932 of file duktape.c.

◆ DUK_TOK_START_RESERVED

#define DUK_TOK_START_RESERVED   2

Definition at line 3851 of file duktape.c.

◆ DUK_TOK_START_STRICT_RESERVED

#define DUK_TOK_START_STRICT_RESERVED   38 /* inclusive */

Definition at line 3896 of file duktape.c.

◆ DUK_TOK_STATIC

#define DUK_TOK_STATIC   45

Definition at line 3904 of file duktape.c.

◆ DUK_TOK_STRING

#define DUK_TOK_STRING   100

Definition at line 3971 of file duktape.c.

◆ DUK_TOK_SUB

#define DUK_TOK_SUB   67

Definition at line 3934 of file duktape.c.

◆ DUK_TOK_SUB_EQ

#define DUK_TOK_SUB_EQ   88

Definition at line 3955 of file duktape.c.

◆ DUK_TOK_SUPER

#define DUK_TOK_SUPER   34

Definition at line 3886 of file duktape.c.

◆ DUK_TOK_SWITCH

#define DUK_TOK_SWITCH   19

Definition at line 3869 of file duktape.c.

◆ DUK_TOK_THIS

#define DUK_TOK_THIS   20

Definition at line 3870 of file duktape.c.

◆ DUK_TOK_THROW

#define DUK_TOK_THROW   21

Definition at line 3871 of file duktape.c.

◆ DUK_TOK_TRUE

#define DUK_TOK_TRUE   36

Definition at line 3892 of file duktape.c.

◆ DUK_TOK_TRY

#define DUK_TOK_TRY   22

Definition at line 3872 of file duktape.c.

◆ DUK_TOK_TYPEOF

#define DUK_TOK_TYPEOF   23

Definition at line 3873 of file duktape.c.

◆ DUK_TOK_VAR

#define DUK_TOK_VAR   24

Definition at line 3874 of file duktape.c.

◆ DUK_TOK_VOID

#define DUK_TOK_VOID   26

Definition at line 3876 of file duktape.c.

◆ DUK_TOK_WHILE

#define DUK_TOK_WHILE   27

Definition at line 3877 of file duktape.c.

◆ DUK_TOK_WITH

#define DUK_TOK_WITH   28

Definition at line 3878 of file duktape.c.

◆ DUK_TOK_YIELD

#define DUK_TOK_YIELD   46

Definition at line 3905 of file duktape.c.

◆ DUK_TVAL_ASSERT_VALID

#define DUK_TVAL_ASSERT_VALID (   tv)
Value:
do { \
} while (0)

Definition at line 1562 of file duktape.c.

◆ DUK_TVAL_CHKFAST_INPLACE_FAST

#define DUK_TVAL_CHKFAST_INPLACE_FAST (   tv)
Value:
do { \
duk_tval *duk__tv; \
duk_double_t duk__d; \
duk__tv = (tv); \
if (DUK_TVAL_IS_DOUBLE(duk__tv)) { \
duk__d = DUK_TVAL_GET_DOUBLE(duk__tv); \
DUK_TVAL_SET_NUMBER_CHKFAST_FAST(duk__tv, duk__d); \
} \
} while (0)
#define DUK_TVAL_IS_DOUBLE(tv)
Definition: duktape.c:1487
#define DUK_TVAL_GET_DOUBLE(tv)
Definition: duktape.c:1450

Definition at line 1345 of file duktape.c.

◆ DUK_TVAL_CHKFAST_INPLACE_SLOW

#define DUK_TVAL_CHKFAST_INPLACE_SLOW (   tv)
Value:
do { \
duk_tval *duk__tv; \
duk_double_t duk__d; \
duk__tv = (tv); \
if (DUK_TVAL_IS_DOUBLE(duk__tv)) { \
duk__d = DUK_TVAL_GET_DOUBLE(duk__tv); \
DUK_TVAL_SET_NUMBER_CHKFAST_SLOW(duk__tv, duk__d); \
} \
} while (0)

Definition at line 1355 of file duktape.c.

◆ DUK_TVAL_DECREF

#define DUK_TVAL_DECREF (   thr,
  tv 
)    DUK_TVAL_DECREF_FAST((thr), (tv))

Definition at line 5042 of file duktape.c.

◆ DUK_TVAL_DECREF_FAST

#define DUK_TVAL_DECREF_FAST (   thr,
  tv 
)
Value:
do { \
duk_tval *duk__tv = (tv); \
DUK_ASSERT(duk__tv != NULL); \
duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \
DUK_ASSERT(duk__h != NULL); \
DUK_ASSERT(DUK_HEAPHDR_HTYPE_VALID(duk__h)); \
DUK_ASSERT(DUK_HEAPHDR_GET_REFCOUNT(duk__h) > 0); \
if (DUK_HEAPHDR_PREDEC_REFCOUNT(duk__h) == 0) { \
duk_heaphdr_refzero((thr), duk__h); \
} \
} \
} while (0)
#define DUK_TVAL_NEEDS_REFCOUNT_UPDATE(tv)
Definition: duktape.c:4895
#define DUK_TVAL_GET_HEAPHDR(tv)
Definition: duktape.c:1476

Definition at line 4916 of file duktape.c.

◆ DUK_TVAL_DECREF_NORZ

#define DUK_TVAL_DECREF_NORZ (   thr,
  tv 
)    DUK_TVAL_DECREF_NORZ_FAST((thr), (tv))

Definition at line 5043 of file duktape.c.

◆ DUK_TVAL_DECREF_NORZ_FAST

#define DUK_TVAL_DECREF_NORZ_FAST (   thr,
  tv 
)
Value:
do { \
duk_tval *duk__tv = (tv); \
DUK_ASSERT(duk__tv != NULL); \
duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \
DUK_ASSERT(duk__h != NULL); \
DUK_ASSERT(DUK_HEAPHDR_HTYPE_VALID(duk__h)); \
DUK_ASSERT(DUK_HEAPHDR_GET_REFCOUNT(duk__h) > 0); \
if (DUK_HEAPHDR_PREDEC_REFCOUNT(duk__h) == 0) { \
duk_heaphdr_refzero_norz((thr), duk__h); \
} \
} \
} while (0)

Definition at line 4930 of file duktape.c.

◆ DUK_TVAL_DECREF_NORZ_SLOW

#define DUK_TVAL_DECREF_NORZ_SLOW (   thr,
  tv 
)
Value:
do { \
duk_tval_decref_norz((thr), (tv)); \
} while (0)

Definition at line 4980 of file duktape.c.

◆ DUK_TVAL_DECREF_SLOW

#define DUK_TVAL_DECREF_SLOW (   thr,
  tv 
)
Value:
do { \
duk_tval_decref((thr), (tv)); \
} while (0)

Definition at line 4976 of file duktape.c.

◆ DUK_TVAL_GET_BOOLEAN

#define DUK_TVAL_GET_BOOLEAN (   tv)    ((duk_small_uint_t) (tv)->v.i)

Definition at line 1448 of file duktape.c.

◆ DUK_TVAL_GET_BUFFER

#define DUK_TVAL_GET_BUFFER (   tv)    ((tv)->v.hbuffer)

Definition at line 1475 of file duktape.c.

◆ DUK_TVAL_GET_DOUBLE

#define DUK_TVAL_GET_DOUBLE (   tv)    ((tv)->v.d)

Definition at line 1450 of file duktape.c.

◆ DUK_TVAL_GET_FASTINT

#define DUK_TVAL_GET_FASTINT (   tv)    ((tv)->v.fi)

Definition at line 1451 of file duktape.c.

◆ DUK_TVAL_GET_FASTINT_I32

#define DUK_TVAL_GET_FASTINT_I32 (   tv)    ((duk_int32_t) ((tv)->v.fi))

Definition at line 1453 of file duktape.c.

◆ DUK_TVAL_GET_FASTINT_U32

#define DUK_TVAL_GET_FASTINT_U32 (   tv)    ((duk_uint32_t) ((tv)->v.fi))

Definition at line 1452 of file duktape.c.

◆ DUK_TVAL_GET_HEAPHDR

#define DUK_TVAL_GET_HEAPHDR (   tv)    ((tv)->v.heaphdr)

Definition at line 1476 of file duktape.c.

◆ DUK_TVAL_GET_LIGHTFUNC

#define DUK_TVAL_GET_LIGHTFUNC (   tv,
  out_fp,
  out_flags 
)
Value:
do { \
(out_flags) = (duk_uint32_t) (tv)->v_extra; \
(out_fp) = (tv)->v.lightfunc; \
} while (0)

Definition at line 1466 of file duktape.c.

◆ DUK_TVAL_GET_LIGHTFUNC_FLAGS

#define DUK_TVAL_GET_LIGHTFUNC_FLAGS (   tv)    ((duk_small_uint_t) ((tv)->v_extra))

Definition at line 1472 of file duktape.c.

◆ DUK_TVAL_GET_LIGHTFUNC_FUNCPTR

#define DUK_TVAL_GET_LIGHTFUNC_FUNCPTR (   tv)    ((tv)->v.lightfunc)

Definition at line 1471 of file duktape.c.

◆ DUK_TVAL_GET_NUMBER

#define DUK_TVAL_GET_NUMBER (   tv)    (DUK_TVAL_IS_FASTINT((tv)) ? duk_tval_get_number_unpacked_fastint((tv)) : DUK_TVAL_GET_DOUBLE((tv)))

Definition at line 1459 of file duktape.c.

◆ DUK_TVAL_GET_OBJECT

#define DUK_TVAL_GET_OBJECT (   tv)    ((tv)->v.hobject)

Definition at line 1474 of file duktape.c.

◆ DUK_TVAL_GET_POINTER

#define DUK_TVAL_GET_POINTER (   tv)    ((tv)->v.voidptr)

Definition at line 1465 of file duktape.c.

◆ DUK_TVAL_GET_STRING

#define DUK_TVAL_GET_STRING (   tv)    ((tv)->v.hstring)

Definition at line 1473 of file duktape.c.

◆ DUK_TVAL_GET_TAG

#define DUK_TVAL_GET_TAG (   tv)    ((tv)->t)

Definition at line 1479 of file duktape.c.

◆ DUK_TVAL_H_INCLUDED

#define DUK_TVAL_H_INCLUDED

Definition at line 910 of file duktape.c.

◆ DUK_TVAL_INCREF

#define DUK_TVAL_INCREF (   thr,
  tv 
)    DUK_TVAL_INCREF_FAST((thr), (tv))

Definition at line 5041 of file duktape.c.

◆ DUK_TVAL_INCREF_FAST

#define DUK_TVAL_INCREF_FAST (   thr,
  tv 
)
Value:
do { \
duk_tval *duk__tv = (tv); \
DUK_ASSERT(duk__tv != NULL); \
duk_heaphdr *duk__h = DUK_TVAL_GET_HEAPHDR(duk__tv); \
DUK_ASSERT(duk__h != NULL); \
DUK_ASSERT(DUK_HEAPHDR_HTYPE_VALID(duk__h)); \
DUK_HEAPHDR_PREINC_REFCOUNT(duk__h); \
DUK_ASSERT(DUK_HEAPHDR_GET_REFCOUNT(duk__h) != 0); /* No wrapping. */ \
} \
} while (0)

Definition at line 4904 of file duktape.c.

◆ DUK_TVAL_INCREF_SLOW

#define DUK_TVAL_INCREF_SLOW (   thr,
  tv 
)
Value:
do { \
duk_tval_incref((tv)); \
} while (0)

Definition at line 4972 of file duktape.c.

◆ DUK_TVAL_IS_BOOLEAN

#define DUK_TVAL_IS_BOOLEAN (   tv)    ((tv)->t == DUK_TAG_BOOLEAN)

Definition at line 1483 of file duktape.c.

◆ DUK_TVAL_IS_BOOLEAN_FALSE

#define DUK_TVAL_IS_BOOLEAN_FALSE (   tv)    (((tv)->t == DUK_TAG_BOOLEAN) && ((tv)->v.i == 0))

Definition at line 1485 of file duktape.c.

◆ DUK_TVAL_IS_BOOLEAN_TRUE

#define DUK_TVAL_IS_BOOLEAN_TRUE (   tv)    (((tv)->t == DUK_TAG_BOOLEAN) && ((tv)->v.i != 0))

Definition at line 1484 of file duktape.c.

◆ DUK_TVAL_IS_BUFFER

#define DUK_TVAL_IS_BUFFER (   tv)    ((tv)->t == DUK_TAG_BUFFER)

Definition at line 1498 of file duktape.c.

◆ DUK_TVAL_IS_DOUBLE

#define DUK_TVAL_IS_DOUBLE (   tv)    ((tv)->t == DUK_TAG_NUMBER)

Definition at line 1487 of file duktape.c.

◆ DUK_TVAL_IS_FASTINT

#define DUK_TVAL_IS_FASTINT (   tv)    ((tv)->t == DUK_TAG_FASTINT)

Definition at line 1488 of file duktape.c.

◆ DUK_TVAL_IS_HEAP_ALLOCATED

#define DUK_TVAL_IS_HEAP_ALLOCATED (   tv)    ((tv)->t & 0x08)

Definition at line 1508 of file duktape.c.

◆ DUK_TVAL_IS_LIGHTFUNC

#define DUK_TVAL_IS_LIGHTFUNC (   tv)    ((tv)->t == DUK_TAG_LIGHTFUNC)

Definition at line 1495 of file duktape.c.

◆ DUK_TVAL_IS_NULL

#define DUK_TVAL_IS_NULL (   tv)    ((tv)->t == DUK_TAG_NULL)

Definition at line 1482 of file duktape.c.

◆ DUK_TVAL_IS_NUMBER

#define DUK_TVAL_IS_NUMBER (   tv)    ((tv)->t == DUK_TAG_NUMBER || (tv)->t == DUK_TAG_FASTINT)

Definition at line 1489 of file duktape.c.

◆ DUK_TVAL_IS_OBJECT

#define DUK_TVAL_IS_OBJECT (   tv)    ((tv)->t == DUK_TAG_OBJECT)

Definition at line 1497 of file duktape.c.

◆ DUK_TVAL_IS_POINTER

#define DUK_TVAL_IS_POINTER (   tv)    ((tv)->t == DUK_TAG_POINTER)

Definition at line 1494 of file duktape.c.

◆ DUK_TVAL_IS_STRING

#define DUK_TVAL_IS_STRING (   tv)    ((tv)->t == DUK_TAG_STRING)

Definition at line 1496 of file duktape.c.

◆ DUK_TVAL_IS_UNDEFINED

#define DUK_TVAL_IS_UNDEFINED (   tv)    ((tv)->t == DUK_TAG_UNDEFINED)

Definition at line 1480 of file duktape.c.

◆ DUK_TVAL_IS_UNUSED

#define DUK_TVAL_IS_UNUSED (   tv)    ((tv)->t == DUK_TAG_UNUSED)

Definition at line 1481 of file duktape.c.

◆ DUK_TVAL_IS_VALID_TAG

#define DUK_TVAL_IS_VALID_TAG (   tv)    (DUK_TVAL_GET_TAG((tv)) - DUK_TAG_MIN <= DUK_TAG_MAX - DUK_TAG_MIN)

Definition at line 1272 of file duktape.c.

◆ DUK_TVAL_NEEDS_REFCOUNT_UPDATE

#define DUK_TVAL_NEEDS_REFCOUNT_UPDATE (   tv)    DUK_TVAL_IS_HEAP_ALLOCATED((tv))

Definition at line 4895 of file duktape.c.

◆ DUK_TVAL_SET_BOOLEAN

#define DUK_TVAL_SET_BOOLEAN (   tv,
  val 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_BOOLEAN; \
duk__tv->v.i = (duk_small_int_t) (val); \
} while (0)
int duk_small_int_t
Definition: duk_config.h:2033
#define DUK_TAG_BOOLEAN
Definition: duktape.c:1263

Definition at line 1302 of file duktape.c.

◆ DUK_TVAL_SET_BOOLEAN_FALSE

#define DUK_TVAL_SET_BOOLEAN_FALSE (   tv)    DUK_TVAL_SET_BOOLEAN((tv), 0)

Definition at line 1524 of file duktape.c.

◆ DUK_TVAL_SET_BOOLEAN_TRUE

#define DUK_TVAL_SET_BOOLEAN_TRUE (   tv)    DUK_TVAL_SET_BOOLEAN((tv), 1)

Definition at line 1523 of file duktape.c.

◆ DUK_TVAL_SET_BOOLEAN_UPDREF

#define DUK_TVAL_SET_BOOLEAN_UPDREF   DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0

Definition at line 5422 of file duktape.c.

◆ DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0

#define DUK_TVAL_SET_BOOLEAN_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_BOOLEAN(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5245 of file duktape.c.

◆ DUK_TVAL_SET_BUFFER

#define DUK_TVAL_SET_BUFFER (   tv,
  hptr 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_BUFFER; \
duk__tv->v.hbuffer = (hptr); \
} while (0)
#define DUK_TAG_BUFFER
Definition: duktape.c:1269

Definition at line 1425 of file duktape.c.

◆ DUK_TVAL_SET_BUFFER_UPDREF

#define DUK_TVAL_SET_BUFFER_UPDREF   DUK_TVAL_SET_BUFFER_UPDREF_ALT0

Definition at line 5440 of file duktape.c.

◆ DUK_TVAL_SET_BUFFER_UPDREF_ALT0

#define DUK_TVAL_SET_BUFFER_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_BUFFER(tv__dst, (newval)); \
DUK_HBUFFER_INCREF((thr), (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5356 of file duktape.c.

◆ DUK_TVAL_SET_DOUBLE

#define DUK_TVAL_SET_DOUBLE (   tv,
  val 
)
Value:
do { \
duk_tval *duk__tv; \
duk_double_t duk__dblval; \
duk__dblval = (val); \
DUK_ASSERT_DOUBLE_IS_NORMALIZED(duk__dblval); /* nop for unpacked duk_tval */ \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_NUMBER; \
duk__tv->v.d = duk__dblval; \
} while (0)
#define DUK_TAG_NUMBER
Definition: duktape.c:1257

Definition at line 1311 of file duktape.c.

◆ DUK_TVAL_SET_DOUBLE_UPDREF

#define DUK_TVAL_SET_DOUBLE_UPDREF   DUK_TVAL_SET_DOUBLE_UPDREF_ALT0

Definition at line 5425 of file duktape.c.

◆ DUK_TVAL_SET_DOUBLE_UPDREF_ALT0

#define DUK_TVAL_SET_DOUBLE_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_DOUBLE(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5273 of file duktape.c.

◆ DUK_TVAL_SET_FASTINT

#define DUK_TVAL_SET_FASTINT (   tv,
 
)    DUK_TVAL_SET_I48((tv), (i)) /* alias */

Definition at line 1390 of file duktape.c.

◆ DUK_TVAL_SET_FASTINT_UPDREF

#define DUK_TVAL_SET_FASTINT_UPDREF   DUK_TVAL_SET_I48_UPDREF /* convenience */

Definition at line 5436 of file duktape.c.

◆ DUK_TVAL_SET_I32

#define DUK_TVAL_SET_I32 (   tv,
  val 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_FASTINT; \
duk__tv->v.fi = (duk_int64_t) (val); \
} while (0)
#define DUK_TAG_FASTINT
Definition: duktape.c:1259

Definition at line 1335 of file duktape.c.

◆ DUK_TVAL_SET_I32_UPDREF

#define DUK_TVAL_SET_I32_UPDREF   DUK_TVAL_SET_I32_UPDREF_ALT0

Definition at line 5429 of file duktape.c.

◆ DUK_TVAL_SET_I32_UPDREF_ALT0

#define DUK_TVAL_SET_I32_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_I32(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5301 of file duktape.c.

◆ DUK_TVAL_SET_I48

#define DUK_TVAL_SET_I48 (   tv,
  val 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_FASTINT; \
duk__tv->v.fi = (val); \
} while (0)

Definition at line 1321 of file duktape.c.

◆ DUK_TVAL_SET_I48_UPDREF

#define DUK_TVAL_SET_I48_UPDREF   DUK_TVAL_SET_I48_UPDREF_ALT0

Definition at line 5428 of file duktape.c.

◆ DUK_TVAL_SET_I48_UPDREF_ALT0

#define DUK_TVAL_SET_I48_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_I48(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5292 of file duktape.c.

◆ DUK_TVAL_SET_LIGHTFUNC

#define DUK_TVAL_SET_LIGHTFUNC (   tv,
  fp,
  flags 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_LIGHTFUNC; \
duk__tv->v_extra = (flags); \
duk__tv->v.lightfunc = (duk_c_function) (fp); \
} while (0)
#define DUK_TAG_LIGHTFUNC
Definition: duktape.c:1265
duk_ret_t(* duk_c_function)(duk_context *ctx)
Definition: duktape.h:246

Definition at line 1400 of file duktape.c.

◆ DUK_TVAL_SET_LIGHTFUNC_UPDREF

#define DUK_TVAL_SET_LIGHTFUNC_UPDREF   DUK_TVAL_SET_LIGHTFUNC_UPDREF_ALT0

Definition at line 5437 of file duktape.c.

◆ DUK_TVAL_SET_LIGHTFUNC_UPDREF_ALT0

#define DUK_TVAL_SET_LIGHTFUNC_UPDREF_ALT0 (   thr,
  tvptr_dst,
  lf_v,
  lf_fp,
  lf_flags 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_LIGHTFUNC(tv__dst, (lf_v), (lf_fp), (lf_flags)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5324 of file duktape.c.

◆ DUK_TVAL_SET_NAN

#define DUK_TVAL_SET_NAN (   tv)
Value:
do { \
/* in non-packed representation we don't care about which NaN is used */ \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_NUMBER; \
duk__tv->v.d = DUK_DOUBLE_NAN; \
} while (0)

Definition at line 1433 of file duktape.c.

◆ DUK_TVAL_SET_NAN_UPDREF

#define DUK_TVAL_SET_NAN_UPDREF   DUK_TVAL_SET_NAN_UPDREF_ALT0

Definition at line 5426 of file duktape.c.

◆ DUK_TVAL_SET_NAN_UPDREF_ALT0

#define DUK_TVAL_SET_NAN_UPDREF_ALT0 (   thr,
  tvptr_dst 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_NAN(tv__dst); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5282 of file duktape.c.

◆ DUK_TVAL_SET_NULL

#define DUK_TVAL_SET_NULL (   tv)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_NULL; \
} while (0)
#define DUK_TAG_NULL
Definition: duktape.c:1262

Definition at line 1295 of file duktape.c.

◆ DUK_TVAL_SET_NULL_UPDREF

#define DUK_TVAL_SET_NULL_UPDREF   DUK_TVAL_SET_NULL_UPDREF_ALT0

Definition at line 5421 of file duktape.c.

◆ DUK_TVAL_SET_NULL_UPDREF_ALT0

#define DUK_TVAL_SET_NULL_UPDREF_ALT0 (   thr,
  tvptr_dst 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_NULL(tv__dst); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5235 of file duktape.c.

◆ DUK_TVAL_SET_NUMBER

#define DUK_TVAL_SET_NUMBER (   tv,
  val 
)    DUK_TVAL_SET_DOUBLE((tv), (val))

Definition at line 1344 of file duktape.c.

◆ DUK_TVAL_SET_NUMBER_CHKFAST_FAST

#define DUK_TVAL_SET_NUMBER_CHKFAST_FAST (   tv,
 
)    duk_tval_set_number_chkfast_fast((tv), (d))

Definition at line 1342 of file duktape.c.

◆ DUK_TVAL_SET_NUMBER_CHKFAST_SLOW

#define DUK_TVAL_SET_NUMBER_CHKFAST_SLOW (   tv,
 
)    duk_tval_set_number_chkfast_slow((tv), (d))

Definition at line 1343 of file duktape.c.

◆ DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF

#define DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF   DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF_ALT0

Definition at line 5424 of file duktape.c.

◆ DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF_ALT0

#define DUK_TVAL_SET_NUMBER_CHKFAST_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_NUMBER_CHKFAST_FAST(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5264 of file duktape.c.

◆ DUK_TVAL_SET_NUMBER_UPDREF

#define DUK_TVAL_SET_NUMBER_UPDREF   DUK_TVAL_SET_NUMBER_UPDREF_ALT0

Definition at line 5423 of file duktape.c.

◆ DUK_TVAL_SET_NUMBER_UPDREF_ALT0

#define DUK_TVAL_SET_NUMBER_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_NUMBER(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5255 of file duktape.c.

◆ DUK_TVAL_SET_OBJECT

#define DUK_TVAL_SET_OBJECT (   tv,
  hptr 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_OBJECT; \
duk__tv->v.hobject = (hptr); \
} while (0)
#define DUK_TAG_OBJECT
Definition: duktape.c:1268

Definition at line 1417 of file duktape.c.

◆ DUK_TVAL_SET_OBJECT_UPDREF

#define DUK_TVAL_SET_OBJECT_UPDREF   DUK_TVAL_SET_OBJECT_UPDREF_ALT0

Definition at line 5439 of file duktape.c.

◆ DUK_TVAL_SET_OBJECT_UPDREF_ALT0

#define DUK_TVAL_SET_OBJECT_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_OBJECT(tv__dst, (newval)); \
DUK_HOBJECT_INCREF((thr), (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5345 of file duktape.c.

◆ DUK_TVAL_SET_POINTER

#define DUK_TVAL_SET_POINTER (   tv,
  hptr 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_POINTER; \
duk__tv->v.voidptr = (hptr); \
} while (0)
#define DUK_TAG_POINTER
Definition: duktape.c:1264

Definition at line 1392 of file duktape.c.

◆ DUK_TVAL_SET_POINTER_UPDREF

#define DUK_TVAL_SET_POINTER_UPDREF   DUK_TVAL_SET_POINTER_UPDREF_ALT0

Definition at line 5441 of file duktape.c.

◆ DUK_TVAL_SET_POINTER_UPDREF_ALT0

#define DUK_TVAL_SET_POINTER_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_POINTER(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5367 of file duktape.c.

◆ DUK_TVAL_SET_STRING

#define DUK_TVAL_SET_STRING (   tv,
  hptr 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_STRING; \
duk__tv->v.hstring = (hptr); \
} while (0)
#define DUK_TAG_STRING
Definition: duktape.c:1267

Definition at line 1409 of file duktape.c.

◆ DUK_TVAL_SET_STRING_UPDREF

#define DUK_TVAL_SET_STRING_UPDREF   DUK_TVAL_SET_STRING_UPDREF_ALT0

Definition at line 5438 of file duktape.c.

◆ DUK_TVAL_SET_STRING_UPDREF_ALT0

#define DUK_TVAL_SET_STRING_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_STRING(tv__dst, (newval)); \
DUK_HSTRING_INCREF((thr), (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5334 of file duktape.c.

◆ DUK_TVAL_SET_TVAL

#define DUK_TVAL_SET_TVAL (   tv,
 
)
Value:
do { \
*(tv) = *(x); \
} while (0)

Definition at line 1442 of file duktape.c.

◆ DUK_TVAL_SET_TVAL_UPDREF

#define DUK_TVAL_SET_TVAL_UPDREF   DUK_TVAL_SET_TVAL_UPDREF_ALT1

Definition at line 5445 of file duktape.c.

◆ DUK_TVAL_SET_TVAL_UPDREF_ALT0

#define DUK_TVAL_SET_TVAL_UPDREF_ALT0 (   thr,
  tvptr_dst,
  tvptr_src 
)
Value:
do { \
duk_tval *tv__dst, *tv__src; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
tv__src = (tvptr_src); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_TVAL(tv__dst, tv__src); \
DUK_TVAL_INCREF((thr), tv__src); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5385 of file duktape.c.

◆ DUK_TVAL_SET_TVAL_UPDREF_ALT1

#define DUK_TVAL_SET_TVAL_UPDREF_ALT1 (   thr,
  tvptr_dst,
  tvptr_src 
)
Value:
do { \
duk_tval *tv__dst, *tv__src; \
duk_heaphdr *h__obj; \
tv__dst = (tvptr_dst); \
tv__src = (tvptr_src); \
DUK_TVAL_INCREF_FAST((thr), tv__src); \
h__obj = DUK_TVAL_GET_HEAPHDR(tv__dst); \
DUK_ASSERT(h__obj != NULL); \
DUK_TVAL_SET_TVAL(tv__dst, tv__src); \
DUK_HEAPHDR_DECREF_FAST((thr), h__obj); /* side effects */ \
} else { \
DUK_TVAL_SET_TVAL(tv__dst, tv__src); \
} \
} while (0)

Definition at line 5400 of file duktape.c.

◆ DUK_TVAL_SET_TVAL_UPDREF_FAST

#define DUK_TVAL_SET_TVAL_UPDREF_FAST   DUK_TVAL_SET_TVAL_UPDREF_ALT1

Definition at line 5446 of file duktape.c.

◆ DUK_TVAL_SET_TVAL_UPDREF_NORZ

#define DUK_TVAL_SET_TVAL_UPDREF_NORZ (   thr,
  tv_dst,
  tv_src 
)
Value:
do { \
duk_hthread *duk__thr = (thr); \
duk_tval *duk__dst = (tv_dst); \
duk_tval *duk__src = (tv_src); \
DUK_UNREF(duk__thr); \
DUK_TVAL_DECREF_NORZ(thr, duk__dst); \
DUK_TVAL_SET_TVAL(duk__dst, duk__src); \
DUK_TVAL_INCREF(thr, duk__dst); \
} while (0)

Definition at line 5829 of file duktape.c.

◆ DUK_TVAL_SET_TVAL_UPDREF_SLOW

#define DUK_TVAL_SET_TVAL_UPDREF_SLOW   DUK_TVAL_SET_TVAL_UPDREF_ALT0

Definition at line 5447 of file duktape.c.

◆ DUK_TVAL_SET_U32

#define DUK_TVAL_SET_U32 (   tv,
  val 
)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_FASTINT; \
duk__tv->v.fi = (duk_int64_t) (val); \
} while (0)

Definition at line 1328 of file duktape.c.

◆ DUK_TVAL_SET_U32_UPDREF

#define DUK_TVAL_SET_U32_UPDREF   DUK_TVAL_SET_U32_UPDREF_ALT0

Definition at line 5430 of file duktape.c.

◆ DUK_TVAL_SET_U32_UPDREF_ALT0

#define DUK_TVAL_SET_U32_UPDREF_ALT0 (   thr,
  tvptr_dst,
  newval 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_U32(tv__dst, (newval)); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5310 of file duktape.c.

◆ DUK_TVAL_SET_U32_UPDREF_NORZ

#define DUK_TVAL_SET_U32_UPDREF_NORZ (   thr,
  tv_dst,
  val 
)
Value:
do { \
duk_hthread *duk__thr = (thr); \
duk_tval *duk__dst = (tv_dst); \
duk_uint32_t duk__val = (duk_uint32_t) (val); \
DUK_UNREF(duk__thr); \
DUK_TVAL_DECREF_NORZ(thr, duk__dst); \
DUK_TVAL_SET_U32(duk__dst, duk__val); \
} while (0)

Definition at line 5840 of file duktape.c.

◆ DUK_TVAL_SET_UNDEFINED

#define DUK_TVAL_SET_UNDEFINED (   tv)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_UNDEFINED; \
} while (0)
#define DUK_TAG_UNDEFINED
Definition: duktape.c:1261

Definition at line 1281 of file duktape.c.

◆ DUK_TVAL_SET_UNDEFINED_UPDREF

#define DUK_TVAL_SET_UNDEFINED_UPDREF   DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0

Definition at line 5418 of file duktape.c.

◆ DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0

#define DUK_TVAL_SET_UNDEFINED_UPDREF_ALT0 (   thr,
  tvptr_dst 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_UNDEFINED(tv__dst); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5205 of file duktape.c.

◆ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ

#define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ   DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0

Definition at line 5419 of file duktape.c.

◆ DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0

#define DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ_ALT0 (   thr,
  tvptr_dst 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_UNDEFINED(tv__dst); \
DUK_TVAL_DECREF_NORZ((thr), &tv__tmp); \
} while (0)

Definition at line 5215 of file duktape.c.

◆ DUK_TVAL_SET_UNUSED

#define DUK_TVAL_SET_UNUSED (   tv)
Value:
do { \
duk_tval *duk__tv; \
duk__tv = (tv); \
duk__tv->t = DUK_TAG_UNUSED; \
} while (0)
#define DUK_TAG_UNUSED
Definition: duktape.c:1266

Definition at line 1288 of file duktape.c.

◆ DUK_TVAL_SET_UNUSED_UPDREF

#define DUK_TVAL_SET_UNUSED_UPDREF   DUK_TVAL_SET_UNUSED_UPDREF_ALT0

Definition at line 5420 of file duktape.c.

◆ DUK_TVAL_SET_UNUSED_UPDREF_ALT0

#define DUK_TVAL_SET_UNUSED_UPDREF_ALT0 (   thr,
  tvptr_dst 
)
Value:
do { \
duk_tval *tv__dst; \
duk_tval tv__tmp; \
tv__dst = (tvptr_dst); \
DUK_TVAL_SET_TVAL(&tv__tmp, tv__dst); \
DUK_TVAL_SET_UNUSED(tv__dst); \
DUK_TVAL_DECREF((thr), &tv__tmp); /* side effects */ \
} while (0)

Definition at line 5225 of file duktape.c.

◆ DUK_TVAL_STRING_IS_SYMBOL

#define DUK_TVAL_STRING_IS_SYMBOL (   tv)    DUK_HSTRING_HAS_SYMBOL(DUK_TVAL_GET_STRING((tv)))

Definition at line 1526 of file duktape.c.

◆ DUK_TVAL_UNUSED_INITIALIZER

#define DUK_TVAL_UNUSED_INITIALIZER ( )     { DUK_TAG_UNUSED, 0, 0.0 }

Definition at line 1253 of file duktape.c.

◆ DUK_UNICODE_CP_REPLACEMENT_CHARACTER

#define DUK_UNICODE_CP_REPLACEMENT_CHARACTER
Value:
0xfffdL /* http://en.wikipedia.org/wiki/Replacement_character#Replacement_character \
*/

Definition at line 10744 of file duktape.c.

◆ DUK_UNICODE_CP_ZWJ

#define DUK_UNICODE_CP_ZWJ   0x200dL /* zero-width joiner */

Definition at line 10743 of file duktape.c.

◆ DUK_UNICODE_CP_ZWNJ

#define DUK_UNICODE_CP_ZWNJ   0x200cL /* zero-width non-joiner */

Definition at line 10742 of file duktape.c.

◆ DUK_UNICODE_H_INCLUDED

#define DUK_UNICODE_H_INCLUDED

Definition at line 10724 of file duktape.c.

◆ DUK_UNICODE_MAX_CESU8_BMP_LENGTH

#define DUK_UNICODE_MAX_CESU8_BMP_LENGTH   3 /* all codepoints up to U+FFFF */

Definition at line 10733 of file duktape.c.

◆ DUK_UNICODE_MAX_CESU8_LENGTH

#define DUK_UNICODE_MAX_CESU8_LENGTH   6 /* all codepoints up to U+10FFFF */

Definition at line 10732 of file duktape.c.

◆ DUK_UNICODE_MAX_XUTF8_BMP_LENGTH

#define DUK_UNICODE_MAX_XUTF8_BMP_LENGTH   3 /* all codepoints up to U+FFFF */

Definition at line 10731 of file duktape.c.

◆ DUK_UNICODE_MAX_XUTF8_LENGTH

#define DUK_UNICODE_MAX_XUTF8_LENGTH   7 /* up to 36 bit codepoints */

Definition at line 10730 of file duktape.c.

◆ DUK_UTIL_H_INCLUDED

#define DUK_UTIL_H_INCLUDED

Definition at line 2367 of file duktape.c.

◆ DUK_VALSTACK_API_ENTRY_MINIMUM

#define DUK_VALSTACK_API_ENTRY_MINIMUM   DUK_API_ENTRY_STACK

Definition at line 8051 of file duktape.c.

◆ DUK_VALSTACK_ASSERT_EXTRA

#define DUK_VALSTACK_ASSERT_EXTRA
Value:
5 /* this is added to checks to allow for Duktape \
* API calls in addition to function's own use \
*/

Definition at line 10619 of file duktape.c.

◆ DUK_VALSTACK_INITIAL_SIZE

#define DUK_VALSTACK_INITIAL_SIZE   96U

Definition at line 8040 of file duktape.c.

◆ DUK_VALSTACK_INTERNAL_EXTRA

#define DUK_VALSTACK_INTERNAL_EXTRA   32U

Definition at line 8045 of file duktape.c.

◆ duk_xdef_prop_index_wec

#define duk_xdef_prop_index_wec (   thr,
  obj_idx,
  arr_idx 
)    duk_xdef_prop_index((thr), (obj_idx), (arr_idx), DUK_PROPDESC_FLAGS_WEC)

Definition at line 6207 of file duktape.c.

◆ duk_xdef_prop_stridx_short

#define duk_xdef_prop_stridx_short (   thr,
  obj_idx,
  stridx,
  desc_flags 
)
Value:
(DUK_ASSERT_EXPR((duk_int_t) (obj_idx) >= -0x80L && (duk_int_t) (obj_idx) <= 0x7fL), \
DUK_ASSERT_EXPR((duk_int_t) (stridx) >= 0 && (duk_int_t) (stridx) <= 0xffffL), \
DUK_ASSERT_EXPR((duk_int_t) (desc_flags) >= 0 && (duk_int_t) (desc_flags) <= 0xffL), \
duk_xdef_prop_stridx_short_raw((thr), \
(((duk_uint_t) (obj_idx)) << 24) + (((duk_uint_t) (stridx)) << 8) + \
(duk_uint_t) (desc_flags)))

Definition at line 6198 of file duktape.c.

◆ duk_xdef_prop_stridx_short_wec

#define duk_xdef_prop_stridx_short_wec (   thr,
  obj_idx,
  stridx 
)     duk_xdef_prop_stridx_short((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC)

Definition at line 6209 of file duktape.c.

◆ duk_xdef_prop_stridx_wec

#define duk_xdef_prop_stridx_wec (   thr,
  obj_idx,
  stridx 
)    duk_xdef_prop_stridx((thr), (obj_idx), (stridx), DUK_PROPDESC_FLAGS_WEC)

Definition at line 6208 of file duktape.c.

◆ duk_xdef_prop_wec

#define duk_xdef_prop_wec (   thr,
  obj_idx 
)    duk_xdef_prop((thr), (obj_idx), DUK_PROPDESC_FLAGS_WEC)

Definition at line 6206 of file duktape.c.

◆ duk_xget_owndataprop_stridx_short

#define duk_xget_owndataprop_stridx_short (   thr,
  obj_idx,
  stridx 
)
Value:
(DUK_ASSERT_EXPR((duk_int_t) (obj_idx) >= -0x8000L && (duk_int_t) (obj_idx) <= 0x7fffL), \
DUK_ASSERT_EXPR((duk_int_t) (stridx) >= 0 && (duk_int_t) (stridx) <= 0xffffL), \
duk_xget_owndataprop_stridx_short_raw((thr), (((duk_uint_t) (obj_idx)) << 16) + ((duk_uint_t) (stridx))))

Definition at line 6151 of file duktape.c.

Typedef Documentation

◆ duk__compile_raw_args

Definition at line 16649 of file duktape.c.

◆ duk__one_arg_func

typedef double(* duk__one_arg_func) (double)

Definition at line 40619 of file duktape.c.

◆ duk__pcall_args

Definition at line 15233 of file duktape.c.

◆ duk__pcall_method_args

Definition at line 15227 of file duktape.c.

◆ duk__pcall_prop_args

Definition at line 15221 of file duktape.c.

◆ duk__sort_key_t

Definition at line 56937 of file duktape.c.

◆ duk__toint_coercer

typedef duk_double_t(* duk__toint_coercer) (duk_hthread *thr, duk_tval *tv)

Definition at line 21630 of file duktape.c.

◆ duk__transform_callback

typedef void(* duk__transform_callback) (duk__transform_context *tfm_ctx, const void *udata, duk_codepoint_t cp)

Definition at line 36732 of file duktape.c.

◆ duk__two_arg_func

typedef double(* duk__two_arg_func) (double, double)

Definition at line 40620 of file duktape.c.

◆ duk__u16_union

Definition at line 13883 of file duktape.c.

◆ duk__u32_union

Definition at line 13889 of file duktape.c.

◆ duk_activation

Definition at line 861 of file duktape.c.

◆ duk_bitdecoder_ctx

Definition at line 872 of file duktape.c.

◆ duk_bitencoder_ctx

Definition at line 873 of file duktape.c.

◆ duk_breakpoint

Definition at line 859 of file duktape.c.

◆ duk_bufwriter_ctx

Definition at line 874 of file duktape.c.

◆ duk_catcher

typedef struct duk_catcher duk_catcher

Definition at line 862 of file duktape.c.

◆ duk_compiler_ctx

Definition at line 884 of file duktape.c.

◆ duk_compiler_func

Definition at line 883 of file duktape.c.

◆ duk_compiler_instr

Definition at line 882 of file duktape.c.

◆ duk_double_union

Definition at line 281 of file duktape.c.

◆ duk_float_union

Definition at line 645 of file duktape.c.

◆ duk_harray

typedef struct duk_harray duk_harray

Definition at line 837 of file duktape.c.

◆ duk_hboundfunc

Definition at line 843 of file duktape.c.

◆ duk_hbuffer

typedef struct duk_hbuffer duk_hbuffer

Definition at line 849 of file duktape.c.

◆ duk_hbuffer_dynamic

Definition at line 851 of file duktape.c.

◆ duk_hbuffer_external

Definition at line 852 of file duktape.c.

◆ duk_hbuffer_fixed

Definition at line 850 of file duktape.c.

◆ duk_hbufobj

typedef struct duk_hbufobj duk_hbufobj

Definition at line 845 of file duktape.c.

◆ duk_hcompfunc

typedef struct duk_hcompfunc duk_hcompfunc

Definition at line 841 of file duktape.c.

◆ duk_hdecenv

typedef struct duk_hdecenv duk_hdecenv

Definition at line 846 of file duktape.c.

◆ duk_heap

typedef struct duk_heap duk_heap

Definition at line 858 of file duktape.c.

◆ duk_heaphdr

typedef struct duk_heaphdr duk_heaphdr

Definition at line 835 of file duktape.c.

◆ duk_heaphdr_string

Definition at line 836 of file duktape.c.

◆ duk_hnatfunc

typedef struct duk_hnatfunc duk_hnatfunc

Definition at line 842 of file duktape.c.

◆ duk_hobject

typedef struct duk_hobject duk_hobject

Definition at line 840 of file duktape.c.

◆ duk_hobjenv

typedef struct duk_hobjenv duk_hobjenv

Definition at line 847 of file duktape.c.

◆ duk_hproxy

typedef struct duk_hproxy duk_hproxy

Definition at line 848 of file duktape.c.

◆ duk_hstring

typedef struct duk_hstring duk_hstring

Definition at line 838 of file duktape.c.

◆ duk_hstring_external

Definition at line 839 of file duktape.c.

◆ duk_hthread

typedef struct duk_hthread duk_hthread

Definition at line 844 of file duktape.c.

◆ duk_instr_t

typedef duk_uint32_t duk_instr_t

Definition at line 3411 of file duktape.c.

◆ duk_internal_thread_state

Definition at line 17084 of file duktape.c.

◆ duk_jmpbuf

typedef struct duk_jmpbuf duk_jmpbuf

Definition at line 831 of file duktape.c.

◆ duk_lexer_codepoint

Definition at line 880 of file duktape.c.

◆ duk_lexer_ctx

typedef struct duk_lexer_ctx duk_lexer_ctx

Definition at line 879 of file duktape.c.

◆ duk_lexer_point

Definition at line 878 of file duktape.c.

◆ duk_litcache_entry

Definition at line 865 of file duktape.c.

◆ duk_ljstate

typedef struct duk_ljstate duk_ljstate

Definition at line 863 of file duktape.c.

◆ duk_mem_getptr

typedef void *(* duk_mem_getptr) (duk_heap *heap, void *ud)

Definition at line 9166 of file duktape.c.

◆ duk_propaccessor

Definition at line 854 of file duktape.c.

◆ duk_propdesc

typedef struct duk_propdesc duk_propdesc

Definition at line 856 of file duktape.c.

◆ duk_propvalue

Definition at line 855 of file duktape.c.

◆ duk_re_compiler_ctx

Definition at line 887 of file duktape.c.

◆ duk_re_matcher_ctx

Definition at line 886 of file duktape.c.

◆ duk_re_range_callback

typedef void(* duk_re_range_callback) (void *user, duk_codepoint_t r1, duk_codepoint_t r2, duk_bool_t direct)

Definition at line 3809 of file duktape.c.

◆ duk_re_token

typedef struct duk_re_token duk_re_token

Definition at line 877 of file duktape.c.

◆ duk_regconst_t

typedef duk_int32_t duk_regconst_t

Definition at line 4281 of file duktape.c.

◆ duk_strcache_entry

Definition at line 864 of file duktape.c.

◆ duk_strtab_entry

Definition at line 866 of file duktape.c.

◆ duk_token

typedef struct duk_token duk_token

Definition at line 876 of file duktape.c.

◆ duk_tval

typedef struct duk_tval_struct duk_tval

Definition at line 1219 of file duktape.c.

Function Documentation

◆ duk__abandon_array_check()

DUK_LOCAL duk_bool_t duk__abandon_array_check ( duk_hthread thr,
duk_uint32_t  arr_idx,
duk_hobject obj 
)

Definition at line 58272 of file duktape.c.

◆ duk__abandon_array_density_check()

DUK_LOCAL duk_bool_t duk__abandon_array_density_check ( duk_uint32_t  a_used,
duk_uint32_t  a_size 
)

Definition at line 58222 of file duktape.c.

◆ duk__abandon_array_part()

DUK_LOCAL void duk__abandon_array_part ( duk_hthread thr,
duk_hobject obj 
)

Definition at line 59111 of file duktape.c.

References DUK_UINT16_MAX.

Referenced by duk_hobject_define_property_helper().

Here is the caller graph for this function:

◆ duk__abandon_array_slow_check_required()

DUK_LOCAL duk_bool_t duk__abandon_array_slow_check_required ( duk_uint32_t  arr_idx,
duk_uint32_t  old_size 
)

Definition at line 58243 of file duktape.c.

References DUK_USE_HOBJECT_ARRAY_ABANDON_LIMIT.

◆ duk__acos()

DUK_LOCAL double duk__acos ( double  x)

Definition at line 40796 of file duktape.c.

◆ duk__activation_unwind_nofree_norz()

DUK_LOCAL void duk__activation_unwind_nofree_norz ( duk_hthread thr)

Definition at line 65675 of file duktape.c.

References duk__hthread_activation_alloc_slow().

Here is the call graph for this function:

◆ duk__add_compiler_error_line()

DUK_LOCAL void duk__add_compiler_error_line ( duk_hthread thr)

Definition at line 49396 of file duktape.c.

◆ duk__add_enum_key()

DUK_LOCAL void duk__add_enum_key ( duk_hthread thr,
duk_hstring k 
)

Definition at line 57058 of file duktape.c.

◆ duk__add_enum_key_stridx()

DUK_LOCAL void duk__add_enum_key_stridx ( duk_hthread thr,
duk_small_uint_t  stridx 
)

Definition at line 57067 of file duktape.c.

◆ duk__add_label()

DUK_LOCAL void duk__add_label ( duk_compiler_ctx comp_ctx,
duk_hstring h_label,
duk_int_t  pc_label,
duk_int_t  label_id 
)

Definition at line 71722 of file duktape.c.

References duk_pop().

Here is the call graph for this function:

◆ duk__add_traceback()

DUK_LOCAL void duk__add_traceback ( duk_hthread thr,
duk_hthread thr_callstack,
const char *  c_filename,
duk_int_t  c_line,
duk_small_uint_t  flags 
)

Definition at line 49112 of file duktape.c.

◆ duk__advance()

DUK_LOCAL void duk__advance ( duk_compiler_ctx ctx)

Definition at line 69561 of file duktape.c.

Referenced by duk__parse_func_body(), and duk__parse_var_decl().

Here is the caller graph for this function:

◆ duk__advance_bytes()

DUK_LOCAL void duk__advance_bytes ( duk_lexer_ctx lex_ctx,
duk_small_uint_t  count_bytes 
)

Definition at line 86025 of file duktape.c.

◆ duk__advance_chars()

DUK_LOCAL void duk__advance_chars ( duk_lexer_ctx lex_ctx,
duk_small_uint_t  count_chars 
)

Definition at line 86211 of file duktape.c.

References duk_lexer_ctx::input_line.

◆ duk__advance_expect()

DUK_LOCAL void duk__advance_expect ( duk_compiler_ctx comp_ctx,
duk_small_int_t  expect 
)

Definition at line 69556 of file duktape.c.

Referenced by duk__parse_func_body().

Here is the caller graph for this function:

◆ duk__advance_helper()

DUK_LOCAL void duk__advance_helper ( duk_compiler_ctx comp_ctx,
duk_small_int_t  expect 
)

Definition at line 69496 of file duktape.c.

◆ duk__alloctemp()

DUK_LOCAL duk_regconst_t duk__alloctemp ( duk_compiler_ctx comp_ctx)

Definition at line 71044 of file duktape.c.

◆ duk__alloctemps()

DUK_LOCAL duk_regconst_t duk__alloctemps ( duk_compiler_ctx comp_ctx,
duk_small_int_t  num 
)

Definition at line 71025 of file duktape.c.

◆ duk__api_coerce_d2i()

DUK_LOCAL duk_int_t duk__api_coerce_d2i ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  def_value,
duk_bool_t  require 
)

Definition at line 18789 of file duktape.c.

Referenced by duk_get_int_default(), duk_opt_int(), and duk_require_int().

Here is the caller graph for this function:

◆ duk__api_coerce_d2ui()

DUK_LOCAL duk_uint_t duk__api_coerce_d2ui ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  def_value,
duk_bool_t  require 
)

Definition at line 18850 of file duktape.c.

Referenced by duk_get_uint_default(), and duk_require_uint().

Here is the caller graph for this function:

◆ duk__append_7bit()

DUK_LOCAL void duk__append_7bit ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  x 
)

Definition at line 90597 of file duktape.c.

◆ duk__append_jump_offset()

DUK_LOCAL duk_uint32_t duk__append_jump_offset ( duk_re_compiler_ctx re_ctx,
duk_int32_t  skip 
)

Definition at line 90727 of file duktape.c.

◆ duk__append_range_atom_matcher()

DUK_LOCAL void duk__append_range_atom_matcher ( duk_re_compiler_ctx re_ctx,
duk_small_uint_t  re_op,
const duk_uint16_t *  ranges,
duk_small_uint_t  count 
)

Definition at line 91003 of file duktape.c.

◆ duk__append_reop()

DUK_LOCAL void duk__append_reop ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  reop 
)

Definition at line 90616 of file duktape.c.

◆ duk__append_slice()

DUK_LOCAL void duk__append_slice ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  data_offset,
duk_uint32_t  data_length 
)

Definition at line 90642 of file duktape.c.

◆ duk__append_u16_list()

DUK_LOCAL void duk__append_u16_list ( duk_re_compiler_ctx re_ctx,
const duk_uint16_t *  values,
duk_uint32_t  count 
)

Definition at line 90628 of file duktape.c.

◆ duk__append_u32()

DUK_LOCAL void duk__append_u32 ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  x 
)

Definition at line 90593 of file duktape.c.

Referenced by duk__insert_slice(), and duk__re_canon_next_discontinuity().

Here is the caller graph for this function:

◆ duk__appendbuffer()

DUK_LOCAL void duk__appendbuffer ( duk_lexer_ctx lex_ctx,
duk_codepoint_t  x 
)

◆ duk__appendbuffer_ascii()

DUK_LOCAL void duk__appendbuffer_ascii ( duk_lexer_ctx lex_ctx,
duk_codepoint_t  x 
)

Definition at line 86252 of file duktape.c.

◆ duk__array_pop_fastpath()

DUK_LOCAL duk_ret_t duk__array_pop_fastpath ( duk_hthread thr,
duk_harray h_arr 
)

Definition at line 26524 of file duktape.c.

◆ duk__array_push_fastpath()

DUK_LOCAL duk_ret_t duk__array_push_fastpath ( duk_hthread thr,
duk_harray h_arr 
)

Definition at line 26598 of file duktape.c.

◆ duk__array_qsort()

DUK_LOCAL void duk__array_qsort ( duk_hthread thr,
duk_int_t  lo,
duk_int_t  hi 
)

Definition at line 26897 of file duktape.c.

◆ duk__array_sort_compare()

DUK_LOCAL duk_small_int_t duk__array_sort_compare ( duk_hthread thr,
duk_int_t  idx1,
duk_int_t  idx2 
)

Definition at line 26714 of file duktape.c.

◆ duk__array_sort_swap()

DUK_LOCAL void duk__array_sort_swap ( duk_hthread thr,
duk_int_t  l,
duk_int_t  r 
)

Definition at line 26838 of file duktape.c.

◆ duk__arraybuffer_plain_slice()

DUK_LOCAL void duk__arraybuffer_plain_slice ( duk_hthread thr,
duk_hbuffer h_val 
)

Definition at line 29666 of file duktape.c.

References duk__clamp_startend_negidx_shifted(), DUK_ASSERT, DUK_HBUFFER_GET_SIZE, and duk_push_fixed_buffer_nozero().

Here is the call graph for this function:

◆ duk__arraypart_fastpath_this()

DUK_LOCAL duk_harray * duk__arraypart_fastpath_this ( duk_hthread thr)

Definition at line 26173 of file duktape.c.

◆ duk__asin()

DUK_LOCAL double duk__asin ( double  x)

Definition at line 40799 of file duktape.c.

◆ duk__atan()

DUK_LOCAL double duk__atan ( double  x)

Definition at line 40802 of file duktape.c.

◆ duk__atan2_fixed()

DUK_LOCAL double duk__atan2_fixed ( double  x,
double  y 
)

Definition at line 40829 of file duktape.c.

References DUK_LOG.

Referenced by duk_bi_math_object_onearg_shared().

Here is the caller graph for this function:

◆ duk__auto_unbox_symbol()

DUK_LOCAL duk_hstring * duk__auto_unbox_symbol ( duk_hthread thr,
duk_tval tv_arg 
)

Definition at line 44372 of file duktape.c.

◆ duk__autospawn_arraybuffer()

DUK_LOCAL duk_hbufobj * duk__autospawn_arraybuffer ( duk_hthread thr,
duk_hbuffer h_buf 
)

Definition at line 30599 of file duktape.c.

◆ duk__base64_decode_helper()

DUK_LOCAL duk_bool_t duk__base64_decode_helper ( const duk_uint8_t *  src,
duk_size_t  srclen,
duk_uint8_t *  dst,
duk_uint8_t **  out_dst_final 
)

Definition at line 15990 of file duktape.c.

◆ duk__base64_encode_fast_1()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__base64_encode_fast_1 ( const duk_uint8_t *  src,
duk_uint8_t *  dst 
)

Definition at line 15845 of file duktape.c.

References duk__base64_enctab_fast, and DUK_ASC_EQUALS.

◆ duk__base64_encode_fast_2()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__base64_encode_fast_2 ( const duk_uint8_t *  src,
duk_uint8_t *  dst 
)

Definition at line 15834 of file duktape.c.

◆ duk__base64_encode_fast_3()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__base64_encode_fast_3 ( const duk_uint8_t *  src,
duk_uint8_t *  dst 
)

Definition at line 15810 of file duktape.c.

◆ duk__base64_encode_helper()

DUK_LOCAL void duk__base64_encode_helper ( const duk_uint8_t *  src,
duk_size_t  srclen,
duk_uint8_t *  dst 
)

Definition at line 15855 of file duktape.c.

◆ duk__bc_get_i32()

DUK_LOCAL duk_int32_t duk__bc_get_i32 ( duk_re_matcher_ctx re_ctx,
const duk_uint8_t **  pc 
)

Definition at line 91835 of file duktape.c.

◆ duk__bc_get_u32()

DUK_LOCAL duk_uint32_t duk__bc_get_u32 ( duk_re_matcher_ctx re_ctx,
const duk_uint8_t **  pc 
)

Definition at line 91831 of file duktape.c.

◆ duk__bi_add()

DUK_LOCAL void duk__bi_add ( duk__bigint x,
duk__bigint y,
duk__bigint z 
)

Definition at line 88383 of file duktape.c.

References DUK__BI_MAX_PARTS, DUK_ASSERT, duk__bigint::n, and duk__bigint::v.

Referenced by duk__bi_sub().

Here is the caller graph for this function:

◆ duk__bi_add_small()

DUK_LOCAL void duk__bi_add_small ( duk__bigint x,
duk__bigint y,
duk_uint32_t  z 
)

Definition at line 88439 of file duktape.c.

References DUK__BI_MAX_PARTS, DUK_ASSERT, and duk__bigint::v.

◆ duk__bi_compare()

DUK_LOCAL int duk__bi_compare ( duk__bigint x,
duk__bigint y 
)

Definition at line 88307 of file duktape.c.

References DUK_ASSERT, duk__bigint::n, and duk__bigint::v.

◆ duk__bi_copy()

DUK_LOCAL void duk__bi_copy ( duk__bigint x,
duk__bigint y 
)

Definition at line 88284 of file duktape.c.

Referenced by duk__bi_exp_small(), and duk__bi_sub().

Here is the caller graph for this function:

◆ duk__bi_exp_small()

DUK_LOCAL void duk__bi_exp_small ( duk__bigint x,
duk_small_int_t  b,
duk_small_int_t  y,
duk__bigint t1,
duk__bigint t2 
)

Definition at line 88743 of file duktape.c.

References duk__bi_copy(), and duk__bi_mul_small().

Here is the call graph for this function:

◆ duk__bi_is_2to52()

DUK_LOCAL duk_small_int_t duk__bi_is_2to52 ( duk__bigint x)

Definition at line 88725 of file duktape.c.

◆ duk__bi_is_even()

DUK_LOCAL int duk__bi_is_even ( duk__bigint x)

Definition at line 88709 of file duktape.c.

◆ duk__bi_is_zero()

DUK_LOCAL int duk__bi_is_zero ( duk__bigint x)

Definition at line 88714 of file duktape.c.

◆ duk__bi_mul()

DUK_LOCAL void duk__bi_mul ( duk__bigint x,
duk__bigint y,
duk__bigint z 
)

Definition at line 88557 of file duktape.c.

◆ duk__bi_mul_copy()

DUK_LOCAL void duk__bi_mul_copy ( duk__bigint x,
duk__bigint y,
duk__bigint t 
)

Definition at line 88698 of file duktape.c.

◆ duk__bi_mul_small()

DUK_LOCAL void duk__bi_mul_small ( duk__bigint x,
duk__bigint y,
duk_uint32_t  z 
)

Definition at line 88685 of file duktape.c.

Referenced by duk__bi_exp_small().

Here is the caller graph for this function:

◆ duk__bi_mul_small_copy()

DUK_LOCAL void duk__bi_mul_small_copy ( duk__bigint x,
duk_uint32_t  y,
duk__bigint t 
)

Definition at line 88704 of file duktape.c.

◆ duk__bi_normalize()

DUK_LOCAL void duk__bi_normalize ( duk__bigint x)

Definition at line 88269 of file duktape.c.

References DUK__BI_MAX_PARTS.

◆ duk__bi_set_small()

DUK_LOCAL void duk__bi_set_small ( duk__bigint x,
duk_uint32_t  v 
)

Definition at line 88293 of file duktape.c.

References DUK_SPRINTF.

◆ duk__bi_sub()

DUK_LOCAL void duk__bi_sub ( duk__bigint x,
duk__bigint y,
duk__bigint z 
)

Definition at line 88492 of file duktape.c.

References duk__bi_add(), and duk__bi_copy().

Here is the call graph for this function:

◆ duk__bi_sub_copy()

DUK_LOCAL void duk__bi_sub_copy ( duk__bigint x,
duk__bigint y,
duk__bigint t 
)

Definition at line 88551 of file duktape.c.

◆ duk__bi_twoexp()

DUK_LOCAL void duk__bi_twoexp ( duk__bigint x,
duk_small_int_t  y 
)

Definition at line 88731 of file duktape.c.

◆ duk__bw_update_ptrs()

DUK_LOCAL void duk__bw_update_ptrs ( duk_hthread thr,
duk_bufwriter_ctx bw_ctx,
duk_size_t  curr_offset,
duk_size_t  new_length 
)

Definition at line 100153 of file duktape.c.

References duk_bitencoder_ctx::currbits, duk_bitencoder_ctx::currval, duk_bitencoder_ctx::data, duk_bitencoder_ctx::length, duk_bitencoder_ctx::offset, and duk_bitencoder_ctx::truncated.

Referenced by duk_bw_insert_raw_bytes().

Here is the caller graph for this function:

◆ duk__call_c_recursion_limit_check()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__call_c_recursion_limit_check ( duk_hthread thr)

Definition at line 66145 of file duktape.c.

References duk_heap::augmenting_error, duk_heap::call_recursion_depth, duk_heap::call_recursion_limit, DUK__AUGMENT_CALL_RELAX_COUNT, DUK_D, DUK_DPRINT, and duk_hthread::heap.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk__call_c_recursion_limit_check_slowpath()

DUK_LOCAL DUK_NOINLINE void duk__call_c_recursion_limit_check_slowpath ( duk_hthread thr)

Definition at line 66127 of file duktape.c.

References DUK_ERROR_RANGE, DUK_STR_NATIVE_STACK_LIMIT, and DUK_UNREF.

◆ duk__call_callstack_limit_check()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__call_callstack_limit_check ( duk_hthread thr)

◆ duk__call_callstack_limit_check_slowpath()

DUK_LOCAL DUK_NOINLINE void duk__call_callstack_limit_check_slowpath ( duk_hthread thr)

Definition at line 66161 of file duktape.c.

◆ duk__call_env_setup()

DUK_LOCAL void duk__call_env_setup ( duk_hthread thr,
duk_hobject func,
duk_activation act,
duk_idx_t  idx_args 
)

Definition at line 67901 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk__call_get_idx_func()

DUK_LOCAL duk_idx_t duk__call_get_idx_func ( duk_hthread thr,
duk_idx_t  nargs,
duk_idx_t  other 
)

Definition at line 15239 of file duktape.c.

◆ duk__call_get_idx_func_unvalidated()

DUK_LOCAL duk_idx_t duk__call_get_idx_func_unvalidated ( duk_hthread thr,
duk_idx_t  nargs,
duk_idx_t  other 
)

Definition at line 15259 of file duktape.c.

References DUK_ERROR_TYPE_INVALID_ARGS, and DUK_WO_NORETURN.

◆ duk__call_prop_prep_stack()

DUK_LOCAL void duk__call_prop_prep_stack ( duk_hthread thr,
duk_idx_t  normalized_obj_idx,
duk_idx_t  nargs 
)

Definition at line 15276 of file duktape.c.

◆ duk__call_setup_act_attempt_tailcall()

DUK_LOCAL duk_small_uint_t duk__call_setup_act_attempt_tailcall ( duk_hthread thr,
duk_small_uint_t  call_flags,
duk_idx_t  idx_func,
duk_hobject func,
duk_size_t  entry_valstack_bottom_byteoff,
duk_size_t  entry_valstack_end_byteoff,
duk_idx_t out_nargs,
duk_idx_t out_nregs,
duk_size_t out_vs_min_bytes,
duk_activation **  out_act 
)

Definition at line 67522 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk__call_setup_act_not_tailcall()

DUK_LOCAL void duk__call_setup_act_not_tailcall ( duk_hthread thr,
duk_small_uint_t  call_flags,
duk_idx_t  idx_func,
duk_hobject func,
duk_size_t  entry_valstack_bottom_byteoff,
duk_size_t  entry_valstack_end_byteoff,
duk_idx_t out_nargs,
duk_idx_t out_nregs,
duk_size_t out_vs_min_bytes,
duk_activation **  out_act 
)

Definition at line 67745 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk__call_thread_state_update()

DUK_LOCAL void duk__call_thread_state_update ( duk_hthread thr)

Definition at line 67964 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk__case_transform_helper()

DUK_LOCAL duk_codepoint_t duk__case_transform_helper ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_codepoint_t  cp,
duk_codepoint_t  prev,
duk_codepoint_t  next,
duk_bool_t  uppercase 
)

Definition at line 13630 of file duktape.c.

References duk_bitdecoder_ctx::data, duk__slow_case_conversion(), DUK_BW_WRITE_RAW_U8, DUK_BW_WRITE_RAW_XUTF8, duk_memzero, duk_unicode_caseconv_lc, duk_unicode_caseconv_uc, duk_unicode_is_letter(), and duk_bitdecoder_ctx::length.

Here is the call graph for this function:

◆ duk__cbor_decode()

DUK_LOCAL void duk__cbor_decode ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  decode_flags 
)

Definition at line 32563 of file duktape.c.

◆ duk__cbor_decode_aival_uint32()

DUK_LOCAL duk_uint32_t duk__cbor_decode_aival_uint32 ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  ib 
)

Definition at line 31661 of file duktape.c.

References duk__cbor_decode_error().

Here is the call graph for this function:

◆ duk__cbor_decode_and_join_strbuf()

DUK_LOCAL void duk__cbor_decode_and_join_strbuf ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  expected_base 
)

Definition at line 31753 of file duktape.c.

◆ duk__cbor_decode_array()

DUK_LOCAL duk_bool_t duk__cbor_decode_array ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  ib,
duk_uint8_t  ai 
)

Definition at line 31893 of file duktape.c.

◆ duk__cbor_decode_buffer()

DUK_LOCAL void duk__cbor_decode_buffer ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  expected_base 
)

Definition at line 31693 of file duktape.c.

◆ duk__cbor_decode_checkbreak()

DUK_LOCAL int duk__cbor_decode_checkbreak ( duk_cbor_decode_context dec_ctx)

Definition at line 31521 of file duktape.c.

References duk_cbor_decode_context::buf, duk__cbor_decode_error(), DUK_ASSERT, DUK_LIKELY, duk_cbor_decode_context::len, and duk_cbor_decode_context::off.

Here is the call graph for this function:

◆ duk__cbor_decode_consume()

DUK_LOCAL const duk_uint8_t * duk__cbor_decode_consume ( duk_cbor_decode_context dec_ctx,
duk_size_t  len 
)

Definition at line 31509 of file duktape.c.

◆ duk__cbor_decode_double()

DUK_LOCAL duk_double_t duk__cbor_decode_double ( duk_cbor_decode_context dec_ctx)

Definition at line 32002 of file duktape.c.

◆ duk__cbor_decode_error()

DUK_LOCAL void duk__cbor_decode_error ( duk_cbor_decode_context dec_ctx)

Definition at line 31428 of file duktape.c.

Referenced by duk__cbor_decode_aival_uint32(), duk__cbor_decode_checkbreak(), duk__cbor_decode_half_float(), duk__cbor_decode_peekbyte(), and duk__cbor_decode_read_u32().

Here is the caller graph for this function:

◆ duk__cbor_decode_float()

DUK_LOCAL duk_double_t duk__cbor_decode_float ( duk_cbor_decode_context dec_ctx)

Definition at line 31993 of file duktape.c.

◆ duk__cbor_decode_half_float()

DUK_LOCAL duk_double_t duk__cbor_decode_half_float ( duk_cbor_decode_context dec_ctx)

Definition at line 31773 of file duktape.c.

References duk__cbor_decode_error().

Here is the call graph for this function:

◆ duk__cbor_decode_join_buffers()

DUK_LOCAL void duk__cbor_decode_join_buffers ( duk_cbor_decode_context dec_ctx,
duk_idx_t  count 
)

Definition at line 31711 of file duktape.c.

◆ duk__cbor_decode_map()

DUK_LOCAL duk_bool_t duk__cbor_decode_map ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  ib,
duk_uint8_t  ai 
)

Definition at line 31941 of file duktape.c.

◆ duk__cbor_decode_objarr_entry()

DUK_LOCAL void duk__cbor_decode_objarr_entry ( duk_cbor_decode_context dec_ctx)

Definition at line 31436 of file duktape.c.

References duk_type_error, and duk_cbor_decode_context::thr.

◆ duk__cbor_decode_objarr_exit()

DUK_LOCAL void duk__cbor_decode_objarr_exit ( duk_cbor_decode_context dec_ctx)

Definition at line 31452 of file duktape.c.

◆ duk__cbor_decode_peekbyte()

DUK_LOCAL duk_uint8_t duk__cbor_decode_peekbyte ( duk_cbor_decode_context dec_ctx)

Definition at line 31489 of file duktape.c.

References duk__cbor_decode_error(), DUK_ASSERT, DUK_UNLIKELY, duk_cbor_decode_context::len, and duk_cbor_decode_context::off.

Referenced by duk__cbor_decode_push_aival_int().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__cbor_decode_push_aival_int()

DUK_LOCAL void duk__cbor_decode_push_aival_int ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  ib,
duk_bool_t  negative 
)

Definition at line 31533 of file duktape.c.

References duk__cbor_decode_peekbyte(), duk__cbor_decode_readbyte(), DUK_ASSERT, duk_cbor_decode_context::len, and duk_cbor_decode_context::off.

Here is the call graph for this function:

◆ duk__cbor_decode_read_u16()

DUK_LOCAL duk_uint16_t duk__cbor_decode_read_u16 ( duk_cbor_decode_context dec_ctx)

Definition at line 31465 of file duktape.c.

◆ duk__cbor_decode_read_u32()

DUK_LOCAL duk_uint32_t duk__cbor_decode_read_u32 ( duk_cbor_decode_context dec_ctx)

Definition at line 31477 of file duktape.c.

References duk_cbor_decode_context::buf, duk__cbor_decode_error(), DUK_ASSERT, DUK_RAW_READ_U16_BE, DUK_UNLIKELY, duk_cbor_decode_context::len, and duk_cbor_decode_context::off.

Here is the call graph for this function:

◆ duk__cbor_decode_readbyte()

DUK_LOCAL duk_uint8_t duk__cbor_decode_readbyte ( duk_cbor_decode_context dec_ctx)

Definition at line 31457 of file duktape.c.

References DUK_ERROR_RANGE, DUK_STR_DEC_RECLIMIT, and DUK_WO_NORETURN.

Referenced by duk__cbor_decode_push_aival_int().

Here is the caller graph for this function:

◆ duk__cbor_decode_req_stack()

DUK_LOCAL void duk__cbor_decode_req_stack ( duk_cbor_decode_context dec_ctx)

Definition at line 31432 of file duktape.c.

◆ duk__cbor_decode_rewind()

DUK_LOCAL void duk__cbor_decode_rewind ( duk_cbor_decode_context dec_ctx,
duk_size_t  len 
)

Definition at line 31496 of file duktape.c.

◆ duk__cbor_decode_skip_aival_int()

DUK_LOCAL void duk__cbor_decode_skip_aival_int ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  ib 
)

Definition at line 31646 of file duktape.c.

References DUK_INT_MIN, duk_push_int(), duk_push_number(), and duk_cbor_decode_context::thr.

Here is the call graph for this function:

◆ duk__cbor_decode_string()

DUK_LOCAL void duk__cbor_decode_string ( duk_cbor_decode_context dec_ctx,
duk_uint8_t  ib,
duk_uint8_t  ai 
)

Definition at line 31849 of file duktape.c.

◆ duk__cbor_decode_value()

DUK_LOCAL void duk__cbor_decode_value ( duk_cbor_decode_context dec_ctx)

Definition at line 32404 of file duktape.c.

◆ duk__cbor_double_to_uint32()

DUK_LOCAL duk_uint32_t duk__cbor_double_to_uint32 ( double  d)

Definition at line 30787 of file duktape.c.

◆ duk__cbor_encode()

DUK_LOCAL void duk__cbor_encode ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  encode_flags 
)

Definition at line 32535 of file duktape.c.

Referenced by duk_bi_cbor_encode().

Here is the caller graph for this function:

◆ duk__cbor_encode_buffer()

DUK_LOCAL void duk__cbor_encode_buffer ( duk_cbor_encode_context enc_ctx)

Definition at line 31300 of file duktape.c.

◆ duk__cbor_encode_double()

DUK_LOCAL void duk__cbor_encode_double ( duk_cbor_encode_context enc_ctx,
double  d 
)

Definition at line 31050 of file duktape.c.

◆ duk__cbor_encode_double_fp()

DUK_LOCAL void duk__cbor_encode_double_fp ( duk_cbor_encode_context enc_ctx,
double  d 
)

Definition at line 30931 of file duktape.c.

◆ duk__cbor_encode_ensure()

DUK_LOCAL DUK_INLINE void duk__cbor_encode_ensure ( duk_cbor_encode_context enc_ctx,
duk_size_t  len 
)

Definition at line 30882 of file duktape.c.

◆ duk__cbor_encode_ensure_slowpath()

DUK_LOCAL DUK_NOINLINE void duk__cbor_encode_ensure_slowpath ( duk_cbor_encode_context enc_ctx,
duk_size_t  len 
)

Definition at line 30836 of file duktape.c.

References DUK_ASSERT, and duk_cbor_encode_context::recursion_depth.

◆ duk__cbor_encode_error()

DUK_LOCAL void duk__cbor_encode_error ( duk_cbor_encode_context enc_ctx)

Definition at line 30797 of file duktape.c.

◆ duk__cbor_encode_lightfunc()

DUK_LOCAL void duk__cbor_encode_lightfunc ( duk_cbor_encode_context enc_ctx)

Definition at line 31342 of file duktape.c.

◆ duk__cbor_encode_objarr_entry()

DUK_LOCAL void duk__cbor_encode_objarr_entry ( duk_cbor_encode_context enc_ctx)

Definition at line 30805 of file duktape.c.

References duk_type_error, and duk_cbor_encode_context::thr.

◆ duk__cbor_encode_objarr_exit()

DUK_LOCAL void duk__cbor_encode_objarr_exit ( duk_cbor_encode_context enc_ctx)

Definition at line 30824 of file duktape.c.

◆ duk__cbor_encode_object()

DUK_LOCAL void duk__cbor_encode_object ( duk_cbor_encode_context enc_ctx)

Definition at line 31220 of file duktape.c.

◆ duk__cbor_encode_pointer()

DUK_LOCAL void duk__cbor_encode_pointer ( duk_cbor_encode_context enc_ctx)

Definition at line 31319 of file duktape.c.

◆ duk__cbor_encode_req_stack()

DUK_LOCAL void duk__cbor_encode_req_stack ( duk_cbor_encode_context enc_ctx)

Definition at line 30801 of file duktape.c.

◆ duk__cbor_encode_sizet_uint32_check()

DUK_LOCAL void duk__cbor_encode_sizet_uint32_check ( duk_cbor_encode_context enc_ctx,
duk_size_t  len 
)

Definition at line 30830 of file duktape.c.

◆ duk__cbor_encode_string_top()

DUK_LOCAL void duk__cbor_encode_string_top ( duk_cbor_encode_context enc_ctx)

Definition at line 31160 of file duktape.c.

◆ duk__cbor_encode_uint32()

DUK_LOCAL void duk__cbor_encode_uint32 ( duk_cbor_encode_context enc_ctx,
duk_uint32_t  u,
duk_uint8_t  base 
)

Definition at line 30895 of file duktape.c.

◆ duk__cbor_encode_value()

DUK_LOCAL void duk__cbor_encode_value ( duk_cbor_encode_context enc_ctx)

Definition at line 31354 of file duktape.c.

References duk__cbor_get_reserve(), DUK_ASSERT, and duk_cbor_encode_context::ptr.

Here is the call graph for this function:

◆ duk__cbor_get_reserve()

DUK_LOCAL duk_size_t duk__cbor_get_reserve ( duk_cbor_encode_context enc_ctx)

Definition at line 30889 of file duktape.c.

Referenced by duk__cbor_encode_value().

Here is the caller graph for this function:

◆ duk__cbrt()

DUK_LOCAL double duk__cbrt ( double  x)

Definition at line 40695 of file duktape.c.

References DUK_SIGNBIT.

◆ duk__ceil()

DUK_LOCAL double duk__ceil ( double  x)

Definition at line 40805 of file duktape.c.

References DUK_FABS.

◆ duk__check_arguments_map_for_delete()

DUK_LOCAL void duk__check_arguments_map_for_delete ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_propdesc temp_desc 
)

Definition at line 59707 of file duktape.c.

◆ duk__check_arguments_map_for_get()

DUK_LOCAL duk_bool_t duk__check_arguments_map_for_get ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_propdesc temp_desc 
)

Definition at line 59620 of file duktape.c.

◆ duk__check_arguments_map_for_put()

DUK_LOCAL void duk__check_arguments_map_for_put ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_propdesc temp_desc,
duk_bool_t  throw_flag 
)

Definition at line 59660 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__clamp_startend_negidx_shifted()

DUK_LOCAL void duk__clamp_startend_negidx_shifted ( duk_hthread thr,
duk_int_t  buffer_length,
duk_uint8_t  buffer_shift,
duk_idx_t  idx_start,
duk_idx_t  idx_end,
duk_int_t out_start_offset,
duk_int_t out_end_offset 
)

Definition at line 28114 of file duktape.c.

Referenced by duk__arraybuffer_plain_slice().

Here is the caller graph for this function:

◆ duk__clamp_startend_nonegidx_noshift()

DUK_LOCAL void duk__clamp_startend_nonegidx_noshift ( duk_hthread thr,
duk_int_t  buffer_length,
duk_idx_t  idx_start,
duk_idx_t  idx_end,
duk_int_t out_start_offset,
duk_int_t out_end_offset 
)

Definition at line 28077 of file duktape.c.

◆ duk__cleanup_varmap()

DUK_LOCAL duk_int_t duk__cleanup_varmap ( duk_compiler_ctx comp_ctx)

Definition at line 69660 of file duktape.c.

◆ duk__clear_finalize_list_flags()

DUK_LOCAL void duk__clear_finalize_list_flags ( duk_heap heap)

◆ duk__coerce_nonstrict_this_binding()

DUK_LOCAL DUK_INLINE void duk__coerce_nonstrict_this_binding ( duk_hthread thr,
duk_idx_t  idx_this 
)

◆ duk__comp_recursion_decrease()

DUK_LOCAL void duk__comp_recursion_decrease ( duk_compiler_ctx comp_ctx)

Definition at line 69471 of file duktape.c.

◆ duk__comp_recursion_increase()

DUK_LOCAL void duk__comp_recursion_increase ( duk_compiler_ctx comp_ctx)

Definition at line 69461 of file duktape.c.

◆ duk__compact_object_list()

DUK_LOCAL void duk__compact_object_list ( duk_heap heap,
duk_hthread thr,
duk_heaphdr start 
)

Definition at line 52924 of file duktape.c.

◆ duk__compact_objects()

DUK_LOCAL void duk__compact_objects ( duk_heap heap)

Definition at line 52971 of file duktape.c.

◆ duk__compare_fastint()

DUK_LOCAL duk_bool_t duk__compare_fastint ( duk_bool_t  retval,
duk_int64_t  v1,
duk_int64_t  v2 
)

Definition at line 83239 of file duktape.c.

References DUK_ASSERT, DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_DATA, and duk_js_data_compare().

Here is the call graph for this function:

◆ duk__compare_number()

DUK_LOCAL duk_bool_t duk__compare_number ( duk_bool_t  retval,
duk_double_t  d1,
duk_double_t  d2 
)

Definition at line 83301 of file duktape.c.

◆ duk__compute_a_stats()

DUK_LOCAL void duk__compute_a_stats ( duk_hthread thr,
duk_hobject obj,
duk_uint32_t *  out_used,
duk_uint32_t *  out_min_size 
)

Definition at line 58192 of file duktape.c.

◆ duk__compute_exp()

Definition at line 77230 of file duktape.c.

◆ duk__compute_mod()

Definition at line 77225 of file duktape.c.

◆ duk__concat_and_join_helper()

DUK_LOCAL void duk__concat_and_join_helper ( duk_hthread thr,
duk_idx_t  count_in,
duk_bool_t  is_join 
)

Definition at line 25599 of file duktape.c.

References count(), DUK_ASSERT, DUK_CTX_ASSERT_VALID, DUK_DDD, DUK_DDDPRINT, DUK_ERROR_RANGE_INVALID_COUNT, DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_DATA, DUK_HSTRING_MAX_BYTELEN, duk_memcpy, duk_pop_n(), duk_push_fixed_buffer_nozero(), duk_push_hstring_empty(), duk_replace(), duk_require_hstring(), duk_to_hstring(), DUK_UNLIKELY, and DUK_WO_NORETURN.

Referenced by duk_concat_2(), and duk_decode_string().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__const_needs_refcount()

DUK_LOCAL duk_bool_t duk__const_needs_refcount ( duk_compiler_ctx comp_ctx,
duk_regconst_t  rc 
)

Definition at line 71100 of file duktape.c.

References DUK__CONST_MARKER, DUK_DDD, DUK_DDDPRINT, and duk_pop().

Here is the call graph for this function:

◆ duk__construct_from_codepoints()

DUK_LOCAL duk_ret_t duk__construct_from_codepoints ( duk_hthread thr,
duk_bool_t  nonbmp 
)

Definition at line 42839 of file duktape.c.

◆ duk__convert_to_func_template()

DUK_LOCAL void duk__convert_to_func_template ( duk_compiler_ctx comp_ctx)

Definition at line 69710 of file duktape.c.

◆ duk__copy_ispec()

DUK_LOCAL void duk__copy_ispec ( duk_compiler_ctx comp_ctx,
duk_ispec src,
duk_ispec dst 
)

Definition at line 71008 of file duktape.c.

◆ duk__copy_ivalue()

DUK_LOCAL void duk__copy_ivalue ( duk_compiler_ctx comp_ctx,
duk_ivalue src,
duk_ivalue dst 
)

Definition at line 71014 of file duktape.c.

◆ duk__cos()

DUK_LOCAL double duk__cos ( double  x)

Definition at line 40808 of file duktape.c.

References DUK_ACOS.

◆ duk__count_used_e_keys()

DUK_LOCAL duk_uint32_t duk__count_used_e_keys ( duk_hthread thr,
duk_hobject obj 
)

◆ duk__create_arguments_object()

DUK_LOCAL void duk__create_arguments_object ( duk_hthread thr,
duk_hobject func,
duk_hobject varenv,
duk_idx_t  idx_args 
)

Definition at line 66239 of file duktape.c.

◆ duk__create_escaped_source()

DUK_LOCAL void duk__create_escaped_source ( duk_hthread thr,
int  idx_pattern 
)

Definition at line 91580 of file duktape.c.

◆ duk__date_get_indirect_magic()

DUK_LOCAL duk_small_uint_t duk__date_get_indirect_magic ( duk_hthread thr)

Definition at line 34158 of file duktape.c.

Referenced by duk_bi_date_prototype_get_timezone_offset(), duk_bi_date_prototype_set_time(), and duk_bi_date_prototype_value_of().

Here is the caller graph for this function:

◆ duk__day_from_year()

DUK_LOCAL duk_int_t duk__day_from_year ( duk_int_t  year)

Definition at line 33201 of file duktape.c.

◆ duk__declvar_helper()

DUK_LOCAL duk_bool_t duk__declvar_helper ( duk_hthread thr,
duk_hobject env,
duk_hstring name,
duk_tval val,
duk_small_uint_t  prop_flags,
duk_bool_t  is_func_decl 
)

◆ duk__decode_helper()

DUK_LOCAL duk_ret_t duk__decode_helper ( duk_hthread thr,
duk__decode_context dec_ctx 
)

Definition at line 35455 of file duktape.c.

◆ duk__decode_hex_escape()

DUK_LOCAL duk_small_int_t duk__decode_hex_escape ( const duk_uint8_t *  p,
duk_small_int_t  n 
)

Definition at line 36735 of file duktape.c.

◆ duk__decref_tvals_norz()

DUK_LOCAL void duk__decref_tvals_norz ( duk_hthread thr,
duk_tval tv,
duk_idx_t  count 
)

Definition at line 54194 of file duktape.c.

◆ duk__defaultvalue_coerce_attempt()

DUK_LOCAL duk_bool_t duk__defaultvalue_coerce_attempt ( duk_hthread thr,
duk_idx_t  idx,
duk_small_uint_t  func_stridx 
)

Definition at line 21401 of file duktape.c.

◆ duk__delvar_helper()

DUK_LOCAL duk_bool_t duk__delvar_helper ( duk_hthread thr,
duk_hobject env,
duk_activation act,
duk_hstring name 
)

Definition at line 85328 of file duktape.c.

◆ duk__div_floor()

DUK_LOCAL duk_int_t duk__div_floor ( duk_int_t  a,
duk_int_t  b 
)

Definition at line 33187 of file duktape.c.

References DUK_DOUBLE_NAN.

◆ duk__do_compile()

DUK_LOCAL duk_ret_t duk__do_compile ( duk_hthread thr,
void *  udata 
)

Definition at line 16703 of file duktape.c.

References duk_pop().

Here is the call graph for this function:

◆ duk__dragon4_convert_and_push()

DUK_LOCAL void duk__dragon4_convert_and_push ( duk__numconv_stringify_ctx nc_ctx,
duk_hthread thr,
duk_small_int_t  radix,
duk_small_int_t  digits,
duk_small_uint_t  flags,
duk_small_int_t  neg 
)

Definition at line 89392 of file duktape.c.

◆ duk__dragon4_ctx_to_double()

DUK_LOCAL void duk__dragon4_ctx_to_double ( duk__numconv_stringify_ctx nc_ctx,
duk_double_t x 
)

Definition at line 89589 of file duktape.c.

◆ duk__dragon4_double_to_ctx()

DUK_LOCAL void duk__dragon4_double_to_ctx ( duk__numconv_stringify_ctx nc_ctx,
duk_double_t  x 
)

Definition at line 89544 of file duktape.c.

References duk__dragon4_format_uint32().

Here is the call graph for this function:

◆ duk__dragon4_fixed_format_round()

DUK_LOCAL duk_small_int_t duk__dragon4_fixed_format_round ( duk__numconv_stringify_ctx nc_ctx,
duk_small_int_t  round_idx 
)

Definition at line 89318 of file duktape.c.

References DUK_DDD, and DUK_DDDPRINT.

◆ duk__dragon4_format_uint32()

DUK_LOCAL duk_size_t duk__dragon4_format_uint32 ( duk_uint8_t *  buf,
duk_uint32_t  x,
duk_small_int_t  radix 
)

Definition at line 88846 of file duktape.c.

References count(), and DUK__MAX_OUTPUT_DIGITS.

Referenced by duk__dragon4_double_to_ctx().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__dragon4_generate()

DUK_LOCAL void duk__dragon4_generate ( duk__numconv_stringify_ctx nc_ctx)

Definition at line 89135 of file duktape.c.

◆ duk__dragon4_prepare()

DUK_LOCAL void duk__dragon4_prepare ( duk__numconv_stringify_ctx nc_ctx)

Definition at line 88880 of file duktape.c.

References DUK__DIGITCHAR, DUK_ASSERT, and duk_memmove.

◆ duk__dragon4_scale()

DUK_LOCAL void duk__dragon4_scale ( duk__numconv_stringify_ctx nc_ctx)

Definition at line 89030 of file duktape.c.

◆ duk__dump_buffer_prop()

DUK_LOCAL duk_uint8_t * duk__dump_buffer_prop ( duk_hthread thr,
duk_uint8_t *  p,
duk_bufwriter_ctx bw_ctx,
duk_hobject func,
duk_small_uint_t  stridx 
)

Definition at line 14517 of file duktape.c.

◆ duk__dump_formals()

DUK_LOCAL duk_uint8_t * duk__dump_formals ( duk_hthread thr,
duk_uint8_t *  p,
duk_bufwriter_ctx bw_ctx,
duk_hobject func 
)

Definition at line 14602 of file duktape.c.

◆ duk__dump_func()

static duk_uint8_t * duk__dump_func ( duk_hthread thr,
duk_hcompfunc func,
duk_bufwriter_ctx bw_ctx,
duk_uint8_t *  p 
)
static

Definition at line 14643 of file duktape.c.

◆ duk__dump_hbuffer_raw()

DUK_LOCAL duk_uint8_t * duk__dump_hbuffer_raw ( duk_hthread thr,
duk_uint8_t *  p,
duk_hbuffer h 
)

Definition at line 14477 of file duktape.c.

◆ duk__dump_hstring_raw()

DUK_LOCAL duk_uint8_t * duk__dump_hstring_raw ( duk_uint8_t *  p,
duk_hstring h 
)

Definition at line 14462 of file duktape.c.

References DUK_ASSERT, duk_memcpy, duk_push_fixed_buffer_nozero(), and DUK_RAW_READINC_U32_BE.

Here is the call graph for this function:

◆ duk__dump_string_prop()

DUK_LOCAL duk_uint8_t * duk__dump_string_prop ( duk_hthread thr,
duk_uint8_t *  p,
duk_bufwriter_ctx bw_ctx,
duk_hobject func,
duk_small_uint_t  stridx 
)

Definition at line 14495 of file duktape.c.

◆ duk__dump_uint32_prop()

DUK_LOCAL duk_uint8_t * duk__dump_uint32_prop ( duk_hthread thr,
duk_uint8_t *  p,
duk_bufwriter_ctx bw_ctx,
duk_hobject func,
duk_small_uint_t  stridx,
duk_uint32_t  def_value 
)

Definition at line 14539 of file duktape.c.

◆ duk__dump_varmap()

DUK_LOCAL duk_uint8_t * duk__dump_varmap ( duk_hthread thr,
duk_uint8_t *  p,
duk_bufwriter_ctx bw_ctx,
duk_hobject func 
)

Definition at line 14559 of file duktape.c.

◆ duk__emit()

DUK_LOCAL void duk__emit ( duk_compiler_ctx comp_ctx,
duk_instr_t  ins 
)

◆ duk__emit_1()

DUK_LOCAL void duk__emit_1 ( duk_json_enc_ctx js_ctx,
duk_uint_fast8_t  ch 
)

Definition at line 38424 of file duktape.c.

◆ duk__emit_2()

DUK_LOCAL void duk__emit_2 ( duk_json_enc_ctx js_ctx,
duk_uint_fast8_t  ch1,
duk_uint_fast8_t  ch2 
)

Definition at line 38428 of file duktape.c.

◆ duk__emit_a_b()

DUK_LOCAL void duk__emit_a_b ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  op_flags,
duk_regconst_t  a,
duk_regconst_t  b 
)

Definition at line 70535 of file duktape.c.

◆ duk__emit_a_b_c()

DUK_LOCAL void duk__emit_a_b_c ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  op_flags,
duk_regconst_t  a,
duk_regconst_t  b,
duk_regconst_t  c 
)

Definition at line 70265 of file duktape.c.

Referenced by duk__init_varmap_and_prologue_for_pass2(), and duk__objlit_load_key().

Here is the caller graph for this function:

◆ duk__emit_a_bc()

DUK_LOCAL void duk__emit_a_bc ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  op_flags,
duk_regconst_t  a,
duk_regconst_t  bc 
)

Definition at line 70567 of file duktape.c.

Referenced by duk__emit_load_int32(), and duk__init_varmap_and_prologue_for_pass2().

Here is the caller graph for this function:

◆ duk__emit_abc()

DUK_LOCAL void duk__emit_abc ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  op,
duk_regconst_t  abc 
)

Definition at line 70632 of file duktape.c.

◆ duk__emit_b_c()

DUK_LOCAL void duk__emit_b_c ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  op_flags,
duk_regconst_t  b,
duk_regconst_t  c 
)

Definition at line 70542 of file duktape.c.

◆ duk__emit_bc()

DUK_LOCAL void duk__emit_bc ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  op,
duk_regconst_t  bc 
)

Definition at line 70625 of file duktape.c.

Referenced by duk__parse_func_body(), and duk__parse_stmt().

Here is the caller graph for this function:

◆ duk__emit_cstring()

DUK_LOCAL void duk__emit_cstring ( duk_json_enc_ctx js_ctx,
const char *  p 
)

Definition at line 38437 of file duktape.c.

◆ duk__emit_esc_auto_fast()

DUK_LOCAL duk_uint8_t * duk__emit_esc_auto_fast ( duk_json_enc_ctx js_ctx,
duk_uint_fast32_t  cp,
duk_uint8_t *  q 
)

Definition at line 38460 of file duktape.c.

◆ duk__emit_hstring()

DUK_LOCAL void duk__emit_hstring ( duk_json_enc_ctx js_ctx,
duk_hstring h 
)

Definition at line 38432 of file duktape.c.

◆ duk__emit_if_false_skip()

DUK_LOCAL void duk__emit_if_false_skip ( duk_compiler_ctx comp_ctx,
duk_regconst_t  regconst 
)

Definition at line 70845 of file duktape.c.

◆ duk__emit_if_true_skip()

DUK_LOCAL void duk__emit_if_true_skip ( duk_compiler_ctx comp_ctx,
duk_regconst_t  regconst 
)

Definition at line 70852 of file duktape.c.

◆ duk__emit_invalid()

DUK_LOCAL void duk__emit_invalid ( duk_compiler_ctx comp_ctx)

Definition at line 70859 of file duktape.c.

Referenced by duk__parse_stmt().

Here is the caller graph for this function:

◆ duk__emit_jump()

DUK_LOCAL void duk__emit_jump ( duk_compiler_ctx comp_ctx,
duk_int_t  target_pc 
)

Definition at line 70712 of file duktape.c.

References duk__emit_load_int32_raw().

Here is the call graph for this function:

◆ duk__emit_jump_empty()

DUK_LOCAL duk_int_t duk__emit_jump_empty ( duk_compiler_ctx comp_ctx)

Definition at line 70723 of file duktape.c.

References duk__emit_load_int32(), DUK_ASSERT, and DUK_BC_A_MAX.

Here is the call graph for this function:

◆ duk__emit_load_int32()

DUK_LOCAL void duk__emit_load_int32 ( duk_compiler_ctx comp_ctx,
duk_regconst_t  reg,
duk_int32_t  val 
)

Definition at line 70691 of file duktape.c.

References duk__emit_a_bc(), DUK_BC_LDINT_BIAS, DUK_DDD, DUK_DDDPRINT, and DUK_OP_LDINT.

Referenced by duk__emit_jump_empty().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__emit_load_int32_noshuffle()

DUK_LOCAL void duk__emit_load_int32_noshuffle ( duk_compiler_ctx comp_ctx,
duk_regconst_t  reg,
duk_int32_t  val 
)

Definition at line 70703 of file duktape.c.

◆ duk__emit_load_int32_raw()

DUK_LOCAL void duk__emit_load_int32_raw ( duk_compiler_ctx comp_ctx,
duk_regconst_t  reg,
duk_int32_t  val,
duk_small_uint_t  op_flags 
)

Definition at line 70664 of file duktape.c.

Referenced by duk__emit_jump().

Here is the caller graph for this function:

◆ duk__emit_op_only()

DUK_LOCAL void duk__emit_op_only ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  op 
)

Definition at line 70260 of file duktape.c.

References line().

Referenced by duk__parse_func_body().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__emit_stridx()

DUK_LOCAL void duk__emit_stridx ( duk_json_enc_ctx js_ctx,
duk_small_uint_t  stridx 
)

Definition at line 38442 of file duktape.c.

◆ duk__emit_u16_direct_ranges()

DUK_LOCAL void duk__emit_u16_direct_ranges ( duk_lexer_ctx lex_ctx,
duk_re_range_callback  gen_range,
void *  userdata,
const duk_uint16_t *  ranges,
duk_small_int_t  num 
)

Definition at line 87902 of file duktape.c.

◆ duk__encode_i32()

DUK_LOCAL duk_uint32_t duk__encode_i32 ( duk_int32_t  x)

Definition at line 90572 of file duktape.c.

◆ duk__err_augment_builtin_create()

DUK_LOCAL void duk__err_augment_builtin_create ( duk_hthread thr,
duk_hthread thr_callstack,
const char *  c_filename,
duk_int_t  c_line,
duk_hobject obj,
duk_small_uint_t  flags 
)

Definition at line 49453 of file duktape.c.

Referenced by duk_err_augment_error_create().

Here is the caller graph for this function:

◆ duk__err_augment_user()

DUK_LOCAL void duk__err_augment_user ( duk_hthread thr,
duk_small_uint_t  stridx_cb 
)

Definition at line 49035 of file duktape.c.

References duk_heap::augmenting_error, duk_hthread::builtins, DUK_ASSERT, DUK_ASSERT_STRIDX_VALID, DUK_ASSERT_VALSTACK_SPACE, DUK_BIDX_DUKTAPE, DUK_D, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_DPRINT, duk_hobject_find_entry_tval_ptr_stridx(), duk_insert(), duk_pcall_method(), duk_push_tval(), duk_push_undefined(), DUK_UNREF, and duk_hthread::heap.

Here is the call graph for this function:

◆ duk__error_getter_helper()

DUK_LOCAL duk_ret_t duk__error_getter_helper ( duk_hthread thr,
duk_small_int_t  output_type 
)

Definition at line 35899 of file duktape.c.

References DUK__OUTPUT_TYPE_FILENAME, DUK__OUTPUT_TYPE_LINENUMBER, DUK__OUTPUT_TYPE_TRACEBACK, DUK_ACT_FLAG_CONSTRUCT, DUK_ACT_FLAG_DIRECT_EVAL, DUK_ACT_FLAG_PREVENT_YIELD, DUK_ACT_FLAG_STRICT, DUK_ACT_FLAG_TAILCALLED, DUK_ASSERT, DUK_ASSERT_TOP, duk_check_type(), DUK_DOUBLE_2TO32, duk_double_to_int_t(), duk_double_to_uint_t(), DUK_FLOOR, DUK_FMOD, duk_get_hobject(), duk_get_hstring_notsymbol(), duk_get_prop_index(), duk_get_prop_stridx_short, duk_get_string(), duk_get_string_notsymbol(), duk_get_top_index(), duk_get_type(), DUK_HOBJECT_HAS_NATFUNC, duk_hobject_pc2line_query(), DUK_HSTRING_GET_DATA, DUK_HTHREAD_STRING_EMPTY_STRING, duk_is_string_notsymbol(), duk_pop(), duk_pop_2(), duk_pop_3(), duk_push_hstring_stridx(), duk_push_int(), duk_push_sprintf(), duk_push_this(), duk_push_uint(), duk_replace(), duk_require_stack(), DUK_STRIDX_BRACKETED_ELLIPSIS, DUK_STRIDX_FILE_NAME, DUK_STRIDX_INT_TRACEDATA, DUK_STRIDX_NAME, DUK_STRIDX_NEWLINE_4SPACE, DUK_TB_FLAG_NOBLAME_FILELINE, duk_to_number_m1(), DUK_TYPE_LIGHTFUNC, DUK_TYPE_OBJECT, DUK_TYPE_STRING, DUK_USE_TRACEBACK_DEPTH, duk_xget_owndataprop_stridx_short, and line().

Referenced by duk_bi_error_prototype_linenumber_getter().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__error_setter_helper()

DUK_LOCAL duk_ret_t duk__error_setter_helper ( duk_hthread thr,
duk_small_uint_t  stridx_key 
)

Definition at line 36144 of file duktape.c.

References DUK_UNREF.

◆ duk__executor_handle_call()

DUK_LOCAL duk_bool_t duk__executor_handle_call ( duk_hthread thr,
duk_idx_t  idx,
duk_idx_t  nargs,
duk_small_uint_t  call_flags 
)

Definition at line 79853 of file duktape.c.

◆ duk__executor_interrupt()

Definition at line 79121 of file duktape.c.

References DUK__INT_RESTART, DUK_D, and DUK_DPRINT.

◆ duk__exp()

DUK_LOCAL double duk__exp ( double  x)

Definition at line 40811 of file duktape.c.

References DUK_ASIN.

◆ duk__expr()

DUK_LOCAL void duk__expr ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags 
)

Definition at line 73932 of file duktape.c.

◆ duk__expr_is_empty()

DUK_LOCAL duk_bool_t duk__expr_is_empty ( duk_compiler_ctx comp_ctx)

Definition at line 72412 of file duktape.c.

◆ duk__expr_lbp()

DUK_LOCAL duk_small_uint_t duk__expr_lbp ( duk_compiler_ctx comp_ctx)

Definition at line 73888 of file duktape.c.

◆ duk__expr_led()

DUK_LOCAL void duk__expr_led ( duk_compiler_ctx comp_ctx,
duk_ivalue left,
duk_ivalue res 
)

Definition at line 72923 of file duktape.c.

References duk__ivalue_plain_fromstack().

Here is the call graph for this function:

◆ duk__expr_nud()

DUK_LOCAL void duk__expr_nud ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 72417 of file duktape.c.

◆ duk__expr_toforcedreg()

DUK_LOCAL void duk__expr_toforcedreg ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags,
duk_regconst_t  forced_reg 
)

Definition at line 74034 of file duktape.c.

◆ duk__expr_toplain()

DUK_LOCAL void duk__expr_toplain ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags 
)

Definition at line 74055 of file duktape.c.

References DUK_ASSERT.

◆ duk__expr_toplain_ignore()

DUK_LOCAL void duk__expr_toplain_ignore ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags 
)

Definition at line 74060 of file duktape.c.

◆ duk__expr_toregconst()

DUK_LOCAL duk_regconst_t duk__expr_toregconst ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags 
)

Definition at line 74043 of file duktape.c.

◆ duk__exprtop()

DUK_LOCAL void duk__exprtop ( duk_compiler_ctx ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags 
)

Definition at line 73994 of file duktape.c.

Referenced by duk__exprtop_toregconst(), and duk__parse_var_decl().

Here is the caller graph for this function:

◆ duk__exprtop_toforcedreg()

DUK_LOCAL void duk__exprtop_toforcedreg ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags,
duk_regconst_t  forced_reg 
)

Definition at line 74077 of file duktape.c.

◆ duk__exprtop_toreg()

DUK_LOCAL duk_regconst_t duk__exprtop_toreg ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags 
)

Definition at line 74065 of file duktape.c.

◆ duk__exprtop_toregconst()

DUK_LOCAL duk_regconst_t duk__exprtop_toregconst ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  rbp_flags 
)

Definition at line 74086 of file duktape.c.

References duk__exprtop(), and duk__ivalue_toreg().

Here is the call graph for this function:

◆ duk__fabs()

DUK_LOCAL double duk__fabs ( double  x)

Definition at line 40793 of file duktape.c.

◆ duk__fill_lexer_buffer()

DUK_LOCAL void duk__fill_lexer_buffer ( duk_lexer_ctx lex_ctx,
duk_small_uint_t  start_offset_bytes 
)

◆ duk__finalize_helper()

DUK_LOCAL duk_ret_t duk__finalize_helper ( duk_hthread thr,
void *  udata 
)

Definition at line 51825 of file duktape.c.

References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, duk_dup_m2(), duk_get_prop_stridx_short, DUK_STRIDX_INT_FINALIZER, and DUK_UNREF.

Here is the call graph for this function:

◆ duk__finalize_refcounts()

DUK_LOCAL void duk__finalize_refcounts ( duk_heap heap)

Definition at line 52545 of file duktape.c.

◆ duk__floor()

DUK_LOCAL double duk__floor ( double  x)

Definition at line 40814 of file duktape.c.

References DUK_ATAN.

◆ duk__fmax_fixed()

DUK_LOCAL double duk__fmax_fixed ( double  x,
double  y 
)

Definition at line 40680 of file duktape.c.

◆ duk__fmin_fixed()

DUK_LOCAL double duk__fmin_fixed ( double  x,
double  y 
)

Definition at line 40653 of file duktape.c.

References DUK_DOUBLE_NAN.

◆ duk__format_parts_iso8601()

DUK_LOCAL void duk__format_parts_iso8601 ( duk_int_t parts,
duk_int_t  tzoffset,
duk_small_uint_t  flags,
duk_uint8_t *  out_buf 
)

Definition at line 33681 of file duktape.c.

◆ duk__free_allocated()

DUK_LOCAL void duk__free_allocated ( duk_heap heap)

Definition at line 50450 of file duktape.c.

◆ duk__free_finalize_list()

DUK_LOCAL void duk__free_finalize_list ( duk_heap heap)

Definition at line 50468 of file duktape.c.

◆ duk__free_run_finalizers()

DUK_LOCAL void duk__free_run_finalizers ( duk_heap heap)

Definition at line 50488 of file duktape.c.

◆ duk__free_stringtable()

DUK_LOCAL void duk__free_stringtable ( duk_heap heap)

Definition at line 50482 of file duktape.c.

References DUK_DDD, DUK_DDDPRINT, and DUK_HEAPHDR_GET_NEXT.

◆ duk__get_boolean_raw()

DUK_LOCAL DUK_ALWAYS_INLINE duk_bool_t duk__get_boolean_raw ( duk_hthread thr,
duk_idx_t  idx,
duk_bool_t  def_value 
)

Definition at line 20212 of file duktape.c.

Referenced by duk_require_boolean().

Here is the caller graph for this function:

◆ duk__get_buffer_helper()

DUK_LOCAL void * duk__get_buffer_helper ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size,
void *  def_ptr,
duk_size_t  def_size,
duk_bool_t  throw_flag 
)

Definition at line 20635 of file duktape.c.

Referenced by duk_get_buffer_data_raw().

Here is the caller graph for this function:

◆ duk__get_bufobj_this()

DUK_LOCAL duk_hbufobj * duk__get_bufobj_this ( duk_hthread thr)

Definition at line 27960 of file duktape.c.

◆ duk__get_current_pc()

DUK_LOCAL duk_int_t duk__get_current_pc ( duk_compiler_ctx comp_ctx)

Definition at line 70149 of file duktape.c.

◆ duk__get_default_h_size()

DUK_LOCAL duk_uint32_t duk__get_default_h_size ( duk_uint32_t  e_size)

Definition at line 58121 of file duktape.c.

◆ duk__get_hobject_promote_mask_raw()

DUK_LOCAL duk_hobject * duk__get_hobject_promote_mask_raw ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  type_mask 
)

Definition at line 21160 of file duktape.c.

Referenced by duk_require_hobject_promote_mask().

Here is the caller graph for this function:

◆ duk__get_identifier_reference()

DUK_LOCAL duk_bool_t duk__get_identifier_reference ( duk_hthread thr,
duk_hobject env,
duk_hstring name,
duk_activation act,
duk_bool_t  parents,
duk__id_lookup_result out 
)

Definition at line 84775 of file duktape.c.

Referenced by duk__declvar_helper().

Here is the caller graph for this function:

◆ duk__get_instr_ptr()

DUK_LOCAL duk_compiler_instr * duk__get_instr_ptr ( duk_compiler_ctx comp_ctx,
duk_int_t  pc 
)

Definition at line 70155 of file duktape.c.

◆ duk__get_min_grow_a()

DUK_LOCAL duk_uint32_t duk__get_min_grow_a ( duk_uint32_t  a_size)

Definition at line 58161 of file duktape.c.

◆ duk__get_min_grow_e()

DUK_LOCAL duk_uint32_t duk__get_min_grow_e ( duk_uint32_t  e_size)

Definition at line 58152 of file duktape.c.

◆ duk__get_number_raw()

DUK_LOCAL DUK_ALWAYS_INLINE duk_double_t duk__get_number_raw ( duk_hthread thr,
duk_idx_t  idx,
duk_double_t  def_value 
)

Definition at line 20270 of file duktape.c.

◆ duk__get_own_propdesc_raw()

DUK_LOCAL duk_bool_t duk__get_own_propdesc_raw ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_uint32_t  arr_idx,
duk_propdesc out_desc,
duk_small_uint_t  flags 
)

Definition at line 59769 of file duktape.c.

References duk_propdesc::a_idx, duk_hbufobj::buf, DUK__NO_ARRAY_INDEX, DUK__VALSTACK_SPACE, DUK_ASSERT, DUK_ASSERT_SET_GARBAGE, DUK_ASSERT_VALSTACK_SPACE, DUK_D, DUK_DDD, DUK_DDDPRINT, DUK_DPRINT, DUK_GETDESC_FLAG_PUSH_VALUE, DUK_HARRAY_ASSERT_VALID, DUK_HARRAY_LENGTH_WRITABLE, DUK_HBUFFER_GET_DATA_PTR, DUK_HBUFOBJ_ASSERT_VALID, DUK_HBUFOBJ_HAS_VIRTUAL_INDICES, duk_hbufobj_push_validated_read(), DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL, DUK_HOBJECT_A_GET_VALUE_PTR, DUK_HOBJECT_CLASS_ARRAYBUFFER, DUK_HOBJECT_E_GET_FLAGS, DUK_HOBJECT_E_GET_VALUE_GETTER, DUK_HOBJECT_E_GET_VALUE_SETTER, DUK_HOBJECT_E_GET_VALUE_TVAL_PTR, duk_hobject_find_entry(), DUK_HOBJECT_GET_ASIZE, DUK_HOBJECT_GET_CLASS_NUMBER, duk_hobject_get_internal_value_string(), DUK_HOBJECT_HAS_ARRAY_PART, DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS, DUK_HOBJECT_HAS_EXOTIC_ARRAY, DUK_HOBJECT_HAS_EXOTIC_STRINGOBJ, DUK_HOBJECT_HAS_VIRTUAL_PROPERTIES, DUK_HOBJECT_IS_BUFOBJ, DUK_HSTRING_GET_CHARLEN, DUK_HTHREAD_STRING_LENGTH, DUK_PROPDESC_FLAG_ACCESSOR, DUK_PROPDESC_FLAG_CONFIGURABLE, DUK_PROPDESC_FLAG_ENUMERABLE, DUK_PROPDESC_FLAG_VIRTUAL, DUK_PROPDESC_FLAG_WRITABLE, duk_push_hstring(), duk_push_tval(), duk_push_uint(), duk_push_undefined(), DUK_STATS_INC, duk_substring(), DUK_TVAL_IS_UNUSED, DUK_UNLIKELY, duk_propdesc::e_idx, duk_propdesc::flags, duk_propdesc::get, duk_propdesc::h_idx, duk_hthread::heap, duk_hbufobj::length, duk_harray::length, duk_hbufobj::offset, duk_propdesc::set, and duk_hbufobj::shift.

Referenced by duk__get_propdesc(), duk_hobject_define_property_helper(), and duk_hobject_putprop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__get_part_helper()

DUK_LOCAL duk_ret_t duk__get_part_helper ( duk_hthread thr,
duk_small_uint_t  flags_and_idx 
)

Definition at line 33822 of file duktape.c.

Referenced by duk_bi_date_prototype_get_timezone_offset().

Here is the caller graph for this function:

◆ duk__get_pointer_raw()

DUK_LOCAL void * duk__get_pointer_raw ( duk_hthread thr,
duk_idx_t  idx,
void *  def_value 
)

Definition at line 20562 of file duktape.c.

◆ duk__get_propdesc()

DUK_LOCAL duk_bool_t duk__get_propdesc ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_propdesc out_desc,
duk_small_uint_t  flags 
)

◆ duk__get_symbol_type()

DUK_LOCAL duk_small_uint_t duk__get_symbol_type ( duk_hstring h)

◆ duk__get_symbol_type_string()

DUK_LOCAL const char * duk__get_symbol_type_string ( duk_hstring h)

Definition at line 18780 of file duktape.c.

◆ duk__get_tagged_heaphdr_raw()

DUK_LOCAL duk_heaphdr * duk__get_tagged_heaphdr_raw ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  tag 
)

Definition at line 20817 of file duktape.c.

Referenced by duk_require_hcompfunc(), duk_require_hnatfunc(), duk_require_hstring(), and duk_require_hthread().

Here is the caller graph for this function:

◆ duk__get_textdecoder_context()

DUK_LOCAL duk__decode_context * duk__get_textdecoder_context ( duk_hthread thr)

Definition at line 35722 of file duktape.c.

◆ duk__get_this_regexp()

DUK_LOCAL void duk__get_this_regexp ( duk_hthread thr)

Definition at line 42466 of file duktape.c.

Referenced by duk_bi_regexp_prototype_test().

Here is the caller graph for this function:

◆ duk__getconst()

DUK_LOCAL duk_regconst_t duk__getconst ( duk_compiler_ctx comp_ctx)

Definition at line 71056 of file duktape.c.

References duk_compiler_ctx::curr_func, duk_compiler_func::temp_max, and duk_compiler_func::temp_next.

Referenced by duk__init_varmap_and_prologue_for_pass2().

Here is the caller graph for this function:

◆ duk__getid_activation_regs()

DUK_LOCAL duk_bool_t duk__getid_activation_regs ( duk_hthread thr,
duk_hstring name,
duk_activation act,
duk__id_lookup_result out 
)

Definition at line 84729 of file duktape.c.

◆ duk__getid_open_decl_env_regs()

DUK_LOCAL duk_bool_t duk__getid_open_decl_env_regs ( duk_hthread thr,
duk_hstring name,
duk_hdecenv env,
duk__id_lookup_result out 
)

Definition at line 84683 of file duktape.c.

◆ duk__getprop_fastpath_bufobj_tval()

DUK_LOCAL duk_bool_t duk__getprop_fastpath_bufobj_tval ( duk_hthread thr,
duk_hobject obj,
duk_tval tv_key 
)

Definition at line 60347 of file duktape.c.

◆ duk__getprop_shallow_fastpath_array_tval()

DUK_LOCAL duk_tval * duk__getprop_shallow_fastpath_array_tval ( duk_hthread thr,
duk_hobject obj,
duk_tval tv_key 
)

Definition at line 60216 of file duktape.c.

References duk__tval_fastint_to_arr_idx(), duk__tval_number_to_arr_idx(), DUK_DDD, DUK_DDDPRINT, DUK_HOBJECT_GET_ASIZE, DUK_HOBJECT_HAS_ARRAY_PART, DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS, DUK_HOBJECT_HAS_EXOTIC_STRINGOBJ, DUK_HOBJECT_IS_BUFOBJ, DUK_HOBJECT_IS_PROXY, DUK_TVAL_IS_DOUBLE, DUK_TVAL_IS_FASTINT, and DUK_UNREF.

Here is the call graph for this function:

◆ duk__getrequire_bufobj_this()

DUK_LOCAL duk_heaphdr * duk__getrequire_bufobj_this ( duk_hthread thr,
duk_small_uint_t  flags 
)

Definition at line 27917 of file duktape.c.

Referenced by duk__require_bufobj_value().

Here is the caller graph for this function:

◆ duk__getvar_helper()

DUK_LOCAL duk_bool_t duk__getvar_helper ( duk_hthread thr,
duk_hobject env,
duk_activation act,
duk_hstring name,
duk_bool_t  throw_flag 
)

Definition at line 85100 of file duktape.c.

◆ duk__grow_props_for_array_item()

DUK_LOCAL void duk__grow_props_for_array_item ( duk_hthread thr,
duk_hobject obj,
duk_uint32_t  highest_arr_idx 
)

Definition at line 59070 of file duktape.c.

References DUK_UINT16_MAX.

◆ duk__grow_props_for_new_entry_item()

DUK_LOCAL void duk__grow_props_for_new_entry_item ( duk_hthread thr,
duk_hobject obj 
)

Definition at line 59021 of file duktape.c.

◆ duk__handle_bound_chain_for_call()

DUK_LOCAL void duk__handle_bound_chain_for_call ( duk_hthread thr,
duk_idx_t  idx_func,
duk_bool_t  is_constructor_call 
)

Definition at line 66617 of file duktape.c.

◆ duk__handle_break_or_continue()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_break_or_continue ( duk_hthread thr,
duk_uint_t  label_id,
duk_small_uint_t  lj_type 
)

Definition at line 78669 of file duktape.c.

◆ duk__handle_call_raw()

DUK_LOCAL duk_int_t duk__handle_call_raw ( duk_hthread thr,
duk_idx_t  idx_func,
duk_small_uint_t  call_flags 
)

Definition at line 68014 of file duktape.c.

References duk_heap::call_recursion_depth, duk_heap::call_recursion_limit, duk_hthread::callstack_curr, duk_hthread::callstack_preventcount, duk_hthread::callstack_top, duk_activation::cat, duk_activation::curr_pc, duk_heap::curr_thread, duk__call_c_recursion_limit_check(), duk__call_env_setup(), DUK__CALL_HANDLING_REQUIRE_STACK, duk__call_setup_act_attempt_tailcall(), duk__call_setup_act_not_tailcall(), duk__call_thread_state_update(), duk__resolve_target_fastpath_check(), duk__resolve_target_func_and_this_binding(), DUK_ACT_FLAG_PREVENT_YIELD, DUK_ACT_GET_FUNC, DUK_ASSERT, duk_call_construct_postprocess(), DUK_CALL_FLAG_ALLOW_ECMATOECMA, DUK_CALL_FLAG_CONSTRUCT, DUK_CALL_FLAG_CONSTRUCT_PROXY, DUK_CALL_FLAG_TAILCALL, DUK_CAT_GET_TYPE, DUK_CAT_TYPE_LABEL, DUK_CTX_ASSERT_VALID, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, duk_error_throw_from_negative_rc(), DUK_ERROR_TYPE, duk_get_top(), DUK_HCOMPFUNC_GET_CODE_BASE, DUK_HEAP_SWITCH_THREAD, DUK_HOBJECT_HAS_BOUNDFUNC, DUK_HOBJECT_HAS_COMPFUNC, DUK_HOBJECT_IS_COMPFUNC, DUK_HOBJECT_IS_NATFUNC, duk_hthread_activation_unwind_norz(), DUK_HTHREAD_STATE_INACTIVE, DUK_HTHREAD_STATE_RUNNING, duk_hthread_sync_and_null_currpc(), duk_is_valid_index(), duk_js_execute_bytecode(), DUK_LIKELY, DUK_REFZERO_CHECK_FAST, duk_require_stack(), duk_set_top_and_wipe(), duk_set_top_unsafe(), DUK_STATS_INC, DUK_STR_INVALID_CFUNC_RC, DUK_TVAL_CHKFAST_INPLACE_FAST, DUK_TVAL_GET_LIGHTFUNC_FUNCPTR, DUK_TVAL_IS_LIGHTFUNC, DUK_TVAL_IS_UNDEFINED, DUK_TVAL_SET_TVAL_UPDREF, duk_valstack_grow_check_throw(), DUK_WO_NORETURN, duk_activation::flags, duk_hthread::heap, duk_activation::parent, duk_catcher::parent, duk_hthread::ptr_curr_pc, duk_activation::reserve_byteoff, duk_hthread::state, duk_activation::tv_func, duk_hthread::valstack, duk_hthread::valstack_alloc_end, duk_hthread::valstack_bottom, duk_hthread::valstack_end, and duk_hthread::valstack_top.

Here is the call graph for this function:

◆ duk__handle_catch_part1()

DUK_LOCAL void duk__handle_catch_part1 ( duk_hthread thr,
duk_tval tv_val_unstable,
duk_small_uint_t  lj_type,
volatile duk_bool_t out_delayed_catch_setup 
)

Definition at line 78026 of file duktape.c.

◆ duk__handle_catch_part2()

DUK_LOCAL void duk__handle_catch_part2 ( duk_hthread thr)

Definition at line 78087 of file duktape.c.

References DUK_DDD, and DUK_DDDPRINT.

◆ duk__handle_createargs_for_call()

DUK_LOCAL void duk__handle_createargs_for_call ( duk_hthread thr,
duk_hobject func,
duk_hobject env,
duk_idx_t  idx_args 
)

Definition at line 66487 of file duktape.c.

◆ duk__handle_executor_error()

DUK_LOCAL void duk__handle_executor_error ( duk_heap heap,
duk_activation entry_act,
duk_int_t  entry_call_recursion_depth,
duk_jmpbuf entry_jmpbuf_ptr,
volatile duk_bool_t out_delayed_catch_setup 
)

Definition at line 80032 of file duktape.c.

References duk_heap::call_recursion_depth, duk_heap::curr_thread, duk__handle_longjmp(), DUK_ASSERT, duk_ljstate::jmpbuf_ptr, duk_heap::lj, duk_heap::pf_prevent_count, and duk_hthread::ptr_curr_pc.

Here is the call graph for this function:

◆ duk__handle_finally()

DUK_LOCAL void duk__handle_finally ( duk_hthread thr,
duk_tval tv_val_unstable,
duk_small_uint_t  lj_type 
)

Definition at line 78165 of file duktape.c.

◆ duk__handle_label()

DUK_LOCAL void duk__handle_label ( duk_hthread thr,
duk_small_uint_t  lj_type 
)

Definition at line 78200 of file duktape.c.

◆ duk__handle_longjmp()

DUK_LOCAL duk_small_uint_t duk__handle_longjmp ( duk_hthread thr,
duk_activation entry_act,
volatile duk_bool_t out_delayed_catch_setup 
)

Definition at line 78256 of file duktape.c.

Referenced by duk__handle_executor_error().

Here is the caller graph for this function:

◆ duk__handle_oldenv_for_call()

DUK_LOCAL void duk__handle_oldenv_for_call ( duk_hthread thr,
duk_hobject func,
duk_activation act 
)

Definition at line 67033 of file duktape.c.

◆ duk__handle_op_endcatch()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_instr_t * duk__handle_op_endcatch ( duk_hthread thr,
duk_uint_fast32_t  ins 
)

Definition at line 79610 of file duktape.c.

◆ duk__handle_op_endfin()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_small_uint_t duk__handle_op_endfin ( duk_hthread thr,
duk_uint_fast32_t  ins,
duk_activation entry_act 
)

Definition at line 79672 of file duktape.c.

◆ duk__handle_op_endtry()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_instr_t * duk__handle_op_endtry ( duk_hthread thr,
duk_uint_fast32_t  ins 
)

Definition at line 79565 of file duktape.c.

◆ duk__handle_op_initenum()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_op_initenum ( duk_hthread thr,
duk_uint_fast32_t  ins 
)

Definition at line 79776 of file duktape.c.

◆ duk__handle_op_initset_initget()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_op_initset_initget ( duk_hthread thr,
duk_uint_fast32_t  ins 
)

◆ duk__handle_op_nextenum()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF duk_small_uint_t duk__handle_op_nextenum ( duk_hthread thr,
duk_uint_fast32_t  ins 
)

Definition at line 79804 of file duktape.c.

◆ duk__handle_op_trycatch()

DUK_LOCAL DUK_EXEC_NOINLINE_PERF void duk__handle_op_trycatch ( duk_hthread thr,
duk_uint_fast32_t  ins,
duk_instr_t curr_pc 
)

Definition at line 79400 of file duktape.c.

◆ duk__handle_proxy_for_call()

DUK_LOCAL void duk__handle_proxy_for_call ( duk_hthread thr,
duk_idx_t  idx_func,
duk_hproxy h_proxy,
duk_small_uint_t call_flags 
)

Definition at line 66921 of file duktape.c.

◆ duk__handle_put_array_length()

DUK_LOCAL duk_bool_t duk__handle_put_array_length ( duk_hthread thr,
duk_hobject obj 
)

Definition at line 61377 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__handle_put_array_length_smaller()

DUK_LOCAL duk_bool_t duk__handle_put_array_length_smaller ( duk_hthread thr,
duk_hobject obj,
duk_uint32_t  old_len,
duk_uint32_t  new_len,
duk_bool_t  force_flag,
duk_uint32_t *  out_result_len 
)

Definition at line 61184 of file duktape.c.

Referenced by duk_hobject_define_property_helper().

Here is the caller graph for this function:

◆ duk__handle_return()

DUK_LOCAL duk_small_uint_t duk__handle_return ( duk_hthread thr,
duk_activation entry_act 
)

Definition at line 78733 of file duktape.c.

◆ duk__handle_safe_call_error()

DUK_LOCAL void duk__handle_safe_call_error ( duk_hthread thr,
duk_activation entry_act,
duk_hthread entry_curr_thread,
duk_uint_fast8_t  entry_thread_state,
duk_idx_t  idx_retbase,
duk_idx_t  num_stack_rets,
duk_size_t  entry_valstack_bottom_byteoff,
duk_jmpbuf old_jmpbuf_ptr 
)

Definition at line 68567 of file duktape.c.

◆ duk__handle_safe_call_inner()

DUK_LOCAL void duk__handle_safe_call_inner ( duk_hthread thr,
duk_safe_call_function  func,
void *  udata,
duk_hthread entry_curr_thread,
duk_uint_fast8_t  entry_thread_state,
duk_idx_t  idx_retbase,
duk_idx_t  num_stack_rets 
)

Definition at line 68506 of file duktape.c.

◆ duk__handle_safe_call_shared_unwind()

DUK_LOCAL void duk__handle_safe_call_shared_unwind ( duk_hthread thr,
duk_idx_t  idx_retbase,
duk_idx_t  num_stack_rets,
duk_int_t  entry_call_recursion_depth,
duk_hthread entry_curr_thread,
duk_instr_t **  entry_ptr_curr_pc 
)

Definition at line 68661 of file duktape.c.

◆ duk__handle_specialfuncs_for_call()

DUK_LOCAL duk_bool_t duk__handle_specialfuncs_for_call ( duk_hthread thr,
duk_idx_t  idx_func,
duk_hobject func,
duk_small_uint_t call_flags,
duk_bool_t  first 
)

Definition at line 66707 of file duktape.c.

◆ duk__handle_temproot()

DUK_LOCAL void duk__handle_temproot ( duk_heap heap,
duk_heaphdr hdr 
)

Definition at line 52469 of file duktape.c.

References duk__handle_temproot(), DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_HEAPHDR_HAS_TEMPROOT, and DUK_LOCAL.

Referenced by duk__handle_temproot().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__handle_yield()

DUK_LOCAL void duk__handle_yield ( duk_hthread thr,
duk_hthread resumer,
duk_tval tv_val_unstable 
)

Definition at line 78234 of file duktape.c.

◆ duk__hbuffer_refzero_helper()

DUK_LOCAL DUK__RZ_INLINE void duk__hbuffer_refzero_helper ( duk_hthread thr,
duk_hbuffer h 
)

Definition at line 54746 of file duktape.c.

◆ duk__hbufobj_fixed_from_argvalue()

DUK_LOCAL duk_hbuffer * duk__hbufobj_fixed_from_argvalue ( duk_hthread thr)

Definition at line 28314 of file duktape.c.

Referenced by duk_bi_uint8array_plainof().

Here is the caller graph for this function:

◆ duk__hbufobj_promote_this()

DUK_LOCAL duk_hbufobj * duk__hbufobj_promote_this ( duk_hthread thr)

Definition at line 27893 of file duktape.c.

◆ duk__heap_free_activation_freelist()

DUK_LOCAL duk_size_t duk__heap_free_activation_freelist ( duk_heap heap)

Definition at line 50394 of file duktape.c.

References duk_heap::activation_free, and duk_activation::parent.

◆ duk__heap_free_catcher_freelist()

DUK_LOCAL duk_size_t duk__heap_free_catcher_freelist ( duk_heap heap)

Definition at line 50413 of file duktape.c.

◆ duk__heap_mem_alloc_slowpath()

DUK_LOCAL DUK_NOINLINE_PERF DUK_COLD void * duk__heap_mem_alloc_slowpath ( duk_heap heap,
duk_size_t  size 
)

Definition at line 53572 of file duktape.c.

◆ duk__heap_mem_realloc_indirect_slowpath()

DUK_LOCAL DUK_NOINLINE_PERF DUK_COLD void * duk__heap_mem_realloc_indirect_slowpath ( duk_heap heap,
duk_mem_getptr  cb,
void *  ud,
duk_size_t  newsize 
)

Definition at line 53834 of file duktape.c.

◆ duk__heap_mem_realloc_slowpath()

DUK_LOCAL DUK_NOINLINE_PERF DUK_COLD void * duk__heap_mem_realloc_slowpath ( duk_heap heap,
void *  ptr,
duk_size_t  newsize 
)

Definition at line 53732 of file duktape.c.

◆ duk__heaphdr_refzero_helper()

DUK_LOCAL DUK__RZ_INLINE void duk__heaphdr_refzero_helper ( duk_hthread thr,
duk_heaphdr h,
duk_bool_t  skip_free_pending 
)

Definition at line 54768 of file duktape.c.

Referenced by duk_hobject_refzero_norz().

Here is the caller graph for this function:

◆ duk__hexval()

◆ duk__hexval_validate()

DUK_LOCAL duk_codepoint_t duk__hexval_validate ( duk_codepoint_t  x)

◆ duk__hobject_alloc_entry_checked()

DUK_LOCAL duk_int_t duk__hobject_alloc_entry_checked ( duk_hthread thr,
duk_hobject obj,
duk_hstring key 
)

Definition at line 59406 of file duktape.c.

Referenced by duk_hobject_define_property_helper(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__hobject_alloc_init()

DUK_LOCAL void * duk__hobject_alloc_init ( duk_hthread thr,
duk_uint_t  hobject_flags,
duk_size_t  size 
)

Definition at line 56524 of file duktape.c.

Referenced by duk_hthread_alloc_unchecked().

Here is the caller graph for this function:

◆ duk__hobject_get_entry_object_stridx()

DUK_LOCAL duk_hobject * duk__hobject_get_entry_object_stridx ( duk_heap heap,
duk_hobject obj,
duk_small_uint_t  stridx 
)

Definition at line 59515 of file duktape.c.

Referenced by duk__lookup_arguments_map().

Here is the caller graph for this function:

◆ duk__hobject_pc2line_query_raw()

DUK_LOCAL duk_uint_fast32_t duk__hobject_pc2line_query_raw ( duk_hthread thr,
duk_hbuffer_fixed buf,
duk_uint_fast32_t  pc 
)

Definition at line 57773 of file duktape.c.

◆ duk__hobject_refzero_helper()

DUK_LOCAL DUK__RZ_INLINE void duk__hobject_refzero_helper ( duk_hthread thr,
duk_hobject h,
duk_bool_t  skip_free_pending 
)

Definition at line 54757 of file duktape.c.

◆ duk__hstring_get_charlen_slowpath()

DUK_LOCAL DUK_COLD duk_size_t duk__hstring_get_charlen_slowpath ( duk_hstring h)

Definition at line 64369 of file duktape.c.

References DUK_HSTRING_SET_ASCII.

◆ duk__hstring_is_eval_or_arguments()

DUK_LOCAL duk_bool_t duk__hstring_is_eval_or_arguments ( duk_compiler_ctx comp_ctx,
duk_hstring h 
)

Definition at line 69477 of file duktape.c.

Referenced by duk__init_varmap_and_prologue_for_pass2(), and duk__parse_func_body().

Here is the caller graph for this function:

◆ duk__hstring_is_eval_or_arguments_in_strict_mode()

DUK_LOCAL duk_bool_t duk__hstring_is_eval_or_arguments_in_strict_mode ( duk_compiler_ctx comp_ctx,
duk_hstring h 
)

Definition at line 69483 of file duktape.c.

Referenced by duk__parse_var_decl().

Here is the caller graph for this function:

◆ duk__hstring_refzero_helper()

DUK_LOCAL DUK__RZ_INLINE void duk__hstring_refzero_helper ( duk_hthread thr,
duk_hstring h 
)

Definition at line 54735 of file duktape.c.

◆ duk__hstring_sort_key()

DUK_LOCAL duk__sort_key_t duk__hstring_sort_key ( duk_hstring x)

Definition at line 56941 of file duktape.c.

◆ duk__hthread_activation_alloc_slow()

DUK_LOCAL DUK_NOINLINE duk_activation * duk__hthread_activation_alloc_slow ( duk_hthread thr)

Definition at line 65631 of file duktape.c.

Referenced by duk__activation_unwind_nofree_norz(), and duk_hthread_activation_free().

Here is the caller graph for this function:

◆ duk__hthread_catcher_alloc_slow()

DUK_LOCAL DUK_NOINLINE duk_catcher * duk__hthread_catcher_alloc_slow ( duk_hthread thr)

Definition at line 65586 of file duktape.c.

References duk_activation::cat, and DUK_ASSERT.

Referenced by duk_hthread_catcher_free().

Here is the caller graph for this function:

◆ duk__inc_data_inner_refcounts()

DUK_LOCAL void duk__inc_data_inner_refcounts ( duk_hthread thr,
duk_hcompfunc f 
)

Definition at line 83989 of file duktape.c.

◆ duk__init_func_valstack_slots()

DUK_LOCAL void duk__init_func_valstack_slots ( duk_compiler_ctx comp_ctx)

Definition at line 69570 of file duktape.c.

◆ duk__init_heap_strings()

DUK_LOCAL duk_bool_t duk__init_heap_strings ( duk_heap heap)

Definition at line 50724 of file duktape.c.

◆ duk__init_heap_thread()

DUK_LOCAL duk_bool_t duk__init_heap_thread ( duk_heap heap)

Definition at line 50787 of file duktape.c.

◆ duk__init_lexer_window()

DUK_LOCAL void duk__init_lexer_window ( duk_lexer_ctx lex_ctx)

Definition at line 86052 of file duktape.c.

◆ duk__init_object_parts()

DUK_LOCAL void duk__init_object_parts ( duk_heap heap,
duk_uint_t  hobject_flags,
duk_hobject obj 
)

Definition at line 56496 of file duktape.c.

Referenced by duk_hobject_alloc_unchecked().

Here is the caller graph for this function:

◆ duk__init_varmap_and_prologue_for_pass2()

DUK_LOCAL void duk__init_varmap_and_prologue_for_pass2 ( duk_compiler_ctx comp_ctx,
duk_regconst_t out_stmt_value_reg 
)

Definition at line 75989 of file duktape.c.

References duk_compiler_func::argnames_idx, duk_compiler_ctx::curr_func, duk_compiler_func::decls_idx, DUK__ALLOCTEMP, DUK__ALLOCTEMPS, duk__emit_a_b_c(), duk__emit_a_bc(), DUK__EMIT_FLAG_BC_REGCONST, DUK__EMIT_FLAG_NO_SHUFFLE_A, duk__getconst(), duk__hstring_is_eval_or_arguments(), DUK__SETTEMP, DUK__SETTEMP_CHECKMAX, DUK_ASSERT, DUK_ASSERT_TOP, DUK_BC_DECLVAR_FLAG_FUNC_DECL, DUK_D, DUK_DDD, DUK_DDDPRINT, DUK_DECL_TYPE_FUNC, DUK_DECL_TYPE_VAR, DUK_DPRINT, duk_dup_top(), DUK_ERROR_RANGE, DUK_ERROR_SYNTAX, duk_get_length(), duk_get_prop(), duk_get_prop_index(), duk_get_top(), duk_get_tval(), duk_has_prop(), duk_has_prop_stridx(), DUK_HSTRING_HAS_STRICT_RESERVED_WORD, DUK_HTHREAD_STRING_LC_ARGUMENTS, duk_known_hstring(), DUK_OP_CLOSURE, DUK_OP_DECLVAR, duk_pop(), DUK_PROPDESC_FLAG_CONFIGURABLE, DUK_PROPDESC_FLAG_ENUMERABLE, DUK_PROPDESC_FLAG_WRITABLE, duk_push_int(), duk_push_null(), duk_push_uarridx, duk_put_prop(), DUK_STR_INVALID_ARG_NAME, DUK_STR_REG_LIMIT, DUK_STRIDX_LC_ARGUMENTS, duk_to_int(), DUK_TVAL_IS_FASTINT, DUK_TVAL_IS_NULL, DUK_WO_NORETURN, duk_compiler_func::is_arguments_shadowed, duk_compiler_func::is_eval, duk_compiler_func::is_function, duk_compiler_func::is_strict, duk_compiler_func::needs_shuffle, duk_compiler_func::shuffle1, duk_compiler_func::shuffle2, duk_compiler_func::shuffle3, duk_compiler_func::temp_next, duk_compiler_ctx::thr, and duk_compiler_func::varmap_idx.

Referenced by duk__parse_func_body().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__initbuffer()

DUK_LOCAL void duk__initbuffer ( duk_lexer_ctx lex_ctx)

Definition at line 86220 of file duktape.c.

◆ duk__inp_backtrack()

DUK_LOCAL const duk_uint8_t * duk__inp_backtrack ( duk_re_matcher_ctx re_ctx,
const duk_uint8_t **  sp,
duk_uint_fast32_t  count 
)

Definition at line 91937 of file duktape.c.

◆ duk__inp_get_cp()

DUK_LOCAL duk_codepoint_t duk__inp_get_cp ( duk_re_matcher_ctx re_ctx,
const duk_uint8_t **  sp 
)

Definition at line 91924 of file duktape.c.

References count().

Here is the call graph for this function:

◆ duk__inp_get_prev_cp()

DUK_LOCAL duk_codepoint_t duk__inp_get_prev_cp ( duk_re_matcher_ctx re_ctx,
const duk_uint8_t *  sp 
)

Definition at line 91942 of file duktape.c.

◆ duk__insert_i32()

DUK_LOCAL duk_uint32_t duk__insert_i32 ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  offset,
duk_int32_t  x 
)

Definition at line 90612 of file duktape.c.

◆ duk__insert_jump_entry()

DUK_LOCAL void duk__insert_jump_entry ( duk_compiler_ctx comp_ctx,
duk_int_t  jump_pc 
)

Definition at line 70734 of file duktape.c.

◆ duk__insert_jump_offset()

DUK_LOCAL duk_uint32_t duk__insert_jump_offset ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  offset,
duk_int32_t  skip 
)

Definition at line 90663 of file duktape.c.

◆ duk__insert_slice()

DUK_LOCAL void duk__insert_slice ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  offset,
duk_uint32_t  data_offset,
duk_uint32_t  data_length 
)

Definition at line 90635 of file duktape.c.

References duk_re_compiler_ctx::bw, duk__append_u32(), DUK_ASSERT, DUK_BW_WRITE_ENSURE_U8, and duk_re_compiler_ctx::thr.

Here is the call graph for this function:

◆ duk__insert_u32()

DUK_LOCAL duk_uint32_t duk__insert_u32 ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  offset,
duk_uint32_t  x 
)

Definition at line 90583 of file duktape.c.

◆ duk__inspect_multiple_uint()

DUK_LOCAL void duk__inspect_multiple_uint ( duk_hthread thr,
const char *  fmt,
duk_int_t vals 
)

Definition at line 17296 of file duktape.c.

Referenced by duk_inspect_value().

Here is the caller graph for this function:

◆ duk__internbuffer()

DUK_LOCAL duk_hstring * duk__internbuffer ( duk_lexer_ctx lex_ctx,
duk_idx_t  valstack_idx 
)

Definition at line 86266 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk__is_hex_digit()

DUK_LOCAL duk_bool_t duk__is_hex_digit ( duk_codepoint_t  x)

Definition at line 86344 of file duktape.c.

◆ duk__ispec_toforcedreg()

DUK_LOCAL void duk__ispec_toforcedreg ( duk_compiler_ctx comp_ctx,
duk_ispec x,
duk_regconst_t  forced_reg 
)

Definition at line 71305 of file duktape.c.

◆ duk__ispec_toregconst_raw()

DUK_LOCAL duk_regconst_t duk__ispec_toregconst_raw ( duk_compiler_ctx comp_ctx,
duk_ispec x,
duk_regconst_t  forced_reg,
duk_small_uint_t  flags 
)

Definition at line 71135 of file duktape.c.

◆ duk__ivalue_plain_fromstack()

DUK_LOCAL void duk__ivalue_plain_fromstack ( duk_compiler_ctx comp_ctx,
duk_ivalue x 
)

Definition at line 70990 of file duktape.c.

Referenced by duk__expr_led().

Here is the caller graph for this function:

◆ duk__ivalue_regconst()

DUK_LOCAL void duk__ivalue_regconst ( duk_ivalue x,
duk_regconst_t  regconst 
)

Definition at line 70984 of file duktape.c.

Referenced by duk__ivalue_toplain().

Here is the caller graph for this function:

◆ duk__ivalue_toforcedreg()

DUK_LOCAL void duk__ivalue_toforcedreg ( duk_compiler_ctx comp_ctx,
duk_ivalue x,
duk_int_t  forced_reg 
)

Definition at line 71586 of file duktape.c.

Referenced by duk__parse_var_decl().

Here is the caller graph for this function:

◆ duk__ivalue_toplain()

DUK_LOCAL void duk__ivalue_toplain ( duk_compiler_ctx comp_ctx,
duk_ivalue x 
)

Definition at line 71518 of file duktape.c.

References duk__ivalue_regconst().

Here is the call graph for this function:

◆ duk__ivalue_toplain_ignore()

DUK_LOCAL void duk__ivalue_toplain_ignore ( duk_compiler_ctx comp_ctx,
duk_ivalue x 
)

Definition at line 71523 of file duktape.c.

◆ duk__ivalue_toplain_raw()

DUK_LOCAL void duk__ivalue_toplain_raw ( duk_compiler_ctx comp_ctx,
duk_ivalue x,
duk_regconst_t  forced_reg 
)

Definition at line 71315 of file duktape.c.

◆ duk__ivalue_toreg()

DUK_LOCAL duk_regconst_t duk__ivalue_toreg ( duk_compiler_ctx comp_ctx,
duk_ivalue x 
)

Definition at line 71576 of file duktape.c.

Referenced by duk__exprtop_toregconst(), and duk__parse_var_decl().

Here is the caller graph for this function:

◆ duk__ivalue_toregconst()

DUK_LOCAL duk_regconst_t duk__ivalue_toregconst ( duk_compiler_ctx comp_ctx,
duk_ivalue x 
)

Definition at line 71591 of file duktape.c.

◆ duk__ivalue_toregconst_raw()

DUK_LOCAL duk_regconst_t duk__ivalue_toregconst_raw ( duk_compiler_ctx comp_ctx,
duk_ivalue x,
duk_regconst_t  forced_reg,
duk_small_uint_t  flags 
)

Definition at line 71541 of file duktape.c.

Referenced by duk__lookup_active_register_binding().

Here is the caller graph for this function:

◆ duk__ivalue_totempconst()

DUK_LOCAL duk_regconst_t duk__ivalue_totempconst ( duk_compiler_ctx comp_ctx,
duk_ivalue x 
)

Definition at line 71595 of file duktape.c.

◆ duk__ivalue_var_fromstack()

DUK_LOCAL void duk__ivalue_var_fromstack ( duk_compiler_ctx comp_ctx,
duk_ivalue x 
)

Definition at line 70996 of file duktape.c.

◆ duk__ivalue_var_hstring()

DUK_LOCAL_DECL void duk__ivalue_var_hstring ( duk_compiler_ctx comp_ctx,
duk_ivalue x,
duk_hstring h 
)

◆ duk__js_compile_raw()

DUK_LOCAL duk_ret_t duk__js_compile_raw ( duk_hthread thr,
void *  udata 
)

Definition at line 76892 of file duktape.c.

◆ duk__js_equals_number()

DUK_LOCAL duk_bool_t duk__js_equals_number ( duk_double_t  x,
duk_double_t  y 
)

Definition at line 82871 of file duktape.c.

◆ duk__js_execute_bytecode_inner()

DUK_LOCAL DUK_NOINLINE DUK_HOT void duk__js_execute_bytecode_inner ( duk_hthread entry_thread,
duk_activation entry_act 
)

Definition at line 80221 of file duktape.c.

References duk_heap::curr_thread, DUK_ASSERT, DUK_ERROR_TYPE, and DUK_WO_NORETURN.

◆ duk__js_instanceof_helper()

DUK_LOCAL duk_bool_t duk__js_instanceof_helper ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y,
duk_bool_t  skip_sym_check 
)

Definition at line 83456 of file duktape.c.

◆ duk__js_samevalue_number()

DUK_LOCAL duk_bool_t duk__js_samevalue_number ( duk_double_t  x,
duk_double_t  y 
)

Definition at line 82909 of file duktape.c.

References DUK_ASSERT, duk_double_equals(), DUK_FP_NAN, DUK_FP_ZERO, and DUK_FPCLASSIFY.

Here is the call graph for this function:

◆ duk__json_dec_array()

DUK_LOCAL void duk__json_dec_array ( duk_json_dec_ctx js_ctx)

Definition at line 38173 of file duktape.c.

◆ duk__json_dec_buffer()

DUK_LOCAL void duk__json_dec_buffer ( duk_json_dec_ctx js_ctx)

Definition at line 37945 of file duktape.c.

◆ duk__json_dec_decode_hex_escape()

DUK_LOCAL duk_uint_fast32_t duk__json_dec_decode_hex_escape ( duk_json_dec_ctx js_ctx,
duk_small_uint_t  n 
)

Definition at line 37610 of file duktape.c.

References DUK_ASSERT, duk_json_dec_ctx::p, and duk_json_dec_ctx::p_end.

◆ duk__json_dec_eat_white()

DUK_LOCAL void duk__json_dec_eat_white ( duk_json_dec_ctx js_ctx)

◆ duk__json_dec_get()

DUK_LOCAL duk_uint8_t duk__json_dec_get ( duk_json_dec_ctx js_ctx)

Definition at line 37599 of file duktape.c.

◆ duk__json_dec_get_nonwhite()

DUK_LOCAL duk_uint8_t duk__json_dec_get_nonwhite ( duk_json_dec_ctx js_ctx)

Definition at line 37604 of file duktape.c.

References DUK_ASSERT, duk_json_dec_ctx::p, and duk_json_dec_ctx::p_end.

◆ duk__json_dec_number()

DUK_LOCAL void duk__json_dec_number ( duk_json_dec_ctx js_ctx)

Definition at line 38003 of file duktape.c.

◆ duk__json_dec_objarr_entry()

DUK_LOCAL void duk__json_dec_objarr_entry ( duk_json_dec_ctx js_ctx)

Definition at line 38066 of file duktape.c.

◆ duk__json_dec_objarr_exit()

DUK_LOCAL void duk__json_dec_objarr_exit ( duk_json_dec_ctx js_ctx)

Definition at line 38083 of file duktape.c.

◆ duk__json_dec_object()

DUK_LOCAL void duk__json_dec_object ( duk_json_dec_ctx js_ctx)

Definition at line 38091 of file duktape.c.

◆ duk__json_dec_peek()

DUK_LOCAL duk_uint8_t duk__json_dec_peek ( duk_json_dec_ctx js_ctx)

Definition at line 37593 of file duktape.c.

◆ duk__json_dec_plain_string()

DUK_LOCAL void duk__json_dec_plain_string ( duk_json_dec_ctx js_ctx)

Definition at line 37850 of file duktape.c.

◆ duk__json_dec_pointer()

DUK_LOCAL void duk__json_dec_pointer ( duk_json_dec_ctx js_ctx)

Definition at line 37892 of file duktape.c.

◆ duk__json_dec_req_stridx()

DUK_LOCAL void duk__json_dec_req_stridx ( duk_json_dec_ctx js_ctx,
duk_small_uint_t  stridx 
)

Definition at line 37642 of file duktape.c.

◆ duk__json_dec_reviver_walk()

DUK_LOCAL void duk__json_dec_reviver_walk ( duk_json_dec_ctx js_ctx)

Definition at line 38314 of file duktape.c.

◆ duk__json_dec_string()

DUK_LOCAL void duk__json_dec_string ( duk_json_dec_ctx js_ctx)

Definition at line 37741 of file duktape.c.

◆ duk__json_dec_string_escape()

DUK_LOCAL duk_small_int_t duk__json_dec_string_escape ( duk_json_dec_ctx js_ctx,
duk_uint8_t **  ext_p 
)

Definition at line 37679 of file duktape.c.

◆ duk__json_dec_syntax_error()

DUK_LOCAL void duk__json_dec_syntax_error ( duk_json_dec_ctx js_ctx)

Definition at line 37553 of file duktape.c.

◆ duk__json_dec_value()

DUK_LOCAL void duk__json_dec_value ( duk_json_dec_ctx js_ctx)

Definition at line 38241 of file duktape.c.

◆ duk__json_enc_allow_into_proplist()

DUK_LOCAL duk_bool_t duk__json_enc_allow_into_proplist ( duk_tval tv)

Definition at line 39608 of file duktape.c.

◆ duk__json_enc_array()

DUK_LOCAL void duk__json_enc_array ( duk_json_enc_ctx js_ctx)

Definition at line 39280 of file duktape.c.

◆ duk__json_enc_buffer_data()

DUK_LOCAL void duk__json_enc_buffer_data ( duk_json_enc_ctx js_ctx,
duk_uint8_t *  buf_data,
duk_size_t  buf_len 
)

Definition at line 38865 of file duktape.c.

References duk_lc_digits.

◆ duk__json_enc_buffer_data_hex()

DUK_LOCAL duk_uint8_t * duk__json_enc_buffer_data_hex ( const duk_uint8_t *  src,
duk_size_t  src_len,
duk_uint8_t *  dst 
)

Definition at line 38788 of file duktape.c.

◆ duk__json_enc_buffer_jx_jc()

DUK_LOCAL void duk__json_enc_buffer_jx_jc ( duk_json_enc_ctx js_ctx,
duk_hbuffer h 
)

Definition at line 38919 of file duktape.c.

◆ duk__json_enc_bufobj()

DUK_LOCAL void duk__json_enc_bufobj ( duk_json_enc_ctx js_ctx,
duk_hbufobj h_bufobj 
)

Definition at line 39012 of file duktape.c.

◆ duk__json_enc_double()

DUK_LOCAL void duk__json_enc_double ( duk_json_enc_ctx js_ctx)

Definition at line 38701 of file duktape.c.

◆ duk__json_enc_fastint_tval()

DUK_LOCAL void duk__json_enc_fastint_tval ( duk_json_enc_ctx js_ctx,
duk_tval tv 
)

Definition at line 38763 of file duktape.c.

◆ duk__json_enc_key_autoquote()

DUK_LOCAL void duk__json_enc_key_autoquote ( duk_json_enc_ctx js_ctx,
duk_hstring k 
)

Definition at line 38514 of file duktape.c.

References duk_lc_digits.

◆ duk__json_enc_newline_indent()

DUK_LOCAL void duk__json_enc_newline_indent ( duk_json_enc_ctx js_ctx,
duk_uint_t  depth 
)

◆ duk__json_enc_objarr_entry()

DUK_LOCAL void duk__json_enc_objarr_entry ( duk_json_enc_ctx js_ctx,
duk_idx_t entry_top 
)

Definition at line 39094 of file duktape.c.

◆ duk__json_enc_objarr_exit()

DUK_LOCAL void duk__json_enc_objarr_exit ( duk_json_enc_ctx js_ctx,
duk_idx_t entry_top 
)

Definition at line 39150 of file duktape.c.

References DUK_ERROR_RANGE, DUK_STR_ENC_RECLIMIT, and DUK_WO_NORETURN.

◆ duk__json_enc_object()

DUK_LOCAL void duk__json_enc_object ( duk_json_enc_ctx js_ctx)

Definition at line 39183 of file duktape.c.

◆ duk__json_enc_pointer()

DUK_LOCAL void duk__json_enc_pointer ( duk_json_enc_ctx js_ctx,
void *  ptr 
)

Definition at line 38974 of file duktape.c.

◆ duk__json_enc_quote_string()

DUK_LOCAL void duk__json_enc_quote_string ( duk_json_enc_ctx js_ctx,
duk_hstring h_str 
)

Definition at line 38565 of file duktape.c.

◆ duk__json_enc_value()

DUK_LOCAL duk_bool_t duk__json_enc_value ( duk_json_enc_ctx js_ctx,
duk_idx_t  idx_holder 
)

Definition at line 39346 of file duktape.c.

◆ duk__key_is_plain_buf_ownprop()

DUK_LOCAL duk_bool_t duk__key_is_plain_buf_ownprop ( duk_hthread thr,
duk_hbuffer buf,
duk_hstring key,
duk_uint32_t  arr_idx 
)

Definition at line 58098 of file duktape.c.

◆ duk__known_heaphdr()

DUK_LOCAL duk_heaphdr * duk__known_heaphdr ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21336 of file duktape.c.

Referenced by duk_known_hbuffer(), duk_known_hcompfunc(), duk_known_hnatfunc(), and duk_set_length().

Here is the caller graph for this function:

◆ duk__lexer_parse_escape()

DUK_LOCAL duk_codepoint_t duk__lexer_parse_escape ( duk_lexer_ctx lex_ctx,
duk_bool_t  allow_es6 
)

Definition at line 86354 of file duktape.c.

References duk_hex_dectab, and DUK_LIKELY.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk__lexer_parse_legacy_octal()

DUK_LOCAL duk_codepoint_t duk__lexer_parse_legacy_octal ( duk_lexer_ctx lex_ctx,
duk_small_uint_t out_adv,
duk_bool_t  reject_annex_b 
)

Definition at line 86453 of file duktape.c.

◆ duk__lexer_parse_string_literal()

DUK_LOCAL void duk__lexer_parse_string_literal ( duk_lexer_ctx lex_ctx,
duk_token out_token,
duk_small_int_t  quote,
duk_bool_t  strict_mode 
)

Definition at line 86514 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk__lexer_skip_to_endofline()

DUK_LOCAL void duk__lexer_skip_to_endofline ( duk_lexer_ctx lex_ctx)

Definition at line 86655 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk__load_buffer_raw()

DUK_LOCAL const duk_uint8_t * duk__load_buffer_raw ( duk_hthread thr,
const duk_uint8_t *  p 
)

Definition at line 14450 of file duktape.c.

References duk_push_lstring(), and DUK_RAW_READINC_U32_BE.

Referenced by duk__load_func().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__load_func()

static const duk_uint8_t * duk__load_func ( duk_hthread thr,
const duk_uint8_t *  p,
const duk_uint8_t *  p_end 
)
static

Definition at line 14799 of file duktape.c.

References duk_hthread::builtins, DUK__ASSERT_LEFT, duk__load_buffer_raw(), duk__load_func(), duk__load_string_raw(), DUK__NO_FORMALS, DUK__SER_NUMBER, DUK__SER_STRING, DUK_ASSERT, DUK_BIDX_FUNCTION_PROTOTYPE, DUK_BIDX_GLOBAL_ENV, duk_compact_m1(), DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, duk_dup(), duk_dup_m2(), duk_get_length(), duk_get_top(), duk_get_tval(), DUK_HBUFFER_HAS_DYNAMIC, DUK_HBUFFER_INCREF, DUK_HCOMPFUNC_GET_BYTECODE, DUK_HCOMPFUNC_GET_DATA, DUK_HCOMPFUNC_GET_FUNCS, DUK_HCOMPFUNC_SET_BYTECODE, DUK_HCOMPFUNC_SET_DATA, DUK_HCOMPFUNC_SET_FUNCS, DUK_HCOMPFUNC_SET_LEXENV, DUK_HCOMPFUNC_SET_VARENV, duk_hdecenv_alloc(), DUK_HDECENV_ASSERT_VALID, DUK_HEAPHDR_GET_TYPE, DUK_HEAPHDR_SET_FLAGS, DUK_HOBJECT_CLASS_AS_FLAGS, DUK_HOBJECT_CLASS_DECENV, DUK_HOBJECT_FLAG_EXTENSIBLE, DUK_HOBJECT_GET_PROTOTYPE, DUK_HOBJECT_HAS_BOUNDFUNC, DUK_HOBJECT_HAS_COMPFUNC, DUK_HOBJECT_HAS_CONSTRUCTABLE, DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS, DUK_HOBJECT_HAS_EXOTIC_ARRAY, DUK_HOBJECT_HAS_EXOTIC_STRINGOBJ, DUK_HOBJECT_HAS_NAMEBINDING, DUK_HOBJECT_HAS_NATFUNC, DUK_HOBJECT_INCREF, DUK_HOBJECT_IS_COMPFUNC, DUK_HOBJECT_IS_PROXY, DUK_HOBJECT_IS_THREAD, DUK_HOBJECT_SET_PROTOTYPE, DUK_HOBJECT_SET_PROTOTYPE_UPDREF, DUK_HTYPE_OBJECT, duk_is_bare_object(), duk_known_hbuffer(), duk_memcpy, duk_memcpy_unsafe, duk_pop(), DUK_PROPDESC_FLAGS_C, DUK_PROPDESC_FLAGS_NONE, DUK_PROPDESC_FLAGS_W, DUK_PROPDESC_FLAGS_WC, duk_push_bare_array(), duk_push_bare_object(), duk_push_fixed_buffer_nozero(), duk_push_hcompfunc(), duk_push_hobject(), duk_push_object(), duk_push_tval(), duk_push_u32, duk_put_prop(), duk_put_prop_index(), DUK_RAW_READINC_DOUBLE_BE, DUK_RAW_READINC_U16_BE, DUK_RAW_READINC_U32_BE, DUK_RAW_READINC_U8, duk_require_stack(), duk_set_top(), DUK_STRIDX_CONSTRUCTOR, DUK_STRIDX_FILE_NAME, DUK_STRIDX_INT_FORMALS, DUK_STRIDX_INT_PC2LINE, DUK_STRIDX_INT_VARMAP, DUK_STRIDX_LENGTH, DUK_STRIDX_NAME, DUK_STRIDX_PROTOTYPE, DUK_TVAL_GET_OBJECT, DUK_TVAL_INCREF_FAST, DUK_TVAL_IS_OBJECT, DUK_TVAL_SET_NUMBER_CHKFAST_SLOW, duk_xdef_prop(), duk_xdef_prop_stridx_short, duk_hthread::heap, duk_hcompfunc::nargs, duk_hcompfunc::nregs, duk_hcompfunc::obj, duk_hdecenv::regbase_byteoff, duk_hdecenv::thread, and duk_hdecenv::varmap.

Referenced by duk__load_func().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__load_string_raw()

DUK_LOCAL const duk_uint8_t * duk__load_string_raw ( duk_hthread thr,
const duk_uint8_t *  p 
)

Definition at line 14441 of file duktape.c.

Referenced by duk__load_func().

Here is the caller graph for this function:

◆ duk__log()

DUK_LOCAL double duk__log ( double  x)

Definition at line 40817 of file duktape.c.

References DUK_CEIL.

◆ duk__log10()

DUK_LOCAL double duk__log10 ( double  x)

Definition at line 40727 of file duktape.c.

◆ duk__log2()

DUK_LOCAL double duk__log2 ( double  x)

Definition at line 40719 of file duktape.c.

◆ duk__lookup_active_label()

DUK_LOCAL void duk__lookup_active_label ( duk_compiler_ctx comp_ctx,
duk_hstring h_label,
duk_bool_t  is_break,
duk_int_t out_label_id,
duk_int_t out_label_catch_depth,
duk_int_t out_label_pc,
duk_bool_t out_is_closest 
)

Definition at line 71832 of file duktape.c.

◆ duk__lookup_active_register_binding()

DUK_LOCAL duk_regconst_t duk__lookup_active_register_binding ( duk_compiler_ctx comp_ctx)

Definition at line 71611 of file duktape.c.

References DUK__IVAL_FLAG_ALLOW_CONST, and duk__ivalue_toregconst_raw().

Here is the call graph for this function:

◆ duk__lookup_arguments_map()

DUK_LOCAL duk_bool_t duk__lookup_arguments_map ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_propdesc temp_desc,
duk_hobject **  out_map,
duk_hobject **  out_varenv 
)

Definition at line 59560 of file duktape.c.

References duk__hobject_get_entry_object_stridx(), DUK_STRIDX_INT_VARMAP, and duk_hthread::heap.

Referenced by duk_hobject_define_property_helper().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__lookup_lhs()

DUK_LOCAL duk_bool_t duk__lookup_lhs ( duk_compiler_ctx ctx,
duk_regconst_t out_reg_varbind,
duk_regconst_t out_rc_varname 
)

Definition at line 71691 of file duktape.c.

Referenced by duk__parse_var_decl().

Here is the caller graph for this function:

◆ duk__make_day()

DUK_LOCAL duk_double_t duk__make_day ( duk_double_t  year,
duk_double_t  month,
duk_double_t  day 
)

Definition at line 33246 of file duktape.c.

◆ duk__mark_finalizable()

DUK_LOCAL void duk__mark_finalizable ( duk_heap heap)

Definition at line 52361 of file duktape.c.

References duk__mark_heaphdr_nonnull(), DUK_ASSERT, DUK_DD, DUK_DDPRINT, DUK_HEAPHDR_GET_NEXT, DUK_HEAPHDR_HAS_FINALIZABLE, DUK_HEAPHDR_HAS_FINALIZED, DUK_HEAPHDR_HAS_REACHABLE, DUK_HEAPHDR_HAS_READONLY, DUK_HEAPHDR_IS_OBJECT, DUK_HEAPHDR_SET_FINALIZABLE, DUK_HOBJECT_HAS_FINALIZER_FAST, duk_heap::heap_allocated, and duk_heap::heap_thread.

Here is the call graph for this function:

◆ duk__mark_finalize_list()

DUK_LOCAL void duk__mark_finalize_list ( duk_heap heap)

Definition at line 52423 of file duktape.c.

◆ duk__mark_heaphdr()

DUK_LOCAL void duk__mark_heaphdr ( duk_heap heap,
duk_heaphdr h 
)

Definition at line 52225 of file duktape.c.

Referenced by duk__mark_roots_heap().

Here is the caller graph for this function:

◆ duk__mark_heaphdr_nonnull()

DUK_LOCAL void duk__mark_heaphdr_nonnull ( duk_heap heap,
duk_heaphdr h 
)

Definition at line 52314 of file duktape.c.

Referenced by duk__mark_finalizable().

Here is the caller graph for this function:

◆ duk__mark_hobject()

DUK_LOCAL void duk__mark_hobject ( duk_heap heap,
duk_hobject h 
)

Definition at line 52079 of file duktape.c.

References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_HSTRING_ASSERT_VALID, and DUK_UNREF.

◆ duk__mark_hstring()

DUK_LOCAL void duk__mark_hstring ( duk_heap heap,
duk_hstring h 
)

Definition at line 52068 of file duktape.c.

◆ duk__mark_roots_heap()

DUK_LOCAL void duk__mark_roots_heap ( duk_heap heap)

Definition at line 52325 of file duktape.c.

References duk__mark_heaphdr().

Here is the call graph for this function:

◆ duk__mark_temproots_by_heap_scan()

DUK_LOCAL void duk__mark_temproots_by_heap_scan ( duk_heap heap)

Definition at line 52491 of file duktape.c.

◆ duk__mark_tval()

DUK_LOCAL void duk__mark_tval ( duk_heap heap,
duk_tval tv 
)

Definition at line 52284 of file duktape.c.

◆ duk__mark_tvals()

DUK_LOCAL void duk__mark_tvals ( duk_heap heap,
duk_tval tv,
duk_idx_t  count 
)

Definition at line 52298 of file duktape.c.

◆ duk__match_regexp()

DUK_LOCAL const duk_uint8_t * duk__match_regexp ( duk_re_matcher_ctx re_ctx,
const duk_uint8_t *  pc,
const duk_uint8_t *  sp 
)

Definition at line 91959 of file duktape.c.

References DUK_RE_FLAG_IGNORE_CASE, duk_unicode_decode_xutf8_checked(), duk_unicode_re_canonicalize_char(), duk_re_matcher_ctx::input, duk_re_matcher_ctx::input_end, duk_re_matcher_ctx::re_flags, and duk_re_matcher_ctx::thr.

Here is the call graph for this function:

◆ duk__math_minmax()

DUK_LOCAL duk_ret_t duk__math_minmax ( duk_hthread thr,
duk_double_t  initial,
duk__two_arg_func  min_max 
)

Definition at line 40622 of file duktape.c.

References duk_get_top(), and duk_to_number().

Here is the call graph for this function:

◆ duk__nud_array_literal()

DUK_LOCAL void duk__nud_array_literal ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 71934 of file duktape.c.

References duk_compiler_ctx::curr_func, duk_hbuffer_resize(), duk_set_length(), duk_compiler_func::h_labelinfos, duk_compiler_func::labelnames_idx, and duk_compiler_ctx::thr.

Here is the call graph for this function:

◆ duk__nud_object_literal()

DUK_LOCAL void duk__nud_object_literal ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 72136 of file duktape.c.

◆ duk__numconv_parse_raw()

DUK_LOCAL DUK_NOINLINE void duk__numconv_parse_raw ( duk_hthread thr,
duk_small_int_t  radix,
duk_small_uint_t  flags 
)

Definition at line 89949 of file duktape.c.

◆ duk__numconv_stringify_raw()

DUK_LOCAL DUK_NOINLINE void duk__numconv_stringify_raw ( duk_hthread thr,
duk_small_int_t  radix,
duk_small_int_t  digits,
duk_small_uint_t  flags 
)

Definition at line 89735 of file duktape.c.

◆ duk__obj_flag_any_default_false()

DUK_LOCAL duk_bool_t duk__obj_flag_any_default_false ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  flag_mask 
)

Definition at line 22486 of file duktape.c.

References DUK_ASSERT, duk_get_tval_or_unused(), and DUK_TVAL_GET_TAG.

Here is the call graph for this function:

◆ duk__objlit_flush_keys()

DUK_LOCAL void duk__objlit_flush_keys ( duk_compiler_ctx comp_ctx,
duk__objlit_state st 
)

Definition at line 72095 of file duktape.c.

◆ duk__objlit_load_key()

DUK_LOCAL duk_bool_t duk__objlit_load_key ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_token tok,
duk_regconst_t  reg_temp 
)

Definition at line 72117 of file duktape.c.

References duk__emit_a_b_c(), DUK__EMIT_FLAG_A_IS_SOURCE, DUK__EMIT_FLAG_NO_SHUFFLE_C, DUK_ASSERT, DUK_OP_MPUTOBJ, duk__objlit_state::num_pairs, duk__objlit_state::num_total_pairs, duk__objlit_state::reg_obj, and duk__objlit_state::temp_start.

Here is the call graph for this function:

◆ duk__obtain_arridx_slot()

DUK_LOCAL DUK_INLINE duk_tval * duk__obtain_arridx_slot ( duk_hthread thr,
duk_uint32_t  arr_idx,
duk_hobject obj 
)

Definition at line 58366 of file duktape.c.

References DUK_ASSERT, and DUK_HOBJECT_HAS_ARRAY_PART.

Referenced by duk_hobject_define_property_helper(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__obtain_arridx_slot_slowpath()

DUK_LOCAL duk_tval * duk__obtain_arridx_slot_slowpath ( duk_hthread thr,
duk_uint32_t  arr_idx,
duk_hobject obj 
)

Definition at line 58321 of file duktape.c.

References DUK_DD, and DUK_DDPRINT.

◆ duk__parse_arguments()

DUK_LOCAL duk_int_t duk__parse_arguments ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 72364 of file duktape.c.

◆ duk__parse_break_or_continue_stmt()

DUK_LOCAL void duk__parse_break_or_continue_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 74903 of file duktape.c.

◆ duk__parse_disjunction()

DUK_LOCAL void duk__parse_disjunction ( duk_re_compiler_ctx re_ctx,
duk_bool_t  expect_eof,
duk__re_disjunction_info out_atom_info 
)

◆ duk__parse_do_stmt()

DUK_LOCAL void duk__parse_do_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_int_t  pc_label_site 
)

Definition at line 74841 of file duktape.c.

◆ duk__parse_for_stmt()

DUK_LOCAL void duk__parse_for_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_int_t  pc_label_site 
)

Definition at line 74231 of file duktape.c.

◆ duk__parse_func_body()

DUK_LOCAL void duk__parse_func_body ( duk_compiler_ctx comp_ctx,
duk_bool_t  expect_eof,
duk_bool_t  implicit_return_value,
duk_bool_t  regexp_after,
duk_small_int_t  expect_token 
)

Definition at line 76300 of file duktape.c.

References duk_compiler_func::catch_depth, duk_compiler_ctx::curr_func, duk_compiler_ctx::curr_token, duk__advance(), duk__advance_expect(), DUK__ALLOCTEMP, duk__emit_bc(), duk__emit_op_only(), DUK__FUNCTION_BODY_REQUIRE_SLOTS, DUK__GETTEMP, duk__hstring_is_eval_or_arguments(), duk__init_varmap_and_prologue_for_pass2(), DUK__ISREG, duk__parse_stmts(), duk__peephole_optimize_bytecode(), DUK__RECURSION_DECREASE, DUK__RECURSION_INCREASE, duk__reset_func_for_pass2(), duk__update_lineinfo_currtoken(), DUK_ASSERT, DUK_D, DUK_DDD, DUK_DDDPRINT, DUK_DPRINT, DUK_ERROR_INTERNAL, DUK_ERROR_SYNTAX, DUK_HSTRING_HAS_RESERVED_WORD, DUK_HSTRING_HAS_STRICT_RESERVED_WORD, DUK_INT_MAX, DUK_LEXER_GETPOINT, DUK_LEXER_SETPOINT, DUK_OP_LDUNDEF, DUK_OP_RETREG, DUK_OP_RETUNDEF, duk_require_stack(), DUK_STR_INVALID_FUNC_NAME, DUK_TOK_LCURLY, DUK_WO_NORETURN, duk_compiler_func::h_name, duk_compiler_func::id_access_arguments, duk_compiler_func::id_access_slow, duk_compiler_func::id_access_slow_own, duk_compiler_func::in_directive_prologue, duk_compiler_func::in_scanning, duk_compiler_func::is_function, duk_compiler_func::is_setget, duk_compiler_func::is_strict, duk_compiler_func::label_next, duk_compiler_ctx::lex, duk_compiler_func::may_direct_eval, duk_compiler_func::needs_shuffle, duk_compiler_func::reg_stmt_value, duk_token::start_line, duk_compiler_func::stmt_next, duk_token::t, duk_compiler_func::temp_first, duk_compiler_func::temp_next, and duk_compiler_ctx::thr.

Here is the call graph for this function:

◆ duk__parse_func_formals()

DUK_LOCAL void duk__parse_func_formals ( duk_compiler_ctx comp_ctx)

Definition at line 76581 of file duktape.c.

◆ duk__parse_func_like_fnum()

DUK_LOCAL duk_int_t duk__parse_func_like_fnum ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  flags 
)

Definition at line 76750 of file duktape.c.

◆ duk__parse_func_like_raw()

DUK_LOCAL void duk__parse_func_like_raw ( duk_compiler_ctx comp_ctx,
duk_small_uint_t  flags 
)

Definition at line 76628 of file duktape.c.

References DUK_ERROR_SYNTAX, DUK_STR_EXPECTED_IDENTIFIER, and DUK_WO_NORETURN.

◆ duk__parse_if_stmt()

DUK_LOCAL void duk__parse_if_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 74793 of file duktape.c.

◆ duk__parse_regexp_flags()

DUK_LOCAL duk_uint32_t duk__parse_regexp_flags ( duk_hthread thr,
duk_hstring h 
)

Definition at line 91513 of file duktape.c.

◆ duk__parse_return_stmt()

DUK_LOCAL void duk__parse_return_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 74974 of file duktape.c.

◆ duk__parse_stmt()

DUK_LOCAL void duk__parse_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_bool_t  allow_source_elem 
)

Definition at line 75378 of file duktape.c.

References duk_compiler_ctx::curr_func, duk__emit_bc(), duk__emit_invalid(), DUK_DDD, DUK_DDDPRINT, DUK_OP_LABEL, and duk_compiler_func::label_next.

Here is the call graph for this function:

◆ duk__parse_stmts()

DUK_LOCAL void duk__parse_stmts ( duk_compiler_ctx comp_ctx,
duk_bool_t  allow_source_elem,
duk_bool_t  expect_eof,
duk_bool_t  regexp_after 
)

Definition at line 75890 of file duktape.c.

Referenced by duk__parse_func_body().

Here is the caller graph for this function:

◆ duk__parse_string()

DUK_LOCAL duk_ret_t duk__parse_string ( duk_hthread thr,
const char *  str 
)

Definition at line 33090 of file duktape.c.

References duk__parse_string_iso8601_subset(), DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, and duk_push_nan().

Here is the call graph for this function:

◆ duk__parse_string_iso8601_subset()

DUK_LOCAL duk_bool_t duk__parse_string_iso8601_subset ( duk_hthread thr,
const char *  str 
)

Definition at line 32889 of file duktape.c.

Referenced by duk__parse_string().

Here is the caller graph for this function:

◆ duk__parse_switch_stmt()

DUK_LOCAL void duk__parse_switch_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_int_t  pc_label_site 
)

Definition at line 74597 of file duktape.c.

◆ duk__parse_throw_stmt()

DUK_LOCAL void duk__parse_throw_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 75077 of file duktape.c.

◆ duk__parse_try_stmt()

DUK_LOCAL void duk__parse_try_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 75093 of file duktape.c.

◆ duk__parse_var_decl()

DUK_LOCAL void duk__parse_var_decl ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  expr_flags,
duk_regconst_t out_reg_varbind,
duk_regconst_t out_rc_varname 
)

◆ duk__parse_var_stmt()

DUK_LOCAL void duk__parse_var_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_small_uint_t  expr_flags 
)

Definition at line 74214 of file duktape.c.

◆ duk__parse_while_stmt()

DUK_LOCAL void duk__parse_while_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res,
duk_int_t  pc_label_site 
)

Definition at line 74869 of file duktape.c.

◆ duk__parse_with_stmt()

DUK_LOCAL void duk__parse_with_stmt ( duk_compiler_ctx comp_ctx,
duk_ivalue res 
)

Definition at line 75316 of file duktape.c.

References duk__patch_jump(), and DUK_ASSERT.

Here is the call graph for this function:

◆ duk__patch_jump()

DUK_LOCAL void duk__patch_jump ( duk_compiler_ctx comp_ctx,
duk_int_t  jump_pc,
duk_int_t  target_pc 
)

Definition at line 70768 of file duktape.c.

Referenced by duk__parse_with_stmt().

Here is the caller graph for this function:

◆ duk__patch_jump_here()

DUK_LOCAL void duk__patch_jump_here ( duk_compiler_ctx comp_ctx,
duk_int_t  jump_pc 
)

Definition at line 70794 of file duktape.c.

References DUK_DDD, and DUK_DDDPRINT.

◆ duk__patch_trycatch()

DUK_LOCAL void duk__patch_trycatch ( duk_compiler_ctx comp_ctx,
duk_int_t  ldconst_pc,
duk_int_t  trycatch_pc,
duk_regconst_t  reg_catch,
duk_regconst_t  const_varname,
duk_small_uint_t  flags 
)

Definition at line 70798 of file duktape.c.

◆ duk__pcall_method_raw()

DUK_LOCAL duk_ret_t duk__pcall_method_raw ( duk_hthread thr,
void *  udata 
)

Definition at line 15405 of file duktape.c.

◆ duk__pcall_prop_raw()

DUK_LOCAL duk_ret_t duk__pcall_prop_raw ( duk_hthread thr,
void *  udata 
)

Definition at line 15446 of file duktape.c.

◆ duk__pcall_raw()

DUK_LOCAL duk_ret_t duk__pcall_raw ( duk_hthread thr,
void *  udata 
)

Definition at line 15369 of file duktape.c.

◆ duk__peephole_optimize_bytecode()

DUK_LOCAL void duk__peephole_optimize_bytecode ( duk_compiler_ctx comp_ctx)

Definition at line 70870 of file duktape.c.

Referenced by duk__parse_func_body().

Here is the caller graph for this function:

◆ duk__pnew_helper()

DUK_LOCAL duk_ret_t duk__pnew_helper ( duk_hthread thr,
void *  udata 
)

Definition at line 15536 of file duktape.c.

◆ duk__pop_2_unsafe_raw()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__pop_2_unsafe_raw ( duk_hthread thr)

Definition at line 24779 of file duktape.c.

◆ duk__pop_n_unsafe_raw()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__pop_n_unsafe_raw ( duk_hthread thr,
duk_idx_t  count 
)

Definition at line 24593 of file duktape.c.

References duk_hthread::builtins, DUK_ASSERT, DUK_ASSERT_API_ENTRY, DUK_NUM_BUILTINS, and duk_push_hobject().

Here is the call graph for this function:

◆ duk__pop_unsafe_raw()

DUK_LOCAL DUK_ALWAYS_INLINE void duk__pop_unsafe_raw ( duk_hthread thr)

Definition at line 24697 of file duktape.c.

◆ duk__preallocate_env_entries()

DUK_LOCAL void duk__preallocate_env_entries ( duk_hthread thr,
duk_hobject varmap,
duk_hobject env 
)

Definition at line 84422 of file duktape.c.

◆ duk__prep_codec_arg()

DUK_LOCAL const duk_uint8_t * duk__prep_codec_arg ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len 
)

Definition at line 15731 of file duktape.c.

References DUK_ASSERT, duk_get_buffer_data_raw(), duk_is_valid_index(), duk_to_lstring(), and DUK_UNLIKELY.

Here is the call graph for this function:

◆ duk__prepost_incdec_reg_helper()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__prepost_incdec_reg_helper ( duk_hthread thr,
duk_tval tv_dst,
duk_tval tv_src,
duk_small_uint_t  op 
)

Definition at line 77779 of file duktape.c.

◆ duk__prepost_incdec_var_helper()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__prepost_incdec_var_helper ( duk_hthread thr,
duk_small_uint_t  idx_dst,
duk_tval tv_id,
duk_small_uint_t  op,
duk_small_uint_t  is_strict 
)

Definition at line 77858 of file duktape.c.

◆ duk__protected_compact_object()

DUK_LOCAL int duk__protected_compact_object ( duk_hthread thr,
void *  udata 
)

Definition at line 52906 of file duktape.c.

◆ duk__proxy_check_prop()

DUK_LOCAL duk_bool_t duk__proxy_check_prop ( duk_hthread thr,
duk_hobject obj,
duk_small_uint_t  stridx_trap,
duk_tval tv_key,
duk_hobject **  out_target 
)

Definition at line 58431 of file duktape.c.

References DUK_ASSERT, DUK_HPROXY_ASSERT_VALID, and duk_hproxy::target.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__push_c_function_raw()

DUK_LOCAL duk_idx_t duk__push_c_function_raw ( duk_hthread thr,
duk_c_function  func,
duk_idx_t  nargs,
duk_uint_t  flags,
duk_small_uint_t  proto_bidx 
)

Definition at line 23760 of file duktape.c.

◆ duk__push_double()

DUK_LOCAL void duk__push_double ( duk_hthread thr,
duk_bitdecoder_ctx bd 
)

Definition at line 64707 of file duktape.c.

◆ duk__push_func_from_lightfunc()

DUK_LOCAL void duk__push_func_from_lightfunc ( duk_hthread thr,
duk_c_function  func,
duk_small_uint_t  lf_flags 
)

Definition at line 22313 of file duktape.c.

◆ duk__push_hstring_readable_unicode()

DUK_LOCAL void duk__push_hstring_readable_unicode ( duk_hthread thr,
duk_hstring h_input,
duk_small_uint_t  maxchars 
)

Definition at line 25366 of file duktape.c.

References DUK__READABLE_SUMMARY_MAXCHARS, DUK_ASC_BACKSLASH, DUK_ASC_LC_X, DUK_ASC_PERIOD, DUK_ASC_SINGLEQUOTE, DUK_ASSERT, DUK_CTX_ASSERT_VALID, DUK_HSTRING_GET_BYTELEN, DUK_HSTRING_GET_DATA, duk_lc_digits, duk_unicode_decode_xutf8(), duk_unicode_encode_xutf8(), and DUK_UNICODE_MAX_XUTF8_LENGTH.

Here is the call graph for this function:

◆ duk__push_stash()

DUK_LOCAL void duk__push_stash ( duk_hthread thr)

Definition at line 23364 of file duktape.c.

Referenced by duk__try_push_vsprintf().

Here is the caller graph for this function:

◆ duk__push_stridx()

DUK_LOCAL void duk__push_stridx ( duk_hthread thr,
duk_bitdecoder_ctx bd 
)

Definition at line 64677 of file duktape.c.

References DUK_ASSERT, and DUK_LOSE_CONST.

◆ duk__push_stridx_or_string()

DUK_LOCAL void duk__push_stridx_or_string ( duk_hthread thr,
duk_bitdecoder_ctx bd 
)

Definition at line 64695 of file duktape.c.

◆ duk__push_string()

DUK_LOCAL void duk__push_string ( duk_hthread thr,
duk_bitdecoder_ctx bd 
)

Definition at line 64685 of file duktape.c.

◆ duk__push_string_tval_readable()

DUK_LOCAL const char * duk__push_string_tval_readable ( duk_hthread thr,
duk_tval tv,
duk_bool_t  error_aware 
)

Definition at line 25416 of file duktape.c.

◆ duk__push_this_get_timeval()

DUK_LOCAL duk_double_t duk__push_this_get_timeval ( duk_hthread thr,
duk_small_uint_t  flags 
)

Definition at line 33654 of file duktape.c.

Referenced by duk_bi_date_prototype_to_json().

Here is the caller graph for this function:

◆ duk__push_this_get_timeval_tzoffset()

DUK_LOCAL duk_double_t duk__push_this_get_timeval_tzoffset ( duk_hthread thr,
duk_small_uint_t  flags,
duk_int_t out_tzoffset 
)

Definition at line 33611 of file duktape.c.

◆ duk__push_this_helper()

DUK_LOCAL void duk__push_this_helper ( duk_hthread thr,
duk_small_uint_t  check_object_coercible 
)

Definition at line 23219 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_push_uint(), and duk_to_hstring_m1().

Referenced by duk_push_this_coercible_to_object(), and duk_push_this_coercible_to_string().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__push_this_number_plain()

DUK_LOCAL duk_double_t duk__push_this_number_plain ( duk_hthread thr)

Definition at line 41101 of file duktape.c.

◆ duk__push_this_obj_len_u32()

DUK_LOCAL duk_uint32_t duk__push_this_obj_len_u32 ( duk_hthread thr)

Definition at line 26140 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), and duk_bi_array_prototype_join_shared().

Here is the caller graph for this function:

◆ duk__push_this_obj_len_u32_limited()

DUK_LOCAL duk_uint32_t duk__push_this_obj_len_u32_limited ( duk_hthread thr)

Definition at line 26153 of file duktape.c.

Referenced by duk_bi_array_prototype_splice().

Here is the caller graph for this function:

◆ duk__push_tval_to_property_key()

DUK_LOCAL duk_uint32_t duk__push_tval_to_property_key ( duk_hthread thr,
duk_tval tv_key,
duk_hstring **  out_h 
)

Definition at line 58092 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__put_prop_shared()

DUK_LOCAL duk_bool_t duk__put_prop_shared ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_idx_t  idx_key 
)

Definition at line 17802 of file duktape.c.

◆ duk__putprop_fastpath_bufobj_tval()

DUK_LOCAL duk_bool_t duk__putprop_fastpath_bufobj_tval ( duk_hthread thr,
duk_hobject obj,
duk_tval tv_key,
duk_tval tv_val 
)

Definition at line 60400 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__putprop_shallow_fastpath_array_tval()

DUK_LOCAL duk_bool_t duk__putprop_shallow_fastpath_array_tval ( duk_hthread thr,
duk_hobject obj,
duk_tval tv_key,
duk_tval tv_val 
)

Definition at line 60275 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__putvar_helper()

DUK_LOCAL void duk__putvar_helper ( duk_hthread thr,
duk_hobject env,
duk_activation act,
duk_hstring name,
duk_tval val,
duk_bool_t  strict 
)

◆ duk__re_canon_next_discontinuity()

DUK_LOCAL duk_codepoint_t duk__re_canon_next_discontinuity ( duk_codepoint_t  start,
duk_codepoint_t  end 
)

Definition at line 90820 of file duktape.c.

References duk__append_u32(), DUK_ASSERT, and duk_re_compiler_ctx::nranges.

Here is the call graph for this function:

◆ duk__reconfig_valstack_ecma_catcher()

DUK_LOCAL void duk__reconfig_valstack_ecma_catcher ( duk_hthread thr,
duk_activation act 
)

Definition at line 77980 of file duktape.c.

◆ duk__reconfig_valstack_ecma_return()

DUK_LOCAL void duk__reconfig_valstack_ecma_return ( duk_hthread thr)

◆ duk__refcount_free_pending()

DUK_LOCAL void duk__refcount_free_pending ( duk_heap heap)

Definition at line 54444 of file duktape.c.

References count(), DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_HEAPHDR_GET_PREV, DUK_HEAPHDR_GET_TYPE, duk_hobject_refcount_finalize_norz(), DUK_HTYPE_OBJECT, and duk_heap::refzero_list.

Here is the call graph for this function:

◆ duk__refcount_refzero_hbuffer()

DUK_LOCAL DUK_INLINE void duk__refcount_refzero_hbuffer ( duk_heap heap,
duk_hbuffer buf 
)

Definition at line 54637 of file duktape.c.

◆ duk__refcount_refzero_hobject()

DUK_LOCAL DUK_INLINE void duk__refcount_refzero_hobject ( duk_heap heap,
duk_hobject obj,
duk_bool_t  skip_free_pending 
)

Definition at line 54490 of file duktape.c.

◆ duk__refcount_refzero_hstring()

DUK_LOCAL DUK_INLINE void duk__refcount_refzero_hstring ( duk_heap heap,
duk_hstring str 
)

Definition at line 54622 of file duktape.c.

◆ duk__regexp_emit_range()

DUK_LOCAL void duk__regexp_emit_range ( duk_re_compiler_ctx re_ctx,
duk_codepoint_t  r1,
duk_codepoint_t  r2 
)

Definition at line 90808 of file duktape.c.

◆ duk__regexp_generate_ranges()

DUK_LOCAL void duk__regexp_generate_ranges ( void *  userdata,
duk_codepoint_t  r1,
duk_codepoint_t  r2,
duk_bool_t  direct 
)

Definition at line 90871 of file duktape.c.

References DUK_ASSERT, DUK_CANON_BITMAP_BLKSHIFT, and duk_unicode_re_canon_bitmap.

◆ duk__regexp_match_helper()

DUK_LOCAL void duk__regexp_match_helper ( duk_hthread thr,
duk_small_int_t  force_global 
)

Definition at line 92510 of file duktape.c.

◆ duk__remove_slice()

DUK_LOCAL void duk__remove_slice ( duk_re_compiler_ctx re_ctx,
duk_uint32_t  data_offset,
duk_uint32_t  data_length 
)

◆ duk__require_bufobj_this()

DUK_LOCAL duk_hbufobj * duk__require_bufobj_this ( duk_hthread thr)

Definition at line 27967 of file duktape.c.

Referenced by duk_bi_buffer_readfield(), and duk_bi_typedarray_set().

Here is the caller graph for this function:

◆ duk__require_bufobj_value()

DUK_LOCAL duk_hbufobj * duk__require_bufobj_value ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 27972 of file duktape.c.

References DUK__BUFOBJ_FLAG_PROMOTE, and duk__getrequire_bufobj_this().

Here is the call graph for this function:

◆ duk__reset_func_for_pass2()

DUK_LOCAL void duk__reset_func_for_pass2 ( duk_compiler_ctx comp_ctx)

Definition at line 69633 of file duktape.c.

Referenced by duk__parse_func_body().

Here is the caller graph for this function:

◆ duk__reset_labels_to_length()

DUK_LOCAL void duk__reset_labels_to_length ( duk_compiler_ctx comp_ctx,
duk_size_t  len 
)

Definition at line 71914 of file duktape.c.

◆ duk__resize_valstack()

DUK_LOCAL DUK_COLD DUK_NOINLINE duk_bool_t duk__resize_valstack ( duk_hthread thr,
duk_size_t  new_size 
)

◆ duk__resolve_offset_opt_length()

DUK_LOCAL void duk__resolve_offset_opt_length ( duk_hthread thr,
duk_hbufobj h_bufarg,
duk_idx_t  idx_offset,
duk_idx_t  idx_length,
duk_uint_t out_offset,
duk_uint_t out_length,
duk_bool_t  throw_flag 
)

Definition at line 28018 of file duktape.c.

◆ duk__resolve_target_fastpath_check()

DUK_LOCAL DUK_ALWAYS_INLINE duk_bool_t duk__resolve_target_fastpath_check ( duk_hthread thr,
duk_idx_t  idx_func,
duk_hobject **  out_func,
duk_small_uint_t  call_flags 
)

Definition at line 67213 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk__resolve_target_func_and_this_binding()

DUK_LOCAL duk_hobject * duk__resolve_target_func_and_this_binding ( duk_hthread thr,
duk_idx_t  idx_func,
duk_small_uint_t call_flags 
)

Definition at line 67259 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk__round_fixed()

DUK_LOCAL double duk__round_fixed ( double  x)

Definition at line 40747 of file duktape.c.

References DUK_CEIL, and DUK_FLOOR.

◆ duk__safe_call_adjust_valstack()

DUK_LOCAL void duk__safe_call_adjust_valstack ( duk_hthread thr,
duk_idx_t  idx_retbase,
duk_idx_t  num_stack_rets,
duk_idx_t  num_actual_rets 
)

Definition at line 67448 of file duktape.c.

◆ duk__safe_to_stacktrace_raw()

DUK_LOCAL duk_ret_t duk__safe_to_stacktrace_raw ( duk_hthread thr,
void *  udata 
)

Definition at line 21835 of file duktape.c.

References duk_get_prop_string(), duk_is_string(), duk_pop(), and duk_replace().

Here is the call graph for this function:

◆ duk__safe_to_string_raw()

DUK_LOCAL duk_ret_t duk__safe_to_string_raw ( duk_hthread thr,
void *  udata 
)

Definition at line 21773 of file duktape.c.

◆ duk__scan_backwards()

DUK_LOCAL const duk_uint8_t * duk__scan_backwards ( const duk_uint8_t *  p,
const duk_uint8_t *  q,
duk_uint_fast32_t  n 
)

Definition at line 55070 of file duktape.c.

◆ duk__scan_forwards()

DUK_LOCAL const duk_uint8_t * duk__scan_forwards ( const duk_uint8_t *  p,
const duk_uint8_t *  q,
duk_uint_fast32_t  n 
)

Definition at line 55054 of file duktape.c.

References DUK_DD, DUK_DDPRINT, and duk_strcache_entry::h.

◆ duk__set_bufobj_buffer()

DUK_LOCAL void duk__set_bufobj_buffer ( duk_hthread thr,
duk_hbufobj h_bufobj,
duk_hbuffer h_val 
)

Definition at line 27999 of file duktape.c.

◆ duk__set_catcher_regs_norz()

DUK_LOCAL void duk__set_catcher_regs_norz ( duk_hthread thr,
duk_catcher cat,
duk_tval tv_val_unstable,
duk_small_uint_t  lj_type 
)

Definition at line 78010 of file duktape.c.

◆ duk__set_part_helper()

DUK_LOCAL duk_ret_t duk__set_part_helper ( duk_hthread thr,
duk_small_uint_t  flags_and_maxnargs 
)

Definition at line 33854 of file duktape.c.

Referenced by duk_bi_date_prototype_set_time().

Here is the caller graph for this function:

◆ duk__set_parts_from_args()

DUK_LOCAL void duk__set_parts_from_args ( duk_hthread thr,
duk_double_t dparts,
duk_idx_t  nargs 
)

Definition at line 33979 of file duktape.c.

◆ duk__set_this_timeval_from_dparts()

DUK_LOCAL duk_ret_t duk__set_this_timeval_from_dparts ( duk_hthread thr,
duk_double_t dparts,
duk_small_uint_t  flags 
)

Definition at line 33662 of file duktape.c.

Referenced by duk__twodigit_year_fixup().

Here is the caller graph for this function:

◆ duk__settemp_checkmax()

DUK_LOCAL void duk__settemp_checkmax ( duk_compiler_ctx comp_ctx,
duk_regconst_t  temp_next 
)

◆ duk__sin()

DUK_LOCAL double duk__sin ( double  x)

Definition at line 40820 of file duktape.c.

References DUK_COS.

◆ duk__slow_case_conversion()

DUK_LOCAL duk_codepoint_t duk__slow_case_conversion ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_codepoint_t  cp,
duk_bitdecoder_ctx bd_ctx 
)

Definition at line 13524 of file duktape.c.

References count(), DUK_ASSERT, duk_bd_decode(), DUK_BW_WRITE_RAW_XUTF8, DUK_DDD, DUK_DDDPRINT, and DUK_UNREF.

Referenced by duk__case_transform_helper().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__sort_compare_es6()

DUK_LOCAL duk_bool_t duk__sort_compare_es6 ( duk_hstring a,
duk_hstring b,
duk__sort_key_t  val_b 
)

Definition at line 56963 of file duktape.c.

◆ duk__sort_enum_keys_es6()

DUK_LOCAL void duk__sort_enum_keys_es6 ( duk_hthread thr,
duk_hobject h_obj,
duk_int_fast32_t  idx_start,
duk_int_fast32_t  idx_end 
)

Definition at line 56979 of file duktape.c.

◆ duk__sqrt()

DUK_LOCAL double duk__sqrt ( double  x)

Definition at line 40823 of file duktape.c.

References DUK_EXP.

◆ duk__stmt_label_site()

DUK_LOCAL duk_int_t duk__stmt_label_site ( duk_compiler_ctx comp_ctx,
duk_int_t  label_id 
)

Definition at line 75357 of file duktape.c.

◆ duk__str_search_shared()

DUK_LOCAL duk_int_t duk__str_search_shared ( duk_hthread thr,
duk_hstring h_this,
duk_hstring h_search,
duk_int_t  start_cpos,
duk_bool_t  backwards 
)

Definition at line 42721 of file duktape.c.

References DUK_ERROR_TYPE_INVALID_ARGS, and DUK_WO_NORETURN.

◆ duk__str_tostring_notregexp()

DUK_LOCAL duk_hstring * duk__str_tostring_notregexp ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 42707 of file duktape.c.

◆ duk__strtable_alloc_hstring()

DUK_LOCAL duk_hstring * duk__strtable_alloc_hstring ( duk_heap heap,
const duk_uint8_t *  str,
duk_uint32_t  blen,
duk_uint32_t  strhash,
const duk_uint8_t *  extdata 
)

Definition at line 55472 of file duktape.c.

◆ duk__strtable_do_intern()

DUK_LOCAL duk_hstring * duk__strtable_do_intern ( duk_heap heap,
const duk_uint8_t *  str,
duk_uint32_t  blen,
duk_uint32_t  strhash 
)

Definition at line 55893 of file duktape.c.

◆ duk__strtable_grow_inplace()

DUK_LOCAL void duk__strtable_grow_inplace ( duk_heap heap)

Definition at line 55600 of file duktape.c.

◆ duk__strtable_litcache_key()

DUK_LOCAL duk_uint_t duk__strtable_litcache_key ( const duk_uint8_t *  str,
duk_uint32_t  blen 
)

Definition at line 56157 of file duktape.c.

References DUK_ASSERT, duk_heap_strtable_intern(), and duk_hthread::heap.

Here is the call graph for this function:

◆ duk__strtable_resize_check()

DUK_LOCAL DUK_COLD DUK_NOINLINE void duk__strtable_resize_check ( duk_heap heap)

Definition at line 55803 of file duktape.c.

◆ duk__strtable_shrink_inplace()

DUK_LOCAL void duk__strtable_shrink_inplace ( duk_heap heap)

Definition at line 55717 of file duktape.c.

◆ duk__sweep_heap()

DUK_LOCAL void duk__sweep_heap ( duk_heap heap,
duk_small_uint_t  flags,
duk_size_t out_count_keep 
)

Definition at line 52703 of file duktape.c.

◆ duk__sweep_stringtable()

DUK_LOCAL void duk__sweep_stringtable ( duk_heap heap,
duk_size_t out_count_keep 
)

Definition at line 52613 of file duktape.c.

◆ duk__tag_check()

DUK_LOCAL duk_bool_t duk__tag_check ( duk_hthread thr,
duk_idx_t  idx,
duk_small_uint_t  tag 
)

Definition at line 22478 of file duktape.c.

Referenced by duk_is_buffer_data(), and duk_is_symbol().

Here is the caller graph for this function:

◆ duk__tan()

DUK_LOCAL double duk__tan ( double  x)

Definition at line 40826 of file duktape.c.

References DUK_FLOOR.

◆ duk__throw_error_from_stash()

DUK_LOCAL void duk__throw_error_from_stash ( duk_hthread thr,
duk_errcode_t  err_code,
const char *  fmt,
va_list  ap 
)

Definition at line 25131 of file duktape.c.

◆ duk__timeclip()

DUK_LOCAL duk_double_t duk__timeclip ( duk_double_t  x)

Definition at line 33171 of file duktape.c.

References DUK_DATE_MSEC_100M_DAYS.

◆ duk__to_int_uint_helper()

DUK_LOCAL duk_double_t duk__to_int_uint_helper ( duk_hthread thr,
duk_idx_t  idx,
duk__toint_coercer  coerce_func 
)

Definition at line 21632 of file duktape.c.

◆ duk__to_new_array_length_checked()

DUK_LOCAL duk_uint32_t duk__to_new_array_length_checked ( duk_hthread thr,
duk_tval tv 
)

Definition at line 61126 of file duktape.c.

Referenced by duk_hobject_define_property_helper().

Here is the caller graph for this function:

◆ duk__to_primitive_helper()

DUK_LOCAL void duk__to_primitive_helper ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  hint,
duk_bool_t  check_symbol 
)

Definition at line 21440 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_require_tval(), and DUK_TVAL_SET_NULL_UPDREF.

Referenced by duk_to_boolean().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__to_property_key()

DUK_LOCAL duk_uint32_t duk__to_property_key ( duk_hthread thr,
duk_idx_t  idx,
duk_hstring **  out_h 
)

Definition at line 58057 of file duktape.c.

◆ duk__to_regexp_helper()

DUK_LOCAL void duk__to_regexp_helper ( duk_hthread thr,
duk_idx_t  idx,
duk_bool_t  force_new 
)

Definition at line 43874 of file duktape.c.

◆ duk__to_string_helper()

DUK_LOCAL duk_ret_t duk__to_string_helper ( duk_hthread thr,
duk_small_uint_t  flags 
)

Definition at line 33766 of file duktape.c.

Referenced by duk_bi_date_prototype_value_of().

Here is the caller graph for this function:

◆ duk__toint32_touint32_helper()

DUK_LOCAL duk_double_t duk__toint32_touint32_helper ( duk_double_t  x,
duk_bool_t  is_toint32 
)

Definition at line 82764 of file duktape.c.

◆ duk__tonumber_string_raw()

DUK_LOCAL duk_double_t duk__tonumber_string_raw ( duk_hthread thr)

Definition at line 82615 of file duktape.c.

◆ duk__transform_callback_decode_uri()

DUK_LOCAL void duk__transform_callback_decode_uri ( duk__transform_context tfm_ctx,
const void *  udata,
duk_codepoint_t  cp 
)

Definition at line 36846 of file duktape.c.

Referenced by duk_bi_global_object_encode_uri().

Here is the caller graph for this function:

◆ duk__transform_callback_encode_uri()

DUK_LOCAL void duk__transform_callback_encode_uri ( duk__transform_context tfm_ctx,
const void *  udata,
duk_codepoint_t  cp 
)

Definition at line 36779 of file duktape.c.

References duk_unicode_decode_xutf8_checked(), duk__transform_context::p, duk__transform_context::p_end, and duk__transform_context::p_start.

Referenced by duk_bi_global_object_escape(), and duk_bi_global_object_unescape().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk__transform_callback_escape()

DUK_LOCAL void duk__transform_callback_escape ( duk__transform_context tfm_ctx,
const void *  udata,
duk_codepoint_t  cp 
)

Definition at line 36985 of file duktape.c.

◆ duk__transform_callback_unescape()

DUK_LOCAL void duk__transform_callback_unescape ( duk__transform_context tfm_ctx,
const void *  udata,
duk_codepoint_t  cp 
)

Definition at line 37025 of file duktape.c.

◆ duk__transform_helper()

DUK_LOCAL int duk__transform_helper ( duk_hthread thr,
duk__transform_callback  callback,
const void *  udata 
)

Definition at line 36752 of file duktape.c.

Referenced by duk_bi_global_object_encode_uri(), duk_bi_global_object_escape(), and duk_bi_global_object_unescape().

Here is the caller graph for this function:

◆ duk__trunc()

DUK_LOCAL double duk__trunc ( double  x)

Definition at line 40735 of file duktape.c.

◆ duk__try_push_vsprintf()

DUK_LOCAL duk_int_t duk__try_push_vsprintf ( duk_hthread thr,
void *  buf,
duk_size_t  sz,
const char *  fmt,
va_list  ap 
)

Definition at line 23404 of file duktape.c.

References duk__push_stash(), DUK_ASSERT_API_ENTRY, DUK_ERROR_TYPE_INVALID_ARGS, duk_push_hobject(), DUK_UNLIKELY, and DUK_WO_NORETURN.

Here is the call graph for this function:

◆ duk__tval_fastint_to_arr_idx()

DUK_LOCAL duk_uint32_t duk__tval_fastint_to_arr_idx ( duk_tval tv)

Definition at line 58031 of file duktape.c.

Referenced by duk__getprop_shallow_fastpath_array_tval(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__tval_number_to_arr_idx()

DUK_LOCAL duk_uint32_t duk__tval_number_to_arr_idx ( duk_tval tv)

Definition at line 58008 of file duktape.c.

Referenced by duk__getprop_shallow_fastpath_array_tval(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk__twodigit_year_fixup()

DUK_LOCAL void duk__twodigit_year_fixup ( duk_hthread thr,
duk_idx_t  idx_val 
)

Definition at line 33953 of file duktape.c.

References duk__set_this_timeval_from_dparts().

Here is the call graph for this function:

◆ duk__uncaught_error_aware()

DUK_LOCAL void duk__uncaught_error_aware ( duk_hthread thr)

Definition at line 49607 of file duktape.c.

◆ duk__unemit_1()

DUK_LOCAL void duk__unemit_1 ( duk_json_enc_ctx js_ctx)

Definition at line 38452 of file duktape.c.

◆ duk__uni_decode_value()

DUK_LOCAL duk_uint32_t duk__uni_decode_value ( duk_bitdecoder_ctx bd_ctx)

Definition at line 13139 of file duktape.c.

◆ duk__uni_range_match()

DUK_LOCAL duk_small_int_t duk__uni_range_match ( const duk_uint8_t *  unitab,
duk_size_t  unilen,
duk_codepoint_t  cp 
)

Definition at line 13159 of file duktape.c.

◆ duk__update_default_instance_proto()

DUK_LOCAL void duk__update_default_instance_proto ( duk_hthread thr,
duk_idx_t  idx_func 
)

Definition at line 66542 of file duktape.c.

References DUK_ASSERT, and duk_is_constructable().

Here is the call graph for this function:

◆ duk__update_label_flags()

DUK_LOCAL void duk__update_label_flags ( duk_compiler_ctx comp_ctx,
duk_int_t  label_id,
duk_small_uint_t  flags 
)

Definition at line 71789 of file duktape.c.

◆ duk__update_lineinfo_currtoken()

DUK_LOCAL void duk__update_lineinfo_currtoken ( duk_compiler_ctx comp_ctx)

Definition at line 70241 of file duktape.c.

Referenced by duk__parse_func_body().

Here is the caller graph for this function:

◆ duk__utf8_advance()

DUK_LOCAL const duk_uint8_t * duk__utf8_advance ( duk_hthread thr,
const duk_uint8_t **  ptr,
const duk_uint8_t *  ptr_start,
const duk_uint8_t *  ptr_end,
duk_uint_fast32_t  count 
)

Definition at line 91881 of file duktape.c.

◆ duk__utf8_backtrack()

DUK_LOCAL const duk_uint8_t * duk__utf8_backtrack ( duk_hthread thr,
const duk_uint8_t **  ptr,
const duk_uint8_t *  ptr_start,
const duk_uint8_t *  ptr_end,
duk_uint_fast32_t  count 
)

Definition at line 91847 of file duktape.c.

References duk_re_matcher_ctx::bytecode, duk_re_matcher_ctx::bytecode_end, duk_unicode_decode_xutf8_checked(), and duk_re_matcher_ctx::thr.

Here is the call graph for this function:

◆ duk__utf8_decode_init()

DUK_LOCAL void duk__utf8_decode_init ( duk__decode_context dec_ctx)

Definition at line 35299 of file duktape.c.

◆ duk__utf8_decode_next()

DUK_LOCAL duk_codepoint_t duk__utf8_decode_next ( duk__decode_context dec_ctx,
duk_uint8_t  x 
)

◆ duk__utf8_emit_repl()

DUK_LOCAL duk_uint8_t * duk__utf8_emit_repl ( duk_uint8_t *  ptr)

Definition at line 35292 of file duktape.c.

◆ duk__utf8_encode_char()

DUK_LOCAL void duk__utf8_encode_char ( void *  udata,
duk_codepoint_t  codepoint 
)

Definition at line 35395 of file duktape.c.

◆ duk__valstack_grow()

DUK_LOCAL DUK_COLD DUK_NOINLINE duk_bool_t duk__valstack_grow ( duk_hthread thr,
duk_size_t  min_bytes,
duk_bool_t  throw_on_error 
)

Definition at line 19509 of file duktape.c.

References DUK_ASSERT, and DUK_TVAL_IS_UNDEFINED.

◆ duk__vm_arith_add()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_arith_add ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y,
duk_small_uint_fast_t  idx_z 
)

Definition at line 77235 of file duktape.c.

References duk_js_arith_mod().

Here is the call graph for this function:

◆ duk__vm_arith_binary_op()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_arith_binary_op ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y,
duk_uint_fast_t  idx_z,
duk_small_uint_fast_t  opcode 
)

Definition at line 77345 of file duktape.c.

◆ duk__vm_arith_unary_op()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_arith_unary_op ( duk_hthread thr,
duk_uint_fast_t  idx_src,
duk_uint_fast_t  idx_dst,
duk_small_uint_fast_t  opcode 
)

Definition at line 77638 of file duktape.c.

◆ duk__vm_bitwise_binary_op()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_bitwise_binary_op ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y,
duk_small_uint_fast_t  idx_z,
duk_small_uint_fast_t  opcode 
)

Definition at line 77507 of file duktape.c.

◆ duk__vm_bitwise_not()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_bitwise_not ( duk_hthread thr,
duk_uint_fast_t  idx_src,
duk_uint_fast_t  idx_dst 
)

Definition at line 77718 of file duktape.c.

◆ duk__vm_logical_not()

DUK_LOCAL DUK_EXEC_ALWAYS_INLINE_PERF void duk__vm_logical_not ( duk_hthread thr,
duk_uint_fast_t  idx_src,
duk_uint_fast_t  idx_dst 
)

Definition at line 77751 of file duktape.c.

◆ duk__wipe_litcache()

DUK_LOCAL void duk__wipe_litcache ( duk_heap heap)

Definition at line 52885 of file duktape.c.

◆ duk__year_from_day()

DUK_LOCAL duk_int_t duk__year_from_day ( duk_int_t  day,
duk_small_int_t out_day_within_year 
)

Definition at line 33210 of file duktape.c.

◆ duk_alloc()

DUK_EXTERNAL void * duk_alloc ( duk_hthread thr,
duk_size_t  size 
)

Definition at line 17582 of file duktape.c.

References DUK_ASSERT_API_ENTRY, DUK_FREE_RAW, and duk_hthread::heap.

◆ duk_alloc_raw()

DUK_EXTERNAL void * duk_alloc_raw ( duk_hthread thr,
duk_size_t  size 
)

Definition at line 17564 of file duktape.c.

◆ duk_base64_decode()

DUK_EXTERNAL void duk_base64_decode ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 16373 of file duktape.c.

◆ duk_base64_encode()

DUK_EXTERNAL const char * duk_base64_encode ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 16337 of file duktape.c.

◆ duk_bd_decode()

DUK_INTERNAL duk_uint32_t duk_bd_decode ( duk_bitdecoder_ctx ctx,
duk_small_int_t  bits 
)

Definition at line 99942 of file duktape.c.

Referenced by duk__slow_case_conversion(), and duk_bd_decode_bitpacked_string().

Here is the caller graph for this function:

◆ duk_bd_decode_bitpacked_string()

DUK_INTERNAL duk_small_uint_t duk_bd_decode_bitpacked_string ( duk_bitdecoder_ctx bd,
duk_uint8_t *  out 
)

Definition at line 100048 of file duktape.c.

References duk_bd_decode().

Here is the call graph for this function:

◆ duk_bd_decode_flag()

DUK_INTERNAL duk_small_uint_t duk_bd_decode_flag ( duk_bitdecoder_ctx ctx)

Definition at line 99987 of file duktape.c.

◆ duk_bd_decode_flagged()

DUK_INTERNAL duk_uint32_t duk_bd_decode_flagged ( duk_bitdecoder_ctx ctx,
duk_small_int_t  bits,
duk_uint32_t  def_value 
)

Definition at line 99994 of file duktape.c.

◆ duk_bd_decode_flagged_signed()

DUK_INTERNAL duk_int32_t duk_bd_decode_flagged_signed ( duk_bitdecoder_ctx ctx,
duk_small_int_t  bits,
duk_int32_t  def_value 
)

Definition at line 100003 of file duktape.c.

◆ duk_bd_decode_varuint()

DUK_INTERNAL duk_uint32_t duk_bd_decode_varuint ( duk_bitdecoder_ctx ctx)

Definition at line 100008 of file duktape.c.

◆ duk_be_encode()

DUK_INTERNAL void duk_be_encode ( duk_bitencoder_ctx ctx,
duk_uint32_t  data,
duk_small_int_t  bits 
)

Definition at line 100102 of file duktape.c.

◆ duk_be_finish()

DUK_INTERNAL void duk_be_finish ( duk_bitencoder_ctx ctx)

◆ duk_bi_array_constructor()

DUK_INTERNAL duk_ret_t duk_bi_array_constructor ( duk_context ctx)

Definition at line 26223 of file duktape.c.

◆ duk_bi_array_constructor_is_array()

DUK_INTERNAL duk_ret_t duk_bi_array_constructor_is_array ( duk_context ctx)

Definition at line 26259 of file duktape.c.

◆ duk_bi_array_prototype_concat()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_concat ( duk_context ctx)

Definition at line 26307 of file duktape.c.

◆ duk_bi_array_prototype_indexof_shared()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_indexof_shared ( duk_context ctx)

Definition at line 27420 of file duktape.c.

◆ duk_bi_array_prototype_iter_shared()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_iter_shared ( duk_context ctx)

◆ duk_bi_array_prototype_join_shared()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_join_shared ( duk_context ctx)

◆ duk_bi_array_prototype_pop()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_pop ( duk_context ctx)

Definition at line 26564 of file duktape.c.

◆ duk_bi_array_prototype_push()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_push ( duk_context ctx)

Definition at line 26645 of file duktape.c.

◆ duk_bi_array_prototype_reduce_shared()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_reduce_shared ( duk_context ctx)

Definition at line 27643 of file duktape.c.

◆ duk_bi_array_prototype_reverse()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_reverse ( duk_context ctx)

Definition at line 27193 of file duktape.c.

◆ duk_bi_array_prototype_shift()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_shift ( duk_context ctx)

Definition at line 27310 of file duktape.c.

◆ duk_bi_array_prototype_slice()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_slice ( duk_context ctx)

Definition at line 27244 of file duktape.c.

◆ duk_bi_array_prototype_sort()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_sort ( duk_context ctx)

Definition at line 26990 of file duktape.c.

◆ duk_bi_array_prototype_splice()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_splice ( duk_context ctx)

◆ duk_bi_array_prototype_to_string()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_to_string ( duk_context ctx)

Definition at line 26269 of file duktape.c.

References DUK_ASSERT_TOP, DUK_GET_TVAL_POSIDX, duk_js_isarray(), and duk_push_boolean().

Here is the call graph for this function:

◆ duk_bi_array_prototype_unshift()

DUK_INTERNAL duk_ret_t duk_bi_array_prototype_unshift ( duk_context ctx)

Definition at line 27352 of file duktape.c.

◆ duk_bi_arraybuffer_constructor()

DUK_INTERNAL duk_ret_t duk_bi_arraybuffer_constructor ( duk_context ctx)

Definition at line 28421 of file duktape.c.

◆ duk_bi_arraybuffer_isview()

DUK_INTERNAL duk_ret_t duk_bi_arraybuffer_isview ( duk_context ctx)

Definition at line 28900 of file duktape.c.

◆ duk_bi_boolean_constructor()

DUK_INTERNAL duk_ret_t duk_bi_boolean_constructor ( duk_context ctx)

Definition at line 27784 of file duktape.c.

◆ duk_bi_boolean_prototype_tostring_shared()

DUK_INTERNAL duk_ret_t duk_bi_boolean_prototype_tostring_shared ( duk_context ctx)

Definition at line 27747 of file duktape.c.

References DUK_ASSERT, duk_get_current_magic(), duk_get_tval(), DUK_HOBJECT_CLASS_BOOLEAN, DUK_HOBJECT_GET_CLASS_NUMBER, duk_is_boolean(), duk_push_this(), DUK_STRIDX_INT_VALUE, DUK_TVAL_GET_OBJECT, DUK_TVAL_IS_BOOLEAN, DUK_TVAL_IS_OBJECT, and duk_xget_owndataprop_stridx_short.

Here is the call graph for this function:

◆ duk_bi_buffer_compare_shared()

DUK_INTERNAL duk_ret_t duk_bi_buffer_compare_shared ( duk_context ctx)

Definition at line 29068 of file duktape.c.

◆ duk_bi_buffer_readfield()

DUK_INTERNAL duk_ret_t duk_bi_buffer_readfield ( duk_context ctx)

◆ duk_bi_buffer_slice_shared()

DUK_INTERNAL duk_ret_t duk_bi_buffer_slice_shared ( duk_context ctx)

Definition at line 29698 of file duktape.c.

◆ duk_bi_buffer_writefield()

DUK_INTERNAL duk_ret_t duk_bi_buffer_writefield ( duk_context ctx)

Definition at line 30317 of file duktape.c.

◆ duk_bi_cbor_decode()

DUK_INTERNAL duk_ret_t duk_bi_cbor_decode ( duk_context ctx)

Definition at line 32637 of file duktape.c.

◆ duk_bi_cbor_encode()

DUK_INTERNAL duk_ret_t duk_bi_cbor_encode ( duk_context ctx)

Definition at line 32624 of file duktape.c.

References duk__cbor_encode(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_bi_dataview_constructor()

DUK_INTERNAL duk_ret_t duk_bi_dataview_constructor ( duk_context ctx)

Definition at line 28849 of file duktape.c.

◆ duk_bi_date_constructor()

DUK_INTERNAL duk_ret_t duk_bi_date_constructor ( duk_context ctx)

Definition at line 34169 of file duktape.c.

References duk__date_magics, DUK_ASSERT, and duk_get_current_magic().

Here is the call graph for this function:

◆ duk_bi_date_constructor_now()

DUK_INTERNAL duk_ret_t duk_bi_date_constructor_now ( duk_context ctx)

Definition at line 34241 of file duktape.c.

References duk_push_nan().

Here is the call graph for this function:

◆ duk_bi_date_constructor_parse()

DUK_INTERNAL duk_ret_t duk_bi_date_constructor_parse ( duk_context ctx)

Definition at line 34218 of file duktape.c.

◆ duk_bi_date_constructor_utc()

DUK_INTERNAL duk_ret_t duk_bi_date_constructor_utc ( duk_context ctx)

Definition at line 34222 of file duktape.c.

◆ duk_bi_date_get_local_tzoffset_gmtime()

DUK_INTERNAL duk_int_t duk_bi_date_get_local_tzoffset_gmtime ( duk_double_t  d)

Definition at line 34606 of file duktape.c.

◆ duk_bi_date_get_now_time()

DUK_INTERNAL duk_double_t duk_bi_date_get_now_time ( void  )

Definition at line 34592 of file duktape.c.

◆ duk_bi_date_get_timeval_from_dparts()

DUK_INTERNAL duk_double_t duk_bi_date_get_timeval_from_dparts ( duk_double_t dparts,
duk_small_uint_t  flags 
)

Definition at line 33464 of file duktape.c.

◆ duk_bi_date_is_leap_year()

DUK_INTERNAL duk_bool_t duk_bi_date_is_leap_year ( duk_int_t  year)

Definition at line 33146 of file duktape.c.

◆ duk_bi_date_prototype_get_shared()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_get_shared ( duk_context ctx)

Definition at line 34366 of file duktape.c.

◆ duk_bi_date_prototype_get_timezone_offset()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_get_timezone_offset ( duk_context ctx)

Definition at line 34371 of file duktape.c.

References duk__date_get_indirect_magic(), and duk__get_part_helper().

Here is the call graph for this function:

◆ duk_bi_date_prototype_set_shared()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_set_shared ( duk_context ctx)

Definition at line 34451 of file duktape.c.

◆ duk_bi_date_prototype_set_time()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_set_time ( duk_context ctx)

Definition at line 34456 of file duktape.c.

References duk__date_get_indirect_magic(), and duk__set_part_helper().

Here is the call graph for this function:

◆ duk_bi_date_prototype_to_json()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_to_json ( duk_context ctx)

Definition at line 34300 of file duktape.c.

References duk__push_this_get_timeval(), DUK_ASSERT, DUK_ISFINITE, DUK_ISNAN, and duk_push_number().

Here is the call graph for this function:

◆ duk_bi_date_prototype_toprimitive()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_toprimitive ( duk_context ctx)

Definition at line 34477 of file duktape.c.

◆ duk_bi_date_prototype_tostring_shared()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_tostring_shared ( duk_context ctx)

Definition at line 34284 of file duktape.c.

◆ duk_bi_date_prototype_value_of()

DUK_INTERNAL duk_ret_t duk_bi_date_prototype_value_of ( duk_context ctx)

Definition at line 34289 of file duktape.c.

References duk__date_get_indirect_magic(), and duk__to_string_helper().

Here is the call graph for this function:

◆ duk_bi_date_timeval_in_leeway_range()

DUK_INTERNAL duk_bool_t duk_bi_date_timeval_in_leeway_range ( duk_double_t  x)

Definition at line 33163 of file duktape.c.

◆ duk_bi_date_timeval_in_valid_range()

DUK_INTERNAL duk_bool_t duk_bi_date_timeval_in_valid_range ( duk_double_t  x)

Definition at line 33159 of file duktape.c.

◆ duk_bi_date_timeval_to_parts()

DUK_INTERNAL void duk_bi_date_timeval_to_parts ( duk_double_t  d,
duk_int_t parts,
duk_double_t dparts,
duk_small_uint_t  flags 
)

Definition at line 33308 of file duktape.c.

◆ duk_bi_date_year_in_valid_range()

DUK_INTERNAL duk_bool_t duk_bi_date_year_in_valid_range ( duk_double_t  year)

Definition at line 33167 of file duktape.c.

◆ duk_bi_duktape_object_act()

DUK_INTERNAL duk_ret_t duk_bi_duktape_object_act ( duk_context ctx)

Definition at line 35119 of file duktape.c.

◆ duk_bi_duktape_object_compact()

DUK_INTERNAL duk_ret_t duk_bi_duktape_object_compact ( duk_context ctx)

Definition at line 35242 of file duktape.c.

◆ duk_bi_duktape_object_dec()

DUK_INTERNAL duk_ret_t duk_bi_duktape_object_dec ( duk_context ctx)

Definition at line 35205 of file duktape.c.

◆ duk_bi_duktape_object_enc()

DUK_INTERNAL duk_ret_t duk_bi_duktape_object_enc ( duk_context ctx)

Definition at line 35163 of file duktape.c.

◆ duk_bi_duktape_object_fin()

DUK_INTERNAL duk_ret_t duk_bi_duktape_object_fin ( duk_context ctx)

Definition at line 35141 of file duktape.c.

◆ duk_bi_duktape_object_gc()

DUK_INTERNAL duk_ret_t duk_bi_duktape_object_gc ( duk_context ctx)

Definition at line 35127 of file duktape.c.

◆ duk_bi_duktape_object_info()

DUK_INTERNAL duk_ret_t duk_bi_duktape_object_info ( duk_context ctx)

Definition at line 35114 of file duktape.c.

◆ duk_bi_error_constructor_shared()

DUK_INTERNAL duk_ret_t duk_bi_error_constructor_shared ( duk_context ctx)

Definition at line 35792 of file duktape.c.

◆ duk_bi_error_prototype_filename_getter()

DUK_INTERNAL duk_ret_t duk_bi_error_prototype_filename_getter ( duk_context ctx)

Definition at line 36103 of file duktape.c.

◆ duk_bi_error_prototype_filename_setter()

DUK_INTERNAL duk_ret_t duk_bi_error_prototype_filename_setter ( duk_context ctx)

Definition at line 36174 of file duktape.c.

◆ duk_bi_error_prototype_linenumber_getter()

DUK_INTERNAL duk_ret_t duk_bi_error_prototype_linenumber_getter ( duk_context ctx)

Definition at line 36107 of file duktape.c.

References duk__error_getter_helper(), and DUK__OUTPUT_TYPE_TRACEBACK.

Here is the call graph for this function:

◆ duk_bi_error_prototype_linenumber_setter()

DUK_INTERNAL duk_ret_t duk_bi_error_prototype_linenumber_setter ( duk_context ctx)

Definition at line 36178 of file duktape.c.

◆ duk_bi_error_prototype_stack_getter()

DUK_INTERNAL duk_ret_t duk_bi_error_prototype_stack_getter ( duk_context ctx)

Definition at line 36099 of file duktape.c.

◆ duk_bi_error_prototype_stack_setter()

DUK_INTERNAL duk_ret_t duk_bi_error_prototype_stack_setter ( duk_context ctx)

Definition at line 36170 of file duktape.c.

◆ duk_bi_error_prototype_to_string()

DUK_INTERNAL duk_ret_t duk_bi_error_prototype_to_string ( duk_context ctx)

Definition at line 35830 of file duktape.c.

References DUK_AUGMENT_FLAG_NOBLAME_FILELINE, and duk_err_augment_error_create().

Here is the call graph for this function:

◆ duk_bi_function_constructor()

DUK_INTERNAL duk_ret_t duk_bi_function_constructor ( duk_context ctx)

Definition at line 36200 of file duktape.c.

References DUK_UNREF.

◆ duk_bi_function_prototype()

DUK_INTERNAL duk_ret_t duk_bi_function_prototype ( duk_context ctx)

Definition at line 36193 of file duktape.c.

◆ duk_bi_function_prototype_apply()

DUK_INTERNAL duk_ret_t duk_bi_function_prototype_apply ( duk_context ctx)

Definition at line 36362 of file duktape.c.

◆ duk_bi_function_prototype_bind()

DUK_INTERNAL duk_ret_t duk_bi_function_prototype_bind ( duk_context ctx)

Definition at line 36386 of file duktape.c.

References DUK_RET_TYPE_ERROR, and DUK_UNREF.

◆ duk_bi_function_prototype_call()

DUK_INTERNAL duk_ret_t duk_bi_function_prototype_call ( duk_context ctx)

Definition at line 36354 of file duktape.c.

◆ duk_bi_function_prototype_hasinstance()

DUK_INTERNAL duk_ret_t duk_bi_function_prototype_hasinstance ( duk_context ctx)

Definition at line 36630 of file duktape.c.

◆ duk_bi_function_prototype_to_string()

DUK_INTERNAL duk_ret_t duk_bi_function_prototype_to_string ( duk_context ctx)

Definition at line 36283 of file duktape.c.

◆ duk_bi_global_object_decode_uri()

DUK_INTERNAL duk_ret_t duk_bi_global_object_decode_uri ( duk_context ctx)

Definition at line 37325 of file duktape.c.

References DUK_ISFINITE, duk_push_boolean(), and duk_to_number().

Here is the call graph for this function:

◆ duk_bi_global_object_decode_uri_component()

DUK_INTERNAL duk_ret_t duk_bi_global_object_decode_uri_component ( duk_context ctx)

Definition at line 37329 of file duktape.c.

◆ duk_bi_global_object_encode_uri()

DUK_INTERNAL duk_ret_t duk_bi_global_object_encode_uri ( duk_context ctx)

Definition at line 37335 of file duktape.c.

References duk__decode_uri_reserved_table, duk__transform_callback_decode_uri(), and duk__transform_helper().

Here is the call graph for this function:

◆ duk_bi_global_object_encode_uri_component()

DUK_INTERNAL duk_ret_t duk_bi_global_object_encode_uri_component ( duk_context ctx)

Definition at line 37339 of file duktape.c.

◆ duk_bi_global_object_escape()

DUK_INTERNAL duk_ret_t duk_bi_global_object_escape ( duk_context ctx)

Definition at line 37346 of file duktape.c.

References duk__encode_uriunescaped_table, duk__transform_callback_encode_uri(), and duk__transform_helper().

Here is the call graph for this function:

◆ duk_bi_global_object_eval()

DUK_INTERNAL duk_ret_t duk_bi_global_object_eval ( duk_context ctx)

◆ duk_bi_global_object_is_finite()

DUK_INTERNAL duk_ret_t duk_bi_global_object_is_finite ( duk_context ctx)

Definition at line 37313 of file duktape.c.

References DUK_ISNAN, duk_push_boolean(), and duk_to_number().

Here is the call graph for this function:

◆ duk_bi_global_object_is_nan()

DUK_INTERNAL duk_ret_t duk_bi_global_object_is_nan ( duk_context ctx)

Definition at line 37305 of file duktape.c.

◆ duk_bi_global_object_parse_float()

DUK_INTERNAL duk_ret_t duk_bi_global_object_parse_float ( duk_context ctx)

Definition at line 37284 of file duktape.c.

◆ duk_bi_global_object_parse_int()

DUK_INTERNAL duk_ret_t duk_bi_global_object_parse_int ( duk_context ctx)

Definition at line 37240 of file duktape.c.

◆ duk_bi_global_object_unescape()

DUK_INTERNAL duk_ret_t duk_bi_global_object_unescape ( duk_context ctx)

Definition at line 37350 of file duktape.c.

References duk__encode_uricomponent_unescaped_table, duk__transform_callback_encode_uri(), and duk__transform_helper().

Here is the call graph for this function:

◆ duk_bi_json_object_parse()

DUK_INTERNAL duk_ret_t duk_bi_json_object_parse ( duk_context ctx)

Definition at line 40575 of file duktape.c.

◆ duk_bi_json_object_stringify()

DUK_INTERNAL duk_ret_t duk_bi_json_object_stringify ( duk_context ctx)

Definition at line 40580 of file duktape.c.

References duk_bi_json_parse_helper().

Here is the call graph for this function:

◆ duk_bi_json_parse_helper()

DUK_INTERNAL void duk_bi_json_parse_helper ( duk_hthread thr,
duk_idx_t  idx_value,
duk_idx_t  idx_reviver,
duk_small_uint_t  flags 
)

Definition at line 40144 of file duktape.c.

Referenced by duk_bi_json_object_stringify().

Here is the caller graph for this function:

◆ duk_bi_json_stringify_helper()

DUK_INTERNAL void duk_bi_json_stringify_helper ( duk_hthread thr,
duk_idx_t  idx_value,
duk_idx_t  idx_replacer,
duk_idx_t  idx_space,
duk_small_uint_t  flags 
)

Definition at line 40244 of file duktape.c.

◆ duk_bi_math_object_clz32()

DUK_INTERNAL duk_ret_t duk_bi_math_object_clz32 ( duk_context ctx)

Definition at line 41018 of file duktape.c.

◆ duk_bi_math_object_hypot()

DUK_INTERNAL duk_ret_t duk_bi_math_object_hypot ( duk_context ctx)

Definition at line 40932 of file duktape.c.

◆ duk_bi_math_object_imul()

DUK_INTERNAL duk_ret_t duk_bi_math_object_imul ( duk_context ctx)

Definition at line 41076 of file duktape.c.

◆ duk_bi_math_object_max()

DUK_INTERNAL duk_ret_t duk_bi_math_object_max ( duk_context ctx)

Definition at line 40918 of file duktape.c.

◆ duk_bi_math_object_min()

DUK_INTERNAL duk_ret_t duk_bi_math_object_min ( duk_context ctx)

Definition at line 40922 of file duktape.c.

◆ duk_bi_math_object_onearg_shared()

DUK_INTERNAL duk_ret_t duk_bi_math_object_onearg_shared ( duk_context ctx)

Definition at line 40890 of file duktape.c.

References duk__atan2_fixed(), and duk_js_arith_pow().

Here is the call graph for this function:

◆ duk_bi_math_object_random()

DUK_INTERNAL duk_ret_t duk_bi_math_object_random ( duk_context ctx)

Definition at line 40926 of file duktape.c.

◆ duk_bi_math_object_sign()

DUK_INTERNAL duk_ret_t duk_bi_math_object_sign ( duk_context ctx)

Definition at line 41000 of file duktape.c.

◆ duk_bi_math_object_twoarg_shared()

DUK_INTERNAL duk_ret_t duk_bi_math_object_twoarg_shared ( duk_context ctx)

Definition at line 40903 of file duktape.c.

◆ duk_bi_native_function_length()

DUK_INTERNAL duk_ret_t duk_bi_native_function_length ( duk_context ctx)

Definition at line 36568 of file duktape.c.

◆ duk_bi_native_function_name()

DUK_INTERNAL duk_ret_t duk_bi_native_function_name ( duk_context ctx)

Definition at line 36601 of file duktape.c.

◆ duk_bi_nodejs_buffer_byte_length()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_byte_length ( duk_context ctx)

Definition at line 29896 of file duktape.c.

◆ duk_bi_nodejs_buffer_concat()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_concat ( duk_context ctx)

Definition at line 29927 of file duktape.c.

◆ duk_bi_nodejs_buffer_constructor()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_constructor ( duk_context ctx)

Definition at line 28400 of file duktape.c.

◆ duk_bi_nodejs_buffer_copy()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_copy ( duk_context ctx)

Definition at line 29241 of file duktape.c.

◆ duk_bi_nodejs_buffer_fill()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_fill ( duk_context ctx)

Definition at line 29121 of file duktape.c.

◆ duk_bi_nodejs_buffer_is_buffer()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_is_buffer ( duk_context ctx)

Definition at line 29869 of file duktape.c.

◆ duk_bi_nodejs_buffer_is_encoding()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_is_encoding ( duk_context ctx)

Definition at line 29852 of file duktape.c.

◆ duk_bi_nodejs_buffer_tojson()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_tojson ( duk_context ctx)

Definition at line 29024 of file duktape.c.

◆ duk_bi_nodejs_buffer_tostring()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_tostring ( duk_context ctx)

Definition at line 28966 of file duktape.c.

◆ duk_bi_nodejs_buffer_write()

DUK_INTERNAL duk_ret_t duk_bi_nodejs_buffer_write ( duk_context ctx)

Definition at line 29198 of file duktape.c.

◆ duk_bi_number_check_shared()

DUK_INTERNAL duk_ret_t duk_bi_number_check_shared ( duk_context ctx)

Definition at line 41326 of file duktape.c.

◆ duk_bi_number_constructor()

DUK_INTERNAL duk_ret_t duk_bi_number_constructor ( duk_context ctx)

Definition at line 41130 of file duktape.c.

◆ duk_bi_number_prototype_to_exponential()

DUK_INTERNAL duk_ret_t duk_bi_number_prototype_to_exponential ( duk_context ctx)

Definition at line 41248 of file duktape.c.

◆ duk_bi_number_prototype_to_fixed()

DUK_INTERNAL duk_ret_t duk_bi_number_prototype_to_fixed ( duk_context ctx)

Definition at line 41216 of file duktape.c.

◆ duk_bi_number_prototype_to_locale_string()

DUK_INTERNAL duk_ret_t duk_bi_number_prototype_to_locale_string ( duk_context ctx)

Definition at line 41203 of file duktape.c.

◆ duk_bi_number_prototype_to_precision()

DUK_INTERNAL duk_ret_t duk_bi_number_prototype_to_precision ( duk_context ctx)

Definition at line 41278 of file duktape.c.

◆ duk_bi_number_prototype_to_string()

DUK_INTERNAL duk_ret_t duk_bi_number_prototype_to_string ( duk_context ctx)

Definition at line 41185 of file duktape.c.

◆ duk_bi_number_prototype_value_of()

DUK_INTERNAL duk_ret_t duk_bi_number_prototype_value_of ( duk_context ctx)

Definition at line 41180 of file duktape.c.

◆ duk_bi_object_constructor()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor ( duk_context ctx)

Definition at line 41374 of file duktape.c.

References DUK_HTHREAD_THIS_PTR, and duk_push_class_string_tval().

Here is the call graph for this function:

◆ duk_bi_object_constructor_assign()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_assign ( duk_context ctx)

Definition at line 41409 of file duktape.c.

◆ duk_bi_object_constructor_create()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_create ( duk_context ctx)

Definition at line 41451 of file duktape.c.

◆ duk_bi_object_constructor_define_properties()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_define_properties ( duk_context ctx)

Definition at line 41488 of file duktape.c.

◆ duk_bi_object_constructor_define_property()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_define_property ( duk_context ctx)

Definition at line 41809 of file duktape.c.

References DUK_DCERROR_TYPE_INVALID_ARGS.

◆ duk_bi_object_constructor_get_own_property_descriptor()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_get_own_property_descriptor ( duk_context ctx)

Definition at line 41884 of file duktape.c.

References duk_push_hobject().

Here is the call graph for this function:

◆ duk_bi_object_constructor_is()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_is ( duk_context ctx)

Definition at line 41443 of file duktape.c.

◆ duk_bi_object_constructor_is_extensible()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_is_extensible ( duk_context ctx)

Definition at line 41900 of file duktape.c.

References duk_to_object().

Here is the call graph for this function:

◆ duk_bi_object_constructor_is_sealed_frozen_shared()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_is_sealed_frozen_shared ( duk_context ctx)

Definition at line 41570 of file duktape.c.

References DUK_ASSERT_TOP, duk_get_current_magic(), and duk_seal_freeze_raw().

Here is the call graph for this function:

◆ duk_bi_object_constructor_keys_shared()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_keys_shared ( duk_context ctx)

Definition at line 41944 of file duktape.c.

◆ duk_bi_object_constructor_prevent_extensions()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_prevent_extensions ( duk_context ctx)

Definition at line 42016 of file duktape.c.

◆ duk_bi_object_constructor_seal_freeze_shared()

DUK_INTERNAL duk_ret_t duk_bi_object_constructor_seal_freeze_shared ( duk_context ctx)

Definition at line 41561 of file duktape.c.

◆ duk_bi_object_getprototype_shared()

DUK_INTERNAL duk_ret_t duk_bi_object_getprototype_shared ( duk_context ctx)

Definition at line 41659 of file duktape.c.

References duk_hobject_object_ownprop_helper(), and DUK_PROPDESC_FLAG_ENUMERABLE.

Here is the call graph for this function:

◆ duk_bi_object_prototype_defineaccessor()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_defineaccessor ( duk_context ctx)

Definition at line 42064 of file duktape.c.

References duk_push_true().

Here is the call graph for this function:

◆ duk_bi_object_prototype_has_own_property()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_has_own_property ( duk_context ctx)

Definition at line 41642 of file duktape.c.

◆ duk_bi_object_prototype_is_prototype_of()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_is_prototype_of ( duk_context ctx)

Definition at line 41616 of file duktape.c.

◆ duk_bi_object_prototype_lookupaccessor()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_lookupaccessor ( duk_context ctx)

Definition at line 42079 of file duktape.c.

◆ duk_bi_object_prototype_property_is_enumerable()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_property_is_enumerable ( duk_context ctx)

Definition at line 41648 of file duktape.c.

◆ duk_bi_object_prototype_to_locale_string()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_to_locale_string ( duk_context ctx)

Definition at line 41594 of file duktape.c.

◆ duk_bi_object_prototype_to_string()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_to_string ( duk_context ctx)

Definition at line 41365 of file duktape.c.

◆ duk_bi_object_prototype_value_of()

DUK_INTERNAL duk_ret_t duk_bi_object_prototype_value_of ( duk_context ctx)

Definition at line 41608 of file duktape.c.

◆ duk_bi_object_setprototype_shared()

DUK_INTERNAL duk_ret_t duk_bi_object_setprototype_shared ( duk_context ctx)

Definition at line 41717 of file duktape.c.

◆ duk_bi_performance_now()

DUK_INTERNAL duk_ret_t duk_bi_performance_now ( duk_context ctx)

Definition at line 42121 of file duktape.c.

◆ duk_bi_pointer_constructor()

DUK_INTERNAL duk_ret_t duk_bi_pointer_constructor ( duk_context ctx)

Definition at line 42153 of file duktape.c.

References DUK_ASSERT, DUK_BIDX_POINTER_PROTOTYPE, duk_get_top(), DUK_HOBJECT_CLASS_AS_FLAGS, DUK_HOBJECT_CLASS_POINTER, DUK_HOBJECT_FLAG_EXTENSIBLE, DUK_HOBJECT_FLAG_FASTREFS, duk_is_constructor_call(), duk_is_pointer(), duk_push_object_helper(), duk_push_pointer(), duk_set_top(), and duk_to_pointer().

Here is the call graph for this function:

◆ duk_bi_pointer_prototype_tostring_shared()

DUK_INTERNAL duk_ret_t duk_bi_pointer_prototype_tostring_shared ( duk_context ctx)

Definition at line 42185 of file duktape.c.

◆ duk_bi_proxy_constructor()

DUK_INTERNAL duk_ret_t duk_bi_proxy_constructor ( duk_context ctx)

Definition at line 42351 of file duktape.c.

◆ duk_bi_reflect_apply()

DUK_INTERNAL duk_ret_t duk_bi_reflect_apply ( duk_context ctx)

Definition at line 36368 of file duktape.c.

◆ duk_bi_reflect_construct()

DUK_INTERNAL duk_ret_t duk_bi_reflect_construct ( duk_context ctx)

Definition at line 36374 of file duktape.c.

References DUK_RET_TYPE_ERROR, and DUK_UNREF.

◆ duk_bi_reflect_object_delete_property()

DUK_INTERNAL duk_ret_t duk_bi_reflect_object_delete_property ( duk_context ctx)

Definition at line 42370 of file duktape.c.

References DUK_ASSERT_TOP, and duk_require_hobject().

Here is the call graph for this function:

◆ duk_bi_reflect_object_get()

DUK_INTERNAL duk_ret_t duk_bi_reflect_object_get ( duk_context ctx)

Definition at line 42389 of file duktape.c.

◆ duk_bi_reflect_object_has()

DUK_INTERNAL duk_ret_t duk_bi_reflect_object_has ( duk_context ctx)

Definition at line 42412 of file duktape.c.

◆ duk_bi_reflect_object_set()

DUK_INTERNAL duk_ret_t duk_bi_reflect_object_set ( duk_context ctx)

Definition at line 42431 of file duktape.c.

◆ duk_bi_regexp_constructor()

DUK_INTERNAL duk_ret_t duk_bi_regexp_constructor ( duk_context ctx)

Definition at line 42477 of file duktape.c.

References DUK_ASSERT, DUK_HOBJECT_CLASS_REGEXP, duk_insert(), duk_push_this(), duk_require_hobject_with_class(), and DUK_UNREF.

Here is the call graph for this function:

◆ duk_bi_regexp_prototype_exec()

DUK_INTERNAL duk_ret_t duk_bi_regexp_prototype_exec ( duk_context ctx)

Definition at line 42546 of file duktape.c.

◆ duk_bi_regexp_prototype_flags()

DUK_INTERNAL duk_ret_t duk_bi_regexp_prototype_flags ( duk_context ctx)

Definition at line 42585 of file duktape.c.

References DUK_ASSERT_TOP, duk_concat(), duk_dup_m2(), duk_get_prop_stridx(), duk_push_literal, duk_push_this(), DUK_STRIDX_FLAGS, and DUK_STRIDX_SOURCE.

Here is the call graph for this function:

◆ duk_bi_regexp_prototype_shared_getter()

DUK_INTERNAL duk_ret_t duk_bi_regexp_prototype_shared_getter ( duk_context ctx)

Definition at line 42614 of file duktape.c.

◆ duk_bi_regexp_prototype_test()

DUK_INTERNAL duk_ret_t duk_bi_regexp_prototype_test ( duk_context ctx)

Definition at line 42558 of file duktape.c.

References duk__get_this_regexp(), and duk_regexp_match().

Here is the call graph for this function:

◆ duk_bi_regexp_prototype_tostring()

DUK_INTERNAL duk_ret_t duk_bi_regexp_prototype_tostring ( duk_context ctx)

Definition at line 42573 of file duktape.c.

◆ duk_bi_string_constructor()

DUK_INTERNAL duk_ret_t duk_bi_string_constructor ( duk_context ctx)

Definition at line 42799 of file duktape.c.

◆ duk_bi_string_constructor_from_char_code()

DUK_INTERNAL duk_ret_t duk_bi_string_constructor_from_char_code ( duk_context ctx)

Definition at line 42896 of file duktape.c.

◆ duk_bi_string_constructor_from_code_point()

DUK_INTERNAL duk_ret_t duk_bi_string_constructor_from_code_point ( duk_context ctx)

Definition at line 42901 of file duktape.c.

◆ duk_bi_string_prototype_caseconv_shared()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_caseconv_shared ( duk_context ctx)

Definition at line 43147 of file duktape.c.

◆ duk_bi_string_prototype_char_at()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_char_at ( duk_context ctx)

Definition at line 42945 of file duktape.c.

◆ duk_bi_string_prototype_char_code_at()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_char_code_at ( duk_context ctx)

Definition at line 42981 of file duktape.c.

References duk_push_hstring_empty().

Here is the call graph for this function:

◆ duk_bi_string_prototype_concat()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_concat ( duk_context ctx)

Definition at line 44011 of file duktape.c.

◆ duk_bi_string_prototype_includes()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_includes ( duk_context ctx)

Definition at line 44275 of file duktape.c.

References result.

◆ duk_bi_string_prototype_indexof_shared()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_indexof_shared ( duk_context ctx)

Definition at line 43159 of file duktape.c.

References duk_get_current_magic(), duk_push_this_coercible_to_string(), and duk_unicode_case_convert_string().

Here is the call graph for this function:

◆ duk_bi_string_prototype_locale_compare()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_locale_compare ( duk_context ctx)

Definition at line 44129 of file duktape.c.

◆ duk_bi_string_prototype_match()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_match ( duk_context ctx)

Definition at line 43939 of file duktape.c.

References duk_push_int().

Here is the call graph for this function:

◆ duk_bi_string_prototype_repeat()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_repeat ( duk_context ctx)

Definition at line 44028 of file duktape.c.

◆ duk_bi_string_prototype_replace()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_replace ( duk_context ctx)

◆ duk_bi_string_prototype_search()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_search ( duk_context ctx)

Definition at line 43900 of file duktape.c.

◆ duk_bi_string_prototype_slice()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_slice ( duk_context ctx)

Definition at line 43107 of file duktape.c.

◆ duk_bi_string_prototype_split()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_split ( duk_context ctx)

Definition at line 43592 of file duktape.c.

◆ duk_bi_string_prototype_startswith_endswith()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_startswith_endswith ( duk_context ctx)

Definition at line 44187 of file duktape.c.

◆ duk_bi_string_prototype_substr()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_substr ( duk_context ctx)

Definition at line 43063 of file duktape.c.

◆ duk_bi_string_prototype_substring()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_substring ( duk_context ctx)

Definition at line 43030 of file duktape.c.

◆ duk_bi_string_prototype_to_string()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_to_string ( duk_context ctx)

Definition at line 42910 of file duktape.c.

◆ duk_bi_string_prototype_trim()

DUK_INTERNAL duk_ret_t duk_bi_string_prototype_trim ( duk_context ctx)

Definition at line 44019 of file duktape.c.

◆ duk_bi_symbol_constructor_shared()

DUK_INTERNAL duk_ret_t duk_bi_symbol_constructor_shared ( duk_context ctx)

Definition at line 44309 of file duktape.c.

References DUK_ASSERT, duk_get_current_magic(), duk_is_undefined(), duk_memcpy_unsafe, duk_push_fixed_buffer, DUK_SPRINTF, duk_to_lstring(), duk_hthread::heap, and duk_heap::sym_counter.

Here is the call graph for this function:

◆ duk_bi_symbol_key_for()

DUK_INTERNAL duk_ret_t duk_bi_symbol_key_for ( duk_context ctx)

Definition at line 44428 of file duktape.c.

◆ duk_bi_symbol_toprimitive()

DUK_INTERNAL duk_ret_t duk_bi_symbol_toprimitive ( duk_context ctx)

Definition at line 44457 of file duktape.c.

◆ duk_bi_symbol_tostring_shared()

DUK_INTERNAL duk_ret_t duk_bi_symbol_tostring_shared ( duk_context ctx)

Definition at line 44410 of file duktape.c.

◆ duk_bi_textdecoder_constructor()

DUK_INTERNAL duk_ret_t duk_bi_textdecoder_constructor ( duk_context ctx)

Definition at line 35687 of file duktape.c.

◆ duk_bi_textdecoder_prototype_decode()

DUK_INTERNAL duk_ret_t duk_bi_textdecoder_prototype_decode ( duk_context ctx)

Definition at line 35755 of file duktape.c.

◆ duk_bi_textdecoder_prototype_shared_getter()

DUK_INTERNAL duk_ret_t duk_bi_textdecoder_prototype_shared_getter ( duk_context ctx)

Definition at line 35731 of file duktape.c.

◆ duk_bi_textencoder_constructor()

DUK_INTERNAL duk_ret_t duk_bi_textencoder_constructor ( duk_context ctx)

Definition at line 35590 of file duktape.c.

◆ duk_bi_textencoder_prototype_encode()

DUK_INTERNAL duk_ret_t duk_bi_textencoder_prototype_encode ( duk_context ctx)

Definition at line 35604 of file duktape.c.

◆ duk_bi_textencoder_prototype_encoding_getter()

DUK_INTERNAL duk_ret_t duk_bi_textencoder_prototype_encoding_getter ( duk_context ctx)

Definition at line 35599 of file duktape.c.

◆ duk_bi_thread_constructor()

DUK_INTERNAL duk_ret_t duk_bi_thread_constructor ( duk_context ctx)

Definition at line 44480 of file duktape.c.

References DUK_ASSERT, DUK_HTHREAD_STATE_INACTIVE, duk_known_hobject(), duk_push_hobject(), duk_push_thread, duk_require_callable, duk_require_hobject_promote_lfunc, and duk_hthread::state.

Here is the call graph for this function:

◆ duk_bi_thread_current()

DUK_INTERNAL duk_ret_t duk_bi_thread_current ( duk_context ctx)

Definition at line 44788 of file duktape.c.

◆ duk_bi_thread_resume()

DUK_INTERNAL duk_ret_t duk_bi_thread_resume ( duk_context ctx)

◆ duk_bi_thread_yield()

DUK_INTERNAL duk_ret_t duk_bi_thread_yield ( duk_context ctx)

◆ duk_bi_type_error_thrower()

DUK_INTERNAL duk_ret_t duk_bi_type_error_thrower ( duk_context ctx)

Definition at line 44799 of file duktape.c.

References duk_push_current_thread().

Here is the call graph for this function:

◆ duk_bi_typedarray_buffer_getter()

DUK_INTERNAL duk_ret_t duk_bi_typedarray_buffer_getter ( duk_context ctx)

Definition at line 30615 of file duktape.c.

◆ duk_bi_typedarray_bytelength_getter()

DUK_INTERNAL duk_ret_t duk_bi_typedarray_bytelength_getter ( duk_context ctx)

Definition at line 30679 of file duktape.c.

◆ duk_bi_typedarray_byteoffset_getter()

DUK_INTERNAL duk_ret_t duk_bi_typedarray_byteoffset_getter ( duk_context ctx)

Definition at line 30663 of file duktape.c.

◆ duk_bi_typedarray_constructor()

DUK_INTERNAL duk_ret_t duk_bi_typedarray_constructor ( duk_context ctx)

Definition at line 28461 of file duktape.c.

◆ duk_bi_typedarray_set()

DUK_INTERNAL duk_ret_t duk_bi_typedarray_set ( duk_context ctx)

◆ duk_bi_uint8array_allocplain()

DUK_INTERNAL duk_ret_t duk_bi_uint8array_allocplain ( duk_context ctx)

Definition at line 28926 of file duktape.c.

◆ duk_bi_uint8array_plainof()

DUK_INTERNAL duk_ret_t duk_bi_uint8array_plainof ( duk_context ctx)

Definition at line 28937 of file duktape.c.

References duk__hbufobj_fixed_from_argvalue().

Here is the call graph for this function:

◆ duk_buffer_to_string()

DUK_EXTERNAL const char * duk_buffer_to_string ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22192 of file duktape.c.

◆ duk_bw_compact()

DUK_INTERNAL void duk_bw_compact ( duk_hthread thr,
duk_bufwriter_ctx bw_ctx 
)

Definition at line 100230 of file duktape.c.

References DUK_ASSERT.

◆ duk_bw_init()

DUK_INTERNAL void duk_bw_init ( duk_hthread thr,
duk_bufwriter_ctx bw_ctx,
duk_hbuffer_dynamic h_buf 
)

Definition at line 100170 of file duktape.c.

◆ duk_bw_init_pushbuf()

DUK_INTERNAL void duk_bw_init_pushbuf ( duk_hthread thr,
duk_bufwriter_ctx bw_ctx,
duk_size_t  buf_size 
)

Definition at line 100179 of file duktape.c.

◆ duk_bw_insert_ensure_area()

DUK_INTERNAL duk_uint8_t * duk_bw_insert_ensure_area ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  off,
duk_size_t  len 
)

Definition at line 100380 of file duktape.c.

◆ duk_bw_insert_ensure_bytes()

DUK_INTERNAL void duk_bw_insert_ensure_bytes ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  dst_off,
const duk_uint8_t *  buf,
duk_size_t  len 
)

Definition at line 100292 of file duktape.c.

◆ duk_bw_insert_ensure_slice()

DUK_INTERNAL void duk_bw_insert_ensure_slice ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  dst_off,
duk_size_t  src_off,
duk_size_t  len 
)

Definition at line 100343 of file duktape.c.

◆ duk_bw_insert_raw_area()

DUK_INTERNAL duk_uint8_t * duk_bw_insert_raw_area ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  off,
duk_size_t  len 
)

Definition at line 100362 of file duktape.c.

◆ duk_bw_insert_raw_bytes()

DUK_INTERNAL void duk_bw_insert_raw_bytes ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  dst_off,
const duk_uint8_t *  buf,
duk_size_t  len 
)

Definition at line 100268 of file duktape.c.

References duk_bufwriter_ctx::buf, duk__bw_update_ptrs(), DUK_ASSERT, duk_hbuffer_resize(), DUK_UNREF, duk_bufwriter_ctx::p, and duk_bufwriter_ctx::p_base.

Here is the call graph for this function:

◆ duk_bw_insert_raw_slice()

DUK_INTERNAL void duk_bw_insert_raw_slice ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  dst_off,
duk_size_t  src_off,
duk_size_t  len 
)

◆ duk_bw_remove_raw_slice()

DUK_INTERNAL void duk_bw_remove_raw_slice ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  off,
duk_size_t  len 
)

Definition at line 100389 of file duktape.c.

◆ duk_bw_resize()

DUK_INTERNAL duk_uint8_t * duk_bw_resize ( duk_hthread thr,
duk_bufwriter_ctx bw_ctx,
duk_size_t  sz 
)

◆ duk_bw_write_ensure_slice()

DUK_INTERNAL void duk_bw_write_ensure_slice ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  src_off,
duk_size_t  len 
)

Definition at line 100257 of file duktape.c.

◆ duk_bw_write_raw_slice()

DUK_INTERNAL void duk_bw_write_raw_slice ( duk_hthread thr,
duk_bufwriter_ctx bw,
duk_size_t  src_off,
duk_size_t  len 
)

Definition at line 100242 of file duktape.c.

References DUK_ERROR_RANGE, DUK_STR_BUFFER_TOO_LONG, and DUK_WO_NORETURN.

◆ duk_call()

DUK_EXTERNAL void duk_call ( duk_hthread thr,
duk_idx_t  nargs 
)

Definition at line 15320 of file duktape.c.

Referenced by duk_bi_string_prototype_replace(), and dukky_populate_object().

Here is the caller graph for this function:

◆ duk_call_construct_postprocess()

DUK_INTERNAL void duk_call_construct_postprocess ( duk_hthread thr,
duk_small_uint_t  proxy_invariant 
)

Definition at line 66568 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk_call_method()

DUK_EXTERNAL void duk_call_method ( duk_hthread thr,
duk_idx_t  nargs 
)

Definition at line 15335 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), duk_bi_array_prototype_join_shared(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk_call_prop()

DUK_EXTERNAL void duk_call_prop ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_idx_t  nargs 
)

Definition at line 15348 of file duktape.c.

◆ duk_call_setup_propcall_error()

DUK_INTERNAL DUK_NOINLINE DUK_COLD void duk_call_setup_propcall_error ( duk_hthread thr,
duk_tval tv_base,
duk_tval tv_key 
)

Definition at line 68945 of file duktape.c.

◆ duk_cbor_decode()

DUK_EXTERNAL void duk_cbor_decode ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  decode_flags 
)

Definition at line 32617 of file duktape.c.

◆ duk_cbor_encode()

DUK_EXTERNAL void duk_cbor_encode ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  encode_flags 
)

Definition at line 32613 of file duktape.c.

References DUK_ERROR_UNSUPPORTED, and DUK_UNREF.

◆ duk_char_code_at()

DUK_EXTERNAL duk_codepoint_t duk_char_code_at ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t  char_offset 
)

Definition at line 25950 of file duktape.c.

◆ duk_check_stack()

DUK_EXTERNAL duk_bool_t duk_check_stack ( duk_hthread thr,
duk_idx_t  extra 
)

Definition at line 19657 of file duktape.c.

Referenced by duk_hobject_realloc_props().

Here is the caller graph for this function:

◆ duk_check_stack_top()

DUK_EXTERNAL duk_bool_t duk_check_stack_top ( duk_hthread thr,
duk_idx_t  top 
)

Definition at line 19703 of file duktape.c.

◆ duk_check_type()

DUK_EXTERNAL duk_bool_t duk_check_type ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  type 
)

Definition at line 22591 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_check_type_mask()

DUK_EXTERNAL duk_bool_t duk_check_type_mask ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  mask 
)

Definition at line 22647 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_get_tval_or_unused(), and duk_get_type_mask_tval().

Referenced by duk_get_buffer_default(), duk_opt_string(), and duk_require_buffer_data().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_clear_prototype()

DUK_INTERNAL void duk_clear_prototype ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18577 of file duktape.c.

References DUK_ERROR_TYPE, DUK_STR_NOT_CONFIGURABLE, and DUK_WO_NORETURN.

◆ duk_compact()

DUK_EXTERNAL void duk_compact ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 18248 of file duktape.c.

◆ duk_compact_m1()

DUK_INTERNAL void duk_compact_m1 ( duk_hthread thr)

Definition at line 18260 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_get_hobject().

Referenced by duk__load_func().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_compile_raw()

DUK_EXTERNAL duk_int_t duk_compile_raw ( duk_hthread thr,
const char *  src_buffer,
duk_size_t  src_length,
duk_uint_t  flags 
)

Definition at line 16776 of file duktape.c.

◆ duk_components_to_time()

DUK_EXTERNAL duk_double_t duk_components_to_time ( duk_hthread thr,
duk_time_components comp 
)

Definition at line 26049 of file duktape.c.

◆ duk_concat()

DUK_EXTERNAL void duk_concat ( duk_hthread thr,
duk_idx_t  count 
)

Definition at line 25701 of file duktape.c.

Referenced by duk_bi_regexp_prototype_flags(), and dukky_get_current_value_of_event_handler().

Here is the caller graph for this function:

◆ duk_concat_2()

DUK_INTERNAL void duk_concat_2 ( duk_hthread thr)

Definition at line 25713 of file duktape.c.

References count(), duk__concat_and_join_helper(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_config_buffer()

DUK_EXTERNAL void duk_config_buffer ( duk_hthread thr,
duk_idx_t  idx,
void *  ptr,
duk_size_t  len 
)

Definition at line 14398 of file duktape.c.

◆ duk_copy()

DUK_EXTERNAL void duk_copy ( duk_hthread thr,
duk_idx_t  from_idx,
duk_idx_t  to_idx 
)

Definition at line 19959 of file duktape.c.

◆ duk_copy_tvals_incref()

DUK_INTERNAL void duk_copy_tvals_incref ( duk_hthread thr,
duk_tval tv_dst,
duk_tval tv_src,
duk_size_t  count 
)

Definition at line 25569 of file duktape.c.

◆ duk_create_activation_environment_record()

DUK_INTERNAL duk_hobject * duk_create_activation_environment_record ( duk_hthread thr,
duk_hobject func,
duk_size_t  bottom_byteoff 
)

Definition at line 84447 of file duktape.c.

◆ duk_create_heap()

DUK_EXTERNAL duk_hthread * duk_create_heap ( duk_alloc_function  alloc_func,
duk_realloc_function  realloc_func,
duk_free_function  free_func,
void *  heap_udata,
duk_fatal_function  fatal_handler 
)

Definition at line 17094 of file duktape.c.

Referenced by js_newheap().

Here is the caller graph for this function:

◆ duk_dblunion_big_to_host()

DUK_INTERNAL DUK_INLINE void duk_dblunion_big_to_host ( duk_double_union u)

Definition at line 100893 of file duktape.c.

◆ duk_dblunion_host_to_big()

DUK_INTERNAL DUK_INLINE void duk_dblunion_host_to_big ( duk_double_union u)

Definition at line 100864 of file duktape.c.

Referenced by duk_raw_write_cesu8().

Here is the caller graph for this function:

◆ duk_dblunion_host_to_little()

DUK_INTERNAL DUK_INLINE void duk_dblunion_host_to_little ( duk_double_union u)

Definition at line 100831 of file duktape.c.

◆ duk_dblunion_little_to_host()

DUK_INTERNAL DUK_INLINE void duk_dblunion_little_to_host ( duk_double_union u)

Definition at line 100860 of file duktape.c.

◆ duk_debugger_attach()

DUK_EXTERNAL void duk_debugger_attach ( duk_hthread thr,
duk_debug_read_function  read_cb,
duk_debug_write_function  write_cb,
duk_debug_peek_function  peek_cb,
duk_debug_read_flush_function  read_flush_cb,
duk_debug_write_flush_function  write_flush_cb,
duk_debug_request_function  request_cb,
duk_debug_detached_function  detached_cb,
void *  udata 
)

Definition at line 17021 of file duktape.c.

◆ duk_debugger_cooperate()

DUK_EXTERNAL void duk_debugger_cooperate ( duk_hthread thr)

Definition at line 17049 of file duktape.c.

◆ duk_debugger_detach()

DUK_EXTERNAL void duk_debugger_detach ( duk_hthread thr)

Definition at line 17043 of file duktape.c.

◆ duk_debugger_notify()

DUK_EXTERNAL duk_bool_t duk_debugger_notify ( duk_hthread thr,
duk_idx_t  nvalues 
)

Definition at line 17055 of file duktape.c.

References DUK_ASSERT_API_ENTRY, DUK_ERROR_TYPE, and DUK_WO_NORETURN.

◆ duk_debugger_pause()

DUK_EXTERNAL void duk_debugger_pause ( duk_hthread thr)

Definition at line 17071 of file duktape.c.

◆ duk_decode_string()

DUK_EXTERNAL void duk_decode_string ( duk_hthread thr,
duk_idx_t  idx,
duk_decode_char_function  callback,
void *  udata 
)

Definition at line 25762 of file duktape.c.

References count(), duk__concat_and_join_helper(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_def_prop()

DUK_EXTERNAL void duk_def_prop ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uint_t  flags 
)

Definition at line 18169 of file duktape.c.

Referenced by duk_proxy_ownkeys_postprocess().

Here is the caller graph for this function:

◆ duk_default_alloc_function()

DUK_INTERNAL void * duk_default_alloc_function ( void *  udata,
duk_size_t  size 
)

Definition at line 14320 of file duktape.c.

◆ duk_default_fatal_handler()

DUK_INTERNAL DUK_COLD void duk_default_fatal_handler ( void *  udata,
const char *  msg 
)

Definition at line 12599 of file duktape.c.

References DUK_ERR_TYPE_ERROR.

◆ duk_default_free_function()

DUK_INTERNAL void duk_default_free_function ( void *  udata,
void *  ptr 
)

Definition at line 14336 of file duktape.c.

◆ duk_default_realloc_function()

DUK_INTERNAL void * duk_default_realloc_function ( void *  udata,
void *  ptr,
duk_size_t  newsize 
)

Definition at line 14328 of file duktape.c.

References DUK_ANSI_MALLOC, and DUK_UNREF.

◆ duk_del_prop()

DUK_EXTERNAL duk_bool_t duk_del_prop ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 17899 of file duktape.c.

Referenced by js_event_cleanup().

Here is the caller graph for this function:

◆ duk_del_prop_heapptr()

DUK_EXTERNAL duk_bool_t duk_del_prop_heapptr ( duk_hthread thr,
duk_idx_t  obj_idx,
void *  ptr 
)

Definition at line 17960 of file duktape.c.

◆ duk_del_prop_index()

DUK_EXTERNAL duk_bool_t duk_del_prop_index ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uarridx_t  arr_idx 
)

Definition at line 17952 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_push_literal_raw(), and duk_require_normalize_index().

Referenced by duk_bi_array_prototype_splice(), dukky_destroythread(), and dukky_shuffle_array().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_del_prop_literal_raw()

DUK_EXTERNAL duk_bool_t duk_del_prop_literal_raw ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 17941 of file duktape.c.

◆ duk_del_prop_lstring()

DUK_EXTERNAL duk_bool_t duk_del_prop_lstring ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 17931 of file duktape.c.

◆ duk_del_prop_stridx()

DUK_INTERNAL duk_bool_t duk_del_prop_stridx ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx 
)

Definition at line 17968 of file duktape.c.

◆ duk_del_prop_string()

DUK_EXTERNAL duk_bool_t duk_del_prop_string ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key 
)

Definition at line 17922 of file duktape.c.

Referenced by js_newthread().

Here is the caller graph for this function:

◆ duk_destroy_heap()

DUK_EXTERNAL void duk_destroy_heap ( duk_hthread thr)

Definition at line 17145 of file duktape.c.

Referenced by dukky_destroyheap().

Here is the caller graph for this function:

◆ duk_double_div()

Definition at line 100798 of file duktape.c.

References duk_double_union::d, DUK_DBLUNION_HAS_SIGNBIT, duk_double_equals(), and duk_double_to_int32_t().

Here is the call graph for this function:

◆ duk_double_equals()

Definition at line 100925 of file duktape.c.

Referenced by duk__js_samevalue_number(), duk_double_div(), and duk_is_whole_get_int32().

Here is the caller graph for this function:

◆ duk_double_fmax()

DUK_INTERNAL duk_double_t duk_double_fmax ( duk_double_t  x,
duk_double_t  y 
)

Definition at line 100729 of file duktape.c.

◆ duk_double_fmin()

DUK_INTERNAL duk_double_t duk_double_fmin ( duk_double_t  x,
duk_double_t  y 
)

Definition at line 100720 of file duktape.c.

◆ duk_double_is_anyinf()

DUK_INTERNAL duk_bool_t duk_double_is_anyinf ( duk_double_t  x)

Definition at line 100600 of file duktape.c.

References DUK_ASSERT, and DUK_ISNAN.

◆ duk_double_is_finite()

DUK_INTERNAL duk_bool_t duk_double_is_finite ( duk_double_t  x)

Definition at line 100738 of file duktape.c.

◆ duk_double_is_integer()

DUK_INTERNAL duk_bool_t duk_double_is_integer ( duk_double_t  x)

Definition at line 100742 of file duktape.c.

References duk_double_signbit(), DUK_FABS, and DUK_FLOOR.

Here is the call graph for this function:

◆ duk_double_is_nan()

DUK_INTERNAL duk_bool_t duk_double_is_nan ( duk_double_t  x)

Definition at line 100618 of file duktape.c.

◆ duk_double_is_nan_or_inf()

DUK_INTERNAL duk_bool_t duk_double_is_nan_or_inf ( duk_double_t  x)

Definition at line 100638 of file duktape.c.

References duk_double_union::d, and DUK_DBLUNION_IS_ANYINF.

Referenced by duk_is_whole_get_int32().

Here is the caller graph for this function:

◆ duk_double_is_nan_or_zero()

DUK_INTERNAL duk_bool_t duk_double_is_nan_or_zero ( duk_double_t  x)

Definition at line 100628 of file duktape.c.

◆ duk_double_is_nan_zero_inf()

DUK_INTERNAL duk_bool_t duk_double_is_nan_zero_inf ( duk_double_t  x)

Definition at line 100655 of file duktape.c.

◆ duk_double_is_neginf()

DUK_INTERNAL duk_bool_t duk_double_is_neginf ( duk_double_t  x)

Definition at line 100612 of file duktape.c.

◆ duk_double_is_posinf()

DUK_INTERNAL duk_bool_t duk_double_is_posinf ( duk_double_t  x)

Definition at line 100606 of file duktape.c.

◆ duk_double_is_safe_integer()

DUK_INTERNAL duk_bool_t duk_double_is_safe_integer ( duk_double_t  x)

Definition at line 100750 of file duktape.c.

◆ duk_double_same_sign()

DUK_INTERNAL duk_bool_t duk_double_same_sign ( duk_double_t  x,
duk_double_t  y 
)

Definition at line 100711 of file duktape.c.

Referenced by duk_js_equals_helper().

Here is the caller graph for this function:

◆ duk_double_signbit()

DUK_INTERNAL duk_small_uint_t duk_double_signbit ( duk_double_t  x)

Definition at line 100695 of file duktape.c.

Referenced by duk_double_is_integer().

Here is the caller graph for this function:

◆ duk_double_to_float_t()

DUK_INTERNAL duk_float_t duk_double_to_float_t ( duk_double_t  x)

Definition at line 100539 of file duktape.c.

◆ duk_double_to_int32_t()

DUK_INTERNAL duk_int32_t duk_double_to_int32_t ( duk_double_t  x)

Definition at line 100511 of file duktape.c.

Referenced by duk_double_div().

Here is the caller graph for this function:

◆ duk_double_to_int_t()

DUK_INTERNAL duk_int_t duk_double_to_int_t ( duk_double_t  x)

Definition at line 100492 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_double_to_uint32_t()

DUK_INTERNAL duk_uint32_t duk_double_to_uint32_t ( duk_double_t  x)

Definition at line 100519 of file duktape.c.

◆ duk_double_to_uint_t()

DUK_INTERNAL duk_uint_t duk_double_to_uint_t ( duk_double_t  x)

Definition at line 100503 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_double_trunc_towards_zero()

DUK_INTERNAL duk_double_t duk_double_trunc_towards_zero ( duk_double_t  x)

Definition at line 100701 of file duktape.c.

◆ duk_dump_function()

DUK_EXTERNAL void duk_dump_function ( duk_hthread thr)

Definition at line 15102 of file duktape.c.

◆ duk_dup()

DUK_EXTERNAL void duk_dup ( duk_hthread thr,
duk_idx_t  from_idx 
)

Definition at line 19777 of file duktape.c.

Referenced by duk__load_func(), duk_bi_array_prototype_splice(), duk_dup_m2(), duk_dup_m3(), duk_dup_m4(), duk_lexer_parse_js_input_element(), dukky_event_target_push_listeners(), dukky_generic_event_handler(), dukky_populate_object(), dukky_push_event(), dukky_push_node(), and dukky_push_node_stacked().

Here is the caller graph for this function:

◆ duk_dup_0()

DUK_INTERNAL void duk_dup_0 ( duk_hthread thr)

Definition at line 19815 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), duk_bi_array_prototype_join_shared(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_dup_1()

DUK_INTERNAL void duk_dup_1 ( duk_hthread thr)

Definition at line 19819 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_dup_2()

DUK_INTERNAL void duk_dup_2 ( duk_hthread thr)

Definition at line 19823 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_dup_m2()

DUK_INTERNAL void duk_dup_m2 ( duk_hthread thr)

Definition at line 19827 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_dup().

Referenced by duk__finalize_helper(), duk__load_func(), duk_bi_array_prototype_iter_shared(), duk_bi_regexp_prototype_flags(), and duk_hobject_get_enumerated_keys().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_dup_m3()

DUK_INTERNAL void duk_dup_m3 ( duk_hthread thr)

Definition at line 19831 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_dup().

Referenced by duk_bi_array_prototype_iter_shared().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_dup_m4()

DUK_INTERNAL void duk_dup_m4 ( duk_hthread thr)

Definition at line 19835 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_dup().

Referenced by duk_hobject_putprop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_dup_top()

DUK_EXTERNAL void duk_dup_top ( duk_hthread thr)

Definition at line 19792 of file duktape.c.

Referenced by duk__init_varmap_and_prologue_for_pass2(), duk__parse_var_decl(), duk_bi_array_prototype_iter_shared(), duk_get_prop_desc(), and dukky_dump_error().

Here is the caller graph for this function:

◆ duk_enum()

DUK_EXTERNAL void duk_enum ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uint_t  enum_flags 
)

Definition at line 18268 of file duktape.c.

◆ duk_equals()

DUK_EXTERNAL duk_bool_t duk_equals ( duk_hthread thr,
duk_idx_t  idx1,
duk_idx_t  idx2 
)

Definition at line 25194 of file duktape.c.

◆ duk_err_augment_error_create()

DUK_INTERNAL void duk_err_augment_error_create ( duk_hthread thr,
duk_hthread thr_callstack,
const char *  filename,
duk_int_t  line,
duk_small_uint_t  flags 
)

Definition at line 49511 of file duktape.c.

References duk_hthread::builtins, duk__err_augment_builtin_create(), DUK_ASSERT, DUK_BIDX_ERROR_PROTOTYPE, DUK_DDD, DUK_DDDPRINT, duk_get_hobject(), DUK_HOBJECT_HAS_EXTENSIBLE, and duk_hobject_prototype_chain_contains().

Referenced by duk_bi_error_prototype_to_string().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_err_augment_error_throw()

DUK_INTERNAL void duk_err_augment_error_throw ( duk_hthread thr)

Definition at line 49570 of file duktape.c.

Referenced by duk_bi_thread_resume(), duk_bi_thread_yield(), duk_err_create_and_throw(), and duk_throw_raw().

Here is the caller graph for this function:

◆ duk_err_create_and_throw()

DUK_INTERNAL void duk_err_create_and_throw ( duk_hthread thr,
duk_errcode_t  code,
const char *  msg,
const char *  filename,
duk_int_t  line 
)

Definition at line 49879 of file duktape.c.

References duk_hthread::builtins, duk_heap::creating_error, DUK_ASSERT, DUK_ASSERT_LJSTATE_UNSET, DUK_BIDX_DOUBLE_ERROR, DUK_D, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_DPRINT, duk_err_augment_error_throw(), duk_err_create_and_throw(), duk_err_setup_ljstate1(), DUK_ERRCODE_FLAG_NOBLAME_FILELINE, duk_get_tval(), DUK_GET_TVAL_NEGIDX, duk_hthread_sync_and_null_currpc(), DUK_INTERNAL, DUK_LJ_TYPE_THROW, duk_push_error_object_raw(), duk_require_stack(), DUK_TVAL_SET_I32, DUK_TVAL_SET_OBJECT, duk_hthread::heap, and line().

Referenced by duk_err_create_and_throw().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_err_error()

DUK_INTERNAL DUK_COLD void duk_err_error ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber,
const char *  message 
)

Definition at line 12542 of file duktape.c.

◆ duk_err_error_alloc_failed()

DUK_INTERNAL DUK_COLD void duk_err_error_alloc_failed ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber 
)

Definition at line 12539 of file duktape.c.

◆ duk_err_error_internal()

DUK_INTERNAL DUK_COLD void duk_err_error_internal ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber 
)

Definition at line 12536 of file duktape.c.

References DUK_ERROR_RAW_FMT3.

◆ duk_err_handle_error()

DUK_INTERNAL DUK_COLD void duk_err_handle_error ( duk_hthread thr,
const char *  filename,
duk_uint_t  line_and_code,
const char *  msg 
)

Definition at line 12484 of file duktape.c.

◆ duk_err_handle_error_fmt()

DUK_INTERNAL DUK_COLD void duk_err_handle_error_fmt ( duk_hthread thr,
const char *  filename,
duk_uint_t  line_and_code,
const char *  fmt,
  ... 
)

Definition at line 12466 of file duktape.c.

◆ duk_err_longjmp()

DUK_INTERNAL void duk_err_longjmp ( duk_hthread thr)

Definition at line 49620 of file duktape.c.

Referenced by duk_bi_thread_resume().

Here is the caller graph for this function:

◆ duk_err_range()

DUK_INTERNAL DUK_COLD void duk_err_range ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber,
const char *  message 
)

Definition at line 12545 of file duktape.c.

◆ duk_err_range_index()

DUK_INTERNAL DUK_COLD void duk_err_range_index ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber,
duk_idx_t  idx 
)

Definition at line 12548 of file duktape.c.

References DUK_ERR_ERROR, DUK_ERROR_RAW, and DUK_STR_INTERNAL_ERROR.

◆ duk_err_range_push_beyond()

DUK_INTERNAL DUK_COLD void duk_err_range_push_beyond ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber 
)

Definition at line 12551 of file duktape.c.

References DUK_ERR_ERROR, DUK_ERROR_RAW, and DUK_STR_ALLOC_FAILED.

◆ duk_err_require_type_index()

DUK_INTERNAL DUK_COLD void duk_err_require_type_index ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber,
duk_idx_t  idx,
const char *  expect_name 
)

Definition at line 12521 of file duktape.c.

References DUK_ERR_TYPE_ERROR, and DUK_ERROR_RAW_FMT3.

◆ duk_err_setup_ljstate1()

DUK_INTERNAL void duk_err_setup_ljstate1 ( duk_hthread thr,
duk_small_uint_t  lj_type,
duk_tval tv_val 
)

Definition at line 49840 of file duktape.c.

Referenced by duk_err_create_and_throw(), and duk_throw_raw().

Here is the caller graph for this function:

◆ duk_err_type_invalid_args()

DUK_INTERNAL DUK_COLD void duk_err_type_invalid_args ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber 
)

Definition at line 12554 of file duktape.c.

References DUK_ERR_ERROR, and DUK_ERROR_RAW.

◆ duk_err_type_invalid_state()

DUK_INTERNAL DUK_COLD void duk_err_type_invalid_state ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber 
)

Definition at line 12557 of file duktape.c.

References DUK_ERR_RANGE_ERROR, and DUK_ERROR_RAW.

◆ duk_err_type_invalid_trap_result()

DUK_INTERNAL DUK_COLD void duk_err_type_invalid_trap_result ( duk_hthread thr,
const char *  filename,
duk_int_t  linenumber 
)

Definition at line 12560 of file duktape.c.

References DUK_ERR_RANGE_ERROR, and DUK_ERROR_RAW_FMT1.

◆ duk_error_prototype_from_code()

DUK_INTERNAL duk_hobject * duk_error_prototype_from_code ( duk_hthread thr,
duk_errcode_t  err_code 
)

Definition at line 49724 of file duktape.c.

◆ duk_error_raw()

DUK_EXTERNAL void duk_error_raw ( duk_hthread thr,
duk_errcode_t  err_code,
const char *  filename,
duk_int_t  line,
const char *  fmt,
  ... 
)

Definition at line 25104 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_push_error_object_va_raw(), duk_throw, DUK_WO_NORETURN, and line().

Here is the call graph for this function:

◆ duk_error_stash()

DUK_EXTERNAL duk_ret_t duk_error_stash ( duk_hthread thr,
duk_errcode_t  err_code,
const char *  fmt,
  ... 
)

Definition at line 25156 of file duktape.c.

◆ duk_error_throw_from_negative_rc()

DUK_INTERNAL void duk_error_throw_from_negative_rc ( duk_hthread thr,
duk_ret_t  rc 
)

Definition at line 49998 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk_error_va_raw()

DUK_EXTERNAL void duk_error_va_raw ( duk_hthread thr,
duk_errcode_t  err_code,
const char *  filename,
duk_int_t  line,
const char *  fmt,
va_list  ap 
)

Definition at line 25091 of file duktape.c.

◆ duk_eval_error_stash()

DUK_EXTERNAL duk_ret_t duk_eval_error_stash ( duk_hthread thr,
const char *  fmt,
  ... 
)

Definition at line 25164 of file duktape.c.

◆ duk_eval_raw()

DUK_EXTERNAL duk_int_t duk_eval_raw ( duk_hthread thr,
const char *  src_buffer,
duk_size_t  src_length,
duk_uint_t  flags 
)

Definition at line 16657 of file duktape.c.

◆ duk_fatal_raw()

DUK_EXTERNAL void duk_fatal_raw ( duk_hthread thr,
const char *  err_msg 
)

Definition at line 25067 of file duktape.c.

◆ duk_float_equals()

Definition at line 100929 of file duktape.c.

◆ duk_fltunion_big_to_host()

DUK_INTERNAL DUK_INLINE void duk_fltunion_big_to_host ( duk_float_union u)

Definition at line 100909 of file duktape.c.

◆ duk_fltunion_host_to_big()

DUK_INTERNAL DUK_INLINE void duk_fltunion_host_to_big ( duk_float_union u)

Definition at line 100897 of file duktape.c.

◆ duk_free()

DUK_EXTERNAL void duk_free ( duk_hthread thr,
void *  ptr 
)

Definition at line 17588 of file duktape.c.

References DUK_ASSERT_API_ENTRY, DUK_REALLOC_RAW, and duk_hthread::heap.

◆ duk_free_hbuffer()

DUK_INTERNAL void duk_free_hbuffer ( duk_heap heap,
duk_hbuffer h 
)

Definition at line 50332 of file duktape.c.

◆ duk_free_hobject()

DUK_INTERNAL void duk_free_hobject ( duk_heap heap,
duk_hobject h 
)

Definition at line 50276 of file duktape.c.

References duk_hthread::callstack_curr, duk_activation::cat, DUK_ASSERT, DUK_FREE, DUK_HOBJECT_GET_PROPS, DUK_HOBJECT_IS_COMPFUNC, DUK_HOBJECT_IS_NATFUNC, DUK_HOBJECT_IS_THREAD, DUK_UNREF, duk_activation::parent, duk_catcher::parent, and duk_hthread::valstack.

Referenced by duk_heap_process_finalize_list().

Here is the caller graph for this function:

◆ duk_free_hstring()

DUK_INTERNAL void duk_free_hstring ( duk_heap heap,
duk_hstring h 
)

◆ duk_free_raw()

DUK_EXTERNAL void duk_free_raw ( duk_hthread thr,
void *  ptr 
)

Definition at line 17570 of file duktape.c.

◆ duk_freeze()

DUK_EXTERNAL void duk_freeze ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 18345 of file duktape.c.

◆ duk_gc()

DUK_EXTERNAL void duk_gc ( duk_hthread thr,
duk_uint_t  flags 
)

Definition at line 17625 of file duktape.c.

Referenced by dukky_destroythread().

Here is the caller graph for this function:

◆ duk_generic_error_stash()

DUK_EXTERNAL duk_ret_t duk_generic_error_stash ( duk_hthread thr,
const char *  fmt,
  ... 
)

Definition at line 25160 of file duktape.c.

◆ duk_get_boolean()

DUK_EXTERNAL duk_bool_t duk_get_boolean ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20231 of file duktape.c.

Referenced by js_exec().

Here is the caller graph for this function:

◆ duk_get_boolean_default()

DUK_EXTERNAL duk_bool_t duk_get_boolean_default ( duk_hthread thr,
duk_idx_t  idx,
duk_bool_t  def_value 
)

Definition at line 20237 of file duktape.c.

◆ duk_get_borrowed_this_tval()

DUK_INTERNAL duk_tval * duk_get_borrowed_this_tval ( duk_hthread thr)

Definition at line 23283 of file duktape.c.

◆ duk_get_buffer()

DUK_EXTERNAL void * duk_get_buffer ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size 
)

Definition at line 20675 of file duktape.c.

◆ duk_get_buffer_data()

DUK_EXTERNAL void * duk_get_buffer_data ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size 
)

Definition at line 20781 of file duktape.c.

◆ duk_get_buffer_data_default()

DUK_EXTERNAL void * duk_get_buffer_data_default ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size,
void *  def_ptr,
duk_size_t  def_size 
)

Definition at line 20786 of file duktape.c.

References DUK_ERROR_REQUIRE_TYPE_INDEX, DUK_STR_NOT_BUFFER, and DUK_WO_NORETURN.

◆ duk_get_buffer_data_raw()

DUK_INTERNAL void * duk_get_buffer_data_raw ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size,
void *  def_ptr,
duk_size_t  def_len,
duk_bool_t  throw_flag,
duk_bool_t out_isbuffer 
)

Definition at line 20714 of file duktape.c.

References duk__get_buffer_helper(), and DUK_ASSERT_API_ENTRY.

Referenced by duk__prep_codec_arg().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_get_buffer_default()

DUK_EXTERNAL void * duk_get_buffer_default ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size,
void *  def_ptr,
duk_size_t  def_len 
)

Definition at line 20693 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_check_type_mask(), duk_require_buffer(), DUK_TYPE_MASK_NONE, and DUK_TYPE_MASK_UNDEFINED.

Here is the call graph for this function:

◆ duk_get_c_function()

DUK_EXTERNAL duk_c_function duk_get_c_function ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20988 of file duktape.c.

◆ duk_get_c_function_default()

DUK_EXTERNAL duk_c_function duk_get_c_function_default ( duk_hthread thr,
duk_idx_t  idx,
duk_c_function  def_value 
)

Definition at line 21021 of file duktape.c.

◆ duk_get_class_number()

DUK_INTERNAL duk_small_uint_t duk_get_class_number ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22565 of file duktape.c.

◆ duk_get_context()

DUK_EXTERNAL duk_hthread * duk_get_context ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21068 of file duktape.c.

◆ duk_get_context_default()

DUK_EXTERNAL duk_hthread * duk_get_context_default ( duk_hthread thr,
duk_idx_t  idx,
duk_hthread def_value 
)

Definition at line 21089 of file duktape.c.

◆ duk_get_current_magic()

DUK_EXTERNAL duk_int_t duk_get_current_magic ( duk_hthread thr)

◆ duk_get_error_code()

DUK_EXTERNAL duk_errcode_t duk_get_error_code ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22923 of file duktape.c.

◆ duk_get_finalizer()

DUK_EXTERNAL void duk_get_finalizer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18618 of file duktape.c.

◆ duk_get_global_heapptr()

DUK_EXTERNAL duk_bool_t duk_get_global_heapptr ( duk_hthread thr,
void *  ptr 
)

Definition at line 18437 of file duktape.c.

◆ duk_get_global_literal_raw()

DUK_EXTERNAL duk_bool_t duk_get_global_literal_raw ( duk_hthread thr,
const char *  key,
duk_size_t  key_len 
)

Definition at line 18421 of file duktape.c.

◆ duk_get_global_lstring()

DUK_EXTERNAL duk_bool_t duk_get_global_lstring ( duk_hthread thr,
const char *  key,
duk_size_t  key_len 
)

Definition at line 18406 of file duktape.c.

◆ duk_get_global_string()

DUK_EXTERNAL duk_bool_t duk_get_global_string ( duk_hthread thr,
const char *  key 
)

Definition at line 18392 of file duktape.c.

Referenced by dukky_destroythread(), dukky_populate_object(), dukky_push_event(), dukky_push_generics(), dukky_push_node(), dukky_push_node_stacked(), js_closethread(), js_event_cleanup(), js_fire_event(), and js_newthread().

Here is the caller graph for this function:

◆ duk_get_hbuffer()

DUK_INTERNAL duk_hbuffer * duk_get_hbuffer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20895 of file duktape.c.

Referenced by duk_known_hnatfunc().

Here is the caller graph for this function:

◆ duk_get_hcompfunc()

DUK_INTERNAL duk_hcompfunc * duk_get_hcompfunc ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20938 of file duktape.c.

Referenced by duk_set_length().

Here is the caller graph for this function:

◆ duk_get_heapptr()

DUK_EXTERNAL void * duk_get_heapptr ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21102 of file duktape.c.

◆ duk_get_heapptr_default()

DUK_EXTERNAL void * duk_get_heapptr_default ( duk_hthread thr,
duk_idx_t  idx,
void *  def_value 
)

Definition at line 21128 of file duktape.c.

◆ duk_get_hnatfunc()

DUK_INTERNAL duk_hnatfunc * duk_get_hnatfunc ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20963 of file duktape.c.

◆ duk_get_hobject()

DUK_INTERNAL duk_hobject * duk_get_hobject ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20877 of file duktape.c.

Referenced by duk__error_getter_helper(), duk_compact_m1(), duk_err_augment_error_create(), duk_get_type_tval(), duk_is_fixed_buffer(), and duk_known_hcompfunc().

Here is the caller graph for this function:

◆ duk_get_hobject_promote_mask()

DUK_INTERNAL duk_hobject * duk_get_hobject_promote_mask ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  type_mask 
)

Definition at line 21197 of file duktape.c.

◆ duk_get_hobject_with_class()

DUK_INTERNAL duk_hobject * duk_get_hobject_with_class ( duk_hthread thr,
duk_idx_t  idx,
duk_small_uint_t  classnum 
)

Definition at line 21218 of file duktape.c.

Referenced by duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_get_hstring()

DUK_INTERNAL duk_hstring * duk_get_hstring ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20834 of file duktape.c.

Referenced by duk_known_hbuffer(), duk_proxy_ownkeys_postprocess(), and duk_push_class_string_tval().

Here is the caller graph for this function:

◆ duk_get_hstring_notsymbol()

DUK_INTERNAL duk_hstring * duk_get_hstring_notsymbol ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20839 of file duktape.c.

Referenced by duk__error_getter_helper(), and duk_bi_global_object_eval().

Here is the caller graph for this function:

◆ duk_get_hthread()

DUK_INTERNAL duk_hthread * duk_get_hthread ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20913 of file duktape.c.

Referenced by duk_opt_context().

Here is the caller graph for this function:

◆ duk_get_int()

DUK_EXTERNAL duk_int_t duk_get_int ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20341 of file duktape.c.

Referenced by duk_bi_buffer_readfield(), duk_bi_global_object_eval(), dukky_generic_event_handler(), and dukky_populate_object().

Here is the caller graph for this function:

◆ duk_get_int_default()

DUK_EXTERNAL duk_int_t duk_get_int_default ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  def_value 
)

Definition at line 20353 of file duktape.c.

References duk__api_coerce_d2i(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_get_length()

DUK_EXTERNAL duk_size_t duk_get_length ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21251 of file duktape.c.

References DUK_ERROR_REQUIRE_TYPE_INDEX, DUK_HOBJECT_CLASS_NUMBER_TO_STRIDX, DUK_HSTRING_GET_DATA, DUK_HTHREAD_GET_STRING, DUK_STR_UNEXPECTED_TYPE, DUK_UNREF, and DUK_WO_NORETURN.

Referenced by duk__init_varmap_and_prologue_for_pass2(), duk__load_func(), duk__parse_var_decl(), duk_bi_string_prototype_replace(), duk_bi_typedarray_set(), and duk_proxy_ownkeys_postprocess().

Here is the caller graph for this function:

◆ duk_get_lstring()

DUK_EXTERNAL const char * duk_get_lstring ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len 
)

Definition at line 20395 of file duktape.c.

◆ duk_get_lstring_default()

DUK_EXTERNAL const char * duk_get_lstring_default ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len,
const char *  def_ptr,
duk_size_t  def_len 
)

Definition at line 20481 of file duktape.c.

◆ duk_get_magic()

DUK_EXTERNAL duk_int_t duk_get_magic ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 15638 of file duktape.c.

◆ duk_get_memory_functions()

DUK_EXTERNAL void duk_get_memory_functions ( duk_hthread thr,
duk_memory_functions out_funcs 
)

Definition at line 17610 of file duktape.c.

Referenced by dukky_reset_start_time().

Here is the caller graph for this function:

◆ duk_get_method_stridx()

DUK_INTERNAL duk_bool_t duk_get_method_stridx ( duk_hthread thr,
duk_idx_t  idx,
duk_small_uint_t  stridx 
)

Definition at line 18518 of file duktape.c.

◆ duk_get_now()

DUK_EXTERNAL duk_double_t duk_get_now ( duk_hthread thr)

Definition at line 26003 of file duktape.c.

◆ duk_get_number()

DUK_EXTERNAL duk_double_t duk_get_number ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20298 of file duktape.c.

Referenced by duk_js_tonumber().

Here is the caller graph for this function:

◆ duk_get_number_default()

DUK_EXTERNAL duk_double_t duk_get_number_default ( duk_hthread thr,
duk_idx_t  idx,
duk_double_t  def_value 
)

Definition at line 20303 of file duktape.c.

◆ duk_get_pointer()

DUK_EXTERNAL void * duk_get_pointer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20578 of file duktape.c.

◆ duk_get_pointer_default()

DUK_EXTERNAL void * duk_get_pointer_default ( duk_hthread thr,
duk_idx_t  idx,
void *  def_value 
)

Definition at line 20592 of file duktape.c.

◆ duk_get_prop()

DUK_EXTERNAL duk_bool_t duk_get_prop ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 17652 of file duktape.c.

References DUK_ASSERT_API_ENTRY.

Referenced by duk__init_varmap_and_prologue_for_pass2(), duk_hobject_get_enumerated_keys(), dukky_event_target_push_listeners(), dukky_get_current_value_of_event_handler(), dukky_populate_object(), dukky_push_event(), dukky_push_node(), dukky_push_node_stacked(), and js_fire_event().

Here is the caller graph for this function:

◆ duk_get_prop_desc()

DUK_EXTERNAL void duk_get_prop_desc ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uint_t  flags 
)

Definition at line 18161 of file duktape.c.

References DUK_ASSERT_API_ENTRY, DUK_BIDX_TYPE_ERROR_THROWER, duk_dup_top(), duk_push_hobject_bidx(), duk_push_hstring_stridx(), and duk_require_normalize_index().

Here is the call graph for this function:

◆ duk_get_prop_heapptr()

DUK_EXTERNAL duk_bool_t duk_get_prop_heapptr ( duk_hthread thr,
duk_idx_t  obj_idx,
void *  ptr 
)

Definition at line 17713 of file duktape.c.

◆ duk_get_prop_index()

DUK_EXTERNAL duk_bool_t duk_get_prop_index ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uarridx_t  arr_idx 
)

Definition at line 17705 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_push_literal_raw(), and duk_require_normalize_index().

Referenced by duk__error_getter_helper(), duk__init_varmap_and_prologue_for_pass2(), duk_bi_array_prototype_iter_shared(), duk_bi_array_prototype_join_shared(), duk_bi_array_prototype_splice(), duk_bi_string_prototype_replace(), duk_bi_typedarray_set(), duk_proxy_ownkeys_postprocess(), dukky_generic_event_handler(), and dukky_shuffle_array().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_get_prop_literal_raw()

DUK_EXTERNAL duk_bool_t duk_get_prop_literal_raw ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 17694 of file duktape.c.

◆ duk_get_prop_lstring()

DUK_EXTERNAL duk_bool_t duk_get_prop_lstring ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 17684 of file duktape.c.

◆ duk_get_prop_stridx()

DUK_INTERNAL duk_bool_t duk_get_prop_stridx ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx 
)

Definition at line 17721 of file duktape.c.

Referenced by duk_bi_regexp_prototype_flags(), and duk_set_finalizer().

Here is the caller graph for this function:

◆ duk_get_prop_stridx_boolean()

DUK_INTERNAL duk_bool_t duk_get_prop_stridx_boolean ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx,
duk_bool_t out_has_prop 
)

Definition at line 17734 of file duktape.c.

Referenced by duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_get_prop_stridx_short_raw()

DUK_INTERNAL duk_bool_t duk_get_prop_stridx_short_raw ( duk_hthread thr,
duk_uint_t  packed_args 
)

Definition at line 17730 of file duktape.c.

◆ duk_get_prop_string()

DUK_EXTERNAL duk_bool_t duk_get_prop_string ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key 
)

Definition at line 17675 of file duktape.c.

Referenced by duk__safe_to_stacktrace_raw(), dukky_event_target_push_listeners(), dukky_generic_event_handler(), dukky_get_current_value_of_event_handler(), dukky_populate_object(), dukky_push_generics(), dukky_register_event_listener_for(), js_fire_event(), and js_newthread().

Here is the caller graph for this function:

◆ duk_get_prototype()

DUK_EXTERNAL void duk_get_prototype ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18535 of file duktape.c.

◆ duk_get_string()

DUK_EXTERNAL const char * duk_get_string ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20443 of file duktape.c.

Referenced by duk__error_getter_helper(), and dukky_populate_object().

Here is the caller graph for this function:

◆ duk_get_string_default()

DUK_EXTERNAL const char * duk_get_string_default ( duk_hthread thr,
duk_idx_t  idx,
const char *  def_value 
)

Definition at line 20507 of file duktape.c.

◆ duk_get_string_notsymbol()

DUK_INTERNAL const char * duk_get_string_notsymbol ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20520 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_get_top()

DUK_EXTERNAL duk_idx_t duk_get_top ( duk_hthread thr)

◆ duk_get_top_index()

DUK_EXTERNAL duk_idx_t duk_get_top_index ( duk_hthread thr)

Definition at line 19281 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_set_top_unsafe(), and duk_hthread::valstack_bottom.

Referenced by duk__error_getter_helper().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_get_top_index_unsafe()

DUK_INTERNAL duk_idx_t duk_get_top_index_unsafe ( duk_hthread thr)

Definition at line 19300 of file duktape.c.

Referenced by duk_push_hstring().

Here is the caller graph for this function:

◆ duk_get_top_require_min()

DUK_INTERNAL duk_idx_t duk_get_top_require_min ( duk_hthread thr,
duk_idx_t  min_top 
)

◆ duk_get_tval()

DUK_INTERNAL duk_tval * duk_get_tval ( duk_hthread thr,
duk_idx_t  idx 
)

◆ duk_get_tval_or_unused()

DUK_INTERNAL duk_tval * duk_get_tval_or_unused ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19008 of file duktape.c.

Referenced by duk__obj_flag_any_default_false(), duk_check_type_mask(), and duk_inspect_value().

Here is the caller graph for this function:

◆ duk_get_type()

DUK_EXTERNAL duk_int_t duk_get_type ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22537 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_get_type_mask()

DUK_EXTERNAL duk_uint_t duk_get_type_mask ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22636 of file duktape.c.

◆ duk_get_type_mask_tval()

DUK_INTERNAL duk_uint_t duk_get_type_mask_tval ( duk_tval tv)

Definition at line 22597 of file duktape.c.

Referenced by duk_check_type_mask().

Here is the caller graph for this function:

◆ duk_get_type_tval()

DUK_INTERNAL duk_int_t duk_get_type_tval ( duk_tval tv)

Definition at line 22498 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_get_hobject(), and DUK_HEAPHDR_CHECK_FLAG_BITS.

Referenced by duk_inspect_value().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_get_uint()

DUK_EXTERNAL duk_uint_t duk_get_uint ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20347 of file duktape.c.

Referenced by duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_get_uint_default()

DUK_EXTERNAL duk_uint_t duk_get_uint_default ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  def_value 
)

Definition at line 20359 of file duktape.c.

References duk__api_coerce_d2ui(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_handle_call_unprotected()

DUK_INTERNAL duk_int_t duk_handle_call_unprotected ( duk_hthread thr,
duk_idx_t  idx_func,
duk_small_uint_t  call_flags 
)

Definition at line 68483 of file duktape.c.

◆ duk_handle_call_unprotected_nargs()

DUK_INTERNAL duk_int_t duk_handle_call_unprotected_nargs ( duk_hthread thr,
duk_idx_t  nargs,
duk_small_uint_t  call_flags 
)

Definition at line 68475 of file duktape.c.

◆ duk_handle_safe_call()

DUK_INTERNAL duk_int_t duk_handle_safe_call ( duk_hthread thr,
duk_safe_call_function  func,
void *  udata,
duk_idx_t  num_stack_args,
duk_idx_t  num_stack_res 
)

Definition at line 68698 of file duktape.c.

◆ duk_harray_alloc()

DUK_INTERNAL duk_harray * duk_harray_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56699 of file duktape.c.

◆ duk_has_prop()

DUK_EXTERNAL duk_bool_t duk_has_prop ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 17984 of file duktape.c.

Referenced by duk__init_varmap_and_prologue_for_pass2(), and dukky_register_event_listener_for().

Here is the caller graph for this function:

◆ duk_has_prop_heapptr()

DUK_EXTERNAL duk_bool_t duk_has_prop_heapptr ( duk_hthread thr,
duk_idx_t  obj_idx,
void *  ptr 
)

Definition at line 18043 of file duktape.c.

◆ duk_has_prop_index()

DUK_EXTERNAL duk_bool_t duk_has_prop_index ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uarridx_t  arr_idx 
)

Definition at line 18035 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_push_literal_raw(), and duk_require_normalize_index().

Here is the call graph for this function:

◆ duk_has_prop_literal_raw()

DUK_EXTERNAL duk_bool_t duk_has_prop_literal_raw ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 18024 of file duktape.c.

◆ duk_has_prop_lstring()

DUK_EXTERNAL duk_bool_t duk_has_prop_lstring ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 18014 of file duktape.c.

◆ duk_has_prop_stridx()

DUK_INTERNAL duk_bool_t duk_has_prop_stridx ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx 
)

Definition at line 18051 of file duktape.c.

Referenced by duk__init_varmap_and_prologue_for_pass2(), and duk_xdef_prop().

Here is the caller graph for this function:

◆ duk_has_prop_string()

DUK_EXTERNAL duk_bool_t duk_has_prop_string ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key 
)

Definition at line 18005 of file duktape.c.

◆ duk_hboundfunc_alloc()

DUK_INTERNAL duk_hboundfunc * duk_hboundfunc_alloc ( duk_heap heap,
duk_uint_t  hobject_flags 
)

Definition at line 56603 of file duktape.c.

◆ duk_hbuffer_alloc()

DUK_INTERNAL duk_hbuffer * duk_hbuffer_alloc ( duk_heap heap,
duk_size_t  size,
duk_small_uint_t  flags,
void **  out_bufdata 
)

Definition at line 50025 of file duktape.c.

◆ duk_hbuffer_get_dynalloc_ptr()

DUK_INTERNAL void * duk_hbuffer_get_dynalloc_ptr ( duk_heap heap,
void *  ud 
)

Definition at line 50141 of file duktape.c.

Referenced by duk_hbuffer_resize().

Here is the caller graph for this function:

◆ duk_hbuffer_refzero()

DUK_INTERNAL DUK_NOINLINE void duk_hbuffer_refzero ( duk_hthread thr,
duk_hbuffer h 
)

Definition at line 54823 of file duktape.c.

◆ duk_hbuffer_reset()

DUK_INTERNAL void duk_hbuffer_reset ( duk_hthread thr,
duk_hbuffer_dynamic buf 
)

Definition at line 50228 of file duktape.c.

◆ duk_hbuffer_resize()

DUK_INTERNAL void duk_hbuffer_resize ( duk_hthread thr,
duk_hbuffer_dynamic buf,
duk_size_t  new_size 
)

Definition at line 50170 of file duktape.c.

References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_ERROR_RANGE, DUK_HBUFFER_DYNAMIC_GET_DATA_PTR, DUK_HBUFFER_DYNAMIC_GET_SIZE, duk_hbuffer_get_dynalloc_ptr(), DUK_HBUFFER_HAS_DYNAMIC, DUK_HBUFFER_HAS_EXTERNAL, DUK_HBUFFER_MAX_BYTELEN, DUK_LIKELY, duk_memzero, DUK_REALLOC_INDIRECT, DUK_WO_NORETURN, and duk_hthread::heap.

Referenced by duk__nud_array_literal(), duk_bw_insert_raw_bytes(), and duk_hbufobj_clamp_bytelength().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_hbufobj_alloc()

DUK_INTERNAL duk_hbufobj * duk_hbufobj_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56625 of file duktape.c.

◆ duk_hbufobj_clamp_bytelength()

DUK_INTERNAL duk_uint_t duk_hbufobj_clamp_bytelength ( duk_hbufobj h_bufobj,
duk_uint_t  len 
)

Definition at line 50239 of file duktape.c.

References DUK_ASSERT, DUK_HBUFFER_HAS_DYNAMIC, DUK_HBUFFER_HAS_EXTERNAL, and duk_hbuffer_resize().

Here is the call graph for this function:

◆ duk_hbufobj_promote_plain()

DUK_INTERNAL void duk_hbufobj_promote_plain ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 28172 of file duktape.c.

Referenced by duk_bi_typedarray_set().

Here is the caller graph for this function:

◆ duk_hbufobj_push_uint8array_from_plain()

DUK_INTERNAL void duk_hbufobj_push_uint8array_from_plain ( duk_hthread thr,
duk_hbuffer h_buf 
)

Definition at line 28178 of file duktape.c.

◆ duk_hbufobj_push_validated_read()

DUK_INTERNAL void duk_hbufobj_push_validated_read ( duk_hthread thr,
duk_hbufobj h_bufobj,
duk_uint8_t *  p,
duk_small_uint_t  elem_size 
)

Definition at line 28219 of file duktape.c.

Referenced by duk__get_own_propdesc_raw(), and duk_bi_typedarray_set().

Here is the caller graph for this function:

◆ duk_hbufobj_validated_write()

DUK_INTERNAL void duk_hbufobj_validated_write ( duk_hthread thr,
duk_hbufobj h_bufobj,
duk_uint8_t *  p,
duk_small_uint_t  elem_size 
)

Definition at line 28260 of file duktape.c.

Referenced by duk_bi_typedarray_set(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk_hcompfunc_alloc()

DUK_INTERNAL duk_hcompfunc * duk_hcompfunc_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56573 of file duktape.c.

◆ duk_hdecenv_alloc()

DUK_INTERNAL duk_hdecenv * duk_hdecenv_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56709 of file duktape.c.

References DUK_ERROR_ALLOC_FAILED, duk_hthread_alloc_unchecked(), DUK_WO_NORETURN, and duk_hthread::heap.

Referenced by duk__load_func(), and duk_bi_global_object_eval().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_heap_alloc()

DUK_INTERNAL duk_heap * duk_heap_alloc ( duk_alloc_function  alloc_func,
duk_realloc_function  realloc_func,
duk_free_function  free_func,
void *  heap_udata,
duk_fatal_function  fatal_func 
)

Definition at line 51050 of file duktape.c.

◆ duk_heap_free()

DUK_INTERNAL void duk_heap_free ( duk_heap heap)

Definition at line 50595 of file duktape.c.

◆ duk_heap_free_freelists()

DUK_INTERNAL void duk_heap_free_freelists ( duk_heap heap)

Definition at line 50432 of file duktape.c.

◆ duk_heap_free_heaphdr_raw()

DUK_INTERNAL void duk_heap_free_heaphdr_raw ( duk_heap heap,
duk_heaphdr hdr 
)

Definition at line 50361 of file duktape.c.

◆ duk_heap_hashstring()

DUK_INTERNAL duk_uint32_t duk_heap_hashstring ( duk_heap heap,
const duk_uint8_t *  str,
duk_size_t  len 
)

Definition at line 52015 of file duktape.c.

◆ duk_heap_insert_into_finalize_list()

DUK_INTERNAL void duk_heap_insert_into_finalize_list ( duk_heap heap,
duk_heaphdr hdr 
)

Definition at line 54042 of file duktape.c.

◆ duk_heap_insert_into_heap_allocated()

DUK_INTERNAL void duk_heap_insert_into_heap_allocated ( duk_heap heap,
duk_heaphdr hdr 
)

Definition at line 53979 of file duktape.c.

◆ duk_heap_mark_and_sweep()

DUK_INTERNAL void duk_heap_mark_and_sweep ( duk_heap heap,
duk_small_uint_t  flags 
)

Definition at line 53270 of file duktape.c.

◆ duk_heap_mem_alloc()

DUK_INTERNAL DUK_INLINE_PERF DUK_HOT void * duk_heap_mem_alloc ( duk_heap heap,
duk_size_t  size 
)

Definition at line 53631 of file duktape.c.

References DUK_D, and DUK_DPRINT.

◆ duk_heap_mem_alloc_checked()

DUK_INTERNAL DUK_INLINE_PERF DUK_HOT void * duk_heap_mem_alloc_checked ( duk_hthread thr,
duk_size_t  size 
)

Definition at line 53690 of file duktape.c.

◆ duk_heap_mem_alloc_checked_zeroed()

DUK_INTERNAL DUK_INLINE_PERF DUK_HOT void * duk_heap_mem_alloc_checked_zeroed ( duk_hthread thr,
duk_size_t  size 
)

Definition at line 53708 of file duktape.c.

◆ duk_heap_mem_alloc_zeroed()

DUK_INTERNAL DUK_INLINE_PERF DUK_HOT void * duk_heap_mem_alloc_zeroed ( duk_heap heap,
duk_size_t  size 
)

Definition at line 53676 of file duktape.c.

◆ duk_heap_mem_free()

DUK_INTERNAL DUK_INLINE_PERF DUK_HOT void duk_heap_mem_free ( duk_heap heap,
void *  ptr 
)

Definition at line 53958 of file duktape.c.

◆ duk_heap_mem_realloc()

DUK_INTERNAL DUK_INLINE_PERF DUK_HOT void * duk_heap_mem_realloc ( duk_heap heap,
void *  ptr,
duk_size_t  newsize 
)

Definition at line 53785 of file duktape.c.

References DUK_D, and DUK_DPRINT.

◆ duk_heap_mem_realloc_indirect()

DUK_INTERNAL DUK_INLINE_PERF DUK_HOT void * duk_heap_mem_realloc_indirect ( duk_heap heap,
duk_mem_getptr  cb,
void *  ud,
duk_size_t  newsize 
)

Definition at line 53909 of file duktape.c.

References DUK_D, and DUK_DPRINT.

◆ duk_heap_process_finalize_list()

DUK_INTERNAL void duk_heap_process_finalize_list ( duk_heap heap)

◆ duk_heap_remove_from_finalize_list()

DUK_INTERNAL void duk_heap_remove_from_finalize_list ( duk_heap heap,
duk_heaphdr hdr 
)

Definition at line 54061 of file duktape.c.

◆ duk_heap_remove_from_heap_allocated()

DUK_INTERNAL void duk_heap_remove_from_heap_allocated ( duk_heap heap,
duk_heaphdr hdr 
)

Definition at line 53999 of file duktape.c.

◆ duk_heap_run_finalizer()

DUK_INTERNAL void duk_heap_run_finalizer ( duk_heap heap,
duk_hobject obj 
)

Definition at line 51857 of file duktape.c.

Referenced by duk_heap_process_finalize_list().

Here is the caller graph for this function:

◆ duk_heap_strcache_offset_char2byte()

DUK_INTERNAL duk_uint_fast32_t duk_heap_strcache_offset_char2byte ( duk_hthread thr,
duk_hstring h,
duk_uint_fast32_t  char_offset 
)

Definition at line 55102 of file duktape.c.

Referenced by duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_heap_strcache_string_remove()

DUK_INTERNAL void duk_heap_strcache_string_remove ( duk_heap heap,
duk_hstring h 
)

Definition at line 55029 of file duktape.c.

References DUK_HEAP_STRCACHE_SIZE, and duk_heap::strcache.

◆ duk_heap_strtable_force_resize()

DUK_INTERNAL void duk_heap_strtable_force_resize ( duk_heap heap)

Definition at line 56331 of file duktape.c.

◆ duk_heap_strtable_free()

DUK_INTERNAL void duk_heap_strtable_free ( duk_heap heap)

Definition at line 56354 of file duktape.c.

◆ duk_heap_strtable_intern()

DUK_INTERNAL duk_hstring * duk_heap_strtable_intern ( duk_heap heap,
const duk_uint8_t *  str,
duk_uint32_t  blen 
)

Definition at line 56052 of file duktape.c.

Referenced by duk__strtable_litcache_key().

Here is the caller graph for this function:

◆ duk_heap_strtable_intern_checked()

DUK_INTERNAL duk_hstring * duk_heap_strtable_intern_checked ( duk_hthread thr,
const duk_uint8_t *  str,
duk_uint32_t  len 
)

Definition at line 56141 of file duktape.c.

References duk_lc_digits.

◆ duk_heap_strtable_intern_literal_checked()

DUK_INTERNAL duk_hstring * duk_heap_strtable_intern_literal_checked ( duk_hthread thr,
const duk_uint8_t *  str,
duk_uint32_t  blen 
)

Definition at line 56170 of file duktape.c.

References DUK_ERROR_ALLOC_FAILED, and DUK_WO_NORETURN.

◆ duk_heap_strtable_intern_u32()

DUK_INTERNAL duk_hstring * duk_heap_strtable_intern_u32 ( duk_heap heap,
duk_uint32_t  val 
)

Definition at line 56114 of file duktape.c.

References DUK_STATS_INC.

Referenced by duk_hobject_realloc_props().

Here is the caller graph for this function:

◆ duk_heap_strtable_intern_u32_checked()

DUK_INTERNAL duk_hstring * duk_heap_strtable_intern_u32_checked ( duk_hthread thr,
duk_uint32_t  val 
)

Definition at line 56214 of file duktape.c.

◆ duk_heap_strtable_unlink()

DUK_INTERNAL void duk_heap_strtable_unlink ( duk_heap heap,
duk_hstring h 
)

Definition at line 56237 of file duktape.c.

◆ duk_heap_strtable_unlink_prev()

DUK_INTERNAL void duk_heap_strtable_unlink_prev ( duk_heap heap,
duk_hstring h,
duk_hstring prev 
)

Definition at line 56289 of file duktape.c.

References DUK_ASSERT, duk_heaphdr_string::h_next, and duk_hstring::hdr.

◆ duk_heap_switch_thread()

DUK_INTERNAL void duk_heap_switch_thread ( duk_heap heap,
duk_hthread new_thr 
)

Definition at line 54121 of file duktape.c.

◆ duk_heaphdr_refcount_finalize_norz()

DUK_INTERNAL void duk_heaphdr_refcount_finalize_norz ( duk_heap heap,
duk_heaphdr hdr 
)

Definition at line 54385 of file duktape.c.

◆ duk_heaphdr_refzero()

DUK_INTERNAL DUK_NOINLINE void duk_heaphdr_refzero ( duk_hthread thr,
duk_heaphdr h 
)

Definition at line 54811 of file duktape.c.

◆ duk_heaphdr_refzero_norz()

DUK_INTERNAL DUK_NOINLINE void duk_heaphdr_refzero_norz ( duk_hthread thr,
duk_heaphdr h 
)

Definition at line 54815 of file duktape.c.

◆ duk_hex_decode()

DUK_EXTERNAL void duk_hex_decode ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 16485 of file duktape.c.

◆ duk_hex_encode()

DUK_EXTERNAL const char * duk_hex_encode ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 16429 of file duktape.c.

References DUK_ERROR_UNSUPPORTED, DUK_UNREF, and DUK_WO_NORETURN.

◆ duk_hnatfunc_alloc()

DUK_INTERNAL duk_hnatfunc * duk_hnatfunc_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56592 of file duktape.c.

◆ duk_hobject_alloc()

DUK_INTERNAL duk_hobject * duk_hobject_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56566 of file duktape.c.

◆ duk_hobject_alloc_unchecked()

DUK_INTERNAL duk_hobject * duk_hobject_alloc_unchecked ( duk_heap heap,
duk_uint_t  hobject_flags 
)

Definition at line 56544 of file duktape.c.

References duk__init_object_parts(), DUK_ALLOC_CHECKED_ZEROED, DUK_ASSERT, and duk_hthread::heap.

Here is the call graph for this function:

◆ duk_hobject_compact_props()

DUK_INTERNAL void duk_hobject_compact_props ( duk_hthread thr,
duk_hobject obj 
)

Definition at line 59184 of file duktape.c.

◆ duk_hobject_define_property_helper()

DUK_INTERNAL duk_bool_t duk_hobject_define_property_helper ( duk_hthread thr,
duk_uint_t  defprop_flags,
duk_hobject obj,
duk_hstring key,
duk_idx_t  idx_value,
duk_hobject get,
duk_hobject set,
duk_bool_t  throw_flag 
)

Definition at line 63200 of file duktape.c.

References duk_propdesc::a_idx, duk__abandon_array_part(), duk__get_own_propdesc_raw(), duk__handle_put_array_length_smaller(), duk__hobject_alloc_entry_checked(), duk__lookup_arguments_map(), DUK__NO_ARRAY_INDEX, duk__obtain_arridx_slot(), duk__to_new_array_length_checked(), DUK__VALSTACK_SPACE, DUK_ASSERT, DUK_ASSERT_VALSTACK_SPACE, DUK_D, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_DEFPROP_CONFIGURABLE, DUK_DEFPROP_ENUMERABLE, DUK_DEFPROP_FORCE, DUK_DEFPROP_HAVE_CONFIGURABLE, DUK_DEFPROP_HAVE_ENUMERABLE, DUK_DEFPROP_HAVE_GETTER, DUK_DEFPROP_HAVE_SETTER, DUK_DEFPROP_HAVE_VALUE, DUK_DEFPROP_HAVE_WRITABLE, DUK_DEFPROP_WRITABLE, DUK_DPRINT, duk_get_tval(), DUK_GET_TVAL_POSIDX, DUK_GETDESC_FLAG_PUSH_VALUE, DUK_HARRAY_ASSERT_VALID, DUK_HARRAY_LENGTH_NONWRITABLE, DUK_HARRAY_SET_LENGTH_NONWRITABLE, DUK_HARRAY_SET_LENGTH_WRITABLE, DUK_HEAPHDR_HAS_READONLY, DUK_HOBJECT_A_GET_VALUE_PTR, DUK_HOBJECT_DECREF_ALLOWNULL, DUK_HOBJECT_DECREF_NORZ_ALLOWNULL, duk_hobject_delprop_raw(), DUK_HOBJECT_E_GET_FLAGS, DUK_HOBJECT_E_GET_VALUE_GETTER, DUK_HOBJECT_E_GET_VALUE_SETTER, DUK_HOBJECT_E_GET_VALUE_TVAL_PTR, DUK_HOBJECT_E_SET_FLAGS, DUK_HOBJECT_E_SET_VALUE_GETTER, DUK_HOBJECT_E_SET_VALUE_SETTER, DUK_HOBJECT_E_SLOT_CLEAR_ACCESSOR, DUK_HOBJECT_E_SLOT_CLEAR_WRITABLE, DUK_HOBJECT_E_SLOT_IS_ACCESSOR, DUK_HOBJECT_E_SLOT_SET_ACCESSOR, DUK_HOBJECT_HAS_ARRAY_PART, DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS, DUK_HOBJECT_HAS_EXOTIC_ARRAY, DUK_HOBJECT_HAS_EXTENSIBLE, DUK_HOBJECT_INCREF_ALLOWNULL, DUK_HSTRING_GET_ARRIDX_SLOW, DUK_HTHREAD_STRING_LENGTH, duk_js_putvar_envrec(), duk_js_samevalue, duk_pop_unsafe(), DUK_PROPDESC_FLAG_ACCESSOR, DUK_PROPDESC_FLAG_CONFIGURABLE, DUK_PROPDESC_FLAG_ENUMERABLE, DUK_PROPDESC_FLAG_WRITABLE, DUK_PROPDESC_FLAGS_EC, DUK_PROPDESC_FLAGS_WEC, duk_push_u32, DUK_REFZERO_CHECK_SLOW, duk_replace(), duk_require_hstring(), duk_require_tval(), DUK_TVAL_INCREF, DUK_TVAL_IS_UNUSED, DUK_TVAL_SET_TVAL, DUK_TVAL_SET_TVAL_UPDREF, DUK_TVAL_SET_UNDEFINED, DUK_TVAL_SET_UNDEFINED_UPDREF_NORZ, DUK_UNREACHABLE, DUK_UNREF, duk_propdesc::e_idx, duk_propdesc::flags, duk_propdesc::get, duk_hthread::heap, duk_harray::length, and duk_propdesc::set.

Here is the call graph for this function:

◆ duk_hobject_define_property_internal()

DUK_INTERNAL void duk_hobject_define_property_internal ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_small_uint_t  flags 
)

Definition at line 62729 of file duktape.c.

Referenced by duk__declvar_helper().

Here is the caller graph for this function:

◆ duk_hobject_define_property_internal_arridx()

DUK_INTERNAL void duk_hobject_define_property_internal_arridx ( duk_hthread thr,
duk_hobject obj,
duk_uarridx_t  arr_idx,
duk_small_uint_t  flags 
)

Definition at line 62862 of file duktape.c.

Referenced by duk_xdef_prop_stridx().

Here is the caller graph for this function:

◆ duk_hobject_delprop()

DUK_INTERNAL duk_bool_t duk_hobject_delprop ( duk_hthread thr,
duk_tval tv_obj,
duk_tval tv_key,
duk_bool_t  throw_flag 
)

Definition at line 62522 of file duktape.c.

◆ duk_hobject_delprop_raw()

DUK_INTERNAL duk_bool_t duk_hobject_delprop_raw ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_small_uint_t  flags 
)

Definition at line 62353 of file duktape.c.

References DUK_ERROR_TYPE, DUK_STR_SETTER_UNDEFINED, and DUK_WO_NORETURN.

Referenced by duk_hobject_define_property_helper(), and duk_js_delvar_activation().

Here is the caller graph for this function:

◆ duk_hobject_enumerator_create()

DUK_INTERNAL void duk_hobject_enumerator_create ( duk_hthread thr,
duk_small_uint_t  enum_flags 
)

Definition at line 57071 of file duktape.c.

References duk_push_hstring(), duk_push_true(), and duk_put_prop().

Here is the call graph for this function:

◆ duk_hobject_enumerator_next()

DUK_INTERNAL duk_bool_t duk_hobject_enumerator_next ( duk_hthread thr,
duk_bool_t  get_value 
)

Definition at line 57443 of file duktape.c.

◆ duk_hobject_find_array_entry_tval_ptr()

DUK_INTERNAL duk_tval * duk_hobject_find_array_entry_tval_ptr ( duk_heap heap,
duk_hobject obj,
duk_uarridx_t  i 
)

Definition at line 59381 of file duktape.c.

References DUK_ASSERT, DUK_HOBJECT_E_GET_FLAGS, DUK_HOBJECT_E_GET_VALUE_TVAL_PTR, DUK_HOBJECT_E_SLOT_IS_ACCESSOR, duk_hobject_find_entry(), and DUK_UNREF.

Here is the call graph for this function:

◆ duk_hobject_find_entry()

DUK_INTERNAL duk_bool_t duk_hobject_find_entry ( duk_heap heap,
duk_hobject obj,
duk_hstring key,
duk_int_t e_idx,
duk_int_t h_idx 
)

Definition at line 59255 of file duktape.c.

Referenced by duk__declvar_helper(), duk__get_own_propdesc_raw(), and duk_hobject_find_array_entry_tval_ptr().

Here is the caller graph for this function:

◆ duk_hobject_find_entry_tval_ptr()

DUK_INTERNAL duk_tval * duk_hobject_find_entry_tval_ptr ( duk_heap heap,
duk_hobject obj,
duk_hstring key 
)

Definition at line 59335 of file duktape.c.

References DUK_DDD, and DUK_DDDPRINT.

◆ duk_hobject_find_entry_tval_ptr_and_attrs()

DUK_INTERNAL duk_tval * duk_hobject_find_entry_tval_ptr_and_attrs ( duk_heap heap,
duk_hobject obj,
duk_hstring key,
duk_uint_t out_attrs 
)

Definition at line 59357 of file duktape.c.

◆ duk_hobject_find_entry_tval_ptr_stridx()

DUK_INTERNAL duk_tval * duk_hobject_find_entry_tval_ptr_stridx ( duk_heap heap,
duk_hobject obj,
duk_small_uint_t  stridx 
)

Definition at line 59352 of file duktape.c.

Referenced by duk__err_augment_user(), and duk_hobject_get_internal_value_string().

Here is the caller graph for this function:

◆ duk_hobject_get_enumerated_keys()

DUK_INTERNAL duk_ret_t duk_hobject_get_enumerated_keys ( duk_hthread thr,
duk_small_uint_t  enum_flags 
)

Definition at line 57539 of file duktape.c.

References duk_dup_m2(), duk_get_prop(), duk_push_hobject(), duk_remove(), and duk_remove_m2().

Here is the call graph for this function:

◆ duk_hobject_get_formals()

DUK_INTERNAL duk_harray * duk_hobject_get_formals ( duk_hthread thr,
duk_hobject obj 
)

Definition at line 59528 of file duktape.c.

References DUK_ASSERT, and DUK_HEAPHDR_IS_STRING.

◆ duk_hobject_get_internal_value_heaphdr()

DUK_LOCAL duk_heaphdr * duk_hobject_get_internal_value_heaphdr ( duk_heap heap,
duk_hobject obj 
)

Definition at line 59489 of file duktape.c.

◆ duk_hobject_get_internal_value_string()

DUK_INTERNAL duk_hstring * duk_hobject_get_internal_value_string ( duk_heap heap,
duk_hobject obj 
)

Definition at line 59505 of file duktape.c.

References duk_hobject_find_entry_tval_ptr_stridx(), and DUK_STRIDX_INT_VALUE.

Referenced by duk__get_own_propdesc_raw().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_hobject_get_internal_value_tval_ptr()

DUK_INTERNAL duk_tval * duk_hobject_get_internal_value_tval_ptr ( duk_heap heap,
duk_hobject obj 
)

Definition at line 59485 of file duktape.c.

◆ duk_hobject_get_length()

DUK_INTERNAL duk_size_t duk_hobject_get_length ( duk_hthread thr,
duk_hobject obj 
)

Definition at line 62916 of file duktape.c.

◆ duk_hobject_get_own_propdesc()

DUK_INTERNAL duk_bool_t duk_hobject_get_own_propdesc ( duk_hthread thr,
duk_hobject obj,
duk_hstring key,
duk_propdesc out_desc,
duk_small_uint_t  flags 
)

Definition at line 60107 of file duktape.c.

Referenced by duk_proxy_ownkeys_postprocess().

Here is the caller graph for this function:

◆ duk_hobject_get_varmap()

DUK_INTERNAL duk_hobject * duk_hobject_get_varmap ( duk_hthread thr,
duk_hobject obj 
)

Definition at line 59539 of file duktape.c.

◆ duk_hobject_getprop()

DUK_INTERNAL duk_bool_t duk_hobject_getprop ( duk_hthread thr,
duk_tval tv_obj,
duk_tval tv_key 
)

Definition at line 60464 of file duktape.c.

◆ duk_hobject_has_finalizer_fast_raw()

DUK_INTERNAL duk_bool_t duk_hobject_has_finalizer_fast_raw ( duk_hobject obj)

Definition at line 62952 of file duktape.c.

◆ duk_hobject_hasprop()

DUK_INTERNAL duk_bool_t duk_hobject_hasprop ( duk_hthread thr,
duk_tval tv_obj,
duk_tval tv_key 
)

Definition at line 60957 of file duktape.c.

◆ duk_hobject_hasprop_raw()

DUK_INTERNAL duk_bool_t duk_hobject_hasprop_raw ( duk_hthread thr,
duk_hobject obj,
duk_hstring key 
)

Definition at line 61102 of file duktape.c.

◆ duk_hobject_object_get_own_property_descriptor()

DUK_INTERNAL void duk_hobject_object_get_own_property_descriptor ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 62984 of file duktape.c.

References DUK_D, and DUK_DPRINT.

◆ duk_hobject_object_is_sealed_frozen_helper()

DUK_INTERNAL duk_bool_t duk_hobject_object_is_sealed_frozen_helper ( duk_hthread thr,
duk_hobject obj,
duk_bool_t  is_frozen 
)

Definition at line 64195 of file duktape.c.

◆ duk_hobject_object_ownprop_helper()

DUK_INTERNAL duk_bool_t duk_hobject_object_ownprop_helper ( duk_hthread thr,
duk_small_uint_t  required_desc_flags 
)

Definition at line 64099 of file duktape.c.

References DUK_ERROR_TYPE, DUK_STR_NOT_EXTENSIBLE, and DUK_WO_NORETURN.

Referenced by duk_bi_object_getprototype_shared().

Here is the caller graph for this function:

◆ duk_hobject_object_seal_freeze_helper()

DUK_INTERNAL void duk_hobject_object_seal_freeze_helper ( duk_hthread thr,
duk_hobject obj,
duk_bool_t  is_freeze 
)

Definition at line 64133 of file duktape.c.

◆ duk_hobject_pc2line_pack()

DUK_INTERNAL void duk_hobject_pc2line_pack ( duk_hthread thr,
duk_compiler_instr instrs,
duk_uint_fast32_t  length 
)

Definition at line 57663 of file duktape.c.

◆ duk_hobject_pc2line_query()

DUK_INTERNAL duk_uint_fast32_t duk_hobject_pc2line_query ( duk_hthread thr,
duk_idx_t  idx_func,
duk_uint_fast32_t  pc 
)

Definition at line 57871 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_hobject_prepare_property_descriptor()

DUK_INTERNAL void duk_hobject_prepare_property_descriptor ( duk_hthread thr,
duk_idx_t  idx_in,
duk_uint_t out_defprop_flags,
duk_idx_t out_idx_value,
duk_hobject **  out_getter,
duk_hobject **  out_setter 
)

Definition at line 63058 of file duktape.c.

◆ duk_hobject_prototype_chain_contains()

DUK_INTERNAL duk_bool_t duk_hobject_prototype_chain_contains ( duk_hthread thr,
duk_hobject h,
duk_hobject p,
duk_bool_t  ignore_loop 
)

Definition at line 57599 of file duktape.c.

Referenced by duk_err_augment_error_create().

Here is the caller graph for this function:

◆ duk_hobject_proxy_check()

DUK_INTERNAL duk_bool_t duk_hobject_proxy_check ( duk_hobject obj,
duk_hobject **  out_target,
duk_hobject **  out_handler 
)

Definition at line 58379 of file duktape.c.

◆ duk_hobject_putprop()

DUK_INTERNAL duk_bool_t duk_hobject_putprop ( duk_hthread thr,
duk_tval tv_obj,
duk_tval tv_key,
duk_tval tv_val,
duk_bool_t  throw_flag 
)

Definition at line 61478 of file duktape.c.

References duk_propdesc::a_idx, duk_hbufobj::buf, duk_hthread::builtins, duk__check_arguments_map_for_put(), duk__get_own_propdesc_raw(), duk__handle_put_array_length(), duk__hobject_alloc_entry_checked(), DUK__NO_ARRAY_INDEX, duk__obtain_arridx_slot(), duk__proxy_check_prop(), duk__push_tval_to_property_key(), duk__putprop_fastpath_bufobj_tval(), duk__putprop_shallow_fastpath_array_tval(), duk__tval_fastint_to_arr_idx(), duk__tval_number_to_arr_idx(), DUK__VALSTACK_SPACE, DUK_ASSERT, DUK_ASSERT_VALSTACK_SPACE, DUK_BIDX_BOOLEAN_PROTOTYPE, DUK_BIDX_NATIVE_FUNCTION_PROTOTYPE, DUK_BIDX_NUMBER_PROTOTYPE, DUK_BIDX_POINTER_PROTOTYPE, DUK_BIDX_STRING_PROTOTYPE, DUK_BIDX_SYMBOL_PROTOTYPE, DUK_BIDX_UINT8ARRAY_PROTOTYPE, duk_call_method(), DUK_D, DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_DPRINT, duk_dup_m4(), DUK_ERR_TYPE_ERROR, DUK_ERROR_FMT2, DUK_ERROR_RANGE, DUK_ERROR_TYPE, duk_get_tval(), DUK_GETDESC_FLAG_PUSH_VALUE, DUK_HARRAY_ASSERT_VALID, DUK_HARRAY_LENGTH_NONWRITABLE, DUK_HBUFFER_GET_DATA_PTR, DUK_HBUFFER_GET_SIZE, DUK_HBUFOBJ_ASSERT_VALID, DUK_HBUFOBJ_HAS_VIRTUAL_INDICES, DUK_HBUFOBJ_VALID_BYTEOFFSET_EXCL, duk_hbufobj_validated_write(), DUK_HEAPHDR_HAS_READONLY, DUK_HOBJECT_A_GET_VALUE_PTR, DUK_HOBJECT_E_GET_VALUE_SETTER, DUK_HOBJECT_E_GET_VALUE_TVAL_PTR, DUK_HOBJECT_E_SET_FLAGS, DUK_HOBJECT_GET_PROTOTYPE, DUK_HOBJECT_HAS_ARRAY_PART, DUK_HOBJECT_HAS_EXOTIC_ARGUMENTS, DUK_HOBJECT_HAS_EXOTIC_ARRAY, DUK_HOBJECT_HAS_EXTENSIBLE, DUK_HOBJECT_IS_ARRAY, DUK_HOBJECT_IS_BUFOBJ, DUK_HOBJECT_IS_PROXY, DUK_HOBJECT_PROTOTYPE_CHAIN_SANITY, DUK_HSTRING_GET_CHARLEN, DUK_HSTRING_HAS_SYMBOL, DUK_HTHREAD_STRING_LENGTH, duk_js_samevalue, duk_pop_2_unsafe(), duk_pop_n_unsafe(), duk_pop_unsafe(), DUK_PROPDESC_FLAG_ACCESSOR, DUK_PROPDESC_FLAG_CONFIGURABLE, DUK_PROPDESC_FLAG_VIRTUAL, DUK_PROPDESC_FLAG_WRITABLE, DUK_PROPDESC_FLAGS_WEC, duk_push_hobject(), duk_push_string_tval_readable(), duk_push_tval(), duk_require_tval(), DUK_STATS_INC, DUK_STR_INVALID_BASE, DUK_STR_NOT_CONFIGURABLE, DUK_STR_NOT_EXTENSIBLE, DUK_STR_NOT_WRITABLE, DUK_STR_PROTOTYPE_CHAIN_LIMIT, DUK_STR_PROXY_REJECTED, DUK_STRIDX_SET, DUK_TAG_BOOLEAN, DUK_TAG_BUFFER, DUK_TAG_FASTINT, DUK_TAG_LIGHTFUNC, DUK_TAG_NULL, DUK_TAG_OBJECT, DUK_TAG_POINTER, DUK_TAG_STRING, DUK_TAG_UNDEFINED, duk_to_boolean_top_pop(), duk_to_number_m1(), duk_to_uint32(), DUK_TVAL_GET_BUFFER, DUK_TVAL_GET_FASTINT_U32, DUK_TVAL_GET_OBJECT, DUK_TVAL_GET_STRING, DUK_TVAL_GET_TAG, DUK_TVAL_INCREF, DUK_TVAL_IS_FASTINT, DUK_TVAL_IS_NUMBER, DUK_TVAL_IS_UNUSED, DUK_TVAL_SET_OBJECT, DUK_TVAL_SET_TVAL, DUK_TVAL_SET_TVAL_UPDREF, DUK_UNLIKELY, DUK_UNREACHABLE, DUK_WO_NORETURN, duk_propdesc::e_idx, duk_propdesc::flags, duk_propdesc::get, duk_hthread::heap, duk_hbufobj::length, duk_harray::length, duk_hbufobj::offset, duk_propdesc::set, and duk_hbufobj::shift.

Here is the call graph for this function:

◆ duk_hobject_realloc_props()

DUK_INTERNAL void duk_hobject_realloc_props ( duk_hthread thr,
duk_hobject obj,
duk_uint32_t  new_e_size,
duk_uint32_t  new_a_size,
duk_uint32_t  new_h_size,
duk_bool_t  abandon_array 
)

Definition at line 58529 of file duktape.c.

References DUK__HASH_DELETED, DUK__HASH_UNUSED, DUK__VALSTACK_SPACE, DUK_ALLOC, DUK_ASSERT, DUK_ASSERT_VALSTACK_SPACE, duk_check_stack(), DUK_DD, DUK_DDD, DUK_DDDPRINT, DUK_DDPRINT, DUK_ERROR_ALLOC_FAILED, DUK_ERROR_INTERNAL, DUK_FREE_CHECKED, duk_heap_strtable_intern_u32(), DUK_HEAPHDR_HAS_READONLY, DUK_HOBJECT_A_GET_BASE, DUK_HOBJECT_A_GET_VALUE_PTR, DUK_HOBJECT_ALIGN_TARGET, DUK_HOBJECT_CLEAR_ARRAY_PART, DUK_HOBJECT_E_GET_FLAGS, DUK_HOBJECT_E_GET_KEY, DUK_HOBJECT_E_GET_VALUE, DUK_HOBJECT_GET_ASIZE, DUK_HOBJECT_GET_ENEXT, DUK_HOBJECT_GET_ESIZE, DUK_HOBJECT_GET_HSIZE, DUK_HOBJECT_GET_PROPS, DUK_HOBJECT_MAX_PROPERTIES, DUK_HOBJECT_P_COMPUTE_SIZE, DUK_HOBJECT_P_SET_REALLOC_PTRS, DUK_HOBJECT_SET_ASIZE, DUK_HOBJECT_SET_ENEXT, DUK_HOBJECT_SET_ESIZE, DUK_HOBJECT_SET_HSIZE, DUK_HOBJECT_SET_PROPS, DUK_HSTRING_GET_HASH, duk_memcpy_unsafe, duk_memset, DUK_MS_FLAG_NO_OBJECT_COMPACTION, duk_pop_n_nodecref_unsafe(), DUK_PROPDESC_FLAG_CONFIGURABLE, DUK_PROPDESC_FLAG_ENUMERABLE, DUK_PROPDESC_FLAG_WRITABLE, duk_push_hstring(), DUK_STATS_INC, DUK_TVAL_IS_UNUSED, DUK_TVAL_SET_TVAL, DUK_TVAL_SET_UNUSED, DUK_UINT16_MAX, DUK_UNREF, DUK_WO_NORETURN, duk_hthread::heap, duk_heap::ms_base_flags, duk_heap::pf_prevent_count, and duk_propvalue::v.

Referenced by duk_push_harray_with_size_outptr().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_hobject_refcount_finalize_norz()

DUK_INTERNAL void duk_hobject_refcount_finalize_norz ( duk_heap heap,
duk_hobject h 
)

Definition at line 54203 of file duktape.c.

References count(), DUK_ASSERT, and DUK_TVAL_DECREF_NORZ.

Referenced by duk__refcount_free_pending(), and duk_heap_process_finalize_list().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_hobject_refzero()

DUK_INTERNAL DUK_NOINLINE void duk_hobject_refzero ( duk_hthread thr,
duk_hobject h 
)

Definition at line 54827 of file duktape.c.

◆ duk_hobject_refzero_norz()

DUK_INTERNAL DUK_NOINLINE void duk_hobject_refzero_norz ( duk_hthread thr,
duk_hobject h 
)

Definition at line 54831 of file duktape.c.

References duk__heaphdr_refzero_helper().

Here is the call graph for this function:

◆ duk_hobject_resize_entrypart()

DUK_INTERNAL void duk_hobject_resize_entrypart ( duk_hthread thr,
duk_hobject obj,
duk_uint32_t  new_e_size 
)

Definition at line 58998 of file duktape.c.

◆ duk_hobject_resolve_proxy_target()

DUK_INTERNAL duk_hobject * duk_hobject_resolve_proxy_target ( duk_hobject obj)

Definition at line 58408 of file duktape.c.

◆ duk_hobject_set_prototype_updref()

DUK_INTERNAL void duk_hobject_set_prototype_updref ( duk_hthread thr,
duk_hobject h,
duk_hobject p 
)

◆ duk_hobjenv_alloc()

DUK_INTERNAL duk_hobjenv * duk_hobjenv_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56725 of file duktape.c.

◆ duk_hproxy_alloc()

DUK_INTERNAL duk_hproxy * duk_hproxy_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56738 of file duktape.c.

◆ duk_hstring_char_code_at_raw()

DUK_INTERNAL duk_ucodepoint_t duk_hstring_char_code_at_raw ( duk_hthread thr,
duk_hstring h,
duk_uint_t  pos,
duk_bool_t  surrogate_aware 
)

Definition at line 64280 of file duktape.c.

References DUK_ASSERT.

◆ duk_hstring_equals_ascii_cstring()

DUK_INTERNAL duk_bool_t duk_hstring_equals_ascii_cstring ( duk_hstring h,
const char *  cstr 
)

Definition at line 64451 of file duktape.c.

◆ duk_hstring_get_charlen()

DUK_INTERNAL DUK_HOT duk_size_t duk_hstring_get_charlen ( duk_hstring h)

Definition at line 64427 of file duktape.c.

◆ duk_hstring_refzero()

DUK_INTERNAL DUK_NOINLINE void duk_hstring_refzero ( duk_hthread thr,
duk_hstring h 
)

Definition at line 54819 of file duktape.c.

◆ duk_hthread_activation_alloc()

DUK_INTERNAL DUK_INLINE duk_activation * duk_hthread_activation_alloc ( duk_hthread thr)

Definition at line 65640 of file duktape.c.

◆ duk_hthread_activation_free()

DUK_INTERNAL void duk_hthread_activation_free ( duk_hthread thr,
duk_activation act 
)

Definition at line 65659 of file duktape.c.

References duk_heap::activation_free, duk__hthread_activation_alloc_slow(), DUK_ASSERT, DUK_LIKELY, duk_hthread::heap, and duk_activation::parent.

Here is the call graph for this function:

◆ duk_hthread_activation_unwind_norz()

DUK_INTERNAL void duk_hthread_activation_unwind_norz ( duk_hthread thr)

Definition at line 65834 of file duktape.c.

Referenced by duk__handle_call_raw(), and duk_hthread_terminate().

Here is the caller graph for this function:

◆ duk_hthread_activation_unwind_reuse_norz()

DUK_INTERNAL void duk_hthread_activation_unwind_reuse_norz ( duk_hthread thr)

Definition at line 65859 of file duktape.c.

◆ duk_hthread_alloc()

DUK_INTERNAL duk_hthread * duk_hthread_alloc ( duk_hthread thr,
duk_uint_t  hobject_flags 
)

Definition at line 56688 of file duktape.c.

References duk_hthread::builtins, and DUK_NUM_BUILTINS.

◆ duk_hthread_alloc_unchecked()

DUK_INTERNAL duk_hthread * duk_hthread_alloc_unchecked ( duk_heap heap,
duk_uint_t  hobject_flags 
)

Definition at line 56645 of file duktape.c.

References duk_hbufobj::buf, duk_hbufobj::buf_prop, duk__hobject_alloc_init(), and DUK_HBUFOBJ_ASSERT_VALID.

Referenced by duk_hdecenv_alloc().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_hthread_catcher_alloc()

DUK_INTERNAL DUK_INLINE duk_catcher * duk_hthread_catcher_alloc ( duk_hthread thr)

Definition at line 65595 of file duktape.c.

◆ duk_hthread_catcher_free()

DUK_INTERNAL void duk_hthread_catcher_free ( duk_hthread thr,
duk_catcher cat 
)

Definition at line 65614 of file duktape.c.

References duk_heap::catcher_free, duk__hthread_catcher_alloc_slow(), DUK_ASSERT, DUK_LIKELY, duk_hthread::heap, and duk_catcher::parent.

Here is the call graph for this function:

◆ duk_hthread_catcher_unwind_nolexenv_norz()

DUK_INTERNAL void duk_hthread_catcher_unwind_nolexenv_norz ( duk_hthread thr,
duk_activation act 
)

Definition at line 65565 of file duktape.c.

◆ duk_hthread_catcher_unwind_norz()

DUK_INTERNAL void duk_hthread_catcher_unwind_norz ( duk_hthread thr,
duk_activation act 
)

Definition at line 65535 of file duktape.c.

◆ duk_hthread_copy_builtin_objects()

DUK_INTERNAL void duk_hthread_copy_builtin_objects ( duk_hthread thr_from,
duk_hthread thr_to 
)

Definition at line 65403 of file duktape.c.

◆ duk_hthread_create_builtin_objects()

DUK_INTERNAL void duk_hthread_create_builtin_objects ( duk_hthread thr)

Definition at line 64721 of file duktape.c.

◆ duk_hthread_get_act_prev_pc()

DUK_INTERNAL duk_uint_fast32_t duk_hthread_get_act_prev_pc ( duk_hthread thr,
duk_activation act 
)

Definition at line 65473 of file duktape.c.

◆ duk_hthread_get_activation_for_level()

DUK_INTERNAL duk_activation * duk_hthread_get_activation_for_level ( duk_hthread thr,
duk_int_t  level 
)

Definition at line 65868 of file duktape.c.

Referenced by duk_bi_global_object_eval().

Here is the caller graph for this function:

◆ duk_hthread_get_valstack_ptr()

DUK_INTERNAL void * duk_hthread_get_valstack_ptr ( duk_heap heap,
void *  ud 
)

Definition at line 64520 of file duktape.c.

References DUK_TVAL_SET_UNDEFINED, and duk_hthread::valstack.

Referenced by duk__resize_valstack().

Here is the caller graph for this function:

◆ duk_hthread_init_stacks()

DUK_INTERNAL duk_bool_t duk_hthread_init_stacks ( duk_heap heap,
duk_hthread thr 
)

Definition at line 64478 of file duktape.c.

◆ duk_hthread_sync_and_null_currpc()

DUK_INTERNAL void duk_hthread_sync_and_null_currpc ( duk_hthread thr)

Definition at line 65508 of file duktape.c.

Referenced by duk__handle_call_raw(), duk_err_create_and_throw(), and duk_throw_raw().

Here is the caller graph for this function:

◆ duk_hthread_sync_currpc()

DUK_INTERNAL void duk_hthread_sync_currpc ( duk_hthread thr)

◆ duk_hthread_terminate()

DUK_INTERNAL void duk_hthread_terminate ( duk_hthread thr)

Definition at line 65432 of file duktape.c.

References duk_hthread::callstack_curr, DUK_ASSERT, duk_hthread_activation_unwind_norz(), DUK_HTHREAD_STATE_TERMINATED, duk_set_top(), duk_hthread::state, duk_hthread::valstack, and duk_hthread::valstack_bottom.

Here is the call graph for this function:

◆ duk_insert()

DUK_EXTERNAL void duk_insert ( duk_hthread thr,
duk_idx_t  to_idx 
)

◆ duk_insert_undefined()

DUK_INTERNAL void duk_insert_undefined ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19877 of file duktape.c.

◆ duk_insert_undefined_n()

DUK_INTERNAL void duk_insert_undefined_n ( duk_hthread thr,
duk_idx_t  idx,
duk_idx_t  count 
)

Definition at line 19885 of file duktape.c.

◆ duk_inspect_callstack_entry()

DUK_EXTERNAL void duk_inspect_callstack_entry ( duk_hthread thr,
duk_int_t  level 
)

Definition at line 17498 of file duktape.c.

◆ duk_inspect_value()

DUK_EXTERNAL void duk_inspect_value ( duk_hthread thr,
duk_idx_t  idx 
)

◆ duk_instanceof()

DUK_EXTERNAL duk_bool_t duk_instanceof ( duk_hthread thr,
duk_idx_t  idx1,
duk_idx_t  idx2 
)

Definition at line 25245 of file duktape.c.

◆ duk_is_array()

DUK_EXTERNAL duk_bool_t duk_is_array ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22786 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared().

Here is the caller graph for this function:

◆ duk_is_bare_object()

DUK_INTERNAL duk_bool_t duk_is_bare_object ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18595 of file duktape.c.

Referenced by duk__load_func().

Here is the caller graph for this function:

◆ duk_is_boolean()

DUK_EXTERNAL duk_bool_t duk_is_boolean ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22670 of file duktape.c.

Referenced by duk_bi_boolean_prototype_tostring_shared(), and dukky_generic_event_handler().

Here is the caller graph for this function:

◆ duk_is_bound_function()

DUK_EXTERNAL duk_bool_t duk_is_bound_function ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22861 of file duktape.c.

◆ duk_is_buffer()

DUK_EXTERNAL duk_bool_t duk_is_buffer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22728 of file duktape.c.

◆ duk_is_buffer_data()

DUK_EXTERNAL duk_bool_t duk_is_buffer_data ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22734 of file duktape.c.

References duk__tag_check(), DUK_ASSERT_API_ENTRY, and DUK_TAG_OBJECT.

Here is the call graph for this function:

◆ duk_is_c_function()

DUK_EXTERNAL duk_bool_t duk_is_c_function ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22851 of file duktape.c.

References DUK_ASSERT, DUK_HOBJECT_HAS_CONSTRUCTABLE, and DUK_TVAL_GET_OBJECT.

◆ duk_is_callable_tval()

DUK_INTERNAL duk_bool_t duk_is_callable_tval ( duk_hthread thr,
duk_tval tv 
)

Definition at line 22816 of file duktape.c.

References DUK_ASSERT, DUK_HOBJECT_HAS_CALLABLE, and DUK_TVAL_GET_OBJECT.

◆ duk_is_constructable()

DUK_EXTERNAL duk_bool_t duk_is_constructable ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22833 of file duktape.c.

References DUK_ASSERT, DUK_HOBJECT_HAS_CALLABLE, and DUK_TVAL_GET_OBJECT.

Referenced by duk__update_default_instance_proto().

Here is the caller graph for this function:

◆ duk_is_constructor_call()

DUK_EXTERNAL duk_bool_t duk_is_constructor_call ( duk_hthread thr)

Definition at line 15565 of file duktape.c.

References DUK_ERROR_TYPE_INVALID_ARGS, DUK_EXEC_ERROR, and DUK_WO_NORETURN.

Referenced by duk_bi_pointer_constructor().

Here is the caller graph for this function:

◆ duk_is_dynamic_buffer()

DUK_EXTERNAL duk_bool_t duk_is_dynamic_buffer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22893 of file duktape.c.

◆ duk_is_ecmascript_function()

DUK_EXTERNAL duk_bool_t duk_is_ecmascript_function ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22856 of file duktape.c.

◆ duk_is_external_buffer()

DUK_EXTERNAL duk_bool_t duk_is_external_buffer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22908 of file duktape.c.

◆ duk_is_fixed_buffer()

DUK_EXTERNAL duk_bool_t duk_is_fixed_buffer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22878 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_get_hobject(), DUK_HOBJECT_CLASS_THREAD, and DUK_HOBJECT_GET_CLASS_NUMBER.

Here is the call graph for this function:

◆ duk_is_function()

DUK_EXTERNAL duk_bool_t duk_is_function ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22798 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_get_tval(), and duk_js_isarray().

Referenced by duk_bi_string_prototype_replace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_is_lightfunc()

DUK_EXTERNAL duk_bool_t duk_is_lightfunc ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22766 of file duktape.c.

◆ duk_is_nan()

DUK_EXTERNAL duk_bool_t duk_is_nan ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22692 of file duktape.c.

◆ duk_is_null()

DUK_EXTERNAL duk_bool_t duk_is_null ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22665 of file duktape.c.

References DUK_ERROR_TYPE, DUK_STR_UNEXPECTED_TYPE, and DUK_WO_NORETURN.

◆ duk_is_number()

DUK_EXTERNAL duk_bool_t duk_is_number ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22675 of file duktape.c.

Referenced by duk_bi_global_object_eval(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_is_object()

DUK_EXTERNAL duk_bool_t duk_is_object ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22723 of file duktape.c.

Referenced by duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_is_pointer()

DUK_EXTERNAL duk_bool_t duk_is_pointer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22761 of file duktape.c.

Referenced by duk_bi_pointer_constructor().

Here is the caller graph for this function:

◆ duk_is_strict_call()

DUK_EXTERNAL duk_bool_t duk_is_strict_call ( duk_hthread thr)

Definition at line 15586 of file duktape.c.

◆ duk_is_string()

DUK_EXTERNAL duk_bool_t duk_is_string ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22713 of file duktape.c.

Referenced by duk__safe_to_stacktrace_raw(), duk_bi_string_prototype_replace(), duk_js_tonumber(), and duk_push_class_string_tval().

Here is the caller graph for this function:

◆ duk_is_string_notsymbol()

DUK_INTERNAL duk_bool_t duk_is_string_notsymbol ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22718 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_is_symbol()

DUK_EXTERNAL duk_bool_t duk_is_symbol ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22771 of file duktape.c.

References duk__tag_check(), DUK_ASSERT_API_ENTRY, and DUK_TAG_POINTER.

Here is the call graph for this function:

◆ duk_is_thread()

DUK_EXTERNAL duk_bool_t duk_is_thread ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22866 of file duktape.c.

◆ duk_is_undefined()

DUK_EXTERNAL duk_bool_t duk_is_undefined ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22660 of file duktape.c.

Referenced by duk_bi_array_prototype_join_shared(), duk_bi_symbol_constructor_shared(), dukky_event_target_push_listeners(), dukky_get_current_value_of_event_handler(), dukky_populate_object(), dukky_push_event(), dukky_push_node(), dukky_push_node_stacked(), and js_fire_event().

Here is the caller graph for this function:

◆ duk_is_valid_index()

DUK_EXTERNAL duk_bool_t duk_is_valid_index ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19050 of file duktape.c.

Referenced by duk__handle_call_raw(), and duk__prep_codec_arg().

Here is the caller graph for this function:

◆ duk_is_whole_get_int32()

DUK_INTERNAL duk_bool_t duk_is_whole_get_int32 ( duk_double_t  x,
duk_int32_t *  ival 
)

Definition at line 100783 of file duktape.c.

References duk_double_equals(), duk_double_is_nan_or_inf(), and duk_js_tointeger_number().

Here is the call graph for this function:

◆ duk_is_whole_get_int32_nonegzero()

DUK_INTERNAL duk_bool_t duk_is_whole_get_int32_nonegzero ( duk_double_t  x,
duk_int32_t *  ival 
)

Definition at line 100762 of file duktape.c.

◆ duk_join()

DUK_EXTERNAL void duk_join ( duk_hthread thr,
duk_idx_t  count 
)

Definition at line 25752 of file duktape.c.

Referenced by duk_bi_array_prototype_join_shared().

Here is the caller graph for this function:

◆ duk_js_arith_mod()

DUK_INTERNAL double duk_js_arith_mod ( double  x,
double  y 
)

Definition at line 65938 of file duktape.c.

Referenced by duk__vm_arith_add().

Here is the caller graph for this function:

◆ duk_js_arith_pow()

DUK_INTERNAL double duk_js_arith_pow ( double  x,
double  y 
)

Definition at line 65991 of file duktape.c.

Referenced by duk_bi_math_object_onearg_shared().

Here is the caller graph for this function:

◆ duk_js_close_environment_record()

DUK_INTERNAL void duk_js_close_environment_record ( duk_hthread thr,
duk_hobject env 
)

Definition at line 84553 of file duktape.c.

◆ duk_js_compare_helper()

DUK_INTERNAL duk_bool_t duk_js_compare_helper ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y,
duk_small_uint_t  flags 
)

Definition at line 83346 of file duktape.c.

◆ duk_js_compile()

DUK_INTERNAL void duk_js_compile ( duk_hthread thr,
const duk_uint8_t *  src_buffer,
duk_size_t  src_length,
duk_small_uint_t  flags 
)

Definition at line 77041 of file duktape.c.

Referenced by duk_bi_global_object_eval().

Here is the caller graph for this function:

◆ duk_js_data_compare()

DUK_INTERNAL duk_small_int_t duk_js_data_compare ( const duk_uint8_t *  buf1,
const duk_uint8_t *  buf2,
duk_size_t  len1,
duk_size_t  len2 
)

Definition at line 83169 of file duktape.c.

References DUK_HINT_NONE, duk_push_tval(), and duk_to_primitive().

Referenced by duk__compare_fastint().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_js_declvar_activation()

DUK_INTERNAL duk_bool_t duk_js_declvar_activation ( duk_hthread thr,
duk_activation act,
duk_hstring name,
duk_tval val,
duk_small_uint_t  prop_flags,
duk_bool_t  is_func_decl 
)

Definition at line 85671 of file duktape.c.

References DUK_HDECENV_ASSERT_VALID.

◆ duk_js_delvar_activation()

DUK_INTERNAL duk_bool_t duk_js_delvar_activation ( duk_hthread thr,
duk_activation act,
duk_hstring name 
)

Definition at line 85384 of file duktape.c.

References duk__id_lookup_result::attrs, DUK_ASSERT, duk_hobject_delprop_raw(), DUK_PROPDESC_FLAG_CONFIGURABLE, duk__id_lookup_result::holder, and duk__id_lookup_result::value.

Here is the call graph for this function:

◆ duk_js_equals_helper()

DUK_INTERNAL duk_bool_t duk_js_equals_helper ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y,
duk_small_uint_t  flags 
)

Definition at line 82974 of file duktape.c.

References DUK_ASSERT, duk_double_same_sign(), DUK_FP_NAN, DUK_FP_ZERO, DUK_FPCLASSIFY, and DUK_UNLIKELY.

Here is the call graph for this function:

◆ duk_js_execute_bytecode()

DUK_INTERNAL void duk_js_execute_bytecode ( duk_hthread exec_thr)

Definition at line 80087 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk_js_getvar_activation()

DUK_INTERNAL duk_bool_t duk_js_getvar_activation ( duk_hthread thr,
duk_activation act,
duk_hstring name,
duk_bool_t  throw_flag 
)

Definition at line 85169 of file duktape.c.

◆ duk_js_getvar_envrec()

DUK_INTERNAL duk_bool_t duk_js_getvar_envrec ( duk_hthread thr,
duk_hobject env,
duk_hstring name,
duk_bool_t  throw_flag 
)

Definition at line 85164 of file duktape.c.

References duk_push_tval(), duk_push_undefined(), and duk__id_lookup_result::value.

Here is the call graph for this function:

◆ duk_js_in()

DUK_INTERNAL duk_bool_t duk_js_in ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y 
)

Definition at line 83667 of file duktape.c.

◆ duk_js_init_activation_environment_records_delayed()

DUK_INTERNAL void duk_js_init_activation_environment_records_delayed ( duk_hthread thr,
duk_activation act 
)

Definition at line 84503 of file duktape.c.

Referenced by duk_bi_global_object_eval().

Here is the caller graph for this function:

◆ duk_js_instanceof()

DUK_INTERNAL duk_bool_t duk_js_instanceof ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y 
)

Definition at line 83653 of file duktape.c.

◆ duk_js_instanceof_ordinary()

DUK_INTERNAL duk_bool_t duk_js_instanceof_ordinary ( duk_hthread thr,
duk_tval tv_x,
duk_tval tv_y 
)

Definition at line 83648 of file duktape.c.

◆ duk_js_isarray()

DUK_INTERNAL duk_bool_t duk_js_isarray ( duk_tval tv)

Definition at line 83798 of file duktape.c.

Referenced by duk_bi_array_prototype_to_string(), and duk_is_function().

Here is the caller graph for this function:

◆ duk_js_isarray_hobject()

DUK_INTERNAL duk_bool_t duk_js_isarray_hobject ( duk_hobject h)

Definition at line 83790 of file duktape.c.

References DUK_STRIDX_LC_FUNCTION.

◆ duk_js_push_closure()

DUK_INTERNAL void duk_js_push_closure ( duk_hthread thr,
duk_hcompfunc fun_temp,
duk_hobject outer_var_env,
duk_hobject outer_lex_env,
duk_bool_t  add_auto_proto 
)

Definition at line 84040 of file duktape.c.

Referenced by duk_bi_global_object_eval().

Here is the caller graph for this function:

◆ duk_js_putvar_activation()

DUK_INTERNAL void duk_js_putvar_activation ( duk_hthread thr,
duk_activation act,
duk_hstring name,
duk_tval val,
duk_bool_t  strict 
)

Definition at line 85303 of file duktape.c.

◆ duk_js_putvar_envrec()

DUK_INTERNAL void duk_js_putvar_envrec ( duk_hthread thr,
duk_hobject env,
duk_hstring name,
duk_tval val,
duk_bool_t  strict 
)

Definition at line 85298 of file duktape.c.

Referenced by duk_hobject_define_property_helper().

Here is the caller graph for this function:

◆ duk_js_string_compare()

DUK_INTERNAL duk_small_int_t duk_js_string_compare ( duk_hstring h1,
duk_hstring h2 
)

Definition at line 83200 of file duktape.c.

References duk_memcmp_unsafe().

Here is the call graph for this function:

◆ duk_js_to_arrayindex_string()

DUK_INTERNAL duk_uarridx_t duk_js_to_arrayindex_string ( const duk_uint8_t *  str,
duk_uint32_t  blen 
)

Definition at line 83816 of file duktape.c.

◆ duk_js_toboolean()

DUK_INTERNAL duk_bool_t duk_js_toboolean ( duk_tval tv)

◆ duk_js_toint32()

DUK_INTERNAL duk_int32_t duk_js_toint32 ( duk_hthread thr,
duk_tval tv 
)

Definition at line 82805 of file duktape.c.

◆ duk_js_tointeger()

DUK_INTERNAL duk_double_t duk_js_tointeger ( duk_hthread thr,
duk_tval tv 
)

Definition at line 82753 of file duktape.c.

◆ duk_js_tointeger_number()

DUK_INTERNAL duk_double_t duk_js_tointeger_number ( duk_double_t  x)

Definition at line 82723 of file duktape.c.

Referenced by duk_is_whole_get_int32().

Here is the caller graph for this function:

◆ duk_js_tonumber()

DUK_INTERNAL duk_double_t duk_js_tonumber ( duk_hthread thr,
duk_tval tv 
)

◆ duk_js_touint16()

DUK_INTERNAL duk_uint16_t duk_js_touint16 ( duk_hthread thr,
duk_tval tv 
)

Definition at line 82839 of file duktape.c.

◆ duk_js_touint32()

DUK_INTERNAL duk_uint32_t duk_js_touint32 ( duk_hthread thr,
duk_tval tv 
)

Definition at line 82822 of file duktape.c.

◆ duk_js_typeof_stridx()

DUK_INTERNAL duk_small_uint_t duk_js_typeof_stridx ( duk_tval tv_x)

Definition at line 83713 of file duktape.c.

◆ duk_json_decode()

DUK_EXTERNAL void duk_json_decode ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 16612 of file duktape.c.

◆ duk_json_encode()

DUK_EXTERNAL const char * duk_json_encode ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 16586 of file duktape.c.

References DUK_ERROR_UNSUPPORTED, DUK_UNREF, and DUK_WO_NORETURN.

◆ duk_known_hbuffer()

DUK_INTERNAL duk_hbuffer * duk_known_hbuffer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21365 of file duktape.c.

References duk__known_heaphdr(), DUK_ASSERT, DUK_ASSERT_API_ENTRY, and duk_get_hstring().

Referenced by duk__load_func().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_known_hcompfunc()

DUK_INTERNAL duk_hcompfunc * duk_known_hcompfunc ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21371 of file duktape.c.

References duk__known_heaphdr(), DUK_ASSERT, DUK_ASSERT_API_ENTRY, and duk_get_hobject().

Here is the call graph for this function:

◆ duk_known_hnatfunc()

DUK_INTERNAL duk_hnatfunc * duk_known_hnatfunc ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21377 of file duktape.c.

References duk__known_heaphdr(), DUK_ASSERT, DUK_ASSERT_API_ENTRY, and duk_get_hbuffer().

Here is the call graph for this function:

◆ duk_known_hobject()

DUK_INTERNAL duk_hobject * duk_known_hobject ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21359 of file duktape.c.

Referenced by duk_bi_global_object_eval(), and duk_bi_thread_constructor().

Here is the caller graph for this function:

◆ duk_known_hstring()

DUK_INTERNAL duk_hstring * duk_known_hstring ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21353 of file duktape.c.

References duk_hthread::valstack_top.

Referenced by duk__init_varmap_and_prologue_for_pass2(), duk_bi_string_prototype_replace(), duk_lexer_parse_js_input_element(), duk_lexer_setpoint(), duk_proxy_ownkeys_postprocess(), and duk_push_class_string_tval().

Here is the caller graph for this function:

◆ duk_lexer_getpoint()

DUK_INTERNAL void duk_lexer_getpoint ( duk_lexer_ctx lex_ctx,
duk_lexer_point pt 
)

Definition at line 86296 of file duktape.c.

◆ duk_lexer_initctx()

DUK_INTERNAL void duk_lexer_initctx ( duk_lexer_ctx lex_ctx)

Definition at line 86278 of file duktape.c.

◆ duk_lexer_parse_js_input_element()

DUK_INTERNAL void duk_lexer_parse_js_input_element ( duk_lexer_ctx lex_ctx,
duk_token out_token,
duk_bool_t  strict_mode,
duk_bool_t  regexp_mode 
)

Definition at line 86732 of file duktape.c.

References duk_token::allow_auto_semi, DUK__ADVANCEBYTES, DUK__ADVANCECHARS, DUK__ADVTOK, DUK__APPENDBUFFER, DUK__INITBUFFER, duk__internbuffer(), DUK__ISDIGIT, DUK__ISHEXDIGIT, DUK__L0, DUK__L1, DUK__L2, DUK__L3, duk__lexer_parse_escape(), duk__lexer_parse_string_literal(), duk__lexer_skip_to_endofline(), DUK__LOOKUP, DUK_ASC_0, DUK_ASC_8, DUK_ASC_9, DUK_ASC_AMP, DUK_ASC_BACKSLASH, DUK_ASC_CARET, DUK_ASC_COLON, DUK_ASC_COMMA, DUK_ASC_DOUBLEQUOTE, DUK_ASC_EQUALS, DUK_ASC_EXCLAMATION, DUK_ASC_HASH, DUK_ASC_HT, DUK_ASC_LANGLE, DUK_ASC_LBRACKET, DUK_ASC_LC_B, DUK_ASC_LC_E, DUK_ASC_LC_O, DUK_ASC_LC_U, DUK_ASC_LC_X, DUK_ASC_LCURLY, DUK_ASC_LF, DUK_ASC_LPAREN, DUK_ASC_MINUS, DUK_ASC_PERCENT, DUK_ASC_PERIOD, DUK_ASC_PIPE, DUK_ASC_PLUS, DUK_ASC_QUESTION, DUK_ASC_RANGLE, DUK_ASC_RBRACKET, DUK_ASC_RCURLY, DUK_ASC_RPAREN, DUK_ASC_SEMICOLON, DUK_ASC_SINGLEQUOTE, DUK_ASC_SLASH, DUK_ASC_SPACE, DUK_ASC_STAR, DUK_ASC_TILDE, DUK_ASC_UC_E, DUK_ASSERT, DUK_ASSERT_DISABLE, DUK_COMPILE_SHEBANG, DUK_DOUBLE_NAN, duk_dup(), DUK_ERROR_RANGE, DUK_HEAP_NUM_STRINGS, DUK_HTHREAD_GET_STRING, DUK_ISNAN, duk_known_hstring(), DUK_LOWERCASE_CHAR_ASCII, duk_numconv_parse(), duk_replace(), DUK_S2N_FLAG_ALLOW_EMPTY_FRAC, DUK_S2N_FLAG_ALLOW_EXP, DUK_S2N_FLAG_ALLOW_FRAC, DUK_S2N_FLAG_ALLOW_LEADING_ZERO, DUK_S2N_FLAG_ALLOW_NAKED_FRAC, DUK_STR_TOKEN_LIMIT, DUK_STRIDX_END_RESERVED, DUK_STRIDX_START_RESERVED, DUK_STRIDX_START_STRICT_RESERVED, DUK_STRIDX_TO_TOK, duk_to_number_m1(), duk_to_undefined(), DUK_TOK_ADD, DUK_TOK_ADD_EQ, DUK_TOK_ALSHIFT, DUK_TOK_ALSHIFT_EQ, DUK_TOK_ARSHIFT, DUK_TOK_ARSHIFT_EQ, DUK_TOK_BAND, DUK_TOK_BAND_EQ, DUK_TOK_BNOT, DUK_TOK_BOR, DUK_TOK_BOR_EQ, DUK_TOK_BXOR, DUK_TOK_BXOR_EQ, DUK_TOK_COLON, DUK_TOK_COMMA, DUK_TOK_DECREMENT, DUK_TOK_DIV, DUK_TOK_DIV_EQ, DUK_TOK_EOF, DUK_TOK_EQ, DUK_TOK_EQUALSIGN, DUK_TOK_EXP, DUK_TOK_EXP_EQ, DUK_TOK_GE, DUK_TOK_GT, DUK_TOK_IDENTIFIER, DUK_TOK_INCREMENT, DUK_TOK_INVALID, DUK_TOK_LAND, DUK_TOK_LBRACKET, DUK_TOK_LCURLY, DUK_TOK_LE, DUK_TOK_LNOT, DUK_TOK_LOR, DUK_TOK_LPAREN, DUK_TOK_LT, DUK_TOK_MOD, DUK_TOK_MOD_EQ, DUK_TOK_MUL, DUK_TOK_MUL_EQ, DUK_TOK_NEQ, DUK_TOK_NUMBER, DUK_TOK_PERIOD, DUK_TOK_QUESTION, DUK_TOK_RBRACKET, DUK_TOK_RCURLY, DUK_TOK_REGEXP, DUK_TOK_RPAREN, DUK_TOK_RSHIFT, DUK_TOK_RSHIFT_EQ, DUK_TOK_SEMICOLON, DUK_TOK_SEQ, DUK_TOK_SNEQ, DUK_TOK_STRING, DUK_TOK_SUB, DUK_TOK_SUB_EQ, duk_unicode_is_identifier_part(), duk_unicode_is_identifier_start(), duk_unicode_is_line_terminator(), duk_unicode_is_whitespace(), DUK_WO_NORETURN, duk_lexer_ctx::flags, duk_lexer_codepoint::line, duk_token::lineterm, duk_token::num, duk_token::num_escapes, duk_lexer_codepoint::offset, duk_lexer_ctx::slot1_idx, duk_lexer_ctx::slot2_idx, duk_token::start_line, duk_token::start_offset, duk_token::str1, duk_token::str2, duk_token::t, duk_token::t_nores, duk_lexer_ctx::thr, duk_lexer_ctx::token_count, duk_lexer_ctx::token_limit, and duk_lexer_ctx::window.

Here is the call graph for this function:

◆ duk_lexer_parse_re_ranges()

DUK_INTERNAL void duk_lexer_parse_re_ranges ( duk_lexer_ctx lex_ctx,
duk_re_range_callback  gen_range,
void *  userdata 
)

Definition at line 87919 of file duktape.c.

References DUK_UNREF.

◆ duk_lexer_parse_re_token()

DUK_INTERNAL void duk_lexer_parse_re_token ( duk_lexer_ctx lex_ctx,
duk_re_token out_token 
)

Definition at line 87530 of file duktape.c.

◆ duk_lexer_setpoint()

DUK_INTERNAL void duk_lexer_setpoint ( duk_lexer_ctx lex_ctx,
duk_lexer_point pt 
)

Definition at line 86301 of file duktape.c.

References duk_lexer_ctx::bw, DUK_ASSERT, DUK_BW_PUSH_AS_STRING, duk_known_hstring(), duk_replace(), duk_lexer_ctx::slot1_idx, duk_lexer_ctx::slot2_idx, and duk_lexer_ctx::thr.

Here is the call graph for this function:

◆ duk_load_function()

DUK_EXTERNAL void duk_load_function ( duk_hthread thr)

Definition at line 15133 of file duktape.c.

◆ duk_map_string()

DUK_EXTERNAL void duk_map_string ( duk_hthread thr,
duk_idx_t  idx,
duk_map_char_function  callback,
void *  udata 
)

Definition at line 25785 of file duktape.c.

◆ duk_memcmp()

DUK_INTERNAL DUK_INLINE duk_small_int_t duk_memcmp ( const void *  s1,
const void *  s2,
duk_size_t  len 
)

Definition at line 101029 of file duktape.c.

Referenced by duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_memcmp_unsafe()

DUK_INTERNAL DUK_INLINE duk_small_int_t duk_memcmp_unsafe ( const void *  s1,
const void *  s2,
duk_size_t  len 
)

Definition at line 101018 of file duktape.c.

Referenced by duk_js_string_compare().

Here is the caller graph for this function:

◆ duk_native_stack_check()

DUK_INTERNAL void duk_native_stack_check ( duk_hthread thr)

Definition at line 66107 of file duktape.c.

◆ duk_new()

DUK_EXTERNAL void duk_new ( duk_hthread thr,
duk_idx_t  nargs 
)

Definition at line 15522 of file duktape.c.

◆ duk_next()

DUK_EXTERNAL duk_bool_t duk_next ( duk_hthread thr,
duk_idx_t  enum_index,
duk_bool_t  get_value 
)

Definition at line 18276 of file duktape.c.

◆ DUK_NORETURN() [1/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_default_fatal_handlervoid *udata, const char *msg)

◆ DUK_NORETURN() [2/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_create_and_throwduk_hthread *thr, duk_errcode_t code, const char *msg, const char *filename, duk_int_t line)

◆ DUK_NORETURN() [3/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_errorduk_hthread *thr, const char *filename, duk_int_t linenumber, const char *message)

◆ DUK_NORETURN() [4/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_error_internalduk_hthread *thr, const char *filename, duk_int_t linenumber)

◆ DUK_NORETURN() [5/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_handle_errorduk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *msg)

◆ DUK_NORETURN() [6/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_handle_error_fmtduk_hthread *thr, const char *filename, duk_uint_t line_and_code, const char *fmt,...)

◆ DUK_NORETURN() [7/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_longjmpduk_hthread *thr)

◆ DUK_NORETURN() [8/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_range_indexduk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t idx)

◆ DUK_NORETURN() [9/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_err_require_type_indexduk_hthread *thr, const char *filename, duk_int_t linenumber, duk_idx_t idx, const char *expect_name)

◆ DUK_NORETURN() [10/12]

DUK_NORETURN ( DUK_INTERNAL_DECL void   duk_error_throw_from_negative_rcduk_hthread *thr, duk_ret_t rc)

◆ DUK_NORETURN() [11/12]

DUK_NORETURN ( DUK_LOCAL_DECL void   duk__throw_error_from_stashduk_hthread *thr, duk_errcode_t err_code, const char *fmt, va_list ap)

◆ DUK_NORETURN() [12/12]

DUK_NORETURN ( DUK_LOCAL_DECL void   duk__uncaught_error_awareduk_hthread *thr)

◆ duk_normalize_index()

DUK_EXTERNAL duk_idx_t duk_normalize_index ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18910 of file duktape.c.

Referenced by duk_put_prop_index().

Here is the caller graph for this function:

◆ duk_numconv_parse()

DUK_INTERNAL void duk_numconv_parse ( duk_hthread thr,
duk_small_int_t  radix,
duk_small_uint_t  flags 
)

Definition at line 90484 of file duktape.c.

Referenced by duk_js_tonumber(), and duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk_numconv_stringify()

DUK_INTERNAL void duk_numconv_stringify ( duk_hthread thr,
duk_small_int_t  radix,
duk_small_int_t  digits,
duk_small_uint_t  flags 
)

Definition at line 89934 of file duktape.c.

◆ duk_opt_boolean()

DUK_EXTERNAL duk_bool_t duk_opt_boolean ( duk_hthread thr,
duk_idx_t  idx,
duk_bool_t  def_value 
)

Definition at line 20261 of file duktape.c.

◆ duk_opt_buffer()

DUK_EXTERNAL void * duk_opt_buffer ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size,
void *  def_ptr,
duk_size_t  def_size 
)

Definition at line 20681 of file duktape.c.

◆ duk_opt_buffer_data()

DUK_EXTERNAL void * duk_opt_buffer_data ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size,
void *  def_ptr,
duk_size_t  def_size 
)

Definition at line 20795 of file duktape.c.

◆ duk_opt_c_function()

DUK_EXTERNAL duk_c_function duk_opt_c_function ( duk_hthread thr,
duk_idx_t  idx,
duk_c_function  def_value 
)

Definition at line 21012 of file duktape.c.

◆ duk_opt_context()

DUK_EXTERNAL duk_hthread * duk_opt_context ( duk_hthread thr,
duk_idx_t  idx,
duk_hthread def_value 
)

Definition at line 21080 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_get_hthread().

Here is the call graph for this function:

◆ duk_opt_heapptr()

DUK_EXTERNAL void * duk_opt_heapptr ( duk_hthread thr,
duk_idx_t  idx,
void *  def_value 
)

Definition at line 21119 of file duktape.c.

◆ duk_opt_int()

DUK_EXTERNAL duk_int_t duk_opt_int ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  def_value 
)

Definition at line 20377 of file duktape.c.

References duk__api_coerce_d2i(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_opt_lstring()

DUK_EXTERNAL const char * duk_opt_lstring ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len,
const char *  def_ptr,
duk_size_t  def_len 
)

Definition at line 20456 of file duktape.c.

◆ duk_opt_number()

DUK_EXTERNAL duk_double_t duk_opt_number ( duk_hthread thr,
duk_idx_t  idx,
duk_double_t  def_value 
)

Definition at line 20331 of file duktape.c.

◆ duk_opt_pointer()

DUK_EXTERNAL void * duk_opt_pointer ( duk_hthread thr,
duk_idx_t  idx,
void *  def_value 
)

Definition at line 20583 of file duktape.c.

◆ duk_opt_string()

DUK_EXTERNAL const char * duk_opt_string ( duk_hthread thr,
duk_idx_t  idx,
const char *  def_ptr 
)

Definition at line 20472 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_check_type_mask(), DUK_TYPE_MASK_NONE, and DUK_TYPE_MASK_UNDEFINED.

Here is the call graph for this function:

◆ duk_opt_uint()

DUK_EXTERNAL duk_uint_t duk_opt_uint ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  def_value 
)

Definition at line 20386 of file duktape.c.

◆ duk_pack()

DUK_INTERNAL void duk_pack ( duk_hthread thr,
duk_idx_t  count 
)

Definition at line 24854 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_pop_n_nodecref_unsafe().

Here is the call graph for this function:

◆ duk_pcall()

DUK_EXTERNAL duk_int_t duk_pcall ( duk_hthread thr,
duk_idx_t  nargs 
)

Definition at line 15390 of file duktape.c.

Referenced by dukky_pcall(), and js_exec().

Here is the caller graph for this function:

◆ duk_pcall_method()

DUK_EXTERNAL duk_int_t duk_pcall_method ( duk_hthread thr,
duk_idx_t  nargs 
)

Definition at line 15440 of file duktape.c.

Referenced by duk__err_augment_user(), dukky_generic_event_handler(), and js_fire_event().

Here is the caller graph for this function:

◆ duk_pcall_method_flags()

DUK_INTERNAL duk_int_t duk_pcall_method_flags ( duk_hthread thr,
duk_idx_t  nargs,
duk_small_uint_t  call_flags 
)

Definition at line 15425 of file duktape.c.

◆ duk_pcall_prop()

DUK_EXTERNAL duk_int_t duk_pcall_prop ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_idx_t  nargs 
)

Definition at line 15465 of file duktape.c.

◆ duk_pnew()

DUK_EXTERNAL duk_int_t duk_pnew ( duk_hthread thr,
duk_idx_t  nargs 
)

Definition at line 15546 of file duktape.c.

◆ duk_pop()

DUK_EXTERNAL void duk_pop ( duk_hthread thr)

◆ duk_pop_2()

DUK_EXTERNAL void duk_pop_2 ( duk_hthread thr)

Definition at line 24804 of file duktape.c.

Referenced by duk__error_getter_helper(), dukky_event_target_push_listeners(), dukky_generic_event_handler(), dukky_get_current_value_of_event_handler(), dukky_populate_object(), dukky_push_node(), and dukky_register_event_listener_for().

Here is the caller graph for this function:

◆ duk_pop_2_nodecref_unsafe()

DUK_INTERNAL void duk_pop_2_nodecref_unsafe ( duk_hthread thr)

Definition at line 24819 of file duktape.c.

◆ duk_pop_2_unsafe()

DUK_INTERNAL void duk_pop_2_unsafe ( duk_hthread thr)

Definition at line 24815 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk_pop_3()

DUK_EXTERNAL void duk_pop_3 ( duk_hthread thr)

Definition at line 24833 of file duktape.c.

Referenced by duk__error_getter_helper(), dukky_event_target_push_listeners(), and dukky_push_node_stacked().

Here is the caller graph for this function:

◆ duk_pop_3_nodecref_unsafe()

DUK_INTERNAL void duk_pop_3_nodecref_unsafe ( duk_hthread thr)

Definition at line 24843 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_pop_n().

Here is the call graph for this function:

◆ duk_pop_3_unsafe()

DUK_INTERNAL void duk_pop_3_unsafe ( duk_hthread thr)

Definition at line 24838 of file duktape.c.

◆ duk_pop_n()

DUK_EXTERNAL void duk_pop_n ( duk_hthread thr,
duk_idx_t  count 
)

Definition at line 24627 of file duktape.c.

References count(), DUK_ASSERT, DUK_TVAL_SET_UNDEFINED, and duk_hthread::valstack_bottom.

Referenced by duk__concat_and_join_helper(), duk_pop_3_nodecref_unsafe(), dukky_generic_event_handler(), and js_fire_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_pop_n_nodecref_unsafe()

DUK_INTERNAL void duk_pop_n_nodecref_unsafe ( duk_hthread thr,
duk_idx_t  count 
)

Definition at line 24654 of file duktape.c.

Referenced by duk_hobject_realloc_props(), and duk_pack().

Here is the caller graph for this function:

◆ duk_pop_n_unsafe()

DUK_INTERNAL void duk_pop_n_unsafe ( duk_hthread thr,
duk_idx_t  count 
)

Definition at line 24646 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk_pop_nodecref_unsafe()

DUK_INTERNAL void duk_pop_nodecref_unsafe ( duk_hthread thr)

Definition at line 24730 of file duktape.c.

Referenced by duk_bi_array_prototype_join_shared().

Here is the caller graph for this function:

◆ duk_pop_undefined()

DUK_INTERNAL void duk_pop_undefined ( duk_hthread thr)

Definition at line 24752 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), duk_bi_array_prototype_join_shared(), and duk_bi_array_prototype_splice().

Here is the caller graph for this function:

◆ duk_pop_unsafe()

DUK_INTERNAL void duk_pop_unsafe ( duk_hthread thr)

Definition at line 24726 of file duktape.c.

Referenced by duk_hobject_define_property_helper(), duk_hobject_putprop(), and duk_js_tonumber().

Here is the caller graph for this function:

◆ duk_proxy_ownkeys_postprocess()

DUK_INTERNAL void duk_proxy_ownkeys_postprocess ( duk_hthread thr,
duk_hobject h_proxy_target,
duk_uint_t  flags 
)

◆ duk_pull()

DUK_EXTERNAL void duk_pull ( duk_hthread thr,
duk_idx_t  from_idx 
)

Definition at line 19900 of file duktape.c.

◆ duk_push_array()

DUK_EXTERNAL duk_idx_t duk_push_array ( duk_hthread thr)

Definition at line 23555 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared(), duk_bi_array_prototype_splice(), duk_proxy_ownkeys_postprocess(), dukky_event_target_push_listeners(), and dukky_generic_event_handler().

Here is the caller graph for this function:

◆ duk_push_bare_array()

DUK_EXTERNAL duk_idx_t duk_push_bare_array ( duk_hthread thr)

Definition at line 23581 of file duktape.c.

Referenced by duk__load_func().

Here is the caller graph for this function:

◆ duk_push_bare_object()

DUK_EXTERNAL duk_idx_t duk_push_bare_object ( duk_hthread thr)

Definition at line 24530 of file duktape.c.

Referenced by duk__load_func(), and duk_inspect_value().

Here is the caller graph for this function:

◆ duk_push_boolean()

DUK_EXTERNAL void duk_push_boolean ( duk_hthread thr,
duk_bool_t  val 
)

Definition at line 23004 of file duktape.c.

Referenced by duk_bi_array_prototype_to_string(), duk_bi_global_object_decode_uri(), duk_bi_global_object_is_finite(), dukky_register_event_listener_for(), js_exec(), and js_newheap().

Here is the caller graph for this function:

◆ duk_push_buffer_object()

DUK_EXTERNAL void duk_push_buffer_object ( duk_hthread thr,
duk_idx_t  idx_buffer,
duk_size_t  byte_offset,
duk_size_t  byte_length,
duk_uint_t  flags 
)

Definition at line 23982 of file duktape.c.

◆ duk_push_buffer_raw()

DUK_EXTERNAL void * duk_push_buffer_raw ( duk_hthread thr,
duk_size_t  size,
duk_small_uint_t  flags 
)

Definition at line 24194 of file duktape.c.

◆ duk_push_bufobj_raw()

DUK_INTERNAL duk_hbufobj * duk_push_bufobj_raw ( duk_hthread thr,
duk_uint_t  hobject_flags_and_class,
duk_small_int_t  prototype_bidx 
)

Definition at line 23883 of file duktape.c.

◆ duk_push_c_function()

DUK_EXTERNAL duk_idx_t duk_push_c_function ( duk_hthread thr,
duk_c_function  func,
duk_int_t  nargs 
)

Definition at line 23806 of file duktape.c.

Referenced by dukky_inject_not_ctr().

Here is the caller graph for this function:

◆ duk_push_c_function_builtin()

DUK_INTERNAL void duk_push_c_function_builtin ( duk_hthread thr,
duk_c_function  func,
duk_int_t  nargs 
)

Definition at line 23821 of file duktape.c.

◆ duk_push_c_function_builtin_noconstruct()

DUK_INTERNAL void duk_push_c_function_builtin_noconstruct ( duk_hthread thr,
duk_c_function  func,
duk_int_t  nargs 
)

Definition at line 23834 of file duktape.c.

◆ duk_push_c_lightfunc()

DUK_EXTERNAL duk_idx_t duk_push_c_lightfunc ( duk_hthread thr,
duk_c_function  func,
duk_idx_t  nargs,
duk_idx_t  length,
duk_int_t  magic 
)

Definition at line 23848 of file duktape.c.

◆ duk_push_class_string_tval()

DUK_INTERNAL void duk_push_class_string_tval ( duk_hthread thr,
duk_tval tv,
duk_bool_t  avoid_side_effects 
)

Definition at line 21899 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_get_hstring(), duk_is_string(), duk_known_hstring(), and duk_safe_to_string.

Referenced by duk_bi_object_constructor().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_push_context_dump()

DUK_EXTERNAL void duk_push_context_dump ( duk_hthread thr)

Definition at line 16824 of file duktape.c.

Referenced by dukky_push_context_dump().

Here is the caller graph for this function:

◆ duk_push_current_function()

DUK_EXTERNAL void duk_push_current_function ( duk_hthread thr)

Definition at line 23334 of file duktape.c.

◆ duk_push_current_thread()

DUK_EXTERNAL void duk_push_current_thread ( duk_hthread thr)

Definition at line 23347 of file duktape.c.

Referenced by duk_bi_type_error_thrower().

Here is the caller graph for this function:

◆ duk_push_error_object_raw()

DUK_EXTERNAL duk_idx_t duk_push_error_object_raw ( duk_hthread thr,
duk_errcode_t  err_code,
const char *  filename,
duk_int_t  line,
const char *  fmt,
  ... 
)

Definition at line 24164 of file duktape.c.

Referenced by duk_err_create_and_throw().

Here is the caller graph for this function:

◆ duk_push_error_object_stash()

DUK_EXTERNAL duk_idx_t duk_push_error_object_stash ( duk_hthread thr,
duk_errcode_t  err_code,
const char *  fmt,
  ... 
)

Definition at line 24177 of file duktape.c.

◆ duk_push_error_object_va_raw()

DUK_EXTERNAL duk_idx_t duk_push_error_object_va_raw ( duk_hthread thr,
duk_errcode_t  err_code,
const char *  filename,
duk_int_t  line,
const char *  fmt,
va_list  ap 
)

Definition at line 24105 of file duktape.c.

References DUK_ASSERT_API_ENTRY, DUK_ERROR_UNSUPPORTED, DUK_UNREF, and DUK_WO_NORETURN.

Referenced by duk_error_raw().

Here is the caller graph for this function:

◆ duk_push_false()

DUK_EXTERNAL void duk_push_false ( duk_hthread thr)

Definition at line 23024 of file duktape.c.

Referenced by duk_bi_array_prototype_iter_shared().

Here is the caller graph for this function:

◆ duk_push_fixed_buffer_nozero()

DUK_INTERNAL void * duk_push_fixed_buffer_nozero ( duk_hthread thr,
duk_size_t  len 
)

Definition at line 24223 of file duktape.c.

Referenced by duk__arraybuffer_plain_slice(), duk__concat_and_join_helper(), duk__dump_hstring_raw(), duk__load_func(), and duk_bi_typedarray_set().

Here is the caller graph for this function:

◆ duk_push_fixed_buffer_zero()

DUK_INTERNAL void * duk_push_fixed_buffer_zero ( duk_hthread thr,
duk_size_t  len 
)

Definition at line 24228 of file duktape.c.

◆ duk_push_global_object()

DUK_EXTERNAL void duk_push_global_object ( duk_hthread thr)

Definition at line 23357 of file duktape.c.

Referenced by dukky_register_event_listener_for(), js_fire_event(), js_newheap(), and js_newthread().

Here is the caller graph for this function:

◆ duk_push_global_stash()

DUK_EXTERNAL void duk_push_global_stash ( duk_hthread thr)

Definition at line 23387 of file duktape.c.

◆ duk_push_harray()

DUK_INTERNAL duk_harray * duk_push_harray ( duk_hthread thr)

Definition at line 23605 of file duktape.c.

Referenced by duk_push_harray_with_size_outptr().

Here is the caller graph for this function:

◆ duk_push_harray_with_size()

DUK_INTERNAL duk_harray * duk_push_harray_with_size ( duk_hthread thr,
duk_uint32_t  size 
)

Definition at line 23621 of file duktape.c.

◆ duk_push_harray_with_size_outptr()

DUK_INTERNAL duk_tval * duk_push_harray_with_size_outptr ( duk_hthread thr,
duk_uint32_t  size 
)

Definition at line 23633 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_hobject_realloc_props(), duk_push_harray(), and duk_harray::length.

Here is the call graph for this function:

◆ duk_push_hboundfunc()

DUK_INTERNAL duk_hboundfunc * duk_push_hboundfunc ( duk_hthread thr)

Definition at line 23732 of file duktape.c.

◆ duk_push_hbuffer()

DUK_INTERNAL void duk_push_hbuffer ( duk_hthread thr,
duk_hbuffer h 
)

Definition at line 24571 of file duktape.c.

◆ duk_push_hcompfunc()

DUK_INTERNAL duk_hcompfunc * duk_push_hcompfunc ( duk_hthread thr)

Definition at line 23697 of file duktape.c.

Referenced by duk__load_func().

Here is the caller graph for this function:

◆ duk_push_heap_stash()

DUK_EXTERNAL void duk_push_heap_stash ( duk_hthread thr)

Definition at line 23378 of file duktape.c.

◆ duk_push_heapptr()

DUK_EXTERNAL duk_idx_t duk_push_heapptr ( duk_hthread thr,
void *  ptr 
)

Definition at line 24438 of file duktape.c.

◆ duk_push_hobject()

DUK_INTERNAL void duk_push_hobject ( duk_hthread thr,
duk_hobject h 
)

Definition at line 24561 of file duktape.c.

References DUK_ASSERT_API_ENTRY, DUK_ASSERT_STRIDX_VALID, DUK_HTHREAD_GET_STRING, and duk_push_hstring().

Referenced by duk__load_func(), duk__pop_n_unsafe_raw(), duk__try_push_vsprintf(), duk_bi_global_object_eval(), duk_bi_object_constructor_get_own_property_descriptor(), duk_bi_thread_constructor(), duk_hobject_get_enumerated_keys(), and duk_hobject_putprop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_push_hobject_bidx()

DUK_INTERNAL void duk_push_hobject_bidx ( duk_hthread thr,
duk_small_int_t  builtin_idx 
)

Definition at line 24581 of file duktape.c.

Referenced by duk_bi_global_object_eval(), and duk_get_prop_desc().

Here is the caller graph for this function:

◆ duk_push_hstring()

DUK_INTERNAL void duk_push_hstring ( duk_hthread thr,
duk_hstring h 
)

Definition at line 24540 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_get_top_index_unsafe(), DUK_HOBJECT_CLASS_AS_FLAGS, DUK_HOBJECT_CLASS_OBJECT, DUK_HOBJECT_FLAG_EXTENSIBLE, DUK_HOBJECT_FLAG_FASTREFS, and duk_push_object_helper().

Referenced by duk__get_own_propdesc_raw(), duk__parse_var_decl(), duk_hobject_enumerator_create(), duk_hobject_realloc_props(), and duk_push_hobject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_push_hstring_empty()

DUK_INTERNAL void duk_push_hstring_empty ( duk_hthread thr)

Definition at line 24556 of file duktape.c.

Referenced by duk__concat_and_join_helper(), duk_bi_array_prototype_join_shared(), and duk_bi_string_prototype_char_code_at().

Here is the caller graph for this function:

◆ duk_push_hstring_stridx()

DUK_INTERNAL void duk_push_hstring_stridx ( duk_hthread thr,
duk_small_uint_t  stridx 
)

Definition at line 24550 of file duktape.c.

Referenced by duk__error_getter_helper(), duk_bi_array_prototype_join_shared(), duk_bi_global_object_eval(), and duk_get_prop_desc().

Here is the caller graph for this function:

◆ duk_push_int()

DUK_EXTERNAL void duk_push_int ( duk_hthread thr,
duk_int_t  val 
)

◆ duk_push_lightfunc_name()

DUK_INTERNAL void duk_push_lightfunc_name ( duk_hthread thr,
duk_tval tv 
)

Definition at line 25289 of file duktape.c.

◆ duk_push_lightfunc_name_raw()

DUK_INTERNAL void duk_push_lightfunc_name_raw ( duk_hthread thr,
duk_c_function  func,
duk_small_uint_t  lf_flags 
)

Definition at line 25268 of file duktape.c.

Referenced by duk_push_lightfunc_tostring().

Here is the caller graph for this function:

◆ duk_push_lightfunc_tostring()

DUK_INTERNAL void duk_push_lightfunc_tostring ( duk_hthread thr,
duk_tval tv 
)

Definition at line 25300 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_push_lightfunc_name_raw(), DUK_TVAL_GET_LIGHTFUNC, and DUK_TVAL_IS_LIGHTFUNC.

Here is the call graph for this function:

◆ duk_push_literal_raw()

DUK_EXTERNAL const char * duk_push_literal_raw ( duk_hthread thr,
const char *  str,
duk_size_t  len 
)

Definition at line 23164 of file duktape.c.

Referenced by duk_del_prop_index(), duk_get_prop_index(), duk_has_prop_index(), and duk_put_prop_index().

Here is the caller graph for this function:

◆ duk_push_lstring()

DUK_EXTERNAL const char * duk_push_lstring ( duk_hthread thr,
const char *  str,
duk_size_t  len 
)

◆ duk_push_nan()

DUK_EXTERNAL void duk_push_nan ( duk_hthread thr)

Definition at line 23105 of file duktape.c.

Referenced by duk__parse_string(), and duk_bi_date_constructor_now().

Here is the caller graph for this function:

◆ duk_push_new_target()

DUK_EXTERNAL void duk_push_new_target ( duk_hthread thr)

◆ duk_push_null()

DUK_EXTERNAL void duk_push_null ( duk_hthread thr)

Definition at line 22995 of file duktape.c.

References DUK__CHECK_SPACE, DUK_ASSERT_API_ENTRY, and duk_hthread::valstack_top.

Referenced by duk__init_varmap_and_prologue_for_pass2(), and js_newthread().

Here is the caller graph for this function:

◆ duk_push_number()

DUK_EXTERNAL void duk_push_number ( duk_hthread thr,
duk_double_t  val 
)

Definition at line 23034 of file duktape.c.

Referenced by duk__cbor_decode_skip_aival_int(), duk_bi_buffer_readfield(), and duk_bi_date_prototype_to_json().

Here is the caller graph for this function:

◆ duk_push_object()

DUK_EXTERNAL duk_idx_t duk_push_object ( duk_hthread thr)

Definition at line 23545 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF, and duk_push_object_helper().

Referenced by duk__load_func(), dukky_create_object(), dukky_event_target_push_listeners(), dukky_push_event(), dukky_push_node_stacked(), js_newheap(), and js_newthread().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_push_object_helper()

DUK_INTERNAL duk_hobject * duk_push_object_helper ( duk_hthread thr,
duk_uint_t  hobject_flags_and_class,
duk_small_int_t  prototype_bidx 
)

Definition at line 23501 of file duktape.c.

Referenced by duk_bi_pointer_constructor(), duk_push_hstring(), and duk_push_object().

Here is the caller graph for this function:

◆ duk_push_object_helper_proto()

DUK_INTERNAL duk_hobject * duk_push_object_helper_proto ( duk_hthread thr,
duk_uint_t  hobject_flags_and_class,
duk_hobject proto 
)

Definition at line 23534 of file duktape.c.

References duk_hthread::builtins, and DUK_HOBJECT_SET_PROTOTYPE_INIT_INCREF.

◆ duk_push_pointer()

DUK_EXTERNAL void duk_push_pointer ( duk_hthread thr,
void *  val 
)

Definition at line 23198 of file duktape.c.

Referenced by duk_bi_pointer_constructor(), duk_inspect_value(), dukky_push_event(), dukky_push_node(), js_event_cleanup(), and js_newthread().

Here is the caller graph for this function:

◆ duk_push_proxy()

DUK_EXTERNAL duk_idx_t duk_push_proxy ( duk_hthread thr,
duk_uint_t  proxy_flags 
)

Definition at line 24245 of file duktape.c.

◆ duk_push_sprintf()

DUK_EXTERNAL const char * duk_push_sprintf ( duk_hthread thr,
const char *  fmt,
  ... 
)

Definition at line 23487 of file duktape.c.

Referenced by duk__error_getter_helper().

Here is the caller graph for this function:

◆ duk_push_string()

DUK_EXTERNAL const char * duk_push_string ( duk_hthread thr,
const char *  str 
)

Definition at line 23151 of file duktape.c.

Referenced by dukky_create_object(), dukky_get_current_value_of_event_handler(), dukky_log_stack_frame(), dukky_populate_object(), dukky_push_node_klass(), js_exec(), and js_newthread().

Here is the caller graph for this function:

◆ duk_push_string_funcptr()

DUK_INTERNAL void duk_push_string_funcptr ( duk_hthread thr,
duk_uint8_t *  ptr,
duk_size_t  sz 
)

Definition at line 25321 of file duktape.c.

◆ duk_push_string_readable()

DUK_INTERNAL const char * duk_push_string_readable ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 25505 of file duktape.c.

◆ duk_push_string_tval_readable()

DUK_INTERNAL const char * duk_push_string_tval_readable ( duk_hthread thr,
duk_tval tv 
)

Definition at line 25500 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk_push_string_tval_readable_error()

DUK_INTERNAL const char * duk_push_string_tval_readable_error ( duk_hthread thr,
duk_tval tv 
)

Definition at line 25510 of file duktape.c.

◆ duk_push_symbol_descriptive_string()

DUK_INTERNAL void duk_push_symbol_descriptive_string ( duk_hthread thr,
duk_hstring h 
)

Definition at line 25515 of file duktape.c.

◆ duk_push_this()

DUK_EXTERNAL void duk_push_this ( duk_hthread thr)

Definition at line 23253 of file duktape.c.

Referenced by duk__error_getter_helper(), duk_bi_boolean_prototype_tostring_shared(), duk_bi_regexp_constructor(), duk_bi_regexp_prototype_flags(), and duk_bi_typedarray_set().

Here is the caller graph for this function:

◆ duk_push_this_check_object_coercible()

DUK_INTERNAL void duk_push_this_check_object_coercible ( duk_hthread thr)

Definition at line 23259 of file duktape.c.

◆ duk_push_this_coercible_to_object()

DUK_INTERNAL duk_hobject * duk_push_this_coercible_to_object ( duk_hthread thr)

Definition at line 23265 of file duktape.c.

References duk__push_this_helper(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_push_this_coercible_to_string()

DUK_INTERNAL duk_hstring * duk_push_this_coercible_to_string ( duk_hthread thr)

Definition at line 23276 of file duktape.c.

References duk__push_this_helper(), and DUK_ASSERT_API_ENTRY.

Referenced by duk_bi_string_prototype_indexof_shared(), and duk_bi_string_prototype_replace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_push_thread_raw()

DUK_EXTERNAL duk_idx_t duk_push_thread_raw ( duk_hthread thr,
duk_uint_t  flags 
)

Definition at line 23643 of file duktape.c.

◆ duk_push_thread_stash()

DUK_EXTERNAL void duk_push_thread_stash ( duk_hthread thr,
duk_hthread target_thr 
)

Definition at line 23393 of file duktape.c.

◆ duk_push_true()

DUK_EXTERNAL void duk_push_true ( duk_hthread thr)

Definition at line 23015 of file duktape.c.

References DUK__CHECK_SPACE, DUK_ASSERT_API_ENTRY, and duk_hthread::valstack_top.

Referenced by duk_bi_array_prototype_iter_shared(), duk_bi_object_prototype_defineaccessor(), and duk_hobject_enumerator_create().

Here is the caller graph for this function:

◆ duk_push_tval()

DUK_INTERNAL void duk_push_tval ( duk_hthread thr,
duk_tval tv 
)

Definition at line 22971 of file duktape.c.

Referenced by duk__declvar_helper(), duk__err_augment_user(), duk__get_own_propdesc_raw(), duk__load_func(), duk_bi_global_object_eval(), duk_bi_thread_resume(), duk_hobject_putprop(), duk_js_data_compare(), and duk_js_getvar_envrec().

Here is the caller graph for this function:

◆ duk_push_uint()

DUK_EXTERNAL void duk_push_uint ( duk_hthread thr,
duk_uint_t  val 
)

Definition at line 23075 of file duktape.c.

Referenced by duk__error_getter_helper(), duk__get_own_propdesc_raw(), duk__push_this_helper(), duk_bi_buffer_readfield(), duk_bi_string_prototype_replace(), and duk_inspect_value().

Here is the caller graph for this function:

◆ duk_push_uint_to_hstring()

DUK_INTERNAL duk_hstring * duk_push_uint_to_hstring ( duk_hthread thr,
duk_uint_t  i 
)

◆ duk_push_undefined()

DUK_EXTERNAL void duk_push_undefined ( duk_hthread thr)

Definition at line 22983 of file duktape.c.

References DUK__CHECK_SPACE, DUK_ASSERT, DUK_ASSERT_API_ENTRY, DUK_TVAL_INCREF, DUK_TVAL_SET_TVAL, and duk_hthread::valstack_top.

Referenced by duk__err_augment_user(), duk__get_own_propdesc_raw(), duk_bi_array_prototype_iter_shared(), duk_js_getvar_envrec(), and dukky_event_target_push_listeners().

Here is the caller graph for this function:

◆ duk_push_vsprintf()

DUK_EXTERNAL const char * duk_push_vsprintf ( duk_hthread thr,
const char *  fmt,
va_list  ap 
)

Definition at line 23421 of file duktape.c.

◆ duk_put_function_list()

DUK_EXTERNAL void duk_put_function_list ( duk_hthread thr,
duk_idx_t  obj_idx,
const duk_function_list_entry funcs 
)

Definition at line 18355 of file duktape.c.

◆ duk_put_global_heapptr()

DUK_EXTERNAL duk_bool_t duk_put_global_heapptr ( duk_hthread thr,
void *  ptr 
)

Definition at line 18499 of file duktape.c.

◆ duk_put_global_literal_raw()

DUK_EXTERNAL duk_bool_t duk_put_global_literal_raw ( duk_hthread thr,
const char *  key,
duk_size_t  key_len 
)

Definition at line 18482 of file duktape.c.

◆ duk_put_global_lstring()

DUK_EXTERNAL duk_bool_t duk_put_global_lstring ( duk_hthread thr,
const char *  key,
duk_size_t  key_len 
)

Definition at line 18466 of file duktape.c.

◆ duk_put_global_string()

DUK_EXTERNAL duk_bool_t duk_put_global_string ( duk_hthread thr,
const char *  key 
)

Definition at line 18451 of file duktape.c.

Referenced by js_newheap(), and js_newthread().

Here is the caller graph for this function:

◆ duk_put_number_list()

DUK_EXTERNAL void duk_put_number_list ( duk_hthread thr,
duk_idx_t  obj_idx,
const duk_number_list_entry numbers 
)

Definition at line 18370 of file duktape.c.

◆ duk_put_prop()

DUK_EXTERNAL duk_bool_t duk_put_prop ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 17831 of file duktape.c.

Referenced by duk__init_varmap_and_prologue_for_pass2(), duk__load_func(), duk_hobject_enumerator_create(), dukky_event_target_push_listeners(), dukky_push_event(), dukky_push_node_stacked(), dukky_register_event_listener_for(), and js_newthread().

Here is the caller graph for this function:

◆ duk_put_prop_heapptr()

DUK_EXTERNAL duk_bool_t duk_put_prop_heapptr ( duk_hthread thr,
duk_idx_t  obj_idx,
void *  ptr 
)

Definition at line 17878 of file duktape.c.

◆ duk_put_prop_index()

DUK_EXTERNAL duk_bool_t duk_put_prop_index ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uarridx_t  arr_idx 
)

Definition at line 17870 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_normalize_index(), and duk_push_literal_raw().

Referenced by duk__load_func(), duk__parse_var_decl(), duk_bi_array_prototype_splice(), duk_bi_typedarray_set(), dukky_generic_event_handler(), dukky_shuffle_array(), and js_newthread().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_put_prop_literal_raw()

DUK_EXTERNAL duk_bool_t duk_put_prop_literal_raw ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 17859 of file duktape.c.

◆ duk_put_prop_lstring()

DUK_EXTERNAL duk_bool_t duk_put_prop_lstring ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key,
duk_size_t  key_len 
)

Definition at line 17849 of file duktape.c.

◆ duk_put_prop_stridx()

DUK_INTERNAL duk_bool_t duk_put_prop_stridx ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx 
)

Definition at line 17886 of file duktape.c.

◆ duk_put_prop_stridx_short_raw()

DUK_INTERNAL duk_bool_t duk_put_prop_stridx_short_raw ( duk_hthread thr,
duk_uint_t  packed_args 
)

Definition at line 17895 of file duktape.c.

◆ duk_put_prop_string()

DUK_EXTERNAL duk_bool_t duk_put_prop_string ( duk_hthread thr,
duk_idx_t  obj_idx,
const char *  key 
)

Definition at line 17836 of file duktape.c.

Referenced by dukky_create_object(), dukky_event_target_push_listeners(), dukky_inject_not_ctr(), dukky_push_node_stacked(), js_newheap(), and js_newthread().

Here is the caller graph for this function:

◆ duk_random()

DUK_EXTERNAL duk_double_t duk_random ( duk_hthread thr)

Definition at line 18682 of file duktape.c.

◆ duk_range_error_stash()

DUK_EXTERNAL duk_ret_t duk_range_error_stash ( duk_hthread thr,
const char *  fmt,
  ... 
)

Definition at line 25168 of file duktape.c.

References DUK__ERROR_STASH_SHARED, and DUK_ASSERT_API_ENTRY.

◆ duk_raw_read_double_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_double_t duk_raw_read_double_be ( const duk_uint8_t *  p)

Definition at line 13920 of file duktape.c.

Referenced by duk_raw_write_u32_be().

Here is the caller graph for this function:

◆ duk_raw_read_float_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_float_t duk_raw_read_float_be ( const duk_uint8_t *  p)

Definition at line 13913 of file duktape.c.

Referenced by duk_raw_write_u16_be().

Here is the caller graph for this function:

◆ duk_raw_read_u16_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_uint16_t duk_raw_read_u16_be ( const duk_uint8_t *  p)

Definition at line 13899 of file duktape.c.

Referenced by duk_raw_readinc_float_be().

Here is the caller graph for this function:

◆ duk_raw_read_u32_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_uint32_t duk_raw_read_u32_be ( const duk_uint8_t *  p)

Definition at line 13906 of file duktape.c.

Referenced by duk_raw_readinc_double_be().

Here is the caller graph for this function:

◆ duk_raw_readinc_double_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_double_t duk_raw_readinc_double_be ( const duk_uint8_t **  p)

Definition at line 13945 of file duktape.c.

References duk_raw_read_u32_be().

Here is the call graph for this function:

◆ duk_raw_readinc_float_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_float_t duk_raw_readinc_float_be ( const duk_uint8_t **  p)

Definition at line 13939 of file duktape.c.

References duk_raw_read_u16_be().

Here is the call graph for this function:

◆ duk_raw_readinc_u16_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_uint16_t duk_raw_readinc_u16_be ( const duk_uint8_t **  p)

Definition at line 13927 of file duktape.c.

◆ duk_raw_readinc_u32_be()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_uint32_t duk_raw_readinc_u32_be ( const duk_uint8_t **  p)

Definition at line 13933 of file duktape.c.

◆ duk_raw_write_cesu8()

DUK_INTERNAL duk_small_int_t duk_raw_write_cesu8 ( duk_uint8_t *  p,
duk_ucodepoint_t  val 
)

Definition at line 13982 of file duktape.c.

References duk_double_union::d, duk_dblunion_host_to_big(), duk_memcpy, and duk_double_union::uc.

Here is the call graph for this function:

◆ duk_raw_write_double_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_write_double_be ( duk_uint8_t *  p,
duk_double_t  val 
)

Definition at line 13970 of file duktape.c.

◆ duk_raw_write_float_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_write_float_be ( duk_uint8_t *  p,
duk_float_t  val 
)

Definition at line 13963 of file duktape.c.

References duk__u16_union::b, duk_memcpy, and duk__u16_union::x.

◆ duk_raw_write_u16_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_write_u16_be ( duk_uint8_t *  p,
duk_uint16_t  val 
)

Definition at line 13951 of file duktape.c.

References duk_raw_read_float_be().

Here is the call graph for this function:

◆ duk_raw_write_u32_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_write_u32_be ( duk_uint8_t *  p,
duk_uint32_t  val 
)

Definition at line 13957 of file duktape.c.

References duk_raw_read_double_be().

Here is the call graph for this function:

◆ duk_raw_write_xutf8()

DUK_INTERNAL duk_small_int_t duk_raw_write_xutf8 ( duk_uint8_t *  p,
duk_ucodepoint_t  val 
)

Definition at line 13977 of file duktape.c.

◆ duk_raw_writeinc_cesu8()

DUK_INTERNAL void duk_raw_writeinc_cesu8 ( duk_uint8_t **  p,
duk_ucodepoint_t  val 
)

Definition at line 14012 of file duktape.c.

◆ duk_raw_writeinc_double_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_writeinc_double_be ( duk_uint8_t **  p,
duk_double_t  val 
)

Definition at line 14002 of file duktape.c.

◆ duk_raw_writeinc_float_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_writeinc_float_be ( duk_uint8_t **  p,
duk_float_t  val 
)

Definition at line 13997 of file duktape.c.

◆ duk_raw_writeinc_u16_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_writeinc_u16_be ( duk_uint8_t **  p,
duk_uint16_t  val 
)

Definition at line 13987 of file duktape.c.

◆ duk_raw_writeinc_u32_be()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_raw_writeinc_u32_be ( duk_uint8_t **  p,
duk_uint32_t  val 
)

Definition at line 13992 of file duktape.c.

◆ duk_raw_writeinc_xutf8()

DUK_INTERNAL void duk_raw_writeinc_xutf8 ( duk_uint8_t **  p,
duk_ucodepoint_t  val 
)

Definition at line 14007 of file duktape.c.

◆ duk_realloc()

DUK_EXTERNAL void * duk_realloc ( duk_hthread thr,
void *  ptr,
duk_size_t  size 
)

Definition at line 17594 of file duktape.c.

References DUK_ALLOC, DUK_ASSERT_API_ENTRY, and duk_hthread::heap.

◆ duk_realloc_raw()

DUK_EXTERNAL void * duk_realloc_raw ( duk_hthread thr,
void *  ptr,
duk_size_t  size 
)

Definition at line 17576 of file duktape.c.

References DUK_ALLOC_RAW, DUK_ASSERT_API_ENTRY, and duk_hthread::heap.

◆ duk_reference_error_stash()

DUK_EXTERNAL duk_ret_t duk_reference_error_stash ( duk_hthread thr,
const char *  fmt,
  ... 
)

Definition at line 25172 of file duktape.c.

References DUK__ERROR_STASH_SHARED, DUK_ASSERT_API_ENTRY, and DUK_ERR_ERROR.

◆ duk_refzero_check_fast()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_refzero_check_fast ( duk_hthread thr)

Definition at line 54597 of file duktape.c.

◆ duk_refzero_check_slow()

DUK_INTERNAL void duk_refzero_check_slow ( duk_hthread thr)

Definition at line 54607 of file duktape.c.

References DUK_ASSERT, duk_heap_process_finalize_list(), DUK_UNLIKELY, duk_heap::finalize_list, duk_hthread::heap, and duk_heap::refzero_list.

Here is the call graph for this function:

◆ duk_regexp_compile()

DUK_INTERNAL void duk_regexp_compile ( duk_hthread thr)

Definition at line 91641 of file duktape.c.

References DUK_ASC_BACKSLASH, and DUK_BW_ENSURE_RAW.

◆ duk_regexp_create_instance()

DUK_INTERNAL void duk_regexp_create_instance ( duk_hthread thr)

Definition at line 91762 of file duktape.c.

◆ duk_regexp_match()

DUK_INTERNAL void duk_regexp_match ( duk_hthread thr)

Definition at line 92843 of file duktape.c.

Referenced by duk_bi_regexp_prototype_test(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_regexp_match_force_global()

DUK_INTERNAL void duk_regexp_match_force_global ( duk_hthread thr)

Definition at line 92850 of file duktape.c.

◆ duk_remove()

DUK_EXTERNAL void duk_remove ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19974 of file duktape.c.

Referenced by duk_hobject_get_enumerated_keys(), duk_remove_n(), dukky_populate_object(), and dukky_push_generics().

Here is the caller graph for this function:

◆ duk_remove_m2()

DUK_INTERNAL void duk_remove_m2 ( duk_hthread thr)

Definition at line 20019 of file duktape.c.

Referenced by duk_hobject_get_enumerated_keys().

Here is the caller graph for this function:

◆ duk_remove_n()

DUK_INTERNAL void duk_remove_n ( duk_hthread thr,
duk_idx_t  idx,
duk_idx_t  count 
)

Definition at line 20025 of file duktape.c.

References DUK_ASSERT_API_ENTRY, and duk_remove().

Here is the call graph for this function:

◆ duk_remove_n_unsafe()

DUK_INTERNAL void duk_remove_n_unsafe ( duk_hthread thr,
duk_idx_t  idx,
duk_idx_t  count 
)

Definition at line 20070 of file duktape.c.

References DUK_TVAL_SET_UNDEFINED.

◆ duk_remove_unsafe()

DUK_INTERNAL void duk_remove_unsafe ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20013 of file duktape.c.

◆ duk_repl_fpclassify()

DUK_INTERNAL int duk_repl_fpclassify ( double  x)

◆ duk_repl_isfinite()

DUK_INTERNAL int duk_repl_isfinite ( double  x)

Definition at line 11478 of file duktape.c.

◆ duk_repl_isinf()

DUK_INTERNAL int duk_repl_isinf ( double  x)

Definition at line 11496 of file duktape.c.

◆ duk_repl_isnan()

DUK_INTERNAL int duk_repl_isnan ( double  x)

Definition at line 11489 of file duktape.c.

References DUK_FP_INFINITE, DUK_FP_NAN, and DUK_FPCLASSIFY.

◆ duk_repl_signbit()

DUK_INTERNAL int duk_repl_signbit ( double  x)

Definition at line 11470 of file duktape.c.

◆ duk_replace()

DUK_EXTERNAL void duk_replace ( duk_hthread thr,
duk_idx_t  to_idx 
)

Definition at line 19937 of file duktape.c.

Referenced by duk__concat_and_join_helper(), duk__error_getter_helper(), duk__safe_to_stacktrace_raw(), duk_hobject_define_property_helper(), duk_lexer_parse_js_input_element(), duk_lexer_setpoint(), and dukky_push_event().

Here is the caller graph for this function:

◆ duk_require_boolean()

DUK_EXTERNAL duk_bool_t duk_require_boolean ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20243 of file duktape.c.

References duk__get_boolean_raw(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_require_buffer()

DUK_EXTERNAL void * duk_require_buffer ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size 
)

Definition at line 20703 of file duktape.c.

Referenced by duk_get_buffer_default().

Here is the caller graph for this function:

◆ duk_require_buffer_data()

DUK_EXTERNAL void * duk_require_buffer_data ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size 
)

Definition at line 20807 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_check_type_mask(), duk_require_buffer_data(), DUK_TYPE_MASK_NONE, and DUK_TYPE_MASK_UNDEFINED.

Referenced by duk_require_buffer_data().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_require_c_function()

DUK_EXTERNAL duk_c_function duk_require_c_function ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21034 of file duktape.c.

◆ duk_require_constructable()

DUK_EXTERNAL void duk_require_constructable ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21055 of file duktape.c.

◆ duk_require_constructor_call()

DUK_EXTERNAL void duk_require_constructor_call ( duk_hthread thr)

◆ duk_require_context()

DUK_EXTERNAL duk_hthread * duk_require_context ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21074 of file duktape.c.

Referenced by js_newthread().

Here is the caller graph for this function:

◆ duk_require_function()

DUK_EXTERNAL void duk_require_function ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21047 of file duktape.c.

◆ duk_require_hbuffer()

DUK_INTERNAL duk_hbuffer * duk_require_hbuffer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20900 of file duktape.c.

References DUK_ERROR_REQUIRE_TYPE_INDEX, DUK_STR_NOT_OBJECT, and DUK_WO_NORETURN.

◆ duk_require_hcompfunc()

DUK_INTERNAL duk_hcompfunc * duk_require_hcompfunc ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20950 of file duktape.c.

References duk__get_tagged_heaphdr_raw(), DUK_ASSERT_API_ENTRY, DUK_HOBJECT_IS_COMPFUNC, DUK_TAG_OBJECT, and DUK_UNLIKELY.

Here is the call graph for this function:

◆ duk_require_heapptr()

DUK_EXTERNAL void * duk_require_heapptr ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21141 of file duktape.c.

◆ duk_require_hnatfunc()

DUK_INTERNAL duk_hnatfunc * duk_require_hnatfunc ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20975 of file duktape.c.

References duk__get_tagged_heaphdr_raw(), DUK_ASSERT_API_ENTRY, DUK_HOBJECT_IS_NATFUNC, DUK_TAG_OBJECT, and DUK_UNLIKELY.

Here is the call graph for this function:

◆ duk_require_hobject()

DUK_INTERNAL duk_hobject * duk_require_hobject ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20882 of file duktape.c.

References DUK_ERROR_REQUIRE_TYPE_INDEX, DUK_STR_NOT_STRING, and DUK_WO_NORETURN.

Referenced by duk_bi_reflect_object_delete_property(), duk_bi_thread_resume(), duk_bi_typedarray_set(), and duk_xdef_prop_stridx().

Here is the caller graph for this function:

◆ duk_require_hobject_accept_mask()

DUK_INTERNAL duk_hobject * duk_require_hobject_accept_mask ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  type_mask 
)

Definition at line 21213 of file duktape.c.

◆ duk_require_hobject_promote_mask()

DUK_INTERNAL duk_hobject * duk_require_hobject_promote_mask ( duk_hthread thr,
duk_idx_t  idx,
duk_uint_t  type_mask 
)

Definition at line 21205 of file duktape.c.

References duk__get_hobject_promote_mask_raw(), DUK_ASSERT_API_ENTRY, and DUK_TYPE_MASK_PROMOTE.

Here is the call graph for this function:

◆ duk_require_hobject_with_class()

DUK_INTERNAL duk_hobject * duk_require_hobject_with_class ( duk_hthread thr,
duk_idx_t  idx,
duk_small_uint_t  classnum 
)

Definition at line 21232 of file duktape.c.

Referenced by duk_bi_regexp_constructor().

Here is the caller graph for this function:

◆ duk_require_hstring()

DUK_INTERNAL duk_hstring * duk_require_hstring ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20851 of file duktape.c.

References duk__get_tagged_heaphdr_raw(), DUK_ASSERT_API_ENTRY, DUK_HSTRING_HAS_SYMBOL, DUK_TAG_STRING, and DUK_UNLIKELY.

Referenced by duk__concat_and_join_helper(), and duk_hobject_define_property_helper().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_require_hstring_notsymbol()

DUK_INTERNAL duk_hstring * duk_require_hstring_notsymbol ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20864 of file duktape.c.

◆ duk_require_hthread()

DUK_INTERNAL duk_hthread * duk_require_hthread ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20925 of file duktape.c.

References duk__get_tagged_heaphdr_raw(), DUK_ASSERT_API_ENTRY, DUK_HOBJECT_IS_THREAD, DUK_TAG_OBJECT, and DUK_UNLIKELY.

Referenced by duk_bi_thread_resume().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_require_int()

DUK_EXTERNAL duk_int_t duk_require_int ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20365 of file duktape.c.

References duk__api_coerce_d2i(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_require_lstring()

DUK_EXTERNAL const char * duk_require_lstring ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len 
)

Definition at line 20417 of file duktape.c.

◆ duk_require_lstring_notsymbol()

DUK_INTERNAL const char * duk_require_lstring_notsymbol ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len 
)

Definition at line 20430 of file duktape.c.

◆ duk_require_normalize_index()

DUK_EXTERNAL duk_idx_t duk_require_normalize_index ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18945 of file duktape.c.

Referenced by duk_del_prop_index(), duk_get_prop_desc(), duk_get_prop_index(), and duk_has_prop_index().

Here is the caller graph for this function:

◆ duk_require_null()

DUK_EXTERNAL void duk_require_null ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20199 of file duktape.c.

◆ duk_require_number()

DUK_EXTERNAL duk_double_t duk_require_number ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20308 of file duktape.c.

◆ duk_require_object()

DUK_EXTERNAL void duk_require_object ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20549 of file duktape.c.

◆ duk_require_pointer()

DUK_EXTERNAL void * duk_require_pointer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20597 of file duktape.c.

◆ duk_require_stack()

DUK_EXTERNAL void duk_require_stack ( duk_hthread thr,
duk_idx_t  extra 
)

Definition at line 19680 of file duktape.c.

Referenced by duk__error_getter_helper(), duk__handle_call_raw(), duk__load_func(), duk__parse_func_body(), duk_bi_array_prototype_join_shared(), duk_bi_string_prototype_replace(), and duk_err_create_and_throw().

Here is the caller graph for this function:

◆ duk_require_stack_top()

DUK_EXTERNAL void duk_require_stack_top ( duk_hthread thr,
duk_idx_t  top 
)

Definition at line 19726 of file duktape.c.

◆ duk_require_string()

DUK_EXTERNAL const char * duk_require_string ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20533 of file duktape.c.

◆ duk_require_string_notsymbol()

DUK_INTERNAL const char * duk_require_string_notsymbol ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20539 of file duktape.c.

◆ duk_require_top_index()

DUK_EXTERNAL duk_idx_t duk_require_top_index ( duk_hthread thr)

◆ duk_require_tval()

DUK_INTERNAL duk_tval * duk_require_tval ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19020 of file duktape.c.

References duk__const_tval_unused, DUK_ASSERT_API_ENTRY, duk_get_tval(), and DUK_LOSE_CONST.

Referenced by duk__to_primitive_helper(), duk_hobject_define_property_helper(), and duk_hobject_putprop().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_require_uint()

DUK_EXTERNAL duk_uint_t duk_require_uint ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20371 of file duktape.c.

References duk__api_coerce_d2ui(), and DUK_ASSERT_API_ENTRY.

Here is the call graph for this function:

◆ duk_require_undefined()

DUK_EXTERNAL void duk_require_undefined ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 20186 of file duktape.c.

◆ duk_require_valid_index()

DUK_EXTERNAL void duk_require_valid_index ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19058 of file duktape.c.

◆ duk_reserve_gap()

DUK_INTERNAL duk_tval * duk_reserve_gap ( duk_hthread thr,
duk_idx_t  idx_base,
duk_idx_t  count 
)

Definition at line 20156 of file duktape.c.

◆ duk_resize_buffer()

DUK_EXTERNAL void * duk_resize_buffer ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t  new_size 
)

Definition at line 14348 of file duktape.c.

References DUK_ANSI_FREE, DUK_DDD, DUK_DDDPRINT, and DUK_UNREF.

◆ duk_resolve_nonbound_function()

DUK_INTERNAL void duk_resolve_nonbound_function ( duk_hthread thr)

Definition at line 15680 of file duktape.c.

Referenced by duk_bi_thread_resume().

Here is the caller graph for this function:

◆ duk_resume()

DUK_EXTERNAL void duk_resume ( duk_hthread thr,
const duk_thread_state state 
)

Definition at line 17203 of file duktape.c.

◆ duk_safe_call()

DUK_EXTERNAL duk_int_t duk_safe_call ( duk_hthread thr,
duk_safe_call_function  func,
void *  udata,
duk_idx_t  nargs,
duk_idx_t  nrets 
)

Definition at line 15481 of file duktape.c.

References DUK_ERROR_TYPE_INVALID_ARGS, DUK_EXEC_ERROR, and DUK_WO_NORETURN.

Referenced by dukky_create_object(), dukky_log_stack_frame(), and dukky_push_node_stacked().

Here is the caller graph for this function:

◆ duk_safe_to_lstring()

DUK_EXTERNAL const char * duk_safe_to_lstring ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len 
)

Definition at line 21781 of file duktape.c.

◆ duk_safe_to_stacktrace()

DUK_EXTERNAL const char * duk_safe_to_stacktrace ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21844 of file duktape.c.

Referenced by dukky_dump_error().

Here is the caller graph for this function:

◆ duk_samevalue()

DUK_EXTERNAL duk_bool_t duk_samevalue ( duk_hthread thr,
duk_idx_t  idx1,
duk_idx_t  idx2 
)

Definition at line 25226 of file duktape.c.

◆ duk_seal()

DUK_EXTERNAL void duk_seal ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 18339 of file duktape.c.

◆ duk_seal_freeze_raw()

DUK_INTERNAL void duk_seal_freeze_raw ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_bool_t  is_freeze 
)

Definition at line 18284 of file duktape.c.

Referenced by duk_bi_object_constructor_is_sealed_frozen_shared().

Here is the caller graph for this function:

◆ duk_set_finalizer()

DUK_EXTERNAL void duk_set_finalizer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18628 of file duktape.c.

References DUK_ASSERT_API_ENTRY, duk_get_prop_stridx(), and DUK_STRIDX_INT_FINALIZER.

Here is the call graph for this function:

◆ duk_set_global_object()

DUK_EXTERNAL void duk_set_global_object ( duk_hthread thr)

Definition at line 17230 of file duktape.c.

Referenced by js_newthread().

Here is the caller graph for this function:

◆ duk_set_length()

DUK_EXTERNAL void duk_set_length ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t  len 
)

Definition at line 21383 of file duktape.c.

References duk__known_heaphdr(), DUK_ASSERT, DUK_ASSERT_API_ENTRY, and duk_get_hcompfunc().

Referenced by duk__nud_array_literal().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_set_magic()

DUK_EXTERNAL void duk_set_magic ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  magic 
)

Definition at line 15663 of file duktape.c.

◆ duk_set_prototype()

DUK_EXTERNAL void duk_set_prototype ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 18553 of file duktape.c.

Referenced by dukky_populate_object().

Here is the caller graph for this function:

◆ duk_set_top()

DUK_EXTERNAL void duk_set_top ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19098 of file duktape.c.

References DUK_ERROR_TYPE_INVALID_ARGS, and DUK_WO_NORETURN.

Referenced by duk__load_func(), duk_bi_array_prototype_join_shared(), duk_bi_array_prototype_splice(), duk_bi_pointer_constructor(), duk_hthread_terminate(), dukky_push_node_stacked(), js_closethread(), and js_exec().

Here is the caller graph for this function:

◆ duk_set_top_and_wipe()

DUK_INTERNAL void duk_set_top_and_wipe ( duk_hthread thr,
duk_idx_t  top,
duk_idx_t  idx_wipe_start 
)

Definition at line 19269 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk_set_top_unsafe()

DUK_INTERNAL void duk_set_top_unsafe ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19201 of file duktape.c.

Referenced by duk__handle_call_raw(), and duk_get_top_index().

Here is the caller graph for this function:

◆ duk_steal_buffer()

DUK_EXTERNAL void * duk_steal_buffer ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size 
)

Definition at line 14367 of file duktape.c.

References DUK_ERROR_TYPE, DUK_STR_WRONG_BUFFER_TYPE, and DUK_WO_NORETURN.

◆ duk_strict_equals()

DUK_EXTERNAL duk_bool_t duk_strict_equals ( duk_hthread thr,
duk_idx_t  idx1,
duk_idx_t  idx2 
)

Definition at line 25211 of file duktape.c.

◆ duk_substring()

DUK_EXTERNAL void duk_substring ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t  start_offset,
duk_size_t  end_offset 
)

Definition at line 25825 of file duktape.c.

Referenced by duk__get_own_propdesc_raw().

Here is the caller graph for this function:

◆ duk_suspend()

DUK_EXTERNAL void duk_suspend ( duk_hthread thr,
duk_thread_state state 
)

Definition at line 17158 of file duktape.c.

◆ duk_swap()

DUK_EXTERNAL void duk_swap ( duk_hthread thr,
duk_idx_t  idx1,
duk_idx_t  idx2 
)

Definition at line 19753 of file duktape.c.

◆ duk_swap_top()

DUK_EXTERNAL void duk_swap_top ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 19771 of file duktape.c.

◆ duk_syntax_error_stash()

DUK_EXTERNAL duk_ret_t duk_syntax_error_stash ( duk_hthread thr,
const char *  fmt,
  ... 
)

Definition at line 25176 of file duktape.c.

References DUK__ERROR_STASH_SHARED, DUK_ASSERT_API_ENTRY, and DUK_ERR_EVAL_ERROR.

◆ duk_textdecoder_decode_utf8_nodejs()

DUK_INTERNAL duk_ret_t duk_textdecoder_decode_utf8_nodejs ( duk_hthread thr)

Definition at line 35772 of file duktape.c.

◆ duk_throw_raw()

DUK_EXTERNAL void duk_throw_raw ( duk_hthread thr)

◆ duk_time_get_ecmascript_time()

DUK_INTERNAL duk_double_t duk_time_get_ecmascript_time ( duk_hthread thr)

Definition at line 25978 of file duktape.c.

◆ duk_time_get_ecmascript_time_nofrac()

DUK_INTERNAL duk_double_t duk_time_get_ecmascript_time_nofrac ( duk_hthread thr)

Definition at line 25986 of file duktape.c.

◆ duk_time_get_monotonic_time()

DUK_INTERNAL duk_double_t duk_time_get_monotonic_time ( duk_hthread thr)

Definition at line 25994 of file duktape.c.

◆ duk_time_to_components()

DUK_EXTERNAL void duk_time_to_components ( duk_hthread thr,
duk_double_t  timeval,
duk_time_components comp 
)

Definition at line 26020 of file duktape.c.

◆ duk_to_boolean()

DUK_EXTERNAL duk_bool_t duk_to_boolean ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21531 of file duktape.c.

References duk__to_primitive_helper().

Referenced by duk_bi_array_prototype_iter_shared(), duk_bi_buffer_readfield(), and dukky_generic_event_handler().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_to_boolean_top_pop()

DUK_INTERNAL duk_bool_t duk_to_boolean_top_pop ( duk_hthread thr)

Definition at line 21550 of file duktape.c.

Referenced by duk_bi_thread_resume(), duk_bi_thread_yield(), and duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk_to_buffer_raw()

DUK_EXTERNAL void * duk_to_buffer_raw ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_size,
duk_uint_t  mode 
)

Definition at line 22209 of file duktape.c.

◆ duk_to_hobject()

DUK_INTERNAL duk_hobject * duk_to_hobject ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22464 of file duktape.c.

◆ duk_to_hstring()

DUK_INTERNAL duk_hstring * duk_to_hstring ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22157 of file duktape.c.

Referenced by duk__concat_and_join_helper(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_to_hstring_acceptsymbol()

DUK_INTERNAL duk_hstring * duk_to_hstring_acceptsymbol ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22173 of file duktape.c.

◆ duk_to_hstring_m1()

DUK_INTERNAL duk_hstring * duk_to_hstring_m1 ( duk_hthread thr)

Definition at line 22168 of file duktape.c.

References DUK_ASSERT_API_ENTRY.

Referenced by duk__push_this_helper(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_to_int()

DUK_EXTERNAL duk_int_t duk_to_int ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21660 of file duktape.c.

Referenced by duk__init_varmap_and_prologue_for_pass2(), duk_bi_buffer_readfield(), duk_bi_typedarray_set(), and dukky_generic_event_handler().

Here is the caller graph for this function:

◆ duk_to_int32()

DUK_EXTERNAL duk_int32_t duk_to_int32 ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21678 of file duktape.c.

◆ duk_to_int_check_range()

DUK_INTERNAL duk_int_t duk_to_int_check_range ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  minval,
duk_int_t  maxval 
)

Definition at line 22054 of file duktape.c.

◆ duk_to_int_clamped()

DUK_INTERNAL duk_int_t duk_to_int_clamped ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  minval,
duk_int_t  maxval 
)

Definition at line 22046 of file duktape.c.

Referenced by duk_bi_array_prototype_splice().

Here is the caller graph for this function:

◆ duk_to_int_clamped_raw()

DUK_INTERNAL duk_int_t duk_to_int_clamped_raw ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  minval,
duk_int_t  maxval,
duk_bool_t out_clamped 
)

Definition at line 21983 of file duktape.c.

◆ duk_to_lstring()

DUK_EXTERNAL const char * duk_to_lstring ( duk_hthread thr,
duk_idx_t  idx,
duk_size_t out_len 
)

Definition at line 21765 of file duktape.c.

Referenced by duk__prep_codec_arg(), and duk_bi_symbol_constructor_shared().

Here is the caller graph for this function:

◆ duk_to_null()

DUK_EXTERNAL void duk_to_null ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21428 of file duktape.c.

◆ duk_to_number()

DUK_EXTERNAL duk_double_t duk_to_number ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21566 of file duktape.c.

Referenced by duk__math_minmax(), duk_bi_global_object_decode_uri(), and duk_bi_global_object_is_finite().

Here is the caller graph for this function:

◆ duk_to_number_m1()

DUK_INTERNAL duk_double_t duk_to_number_m1 ( duk_hthread thr)

Definition at line 21586 of file duktape.c.

Referenced by duk__error_getter_helper(), duk_hobject_putprop(), and duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk_to_number_m2()

DUK_INTERNAL duk_double_t duk_to_number_m2 ( duk_hthread thr)

Definition at line 21590 of file duktape.c.

◆ duk_to_number_tval()

DUK_INTERNAL duk_double_t duk_to_number_tval ( duk_hthread thr,
duk_tval tv 
)

Definition at line 21595 of file duktape.c.

◆ duk_to_object()

DUK_EXTERNAL void duk_to_object ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22345 of file duktape.c.

Referenced by duk_bi_array_prototype_join_shared(), and duk_bi_object_constructor_is_extensible().

Here is the caller graph for this function:

◆ duk_to_pointer()

DUK_EXTERNAL void * duk_to_pointer ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22263 of file duktape.c.

Referenced by duk_bi_pointer_constructor().

Here is the caller graph for this function:

◆ duk_to_primitive()

DUK_EXTERNAL void duk_to_primitive ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  hint 
)

Definition at line 21520 of file duktape.c.

Referenced by duk_js_data_compare().

Here is the caller graph for this function:

◆ duk_to_primitive_ordinary()

DUK_INTERNAL void duk_to_primitive_ordinary ( duk_hthread thr,
duk_idx_t  idx,
duk_int_t  hint 
)

Definition at line 21525 of file duktape.c.

◆ duk_to_property_key_hstring()

DUK_INTERNAL duk_hstring * duk_to_property_key_hstring ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21868 of file duktape.c.

◆ duk_to_stacktrace()

DUK_EXTERNAL const char * duk_to_stacktrace ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21814 of file duktape.c.

◆ duk_to_string()

DUK_EXTERNAL const char * duk_to_string ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 22059 of file duktape.c.

Referenced by duk_bi_array_prototype_join_shared(), and duk_bi_string_prototype_replace().

Here is the caller graph for this function:

◆ duk_to_uint()

DUK_EXTERNAL duk_uint_t duk_to_uint ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21669 of file duktape.c.

◆ duk_to_uint16()

DUK_EXTERNAL duk_uint16_t duk_to_uint16 ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21710 of file duktape.c.

◆ duk_to_uint32()

DUK_EXTERNAL duk_uint32_t duk_to_uint32 ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21694 of file duktape.c.

Referenced by duk_hobject_putprop().

Here is the caller graph for this function:

◆ duk_to_uint8clamped()

DUK_INTERNAL duk_uint8_t duk_to_uint8clamped ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21728 of file duktape.c.

◆ duk_to_undefined()

DUK_EXTERNAL void duk_to_undefined ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 21418 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk_trim()

DUK_EXTERNAL void duk_trim ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 25873 of file duktape.c.

◆ duk_tval_get_number_unpacked_fastint()

DUK_INTERNAL DUK_ALWAYS_INLINE duk_double_t duk_tval_get_number_unpacked_fastint ( duk_tval tv)

Definition at line 93728 of file duktape.c.

◆ duk_tval_set_number_chkfast_fast()

DUK_INTERNAL DUK_ALWAYS_INLINE void duk_tval_set_number_chkfast_fast ( duk_tval tv,
duk_double_t  x 
)

Definition at line 93626 of file duktape.c.

◆ duk_tval_set_number_chkfast_slow()

DUK_INTERNAL DUK_NOINLINE void duk_tval_set_number_chkfast_slow ( duk_tval tv,
duk_double_t  x 
)

Definition at line 93669 of file duktape.c.

References DUK_I64_CONSTANT, and DUK_TVAL_SET_FASTINT.

◆ duk_type_error_stash()

DUK_EXTERNAL duk_ret_t duk_type_error_stash ( duk_hthread thr,
const char *  fmt,
  ... 
)

Definition at line 25180 of file duktape.c.

References DUK__ERROR_STASH_SHARED, DUK_ASSERT_API_ENTRY, and DUK_ERR_RANGE_ERROR.

◆ duk_unicode_case_convert_string()

DUK_INTERNAL void duk_unicode_case_convert_string ( duk_hthread thr,
duk_bool_t  uppercase 
)

Definition at line 13719 of file duktape.c.

Referenced by duk_bi_string_prototype_indexof_shared().

Here is the caller graph for this function:

◆ duk_unicode_decode_xutf8()

DUK_INTERNAL duk_small_int_t duk_unicode_decode_xutf8 ( duk_hthread thr,
const duk_uint8_t **  ptr,
const duk_uint8_t *  ptr_start,
const duk_uint8_t *  ptr_end,
duk_ucodepoint_t out_cp 
)

Definition at line 12823 of file duktape.c.

Referenced by duk__push_hstring_readable_unicode().

Here is the caller graph for this function:

◆ duk_unicode_decode_xutf8_checked()

DUK_INTERNAL duk_ucodepoint_t duk_unicode_decode_xutf8_checked ( duk_hthread thr,
const duk_uint8_t **  ptr,
const duk_uint8_t *  ptr_start,
const duk_uint8_t *  ptr_end 
)

Definition at line 12920 of file duktape.c.

Referenced by duk__match_regexp(), duk__transform_callback_encode_uri(), and duk__utf8_backtrack().

Here is the caller graph for this function:

◆ duk_unicode_encode_cesu8()

DUK_INTERNAL duk_small_int_t duk_unicode_encode_cesu8 ( duk_ucodepoint_t  cp,
duk_uint8_t *  out 
)

Definition at line 12763 of file duktape.c.

◆ duk_unicode_encode_xutf8()

DUK_INTERNAL duk_small_int_t duk_unicode_encode_xutf8 ( duk_ucodepoint_t  cp,
duk_uint8_t *  out 
)

Definition at line 12729 of file duktape.c.

Referenced by duk__push_hstring_readable_unicode().

Here is the caller graph for this function:

◆ duk_unicode_get_xutf8_length()

DUK_INTERNAL duk_small_int_t duk_unicode_get_xutf8_length ( duk_ucodepoint_t  cp)

Definition at line 12675 of file duktape.c.

◆ duk_unicode_is_identifier_part()

DUK_INTERNAL duk_small_int_t duk_unicode_is_identifier_part ( duk_codepoint_t  cp)

Definition at line 13368 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk_unicode_is_identifier_start()

DUK_INTERNAL duk_small_int_t duk_unicode_is_identifier_start ( duk_codepoint_t  cp)

Definition at line 13295 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk_unicode_is_letter()

DUK_INTERNAL duk_small_int_t duk_unicode_is_letter ( duk_codepoint_t  cp)

Definition at line 13455 of file duktape.c.

Referenced by duk__case_transform_helper().

Here is the caller graph for this function:

◆ duk_unicode_is_line_terminator()

DUK_INTERNAL duk_small_int_t duk_unicode_is_line_terminator ( duk_codepoint_t  cp)

Definition at line 13276 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk_unicode_is_utf8_compatible()

DUK_INTERNAL duk_bool_t duk_unicode_is_utf8_compatible ( const duk_uint8_t *  buf,
duk_size_t  len 
)

Definition at line 13048 of file duktape.c.

◆ duk_unicode_is_whitespace()

DUK_INTERNAL duk_small_int_t duk_unicode_is_whitespace ( duk_codepoint_t  cp)

Definition at line 13198 of file duktape.c.

Referenced by duk_lexer_parse_js_input_element().

Here is the caller graph for this function:

◆ duk_unicode_re_canonicalize_char()

DUK_INTERNAL duk_codepoint_t duk_unicode_re_canonicalize_char ( duk_hthread thr,
duk_codepoint_t  cp 
)

Definition at line 13783 of file duktape.c.

Referenced by duk__match_regexp().

Here is the caller graph for this function:

◆ duk_unicode_re_is_wordchar()

DUK_INTERNAL duk_small_int_t duk_unicode_re_is_wordchar ( duk_codepoint_t  cp)

Definition at line 13818 of file duktape.c.

◆ duk_unicode_unvalidated_utf8_length()

DUK_INTERNAL duk_size_t duk_unicode_unvalidated_utf8_length ( const duk_uint8_t *  data,
duk_size_t  blen 
)

Definition at line 12974 of file duktape.c.

◆ duk_unpack_array_like()

DUK_INTERNAL duk_idx_t duk_unpack_array_like ( duk_hthread thr,
duk_idx_t  idx 
)

Definition at line 24909 of file duktape.c.

References DUK_TVAL_SET_UNDEFINED.

◆ duk_uri_error_stash()

DUK_EXTERNAL duk_ret_t duk_uri_error_stash ( duk_hthread thr,
const char *  fmt,
  ... 
)

◆ duk_util_get_random_double()

DUK_INTERNAL duk_double_t duk_util_get_random_double ( duk_hthread thr)

Definition at line 14174 of file duktape.c.

◆ duk_util_tinyrandom_get_double()

DUK_INTERNAL duk_double_t duk_util_tinyrandom_get_double ( duk_hthread thr)

Definition at line 101070 of file duktape.c.

References DUK_ASSERT, and DUK_MEMCMP.

◆ duk_util_tinyrandom_prepare_seed()

DUK_INTERNAL void duk_util_tinyrandom_prepare_seed ( duk_hthread thr)

Definition at line 101066 of file duktape.c.

◆ duk_valstack_grow_check_nothrow()

DUK_INTERNAL DUK_INLINE duk_bool_t duk_valstack_grow_check_nothrow ( duk_hthread thr,
duk_size_t  min_bytes 
)

Definition at line 19574 of file duktape.c.

◆ duk_valstack_grow_check_throw()

DUK_INTERNAL DUK_INLINE void duk_valstack_grow_check_throw ( duk_hthread thr,
duk_size_t  min_bytes 
)

Definition at line 19556 of file duktape.c.

Referenced by duk__handle_call_raw().

Here is the caller graph for this function:

◆ duk_valstack_shrink_check_nothrow()

DUK_INTERNAL void duk_valstack_shrink_check_nothrow ( duk_hthread thr,
duk_bool_t  snug 
)

Definition at line 19589 of file duktape.c.

◆ duk_xcopymove_raw()

DUK_EXTERNAL void duk_xcopymove_raw ( duk_hthread to_thr,
duk_hthread from_thr,
duk_idx_t  count,
duk_bool_t  is_copy 
)

Definition at line 20080 of file duktape.c.

◆ duk_xdef_prop()

DUK_INTERNAL void duk_xdef_prop ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  desc_flags 
)

Definition at line 18072 of file duktape.c.

References duk_has_prop_stridx().

Referenced by duk__load_func().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ duk_xdef_prop_index()

DUK_INTERNAL void duk_xdef_prop_index ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_uarridx_t  arr_idx,
duk_small_uint_t  desc_flags 
)

Definition at line 18089 of file duktape.c.

◆ duk_xdef_prop_stridx()

DUK_INTERNAL void duk_xdef_prop_stridx ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx,
duk_small_uint_t  desc_flags 
)

Definition at line 18101 of file duktape.c.

References DUK_ASSERT, DUK_ASSERT_API_ENTRY, duk_hobject_define_property_internal_arridx(), and duk_require_hobject().

Here is the call graph for this function:

◆ duk_xdef_prop_stridx_short_raw()

DUK_INTERNAL void duk_xdef_prop_stridx_short_raw ( duk_hthread thr,
duk_uint_t  packed_args 
)

Definition at line 18118 of file duktape.c.

◆ duk_xdef_prop_stridx_thrower()

DUK_INTERNAL void duk_xdef_prop_stridx_thrower ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx 
)

Definition at line 18150 of file duktape.c.

◆ duk_xget_owndataprop()

DUK_INTERNAL duk_bool_t duk_xget_owndataprop ( duk_hthread thr,
duk_idx_t  obj_idx 
)

Definition at line 17759 of file duktape.c.

◆ duk_xget_owndataprop_stridx()

DUK_INTERNAL duk_bool_t duk_xget_owndataprop_stridx ( duk_hthread thr,
duk_idx_t  obj_idx,
duk_small_uint_t  stridx 
)

Definition at line 17787 of file duktape.c.

◆ duk_xget_owndataprop_stridx_short_raw()

DUK_INTERNAL duk_bool_t duk_xget_owndataprop_stridx_short_raw ( duk_hthread thr,
duk_uint_t  packed_args 
)

Definition at line 17796 of file duktape.c.

Variable Documentation

◆ duk__base64_decode_nequal_step

DUK_LOCAL const duk_int8_t duk__base64_decode_nequal_step[5]
Initial value:
= {
3,
2,
1,
-1,
0,
}

Definition at line 15765 of file duktape.c.

◆ duk__base64_dectab_fast

DUK_LOCAL const duk_int8_t duk__base64_dectab_fast[256]
Initial value:
= {
-3, -3, -3, -3, -3, -3, -3, -3, -3, -1, -1, -3, -3, -1, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-1, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, 62, -3, -3, -3, 63,
52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -3, -3, -3, -2, -3, -3,
-3, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -3, -3, -3, -3, -3,
-3, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3,
-3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3, -3
}

Definition at line 15789 of file duktape.c.

◆ duk__base64_enctab_fast

DUK_LOCAL const duk_uint8_t duk__base64_enctab_fast[64]
Initial value:
= {
0x41U, 0x42U, 0x43U, 0x44U, 0x45U, 0x46U, 0x47U, 0x48U, 0x49U, 0x4aU, 0x4bU, 0x4cU, 0x4dU, 0x4eU, 0x4fU, 0x50U,
0x51U, 0x52U, 0x53U, 0x54U, 0x55U, 0x56U, 0x57U, 0x58U, 0x59U, 0x5aU, 0x61U, 0x62U, 0x63U, 0x64U, 0x65U, 0x66U,
0x67U, 0x68U, 0x69U, 0x6aU, 0x6bU, 0x6cU, 0x6dU, 0x6eU, 0x6fU, 0x70U, 0x71U, 0x72U, 0x73U, 0x74U, 0x75U, 0x76U,
0x77U, 0x78U, 0x79U, 0x7aU, 0x30U, 0x31U, 0x32U, 0x33U, 0x34U, 0x35U, 0x36U, 0x37U, 0x38U, 0x39U, 0x2bU, 0x2fU
}

Definition at line 15774 of file duktape.c.

Referenced by duk__base64_encode_fast_1().

◆ duk__bitpacked_lookup

DUK_LOCAL const duk_uint8_t duk__bitpacked_lookup[16]
Initial value:
#define DUK_ASC_DOUBLEQUOTE
Definition: duktape.c:10792
#define DUK_ASC_2
Definition: duktape.c:10808
#define DUK_ASC_8
Definition: duktape.c:10814
#define DUK_ASC_5
Definition: duktape.c:10811
#define DUK_ASC_9
Definition: duktape.c:10815
#define DUK_ASC_6
Definition: duktape.c:10812
#define DUK_ASC_7
Definition: duktape.c:10813
#define DUK_ASC_1
Definition: duktape.c:10807
#define DUK_ASC_LCURLY
Definition: duktape.c:10881
#define DUK_ASC_SPACE
Definition: duktape.c:10790
#define DUK_ASC_0
Definition: duktape.c:10806
#define DUK_ASC_4
Definition: duktape.c:10810
#define DUK_ASC_UNDERSCORE
Definition: duktape.c:10853
#define DUK_ASC_3
Definition: duktape.c:10809

Definition at line 100043 of file duktape.c.

◆ duk__buffer_class_from_elemtype

const duk_uint8_t duk__buffer_class_from_elemtype[9]
static
Initial value:
#define DUK_HOBJECT_CLASS_INT32ARRAY
Definition: duktape.c:6662
#define DUK_HOBJECT_CLASS_INT16ARRAY
Definition: duktape.c:6660
#define DUK_HOBJECT_CLASS_UINT8CLAMPEDARRAY
Definition: duktape.c:6659
#define DUK_HOBJECT_CLASS_FLOAT32ARRAY
Definition: duktape.c:6664
#define DUK_HOBJECT_CLASS_UINT8ARRAY
Definition: duktape.c:6658
#define DUK_HOBJECT_CLASS_UINT32ARRAY
Definition: duktape.c:6663
#define DUK_HOBJECT_CLASS_INT8ARRAY
Definition: duktape.c:6657
#define DUK_HOBJECT_CLASS_UINT16ARRAY
Definition: duktape.c:6661
#define DUK_HOBJECT_CLASS_FLOAT64ARRAY
Definition: duktape.c:6665

Definition at line 27829 of file duktape.c.

◆ duk__buffer_elemtype_copy_compatible

duk_uint16_t duk__buffer_elemtype_copy_compatible[9]
static
Initial value:
= {
}
#define DUK_HBUFOBJ_ELEM_UINT8CLAMPED
Definition: duktape.c:7897
#define DUK_HBUFOBJ_ELEM_INT16
Definition: duktape.c:7900
#define DUK_HBUFOBJ_ELEM_INT8
Definition: duktape.c:7898
#define DUK_HBUFOBJ_ELEM_UINT32
Definition: duktape.c:7901
#define DUK_HBUFOBJ_ELEM_FLOAT64
Definition: duktape.c:7904
#define DUK_HBUFOBJ_ELEM_INT32
Definition: duktape.c:7902
#define DUK_HBUFOBJ_ELEM_UINT16
Definition: duktape.c:7899
#define DUK_HBUFOBJ_ELEM_FLOAT32
Definition: duktape.c:7903
#define DUK_HBUFOBJ_ELEM_UINT8
Definition: duktape.c:7896

Definition at line 27861 of file duktape.c.

Referenced by duk_bi_typedarray_set().

◆ duk__buffer_nbytes_from_fldtype

const duk_uint8_t duk__buffer_nbytes_from_fldtype[6]
static
Initial value:
= {
1,
2,
4,
4,
8,
0
}

Definition at line 27845 of file duktape.c.

◆ duk__buffer_proto_from_classnum

const duk_uint8_t duk__buffer_proto_from_classnum[]
static
Initial value:
= {
}
#define DUK_BIDX_ARRAYBUFFER_PROTOTYPE
Definition: duktape.c:2325
#define DUK_BIDX_UINT8ARRAY_PROTOTYPE
Definition: duktape.c:2328
#define DUK_BIDX_INT8ARRAY_PROTOTYPE
Definition: duktape.c:2327
#define DUK_BIDX_DATAVIEW_PROTOTYPE
Definition: duktape.c:2326
#define DUK_BIDX_UINT8CLAMPEDARRAY_PROTOTYPE
Definition: duktape.c:2329
#define DUK_BIDX_INT32ARRAY_PROTOTYPE
Definition: duktape.c:2332
#define DUK_BIDX_FLOAT32ARRAY_PROTOTYPE
Definition: duktape.c:2334
#define DUK_BIDX_UINT32ARRAY_PROTOTYPE
Definition: duktape.c:2333
#define DUK_BIDX_FLOAT64ARRAY_PROTOTYPE
Definition: duktape.c:2335
#define DUK_BIDX_INT16ARRAY_PROTOTYPE
Definition: duktape.c:2330
#define DUK_BIDX_UINT16ARRAY_PROTOTYPE
Definition: duktape.c:2331

Definition at line 27819 of file duktape.c.

◆ duk__buffer_proto_from_elemtype

const duk_uint8_t duk__buffer_proto_from_elemtype[9]
static

◆ duk__bufobj_flags_lookup

const duk_uint32_t duk__bufobj_flags_lookup[]
static

Definition at line 23916 of file duktape.c.

◆ duk__closure_copy_proplist

DUK_LOCAL const duk_uint16_t duk__closure_copy_proplist[]
Initial value:
= {
}
#define DUK_STRIDX_INT_FORMALS
Definition: duktape.c:1876
#define DUK_STRIDX_FILE_NAME
Definition: duktape.c:1861
#define DUK_STRIDX_INT_VARMAP
Definition: duktape.c:1879
#define DUK_STRIDX_INT_PC2LINE
Definition: duktape.c:1885

Definition at line 84024 of file duktape.c.

◆ duk__const_tval_unused

DUK_LOCAL const duk_tval_unused duk__const_tval_unused = DUK_TVAL_UNUSED_INITIALIZER()

Definition at line 19006 of file duktape.c.

Referenced by duk_require_tval().

◆ duk__date_equivyear

DUK_LOCAL duk_uint8_t duk__date_equivyear[14]

Definition at line 32739 of file duktape.c.

◆ duk__date_magics

duk_uint16_t duk__date_magics[]
static

Definition at line 34036 of file duktape.c.

Referenced by duk_bi_date_constructor().

◆ duk__days_in_month

DUK_LOCAL duk_uint8_t duk__days_in_month[12]
Initial value:
= { (duk_uint8_t) 31, (duk_uint8_t) 28, (duk_uint8_t) 31, (duk_uint8_t) 30,
(duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 31,
(duk_uint8_t) 30, (duk_uint8_t) 31, (duk_uint8_t) 30, (duk_uint8_t) 31 }

Definition at line 33129 of file duktape.c.

◆ duk__decode_uri_component_reserved_table

DUK_LOCAL const duk_uint8_t duk__decode_uri_component_reserved_table[16]
Initial value:
= {
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
}
#define DUK__MKBITS(a, b, c, d, e, f, g, h)
Definition: duktape.c:36657

Definition at line 36698 of file duktape.c.

◆ duk__decode_uri_reserved_table

DUK_LOCAL const duk_uint8_t duk__decode_uri_reserved_table[16]
Initial value:
= {
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 1, 1, 0, 1, 0), DUK__MKBITS(0, 0, 0, 1, 1, 0, 0, 1),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 1, 1, 0, 1, 0, 1),
DUK__MKBITS(1, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
}

Definition at line 36686 of file duktape.c.

Referenced by duk_bi_global_object_encode_uri().

◆ duk__encode_uricomponent_unescaped_table

DUK_LOCAL const duk_uint8_t duk__encode_uricomponent_unescaped_table[16]
Initial value:
= {
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 1, 0, 0, 0, 0, 0, 1), DUK__MKBITS(1, 1, 1, 0, 0, 1, 1, 0),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1),
DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0),
}

Definition at line 36674 of file duktape.c.

Referenced by duk_bi_global_object_unescape().

◆ duk__encode_uriunescaped_table

DUK_LOCAL const duk_uint8_t duk__encode_uriunescaped_table[16]
Initial value:
= {
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 1, 0, 1, 1, 0, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 0, 1, 0, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1),
DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 1, 0),
}

Definition at line 36662 of file duktape.c.

Referenced by duk_bi_global_object_escape().

◆ duk__escape_unescaped_table

DUK_LOCAL const duk_uint8_t duk__escape_unescaped_table[16]
Initial value:
= {
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(0, 0, 0, 0, 0, 0, 0, 0), DUK__MKBITS(0, 0, 1, 1, 0, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 0, 0, 0, 0, 0, 0),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 1),
DUK__MKBITS(0, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1),
DUK__MKBITS(1, 1, 1, 1, 1, 1, 1, 1), DUK__MKBITS(1, 1, 1, 0, 0, 0, 0, 0)
}

Definition at line 36711 of file duktape.c.

◆ duk__json_decnumber_lookup

DUK_LOCAL const duk_uint8_t duk__json_decnumber_lookup[256]
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 37520 of file duktape.c.

◆ duk__json_decstr_lookup

DUK_LOCAL const duk_uint8_t duk__json_decstr_lookup[256]
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x21, 0x00, 0x23, 0x24, 0x25, 0x26, 0x27,
0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b,
0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x00, 0x5d, 0x5e, 0x5f, 0x60, 0x61, 0x62, 0x63,
0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f, 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b,
0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97, 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3,
0xb4, 0xb5, 0xb6, 0xb7, 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf, 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xdb,
0xdc, 0xdd, 0xde, 0xdf, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff
}

Definition at line 37478 of file duktape.c.

◆ duk__json_eatwhite_lookup

DUK_LOCAL const duk_uint8_t duk__json_eatwhite_lookup[256]
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 37499 of file duktape.c.

◆ duk__json_quotestr_lookup

DUK_LOCAL const duk_uint8_t duk__json_quotestr_lookup[256]
Initial value:
= {
0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0xe2, 0xf4, 0xee, 0x80, 0xe6, 0xf2, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80,
0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x20, 0x21, 0xa2, 0x23, 0x24, 0x25, 0x26, 0x27,
0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x3a, 0x3b,
0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0xdc, 0x5d, 0x5e, 0x5f, 0x60, 0x61, 0x62, 0x63,
0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81,
0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81
}

Definition at line 37450 of file duktape.c.

◆ duk__object_keys_enum_flags

DUK_LOCAL const duk_small_uint_t duk__object_keys_enum_flags[4]

◆ duk__one_arg_funcs

DUK_LOCAL const duk__one_arg_func duk__one_arg_funcs[]
Initial value:
= {
}
DUK_LOCAL double duk__asin(double x)
Definition: duktape.c:40799
DUK_LOCAL double duk__atan(double x)
Definition: duktape.c:40802
DUK_LOCAL double duk__log(double x)
Definition: duktape.c:40817
DUK_LOCAL double duk__sin(double x)
Definition: duktape.c:40820
DUK_LOCAL double duk__trunc(double x)
Definition: duktape.c:40735
DUK_LOCAL double duk__ceil(double x)
Definition: duktape.c:40805
DUK_LOCAL double duk__floor(double x)
Definition: duktape.c:40814
DUK_LOCAL double duk__exp(double x)
Definition: duktape.c:40811
DUK_LOCAL double duk__round_fixed(double x)
Definition: duktape.c:40747
DUK_LOCAL double duk__log10(double x)
Definition: duktape.c:40727
DUK_LOCAL double duk__fabs(double x)
Definition: duktape.c:40793
DUK_LOCAL double duk__log2(double x)
Definition: duktape.c:40719
DUK_LOCAL double duk__acos(double x)
Definition: duktape.c:40796
DUK_LOCAL double duk__tan(double x)
Definition: duktape.c:40826
DUK_LOCAL double duk__cbrt(double x)
Definition: duktape.c:40695
DUK_LOCAL double duk__cos(double x)
Definition: duktape.c:40808
DUK_LOCAL double duk__sqrt(double x)
Definition: duktape.c:40823

Definition at line 40863 of file duktape.c.

◆ duk__parse_iso8601_control

DUK_LOCAL const duk_uint32_t duk__parse_iso8601_control[]

Definition at line 32852 of file duktape.c.

◆ duk__parse_iso8601_seps

DUK_LOCAL const duk_uint8_t duk__parse_iso8601_seps[]
Initial value:
= {
}
#define DUK_ASC_NUL
Definition: duktape.c:10758
#define DUK_ASC_UC_T
Definition: duktape.c:10842
#define DUK_ASC_MINUS
Definition: duktape.c:10803
#define DUK_ASC_COLON
Definition: duktape.c:10816
#define DUK_ASC_PLUS
Definition: duktape.c:10801
#define DUK_ASC_UC_Z
Definition: duktape.c:10848
#define DUK_ASC_PERIOD
Definition: duktape.c:10804

Definition at line 32846 of file duktape.c.

◆ duk__re_range_lookup1

DUK_LOCAL const duk_uint16_t* const duk__re_range_lookup1[3]
Initial value:
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_digit[2]
Definition: duktape.c:13834
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_wordchar[8]
Definition: duktape.c:13845
DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_white[22]
Definition: duktape.c:13838

Definition at line 90996 of file duktape.c.

◆ duk__re_range_lookup2

DUK_LOCAL const duk_uint8_t duk__re_range_lookup2[3]
Initial value:
= { sizeof(duk_unicode_re_ranges_digit) / (2 * sizeof(duk_uint16_t)),
sizeof(duk_unicode_re_ranges_white) / (2 * sizeof(duk_uint16_t)),
sizeof(duk_unicode_re_ranges_wordchar) / (2 * sizeof(duk_uint16_t)) }

Definition at line 90999 of file duktape.c.

◆ duk__str2num_digits_for_radix

DUK_LOCAL const duk_uint8_t duk__str2num_digits_for_radix[]
Initial value:
= {
69, 44, 35, 30, 27, 25, 23, 22, 20, 20,
20, 19, 19, 18, 18, 17, 17, 17, 16, 16,
16, 16, 16, 15, 15, 15, 15, 15, 15, 14,
14, 14, 14, 14, 14
}

Definition at line 88193 of file duktape.c.

◆ duk__str2num_exp_limits

DUK_LOCAL const duk__exp_limits duk__str2num_exp_limits[]
Initial value:
= {
{ 957, -1147 }, { 605, -725 }, { 479, -575 }, { 414, -496 }, { 372, -446 }, { 342, -411 }, { 321, -384 },
{ 304, -364 }, { 291, -346 }, { 279, -334 }, { 268, -323 }, { 260, -312 }, { 252, -304 }, { 247, -296 },
{ 240, -289 }, { 236, -283 }, { 231, -278 }, { 227, -273 }, { 223, -267 }, { 220, -263 }, { 216, -260 },
{ 213, -256 }, { 210, -253 }, { 208, -249 }, { 205, -246 }, { 203, -244 }, { 201, -241 }, { 198, -239 },
{ 196, -237 }, { 195, -234 }, { 193, -232 }, { 191, -230 }, { 190, -228 }, { 188, -226 }, { 187, -225 },
}

Definition at line 88205 of file duktape.c.

◆ duk__symbol_type_strings

DUK_LOCAL const char* const duk__symbol_type_strings[4] = { "hidden", "global", "local", "wellknown" }

Definition at line 18719 of file duktape.c.

◆ duk__token_lbp

DUK_LOCAL const duk_uint8_t duk__token_lbp[]

Definition at line 69352 of file duktape.c.

◆ duk__toprim_hint_strings

DUK_LOCAL const char* const duk__toprim_hint_strings[3] = { "default", "string", "number" }

Definition at line 21439 of file duktape.c.

◆ duk__two_arg_funcs

DUK_LOCAL const duk__two_arg_func duk__two_arg_funcs[]
Initial value:
= {
}
DUK_LOCAL double duk__atan2_fixed(double x, double y)
Definition: duktape.c:40829
DUK_INTERNAL_DECL double duk_js_arith_pow(double x, double y)
Definition: duktape.c:65991

Definition at line 40880 of file duktape.c.

◆ duk__type_from_tag

DUK_LOCAL const duk_uint_t duk__type_from_tag[]
Initial value:
= {
}
#define DUK_TYPE_NONE
Definition: duktape.h:324
#define DUK_TYPE_LIGHTFUNC
Definition: duktape.h:333
#define DUK_TYPE_BOOLEAN
Definition: duktape.h:327
#define DUK_TYPE_POINTER
Definition: duktape.h:332
#define DUK_TYPE_UNDEFINED
Definition: duktape.h:325
#define DUK_TYPE_NULL
Definition: duktape.h:326
#define DUK_TYPE_STRING
Definition: duktape.h:329
#define DUK_TYPE_OBJECT
Definition: duktape.h:330
#define DUK_TYPE_BUFFER
Definition: duktape.h:331
#define DUK_TYPE_NUMBER
Definition: duktape.h:328

Definition at line 18722 of file duktape.c.

◆ duk__type_mask_from_tag

DUK_LOCAL const duk_uint_t duk__type_mask_from_tag[]
Initial value:
= {
}
#define DUK_TYPE_MASK_STRING
Definition: duktape.h:342
#define DUK_TYPE_MASK_OBJECT
Definition: duktape.h:343
#define DUK_TYPE_MASK_BUFFER
Definition: duktape.h:344
#define DUK_TYPE_MASK_LIGHTFUNC
Definition: duktape.h:346
#define DUK_TYPE_MASK_NONE
Definition: duktape.h:337
#define DUK_TYPE_MASK_NULL
Definition: duktape.h:339
#define DUK_TYPE_MASK_NUMBER
Definition: duktape.h:341
#define DUK_TYPE_MASK_BOOLEAN
Definition: duktape.h:340
#define DUK_TYPE_MASK_POINTER
Definition: duktape.h:345
#define DUK_TYPE_MASK_UNDEFINED
Definition: duktape.h:338

Definition at line 18727 of file duktape.c.

◆ duk_api_global_filename

DUK_EXTERNAL const char* duk_api_global_filename = NULL

Definition at line 18711 of file duktape.c.

◆ duk_api_global_line

DUK_EXTERNAL duk_int_t duk_api_global_line = 0

Definition at line 18712 of file duktape.c.

◆ duk_bi_native_functions

DUK_INTERNAL const duk_c_function duk_bi_native_functions[185]

Definition at line 11662 of file duktape.c.

◆ duk_class_number_to_stridx

DUK_INTERNAL duk_uint8_t duk_class_number_to_stridx[32]

Definition at line 14276 of file duktape.c.

◆ duk_hex_dectab

DUK_INTERNAL const duk_int8_t duk_hex_dectab[256]
Initial value:
= {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
-1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
}

Definition at line 14044 of file duktape.c.

Referenced by duk__lexer_parse_escape().

◆ duk_hex_dectab_shift4

DUK_INTERNAL const duk_int16_t duk_hex_dectab_shift4[256]
Initial value:
= {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
0x00, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80, 0x90, -1, -1, -1, -1, -1, -1,
-1, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1
}

Definition at line 14066 of file duktape.c.

◆ duk_hex_enctab

DUK_INTERNAL const duk_uint16_t duk_hex_enctab[256]

Definition at line 14102 of file duktape.c.

◆ duk_is_idchar_tab

DUK_INTERNAL const duk_int8_t duk_is_idchar_tab[128]
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0, 0, 0,
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0
}

Definition at line 12655 of file duktape.c.

◆ duk_lc_digits

DUK_INTERNAL const duk_uint8_t duk_lc_digits[36]
Initial value:
= {
}
#define DUK_ASC_LC_M
Definition: duktape.c:10867
#define DUK_ASC_LC_N
Definition: duktape.c:10868
#define DUK_ASC_LC_U
Definition: duktape.c:10875
#define DUK_ASC_LC_Z
Definition: duktape.c:10880
#define DUK_ASC_LC_X
Definition: duktape.c:10878
#define DUK_ASC_LC_C
Definition: duktape.c:10857
#define DUK_ASC_LC_B
Definition: duktape.c:10856
#define DUK_ASC_LC_L
Definition: duktape.c:10866
#define DUK_ASC_LC_J
Definition: duktape.c:10864
#define DUK_ASC_LC_Y
Definition: duktape.c:10879
#define DUK_ASC_LC_P
Definition: duktape.c:10870
#define DUK_ASC_LC_K
Definition: duktape.c:10865
#define DUK_ASC_LC_D
Definition: duktape.c:10858
#define DUK_ASC_LC_H
Definition: duktape.c:10862
#define DUK_ASC_LC_G
Definition: duktape.c:10861
#define DUK_ASC_LC_I
Definition: duktape.c:10863
#define DUK_ASC_LC_R
Definition: duktape.c:10872
#define DUK_ASC_LC_O
Definition: duktape.c:10869
#define DUK_ASC_LC_E
Definition: duktape.c:10859
#define DUK_ASC_LC_F
Definition: duktape.c:10860
#define DUK_ASC_LC_Q
Definition: duktape.c:10871
#define DUK_ASC_LC_W
Definition: duktape.c:10877
#define DUK_ASC_LC_S
Definition: duktape.c:10873
#define DUK_ASC_LC_A
Definition: duktape.c:10855
#define DUK_ASC_LC_V
Definition: duktape.c:10876
#define DUK_ASC_LC_T
Definition: duktape.c:10874

Definition at line 14027 of file duktape.c.

Referenced by duk__json_enc_buffer_data(), duk__json_enc_key_autoquote(), duk__push_hstring_readable_unicode(), and duk_heap_strtable_intern_checked().

◆ duk_strings_data

DUK_INTERNAL const duk_uint8_t duk_strings_data[972]

Definition at line 11607 of file duktape.c.

◆ duk_uc_nybbles

DUK_INTERNAL const duk_uint8_t duk_uc_nybbles[16]
Initial value:
#define DUK_ASC_UC_C
Definition: duktape.c:10825
#define DUK_ASC_UC_B
Definition: duktape.c:10824
#define DUK_ASC_UC_D
Definition: duktape.c:10826
#define DUK_ASC_UC_F
Definition: duktape.c:10828
#define DUK_ASC_UC_A
Definition: duktape.c:10823
#define DUK_ASC_UC_E
Definition: duktape.c:10827

Definition at line 14035 of file duktape.c.

◆ duk_unicode_caseconv_lc

const duk_uint8_t duk_unicode_caseconv_lc

Definition at line 94039 of file duktape.c.

Referenced by duk__case_transform_helper().

◆ duk_unicode_caseconv_uc

const duk_uint8_t duk_unicode_caseconv_uc

Definition at line 93973 of file duktape.c.

Referenced by duk__case_transform_helper().

◆ duk_unicode_idp_m_ids_noa

const duk_uint8_t duk_unicode_idp_m_ids_noa
Initial value:
= {
255,225,243,246,15,254,0,116,255,191,29,32,33,33,32,243,170,242,47,15,112,
245,118,53,49,35,57,240,144,241,15,11,244,218,240,25,241,56,160,240,163,40,
34,36,241,210,246,158,47,17,242,130,47,2,38,177,57,240,50,242,160,38,49,50,
160,177,57,240,0,50,242,160,36,81,50,64,240,107,64,194,242,160,39,34,34,
240,97,57,181,34,242,160,38,49,50,145,177,57,240,64,242,212,66,35,160,240,
9,240,36,242,182,34,35,129,193,57,240,50,242,160,38,34,35,129,193,57,240,
35,242,145,38,34,35,160,177,57,240,65,243,128,85,32,39,121,49,242,240,54,
215,41,244,144,56,197,57,243,1,121,192,32,32,81,242,63,4,33,106,47,20,160,
245,111,4,41,211,82,34,54,67,235,46,255,225,179,47,254,42,98,240,242,240,
241,241,1,243,47,16,160,57,241,50,57,245,209,241,64,246,139,91,185,247,41,
242,244,242,185,47,13,58,121,240,141,243,68,242,31,1,201,240,56,210,241,12,
57,241,237,242,47,4,153,121,246,130,47,5,80,112,50,251,143,42,36,255,225,0,
31,35,31,5,15,109,197,4,191,254,175,34,247,240,245,47,16,255,225,30,95,91,
31,255,0,100,121,159,55,5,159,18,31,66,31,254,0,64,64,80,240,148,244,161,
242,79,2,185,127,2,234,240,231,240,188,241,227,242,29,240,25,192,185,242,
29,208,145,57,241,50,242,64,34,49,97,32,241,180,97,253,231,33,57,255,240,3,
225,128,255,225,213,240,15,2,240,4,31,10,47,178,159,23,15,254,27,16,253,64,
248,116,255,224,25,159,254,68,178,33,99,241,162,80,249,113,255,225,49,57,
159,254,16,10,250,18,242,126,241,25,240,19,241,250,242,121,114,241,109,41,
97,241,224,210,242,45,147,73,244,75,112,249,43,105,115,242,145,38,49,50,
160,177,54,68,251,47,2,169,80,244,63,4,217,252,118,56,240,209,244,79,1,240,
25,244,60,153,244,94,89,254,78,249,121,253,150,54,64,240,233,241,166,35,
144,170,242,15,0,255,224,137,114,127,2,159,42,240,98,223,108,84,2,18,98,9,
159,34,66,18,73,159,254,3,211,255,240,3,165,217,247,132,242,214,240,185,
255,226,233,2,242,120,63,255,0,59,254,31,255,0,3,186,68,89,115,111,16,63,
134,47,254,71,223,34,255,224,244,242,117,242,41,15,0,15,8,66,239,254,68,70,
47,1,54,33,36,255,118,169,255,224,150,223,254,76,166,245,246,105,255,240,
192,105,175,224,0,
}

Definition at line 93904 of file duktape.c.

◆ duk_unicode_ids_m_let_noa

const duk_uint8_t duk_unicode_ids_m_let_noa
Initial value:
= {
255,240,0,94,18,255,233,99,241,51,63,254,215,32,240,184,240,2,255,240,6,89,
249,255,240,4,148,79,37,255,224,192,9,15,120,79,255,0,15,30,245,240,
}

Definition at line 93880 of file duktape.c.

◆ duk_unicode_ids_noa

const duk_uint8_t duk_unicode_ids_noa

Definition at line 93782 of file duktape.c.

◆ duk_unicode_re_canon_bitmap

const duk_uint8_t duk_unicode_re_canon_bitmap
Initial value:
= {
23,0,224,19,1,228,255,255,255,255,255,255,255,255,255,255,63,254,255,127,
255,255,255,255,255,255,255,255,231,231,0,16,255,227,255,255,63,255,255,
255,255,255,255,255,1,252,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
227,129,255,255,255,147,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,251,
}

Definition at line 99915 of file duktape.c.

Referenced by duk__regexp_generate_ranges().

◆ duk_unicode_re_canon_lookup

const duk_uint16_t duk_unicode_re_canon_lookup

Definition at line 94080 of file duktape.c.

◆ duk_unicode_re_ranges_digit

DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_digit[2]
Initial value:
= {
(duk_uint16_t) 0x0030UL,
(duk_uint16_t) 0x0039UL,
}

Definition at line 13834 of file duktape.c.

Referenced by duk__parse_disjunction().

◆ duk_unicode_re_ranges_not_digit

DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_not_digit[4]
Initial value:
= {
(duk_uint16_t) 0x0000UL,
(duk_uint16_t) 0x002FUL,
(duk_uint16_t) 0x003AUL,
(duk_uint16_t) 0xFFFFUL,
}

Definition at line 13849 of file duktape.c.

◆ duk_unicode_re_ranges_not_white

DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_not_white[24]
Initial value:
= {
(duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x0008UL, (duk_uint16_t) 0x000EUL, (duk_uint16_t) 0x001FUL, (duk_uint16_t) 0x0021UL,
(duk_uint16_t) 0x009FUL, (duk_uint16_t) 0x00A1UL, (duk_uint16_t) 0x167FUL, (duk_uint16_t) 0x1681UL, (duk_uint16_t) 0x180DUL,
(duk_uint16_t) 0x180FUL, (duk_uint16_t) 0x1FFFUL, (duk_uint16_t) 0x200BUL, (duk_uint16_t) 0x2027UL, (duk_uint16_t) 0x202AUL,
(duk_uint16_t) 0x202EUL, (duk_uint16_t) 0x2030UL, (duk_uint16_t) 0x205EUL, (duk_uint16_t) 0x2060UL, (duk_uint16_t) 0x2FFFUL,
(duk_uint16_t) 0x3001UL, (duk_uint16_t) 0xFEFEUL, (duk_uint16_t) 0xFF00UL, (duk_uint16_t) 0xFFFFUL,
}

Definition at line 13855 of file duktape.c.

◆ duk_unicode_re_ranges_not_wordchar

DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_not_wordchar[10]
Initial value:
= {
(duk_uint16_t) 0x0000UL, (duk_uint16_t) 0x002FUL, (duk_uint16_t) 0x003AUL, (duk_uint16_t) 0x0040UL, (duk_uint16_t) 0x005BUL,
(duk_uint16_t) 0x005EUL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x0060UL, (duk_uint16_t) 0x007BUL, (duk_uint16_t) 0xFFFFUL,
}

Definition at line 13862 of file duktape.c.

◆ duk_unicode_re_ranges_white

DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_white[22]
Initial value:
= {
(duk_uint16_t) 0x0009UL, (duk_uint16_t) 0x000DUL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x0020UL, (duk_uint16_t) 0x00A0UL,
(duk_uint16_t) 0x00A0UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x1680UL, (duk_uint16_t) 0x180EUL, (duk_uint16_t) 0x180EUL,
(duk_uint16_t) 0x2000UL, (duk_uint16_t) 0x200AUL, (duk_uint16_t) 0x2028UL, (duk_uint16_t) 0x2029UL, (duk_uint16_t) 0x202FUL,
(duk_uint16_t) 0x202FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x205FUL, (duk_uint16_t) 0x3000UL, (duk_uint16_t) 0x3000UL,
(duk_uint16_t) 0xFEFFUL, (duk_uint16_t) 0xFEFFUL,
}

Definition at line 13838 of file duktape.c.

Referenced by duk__parse_disjunction().

◆ duk_unicode_re_ranges_wordchar

DUK_INTERNAL const duk_uint16_t duk_unicode_re_ranges_wordchar[8]
Initial value:
= {
(duk_uint16_t) 0x0030UL, (duk_uint16_t) 0x0039UL, (duk_uint16_t) 0x0041UL, (duk_uint16_t) 0x005AUL,
(duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x005FUL, (duk_uint16_t) 0x0061UL, (duk_uint16_t) 0x007AUL,
}

Definition at line 13845 of file duktape.c.

Referenced by duk__parse_disjunction().

◆ duk_unicode_xutf8_markers

DUK_INTERNAL const duk_uint8_t duk_unicode_xutf8_markers[7] = { 0x00, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe }

Definition at line 12723 of file duktape.c.