Home
last modified time | relevance | path

Searched refs:replace_ctx (Results 1 - 2 of 2) sorted by relevance

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
H A Decma-builtin-string-prototype.c441 ecma_replace_context_t replace_ctx; in ecma_builtin_string_prototype_object_replace() local
442 replace_ctx.capture_count = 0; in ecma_builtin_string_prototype_object_replace()
443 replace_ctx.u.captures_p = NULL; in ecma_builtin_string_prototype_object_replace()
445 replace_ctx.replace_str_p = NULL; in ecma_builtin_string_prototype_object_replace()
448 replace_ctx.replace_str_p = ecma_op_to_string (replace_value); in ecma_builtin_string_prototype_object_replace()
449 if (replace_ctx.replace_str_p == NULL) in ecma_builtin_string_prototype_object_replace()
456 replace_ctx.string_p = ecma_string_get_chars (input_str_p, in ecma_builtin_string_prototype_object_replace()
457 &(replace_ctx.string_size), in ecma_builtin_string_prototype_object_replace()
472 if (replace_ctx.string_size >= search_size) in ecma_builtin_string_prototype_object_replace()
474 replace_ctx in ecma_builtin_string_prototype_object_replace()
[all...]
/third_party/jerryscript/jerry-core/ecma/operations/
H A Decma-regexp-object.c2705 ecma_replace_context_t replace_ctx; in ecma_regexp_replace_helper() local
2706 replace_ctx.index = 0; in ecma_regexp_replace_helper()
2718 replace_ctx.replace_str_p = NULL; in ecma_regexp_replace_helper()
2721 replace_ctx.replace_str_p = ecma_op_to_string (replace_arg); in ecma_regexp_replace_helper()
2723 if (replace_ctx.replace_str_p == NULL) in ecma_regexp_replace_helper()
2775 result = ecma_regexp_replace_helper_fast (&replace_ctx, in ecma_regexp_replace_helper()
2810 result = ecma_op_to_length (lastindex_value, &replace_ctx.index); in ecma_regexp_replace_helper()
2818 if (replace_ctx.index > string_length) in ecma_regexp_replace_helper()
2838 result = ecma_regexp_replace_helper_fast (&replace_ctx, in ecma_regexp_replace_helper()
2964 replace_ctx in ecma_regexp_replace_helper()
[all...]

Completed in 6 milliseconds