Searched refs:re_ctx (Results 1 – 2 of 2) sorted by relevance
116 re_compiler_ctx_t re_ctx; in re_compile_bytecode() local117 re_ctx.flags = flags; in re_compile_bytecode()118 re_ctx.captures_count = 1; in re_compile_bytecode()119 re_ctx.non_captures_count = 0; in re_compile_bytecode()121 re_initialize_regexp_bytecode (&re_ctx); in re_compile_bytecode()125 re_ctx.input_start_p = pattern_start_p; in re_compile_bytecode()126 re_ctx.input_curr_p = (lit_utf8_byte_t *) pattern_start_p; in re_compile_bytecode()127 re_ctx.input_end_p = pattern_start_p + pattern_start_size; in re_compile_bytecode()128 re_ctx.groups_count = -1; in re_compile_bytecode()131 ecma_value_t result = re_parse_alternative (&re_ctx, true); in re_compile_bytecode()[all …]
1754 ecma_regexp_ctx_t re_ctx; in ecma_regexp_exec_helper() local1755 ecma_regexp_initialize_context (&re_ctx, in ecma_regexp_exec_helper()1767 matched_p = ecma_regexp_match (&re_ctx, bc_start_p, input_curr_p); in ecma_regexp_exec_helper()1775 if (re_ctx.flags & RE_FLAG_STICKY) in ecma_regexp_exec_helper()1795 if (re_ctx.flags & RE_FLAG_GLOBAL) in ecma_regexp_exec_helper()1818 if (re_ctx.flags & RE_FLAG_UNICODE) in ecma_regexp_exec_helper()1845 if (re_ctx.flags & (RE_FLAG_GLOBAL | RE_FLAG_STICKY)) in ecma_regexp_exec_helper()1850 const lit_utf8_byte_t *match_begin_p = re_ctx.captures_p[0].begin_p; in ecma_regexp_exec_helper()1851 const lit_utf8_byte_t *match_end_p = re_ctx.captures_p[0].end_p; in ecma_regexp_exec_helper()1876 ret_value = ecma_regexp_create_result_object (&re_ctx, input_string_p, index); in ecma_regexp_exec_helper()[all …]