/third_party/jerryscript/jerry-core/parser/js/ |
H A D | common.c | 42 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 D | js-lexer.c | 160 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 D | js-scanner-util.c | 614 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 D | js-parser-module.c | 92 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 D | js-parser.c | 85 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 D | common.h | 99 const uint8_t *char_p; /**< character value */ member
|
H A D | js-parser-tagged-template-literal.c | 72 context_p->source_p = context_p->token.lit_location.char_p - 1; in parser_tagged_template_literal_append_strings()
|
H A D | js-lexer.h | 286 const uint8_t *char_p; /**< start of identifier or string token */ member
|
H A D | js-parser-statm.c | 738 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 D | js-parser-expr.c | 870 /* 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 D | js-scanner.c | 2972 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 D | substitute_test.cc | 83 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 D | ecma-module.h | 129 ecma_string_t *ecma_module_create_normalized_path (const uint8_t *char_p,
|
H A D | ecma-module.c | 40 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 D | ecma-helpers-string.c | 1350 #define ECMA_STRING_IS_ASCII(char_p, size) ((size) == lit_utf8_string_length ((char_p), (size)))
|