Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.h171 ecma_value_t ecma_op_create_regexp_from_bytecode (ecma_object_t *regexp_obj_p, re_compiled_code_t *…
172 ecma_value_t ecma_op_create_regexp_from_pattern (ecma_object_t *regexp_obj_p,
175 ecma_value_t ecma_op_create_regexp_with_flags (ecma_object_t *regexp_obj_p,
Decma-regexp-object.c239 ecma_extended_object_t *regexp_obj_p = (ecma_extended_object_t *) new_object_p; in ecma_op_regexp_alloc() local
242 regexp_obj_p->u.class_prop.class_id = LIT_MAGIC_STRING_UNDEFINED; in ecma_op_regexp_alloc()
258 ecma_op_regexp_initialize (ecma_object_t *regexp_obj_p, /**< RegExp object */ in ecma_op_regexp_initialize() argument
263 ecma_extended_object_t *ext_obj_p = (ecma_extended_object_t *) regexp_obj_p; in ecma_op_regexp_initialize()
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()
295 ecma_op_create_regexp_from_pattern (ecma_object_t *regexp_obj_p, /**< RegExp object */ in ecma_op_create_regexp_from_pattern() argument
337 ecma_op_regexp_initialize (regexp_obj_p, bc_p, pattern_str_p, flags); in ecma_op_create_regexp_from_pattern()
340 return ecma_make_object_value (regexp_obj_p); in ecma_op_create_regexp_from_pattern()
352 ecma_op_create_regexp_from_bytecode (ecma_object_t *regexp_obj_p, /**< RegExp object */ in ecma_op_create_regexp_from_bytecode() argument
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string-prototype.c323 ecma_object_t *regexp_obj_p = ecma_op_regexp_alloc (NULL); in ecma_builtin_string_prototype_object_match() local
325 if (JERRY_UNLIKELY (regexp_obj_p == NULL)) in ecma_builtin_string_prototype_object_match()
331 …ecma_value_t new_regexp = ecma_op_create_regexp_from_pattern (regexp_obj_p, regexp_arg, ECMA_VALUE… in ecma_builtin_string_prototype_object_match()
337 ecma_deref_object (regexp_obj_p); in ecma_builtin_string_prototype_object_match()
357 ecma_object_t *regexp_obj_p = ecma_op_regexp_alloc (NULL); in ecma_builtin_string_prototype_object_match()
359 if (JERRY_UNLIKELY (regexp_obj_p == NULL)) in ecma_builtin_string_prototype_object_match()
364 …ecma_value_t new_regexp = ecma_op_create_regexp_from_pattern (regexp_obj_p, regexp_arg, ECMA_VALUE… in ecma_builtin_string_prototype_object_match()
368 ecma_deref_object (regexp_obj_p); in ecma_builtin_string_prototype_object_match()
657 ecma_object_t *regexp_obj_p = ecma_get_object_from_value (new_regexp); in ecma_builtin_string_prototype_object_search() local
658 …ecma_value_t search_symbol = ecma_op_object_get_by_symbol_id (regexp_obj_p, LIT_GLOBAL_SYMBOL_SEAR… in ecma_builtin_string_prototype_object_search()
[all …]
Decma-builtin-regexp-prototype.c385 ecma_extended_object_t *regexp_obj_p = (ecma_extended_object_t *) this_obj_p; in ecma_builtin_regexp_prototype_compile() local
387regexp_obj_p->u.class_prop.u.value); in ecma_builtin_regexp_prototype_compile()
/third_party/jerryscript/jerry-core/api/
Djerry.c1823 ecma_object_t *regexp_obj_p = ecma_op_regexp_alloc (NULL); in jerry_create_regexp_sz() local
1825 if (JERRY_UNLIKELY (regexp_obj_p == NULL)) in jerry_create_regexp_sz()
1832 jerry_value_t ret_val = ecma_op_create_regexp_with_flags (regexp_obj_p, in jerry_create_regexp_sz()
/third_party/jerryscript/jerry-core/vm/
Dvm.c464 ecma_object_t *regexp_obj_p = ecma_op_regexp_alloc (NULL); in vm_construct_literal_object() local
466 if (JERRY_UNLIKELY (regexp_obj_p == NULL)) in vm_construct_literal_object()
471 return ecma_op_create_regexp_from_bytecode (regexp_obj_p, (re_compiled_code_t *) bytecode_p);; in vm_construct_literal_object()