Home
last modified time | relevance | path

Searched refs:curr_p (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c859 const lit_utf8_byte_t *curr_p = replace_buf_p; in ecma_builtin_replace_substitute() local
862 while (curr_p < replace_end_p) in ecma_builtin_replace_substitute()
864 if (*curr_p++ == LIT_CHAR_DOLLAR_SIGN) in ecma_builtin_replace_substitute()
868 (lit_utf8_size_t) (curr_p - last_inserted_end_p - 1)); in ecma_builtin_replace_substitute()
869 if (curr_p >= replace_end_p) in ecma_builtin_replace_substitute()
871 last_inserted_end_p = curr_p - 1; in ecma_builtin_replace_substitute()
875 const lit_utf8_byte_t c = *curr_p++; in ecma_builtin_replace_substitute()
939 const lit_utf8_byte_t *const number_begin_p = curr_p - 1; in ecma_builtin_replace_substitute()
952 if (curr_p < replace_end_p && lit_char_is_decimal_digit (*(curr_p))) in ecma_builtin_replace_substitute()
954 uint8_t two_digit_index = (uint8_t) (idx * 10 + (uint8_t) (*(curr_p) - LIT_CHAR_0)); in ecma_builtin_replace_substitute()
[all …]
Decma-builtin-string-prototype.c479 for (const lit_utf8_byte_t *curr_p = replace_ctx.string_p; in ecma_builtin_string_prototype_object_replace() local
480 curr_p <= loop_end_p; in ecma_builtin_string_prototype_object_replace()
481 lit_utf8_incr (&curr_p), pos++) in ecma_builtin_string_prototype_object_replace()
483 if (!memcmp (curr_p, search_buf_p, search_size)) in ecma_builtin_string_prototype_object_replace()
485 const lit_utf8_size_t byte_offset = (lit_utf8_size_t) (curr_p - replace_ctx.string_p); in ecma_builtin_string_prototype_object_replace()
525 replace_ctx.matched_p = curr_p; in ecma_builtin_string_prototype_object_replace()
531 const lit_utf8_byte_t *const match_end_p = curr_p + search_size; in ecma_builtin_string_prototype_object_replace()
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-parser.c359 const lit_utf8_byte_t *curr_p = re_ctx_p->input_start_p; in re_count_groups() local
361 while (curr_p < re_ctx_p->input_end_p) in re_count_groups()
363 switch (*curr_p++) in re_count_groups()
367 if (curr_p < re_ctx_p->input_end_p) in re_count_groups()
369 lit_utf8_incr (&curr_p); in re_count_groups()
385 if (curr_p < re_ctx_p->input_end_p in re_count_groups()
386 && *curr_p != LIT_CHAR_QUESTION in re_count_groups()
/third_party/jerryscript/jerry-core/jmem/
Djmem-heap.c76 jmem_heap_get_region_end (jmem_heap_free_t *curr_p) /**< current region */ in jmem_heap_get_region_end() argument
78 return (jmem_heap_free_t *) ((uint8_t *) curr_p + curr_p->size); in jmem_heap_get_region_end()
/third_party/icu/icu4c/source/common/
Ducurr.cpp908 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount() local
909 n = ures_getSize(curr_p); in getCurrencyNameCount()
911 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec3); in getCurrencyNameCount()
915 ures_close(curr_p); in getCurrencyNameCount()
1054 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec5); in collectCurrencyNames() local
1055 n = ures_getSize(curr_p); in collectCurrencyNames()
1057 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec5); in collectCurrencyNames()
1084 ures_close(curr_p); in collectCurrencyNames()
/third_party/skia/third_party/externals/icu/source/common/
Ducurr.cpp908 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount() local
909 n = ures_getSize(curr_p); in getCurrencyNameCount()
911 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec3); in getCurrencyNameCount()
915 ures_close(curr_p); in getCurrencyNameCount()
1054 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec5); in collectCurrencyNames() local
1055 n = ures_getSize(curr_p); in collectCurrencyNames()
1057 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec5); in collectCurrencyNames()
1084 ures_close(curr_p); in collectCurrencyNames()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducurr.cpp935 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount() local
936 n = ures_getSize(curr_p); in getCurrencyNameCount()
938 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec3); in getCurrencyNameCount()
942 ures_close(curr_p); in getCurrencyNameCount()
1081 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec5); in collectCurrencyNames() local
1082 n = ures_getSize(curr_p); in collectCurrencyNames()
1084 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec5); in collectCurrencyNames()
1111 ures_close(curr_p); in collectCurrencyNames()
/third_party/node/deps/icu-small/source/common/
Ducurr.cpp908 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec3); in getCurrencyNameCount() local
909 n = ures_getSize(curr_p); in getCurrencyNameCount()
911 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec3); in getCurrencyNameCount()
915 ures_close(curr_p); in getCurrencyNameCount()
1054 UResourceBundle* curr_p = ures_getByKey(rb, CURRENCYPLURALS, NULL, &ec5); in collectCurrencyNames() local
1055 n = ures_getSize(curr_p); in collectCurrencyNames()
1057 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec5); in collectCurrencyNames()
1084 ures_close(curr_p); in collectCurrencyNames()