Home
last modified time | relevance | path

Searched refs:pattern_str_p (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/jerry-core/parser/regexp/
Dre-compiler.c48 re_cache_lookup (ecma_string_t *pattern_str_p, /**< pattern string */ in re_cache_lookup() argument
65 && ecma_compare_ecma_strings (cached_pattern_str_p, pattern_str_p)) in re_cache_lookup()
105 re_compile_bytecode (ecma_string_t *pattern_str_p, /**< pattern */ in re_compile_bytecode() argument
108 re_compiled_code_t *cached_bytecode_p = re_cache_lookup (pattern_str_p, flags); in re_compile_bytecode()
123 ECMA_STRING_TO_UTF8_STRING (pattern_str_p, pattern_start_p, pattern_start_size); in re_compile_bytecode()
153 ecma_ref_ecma_string (pattern_str_p); in re_compile_bytecode()
154 re_compiled_code_p->source = ecma_make_string_value (pattern_str_p); in re_compile_bytecode()
Dre-compiler.h35 re_compile_bytecode (ecma_string_t *pattern_str_p, uint16_t flags);
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.c260 ecma_string_t *pattern_str_p, /**< pattern */ in ecma_op_regexp_initialize() argument
269 ecma_regexp_create_props (regexp_obj_p, pattern_str_p, flags); in ecma_op_regexp_initialize()
273 ecma_regexp_update_props (regexp_obj_p, pattern_str_p, flags); in ecma_op_regexp_initialize()
278 JERRY_UNUSED (pattern_str_p); in ecma_op_regexp_initialize()
299 ecma_string_t *pattern_str_p = ecma_regexp_read_pattern_str_helper (pattern_value); in ecma_op_create_regexp_from_pattern() local
302 if (JERRY_UNLIKELY (pattern_str_p == NULL)) in ecma_op_create_regexp_from_pattern()
313 ecma_deref_ecma_string (pattern_str_p); in ecma_op_create_regexp_from_pattern()
322 ecma_deref_ecma_string (pattern_str_p); in ecma_op_create_regexp_from_pattern()
329 re_compiled_code_t *bc_p = re_compile_bytecode (pattern_str_p, flags); in ecma_op_create_regexp_from_pattern()
333 ecma_deref_ecma_string (pattern_str_p); in ecma_op_create_regexp_from_pattern()
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-regexp-prototype.c145 ecma_op_escape_regexp_pattern (ecma_string_t *pattern_str_p) /**< RegExp pattern */ in ecma_op_escape_regexp_pattern() argument
149 ECMA_STRING_TO_UTF8_STRING (pattern_str_p, pattern_start_p, pattern_start_size); in ecma_op_escape_regexp_pattern()
/third_party/jerryscript/jerry-core/api/
Djerry-snapshot.c566 ecma_string_t *pattern_str_p = ecma_new_ecma_string_from_utf8 (regex_start_p, in snapshot_load_compiled_code() local
569 const re_compiled_code_t *re_bytecode_p = re_compile_bytecode (pattern_str_p, in snapshot_load_compiled_code()
571 ecma_deref_ecma_string (pattern_str_p); in snapshot_load_compiled_code()
/third_party/jerryscript/jerry-core/parser/js/
Djs-lexer.c2853 ecma_string_t *pattern_str_p = NULL; in lexer_construct_regexp_object() local
2857 pattern_str_p = ecma_new_ecma_string_from_utf8 (regex_start_p, length); in lexer_construct_regexp_object()
2862 pattern_str_p = ecma_new_ecma_string_from_utf8_converted_to_cesu8 (regex_start_p, length); in lexer_construct_regexp_object()
2865 re_compiled_code_t *re_bytecode_p = re_compile_bytecode (pattern_str_p, current_flags); in lexer_construct_regexp_object()
2866 ecma_deref_ecma_string (pattern_str_p); in lexer_construct_regexp_object()