Home
last modified time | relevance | path

Searched refs:char_p (Results 1 - 15 of 15) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
H A Dcommon.c42 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_p->prop.length); in util_free_literal()
58 util_print_chars (const uint8_t *char_p, /**< character pointer */ in util_print_chars() argument
63 JERRY_DEBUG_MSG ("%c", *char_p++); in util_print_chars()
89 util_print_chars (literal_p->u.char_p, literal_p->prop.length); in util_print_literal()
99 util_print_chars (literal_p->u.char_p, literal_p->prop.length); in util_print_literal()
H A Djs-lexer.c160 const uint8_t *char_p = *source_p; in lexer_unchecked_hex_to_character() local
161 uint32_t length = (char_p[-1] == LIT_CHAR_LOWERCASE_U) ? 4 : 2; in lexer_unchecked_hex_to_character()
164 if (char_p[0] == LIT_CHAR_LEFT_BRACE) in lexer_unchecked_hex_to_character()
167 char_p++; in lexer_unchecked_hex_to_character()
173 uint32_t byte = *char_p++; in lexer_unchecked_hex_to_character()
194 if (*char_p != LIT_CHAR_RIGHT_BRACE) in lexer_unchecked_hex_to_character()
198 *source_p = char_p + 1; in lexer_unchecked_hex_to_character()
205 *source_p = char_p; in lexer_unchecked_hex_to_character()
778 context_p->token.lit_location.char_p = context_p->source_p; in lexer_parse_identifier()
1229 context_p->token.lit_location.char_p in lexer_parse_string()
2345 const uint8_t *char_p = lexer_convert_literal_to_chars (context_p, lexer_construct_literal_object() local
3078 const uint8_t *char_p = context_p->source_p; lexer_expect_object_literal_id() local
[all...]
H A Djs-scanner-util.c614 intptr_t diff = (intptr_t) (literal_p->char_p - prev_source_p); in scanner_pop_literal_pool()
629 prev_source_p = literal_p->char_p + literal_p->length; in scanner_pop_literal_pool()
876 intptr_t diff = (intptr_t) (literal_p->char_p - prev_source_p); in scanner_pop_literal_pool()
897 memcpy (data_p, &literal_p->char_p, sizeof (const uint8_t *)); in scanner_pop_literal_pool()
901 prev_source_p = literal_p->char_p + literal_p->length; in scanner_pop_literal_pool()
1124 const uint8_t *char_p = literal_location_p->char_p; in scanner_add_custom_literal() local
1135 if (memcmp (literal_p->char_p, char_p, length) == 0) in scanner_add_custom_literal()
1140 else if (lexer_compare_identifier_to_string (literal_p, char_p, lengt in scanner_add_custom_literal()
1223 const uint8_t *char_p = literal_location_p->char_p; scanner_append_argument() local
1370 const uint8_t *char_p = var_literal_p->char_p; scanner_detect_invalid_var() local
[all...]
H A Djs-parser-module.c92 ecma_string_t *name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.char_p, in parser_module_append_export_name()
402 local_name_p = ecma_new_ecma_string_from_utf8 (literal_p->u.char_p, literal_p->prop.length); in parser_module_parse_export_clause()
407 export_name_p = ecma_new_ecma_string_from_utf8 (as_literal_p->u.char_p, as_literal_p->prop.length); in parser_module_parse_export_clause()
509 import_name_p = ecma_new_ecma_string_from_utf8 (literal_p->u.char_p, literal_p->prop.length); in parser_module_parse_import_clause()
514 local_name_p = ecma_new_ecma_string_from_utf8 (as_literal_p->u.char_p, as_literal_p->prop.length); in parser_module_parse_import_clause()
581 ecma_string_t *name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.char_p, in parser_module_handle_module_specifier()
603 ecma_string_t *path_p = ecma_module_create_normalized_path (context_p->lit_object.literal_p->u.char_p, in parser_module_handle_module_specifier()
H A Djs-parser.c85 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_p->prop.length); in parser_compute_indicies()
115 const uint8_t *char_p = literal_p->u.char_p; in parser_compute_indicies() local
121 size_t bytes_to_end = (size_t) (context_p->source_end_p - char_p); in parser_compute_indicies()
129 char_p = NULL; in parser_compute_indicies()
133 if (char_p != NULL) in parser_compute_indicies()
135 literal_p->u.value = ecma_find_or_create_literal_string (char_p, in parser_compute_indicies()
140 jmem_heap_free_block ((void *) char_p, literal_p->prop.length); in parser_compute_indicies()
232 lit_value = ecma_find_or_create_literal_string (literal_p->u.char_p, in parser_init_literal_pool()
245 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_ in parser_init_literal_pool()
1591 const uint8_t *char_p = context_p->source_end_p - (source_data & 0xfffff); parser_post_processing() local
[all...]
H A Dcommon.h99 const uint8_t *char_p; /**< character value */ member
H A Djs-parser-tagged-template-literal.c72 context_p->source_p = context_p->token.lit_location.char_p - 1; in parser_tagged_template_literal_append_strings()
H A Djs-lexer.h286 const uint8_t *char_p; /**< start of identifier or string token */ member
H A Djs-parser-statm.c738 name_p->u.char_p, in parser_parse_function_statement()
2342 ecma_string_t *local_name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.char_p, in parser_parse_import_statement()
2391 ecma_string_t *local_name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.char_p, in parser_parse_import_statement()
2480 ecma_string_t *name_p = ecma_new_ecma_string_from_utf8 (context_p->module_identifier_lit_p->u.char_p, in parser_parse_export_statement()
H A Djs-parser-expr.c870 /* context_p->token.lit_location.char_p is showing the character after the string start, in parser_reparse_as_common_identifier()
878 context_p->source_p = context_p->token.lit_location.char_p; in parser_reparse_as_common_identifier()
1234 context_p->lit_object.literal_p->u.char_p, in parser_parse_function_expression()
H A Djs-scanner.c2972 context_p->source_p = context_p->token.lit_location.char_p; in scanner_scan_all()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc83 const char* char_p = "print me"; in TEST() local
84 str = absl::Substitute("$0", char_p); in TEST()
93 char_p = nullptr; in TEST()
94 str = absl::Substitute("$0", char_p); in TEST()
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-module.h129 ecma_string_t *ecma_module_create_normalized_path (const uint8_t *char_p,
H A Decma-module.c40 ecma_module_create_normalized_path (const uint8_t *char_p, /**< module specifier */ in ecma_module_create_normalized_path() argument
51 utf8_size = lit_convert_cesu8_string_to_utf8_string (char_p, in ecma_module_create_normalized_path()
H A Decma-helpers-string.c1350 #define ECMA_STRING_IS_ASCII(char_p, size) ((size) == lit_utf8_string_length ((char_p), (size)))

Completed in 22 milliseconds