/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/ |
D | duk_api_string.c | 128 const duk_uint8_t *p, *p_start, *p_end; in duk_decode_string() local 137 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_decode_string() 141 if (p >= p_end) { in duk_decode_string() 144 cp = (int) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_decode_string() 154 const duk_uint8_t *p, *p_start, *p_end; in duk_map_string() local 168 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_map_string() 176 if (p >= p_end) { in duk_map_string() 179 cp = (int) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_map_string() 240 const duk_uint8_t *p, *p_start, *p_end, *p_tmp1, *p_tmp2; /* pointers for scanning */ in duk_trim() local 251 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h); in duk_trim() [all …]
|
D | duk_heap_stringcache.c | 97 const duk_uint8_t *p_end; in duk_heap_strcache_offset_char2byte() local 166 p_end = (const duk_uint8_t *) (p_start + DUK_HSTRING_GET_BYTELEN(h)); in duk_heap_strcache_offset_char2byte() 182 p_end, in duk_heap_strcache_offset_char2byte() 217 p_end, in duk_heap_strcache_offset_char2byte() 228 p_found = duk__scan_backwards(p_end, in duk_heap_strcache_offset_char2byte() 244 DUK_ASSERT(p_found <= p_end); /* may be equal */ in duk_heap_strcache_offset_char2byte()
|
D | duk_hstring_misc.c | 9 const duk_uint8_t *p, *p_start, *p_end; in duk_hstring_char_code_at_raw() local 25 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h); in duk_hstring_char_code_at_raw() 28 (const void *) p_start, (const void *) p_end, in duk_hstring_char_code_at_raw() 32 cp = duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_hstring_char_code_at_raw()
|
D | duk_unicode_support.c | 295 const duk_uint8_t *p_end; in duk_unicode_unvalidated_utf8_length() local 300 p_end = data + blen; in duk_unicode_unvalidated_utf8_length() 302 while (p != p_end) { in duk_unicode_unvalidated_utf8_length() 321 const duk_uint8_t *p_end; in duk_unicode_unvalidated_utf8_length() local 329 p_end = data + blen; in duk_unicode_unvalidated_utf8_length() 346 …p32_end = (const duk_uint32_t *) (const void *) (p + ((duk_size_t) (p_end - p) & (duk_size_t) (~0x… in duk_unicode_unvalidated_utf8_length() 377 while (p != p_end) { in duk_unicode_unvalidated_utf8_length() 1008 const duk_uint8_t *p, *p_start, *p_end; in duk_unicode_case_convert_string() local 1020 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_unicode_case_convert_string() 1030 if (p < p_end) { in duk_unicode_case_convert_string() [all …]
|
D | duk_bi_string.c | 321 const duk_uint8_t *p_start, *p_end, *p; in duk_bi_string_prototype_indexof_shared() local 361 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_this); in duk_bi_string_prototype_indexof_shared() 372 while (p <= p_end && p >= p_start) { in duk_bi_string_prototype_indexof_shared() 380 if ((t == firstbyte) && ((duk_size_t) (p_end - p) >= (duk_size_t) q_blen)) { in duk_bi_string_prototype_indexof_shared() 569 const duk_uint8_t *p_start, *p_end, *p; /* input string scan */ local 578 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); 586 p_end -= q_blen; /* ensure full memcmp() fits in while */ 590 while (p <= p_end) { 933 const duk_uint8_t *p_start, *p_end, *p; /* input string scan */ local 938 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); [all …]
|
D | duk_hobject_enum.c | 59 duk_hstring **p_curr, **p_insert, **p_end; in duk__sort_array_indices() local 72 p_end = keys + DUK_HOBJECT_GET_ENEXT(h_obj); in duk__sort_array_indices() 76 (void *) keys, (void *) p_end)); in duk__sort_array_indices() 91 for (p_curr = keys + 1; p_curr < p_end; p_curr++) { in duk__sort_array_indices() 98 (void *) p_curr, (void *) p_end, (long) val_highest, (long) val_curr)); in duk__sort_array_indices() 105 (void *) p_curr, (void *) p_end, (long) val_highest, (long) val_curr)); in duk__sort_array_indices()
|
D | duk_debug_vsnprintf.c | 247 const duk_uint8_t *p_end; in duk__print_hstring() local 263 p_end = p + DUK_HSTRING_GET_BYTELEN(h); in duk__print_hstring() 265 if (p_end > p && p[0] == DUK_ASC_UNDERSCORE) { in duk__print_hstring() 276 while (p < p_end) { in duk__print_hstring() 829 const char *p_end = p + DUK_STRLEN(format); in duk_debug_vsnprintf() local 838 while (p < p_end) { in duk_debug_vsnprintf() 865 while (p < p_end) { in duk_debug_vsnprintf() 1028 duk_uint8_t *p_end = (duk_uint8_t *) (buf + buf_size - 1); in duk_debug_format_funcptr() local 1033 duk_int_t left = (duk_int_t) (p_end - p); in duk_debug_format_funcptr()
|
D | duk_bi_json.c | 216 DUK_ASSERT(p <= js_ctx->p_end); in duk__dec_eat_white() 241 DUK_ASSERT(js_ctx->p <= js_ctx->p_end); in duk__dec_peek() 246 DUK_ASSERT(js_ctx->p <= js_ctx->p_end); in duk__dec_get() 662 (const void *) js_ctx->p_end, (long) x)); in duk__dec_number() 1147 const duk_int8_t *p, *p_start, *p_end; /* Note: intentionally signed. */ local 1163 p_end = p_start + k_len; 1166 if (p == p_end) { 1174 while (p < p_end) { 1199 const duk_uint8_t *p, *p_start, *p_end, *p_now, *p_tmp; local 1207 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_str); [all …]
|
D | duk_api_bytecode.c | 368 DUK_ASSERT((duk_size_t) (p_end - p) >= (duk_size_t) (n)); \ 371 static duk_uint8_t *duk__load_func(duk_context *ctx, duk_uint8_t *p, duk_uint8_t *p_end) { in duk__load_func() argument 394 DUK_DD(DUK_DDPRINT("loading function, p=%p, p_end=%p", (void *) p, (void *) p_end)); in duk__load_func() 503 p = duk__load_func(ctx, p, p_end); in duk__load_func() 673 duk_uint8_t *p_buf, *p, *p_end; in duk_load_function() local 693 p_end = p_buf + sz; in duk_load_function() 699 p = duk__load_func(ctx, p, p_end); in duk_load_function()
|
D | duk_bi_global.c | 95 const duk_uint8_t *p_end; member 132 tfm_ctx->p_end = tfm_ctx->p_start + DUK_HSTRING_GET_BYTELEN(tfm_ctx->h_str); in duk__transform_helper() 135 while (tfm_ctx->p < tfm_ctx->p_end) { in duk__transform_helper() 136 …_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &tfm_ctx->p, tfm_ctx->p_start, tfm_ctx->p_end); in duk__transform_helper() 168 …if (duk_unicode_decode_xutf8(tfm_ctx->thr, &tfm_ctx->p, tfm_ctx->p_start, tfm_ctx->p_end, (duk_uco… in duk__transform_callback_encode_uri() 225 duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ in duk__transform_callback_decode_uri() 393 duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ in duk__transform_callback_unescape()
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-separate/ |
D | duk_api_string.c | 128 const duk_uint8_t *p, *p_start, *p_end; in duk_decode_string() local 137 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_decode_string() 141 if (p >= p_end) { in duk_decode_string() 144 cp = (int) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_decode_string() 154 const duk_uint8_t *p, *p_start, *p_end; in duk_map_string() local 168 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_map_string() 176 if (p >= p_end) { in duk_map_string() 179 cp = (int) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_map_string() 240 const duk_uint8_t *p, *p_start, *p_end, *p_tmp1, *p_tmp2; /* pointers for scanning */ in duk_trim() local 251 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h); in duk_trim() [all …]
|
D | duk_heap_stringcache.c | 97 const duk_uint8_t *p_end; in duk_heap_strcache_offset_char2byte() local 166 p_end = (const duk_uint8_t *) (p_start + DUK_HSTRING_GET_BYTELEN(h)); in duk_heap_strcache_offset_char2byte() 182 p_end, in duk_heap_strcache_offset_char2byte() 217 p_end, in duk_heap_strcache_offset_char2byte() 228 p_found = duk__scan_backwards(p_end, in duk_heap_strcache_offset_char2byte() 244 DUK_ASSERT(p_found <= p_end); /* may be equal */ in duk_heap_strcache_offset_char2byte()
|
D | duk_hstring_misc.c | 9 const duk_uint8_t *p, *p_start, *p_end; in duk_hstring_char_code_at_raw() local 25 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h); in duk_hstring_char_code_at_raw() 28 (const void *) p_start, (const void *) p_end, in duk_hstring_char_code_at_raw() 32 cp = duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_hstring_char_code_at_raw()
|
D | duk_unicode_support.c | 295 const duk_uint8_t *p_end; in duk_unicode_unvalidated_utf8_length() local 300 p_end = data + blen; in duk_unicode_unvalidated_utf8_length() 302 while (p != p_end) { in duk_unicode_unvalidated_utf8_length() 321 const duk_uint8_t *p_end; in duk_unicode_unvalidated_utf8_length() local 329 p_end = data + blen; in duk_unicode_unvalidated_utf8_length() 346 …p32_end = (const duk_uint32_t *) (const void *) (p + ((duk_size_t) (p_end - p) & (duk_size_t) (~0x… in duk_unicode_unvalidated_utf8_length() 377 while (p != p_end) { in duk_unicode_unvalidated_utf8_length() 1008 const duk_uint8_t *p, *p_start, *p_end; in duk_unicode_case_convert_string() local 1020 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_unicode_case_convert_string() 1030 if (p < p_end) { in duk_unicode_case_convert_string() [all …]
|
D | duk_bi_string.c | 321 const duk_uint8_t *p_start, *p_end, *p; in duk_bi_string_prototype_indexof_shared() local 361 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_this); in duk_bi_string_prototype_indexof_shared() 372 while (p <= p_end && p >= p_start) { in duk_bi_string_prototype_indexof_shared() 380 if ((t == firstbyte) && ((duk_size_t) (p_end - p) >= (duk_size_t) q_blen)) { in duk_bi_string_prototype_indexof_shared() 569 const duk_uint8_t *p_start, *p_end, *p; /* input string scan */ local 578 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); 586 p_end -= q_blen; /* ensure full memcmp() fits in while */ 590 while (p <= p_end) { 933 const duk_uint8_t *p_start, *p_end, *p; /* input string scan */ local 938 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); [all …]
|
D | duk_hobject_enum.c | 59 duk_hstring **p_curr, **p_insert, **p_end; in duk__sort_array_indices() local 72 p_end = keys + DUK_HOBJECT_GET_ENEXT(h_obj); in duk__sort_array_indices() 76 (void *) keys, (void *) p_end)); in duk__sort_array_indices() 91 for (p_curr = keys + 1; p_curr < p_end; p_curr++) { in duk__sort_array_indices() 98 (void *) p_curr, (void *) p_end, (long) val_highest, (long) val_curr)); in duk__sort_array_indices() 105 (void *) p_curr, (void *) p_end, (long) val_highest, (long) val_curr)); in duk__sort_array_indices()
|
D | duk_debug_vsnprintf.c | 247 const duk_uint8_t *p_end; in duk__print_hstring() local 263 p_end = p + DUK_HSTRING_GET_BYTELEN(h); in duk__print_hstring() 265 if (p_end > p && p[0] == DUK_ASC_UNDERSCORE) { in duk__print_hstring() 276 while (p < p_end) { in duk__print_hstring() 829 const char *p_end = p + DUK_STRLEN(format); in duk_debug_vsnprintf() local 838 while (p < p_end) { in duk_debug_vsnprintf() 865 while (p < p_end) { in duk_debug_vsnprintf() 1028 duk_uint8_t *p_end = (duk_uint8_t *) (buf + buf_size - 1); in duk_debug_format_funcptr() local 1033 duk_int_t left = (duk_int_t) (p_end - p); in duk_debug_format_funcptr()
|
D | duk_bi_json.c | 216 DUK_ASSERT(p <= js_ctx->p_end); in duk__dec_eat_white() 241 DUK_ASSERT(js_ctx->p <= js_ctx->p_end); in duk__dec_peek() 246 DUK_ASSERT(js_ctx->p <= js_ctx->p_end); in duk__dec_get() 662 (const void *) js_ctx->p_end, (long) x)); in duk__dec_number() 1147 const duk_int8_t *p, *p_start, *p_end; /* Note: intentionally signed. */ local 1163 p_end = p_start + k_len; 1166 if (p == p_end) { 1174 while (p < p_end) { 1199 const duk_uint8_t *p, *p_start, *p_end, *p_now, *p_tmp; local 1207 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_str); [all …]
|
D | duk_api_bytecode.c | 368 DUK_ASSERT((duk_size_t) (p_end - p) >= (duk_size_t) (n)); \ 371 static duk_uint8_t *duk__load_func(duk_context *ctx, duk_uint8_t *p, duk_uint8_t *p_end) { in duk__load_func() argument 394 DUK_DD(DUK_DDPRINT("loading function, p=%p, p_end=%p", (void *) p, (void *) p_end)); in duk__load_func() 503 p = duk__load_func(ctx, p, p_end); in duk__load_func() 673 duk_uint8_t *p_buf, *p, *p_end; in duk_load_function() local 693 p_end = p_buf + sz; in duk_load_function() 699 p = duk__load_func(ctx, p, p_end); in duk_load_function()
|
D | duk_bi_global.c | 95 const duk_uint8_t *p_end; member 132 tfm_ctx->p_end = tfm_ctx->p_start + DUK_HSTRING_GET_BYTELEN(tfm_ctx->h_str); in duk__transform_helper() 135 while (tfm_ctx->p < tfm_ctx->p_end) { in duk__transform_helper() 136 …_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &tfm_ctx->p, tfm_ctx->p_start, tfm_ctx->p_end); in duk__transform_helper() 168 …if (duk_unicode_decode_xutf8(tfm_ctx->thr, &tfm_ctx->p, tfm_ctx->p_start, tfm_ctx->p_end, (duk_uco… in duk__transform_callback_encode_uri() 225 duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ in duk__transform_callback_decode_uri() 393 duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ in duk__transform_callback_unescape()
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/examples/cmdline/ |
D | duk_cmdline.c | 323 const unsigned char *p_end; in linenoise_completion_lookup() local 331 p_end = p_curr + len; in linenoise_completion_lookup() 337 while (p_curr <= p_end) { in linenoise_completion_lookup() 340 while (p < p_end && p[0] != (unsigned char) '.') { in linenoise_completion_lookup() 351 if (p == p_end) { in linenoise_completion_lookup() 425 const unsigned char *p_end; in linenoise_completion() local 438 p_end = (const unsigned char *) (buf + strlen(buf)); in linenoise_completion() 439 p = p_end; in linenoise_completion() 462 if (p < p_start || p >= p_end) { in linenoise_completion() 478 duk_push_lstring(ctx, (const char *) p, (duk_size_t) (p_end - p)); in linenoise_completion()
|
D | duk_cmdline_ajduk.c | 422 uint8_t *p, *p_end; in ajsheap_extstr_check_1() local 444 for (p = ajsheap_strdata, p_end = p + ajsheap_strdata_used; p != p_end; p++) { in ajsheap_extstr_check_1() 448 left = (size_t) (p_end - p); in ajsheap_extstr_check_1()
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/examples/cmdline/ |
D | duk_cmdline.c | 323 const unsigned char *p_end; in linenoise_completion_lookup() local 331 p_end = p_curr + len; in linenoise_completion_lookup() 337 while (p_curr <= p_end) { in linenoise_completion_lookup() 340 while (p < p_end && p[0] != (unsigned char) '.') { in linenoise_completion_lookup() 351 if (p == p_end) { in linenoise_completion_lookup() 425 const unsigned char *p_end; in linenoise_completion() local 438 p_end = (const unsigned char *) (buf + strlen(buf)); in linenoise_completion() 439 p = p_end; in linenoise_completion() 462 if (p < p_start || p >= p_end) { in linenoise_completion() 478 duk_push_lstring(ctx, (const char *) p, (duk_size_t) (p_end - p)); in linenoise_completion()
|
D | duk_cmdline_ajduk.c | 422 uint8_t *p, *p_end; in ajsheap_extstr_check_1() local 444 for (p = ajsheap_strdata, p_end = p + ajsheap_strdata_used; p != p_end; p++) { in ajsheap_extstr_check_1() 448 left = (size_t) (p_end - p); in ajsheap_extstr_check_1()
|
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/ |
D | lstrlib.c | 202 const char *p_end; /* end ('\0') of pattern */ member 245 if (p == ms->p_end) in classend() 252 if (p == ms->p_end) in classend() 254 if (*(p++) == L_ESC && p < ms->p_end) in classend() 327 if (p >= ms->p_end - 1) in matchbalance() 414 if (p != ms->p_end) { /* end of pattern? */ in match() 428 if ((p + 1) != ms->p_end) /* is the `$' the last char in pattern? */ in match() 608 ms.p_end = p + lp; in str_find_aux() 649 ms.p_end = p + lp; in gmatch_aux() 756 ms.p_end = p + lp; in str_gsub()
|