Home
last modified time | relevance | path

Searched refs:char_p (Results 1 – 17 of 17) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
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()
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, length)) in scanner_add_custom_literal()
1143 literal_p->char_p = char_p; in scanner_add_custom_literal()
1223 const uint8_t *char_p = literal_location_p->char_p; in scanner_append_argument() local
[all …]
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 = string_start_p; in lexer_parse_string()
[all …]
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 …a_string_t *path_p = ecma_module_create_normalized_path (context_p->lit_object.literal_p->u.char_p, in parser_module_handle_module_specifier()
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_p->prop.length); in parser_init_literal_pool()
1573 jmem_heap_free_block ((void *) literal_p->u.char_p, literal_p->prop.length); in parser_post_processing()
[all …]
Dcommon.h99 const uint8_t *char_p; /**< character value */ member
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()
Djs-lexer.h286 const uint8_t *char_p; /**< start of identifier or string token */ member
Djs-parser-statm.c738 name_p->u.char_p, in parser_parse_function_statement()
2342 …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 …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 …ma_string_t *name_p = ecma_new_ecma_string_from_utf8 (context_p->module_identifier_lit_p->u.char_p, in parser_parse_export_statement()
Djs-parser-expr.c878 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()
Djs-scanner.c2972 context_p->source_p = context_p->token.lit_location.char_p; in scanner_scan_all()
/third_party/abseil-cpp/absl/strings/
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/skia/third_party/externals/abseil-cpp/absl/strings/
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/
Decma-module.h129 ecma_string_t *ecma_module_create_normalized_path (const uint8_t *char_p,
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()
Decma-helpers-string.c1310 #define ECMA_STRING_IS_ASCII(char_p, size) ((size) == lit_utf8_string_length ((char_p), (size))) argument
/third_party/jerryscript/docs/
D08.CODING-STANDARDS.md683 char_p = * (char*)type_p;