Home
last modified time | relevance | path

Searched refs:input_curr_p (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/jerry-core/parser/regexp/
Dre-parser.c178 if (re_ctx_p->input_curr_p < re_ctx_p->input_end_p in re_parse_lazy_char()
179 && *re_ctx_p->input_curr_p == LIT_CHAR_QUESTION) in re_parse_lazy_char()
181 re_ctx_p->input_curr_p++; in re_parse_lazy_char()
197 JERRY_ASSERT (re_ctx_p->input_curr_p < re_ctx_p->input_end_p); in re_parse_octal()
198 JERRY_ASSERT (lit_char_is_octal_digit (*re_ctx_p->input_curr_p)); in re_parse_octal()
200 uint32_t value = (uint32_t) (*re_ctx_p->input_curr_p++) - LIT_CHAR_0; in re_parse_octal()
202 if (re_ctx_p->input_curr_p < re_ctx_p->input_end_p in re_parse_octal()
203 && lit_char_is_octal_digit (*re_ctx_p->input_curr_p)) in re_parse_octal()
205 value = value * 8 + (*re_ctx_p->input_curr_p++) - LIT_CHAR_0; in re_parse_octal()
208 if (re_ctx_p->input_curr_p < re_ctx_p->input_end_p in re_parse_octal()
[all …]
Dre-compiler-context.h39 const lit_utf8_byte_t *input_curr_p; /**< current position in input pattern */ member
Dre-compiler.c126 re_ctx.input_curr_p = (lit_utf8_byte_t *) pattern_start_p; in re_compile_bytecode()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-global.c595 const lit_utf8_byte_t *input_curr_p = input_start_p; in ecma_builtin_global_object_escape() local
599 while (input_curr_p < input_end_p) in ecma_builtin_global_object_escape()
601 ecma_char_t chr = lit_cesu8_read_next (&input_curr_p); in ecma_builtin_global_object_escape()
632 input_curr_p = input_start_p; in ecma_builtin_global_object_escape()
634 while (input_curr_p < input_end_p) in ecma_builtin_global_object_escape()
636 ecma_char_t chr = lit_cesu8_read_next (&input_curr_p); in ecma_builtin_global_object_escape()
697 const lit_utf8_byte_t *input_curr_p = input_start_p; in ecma_builtin_global_object_unescape() local
719 while (input_curr_p < input_end_p) in ecma_builtin_global_object_unescape()
722 ecma_char_t chr = lit_cesu8_read_next (&input_curr_p); in ecma_builtin_global_object_unescape()
761 JERRY_ASSERT (output_char_p <= input_curr_p); in ecma_builtin_global_object_unescape()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.c1692 const lit_utf8_byte_t *input_curr_p = input_buffer_p; in ecma_regexp_exec_helper() local
1741 input_curr_p += index; in ecma_regexp_exec_helper()
1747 lit_utf8_incr (&input_curr_p); in ecma_regexp_exec_helper()
1767 matched_p = ecma_regexp_match (&re_ctx, bc_start_p, input_curr_p); in ecma_regexp_exec_helper()
1793 if (input_curr_p >= input_end_p) in ecma_regexp_exec_helper()
1815 JERRY_ASSERT (input_curr_p < input_end_p); in ecma_regexp_exec_helper()
1821 const lit_code_point_t cp = ecma_regexp_unicode_advance (&input_curr_p, in ecma_regexp_exec_helper()
1834 lit_utf8_incr (&input_curr_p); in ecma_regexp_exec_helper()