Home
last modified time | relevance | path

Searched refs:matched_p (Results 1 – 4 of 4) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.c687 const lit_utf8_byte_t *matched_p = ecma_regexp_run (re_ctx_p, bc_p, str_curr_p); in ecma_regexp_run() local
690 if (matched_p == NULL) in ecma_regexp_run()
697 return matched_p; in ecma_regexp_run()
728 const lit_utf8_byte_t *matched_p = ecma_regexp_run (re_ctx_p, bc_p, str_curr_p); in ecma_regexp_run() local
731 if (matched_p == NULL) in ecma_regexp_run()
736 return matched_p; in ecma_regexp_run()
755 … const lit_utf8_byte_t *const matched_p = ecma_regexp_run (re_ctx_p, group_p->bc_p, str_curr_p); in ecma_regexp_run() local
757 if (matched_p != NULL) in ecma_regexp_run()
759 return matched_p; in ecma_regexp_run()
777 const lit_utf8_byte_t *const matched_p = ecma_regexp_run (re_ctx_p, bc_p, str_curr_p); in ecma_regexp_run() local
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c846 JERRY_ASSERT (ctx_p->matched_p == NULL in ecma_builtin_replace_substitute()
847 || (ctx_p->matched_p >= ctx_p->string_p in ecma_builtin_replace_substitute()
848 && ctx_p->matched_p <= ctx_p->string_p + ctx_p->string_size)); in ecma_builtin_replace_substitute()
887 if (JERRY_UNLIKELY (ctx_p->matched_p == NULL)) in ecma_builtin_replace_substitute()
900 JERRY_ASSERT (ctx_p->matched_p != NULL); in ecma_builtin_replace_substitute()
901 ecma_stringbuilder_append_raw (&(ctx_p->builder), ctx_p->matched_p, ctx_p->matched_size); in ecma_builtin_replace_substitute()
912 if (JERRY_UNLIKELY (ctx_p->matched_p == NULL)) in ecma_builtin_replace_substitute()
920 const ecma_string_t *const matched_p = ecma_get_string_from_value (match_value); in ecma_builtin_replace_substitute() local
921 const lit_utf8_size_t match_size = ecma_string_get_size (matched_p); in ecma_builtin_replace_substitute()
931 JERRY_ASSERT (ctx_p->matched_p != NULL); in ecma_builtin_replace_substitute()
[all …]
Decma-builtin-helpers.h76 const lit_utf8_byte_t *matched_p; /**< matched string */ member
Decma-builtin-string-prototype.c525 replace_ctx.matched_p = curr_p; in ecma_builtin_string_prototype_object_replace()