/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.8.0/src-separate/ |
H A D | duk_heap_stringcache.c | 100 if (char_offset > DUK_HSTRING_GET_CHARLEN(h)) { in duk_heap_strcache_offset_char2byte() 126 (long) DUK_HSTRING_GET_CHARLEN(h), in duk_heap_strcache_offset_char2byte() 131 use_cache = (DUK_HSTRING_GET_CHARLEN(h) > DUK_HEAP_STRINGCACHE_NOCACHE_LIMIT); in duk_heap_strcache_offset_char2byte() 160 DUK_ASSERT(DUK_HSTRING_GET_CHARLEN(h) >= char_offset); in duk_heap_strcache_offset_char2byte() 162 dist_end = DUK_HSTRING_GET_CHARLEN(h) - char_offset; in duk_heap_strcache_offset_char2byte()
|
H A D | duk_hstring.h | 76 …RING_IS_ASCII(x) (DUK_HSTRING_GET_BYTELEN((x)) == DUK_HSTRING_GET_CHARLEN((x))) 99 #define DUK_HSTRING_GET_CHARLEN(x) ((x)->clen16) macro 104 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 114 #define DUK_HSTRING_GET_CHARLEN(x) ((x)->clen) macro
|
H A D | duk_api_string.c | 203 if (end_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_substring() 204 end_offset = DUK_HSTRING_GET_CHARLEN(h); in duk_substring() 211 DUK_ASSERT(start_offset <= end_offset && start_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 213 DUK_ASSERT(end_offset >= start_offset && end_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 324 if (char_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_char_code_at()
|
H A D | duk_bi_string.c | 160 DUK_HSTRING_GET_CHARLEN(h) - 1 /*max(incl)*/, in duk_bi_string_prototype_char_code_at() 186 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substring() 224 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substr() 268 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_slice() 330 clen_this = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_this); in duk_bi_string_prototype_indexof_shared() 710 … match_start_coff + DUK_HSTRING_GET_CHARLEN(h_match)); 910 if (match_start_coff == DUK_HSTRING_GET_CHARLEN(h_input)) { 945 q_clen = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_sep); 1062 if (DUK_HSTRING_GET_CHARLEN(h_input) > 0 || !matched) {
|
H A D | duk_hstring_misc.c | 16 DUK_ASSERT(pos < (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h)); in duk_hstring_char_code_at_raw()
|
/dports/www/civetweb/civetweb-1.15/src/third_party/duktape-1.5.2/src-separate/ |
H A D | duk_heap_stringcache.c | 100 if (char_offset > DUK_HSTRING_GET_CHARLEN(h)) { in duk_heap_strcache_offset_char2byte() 126 (long) DUK_HSTRING_GET_CHARLEN(h), in duk_heap_strcache_offset_char2byte() 131 use_cache = (DUK_HSTRING_GET_CHARLEN(h) > DUK_HEAP_STRINGCACHE_NOCACHE_LIMIT); in duk_heap_strcache_offset_char2byte() 160 DUK_ASSERT(DUK_HSTRING_GET_CHARLEN(h) >= char_offset); in duk_heap_strcache_offset_char2byte() 162 dist_end = DUK_HSTRING_GET_CHARLEN(h) - char_offset; in duk_heap_strcache_offset_char2byte()
|
H A D | duk_hstring.h | 76 …RING_IS_ASCII(x) (DUK_HSTRING_GET_BYTELEN((x)) == DUK_HSTRING_GET_CHARLEN((x))) 99 #define DUK_HSTRING_GET_CHARLEN(x) ((x)->clen16) macro 104 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 114 #define DUK_HSTRING_GET_CHARLEN(x) ((x)->clen) macro
|
H A D | duk_api_string.c | 203 if (end_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_substring() 204 end_offset = DUK_HSTRING_GET_CHARLEN(h); in duk_substring() 211 DUK_ASSERT(start_offset <= end_offset && start_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 213 DUK_ASSERT(end_offset >= start_offset && end_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 324 if (char_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_char_code_at()
|
H A D | duk_bi_string.c | 160 DUK_HSTRING_GET_CHARLEN(h) - 1 /*max(incl)*/, in duk_bi_string_prototype_char_code_at() 186 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substring() 224 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substr() 268 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_slice() 330 clen_this = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_this); in duk_bi_string_prototype_indexof_shared() 710 … match_start_coff + DUK_HSTRING_GET_CHARLEN(h_match)); 910 if (match_start_coff == DUK_HSTRING_GET_CHARLEN(h_input)) { 945 q_clen = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_sep); 1062 if (DUK_HSTRING_GET_CHARLEN(h_input) > 0 || !matched) {
|
/dports/lang/duktape-lib/duktape-2.6.0/src-input/ |
H A D | duk_hstring.h | 87 …RING_IS_ASCII(x) (DUK_HSTRING_GET_BYTELEN((x)) == DUK_HSTRING_GET_CHARLEN((x))) 110 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 115 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 125 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro
|
H A D | duk_bi_string.c | 291 if (DUK_UNLIKELY(pos < 0 || (duk_uint_t) pos >= (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h))) { in duk_bi_string_prototype_char_at() 319 (duk_int_t) DUK_HSTRING_GET_CHARLEN(h) - 1 /*max(incl)*/, in duk_bi_string_prototype_char_code_at() 358 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substring() 396 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substr() 435 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_slice() 489 clen_this = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_this); in duk_bi_string_prototype_indexof_shared() 813 … match_start_coff + (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h_match)); 1009 if (match_start_coff == DUK_HSTRING_GET_CHARLEN(h_input)) { 1043 q_clen = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_sep); 1551 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_target); [all …]
|
H A D | duk_heap_stringcache.c | 113 char_length = (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h); in duk_heap_strcache_offset_char2byte() 137 (long) DUK_HSTRING_GET_CHARLEN(h), in duk_heap_strcache_offset_char2byte() 171 DUK_ASSERT(DUK_HSTRING_GET_CHARLEN(h) >= char_offset); in duk_heap_strcache_offset_char2byte()
|
H A D | duk_api_string.c | 247 charlen = DUK_HSTRING_GET_CHARLEN(h); in duk_substring() 256 DUK_ASSERT(start_offset <= end_offset && start_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 258 DUK_ASSERT(end_offset >= start_offset && end_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 371 if (char_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_char_code_at()
|
/dports/lang/duktape/duktape-2.6.0/src-separate/ |
H A D | duk_hstring.h | 87 …RING_IS_ASCII(x) (DUK_HSTRING_GET_BYTELEN((x)) == DUK_HSTRING_GET_CHARLEN((x))) 110 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 115 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 125 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro
|
H A D | duk_bi_string.c | 291 if (DUK_UNLIKELY(pos < 0 || (duk_uint_t) pos >= (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h))) { in duk_bi_string_prototype_char_at() 319 (duk_int_t) DUK_HSTRING_GET_CHARLEN(h) - 1 /*max(incl)*/, in duk_bi_string_prototype_char_code_at() 358 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substring() 396 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substr() 435 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_slice() 489 clen_this = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_this); in duk_bi_string_prototype_indexof_shared() 813 … match_start_coff + (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h_match)); 1009 if (match_start_coff == DUK_HSTRING_GET_CHARLEN(h_input)) { 1043 q_clen = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_sep); 1551 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_target); [all …]
|
H A D | duk_heap_stringcache.c | 113 char_length = (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h); in duk_heap_strcache_offset_char2byte() 137 (long) DUK_HSTRING_GET_CHARLEN(h), in duk_heap_strcache_offset_char2byte() 171 DUK_ASSERT(DUK_HSTRING_GET_CHARLEN(h) >= char_offset); in duk_heap_strcache_offset_char2byte()
|
H A D | duk_api_string.c | 247 charlen = DUK_HSTRING_GET_CHARLEN(h); in duk_substring() 256 DUK_ASSERT(start_offset <= end_offset && start_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 258 DUK_ASSERT(end_offset >= start_offset && end_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 371 if (char_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_char_code_at()
|
/dports/lang/duktape-lib/duktape-2.6.0/src-separate/ |
H A D | duk_hstring.h | 87 …RING_IS_ASCII(x) (DUK_HSTRING_GET_BYTELEN((x)) == DUK_HSTRING_GET_CHARLEN((x))) 110 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 115 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 125 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro
|
H A D | duk_bi_string.c | 291 if (DUK_UNLIKELY(pos < 0 || (duk_uint_t) pos >= (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h))) { in duk_bi_string_prototype_char_at() 319 (duk_int_t) DUK_HSTRING_GET_CHARLEN(h) - 1 /*max(incl)*/, in duk_bi_string_prototype_char_code_at() 358 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substring() 396 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substr() 435 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_slice() 489 clen_this = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_this); in duk_bi_string_prototype_indexof_shared() 813 … match_start_coff + (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h_match)); 1009 if (match_start_coff == DUK_HSTRING_GET_CHARLEN(h_input)) { 1043 q_clen = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_sep); 1551 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_target); [all …]
|
H A D | duk_heap_stringcache.c | 113 char_length = (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h); in duk_heap_strcache_offset_char2byte() 137 (long) DUK_HSTRING_GET_CHARLEN(h), in duk_heap_strcache_offset_char2byte() 171 DUK_ASSERT(DUK_HSTRING_GET_CHARLEN(h) >= char_offset); in duk_heap_strcache_offset_char2byte()
|
H A D | duk_api_string.c | 247 charlen = DUK_HSTRING_GET_CHARLEN(h); in duk_substring() 256 DUK_ASSERT(start_offset <= end_offset && start_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 258 DUK_ASSERT(end_offset >= start_offset && end_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 371 if (char_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_char_code_at()
|
/dports/lang/duktape/duktape-2.6.0/src-input/ |
H A D | duk_hstring.h | 87 …RING_IS_ASCII(x) (DUK_HSTRING_GET_BYTELEN((x)) == DUK_HSTRING_GET_CHARLEN((x))) 110 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 115 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro 125 #define DUK_HSTRING_GET_CHARLEN(x) duk_hstring_get_charlen((x)) macro
|
H A D | duk_bi_string.c | 291 if (DUK_UNLIKELY(pos < 0 || (duk_uint_t) pos >= (duk_uint_t) DUK_HSTRING_GET_CHARLEN(h))) { in duk_bi_string_prototype_char_at() 319 (duk_int_t) DUK_HSTRING_GET_CHARLEN(h) - 1 /*max(incl)*/, in duk_bi_string_prototype_char_code_at() 358 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substring() 396 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_substr() 435 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h); in duk_bi_string_prototype_slice() 489 clen_this = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_this); in duk_bi_string_prototype_indexof_shared() 813 … match_start_coff + (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h_match)); 1009 if (match_start_coff == DUK_HSTRING_GET_CHARLEN(h_input)) { 1043 q_clen = (duk_size_t) DUK_HSTRING_GET_CHARLEN(h_sep); 1551 len = (duk_int_t) DUK_HSTRING_GET_CHARLEN(h_target); [all …]
|
H A D | duk_heap_stringcache.c | 113 char_length = (duk_uint_fast32_t) DUK_HSTRING_GET_CHARLEN(h); in duk_heap_strcache_offset_char2byte() 137 (long) DUK_HSTRING_GET_CHARLEN(h), in duk_heap_strcache_offset_char2byte() 171 DUK_ASSERT(DUK_HSTRING_GET_CHARLEN(h) >= char_offset); in duk_heap_strcache_offset_char2byte()
|
H A D | duk_api_string.c | 247 charlen = DUK_HSTRING_GET_CHARLEN(h); in duk_substring() 256 DUK_ASSERT(start_offset <= end_offset && start_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 258 DUK_ASSERT(end_offset >= start_offset && end_offset <= DUK_HSTRING_GET_CHARLEN(h)); in duk_substring() 371 if (char_offset >= DUK_HSTRING_GET_CHARLEN(h)) { in duk_char_code_at()
|