Home
last modified time | relevance | path

Searched refs:end_p (Results 1 – 11 of 11) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-exceptions.c263 const char *end_p = format; in ecma_raise_standard_error_with_format() local
269 while (*end_p) in ecma_raise_standard_error_with_format()
271 if (*end_p == '%') in ecma_raise_standard_error_with_format()
274 if (end_p > start_p) in ecma_raise_standard_error_with_format()
276 …ingbuilder_append_raw (&builder, (lit_utf8_byte_t *) start_p, (lit_utf8_size_t) (end_p - start_p)); in ecma_raise_standard_error_with_format()
307 start_p = end_p + 1; in ecma_raise_standard_error_with_format()
310 end_p++; in ecma_raise_standard_error_with_format()
316 if (start_p < end_p) in ecma_raise_standard_error_with_format()
318 …ecma_stringbuilder_append_raw (&builder, (lit_utf8_byte_t *) start_p, (lit_utf8_size_t) (end_p - s… in ecma_raise_standard_error_with_format()
Decma-regexp-object.c542 const lit_utf8_byte_t *end_p) /**< string end pointer */ in ecma_regexp_unicode_advance() argument
549 && current_p < end_p) in ecma_regexp_unicode_advance()
621 re_ctx_p->captures_p[RE_GLOBAL_CAPTURE].end_p = str_curr_p; in ecma_regexp_run()
663 const lit_utf8_byte_t *const saved_end_p = group_p->end_p; in ecma_regexp_run()
667 group_p->end_p = NULL; in ecma_regexp_run()
693 group_p->end_p = saved_end_p; in ecma_regexp_run()
776 group_p->end_p = str_curr_p; in ecma_regexp_run()
813 group_p->end_p = str_curr_p; in ecma_regexp_run()
949 group_p->end_p = str_curr_p; in ecma_regexp_run()
1205 if (!ECMA_RE_IS_CAPTURE_DEFINED (capture_p) || capture_p->end_p <= capture_p->begin_p) in ecma_regexp_run()
[all …]
Decma-regexp-object.h88 const lit_utf8_byte_t *end_p; /**< capture end pointer */ member
152 …_point_t ecma_regexp_unicode_advance (const lit_utf8_byte_t **str_p, const lit_utf8_byte_t *end_p);
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-json.c84 const lit_utf8_byte_t *end_p; /**< end of the string processed by the parser */ member
103 const lit_utf8_byte_t *end_p = token_p->end_p; in ecma_builtin_json_parse_string() local
110 if (current_p >= end_p || *current_p <= 0x1f) in ecma_builtin_json_parse_string()
129 if (current_p >= end_p) in ecma_builtin_json_parse_string()
177 …uint32_t hex_value = lit_char_hex_lookup (current_p + 1, end_p, ECMA_JSON_HEX_ESCAPE_SEQUENCE_LENG… in ecma_builtin_json_parse_string()
219 const lit_utf8_byte_t *end_p = token_p->end_p; in ecma_builtin_json_parse_number() local
222 JERRY_ASSERT (current_p < end_p); in ecma_builtin_json_parse_number()
229 if (current_p >= end_p) in ecma_builtin_json_parse_number()
238 if (current_p < end_p && lit_char_is_decimal_digit (*current_p)) in ecma_builtin_json_parse_number()
249 while (current_p < end_p && lit_char_is_decimal_digit (*current_p)); in ecma_builtin_json_parse_number()
[all …]
Decma-builtin-helpers.c974 … (lit_utf8_size_t) (capture_p->end_p - capture_p->begin_p)); in ecma_builtin_replace_substitute()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-conversion.c295 const lit_utf8_byte_t *end_p, /**< end of utf-8 string */ in ecma_utf8_string_to_number_by_radix() argument
306 for (const lit_utf8_byte_t * iter_p = str_p; iter_p <= end_p; iter_p++) in ecma_utf8_string_to_number_by_radix()
326 for (const lit_utf8_byte_t * iter_p = str_p; iter_p <= end_p; iter_p++) in ecma_utf8_string_to_number_by_radix()
377 const lit_utf8_byte_t *end_p = str_p + (str_size - 1); in ecma_utf8_string_to_number() local
384 if (end_p >= str_p + 2 in ecma_utf8_string_to_number()
391 return ecma_utf8_string_to_number_by_radix (str_p + 2, end_p, 16); in ecma_utf8_string_to_number()
395 return ecma_utf8_string_to_number_by_radix (str_p + 2, end_p, 8); in ecma_utf8_string_to_number()
399 return ecma_utf8_string_to_number_by_radix (str_p + 2, end_p, 2); in ecma_utf8_string_to_number()
421 if (str_p > end_p) in ecma_utf8_string_to_number()
431 if ((end_p - str_p) == (8 - 1) && memcmp (infinity_zt_str_p, str_p, 8) == 0) in ecma_utf8_string_to_number()
[all …]
Decma-helpers-number.c739 const lit_utf8_byte_t *end_p = string_end_p; in ecma_number_parse_int() local
802 && ((end_p - start_p) >= 2) in ecma_number_parse_int()
841 end_p = --string_curr_p; in ecma_number_parse_int()
847 if (end_p == start_p) in ecma_number_parse_int()
856 string_curr_p = end_p; in ecma_number_parse_int()
916 const lit_utf8_byte_t *end_p = str_end_p; in ecma_number_parse_float() local
986 end_p = str_curr_p; in ecma_number_parse_float()
1016 end_p = str_curr_p; in ecma_number_parse_float()
1055 end_p = str_curr_p; in ecma_number_parse_float()
1060 if (start_p == end_p) in ecma_number_parse_float()
[all …]
Decma-helpers-string.c1146 const lit_utf8_byte_t *end_p = start_p; in ecma_substring_copy_to_cesu8_buffer() local
1150 lit_utf8_size_t code_unit_size = lit_get_unicode_char_size_by_utf8_first_byte (*end_p); in ecma_substring_copy_to_cesu8_buffer()
1157 end_p += code_unit_size; in ecma_substring_copy_to_cesu8_buffer()
2456 const lit_utf8_byte_t *end_p = start_p; in ecma_string_substr() local
2459 end_p += lit_get_unicode_char_size_by_utf8_first_byte (*end_p); in ecma_string_substr()
2462 ecma_string_p = ecma_new_ecma_string_from_utf8 (start_p, (lit_utf8_size_t) (end_p - start_p)); in ecma_string_substr()
/third_party/python/Modules/
Dmmapmodule.c314 const char *p, *start_p, *end_p; in mmap_gfind() local
334 end_p = self->data + end; in mmap_gfind()
336 for (p = (reverse ? end_p - len : start_p); in mmap_gfind()
337 (p >= start_p) && (p + len <= end_p); p += sign) { in mmap_gfind()
/third_party/mbedtls/library/
Dssl_tls12_client.c3154 unsigned char *end_p = ssl->out_msg + MBEDTLS_SSL_OUT_CONTENT_LEN - in ssl_write_client_key_exchange() local
3157 out_p, end_p - out_p, &content_len, in ssl_write_client_key_exchange()
Dssl_tls12_server.c2759 unsigned char *end_p = ssl->out_msg + MBEDTLS_SSL_OUT_CONTENT_LEN - in ssl_prepare_server_key_exchange() local
2783 end_p - out_p - output_offset, &output_len, in ssl_prepare_server_key_exchange()