Searched refs:bc_p (Results 1 – 7 of 7) sorted by relevance
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-regexp-object.c | 259 const re_compiled_code_t *bc_p, /**< bytecode */ in ecma_op_regexp_initialize() argument 283 ECMA_SET_INTERNAL_VALUE_POINTER (ext_obj_p->u.class_prop.u.value, bc_p); in ecma_op_regexp_initialize() 329 re_compiled_code_t *bc_p = re_compile_bytecode (pattern_str_p, flags); in ecma_op_create_regexp_from_pattern() local 331 if (JERRY_UNLIKELY (bc_p == NULL)) in ecma_op_create_regexp_from_pattern() 337 ecma_op_regexp_initialize (regexp_obj_p, bc_p, pattern_str_p, flags); in ecma_op_create_regexp_from_pattern() 353 re_compiled_code_t *bc_p) /**< bytecode */ in ecma_op_create_regexp_from_bytecode() argument 355 ecma_bytecode_ref ((ecma_compiled_code_t *) bc_p); in ecma_op_create_regexp_from_bytecode() 356 ecma_string_t *pattern_str_p = ecma_get_string_from_value (bc_p->source); in ecma_op_create_regexp_from_bytecode() 357 uint16_t flags = bc_p->header.status_flags; in ecma_op_create_regexp_from_bytecode() 359 ecma_op_regexp_initialize (regexp_obj_p, bc_p, pattern_str_p, flags); in ecma_op_create_regexp_from_bytecode() [all …]
|
D | ecma-regexp-object.h | 89 const uint8_t *bc_p; /**< group bytecode pointer */ member 100 const uint8_t *bc_p; /**< group bytecode pointer */ member 171 …alue_t ecma_op_create_regexp_from_bytecode (ecma_object_t *regexp_obj_p, re_compiled_code_t *bc_p);
|
/third_party/jerryscript/jerry-core/parser/regexp/ |
D | re-bytecode.c | 105 re_get_byte (const uint8_t **bc_p) /**< pointer to bytecode start */ in re_get_byte() argument 107 return *((*bc_p)++); in re_get_byte() 137 re_get_opcode (const uint8_t **bc_p) /**< pointer to bytecode start */ in re_get_opcode() argument 139 return (re_opcode_t) re_get_byte (bc_p); in re_get_opcode() 258 re_get_value (const uint8_t **bc_p) /** refence to bytecode pointer */ in re_get_value() argument 260 uint32_t value = *(*bc_p)++; in re_get_value() 266 value = re_decode_u32 (*bc_p); in re_get_value() 267 *bc_p += sizeof (uint32_t); in re_get_value() 334 re_get_char (const uint8_t **bc_p, /**< reference to bytecode pointer */ in re_get_char() argument 344 cp = re_decode_u32 (*bc_p); in re_get_char() [all …]
|
D | re-bytecode.h | 121 re_opcode_t re_get_opcode (const uint8_t **bc_p); 122 uint8_t re_get_byte (const uint8_t **bc_p); 123 lit_code_point_t re_get_char (const uint8_t **bc_p, bool unicode); 124 uint32_t re_get_value (const uint8_t **bc_p);
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-regexp-prototype.c | 69 re_compiled_code_t *bc_p = ECMA_GET_INTERNAL_VALUE_POINTER (re_compiled_code_t, in ecma_builtin_regexp_prototype_flags_helper() local 72 *flags_p = bc_p->header.status_flags; in ecma_builtin_regexp_prototype_flags_helper() 225 re_compiled_code_t *bc_p = ECMA_GET_INTERNAL_VALUE_POINTER (re_compiled_code_t, in ecma_builtin_regexp_prototype_get_source() local 228 return ecma_op_escape_regexp_pattern (ecma_get_string_from_value (bc_p->source)); in ecma_builtin_regexp_prototype_get_source() 404 re_compiled_code_t *bc_p = ECMA_GET_INTERNAL_VALUE_POINTER (re_compiled_code_t, in ecma_builtin_regexp_prototype_compile() local 411 return ecma_op_create_regexp_from_bytecode (this_obj_p, bc_p); in ecma_builtin_regexp_prototype_compile() 589 re_compiled_code_t *bc_p = ECMA_GET_INTERNAL_VALUE_POINTER (re_compiled_code_t, in ecma_builtin_regexp_prototype_to_string() 592 ecma_string_t *source_p = ecma_get_string_from_value (bc_p->source); in ecma_builtin_regexp_prototype_to_string() 593 uint16_t flags = bc_p->header.status_flags; in ecma_builtin_regexp_prototype_to_string()
|
D | ecma-builtin-regexp.c | 80 re_compiled_code_t *bc_p = NULL; in ecma_builtin_regexp_dispatch_helper() local 110 bc_p = ECMA_GET_INTERNAL_VALUE_POINTER (re_compiled_code_t, in ecma_builtin_regexp_dispatch_helper() 117 pattern_value = bc_p->source; in ecma_builtin_regexp_dispatch_helper() 168 ret_value = ecma_op_create_regexp_from_bytecode (new_target_obj_p, bc_p); in ecma_builtin_regexp_dispatch_helper()
|
D | ecma-builtins.c | 508 …re_compiled_code_t *bc_p = re_compile_bytecode (ecma_get_magic_string (LIT_MAGIC_STRING_EMPTY_NON_… in ecma_instantiate_builtin() local 511 JERRY_ASSERT (bc_p != NULL); in ecma_instantiate_builtin() 513 ECMA_SET_INTERNAL_VALUE_POINTER (ext_object_p->u.class_prop.u.value, bc_p); in ecma_instantiate_builtin()
|