Searched refs:captures_count (Results 1 – 7 of 7) sorted by relevance
/third_party/jerryscript/jerry-core/parser/regexp/ |
D | re-compiler.c | 118 re_ctx.captures_count = 1; in re_compile_bytecode() 155 re_compiled_code_p->captures_count = re_ctx.captures_count; in re_compile_bytecode()
|
D | re-compiler-context.h | 45 uint32_t captures_count; /**< number of capture groups */ member
|
D | re-parser.c | 101 re_insert_value (re_ctx_p, group_start_offset, re_ctx_p->captures_count - capture_start); in re_insert_into_group() 159 re_insert_value (re_ctx_p, start_offset, re_ctx_p->captures_count - capture_start); in re_insert_assertion_lookahead() 1165 const uint32_t idx = re_ctx_p->captures_count++; in re_parse_alternative() 1187 const uint32_t capture_start = re_ctx_p->captures_count; in re_parse_alternative() 1248 const uint32_t start_capture_count = re_ctx_p->captures_count; in re_parse_alternative() 1288 re_insert_into_group (re_ctx_p, atom_offset, group_idx, re_ctx_p->captures_count, false); in re_parse_alternative()
|
D | re-bytecode.h | 103 uint32_t captures_count; /**< number of capturing groups */ member
|
D | re-bytecode.c | 375 JERRY_DEBUG_MSG ("Capturing groups: %d ", compiled_code_p->captures_count); in re_dump_bytecode()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-regexp-object.h | 143 uint32_t captures_count; /**< number of capture groups */ member
|
D | ecma-regexp-object.c | 1202 JERRY_ASSERT (backref_idx >= 1 && backref_idx < re_ctx_p->captures_count); in ecma_regexp_run() 1548 for (uint32_t i = 1; i < re_ctx_p->captures_count; ++i) in ecma_regexp_match() 1589 for (uint32_t i = 0; i < re_ctx_p->captures_count; i++) in ecma_regexp_create_result_object() 1632 ctx_p->captures_count = bc_p->captures_count; in ecma_regexp_initialize_context() 1635 …ctx_p->captures_p = jmem_heap_alloc_block (ctx_p->captures_count * sizeof (ecma_regexp_capture_t)); in ecma_regexp_initialize_context() 1650 jmem_heap_free_block (ctx_p->captures_p, ctx_p->captures_count * sizeof (ecma_regexp_capture_t)); in ecma_regexp_cleanup_context() 2435 while (index < re_ctx.captures_count) in ecma_regexp_split_helper() 2552 ctx_p->capture_count = re_ctx.captures_count; in ecma_regexp_replace_helper_fast() 2583 for (uint32_t i = 0; i < re_ctx.captures_count; i++) in ecma_regexp_replace_helper_fast()
|