NetSurf
Macros | Typedefs
duk_config.h File Reference
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <setjmp.h>
#include <stddef.h>
#include <math.h>
#include <limits.h>
#include <stdint.h>
#include "duk_custom.h"
Include dependency graph for duk_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DUK_USE_DATE_NOW_TIME
 
#define DUK_USE_DATE_TZO_GMTIME
 
#define DUK_USE_OS_STRING   "unknown"
 
#define DUK_USE_ARCH_STRING   "generic"
 
#define DUK_USE_COMPILER_STRING   "generic"
 
#define DUK_USE_FLEX_ONESIZE
 
#define DUK_USE_PACK_DUMMY_MEMBER
 
#define DUK_UINT8_MIN   0UL
 
#define DUK_UINT8_MAX   0xffUL
 
#define DUK_INT8_MIN   (-0x80L)
 
#define DUK_INT8_MAX   0x7fL
 
#define DUK_UINT_LEAST8_MIN   0UL
 
#define DUK_UINT_LEAST8_MAX   0xffUL
 
#define DUK_INT_LEAST8_MIN   (-0x80L)
 
#define DUK_INT_LEAST8_MAX   0x7fL
 
#define DUK_UINT_FAST8_MIN   0UL
 
#define DUK_UINT_FAST8_MAX   0xffUL
 
#define DUK_INT_FAST8_MIN   (-0x80L)
 
#define DUK_INT_FAST8_MAX   0x7fL
 
#define DUK_UINT16_MIN   0UL
 
#define DUK_UINT16_MAX   0xffffUL
 
#define DUK_INT16_MIN   (-0x7fffL - 1L)
 
#define DUK_INT16_MAX   0x7fffL
 
#define DUK_UINT_LEAST16_MIN   0UL
 
#define DUK_UINT_LEAST16_MAX   0xffffUL
 
#define DUK_INT_LEAST16_MIN   (-0x7fffL - 1L)
 
#define DUK_INT_LEAST16_MAX   0x7fffL
 
#define DUK_UINT_FAST16_MIN   0UL
 
#define DUK_UINT_FAST16_MAX   0xffffUL
 
#define DUK_INT_FAST16_MIN   (-0x7fffL - 1L)
 
#define DUK_INT_FAST16_MAX   0x7fffL
 
#define DUK_UINT32_MIN   0UL
 
#define DUK_UINT32_MAX   0xffffffffUL
 
#define DUK_INT32_MIN   (-0x7fffffffL - 1L)
 
#define DUK_INT32_MAX   0x7fffffffL
 
#define DUK_UINT_LEAST32_MIN   0UL
 
#define DUK_UINT_LEAST32_MAX   0xffffffffUL
 
#define DUK_INT_LEAST32_MIN   (-0x7fffffffL - 1L)
 
#define DUK_INT_LEAST32_MAX   0x7fffffffL
 
#define DUK_UINT_FAST32_MIN   0UL
 
#define DUK_UINT_FAST32_MAX   0xffffffffUL
 
#define DUK_INT_FAST32_MIN   (-0x7fffffffL - 1L)
 
#define DUK_INT_FAST32_MAX   0x7fffffffL
 
#define DUK_UINTMAX_MIN   0UL
 
#define DUK_UINTMAX_MAX   0xffffffffUL
 
#define DUK_INTMAX_MIN   (-0x7fffffffL - 1L)
 
#define DUK_INTMAX_MAX   0x7fffffffL
 
#define DUK_SIZE_MAX_COMPUTED
 
#define SIZE_MAX   ((size_t) (-1))
 
#define DUK_SIZE_MIN   0
 
#define DUK_SIZE_MAX   SIZE_MAX
 
#define DUK_INT_MIN   DUK_INT_FAST32_MIN
 
#define DUK_INT_MAX   DUK_INT_FAST32_MAX
 
#define DUK_UINT_MIN   DUK_UINT_FAST32_MIN
 
#define DUK_UINT_MAX   DUK_UINT_FAST32_MAX
 
#define DUK_INT_FAST_MIN   DUK_INT_FAST32_MIN
 
#define DUK_INT_FAST_MAX   DUK_INT_FAST32_MAX
 
#define DUK_UINT_FAST_MIN   DUK_UINT_FAST32_MIN
 
#define DUK_UINT_FAST_MAX   DUK_UINT_FAST32_MAX
 
#define DUK_SMALL_INT_MIN   INT_MIN
 
#define DUK_SMALL_INT_MAX   INT_MAX
 
#define DUK_SMALL_UINT_MIN   0
 
#define DUK_SMALL_UINT_MAX   UINT_MAX
 
#define DUK_SMALL_INT_FAST_MIN   DUK_INT_FAST16_MIN
 
#define DUK_SMALL_INT_FAST_MAX   DUK_INT_FAST16_MAX
 
#define DUK_SMALL_UINT_FAST_MIN   DUK_UINT_FAST16_MIN
 
#define DUK_SMALL_UINT_FAST_MAX   DUK_UINT_FAST16_MAX
 
#define DUK_BOOL_MIN   DUK_SMALL_UINT_MIN
 
#define DUK_BOOL_MAX   DUK_SMALL_UINT_MAX
 
#define DUK_IDX_MIN   DUK_INT_MIN
 
#define DUK_IDX_MAX   DUK_INT_MAX
 
#define DUK_UIDX_MIN   DUK_UINT_MIN
 
#define DUK_UIDX_MAX   DUK_UINT_MAX
 
#define DUK_UARRIDX_MIN   DUK_UINT_MIN
 
#define DUK_UARRIDX_MAX   DUK_UINT_MAX
 
#define DUK_RET_MIN   DUK_SMALL_INT_MIN
 
#define DUK_RET_MAX   DUK_SMALL_INT_MAX
 
#define DUK_ERRCODE_MIN   DUK_INT_MIN
 
#define DUK_ERRCODE_MAX   DUK_INT_MAX
 
#define DUK_CODEPOINT_MIN   DUK_INT_MIN
 
#define DUK_CODEPOINT_MAX   DUK_INT_MAX
 
#define DUK_UCODEPOINT_MIN   DUK_UINT_MIN
 
#define DUK_UCODEPOINT_MAX   DUK_UINT_MAX
 
#define DUK_ABORT   abort
 
#define DUK_JMPBUF_TYPE   jmp_buf
 
#define DUK_SETJMP(jb)   setjmp((jb))
 
#define DUK_LONGJMP(jb)   longjmp((jb), 1)
 
#define DUK_ANSI_MALLOC   malloc
 
#define DUK_ANSI_REALLOC   realloc
 
#define DUK_ANSI_CALLOC   calloc
 
#define DUK_ANSI_FREE   free
 
#define DUK_MEMCPY   memcpy
 
#define DUK_MEMMOVE   memmove
 
#define DUK_MEMCMP   memcmp
 
#define DUK_MEMSET   memset
 
#define DUK_STRLEN   strlen
 
#define DUK_STRCMP   strcmp
 
#define DUK_STRNCMP   strncmp
 
#define DUK_SPRINTF   sprintf
 
#define DUK_SNPRINTF   snprintf
 
#define DUK_VSPRINTF   vsprintf
 
#define DUK_VSNPRINTF   vsnprintf
 
#define DUK_SSCANF   sscanf
 
#define DUK_VSSCANF   vsscanf
 
#define DUK_MEMZERO(p, n)   DUK_MEMSET((p), 0, (n))
 
#define DUK_DOUBLE_INFINITY   (1.0 / 0.0)
 
#define DUK_DOUBLE_NAN   (0.0 / 0.0)
 
#define DUK_F_USE_REPL_ALL
 
#define DUK_USE_REPL_FPCLASSIFY
 
#define DUK_USE_REPL_SIGNBIT
 
#define DUK_USE_REPL_ISFINITE
 
#define DUK_USE_REPL_ISNAN
 
#define DUK_USE_REPL_ISINF
 
#define DUK_FPCLASSIFY   duk_repl_fpclassify
 
#define DUK_SIGNBIT   duk_repl_signbit
 
#define DUK_ISFINITE   duk_repl_isfinite
 
#define DUK_ISNAN   duk_repl_isnan
 
#define DUK_ISINF   duk_repl_isinf
 
#define DUK_FP_NAN   0
 
#define DUK_FP_INFINITE   1
 
#define DUK_FP_ZERO   2
 
#define DUK_FP_SUBNORMAL   3
 
#define DUK_FP_NORMAL   4
 
#define DUK_FABS   fabs
 
#define DUK_FLOOR   floor
 
#define DUK_CEIL   ceil
 
#define DUK_FMOD   fmod
 
#define DUK_POW   pow
 
#define DUK_ACOS   acos
 
#define DUK_ASIN   asin
 
#define DUK_ATAN   atan
 
#define DUK_ATAN2   atan2
 
#define DUK_SIN   sin
 
#define DUK_COS   cos
 
#define DUK_TAN   tan
 
#define DUK_EXP   exp
 
#define DUK_LOG   log
 
#define DUK_SQRT   sqrt
 
#define DUK_USE_PARANOID_DATE_COMPUTATION
 
#define DUK_USE_ALIGN_BY   8
 
#define DUK_VA_COPY(dest, src)   do { (dest) = (src); } while (0)
 
#define DUK_MACRO_STRINGIFY_HELPER(x)   #x
 
#define DUK_MACRO_STRINGIFY(x)   DUK_MACRO_STRINGIFY_HELPER(x)
 
#define DUK_CAUSE_SEGFAULT()   do { *((volatile duk_uint32_t *) NULL) = (duk_uint32_t) 0xdeadbeefUL; } while (0)
 
#define DUK_UNREF(x)   do { (void) (x); } while (0)
 
#define DUK_NORETURN(decl)   decl
 
#define DUK_WO_NORETURN(stmt)   do { stmt } while (0)
 
#define DUK_UNREACHABLE()   do { } while (0)
 
#define DUK_LOSE_CONST(src)   ((void *) (duk_uintptr_t) (src))
 
#define DUK_LIKELY(x)   (x)
 
#define DUK_UNLIKELY(x)   (x)
 
#define DUK_UNPREDICTABLE(x)   (x)
 
#define DUK_NOINLINE   /*nop*/
 
#define DUK_INLINE   /*nop*/
 
#define DUK_ALWAYS_INLINE   /*nop*/
 
#define DUK_HOT   /*nop*/
 
#define DUK_COLD   /*nop*/
 
#define DUK_EXTERNAL_DECL   extern
 
#define DUK_EXTERNAL   /*empty*/
 
#define DUK_INTERNAL_DECL   extern
 
#define DUK_INTERNAL   /*empty*/
 
#define DUK_LOCAL_DECL   static
 
#define DUK_LOCAL   static
 
#define DUK_FILE_MACRO   __FILE__
 
#define DUK_LINE_MACRO   __LINE__
 
#define DUK_FUNC_MACRO   "unknown"
 
#define DUK_BSWAP32(x)
 
#define DUK_BSWAP16(x)
 
#define DUK_U64_CONSTANT(x)   x##ULL
 
#define DUK_I64_CONSTANT(x)   x##LL
 
#define DUK_NOINLINE   /*nop*/
 
#define DUK_INLINE   /*nop*/
 
#define DUK_ALWAYS_INLINE   /*nop*/
 
#define DUK_USE_HOBJECT_LAYOUT_2
 
#define DUK_USE_ARRAY_BUILTIN
 
#define DUK_USE_ARRAY_FASTPATH
 
#define DUK_USE_ARRAY_PROP_FASTPATH
 
#define DUK_USE_AUGMENT_ERROR_CREATE
 
#define DUK_USE_AUGMENT_ERROR_THROW
 
#define DUK_USE_AVOID_PLATFORM_FUNCPTRS
 
#define DUK_USE_BASE64_FASTPATH
 
#define DUK_USE_BASE64_SUPPORT
 
#define DUK_USE_BOOLEAN_BUILTIN
 
#define DUK_USE_BUFFEROBJECT_SUPPORT
 
#define DUK_USE_BYTECODE_DUMP_SUPPORT
 
#define DUK_USE_CACHE_ACTIVATION
 
#define DUK_USE_CACHE_CATCHER
 
#define DUK_USE_CALLSTACK_LIMIT   10000
 
#define DUK_USE_COMMONJS_MODULES
 
#define DUK_USE_COMPILER_RECLIMIT   2500
 
#define DUK_USE_COROUTINE_SUPPORT
 
#define DUK_USE_DATE_BUILTIN
 
#define DUK_USE_DEBUGGER_THROW_NOTIFY
 
#define DUK_USE_DEBUG_BUFSIZE   65536L
 
#define DUK_USE_DEBUG_LEVEL   0
 
#define DUK_USE_DOUBLE_LINKED_HEAP
 
#define DUK_USE_DUKTAPE_BUILTIN
 
#define DUK_USE_ENCODING_BUILTINS
 
#define DUK_USE_ERRCREATE
 
#define DUK_USE_ERRTHROW
 
#define DUK_USE_ES6
 
#define DUK_USE_ES6_OBJECT_PROTO_PROPERTY
 
#define DUK_USE_ES6_OBJECT_SETPROTOTYPEOF
 
#define DUK_USE_ES6_PROXY
 
#define DUK_USE_ES6_REGEXP_SYNTAX
 
#define DUK_USE_ES6_UNICODE_ESCAPE
 
#define DUK_USE_ES7
 
#define DUK_USE_ES7_EXP_OPERATOR
 
#define DUK_USE_ES8
 
#define DUK_USE_ES9
 
#define DUK_USE_ESBC_LIMITS
 
#define DUK_USE_ESBC_MAX_BYTES   2147418112L
 
#define DUK_USE_ESBC_MAX_LINENUMBER   2147418112L
 
#define DUK_USE_EXEC_REGCONST_OPTIMIZE
 
#define DUK_USE_FAST_REFCOUNT_DEFAULT
 
#define DUK_USE_FATAL_MAXLEN   128
 
#define DUK_USE_FINALIZER_SUPPORT
 
#define DUK_USE_FUNCTION_BUILTIN
 
#define DUK_USE_FUNC_FILENAME_PROPERTY
 
#define DUK_USE_FUNC_NAME_PROPERTY
 
#define DUK_USE_GLOBAL_BUILTIN
 
#define DUK_USE_HEX_FASTPATH
 
#define DUK_USE_HEX_SUPPORT
 
#define DUK_USE_HOBJECT_ARRAY_ABANDON_LIMIT   2
 
#define DUK_USE_HOBJECT_ARRAY_FAST_RESIZE_LIMIT   9
 
#define DUK_USE_HOBJECT_ARRAY_MINGROW_ADD   16
 
#define DUK_USE_HOBJECT_ARRAY_MINGROW_DIVISOR   8
 
#define DUK_USE_HOBJECT_ENTRY_MINGROW_ADD   16
 
#define DUK_USE_HOBJECT_ENTRY_MINGROW_DIVISOR   8
 
#define DUK_USE_HOBJECT_HASH_PART
 
#define DUK_USE_HOBJECT_HASH_PROP_LIMIT   8
 
#define DUK_USE_HSTRING_ARRIDX
 
#define DUK_USE_HSTRING_CLEN
 
#define DUK_USE_HSTRING_LAZY_CLEN
 
#define DUK_USE_HTML_COMMENTS
 
#define DUK_USE_IDCHAR_FASTPATH
 
#define DUK_USE_JC
 
#define DUK_USE_JSON_BUILTIN
 
#define DUK_USE_JSON_DECNUMBER_FASTPATH
 
#define DUK_USE_JSON_DECSTRING_FASTPATH
 
#define DUK_USE_JSON_DEC_RECLIMIT   1000
 
#define DUK_USE_JSON_EATWHITE_FASTPATH
 
#define DUK_USE_JSON_ENC_RECLIMIT   1000
 
#define DUK_USE_JSON_QUOTESTRING_FASTPATH
 
#define DUK_USE_JSON_SUPPORT
 
#define DUK_USE_JX
 
#define DUK_USE_LEXER_SLIDING_WINDOW
 
#define DUK_USE_LITCACHE_SIZE   256
 
#define DUK_USE_MARK_AND_SWEEP_RECLIMIT   256
 
#define DUK_USE_MATH_BUILTIN
 
#define DUK_USE_NATIVE_CALL_RECLIMIT   1000
 
#define DUK_USE_NONSTD_ARRAY_SPLICE_DELCOUNT
 
#define DUK_USE_NONSTD_FUNC_STMT
 
#define DUK_USE_NONSTD_GETTER_KEY_ARGUMENT
 
#define DUK_USE_NONSTD_JSON_ESC_U2028_U2029
 
#define DUK_USE_NONSTD_SETTER_KEY_ARGUMENT
 
#define DUK_USE_NONSTD_STRING_FROMCHARCODE_32BIT
 
#define DUK_USE_NUMBER_BUILTIN
 
#define DUK_USE_OBJECT_BUILTIN
 
#define DUK_USE_PC2LINE
 
#define DUK_USE_PERFORMANCE_BUILTIN
 
#define DUK_USE_PROVIDE_DEFAULT_ALLOC_FUNCTIONS
 
#define DUK_USE_REFCOUNT32
 
#define DUK_USE_REFERENCE_COUNTING
 
#define DUK_USE_REFLECT_BUILTIN
 
#define DUK_USE_REGEXP_CANON_BITMAP
 
#define DUK_USE_REGEXP_COMPILER_RECLIMIT   10000
 
#define DUK_USE_REGEXP_EXECUTOR_RECLIMIT   10000
 
#define DUK_USE_REGEXP_SUPPORT
 
#define DUK_USE_ROM_PTRCOMP_FIRST   63488L
 
#define DUK_USE_SECTION_B
 
#define DUK_USE_SHEBANG_COMMENTS
 
#define DUK_USE_SOURCE_NONBMP
 
#define DUK_USE_STRHASH_SKIP_SHIFT   5
 
#define DUK_USE_STRICT_DECL
 
#define DUK_USE_STRING_BUILTIN
 
#define DUK_USE_STRTAB_GROW_LIMIT   17
 
#define DUK_USE_STRTAB_MAXSIZE   268435456L
 
#define DUK_USE_STRTAB_MINSIZE   1024
 
#define DUK_USE_STRTAB_RESIZE_CHECK_MASK   255
 
#define DUK_USE_STRTAB_SHRINK_LIMIT   6
 
#define DUK_USE_TAILCALL
 
#define DUK_USE_TARGET_INFO   "unknown"
 
#define DUK_USE_TRACEBACKS
 
#define DUK_USE_TRACEBACK_DEPTH   10
 
#define DUK_USE_USER_DECLARE()   /* no user declarations */
 
#define DUK_USE_VALSTACK_GROW_SHIFT   2
 
#define DUK_USE_VALSTACK_LIMIT   1000000L
 
#define DUK_USE_VALSTACK_SHRINK_CHECK_SHIFT   2
 
#define DUK_USE_VALSTACK_SHRINK_SLACK_SHIFT   4
 
#define DUK_USE_VERBOSE_ERRORS
 
#define DUK_USE_VERBOSE_EXECUTOR_ERRORS
 
#define DUK_USE_VOLUNTARY_GC
 
#define DUK_USE_ZERO_BUFFER_DATA
 

Typedefs

typedef duk_uint8_t duk_uint_least8_t
 
typedef duk_int8_t duk_int_least8_t
 
typedef duk_uint16_t duk_uint_least16_t
 
typedef duk_int16_t duk_int_least16_t
 
typedef duk_uint32_t duk_uint_least32_t
 
typedef duk_int32_t duk_int_least32_t
 
typedef duk_uint8_t duk_uint_fast8_t
 
typedef duk_int8_t duk_int_fast8_t
 
typedef duk_uint16_t duk_uint_fast16_t
 
typedef duk_int16_t duk_int_fast16_t
 
typedef duk_uint32_t duk_uint_fast32_t
 
typedef duk_int32_t duk_int_fast32_t
 
typedef duk_uint32_t duk_uintmax_t
 
typedef duk_int32_t duk_intmax_t
 
typedef size_t duk_size_t
 
typedef ptrdiff_t duk_ptrdiff_t
 
typedef duk_int_fast32_t duk_int_t
 
typedef duk_uint_fast32_t duk_uint_t
 
typedef duk_int_fast32_t duk_int_fast_t
 
typedef duk_uint_fast32_t duk_uint_fast_t
 
typedef int duk_small_int_t
 
typedef unsigned int duk_small_uint_t
 
typedef duk_int_fast16_t duk_small_int_fast_t
 
typedef duk_uint_fast16_t duk_small_uint_fast_t
 
typedef duk_small_uint_t duk_bool_t
 
typedef duk_int_t duk_idx_t
 
typedef duk_uint_t duk_uidx_t
 
typedef duk_uint_t duk_uarridx_t
 
typedef duk_small_int_t duk_ret_t
 
typedef duk_int_t duk_errcode_t
 
typedef duk_int_t duk_codepoint_t
 
typedef duk_uint_t duk_ucodepoint_t
 
typedef float duk_float_t
 
typedef double duk_double_t
 
typedef struct duk_hthread duk_context
 

Macro Definition Documentation

◆ DUK_ABORT

#define DUK_ABORT   abort

Definition at line 2055 of file duk_config.h.

Referenced by duk_default_fatal_handler().

◆ DUK_ACOS

#define DUK_ACOS   acos

Definition at line 2293 of file duk_config.h.

Referenced by duk__acos().

◆ DUK_ALWAYS_INLINE [1/2]

#define DUK_ALWAYS_INLINE   /*nop*/

Definition at line 2717 of file duk_config.h.

Referenced by duk_regexp_match_force_global(), and duk_util_tinyrandom_get_double().

◆ DUK_ALWAYS_INLINE [2/2]

#define DUK_ALWAYS_INLINE   /*nop*/

Definition at line 2717 of file duk_config.h.

◆ DUK_ANSI_CALLOC

#define DUK_ANSI_CALLOC   calloc

Definition at line 2082 of file duk_config.h.

◆ DUK_ANSI_FREE

#define DUK_ANSI_FREE   free

Definition at line 2085 of file duk_config.h.

Referenced by duk_default_free_function().

◆ DUK_ANSI_MALLOC

#define DUK_ANSI_MALLOC   malloc

Definition at line 2076 of file duk_config.h.

Referenced by duk_default_alloc_function().

◆ DUK_ANSI_REALLOC

#define DUK_ANSI_REALLOC   realloc

Definition at line 2079 of file duk_config.h.

Referenced by duk_default_realloc_function().

◆ DUK_ASIN

#define DUK_ASIN   asin

Definition at line 2296 of file duk_config.h.

Referenced by duk__asin().

◆ DUK_ATAN

#define DUK_ATAN   atan

Definition at line 2299 of file duk_config.h.

Referenced by duk__atan().

◆ DUK_ATAN2

#define DUK_ATAN2   atan2

Definition at line 2302 of file duk_config.h.

Referenced by duk__atan2_fixed().

◆ DUK_BOOL_MAX

#define DUK_BOOL_MAX   DUK_SMALL_UINT_MAX

Definition at line 1962 of file duk_config.h.

◆ DUK_BOOL_MIN

#define DUK_BOOL_MIN   DUK_SMALL_UINT_MIN

Definition at line 1961 of file duk_config.h.

◆ DUK_BSWAP16

#define DUK_BSWAP16 (   x)
Value:
((duk_uint16_t) (x) >> 8) | \
((duk_uint16_t) (x) << 8)
int x
Coordinate of left padding edge relative to parent box, or relative to ancestor that contains this bo...
Definition: box.h:173

Definition at line 2676 of file duk_config.h.

Referenced by duk_bi_buffer_readfield(), duk_bi_buffer_writefield(), and duk_regexp_match_force_global().

◆ DUK_BSWAP32

#define DUK_BSWAP32 (   x)
Value:
((((duk_uint32_t) (x)) >> 24) | \
((((duk_uint32_t) (x)) >> 8) & 0xff00UL) | \
((((duk_uint32_t) (x)) << 8) & 0xff0000UL) | \
(((duk_uint32_t) (x)) << 24))
int x
Coordinate of left padding edge relative to parent box, or relative to ancestor that contains this bo...
Definition: box.h:173

Definition at line 2669 of file duk_config.h.

Referenced by duk_bi_buffer_readfield(), duk_bi_buffer_writefield(), and duk_regexp_match_force_global().

◆ DUK_CAUSE_SEGFAULT

#define DUK_CAUSE_SEGFAULT ( )    do { *((volatile duk_uint32_t *) NULL) = (duk_uint32_t) 0xdeadbeefUL; } while (0)

Definition at line 2552 of file duk_config.h.

◆ DUK_CEIL

#define DUK_CEIL   ceil

Definition at line 2284 of file duk_config.h.

Referenced by duk__ceil(), and duk__trunc().

◆ DUK_CODEPOINT_MAX

#define DUK_CODEPOINT_MAX   DUK_INT_MAX

Definition at line 2006 of file duk_config.h.

◆ DUK_CODEPOINT_MIN

#define DUK_CODEPOINT_MIN   DUK_INT_MIN

Definition at line 2005 of file duk_config.h.

◆ DUK_COLD

#define DUK_COLD   /*nop*/

◆ DUK_COS

#define DUK_COS   cos

Definition at line 2308 of file duk_config.h.

Referenced by duk__cos().

◆ DUK_DOUBLE_INFINITY

#define DUK_DOUBLE_INFINITY   (1.0 / 0.0)

◆ DUK_DOUBLE_NAN

#define DUK_DOUBLE_NAN   (0.0 / 0.0)

◆ DUK_ERRCODE_MAX

#define DUK_ERRCODE_MAX   DUK_INT_MAX

Definition at line 1994 of file duk_config.h.

◆ DUK_ERRCODE_MIN

#define DUK_ERRCODE_MIN   DUK_INT_MIN

Definition at line 1993 of file duk_config.h.

◆ DUK_EXP

#define DUK_EXP   exp

Definition at line 2314 of file duk_config.h.

Referenced by duk__exp().

◆ DUK_EXTERNAL

#define DUK_EXTERNAL   /*empty*/

◆ DUK_EXTERNAL_DECL

#define DUK_EXTERNAL_DECL   extern

Definition at line 2626 of file duk_config.h.

◆ DUK_F_USE_REPL_ALL

#define DUK_F_USE_REPL_ALL

Definition at line 2214 of file duk_config.h.

◆ DUK_FABS

#define DUK_FABS   fabs

◆ DUK_FILE_MACRO

#define DUK_FILE_MACRO   __FILE__

Definition at line 2653 of file duk_config.h.

◆ DUK_FLOOR

#define DUK_FLOOR   floor

◆ DUK_FMOD

#define DUK_FMOD   fmod

◆ DUK_FP_INFINITE

#define DUK_FP_INFINITE   1

◆ DUK_FP_NAN

#define DUK_FP_NAN   0

◆ DUK_FP_NORMAL

#define DUK_FP_NORMAL   4

Definition at line 2255 of file duk_config.h.

Referenced by duk_js_toint32(), duk_js_touint32(), and duk_repl_fpclassify().

◆ DUK_FP_SUBNORMAL

#define DUK_FP_SUBNORMAL   3

Definition at line 2254 of file duk_config.h.

Referenced by duk_repl_fpclassify().

◆ DUK_FP_ZERO

#define DUK_FP_ZERO   2

◆ DUK_FPCLASSIFY

#define DUK_FPCLASSIFY   duk_repl_fpclassify

◆ DUK_FUNC_MACRO

#define DUK_FUNC_MACRO   "unknown"

Definition at line 2664 of file duk_config.h.

◆ DUK_HOT

#define DUK_HOT   /*nop*/

Definition at line 2619 of file duk_config.h.

Referenced by duk_hstring_char_code_at_raw(), and duk_hstring_get_charlen().

◆ DUK_I64_CONSTANT

#define DUK_I64_CONSTANT (   x)    x##LL

◆ DUK_IDX_MAX

#define DUK_IDX_MAX   DUK_INT_MAX

Definition at line 1967 of file duk_config.h.

◆ DUK_IDX_MIN

#define DUK_IDX_MIN   DUK_INT_MIN

Definition at line 1966 of file duk_config.h.

◆ DUK_INLINE [1/2]

#define DUK_INLINE   /*nop*/

Definition at line 2716 of file duk_config.h.

Referenced by duk_double_div().

◆ DUK_INLINE [2/2]

#define DUK_INLINE   /*nop*/

Definition at line 2716 of file duk_config.h.

◆ DUK_INT16_MAX

#define DUK_INT16_MAX   0x7fffL

Definition at line 1801 of file duk_config.h.

◆ DUK_INT16_MIN

#define DUK_INT16_MIN   (-0x7fffL - 1L)

Definition at line 1800 of file duk_config.h.

◆ DUK_INT32_MAX

#define DUK_INT32_MAX   0x7fffffffL

Definition at line 1813 of file duk_config.h.

Referenced by duk_double_to_int32_t().

◆ DUK_INT32_MIN

#define DUK_INT32_MIN   (-0x7fffffffL - 1L)

Definition at line 1812 of file duk_config.h.

Referenced by duk_double_to_int32_t().

◆ DUK_INT8_MAX

#define DUK_INT8_MAX   0x7fL

Definition at line 1789 of file duk_config.h.

◆ DUK_INT8_MIN

#define DUK_INT8_MIN   (-0x80L)

Definition at line 1788 of file duk_config.h.

◆ DUK_INT_FAST16_MAX

#define DUK_INT_FAST16_MAX   0x7fffL

Definition at line 1809 of file duk_config.h.

◆ DUK_INT_FAST16_MIN

#define DUK_INT_FAST16_MIN   (-0x7fffL - 1L)

Definition at line 1808 of file duk_config.h.

◆ DUK_INT_FAST32_MAX

#define DUK_INT_FAST32_MAX   0x7fffffffL

Definition at line 1821 of file duk_config.h.

◆ DUK_INT_FAST32_MIN

#define DUK_INT_FAST32_MIN   (-0x7fffffffL - 1L)

Definition at line 1820 of file duk_config.h.

◆ DUK_INT_FAST8_MAX

#define DUK_INT_FAST8_MAX   0x7fL

Definition at line 1797 of file duk_config.h.

◆ DUK_INT_FAST8_MIN

#define DUK_INT_FAST8_MIN   (-0x80L)

Definition at line 1796 of file duk_config.h.

◆ DUK_INT_FAST_MAX

#define DUK_INT_FAST_MAX   DUK_INT_FAST32_MAX

Definition at line 1935 of file duk_config.h.

◆ DUK_INT_FAST_MIN

#define DUK_INT_FAST_MIN   DUK_INT_FAST32_MIN

Definition at line 1934 of file duk_config.h.

◆ DUK_INT_LEAST16_MAX

#define DUK_INT_LEAST16_MAX   0x7fffL

Definition at line 1805 of file duk_config.h.

◆ DUK_INT_LEAST16_MIN

#define DUK_INT_LEAST16_MIN   (-0x7fffL - 1L)

Definition at line 1804 of file duk_config.h.

◆ DUK_INT_LEAST32_MAX

#define DUK_INT_LEAST32_MAX   0x7fffffffL

Definition at line 1817 of file duk_config.h.

◆ DUK_INT_LEAST32_MIN

#define DUK_INT_LEAST32_MIN   (-0x7fffffffL - 1L)

Definition at line 1816 of file duk_config.h.

◆ DUK_INT_LEAST8_MAX

#define DUK_INT_LEAST8_MAX   0x7fL

Definition at line 1793 of file duk_config.h.

◆ DUK_INT_LEAST8_MIN

#define DUK_INT_LEAST8_MIN   (-0x80L)

Definition at line 1792 of file duk_config.h.

◆ DUK_INT_MAX

#define DUK_INT_MAX   DUK_INT_FAST32_MAX

◆ DUK_INT_MIN

#define DUK_INT_MIN   DUK_INT_FAST32_MIN

◆ DUK_INTERNAL

#define DUK_INTERNAL   /*empty*/

Definition at line 2642 of file duk_config.h.

Referenced by duk__declvar_helper(), duk__delvar_helper(), duk__enc_allow_into_proplist(), duk__get_identifier_reference(), duk__getvar_helper(), duk__init_heap_thread(), duk__js_instanceof_helper(), duk__lexer_skip_to_endofline(), duk__putvar_helper(), duk_bi_date_get_local_tzoffset_gmtime(), duk_bi_date_prototype_set_time(), duk_bi_error_prototype_linenumber_getter(), duk_bi_json_parse_helper(), duk_bi_native_function_name(), duk_bi_performance_now(), duk_bi_pointer_prototype_tostring_shared(), duk_bi_string_prototype_includes(), duk_bi_type_error_thrower(), duk_bi_typedarray_bytelength_getter(), duk_bi_typedarray_constructor(), duk_concat(), duk_create_activation_environment_record(), duk_del_prop_stridx(), duk_double_div(), duk_err_create_and_throw(), duk_err_handle_error(), duk_err_type_invalid_trap_result(), duk_error_prototype_from_code(), duk_get_type(), duk_has_prop_stridx(), duk_heap_remove_from_finalize_list(), duk_heap_run_finalizer(), duk_hobject_get_length(), duk_hobject_object_get_own_property_descriptor(), duk_hobject_prepare_property_descriptor(), duk_hobject_refzero_norz(), duk_hobject_resize_entrypart(), duk_hstring_char_code_at_raw(), duk_hstring_get_charlen(), duk_hthread_activation_alloc(), duk_hthread_catcher_alloc(), duk_hthread_get_activation_for_level(), duk_hthread_terminate(), duk_js_getvar_envrec(), duk_js_push_closure(), duk_js_putvar_envrec(), duk_js_string_compare(), duk_js_to_arrayindex_string(), duk_pop_n(), duk_pop_n_nodecref_unsafe(), duk_pop_nodecref_unsafe(), duk_pop_undefined(), duk_push_symbol_descriptive_string(), duk_regexp_match_force_global(), duk_repl_isinf(), duk_require_pointer(), duk_set_top(), duk_to_primitive(), duk_to_property_key_hstring(), duk_unicode_decode_xutf8_checked(), duk_unicode_get_xutf8_length(), duk_util_tinyrandom_get_double(), and duk_xdef_prop_stridx_short_raw().

◆ DUK_INTERNAL_DECL

#define DUK_INTERNAL_DECL   extern

Definition at line 2635 of file duk_config.h.

◆ DUK_INTMAX_MAX

#define DUK_INTMAX_MAX   0x7fffffffL

Definition at line 1867 of file duk_config.h.

◆ DUK_INTMAX_MIN

#define DUK_INTMAX_MIN   (-0x7fffffffL - 1L)

Definition at line 1866 of file duk_config.h.

◆ DUK_ISFINITE

#define DUK_ISFINITE   duk_repl_isfinite

◆ DUK_ISINF

#define DUK_ISINF   duk_repl_isinf

◆ DUK_ISNAN

#define DUK_ISNAN   duk_repl_isnan

◆ DUK_JMPBUF_TYPE

#define DUK_JMPBUF_TYPE   jmp_buf

Definition at line 2059 of file duk_config.h.

◆ DUK_LIKELY

#define DUK_LIKELY (   x)    (x)

Definition at line 2599 of file duk_config.h.

Referenced by duk__base64_decode_helper(), duk__base64_encode_helper(), duk__call_c_recursion_limit_check(), duk__call_callstack_limit_check(), duk__call_env_setup(), duk__call_setup_act_not_tailcall(), duk__call_thread_state_update(), duk__coerce_nonstrict_this_binding(), duk__dec_decode_hex_escape(), duk__dec_string(), duk__decode_hex_escape(), duk__emit_esc_auto_fast(), duk__enc_allow_into_proplist(), duk__enc_double(), duk__enc_quote_string(), duk__fill_lexer_buffer(), duk__get_buffer_helper(), duk__get_hobject_promote_mask_raw(), duk__handle_call_raw(), duk__hexval_validate(), duk__hstring_get_charlen_slowpath(), duk__init_lexer_window(), duk__is_hex_digit(), duk__js_execute_bytecode_inner(), duk__resolve_target_fastpath_check(), duk__resolve_target_func_and_this_binding(), duk__vm_arith_add(), duk__vm_arith_binary_op(), duk__vm_arith_unary_op(), duk_bi_object_constructor_keys_shared(), duk_check_type_mask(), duk_double_to_float_t(), duk_get_tval(), duk_hbuffer_resize(), duk_heap_mem_alloc(), duk_heap_mem_alloc_checked(), duk_heap_mem_alloc_checked_zeroed(), duk_heap_mem_alloc_zeroed(), duk_heap_mem_realloc(), duk_heap_mem_realloc_indirect(), duk_heap_process_finalize_list(), duk_heap_strcache_offset_char2byte(), duk_hobject_enumerator_create(), duk_hobject_find_existing_entry(), duk_hobject_proxy_check(), duk_hobject_refcount_finalize_norz(), duk_hstring_char_code_at_raw(), duk_hstring_get_charlen(), duk_hthread_activation_alloc(), duk_hthread_catcher_alloc(), duk_is_symbol(), duk_js_compare_helper(), duk_normalize_index(), duk_require_boolean(), duk_require_normalize_index(), duk_require_tval(), duk_unicode_re_canonicalize_char(), duk_unicode_unvalidated_utf8_length(), duk_unpack_array_like(), duk_valstack_grow_check_nothrow(), and duk_valstack_grow_check_throw().

◆ DUK_LINE_MACRO

#define DUK_LINE_MACRO   __LINE__

Definition at line 2656 of file duk_config.h.

◆ DUK_LOCAL

#define DUK_LOCAL   static

Definition at line 2649 of file duk_config.h.

Referenced by duk__add_traceback(), duk__append_7bit(), duk__append_reop(), duk__array_sort_swap(), duk__base64_decode_helper(), duk__base64_encode_helper(), duk__bi_add_small(), duk__bi_compare(), duk__bi_sub(), duk__call_callstack_limit_check(), duk__compact_objects(), duk__const_needs_refcount(), duk__emit_b_c(), duk__emit_load_int32(), duk__enc_allow_into_proplist(), duk__enc_buffer_data_hex(), duk__enc_buffer_jx_jc(), duk__enc_bufobj(), duk__enc_double(), duk__expr_toregconst(), duk__exprtop(), duk__exprtop_toreg(), duk__exprtop_toregconst(), duk__get_identifier_reference(), duk__getid_activation_regs(), duk__getid_open_decl_env_regs(), duk__handle_oldenv_for_call(), duk__handle_return(), duk__hstring_get_charlen_slowpath(), duk__init_heap_thread(), duk__init_lexer_window(), duk__ivalue_toplain_ignore(), duk__ivalue_toreg(), duk__mark_finalize_list(), duk__protected_compact_object(), duk__re_canon_next_discontinuity(), duk__slow_case_conversion(), duk__strtable_do_intern(), duk__strtable_resize_check(), duk__to_new_array_length_checked(), duk__tval_number_to_arr_idx(), duk_bi_date_get_local_tzoffset_gmtime(), duk_bi_string_prototype_includes(), duk_bi_type_error_thrower(), duk_err_augment_error_throw(), duk_err_longjmp(), duk_err_type_invalid_trap_result(), duk_get_type(), duk_heap_alloc(), duk_heap_free(), duk_hobject_get_internal_value_string(), duk_hthread_catcher_free(), duk_hthread_catcher_unwind_nolexenv_norz(), duk_js_close_environment_record(), duk_js_delvar_activation(), duk_js_getvar_activation(), duk_js_putvar_activation(), duk_js_string_compare(), duk_lexer_parse_re_token(), duk_push_proxy(), duk_regexp_match_force_global(), duk_unicode_is_letter(), and duk_util_tinyrandom_get_double().

◆ DUK_LOCAL_DECL

#define DUK_LOCAL_DECL   static

◆ DUK_LOG

#define DUK_LOG   log

Definition at line 2317 of file duk_config.h.

Referenced by duk__log(), duk__log10(), and duk__log2().

◆ DUK_LONGJMP

#define DUK_LONGJMP (   jb)    longjmp((jb), 1)

Definition at line 2061 of file duk_config.h.

Referenced by duk_err_longjmp().

◆ DUK_LOSE_CONST

#define DUK_LOSE_CONST (   src)    ((void *) (duk_uintptr_t) (src))

Definition at line 2595 of file duk_config.h.

Referenced by duk__strtable_do_intern(), and duk_get_tval_or_unused().

◆ DUK_MACRO_STRINGIFY

#define DUK_MACRO_STRINGIFY (   x)    DUK_MACRO_STRINGIFY_HELPER(x)

Definition at line 2545 of file duk_config.h.

◆ DUK_MACRO_STRINGIFY_HELPER

#define DUK_MACRO_STRINGIFY_HELPER (   x)    #x

Definition at line 2544 of file duk_config.h.

◆ DUK_MEMCMP

#define DUK_MEMCMP   memcmp

Definition at line 2123 of file duk_config.h.

Referenced by duk_double_div(), and duk_memcmp().

◆ DUK_MEMCPY

#define DUK_MEMCPY   memcpy

Definition at line 2116 of file duk_config.h.

◆ DUK_MEMMOVE

#define DUK_MEMMOVE   memmove

Definition at line 2120 of file duk_config.h.

◆ DUK_MEMSET

#define DUK_MEMSET   memset

Definition at line 2126 of file duk_config.h.

◆ DUK_MEMZERO

#define DUK_MEMZERO (   p,
 
)    DUK_MEMSET((p), 0, (n))

Definition at line 2158 of file duk_config.h.

◆ DUK_NOINLINE [1/2]

#define DUK_NOINLINE   /*nop*/

◆ DUK_NOINLINE [2/2]

#define DUK_NOINLINE   /*nop*/

Definition at line 2715 of file duk_config.h.

◆ DUK_NORETURN

#define DUK_NORETURN (   decl )    decl

Definition at line 2578 of file duk_config.h.

◆ DUK_POW

#define DUK_POW   pow

Definition at line 2290 of file duk_config.h.

Referenced by duk__cbrt(), and duk_js_arith_pow().

◆ DUK_RET_MAX

#define DUK_RET_MAX   DUK_SMALL_INT_MAX

Definition at line 1987 of file duk_config.h.

◆ DUK_RET_MIN

#define DUK_RET_MIN   DUK_SMALL_INT_MIN

Definition at line 1986 of file duk_config.h.

◆ DUK_SETJMP

#define DUK_SETJMP (   jb)    setjmp((jb))

Definition at line 2060 of file duk_config.h.

Referenced by duk_handle_safe_call(), and duk_js_execute_bytecode().

◆ DUK_SIGNBIT

#define DUK_SIGNBIT   duk_repl_signbit

◆ DUK_SIN

#define DUK_SIN   sin

Definition at line 2305 of file duk_config.h.

Referenced by duk__sin().

◆ DUK_SIZE_MAX

#define DUK_SIZE_MAX   SIZE_MAX

Definition at line 1900 of file duk_config.h.

Referenced by duk__resize_valstack(), duk_hobject_get_length(), and duk_pack().

◆ DUK_SIZE_MAX_COMPUTED

#define DUK_SIZE_MAX_COMPUTED

Definition at line 1896 of file duk_config.h.

◆ DUK_SIZE_MIN

#define DUK_SIZE_MIN   0

Definition at line 1899 of file duk_config.h.

◆ DUK_SMALL_INT_FAST_MAX

#define DUK_SMALL_INT_FAST_MAX   DUK_INT_FAST16_MAX

Definition at line 1955 of file duk_config.h.

◆ DUK_SMALL_INT_FAST_MIN

#define DUK_SMALL_INT_FAST_MIN   DUK_INT_FAST16_MIN

Definition at line 1954 of file duk_config.h.

◆ DUK_SMALL_INT_MAX

#define DUK_SMALL_INT_MAX   INT_MAX

Definition at line 1945 of file duk_config.h.

◆ DUK_SMALL_INT_MIN

#define DUK_SMALL_INT_MIN   INT_MIN

Definition at line 1944 of file duk_config.h.

◆ DUK_SMALL_UINT_FAST_MAX

#define DUK_SMALL_UINT_FAST_MAX   DUK_UINT_FAST16_MAX

Definition at line 1957 of file duk_config.h.

◆ DUK_SMALL_UINT_FAST_MIN

#define DUK_SMALL_UINT_FAST_MIN   DUK_UINT_FAST16_MIN

Definition at line 1956 of file duk_config.h.

◆ DUK_SMALL_UINT_MAX

#define DUK_SMALL_UINT_MAX   UINT_MAX

Definition at line 1947 of file duk_config.h.

◆ DUK_SMALL_UINT_MIN

#define DUK_SMALL_UINT_MIN   0

Definition at line 1946 of file duk_config.h.

◆ DUK_SNPRINTF

#define DUK_SNPRINTF   snprintf

◆ DUK_SPRINTF

#define DUK_SPRINTF   sprintf

◆ DUK_SQRT

#define DUK_SQRT   sqrt

Definition at line 2320 of file duk_config.h.

Referenced by duk__sqrt(), and duk_bi_math_object_hypot().

◆ DUK_SSCANF

#define DUK_SSCANF   sscanf

Definition at line 2152 of file duk_config.h.

Referenced by duk__dec_pointer().

◆ DUK_STRCMP

#define DUK_STRCMP   strcmp

◆ DUK_STRLEN

#define DUK_STRLEN   strlen

◆ DUK_STRNCMP

#define DUK_STRNCMP   strncmp

Definition at line 2135 of file duk_config.h.

Referenced by duk_numconv_parse().

◆ DUK_TAN

#define DUK_TAN   tan

Definition at line 2311 of file duk_config.h.

Referenced by duk__tan().

◆ DUK_U64_CONSTANT

#define DUK_U64_CONSTANT (   x)    x##ULL

◆ DUK_UARRIDX_MAX

#define DUK_UARRIDX_MAX   DUK_UINT_MAX

◆ DUK_UARRIDX_MIN

#define DUK_UARRIDX_MIN   DUK_UINT_MIN

Definition at line 1978 of file duk_config.h.

◆ DUK_UCODEPOINT_MAX

#define DUK_UCODEPOINT_MAX   DUK_UINT_MAX

Definition at line 2008 of file duk_config.h.

◆ DUK_UCODEPOINT_MIN

#define DUK_UCODEPOINT_MIN   DUK_UINT_MIN

Definition at line 2007 of file duk_config.h.

◆ DUK_UIDX_MAX

#define DUK_UIDX_MAX   DUK_UINT_MAX

Definition at line 1972 of file duk_config.h.

◆ DUK_UIDX_MIN

#define DUK_UIDX_MIN   DUK_UINT_MIN

Definition at line 1971 of file duk_config.h.

◆ DUK_UINT16_MAX

#define DUK_UINT16_MAX   0xffffUL

Definition at line 1799 of file duk_config.h.

◆ DUK_UINT16_MIN

#define DUK_UINT16_MIN   0UL

Definition at line 1798 of file duk_config.h.

◆ DUK_UINT32_MAX

#define DUK_UINT32_MAX   0xffffffffUL

◆ DUK_UINT32_MIN

#define DUK_UINT32_MIN   0UL

Definition at line 1810 of file duk_config.h.

Referenced by duk_double_to_uint32_t().

◆ DUK_UINT8_MAX

#define DUK_UINT8_MAX   0xffUL

Definition at line 1787 of file duk_config.h.

◆ DUK_UINT8_MIN

#define DUK_UINT8_MIN   0UL

Definition at line 1786 of file duk_config.h.

◆ DUK_UINT_FAST16_MAX

#define DUK_UINT_FAST16_MAX   0xffffUL

Definition at line 1807 of file duk_config.h.

◆ DUK_UINT_FAST16_MIN

#define DUK_UINT_FAST16_MIN   0UL

Definition at line 1806 of file duk_config.h.

◆ DUK_UINT_FAST32_MAX

#define DUK_UINT_FAST32_MAX   0xffffffffUL

Definition at line 1819 of file duk_config.h.

◆ DUK_UINT_FAST32_MIN

#define DUK_UINT_FAST32_MIN   0UL

Definition at line 1818 of file duk_config.h.

◆ DUK_UINT_FAST8_MAX

#define DUK_UINT_FAST8_MAX   0xffUL

Definition at line 1795 of file duk_config.h.

◆ DUK_UINT_FAST8_MIN

#define DUK_UINT_FAST8_MIN   0UL

Definition at line 1794 of file duk_config.h.

◆ DUK_UINT_FAST_MAX

#define DUK_UINT_FAST_MAX   DUK_UINT_FAST32_MAX

Definition at line 1937 of file duk_config.h.

◆ DUK_UINT_FAST_MIN

#define DUK_UINT_FAST_MIN   DUK_UINT_FAST32_MIN

Definition at line 1936 of file duk_config.h.

◆ DUK_UINT_LEAST16_MAX

#define DUK_UINT_LEAST16_MAX   0xffffUL

Definition at line 1803 of file duk_config.h.

◆ DUK_UINT_LEAST16_MIN

#define DUK_UINT_LEAST16_MIN   0UL

Definition at line 1802 of file duk_config.h.

◆ DUK_UINT_LEAST32_MAX

#define DUK_UINT_LEAST32_MAX   0xffffffffUL

Definition at line 1815 of file duk_config.h.

◆ DUK_UINT_LEAST32_MIN

#define DUK_UINT_LEAST32_MIN   0UL

Definition at line 1814 of file duk_config.h.

◆ DUK_UINT_LEAST8_MAX

#define DUK_UINT_LEAST8_MAX   0xffUL

Definition at line 1791 of file duk_config.h.

◆ DUK_UINT_LEAST8_MIN

#define DUK_UINT_LEAST8_MIN   0UL

Definition at line 1790 of file duk_config.h.

◆ DUK_UINT_MAX

#define DUK_UINT_MAX   DUK_UINT_FAST32_MAX

◆ DUK_UINT_MIN

#define DUK_UINT_MIN   DUK_UINT_FAST32_MIN

Definition at line 1924 of file duk_config.h.

Referenced by duk_double_to_uint_t().

◆ DUK_UINTMAX_MAX

#define DUK_UINTMAX_MAX   0xffffffffUL

Definition at line 1865 of file duk_config.h.

◆ DUK_UINTMAX_MIN

#define DUK_UINTMAX_MIN   0UL

Definition at line 1864 of file duk_config.h.

◆ DUK_UNLIKELY

#define DUK_UNLIKELY (   x)    (x)

Definition at line 2602 of file duk_config.h.

Referenced by duk__array_push_fastpath(), duk__base64_decode_helper(), duk__call_get_idx_func(), duk__call_prop_prep_stack(), duk__call_thread_state_update(), duk__check_voluntary_gc(), duk__concat_and_join_helper(), duk__decode_helper(), duk__emit(), duk__emit_esc_auto_fast(), duk__enc_allow_into_proplist(), duk__enc_array(), duk__enc_buffer_jx_jc(), duk__enc_double(), duk__enc_key_autoquote(), duk__enc_newline_indent(), duk__enc_objarr_entry(), duk__enc_object(), duk__enc_value(), duk__fill_lexer_buffer(), duk__get_identifier_reference(), duk__get_own_propdesc_raw(), duk__get_propdesc(), duk__getid_open_decl_env_regs(), duk__handle_safe_call_inner(), duk__handle_specialfuncs_for_call(), duk__hbufobj_fixed_from_argvalue(), duk__hobject_alloc_entry_checked(), duk__init_lexer_window(), duk__insert_jump_entry(), duk__js_execute_bytecode_inner(), duk__js_instanceof_helper(), duk__js_samevalue_number(), duk__prepost_incdec_reg_helper(), duk__push_c_function_raw(), duk__push_this_helper(), duk__push_this_obj_len_u32_limited(), duk__refcount_refzero_hobject(), duk__resize_valstack(), duk__resolve_target_fastpath_check(), duk__resolve_target_func_and_this_binding(), duk__safe_call_adjust_valstack(), duk__strtable_alloc_hstring(), duk__strtable_do_intern(), duk__strtable_grow_inplace(), duk__strtable_resize_check(), duk__sweep_heap(), duk__utf8_encode_char(), duk__valstack_grow(), duk_bi_array_prototype_concat(), duk_bi_json_stringify_helper(), duk_bi_nodejs_buffer_concat(), duk_bi_object_prototype_lookupaccessor(), duk_bi_string_constructor(), duk_bi_string_prototype_char_at(), duk_bi_string_prototype_includes(), duk_bw_resize(), duk_call_construct_postprocess(), duk_call_prop(), duk_check_stack(), duk_check_stack_top(), duk_concat_2(), duk_double_div(), duk_dup_top(), duk_get_c_function(), duk_get_hcompfunc(), duk_get_heapptr(), duk_get_hnatfunc(), duk_get_hobject_with_class(), duk_get_hstring_notsymbol(), duk_get_hthread(), duk_get_length(), duk_get_top_index(), duk_get_top_require_min(), duk_hbuffer_alloc(), duk_heap_strcache_offset_char2byte(), duk_heap_strtable_intern_checked(), duk_heap_strtable_intern_u32_checked(), duk_hex_decode(), duk_hobject_alloc_unchecked(), duk_hobject_define_property_internal(), duk_hobject_delprop(), duk_hobject_enumerator_create(), duk_hobject_getprop(), duk_hobject_has_finalizer_fast_raw(), duk_hobject_hasprop(), duk_hobject_putprop(), duk_hobject_refcount_finalize_norz(), duk_hthread_alloc_unchecked(), duk_js_close_environment_record(), duk_js_equals_helper(), duk_js_to_arrayindex_string(), duk_js_tointeger_number(), duk_js_tonumber(), duk_js_typeof_stridx(), duk_memcmp_unsafe(), duk_pack(), duk_pcall(), duk_pcall_method_flags(), duk_pcall_prop(), duk_pnew(), duk_pop(), duk_pop_2(), duk_pop_n(), duk_proxy_ownkeys_postprocess(), duk_push_buffer_object(), duk_push_buffer_raw(), duk_push_c_lightfunc(), duk_push_hcompfunc(), duk_push_heapptr(), duk_push_literal_raw(), duk_push_lstring(), duk_push_thread_raw(), duk_push_thread_stash(), duk_push_vsprintf(), duk_refzero_check_fast(), duk_refzero_check_slow(), duk_require_c_function(), duk_require_constructable(), duk_require_function(), duk_require_hbuffer(), duk_require_hcompfunc(), duk_require_heapptr(), duk_require_hnatfunc(), duk_require_hobject(), duk_require_hobject_with_class(), duk_require_hstring(), duk_require_hstring_notsymbol(), duk_require_hthread(), duk_require_null(), duk_require_number(), duk_require_object(), duk_require_pointer(), duk_require_stack(), duk_require_stack_top(), duk_require_top_index(), duk_require_undefined(), duk_require_valid_index(), duk_safe_call(), duk_set_top(), duk_throw_raw(), duk_to_hstring_acceptsymbol(), duk_to_object(), duk_to_property_key_hstring(), duk_to_string(), duk_unicode_decode_xutf8_checked(), duk_unicode_unvalidated_utf8_length(), duk_unpack_array_like(), and duk_xcopymove_raw().

◆ DUK_UNPREDICTABLE

#define DUK_UNPREDICTABLE (   x)    (x)

Definition at line 2605 of file duk_config.h.

◆ DUK_UNREACHABLE

#define DUK_UNREACHABLE ( )    do { } while (0)

◆ DUK_UNREF

#define DUK_UNREF (   x)    do { (void) (x); } while (0)

Definition at line 2562 of file duk_config.h.

Referenced by duk__activation_unwind_nofree_norz(), duk__add_label(), duk__add_traceback(), duk__autospawn_arraybuffer(), duk__bw_update_ptrs(), duk__call_callstack_limit_check(), duk__call_setup_act_attempt_tailcall(), duk__call_setup_act_not_tailcall(), duk__compact_object_list(), duk__compute_a_stats(), duk__const_needs_refcount(), duk__count_used_e_keys(), duk__declvar_helper(), duk__dump_hbuffer_raw(), duk__emit_esc_auto_fast(), duk__emit_u16_direct_ranges(), duk__enc_double(), duk__err_augment_builtin_create(), duk__err_augment_user(), duk__finalize_helper(), duk__get_this_regexp(), duk__getprop_shallow_fastpath_array_tval(), duk__handle_oldenv_for_call(), duk__handle_op_endcatch(), duk__handle_op_endtry(), duk__handle_op_trycatch(), duk__handle_put_array_length_smaller(), duk__handle_return(), duk__handle_safe_call_shared_unwind(), duk__hobject_pc2line_query_raw(), duk__hstring_is_eval_or_arguments(), duk__inc_data_inner_refcounts(), duk__ispec_toregconst_raw(), duk__ivalue_toregconst_raw(), duk__js_execute_bytecode_inner(), duk__js_instanceof_helper(), duk__key_is_plain_buf_ownprop(), duk__lexer_parse_escape(), duk__lookup_active_label(), duk__lookup_arguments_map(), duk__mark_hstring(), duk__nud_object_literal(), duk__parse_break_or_continue_stmt(), duk__parse_disjunction(), duk__parse_return_stmt(), duk__parse_stmt(), duk__parse_try_stmt(), duk__pcall_method_raw(), duk__pcall_prop_raw(), duk__pcall_raw(), duk__protected_compact_object(), duk__regexp_match_helper(), duk__resize_valstack(), duk__resolve_target_fastpath_check(), duk__safe_to_string_raw(), duk__set_bufobj_buffer(), duk__slow_case_conversion(), duk__sort_compare_es6(), duk__sort_enum_keys_es6(), duk__strtable_alloc_hstring(), duk__strtable_do_intern(), duk__to_string_helper(), duk__transform_callback_escape(), duk__transform_callback_unescape(), duk__try_push_vsprintf(), duk__update_lineinfo_currtoken(), duk_base64_decode(), duk_bi_array_prototype_splice(), duk_bi_buffer_writefield(), duk_bi_date_get_local_tzoffset_gmtime(), duk_bi_date_get_timeval_from_dparts(), duk_bi_date_timeval_to_parts(), duk_bi_error_prototype_linenumber_getter(), duk_bi_function_prototype(), duk_bi_function_prototype_apply(), duk_bi_function_prototype_call(), duk_bi_nodejs_buffer_byte_length(), duk_bi_object_constructor_keys_shared(), duk_bi_reflect_apply(), duk_bi_reflect_construct(), duk_bi_type_error_thrower(), duk_bi_typedarray_constructor(), duk_bw_compact(), duk_bw_insert_raw_area(), duk_bw_insert_raw_bytes(), duk_bw_insert_raw_slice(), duk_bw_remove_raw_slice(), duk_bw_write_raw_slice(), duk_components_to_time(), duk_copy_tvals_incref(), duk_debugger_attach(), duk_debugger_cooperate(), duk_debugger_pause(), duk_default_alloc_function(), duk_default_fatal_handler(), duk_default_free_function(), duk_default_realloc_function(), duk_free_hobject(), duk_free_hstring(), duk_get_now(), duk_get_prop_desc(), duk_handle_safe_call(), duk_hbuffer_alloc(), duk_hbuffer_get_dynalloc_ptr(), duk_heap_free(), duk_heap_free_freelists(), duk_heap_mem_alloc(), duk_heap_mem_realloc(), duk_heap_mem_realloc_indirect(), duk_heap_strcache_offset_char2byte(), duk_heap_strtable_force_resize(), duk_hex_decode(), duk_hobject_define_property_helper(), duk_hobject_delprop(), duk_hobject_delprop_raw(), duk_hobject_enumerator_create(), duk_hobject_find_existing_array_entry_tval_ptr(), duk_hobject_find_existing_entry(), duk_hobject_find_existing_entry_tval_ptr(), duk_hobject_find_existing_entry_tval_ptr_and_attrs(), duk_hobject_hasprop(), duk_hobject_object_is_sealed_frozen_helper(), duk_hobject_realloc_props(), duk_hobject_set_prototype_updref(), duk_hthread_create_builtin_objects(), duk_hthread_get_act_prev_pc(), duk_hthread_get_valstack_ptr(), duk_hthread_terminate(), duk_is_callable_tval(), duk_js_arith_pow(), duk_js_execute_bytecode(), duk_js_push_closure(), duk_js_string_compare(), duk_json_decode(), duk_lexer_parse_re_ranges(), duk_push_buffer_object(), duk_push_class_string_tval(), duk_push_context_dump(), duk_push_error_object_va_raw(), duk_push_proxy(), duk_require_hobject_with_class(), duk_set_finalizer(), duk_set_global_object(), duk_set_top(), duk_time_get_ecmascript_time(), duk_time_get_ecmascript_time_nofrac(), duk_time_get_monotonic_time(), duk_time_to_components(), duk_to_int_clamped_raw(), duk_unicode_case_convert_string(), duk_unicode_decode_xutf8(), duk_unicode_re_canonicalize_char(), duk_unpack_array_like(), duk_util_tinyrandom_prepare_seed(), and duk_valstack_shrink_check_nothrow().

◆ DUK_USE_ALIGN_BY

#define DUK_USE_ALIGN_BY   8

Definition at line 2504 of file duk_config.h.

Referenced by duk_hthread_create_builtin_objects().

◆ DUK_USE_ARCH_STRING

#define DUK_USE_ARCH_STRING   "generic"

Definition at line 955 of file duk_config.h.

Referenced by duk__init_heap_thread(), and duk_hthread_create_builtin_objects().

◆ DUK_USE_ARRAY_BUILTIN

#define DUK_USE_ARRAY_BUILTIN

Definition at line 2794 of file duk_config.h.

◆ DUK_USE_ARRAY_FASTPATH

#define DUK_USE_ARRAY_FASTPATH

Definition at line 2795 of file duk_config.h.

◆ DUK_USE_ARRAY_PROP_FASTPATH

#define DUK_USE_ARRAY_PROP_FASTPATH

Definition at line 2796 of file duk_config.h.

◆ DUK_USE_AUGMENT_ERROR_CREATE

#define DUK_USE_AUGMENT_ERROR_CREATE

Definition at line 2798 of file duk_config.h.

◆ DUK_USE_AUGMENT_ERROR_THROW

#define DUK_USE_AUGMENT_ERROR_THROW

Definition at line 2799 of file duk_config.h.

◆ DUK_USE_AVOID_PLATFORM_FUNCPTRS

#define DUK_USE_AVOID_PLATFORM_FUNCPTRS

Definition at line 2800 of file duk_config.h.

◆ DUK_USE_BASE64_FASTPATH

#define DUK_USE_BASE64_FASTPATH

Definition at line 2801 of file duk_config.h.

◆ DUK_USE_BASE64_SUPPORT

#define DUK_USE_BASE64_SUPPORT

Definition at line 2802 of file duk_config.h.

◆ DUK_USE_BOOLEAN_BUILTIN

#define DUK_USE_BOOLEAN_BUILTIN

Definition at line 2803 of file duk_config.h.

◆ DUK_USE_BUFFEROBJECT_SUPPORT

#define DUK_USE_BUFFEROBJECT_SUPPORT

Definition at line 2804 of file duk_config.h.

◆ DUK_USE_BYTECODE_DUMP_SUPPORT

#define DUK_USE_BYTECODE_DUMP_SUPPORT

Definition at line 2806 of file duk_config.h.

◆ DUK_USE_CACHE_ACTIVATION

#define DUK_USE_CACHE_ACTIVATION

Definition at line 2807 of file duk_config.h.

◆ DUK_USE_CACHE_CATCHER

#define DUK_USE_CACHE_CATCHER

Definition at line 2808 of file duk_config.h.

◆ DUK_USE_CALLSTACK_LIMIT

#define DUK_USE_CALLSTACK_LIMIT   10000

◆ DUK_USE_COMMONJS_MODULES

#define DUK_USE_COMMONJS_MODULES

Definition at line 2810 of file duk_config.h.

◆ DUK_USE_COMPILER_RECLIMIT

#define DUK_USE_COMPILER_RECLIMIT   2500

Definition at line 2811 of file duk_config.h.

Referenced by duk__js_compile_raw().

◆ DUK_USE_COMPILER_STRING

#define DUK_USE_COMPILER_STRING   "generic"

Definition at line 1455 of file duk_config.h.

Referenced by duk__init_heap_thread(), and duk_hthread_create_builtin_objects().

◆ DUK_USE_COROUTINE_SUPPORT

#define DUK_USE_COROUTINE_SUPPORT

Definition at line 2812 of file duk_config.h.

◆ DUK_USE_DATE_BUILTIN

#define DUK_USE_DATE_BUILTIN

Definition at line 2817 of file duk_config.h.

◆ DUK_USE_DATE_NOW_TIME

#define DUK_USE_DATE_NOW_TIME

Definition at line 799 of file duk_config.h.

◆ DUK_USE_DATE_TZO_GMTIME

#define DUK_USE_DATE_TZO_GMTIME

Definition at line 804 of file duk_config.h.

◆ DUK_USE_DEBUG_BUFSIZE

#define DUK_USE_DEBUG_BUFSIZE   65536L

Definition at line 2830 of file duk_config.h.

◆ DUK_USE_DEBUG_LEVEL

#define DUK_USE_DEBUG_LEVEL   0

Definition at line 2831 of file duk_config.h.

Referenced by duk__init_heap_thread().

◆ DUK_USE_DEBUGGER_THROW_NOTIFY

#define DUK_USE_DEBUGGER_THROW_NOTIFY

Definition at line 2828 of file duk_config.h.

◆ DUK_USE_DOUBLE_LINKED_HEAP

#define DUK_USE_DOUBLE_LINKED_HEAP

Definition at line 2833 of file duk_config.h.

◆ DUK_USE_DUKTAPE_BUILTIN

#define DUK_USE_DUKTAPE_BUILTIN

Definition at line 2834 of file duk_config.h.

◆ DUK_USE_ENCODING_BUILTINS

#define DUK_USE_ENCODING_BUILTINS

Definition at line 2835 of file duk_config.h.

◆ DUK_USE_ERRCREATE

#define DUK_USE_ERRCREATE

Definition at line 2836 of file duk_config.h.

◆ DUK_USE_ERRTHROW

#define DUK_USE_ERRTHROW

Definition at line 2837 of file duk_config.h.

◆ DUK_USE_ES6

#define DUK_USE_ES6

Definition at line 2838 of file duk_config.h.

◆ DUK_USE_ES6_OBJECT_PROTO_PROPERTY

#define DUK_USE_ES6_OBJECT_PROTO_PROPERTY

Definition at line 2839 of file duk_config.h.

◆ DUK_USE_ES6_OBJECT_SETPROTOTYPEOF

#define DUK_USE_ES6_OBJECT_SETPROTOTYPEOF

Definition at line 2840 of file duk_config.h.

◆ DUK_USE_ES6_PROXY

#define DUK_USE_ES6_PROXY

Definition at line 2841 of file duk_config.h.

Referenced by duk__call_setup_act_attempt_tailcall().

◆ DUK_USE_ES6_REGEXP_SYNTAX

#define DUK_USE_ES6_REGEXP_SYNTAX

Definition at line 2842 of file duk_config.h.

◆ DUK_USE_ES6_UNICODE_ESCAPE

#define DUK_USE_ES6_UNICODE_ESCAPE

Definition at line 2843 of file duk_config.h.

◆ DUK_USE_ES7

#define DUK_USE_ES7

Definition at line 2844 of file duk_config.h.

◆ DUK_USE_ES7_EXP_OPERATOR

#define DUK_USE_ES7_EXP_OPERATOR

Definition at line 2845 of file duk_config.h.

◆ DUK_USE_ES8

#define DUK_USE_ES8

Definition at line 2846 of file duk_config.h.

◆ DUK_USE_ES9

#define DUK_USE_ES9

Definition at line 2847 of file duk_config.h.

◆ DUK_USE_ESBC_LIMITS

#define DUK_USE_ESBC_LIMITS

Definition at line 2848 of file duk_config.h.

◆ DUK_USE_ESBC_MAX_BYTES

#define DUK_USE_ESBC_MAX_BYTES   2147418112L

Definition at line 2849 of file duk_config.h.

Referenced by duk__dump_func(), duk__emit(), and duk__insert_jump_entry().

◆ DUK_USE_ESBC_MAX_LINENUMBER

#define DUK_USE_ESBC_MAX_LINENUMBER   2147418112L

Definition at line 2850 of file duk_config.h.

Referenced by duk__emit().

◆ DUK_USE_EXEC_REGCONST_OPTIMIZE

#define DUK_USE_EXEC_REGCONST_OPTIMIZE

Definition at line 2854 of file duk_config.h.

◆ DUK_USE_FAST_REFCOUNT_DEFAULT

#define DUK_USE_FAST_REFCOUNT_DEFAULT

Definition at line 2860 of file duk_config.h.

◆ DUK_USE_FATAL_MAXLEN

#define DUK_USE_FATAL_MAXLEN   128

Definition at line 2862 of file duk_config.h.

Referenced by duk__uncaught_error_aware(), and duk_err_augment_error_throw().

◆ DUK_USE_FINALIZER_SUPPORT

#define DUK_USE_FINALIZER_SUPPORT

Definition at line 2863 of file duk_config.h.

◆ DUK_USE_FLEX_ONESIZE

#define DUK_USE_FLEX_ONESIZE

Definition at line 1470 of file duk_config.h.

◆ DUK_USE_FUNC_FILENAME_PROPERTY

#define DUK_USE_FUNC_FILENAME_PROPERTY

Definition at line 2869 of file duk_config.h.

◆ DUK_USE_FUNC_NAME_PROPERTY

#define DUK_USE_FUNC_NAME_PROPERTY

Definition at line 2870 of file duk_config.h.

◆ DUK_USE_FUNCTION_BUILTIN

#define DUK_USE_FUNCTION_BUILTIN

Definition at line 2868 of file duk_config.h.

◆ DUK_USE_GLOBAL_BUILTIN

#define DUK_USE_GLOBAL_BUILTIN

Definition at line 2875 of file duk_config.h.

◆ DUK_USE_HEX_FASTPATH

#define DUK_USE_HEX_FASTPATH

Definition at line 2879 of file duk_config.h.

◆ DUK_USE_HEX_SUPPORT

#define DUK_USE_HEX_SUPPORT

Definition at line 2880 of file duk_config.h.

◆ DUK_USE_HOBJECT_ARRAY_ABANDON_LIMIT

#define DUK_USE_HOBJECT_ARRAY_ABANDON_LIMIT   2

Definition at line 2881 of file duk_config.h.

Referenced by duk__abandon_array_density_check().

◆ DUK_USE_HOBJECT_ARRAY_FAST_RESIZE_LIMIT

#define DUK_USE_HOBJECT_ARRAY_FAST_RESIZE_LIMIT   9

Definition at line 2882 of file duk_config.h.

Referenced by duk__abandon_array_slow_check_required().

◆ DUK_USE_HOBJECT_ARRAY_MINGROW_ADD

#define DUK_USE_HOBJECT_ARRAY_MINGROW_ADD   16

Definition at line 2883 of file duk_config.h.

Referenced by duk__get_min_grow_a().

◆ DUK_USE_HOBJECT_ARRAY_MINGROW_DIVISOR

#define DUK_USE_HOBJECT_ARRAY_MINGROW_DIVISOR   8

Definition at line 2884 of file duk_config.h.

Referenced by duk__get_min_grow_a().

◆ DUK_USE_HOBJECT_ENTRY_MINGROW_ADD

#define DUK_USE_HOBJECT_ENTRY_MINGROW_ADD   16

Definition at line 2885 of file duk_config.h.

Referenced by duk__get_min_grow_e().

◆ DUK_USE_HOBJECT_ENTRY_MINGROW_DIVISOR

#define DUK_USE_HOBJECT_ENTRY_MINGROW_DIVISOR   8

Definition at line 2886 of file duk_config.h.

Referenced by duk__get_min_grow_e().

◆ DUK_USE_HOBJECT_HASH_PART

#define DUK_USE_HOBJECT_HASH_PART

Definition at line 2887 of file duk_config.h.

◆ DUK_USE_HOBJECT_HASH_PROP_LIMIT

#define DUK_USE_HOBJECT_HASH_PROP_LIMIT   8

Definition at line 2888 of file duk_config.h.

Referenced by duk__get_default_h_size(), and duk_hobject_compact_props().

◆ DUK_USE_HOBJECT_LAYOUT_2

#define DUK_USE_HOBJECT_LAYOUT_2

Definition at line 2779 of file duk_config.h.

Referenced by duk_hthread_create_builtin_objects().

◆ DUK_USE_HSTRING_ARRIDX

#define DUK_USE_HSTRING_ARRIDX

Definition at line 2889 of file duk_config.h.

◆ DUK_USE_HSTRING_CLEN

#define DUK_USE_HSTRING_CLEN

Definition at line 2890 of file duk_config.h.

◆ DUK_USE_HSTRING_LAZY_CLEN

#define DUK_USE_HSTRING_LAZY_CLEN

Definition at line 2892 of file duk_config.h.

◆ DUK_USE_HTML_COMMENTS

#define DUK_USE_HTML_COMMENTS

Definition at line 2893 of file duk_config.h.

◆ DUK_USE_IDCHAR_FASTPATH

#define DUK_USE_IDCHAR_FASTPATH

Definition at line 2894 of file duk_config.h.

◆ DUK_USE_JC

#define DUK_USE_JC

Definition at line 2898 of file duk_config.h.

◆ DUK_USE_JSON_BUILTIN

#define DUK_USE_JSON_BUILTIN

Definition at line 2899 of file duk_config.h.

◆ DUK_USE_JSON_DEC_RECLIMIT

#define DUK_USE_JSON_DEC_RECLIMIT   1000

Definition at line 2902 of file duk_config.h.

Referenced by duk_bi_json_parse_helper().

◆ DUK_USE_JSON_DECNUMBER_FASTPATH

#define DUK_USE_JSON_DECNUMBER_FASTPATH

Definition at line 2900 of file duk_config.h.

◆ DUK_USE_JSON_DECSTRING_FASTPATH

#define DUK_USE_JSON_DECSTRING_FASTPATH

Definition at line 2901 of file duk_config.h.

◆ DUK_USE_JSON_EATWHITE_FASTPATH

#define DUK_USE_JSON_EATWHITE_FASTPATH

Definition at line 2903 of file duk_config.h.

◆ DUK_USE_JSON_ENC_RECLIMIT

#define DUK_USE_JSON_ENC_RECLIMIT   1000

Definition at line 2904 of file duk_config.h.

Referenced by duk_bi_json_stringify_helper().

◆ DUK_USE_JSON_QUOTESTRING_FASTPATH

#define DUK_USE_JSON_QUOTESTRING_FASTPATH

Definition at line 2905 of file duk_config.h.

◆ DUK_USE_JSON_SUPPORT

#define DUK_USE_JSON_SUPPORT

Definition at line 2907 of file duk_config.h.

◆ DUK_USE_JX

#define DUK_USE_JX

Definition at line 2908 of file duk_config.h.

◆ DUK_USE_LEXER_SLIDING_WINDOW

#define DUK_USE_LEXER_SLIDING_WINDOW

Definition at line 2909 of file duk_config.h.

◆ DUK_USE_LITCACHE_SIZE

#define DUK_USE_LITCACHE_SIZE   256

◆ DUK_USE_MARK_AND_SWEEP_RECLIMIT

#define DUK_USE_MARK_AND_SWEEP_RECLIMIT   256

Definition at line 2912 of file duk_config.h.

Referenced by duk__mark_heaphdr().

◆ DUK_USE_MATH_BUILTIN

#define DUK_USE_MATH_BUILTIN

Definition at line 2913 of file duk_config.h.

◆ DUK_USE_NATIVE_CALL_RECLIMIT

#define DUK_USE_NATIVE_CALL_RECLIMIT   1000

Definition at line 2914 of file duk_config.h.

Referenced by duk_heap_alloc().

◆ DUK_USE_NONSTD_ARRAY_SPLICE_DELCOUNT

#define DUK_USE_NONSTD_ARRAY_SPLICE_DELCOUNT

Definition at line 2915 of file duk_config.h.

◆ DUK_USE_NONSTD_FUNC_STMT

#define DUK_USE_NONSTD_FUNC_STMT

Definition at line 2918 of file duk_config.h.

◆ DUK_USE_NONSTD_GETTER_KEY_ARGUMENT

#define DUK_USE_NONSTD_GETTER_KEY_ARGUMENT

Definition at line 2919 of file duk_config.h.

◆ DUK_USE_NONSTD_JSON_ESC_U2028_U2029

#define DUK_USE_NONSTD_JSON_ESC_U2028_U2029

Definition at line 2920 of file duk_config.h.

◆ DUK_USE_NONSTD_SETTER_KEY_ARGUMENT

#define DUK_USE_NONSTD_SETTER_KEY_ARGUMENT

Definition at line 2921 of file duk_config.h.

◆ DUK_USE_NONSTD_STRING_FROMCHARCODE_32BIT

#define DUK_USE_NONSTD_STRING_FROMCHARCODE_32BIT

Definition at line 2922 of file duk_config.h.

◆ DUK_USE_NUMBER_BUILTIN

#define DUK_USE_NUMBER_BUILTIN

Definition at line 2923 of file duk_config.h.

◆ DUK_USE_OBJECT_BUILTIN

#define DUK_USE_OBJECT_BUILTIN

Definition at line 2924 of file duk_config.h.

◆ DUK_USE_OS_STRING

#define DUK_USE_OS_STRING   "unknown"

Definition at line 813 of file duk_config.h.

Referenced by duk__init_heap_thread(), and duk_hthread_create_builtin_objects().

◆ DUK_USE_PACK_DUMMY_MEMBER

#define DUK_USE_PACK_DUMMY_MEMBER

Definition at line 1473 of file duk_config.h.

◆ DUK_USE_PARANOID_DATE_COMPUTATION

#define DUK_USE_PARANOID_DATE_COMPUTATION

Definition at line 2378 of file duk_config.h.

◆ DUK_USE_PC2LINE

#define DUK_USE_PC2LINE

Definition at line 2927 of file duk_config.h.

◆ DUK_USE_PERFORMANCE_BUILTIN

#define DUK_USE_PERFORMANCE_BUILTIN

Definition at line 2928 of file duk_config.h.

◆ DUK_USE_PROVIDE_DEFAULT_ALLOC_FUNCTIONS

#define DUK_USE_PROVIDE_DEFAULT_ALLOC_FUNCTIONS

Definition at line 2931 of file duk_config.h.

◆ DUK_USE_REFCOUNT32

#define DUK_USE_REFCOUNT32

Definition at line 2933 of file duk_config.h.

◆ DUK_USE_REFERENCE_COUNTING

#define DUK_USE_REFERENCE_COUNTING

Definition at line 2934 of file duk_config.h.

◆ DUK_USE_REFLECT_BUILTIN

#define DUK_USE_REFLECT_BUILTIN

Definition at line 2935 of file duk_config.h.

◆ DUK_USE_REGEXP_CANON_BITMAP

#define DUK_USE_REGEXP_CANON_BITMAP

Definition at line 2936 of file duk_config.h.

◆ DUK_USE_REGEXP_COMPILER_RECLIMIT

#define DUK_USE_REGEXP_COMPILER_RECLIMIT   10000

Definition at line 2938 of file duk_config.h.

Referenced by duk_regexp_compile().

◆ DUK_USE_REGEXP_EXECUTOR_RECLIMIT

#define DUK_USE_REGEXP_EXECUTOR_RECLIMIT   10000

Definition at line 2939 of file duk_config.h.

Referenced by duk__regexp_match_helper().

◆ DUK_USE_REGEXP_SUPPORT

#define DUK_USE_REGEXP_SUPPORT

Definition at line 2940 of file duk_config.h.

◆ DUK_USE_REPL_FPCLASSIFY

#define DUK_USE_REPL_FPCLASSIFY

Definition at line 2241 of file duk_config.h.

◆ DUK_USE_REPL_ISFINITE

#define DUK_USE_REPL_ISFINITE

Definition at line 2243 of file duk_config.h.

◆ DUK_USE_REPL_ISINF

#define DUK_USE_REPL_ISINF

Definition at line 2245 of file duk_config.h.

◆ DUK_USE_REPL_ISNAN

#define DUK_USE_REPL_ISNAN

Definition at line 2244 of file duk_config.h.

◆ DUK_USE_REPL_SIGNBIT

#define DUK_USE_REPL_SIGNBIT

Definition at line 2242 of file duk_config.h.

◆ DUK_USE_ROM_PTRCOMP_FIRST

#define DUK_USE_ROM_PTRCOMP_FIRST   63488L

Definition at line 2944 of file duk_config.h.

◆ DUK_USE_SECTION_B

#define DUK_USE_SECTION_B

Definition at line 2946 of file duk_config.h.

◆ DUK_USE_SHEBANG_COMMENTS

#define DUK_USE_SHEBANG_COMMENTS

Definition at line 2948 of file duk_config.h.

◆ DUK_USE_SOURCE_NONBMP

#define DUK_USE_SOURCE_NONBMP

Definition at line 2950 of file duk_config.h.

◆ DUK_USE_STRHASH_SKIP_SHIFT

#define DUK_USE_STRHASH_SKIP_SHIFT   5

Definition at line 2953 of file duk_config.h.

Referenced by duk_heap_hashstring().

◆ DUK_USE_STRICT_DECL

#define DUK_USE_STRICT_DECL

Definition at line 2954 of file duk_config.h.

◆ DUK_USE_STRING_BUILTIN

#define DUK_USE_STRING_BUILTIN

Definition at line 2956 of file duk_config.h.

◆ DUK_USE_STRTAB_GROW_LIMIT

#define DUK_USE_STRTAB_GROW_LIMIT   17

Definition at line 2958 of file duk_config.h.

Referenced by duk__strtable_resize_check().

◆ DUK_USE_STRTAB_MAXSIZE

#define DUK_USE_STRTAB_MAXSIZE   268435456L

Definition at line 2959 of file duk_config.h.

Referenced by duk__strtable_resize_check().

◆ DUK_USE_STRTAB_MINSIZE

#define DUK_USE_STRTAB_MINSIZE   1024

Definition at line 2960 of file duk_config.h.

Referenced by duk__strtable_resize_check(), and duk_heap_alloc().

◆ DUK_USE_STRTAB_RESIZE_CHECK_MASK

#define DUK_USE_STRTAB_RESIZE_CHECK_MASK   255

Definition at line 2962 of file duk_config.h.

Referenced by duk__strtable_do_intern().

◆ DUK_USE_STRTAB_SHRINK_LIMIT

#define DUK_USE_STRTAB_SHRINK_LIMIT   6

Definition at line 2963 of file duk_config.h.

Referenced by duk__strtable_resize_check().

◆ DUK_USE_TAILCALL

#define DUK_USE_TAILCALL

Definition at line 2966 of file duk_config.h.

◆ DUK_USE_TARGET_INFO

#define DUK_USE_TARGET_INFO   "unknown"

Definition at line 2967 of file duk_config.h.

Referenced by duk_bi_type_error_thrower(), and duk_push_context_dump().

◆ DUK_USE_TRACEBACK_DEPTH

#define DUK_USE_TRACEBACK_DEPTH   10

Definition at line 2969 of file duk_config.h.

Referenced by duk__add_traceback(), and duk__error_getter_helper().

◆ DUK_USE_TRACEBACKS

#define DUK_USE_TRACEBACKS

Definition at line 2968 of file duk_config.h.

◆ DUK_USE_USER_DECLARE

#define DUK_USE_USER_DECLARE ( )    /* no user declarations */

Definition at line 2970 of file duk_config.h.

◆ DUK_USE_VALSTACK_GROW_SHIFT

#define DUK_USE_VALSTACK_GROW_SHIFT   2

Definition at line 2971 of file duk_config.h.

Referenced by duk__valstack_grow().

◆ DUK_USE_VALSTACK_LIMIT

#define DUK_USE_VALSTACK_LIMIT   1000000L

◆ DUK_USE_VALSTACK_SHRINK_CHECK_SHIFT

#define DUK_USE_VALSTACK_SHRINK_CHECK_SHIFT   2

Definition at line 2973 of file duk_config.h.

Referenced by duk_valstack_shrink_check_nothrow().

◆ DUK_USE_VALSTACK_SHRINK_SLACK_SHIFT

#define DUK_USE_VALSTACK_SHRINK_SLACK_SHIFT   4

Definition at line 2974 of file duk_config.h.

Referenced by duk_valstack_shrink_check_nothrow().

◆ DUK_USE_VERBOSE_ERRORS

#define DUK_USE_VERBOSE_ERRORS

Definition at line 2976 of file duk_config.h.

◆ DUK_USE_VERBOSE_EXECUTOR_ERRORS

#define DUK_USE_VERBOSE_EXECUTOR_ERRORS

Definition at line 2977 of file duk_config.h.

◆ DUK_USE_VOLUNTARY_GC

#define DUK_USE_VOLUNTARY_GC

Definition at line 2978 of file duk_config.h.

◆ DUK_USE_ZERO_BUFFER_DATA

#define DUK_USE_ZERO_BUFFER_DATA

Definition at line 2979 of file duk_config.h.

◆ DUK_VA_COPY

#define DUK_VA_COPY (   dest,
  src 
)    do { (dest) = (src); } while (0)

Definition at line 2536 of file duk_config.h.

Referenced by duk_push_vsprintf().

◆ DUK_VSNPRINTF

#define DUK_VSNPRINTF   vsnprintf

◆ DUK_VSPRINTF

#define DUK_VSPRINTF   vsprintf

Definition at line 2145 of file duk_config.h.

◆ DUK_VSSCANF

#define DUK_VSSCANF   vsscanf

Definition at line 2155 of file duk_config.h.

◆ DUK_WO_NORETURN

#define DUK_WO_NORETURN (   stmt)    do { stmt } while (0)

Definition at line 2579 of file duk_config.h.

Referenced by duk__add_label(), duk__advance_helper(), duk__alloctemps(), duk__api_coerce_d2i(), duk__api_coerce_d2ui(), duk__call_c_recursion_limit_check_slowpath(), duk__call_callstack_limit_check_slowpath(), duk__call_get_idx_func(), duk__call_thread_state_update(), duk__comp_recursion_increase(), duk__concat_and_join_helper(), duk__dec_objarr_entry(), duk__dec_syntax_error(), duk__declvar_helper(), duk__decode_helper(), duk__do_compile(), duk__emit(), duk__emit_a_b_c(), duk__emit_a_bc(), duk__emit_abc(), duk__enc_allow_into_proplist(), duk__enc_objarr_entry(), duk__expr(), duk__expr_led(), duk__expr_nud(), duk__exprtop(), duk__fill_lexer_buffer(), duk__get_buffer_helper(), duk__get_hobject_promote_mask_raw(), duk__get_identifier_reference(), duk__get_propdesc(), duk__getconst(), duk__getrequire_bufobj_this(), duk__getvar_helper(), duk__handle_bound_chain_for_call(), duk__handle_break_or_continue(), duk__handle_call_raw(), duk__handle_longjmp(), duk__handle_return(), duk__handle_safe_call_inner(), duk__handle_specialfuncs_for_call(), duk__hbufobj_fixed_from_argvalue(), duk__init_lexer_window(), duk__init_varmap_and_prologue_for_pass2(), duk__insert_jump_entry(), duk__ispec_toregconst_raw(), duk__ivalue_toplain_raw(), duk__js_execute_bytecode_inner(), duk__js_instanceof_helper(), duk__lexer_parse_escape(), duk__lexer_parse_string_literal(), duk__lookup_active_label(), duk__match_regexp(), duk__nud_array_literal(), duk__nud_object_literal(), duk__parse_break_or_continue_stmt(), duk__parse_disjunction(), duk__parse_for_stmt(), duk__parse_func_body(), duk__parse_func_formals(), duk__parse_func_like_fnum(), duk__parse_func_like_raw(), duk__parse_regexp_flags(), duk__parse_return_stmt(), duk__parse_stmt(), duk__parse_switch_stmt(), duk__parse_throw_stmt(), duk__parse_try_stmt(), duk__parse_var_decl(), duk__parse_with_stmt(), duk__patch_trycatch(), duk__push_c_function_raw(), duk__push_this_get_timeval_tzoffset(), duk__push_this_helper(), duk__push_this_number_plain(), duk__push_this_obj_len_u32_limited(), duk__putvar_helper(), duk__require_bufobj_value(), duk__resolve_offset_opt_length(), duk__resolve_target_func_and_this_binding(), duk__safe_call_adjust_valstack(), duk__str_tostring_notregexp(), duk__throw_error_from_stash(), duk__to_new_array_length_checked(), duk__to_primitive_helper(), duk__transform_callback_decode_uri(), duk__transform_callback_encode_uri(), duk__transform_callback_escape(), duk__uncaught_error_aware(), duk__utf8_advance(), duk__utf8_backtrack(), duk__valstack_grow(), duk_base64_decode(), duk_base64_encode(), duk_bi_array_prototype_concat(), duk_bi_object_prototype_lookupaccessor(), duk_bi_pointer_prototype_tostring_shared(), duk_bi_reflect_object_get(), duk_bi_reflect_object_set(), duk_bi_textencoder_prototype_encode(), duk_bw_resize(), duk_call_construct_postprocess(), duk_call_prop(), duk_check_type_mask(), duk_concat_2(), duk_config_buffer(), duk_debugger_attach(), duk_debugger_detach(), duk_debugger_notify(), duk_def_prop(), duk_dup_top(), duk_err_augment_error_throw(), duk_error_raw(), duk_error_throw_from_negative_rc(), duk_error_va_raw(), duk_get_buffer_data_raw(), duk_get_magic(), duk_get_method_stridx(), duk_get_top_require_min(), duk_handle_safe_call(), duk_hbuffer_resize(), duk_heap_mem_alloc_checked(), duk_heap_mem_alloc_checked_zeroed(), duk_heap_strcache_offset_char2byte(), duk_heap_strtable_intern_checked(), duk_heap_strtable_intern_u32_checked(), duk_hex_decode(), duk_hobject_define_property_helper(), duk_hobject_define_property_internal(), duk_hobject_delprop(), duk_hobject_delprop_raw(), duk_hobject_getprop(), duk_hobject_hasprop(), duk_hobject_object_seal_freeze_helper(), duk_hobject_prepare_property_descriptor(), duk_hobject_prototype_chain_contains(), duk_hobject_putprop(), duk_hobject_realloc_props(), duk_hthread_alloc(), duk_js_compile(), duk_js_execute_bytecode(), duk_js_tonumber(), duk_json_decode(), duk_lexer_parse_js_input_element(), duk_lexer_parse_re_ranges(), duk_lexer_parse_re_token(), duk_load_function(), duk_numconv_parse(), duk_pack(), duk_pcall(), duk_pcall_method_flags(), duk_pcall_prop(), duk_pnew(), duk_pop(), duk_pop_2(), duk_pop_n(), duk_proxy_ownkeys_postprocess(), duk_push_buffer_object(), duk_push_buffer_raw(), duk_push_c_lightfunc(), duk_push_context_dump(), duk_push_hboundfunc(), duk_push_hcompfunc(), duk_push_literal_raw(), duk_push_lstring(), duk_push_proxy(), duk_push_thread_raw(), duk_push_thread_stash(), duk_push_vsprintf(), duk_regexp_compile(), duk_require_boolean(), duk_require_c_function(), duk_require_constructable(), duk_require_constructor_call(), duk_require_function(), duk_require_hbuffer(), duk_require_hcompfunc(), duk_require_heapptr(), duk_require_hnatfunc(), duk_require_hobject(), duk_require_hobject_with_class(), duk_require_hstring(), duk_require_hstring_notsymbol(), duk_require_hthread(), duk_require_normalize_index(), duk_require_null(), duk_require_number(), duk_require_object(), duk_require_pointer(), duk_require_top_index(), duk_require_tval(), duk_require_undefined(), duk_require_valid_index(), duk_resize_buffer(), duk_safe_call(), duk_seal_freeze_raw(), duk_set_finalizer(), duk_set_prototype(), duk_set_top(), duk_steal_buffer(), duk_throw_raw(), duk_to_int_clamped_raw(), duk_to_object(), duk_to_string(), duk_unicode_decode_xutf8_checked(), duk_unpack_array_like(), and duk_xcopymove_raw().

◆ SIZE_MAX

#define SIZE_MAX   ((size_t) (-1))

Definition at line 1897 of file duk_config.h.

Typedef Documentation

◆ duk_bool_t

Definition at line 1960 of file duk_config.h.

◆ duk_codepoint_t

Definition at line 2003 of file duk_config.h.

◆ duk_context

typedef struct duk_hthread duk_context

Definition at line 2035 of file duk_config.h.

◆ duk_double_t

typedef double duk_double_t

Definition at line 2012 of file duk_config.h.

◆ duk_errcode_t

Definition at line 1992 of file duk_config.h.

◆ duk_float_t

typedef float duk_float_t

Definition at line 2011 of file duk_config.h.

◆ duk_idx_t

Definition at line 1965 of file duk_config.h.

◆ duk_int_fast16_t

typedef duk_int16_t duk_int_fast16_t

Definition at line 1765 of file duk_config.h.

◆ duk_int_fast32_t

typedef duk_int32_t duk_int_fast32_t

Definition at line 1767 of file duk_config.h.

◆ duk_int_fast8_t

typedef duk_int8_t duk_int_fast8_t

Definition at line 1763 of file duk_config.h.

◆ duk_int_fast_t

Definition at line 1932 of file duk_config.h.

◆ duk_int_least16_t

typedef duk_int16_t duk_int_least16_t

Definition at line 1759 of file duk_config.h.

◆ duk_int_least32_t

typedef duk_int32_t duk_int_least32_t

Definition at line 1761 of file duk_config.h.

◆ duk_int_least8_t

typedef duk_int8_t duk_int_least8_t

Definition at line 1757 of file duk_config.h.

◆ duk_int_t

Definition at line 1920 of file duk_config.h.

◆ duk_intmax_t

typedef duk_int32_t duk_intmax_t

Definition at line 1779 of file duk_config.h.

◆ duk_ptrdiff_t

typedef ptrdiff_t duk_ptrdiff_t

Definition at line 1906 of file duk_config.h.

◆ duk_ret_t

Definition at line 1985 of file duk_config.h.

◆ duk_size_t

typedef size_t duk_size_t

Definition at line 1905 of file duk_config.h.

◆ duk_small_int_fast_t

Definition at line 1952 of file duk_config.h.

◆ duk_small_int_t

typedef int duk_small_int_t

Definition at line 1942 of file duk_config.h.

◆ duk_small_uint_fast_t

Definition at line 1953 of file duk_config.h.

◆ duk_small_uint_t

typedef unsigned int duk_small_uint_t

Definition at line 1943 of file duk_config.h.

◆ duk_uarridx_t

Definition at line 1977 of file duk_config.h.

◆ duk_ucodepoint_t

Definition at line 2004 of file duk_config.h.

◆ duk_uidx_t

Definition at line 1970 of file duk_config.h.

◆ duk_uint_fast16_t

typedef duk_uint16_t duk_uint_fast16_t

Definition at line 1764 of file duk_config.h.

◆ duk_uint_fast32_t

typedef duk_uint32_t duk_uint_fast32_t

Definition at line 1766 of file duk_config.h.

◆ duk_uint_fast8_t

typedef duk_uint8_t duk_uint_fast8_t

Definition at line 1762 of file duk_config.h.

◆ duk_uint_fast_t

Definition at line 1933 of file duk_config.h.

◆ duk_uint_least16_t

typedef duk_uint16_t duk_uint_least16_t

Definition at line 1758 of file duk_config.h.

◆ duk_uint_least32_t

typedef duk_uint32_t duk_uint_least32_t

Definition at line 1760 of file duk_config.h.

◆ duk_uint_least8_t

typedef duk_uint8_t duk_uint_least8_t

Definition at line 1756 of file duk_config.h.

◆ duk_uint_t

Definition at line 1921 of file duk_config.h.

◆ duk_uintmax_t

typedef duk_uint32_t duk_uintmax_t

Definition at line 1778 of file duk_config.h.