/third_party/jerryscript/jerry-core/parser/js/ |
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()
|
D | js-parser-tagged-template-literal.c | 67 ecma_string_t *cooked_str_p = ecma_new_ecma_string_from_utf8 (source_p, lit_loc_p->length); in parser_tagged_template_literal_append_strings() 79 raw_str_p = ecma_new_ecma_string_from_utf8 (source_p, lit_loc_p->length); in parser_tagged_template_literal_append_strings()
|
D | js-parser-statm.c | 2342 …ecma_string_t *local_name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.c… 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.c… 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… in parser_parse_export_statement()
|
D | js-scanner-util.c | 1308 name_p = ecma_new_ecma_string_from_utf8 (literal_p->char_p, literal_p->length); in scanner_scope_find_let_declaration() 1316 name_p = ecma_new_ecma_string_from_utf8 (destination_p, literal_p->length); in scanner_scope_find_let_declaration()
|
D | js-parser.c | 2749 ecma_string_t *err_str_p = ecma_new_ecma_string_from_utf8 (err_bytes_p, err_bytes_size); in parser_parse_script()
|
D | js-lexer.c | 2857 pattern_str_p = ecma_new_ecma_string_from_utf8 (regex_start_p, length); in lexer_construct_regexp_object()
|
/third_party/jerryscript/jerry-core/vm/ |
D | vm-utils.c | 81 ecma_string_t* lbracket = ecma_new_ecma_string_from_utf8((const lit_utf8_byte_t *) ("("), 1); in vm_get_function_name_string() 82 ecma_string_t* rbracket = ecma_new_ecma_string_from_utf8((const lit_utf8_byte_t *) (")"), 1); in vm_get_function_name_string()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
D | ecma-builtin-global.c | 378 ecma_string_t *output_string_p = ecma_new_ecma_string_from_utf8 (output_start_p, output_size); in ecma_builtin_global_object_decode_uri_helper() 543 ecma_string_t *output_string_p = ecma_new_ecma_string_from_utf8 (output_start_p, output_length); in ecma_builtin_global_object_encode_uri_helper() 673 ecma_string_t *output_string_p = ecma_new_ecma_string_from_utf8 (output_start_p, output_length); in ecma_builtin_global_object_escape() 765 ecma_string_t *output_string_p = ecma_new_ecma_string_from_utf8 (input_start_p, output_length); in ecma_builtin_global_object_unescape()
|
D | ecma-builtin-number-prototype.c | 525 ecma_string_t *str_p = ecma_new_ecma_string_from_utf8 (buff, (lit_utf8_size_t) buff_index); in ecma_builtin_number_prototype_object_to_string() 731 ecma_string_t *str = ecma_new_ecma_string_from_utf8 (buff, (lit_utf8_size_t) (p - buff)); in ecma_builtin_number_prototype_object_to_fixed() 832 …ecma_string_t *str = ecma_new_ecma_string_from_utf8 (buff, (lit_utf8_size_t) (actual_char_p - buff… in ecma_builtin_number_prototype_object_to_exponential() 960 …ecma_string_t *str_p = ecma_new_ecma_string_from_utf8 (buff, (lit_utf8_size_t) (actual_char_p - bu… in ecma_builtin_number_prototype_object_to_precision()
|
D | ecma-builtin-string-prototype.c | 877 ecma_string_t *substr_p = ecma_new_ecma_string_from_utf8 (last_str_begin_p, in ecma_builtin_string_prototype_object_split() 899 ecma_string_t *end_substr_p = ecma_new_ecma_string_from_utf8 (last_str_begin_p, in ecma_builtin_string_prototype_object_split() 1088 ecma_string_t *output_string_p = ecma_new_ecma_string_from_utf8 (output_start_p, output_length); in ecma_builtin_string_prototype_object_conversion_helper() 1176 …ret_string_p = ecma_new_ecma_string_from_utf8 (str_buffer, (lit_utf8_size_t) (buffer_ptr - str_buf… in ecma_builtin_string_prototype_object_repeat()
|
D | ecma-builtin-string.c | 100 ret_string_p = ecma_new_ecma_string_from_utf8 (utf8_buf_p, utf8_buf_used); in ecma_builtin_string_object_from_char_code()
|
D | ecma-builtin-helpers.c | 94 …ret_string_p = ecma_new_ecma_string_from_utf8 (str_buffer, (lit_utf8_size_t) (buffer_ptr - str_buf… in ecma_builtin_helper_object_to_string_tag_helper() 192 …ret_string_p = ecma_new_ecma_string_from_utf8 (str_buffer, (lit_utf8_size_t) (buffer_ptr - str_buf… in ecma_builtin_helper_object_to_string()
|
D | ecma-builtin-helpers-date.c | 778 return ecma_make_string_value (ecma_new_ecma_string_from_utf8 (date_buffer, in ecma_date_to_string_format()
|
D | ecma-builtin-json.c | 1547 context.gap_str_p = ecma_new_ecma_string_from_utf8 ((lit_utf8_byte_t *) space_buff, in ecma_builtin_json_stringify()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-exceptions.c | 147 …ecma_string_t *stack_str_p = ecma_new_ecma_string_from_utf8 ((const lit_utf8_byte_t *) stack_id_p,… in ecma_new_standard_error() 231 ecma_string_t *error_msg_p = ecma_new_ecma_string_from_utf8 (msg_p, in ecma_raise_standard_error()
|
D | ecma-regexp-object.c | 1569 …ecma_string_t *const capture_str_p = ecma_new_ecma_string_from_utf8 (capture_p->begin_p, capture_s… in ecma_regexp_get_capture_value() 2415 ecma_string_t *const str_p = ecma_new_ecma_string_from_utf8 (previous_str_p, in ecma_regexp_split_helper() 2458 ecma_string_t *const str_p = ecma_new_ecma_string_from_utf8 (previous_str_p, in ecma_regexp_split_helper()
|
/third_party/jerryscript/jerry-core/ext/ |
D | debug-utils.c | 56 … ecma_string_t* separator_str = ecma_new_ecma_string_from_utf8((const lit_utf8_byte_t *)" :> ", 4); in PrintObjectProperties()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 339 ecma_new_ecma_string_from_utf8 (const lit_utf8_byte_t *string_p, /**< utf-8 string */ in ecma_new_ecma_string_from_utf8() function 409 return ecma_new_ecma_string_from_utf8 (string_p, string_size); in ecma_new_ecma_string_from_utf8_converted_to_cesu8() 457 return ecma_new_ecma_string_from_utf8 (lit_utf8_bytes, bytes_size); in ecma_new_ecma_string_from_code_unit() 475 return ecma_new_ecma_string_from_utf8 (lit_utf8_bytes, bytes_size); in ecma_new_ecma_string_from_code_units() 612 return ecma_new_ecma_string_from_utf8 (cesu8_string2_p, cesu8_string2_size); in ecma_append_chars_to_string() 2319 ecma_string_p = ecma_new_ecma_string_from_utf8 (start_p + start_pos, in ecma_string_substr() 2335 ecma_string_p = ecma_new_ecma_string_from_utf8 (start_p, (lit_utf8_size_t) (end_p - start_p)); in ecma_string_substr() 2409 ret_string_p = ecma_new_ecma_string_from_utf8 (utf8_str_p, utf8_str_size); in ecma_string_trim()
|
D | ecma-literal-storage.c | 134 ecma_string_t *string_p = ecma_new_ecma_string_from_utf8 (chars_p, size); in ecma_find_or_create_literal_string()
|
D | ecma-helpers.h | 294 ecma_string_t *ecma_new_ecma_string_from_utf8 (const lit_utf8_byte_t *string_p, lit_utf8_size_t str…
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry.c | 1519 ecma_string_t *message_string_p = ecma_new_ecma_string_from_utf8 ((lit_utf8_byte_t *) message_p, in jerry_create_error_sz() 1761 ecma_string_t *ecma_str_p = ecma_new_ecma_string_from_utf8 ((lit_utf8_byte_t *) str_p, in jerry_create_string_sz() 1830 ecma_string_t *ecma_pattern = ecma_new_ecma_string_from_utf8 (pattern_p, pattern_size); in jerry_create_regexp_sz()
|
D | jerry-snapshot.c | 566 ecma_string_t *pattern_str_p = ecma_new_ecma_string_from_utf8 (regex_start_p, in snapshot_load_compiled_code()
|