Lines Matching refs:p_end

11087 	const duk_uint8_t *p_end;  member
18009 const duk_uint8_t *p_end; in duk_unicode_unvalidated_utf8_length() local
18014 p_end = data + blen; in duk_unicode_unvalidated_utf8_length()
18016 while (p != p_end) { in duk_unicode_unvalidated_utf8_length()
18035 const duk_uint8_t *p_end; in duk_unicode_unvalidated_utf8_length() local
18043 p_end = data + blen; in duk_unicode_unvalidated_utf8_length()
18060 …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()
18091 while (p != p_end) { in duk_unicode_unvalidated_utf8_length()
18805 const duk_uint8_t *p, *p_start, *p_end; in duk_unicode_case_convert_string() local
18817 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_unicode_case_convert_string()
18827 if (p < p_end) { in duk_unicode_case_convert_string()
18828 next = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_unicode_case_convert_string()
19909 DUK_ASSERT((duk_size_t) (p_end - p) >= (duk_size_t) (n)); \
19912 …nst duk_uint8_t *duk__load_func(duk_hthread *thr, const duk_uint8_t *p, const duk_uint8_t *p_end) { in duk__load_func() argument
19936 DUK_DD(DUK_DDPRINT("loading function, p=%p, p_end=%p", (const void *) p, (const void *) p_end)); in duk__load_func()
20049 p = duk__load_func(thr, p, p_end); in duk__load_func()
20247 const duk_uint8_t *p_buf, *p, *p_end; in duk_load_function() local
20265 p_end = p_buf + sz; in duk_load_function()
20271 p = duk__load_func(thr, p, p_end); in duk_load_function()
21030 const duk_uint8_t *p_end; in duk__base64_encode_helper() local
21034 p_end = src + srclen; in duk__base64_encode_helper()
21038 while (p < p_end) { in duk__base64_encode_helper()
21043 if (p < p_end) { in duk__base64_encode_helper()
21106 const duk_uint8_t *p_end; in duk__base64_decode_helper() local
21113 p_end = src + srclen; in duk__base64_decode_helper()
21114 p_end_safe = p_end - 8; /* If 'src <= src_end_safe', safe to read 8 bytes. */ in duk__base64_decode_helper()
21144 (const void *) p, (const void *) p_end_safe, (const void *) p_end)); in duk__base64_decode_helper()
21194 (const void *) p, (const void *) p_end, (unsigned long) t)); in duk__base64_decode_helper()
21196 if (DUK_LIKELY(p < p_end)) { in duk__base64_decode_helper()
21270 if (DUK_UNLIKELY(p >= p_end)) { in duk__base64_decode_helper()
21285 (const void *) p, (const void *) p_end)); in duk__base64_decode_helper()
21287 DUK_ASSERT(p == p_end); in duk__base64_decode_helper()
21301 const duk_uint8_t *p_end; in duk__base64_decode_helper() local
21318 p_end = src + srclen; in duk__base64_decode_helper()
21326 if (p >= p_end) { in duk__base64_decode_helper()
30426 const duk_uint8_t *p, *p_start, *p_end; in duk__push_hstring_readable_unicode() local
30438 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk__push_hstring_readable_unicode()
30445 if (p >= p_end) { in duk__push_hstring_readable_unicode()
30454 if (duk_unicode_decode_xutf8(thr, &p, p_start, p_end, &cp)) { in duk__push_hstring_readable_unicode()
30573 const duk_uint8_t *p_end; in duk_push_symbol_descriptive_string() local
30581 p_end = p + DUK_HSTRING_GET_BYTELEN(h); in duk_push_symbol_descriptive_string()
30584 for (q = p; q < p_end; q++) { in duk_push_symbol_descriptive_string()
30821 const duk_uint8_t *p, *p_start, *p_end; in duk_decode_string() local
30830 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_decode_string()
30834 if (p >= p_end) { in duk_decode_string()
30837 cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_decode_string()
30846 const duk_uint8_t *p, *p_start, *p_end; in duk_map_string() local
30860 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input); in duk_map_string()
30868 if (p >= p_end) { in duk_map_string()
30871 cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p, p_start, p_end); in duk_map_string()
30932 const duk_uint8_t *p, *p_start, *p_end, *p_tmp1, *p_tmp2; /* pointers for scanning */ in duk_trim() local
30943 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h); in duk_trim()
30946 while (p < p_end) { in duk_trim()
30948 cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p_tmp1, p_start, p_end); in duk_trim()
30955 if (p == p_end) { in duk_trim()
30961 p = p_end; in duk_trim()
30972 cp = (duk_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &p_tmp2, p_start, p_end); in duk_trim()
30988 DUK_ASSERT(q_start >= p_start && q_start <= p_end); in duk_trim()
30989 DUK_ASSERT(q_end >= p_start && q_end <= p_end); in duk_trim()
30993 (const void *) p_start, (const void *) p_end, in duk_trim()
30996 if (q_start == p_start && q_end == p_end) { in duk_trim()
41435 const duk_uint8_t *p_end; member
41471 tfm_ctx->p_end = tfm_ctx->p_start + DUK_HSTRING_GET_BYTELEN(tfm_ctx->h_str); in duk__transform_helper()
41474 while (tfm_ctx->p < tfm_ctx->p_end) { in duk__transform_helper()
41475 …_codepoint_t) duk_unicode_decode_xutf8_checked(thr, &tfm_ctx->p, tfm_ctx->p_start, tfm_ctx->p_end); in duk__transform_helper()
41507 …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()
41565 duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ in duk__transform_callback_decode_uri()
41735 duk_size_t left = (duk_size_t) (tfm_ctx->p_end - p); /* bytes left */ in duk__transform_callback_unescape()
42299 DUK_ASSERT(p <= js_ctx->p_end); in duk__dec_eat_white()
42325 DUK_ASSERT(js_ctx->p <= js_ctx->p_end); in duk__dec_peek()
42331 DUK_ASSERT(js_ctx->p <= js_ctx->p_end); in duk__dec_get()
42743 (const void *) js_ctx->p_end, (long) x)); in duk__dec_number()
43226 const duk_int8_t *p, *p_start, *p_end; /* Note: intentionally signed. */ local
43242 p_end = p_start + k_len;
43245 if (p == p_end) {
43253 while (p < p_end) {
43278 const duk_uint8_t *p, *p_start, *p_end, *p_now, *p_tmp; local
43286 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_str);
43295 while (p < p_end) {
43298 left = (duk_size_t) (p_end - p);
43385 if (!duk_unicode_decode_xutf8(thr, &p, p_start, p_end, &cp)) {
43562 const duk_uint8_t *p_end; local
43567 p_end = src + src_len;
43569 while (p != p_end) {
44920 js_ctx->p_end = ((const duk_uint8_t *) DUK_HSTRING_GET_DATA(h_text)) +
44922 DUK_ASSERT(*(js_ctx->p_end) == 0x00);
44930 if (js_ctx->p != js_ctx->p_end) {
47557 const duk_uint8_t *p_start, *p_end, *p; local
47579 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_this);
47590 while (p <= p_end && p >= p_start) {
47598 if ((t == firstbyte) && ((duk_size_t) (p_end - p) >= (duk_size_t) q_blen)) {
48180 const duk_uint8_t *p_start, *p_end, *p; /* input string scan */ local
48189 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input);
48196 p_end -= q_blen; /* ensure full memcmp() fits in while */
48200 while (p <= p_end) {
48540 const duk_uint8_t *p_start, *p_end, *p; /* input string scan */ local
48545 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h_input);
48553 p_end -= q_blen; /* ensure full memcmp() fits in while */
48570 while (p < p_end) {
48580 while (p <= p_end) {
48864 duk_uint8_t *p_end; local
48911 p_end = p + result_len;
48914 duk_size_t remain = (duk_size_t) (p_end - p);
49916 const duk_uint8_t *p_end; local
49932 p_end = p + DUK_HSTRING_GET_BYTELEN(h);
49934 if (p_end > p && p[0] == DUK_ASC_UNDERSCORE) {
49945 while (p < p_end) {
50533 const char *p_end = p + DUK_STRLEN(format); local
50542 while (p < p_end) {
50569 while (p < p_end) {
50740 duk_uint8_t *p_end = (duk_uint8_t *) (buf + buf_size - 1); local
50746 duk_int_t left = (duk_int_t) (p_end - p);
59773 const duk_uint8_t *p_end; local
59848 p_end = (const duk_uint8_t *) (p_start + DUK_HSTRING_GET_BYTELEN(h));
59864 p_end,
59899 p_end,
59910 p_found = duk__scan_backwards(p_end,
59926 DUK_ASSERT(p_found <= p_end); /* may be equal */
68752 const duk_uint8_t *p, *p_start, *p_end; local
68769 p_end = p_start + DUK_HSTRING_GET_BYTELEN(h);
68772 (const void *) p_start, (const void *) p_end,
68778 if (duk_unicode_decode_xutf8(thr, &p, p_start, p_end, &cp1)) {
68785 (void) duk_unicode_decode_xutf8(thr, &p, p_start, p_end, &cp2);
74489 duk_instr_t *p, *p_start, *p_end; local
74493 p_end = (duk_instr_t *) DUK_HCOMPFUNC_GET_CODE_END(thr->heap, h);
74496 while (p < p_end) {
90279 const duk_uint8_t *p, *p_end; local
90288 p_end = lex_ctx->input + lex_ctx->input_length;
90298 if (DUK_UNLIKELY(p >= p_end)) {
90316 ((x == 0x000dUL) && (p >= p_end || *p != 0x000aUL))) {
90367 DUK_ASSERT(p_end >= p);
90368 if ((duk_size_t) contlen > (duk_size_t) (p_end - p)) {
95856 const duk_uint8_t *p_end; local
95860 p_end = p + DUK_HSTRING_GET_BYTELEN(h);
95864 while (p < p_end) {