Home
last modified time | relevance | path

Searched refs:lit_utf8_byte_t (Results 1 – 25 of 56) sorted by relevance

123

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c31 lit_is_valid_utf8_string (const lit_utf8_byte_t *utf8_buf_p, /**< utf-8 string */ in lit_is_valid_utf8_string()
39 lit_utf8_byte_t c = utf8_buf_p[idx++]; in lit_is_valid_utf8_string()
128 lit_is_valid_cesu8_string (const lit_utf8_byte_t *cesu8_buf_p, /**< cesu-8 string */ in lit_is_valid_cesu8_string()
135 lit_utf8_byte_t c = cesu8_buf_p[idx++]; in lit_is_valid_cesu8_string()
279 lit_zt_utf8_string_size (const lit_utf8_byte_t *utf8_str_p) /**< zero-terminated utf-8 string */ in lit_zt_utf8_string_size()
291 lit_utf8_string_length (const lit_utf8_byte_t *utf8_buf_p, /**< utf-8 string */ in lit_utf8_string_length()
314 lit_get_utf8_size_of_cesu8_string (const lit_utf8_byte_t *cesu8_buf_p, /**< cesu-8 string */ in lit_get_utf8_size_of_cesu8_string()
345 lit_get_utf8_length_of_cesu8_string (const lit_utf8_byte_t *cesu8_buf_p, /**< cesu-8 string */ in lit_get_utf8_length_of_cesu8_string()
376 lit_read_code_point_from_utf8 (const lit_utf8_byte_t *buf_p, /**< buffer with characters */ in lit_read_code_point_from_utf8()
382 lit_utf8_byte_t c = buf_p[0]; in lit_read_code_point_from_utf8()
[all …]
Dlit-strings.h87 bool lit_is_valid_utf8_string (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t buf_size);
88 bool lit_is_valid_cesu8_string (const lit_utf8_byte_t *cesu8_buf_p, lit_utf8_size_t buf_size);
95 lit_utf8_size_t lit_zt_utf8_string_size (const lit_utf8_byte_t *utf8_str_p);
96 lit_utf8_size_t lit_get_utf8_size_of_cesu8_string (const lit_utf8_byte_t *cesu8_buf_p, lit_utf8_siz…
99 ecma_length_t lit_utf8_string_length (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_buf_s…
100 ecma_length_t lit_get_utf8_length_of_cesu8_string (const lit_utf8_byte_t *cesu8_buf_p, lit_utf8_siz…
103 lit_string_hash_t lit_utf8_string_calc_hash (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf…
104 lit_string_hash_t lit_utf8_string_hash_combine (lit_string_hash_t hash_basis, const lit_utf8_byte_t
108 ecma_char_t lit_utf8_string_code_unit_at (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_b…
110 lit_utf8_size_t lit_get_unicode_char_size_by_utf8_first_byte (const lit_utf8_byte_t first_byte);
[all …]
Dlit-magic-strings.c42 const lit_utf8_byte_t *
45 static const lit_utf8_byte_t * const lit_magic_strings[] JERRY_ATTR_CONST_DATA = in lit_get_magic_string_utf8()
50 (const lit_utf8_byte_t *) utf8_string, in lit_get_magic_string_utf8()
119 const lit_utf8_byte_t *
142 lit_magic_strings_ex_set (const lit_utf8_byte_t * const *ex_str_items, /**< character arrays, repre… in lit_magic_strings_ex_set()
187 const lit_utf8_byte_t *prev_ex_string_p = lit_get_magic_string_ex_utf8 (prev_id); in lit_magic_strings_ex_set()
188 const lit_utf8_byte_t *curr_ex_string_p = lit_get_magic_string_ex_utf8 (id); in lit_magic_strings_ex_set()
203 lit_is_utf8_string_magic (const lit_utf8_byte_t *string_p, /**< utf-8 string */ in lit_is_utf8_string_magic()
244 lit_is_utf8_string_pair_magic (const lit_utf8_byte_t *string1_p, /**< first utf-8 string */ in lit_is_utf8_string_pair_magic()
246 const lit_utf8_byte_t *string2_p, /**< second utf-8 string */ in lit_is_utf8_string_pair_magic()
[all …]
Dlit-magic-strings.h85 const lit_utf8_byte_t *lit_get_magic_string_utf8 (uint32_t id);
88 const lit_utf8_byte_t *lit_get_magic_string_ex_utf8 (uint32_t id);
91 void lit_magic_strings_ex_set (const lit_utf8_byte_t * const *ex_str_items,
95 lit_magic_string_id_t lit_is_utf8_string_magic (const lit_utf8_byte_t *string_p, lit_utf8_size_t st…
96 lit_magic_string_id_t lit_is_utf8_string_pair_magic (const lit_utf8_byte_t *string1_p, lit_utf8_siz…
97 … const lit_utf8_byte_t *string2_p, lit_utf8_size_t string2_size);
99 lit_magic_string_ex_id_t lit_is_ex_utf8_string_magic (const lit_utf8_byte_t *string_p, lit_utf8_siz…
100 lit_magic_string_ex_id_t lit_is_ex_utf8_string_pair_magic (const lit_utf8_byte_t *string1_p,
102 const lit_utf8_byte_t *string2_p,
105 lit_utf8_byte_t *lit_copy_magic_string_to_buffer (lit_magic_string_id_t id, lit_utf8_byte_t *buffer…
/third_party/jerryscript/tests/unit-core/
Dtest-number-to-string.cpp47 const lit_utf8_byte_t *strings[] =
49 (const lit_utf8_byte_t *) "1",
50 (const lit_utf8_byte_t *) "0.5",
51 (const lit_utf8_byte_t *) "12345",
52 (const lit_utf8_byte_t *) "12345.123",
53 (const lit_utf8_byte_t *) "1e-45",
54 (const lit_utf8_byte_t *) "-2.5e+38",
55 (const lit_utf8_byte_t *) "NaN",
56 (const lit_utf8_byte_t *) "Infinity",
57 (const lit_utf8_byte_t *) "-Infinity",
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-global.c198 ecma_builtin_global_object_decode_uri_helper (lit_utf8_byte_t *input_start_p, /**< routine's first … in ecma_builtin_global_object_decode_uri_helper()
204 lit_utf8_byte_t *input_char_p = input_start_p; in ecma_builtin_global_object_decode_uri_helper()
205 lit_utf8_byte_t *input_end_p = input_start_p + input_size; in ecma_builtin_global_object_decode_uri_helper()
265 lit_utf8_byte_t); in ecma_builtin_global_object_decode_uri_helper()
268 lit_utf8_byte_t *output_char_p = output_start_p; in ecma_builtin_global_object_decode_uri_helper()
300 *output_char_p++ = (lit_utf8_byte_t) decoded_byte; in ecma_builtin_global_object_decode_uri_helper()
325 lit_utf8_byte_t octets[LIT_UTF8_MAX_BYTES_IN_CODE_POINT]; in ecma_builtin_global_object_decode_uri_helper()
326 octets[0] = (lit_utf8_byte_t) decoded_byte; in ecma_builtin_global_object_decode_uri_helper()
347 octets[i] = (lit_utf8_byte_t) hex_value; in ecma_builtin_global_object_decode_uri_helper()
396 ecma_builtin_global_object_byte_to_hex (lit_utf8_byte_t *dest_p, /**< destination pointer */ in ecma_builtin_global_object_byte_to_hex()
[all …]
Decma-builtin-number-prototype.c75 ecma_builtin_number_prototype_helper_to_string (lit_utf8_byte_t *digits_p, /**< number as string in… in ecma_builtin_number_prototype_helper_to_string()
78lit_utf8_byte_t *to_digits_p, /**< [out] buffer to write */ in ecma_builtin_number_prototype_helper_to_string()
81 lit_utf8_byte_t *p = to_digits_p; in ecma_builtin_number_prototype_helper_to_string()
153 ecma_builtin_binary_floating_number_to_string (lit_utf8_byte_t *digits_p, /**< number as string in ecma_builtin_binary_floating_number_to_string()
156lit_utf8_byte_t *to_digits_p, /**< [out] buffer to write */ in ecma_builtin_binary_floating_number_to_string()
159 lit_utf8_byte_t *p = to_digits_p; in ecma_builtin_binary_floating_number_to_string()
192 ecma_builtin_number_prototype_helper_round (lit_utf8_byte_t *digits_p, /**< [in,out] number as a st… in ecma_builtin_number_prototype_helper_round()
252 static const lit_utf8_byte_t digit_chars[36] = in ecma_builtin_number_prototype_object_to_string()
301 lit_utf8_byte_t digits[ECMA_MAX_CHARS_IN_STRINGIFIED_NUMBER]; in ecma_builtin_number_prototype_object_to_string()
402 JMEM_DEFINE_LOCAL_ARRAY (buff, buff_size, lit_utf8_byte_t); in ecma_builtin_number_prototype_object_to_string()
[all …]
Decma-builtin-date.c55 ecma_date_parse_date_chars (const lit_utf8_byte_t **str_p, /**< pointer to the cesu8 string */ in ecma_date_parse_date_chars()
56 … const lit_utf8_byte_t *str_end_p, /**< pointer to the end of the string */ in ecma_date_parse_date_chars()
62 const lit_utf8_byte_t *str_start_p = *str_p; in ecma_date_parse_date_chars()
88 ecma_date_parse_special_char (const lit_utf8_byte_t **str_p, /**< pointer to the cesu8 string */ in ecma_date_parse_special_char()
89 … const lit_utf8_byte_t *str_end_p, /**< pointer to the end of the string */ in ecma_date_parse_special_char()
90 const lit_utf8_byte_t expected_char) /**< expected character */ in ecma_date_parse_special_char()
110 ecma_date_parse_year (const lit_utf8_byte_t **str_p, /**< pointer to the cesu8 string */ in ecma_date_parse_year()
111 const lit_utf8_byte_t *str_end_p) /**< pointer to the end of the string */ in ecma_date_parse_year()
114 const lit_utf8_byte_t *str_start_p = *str_p; in ecma_date_parse_year()
145 ecma_date_parse_day_name (const lit_utf8_byte_t **str_p, /**< pointer to the cesu8 string */ in ecma_date_parse_day_name()
[all …]
Decma-builtin-helpers.c62 JMEM_DEFINE_LOCAL_ARRAY (str_buffer, buffer_size, lit_utf8_byte_t); in ecma_builtin_helper_object_to_string_tag_helper()
64 lit_utf8_byte_t *buffer_ptr = str_buffer; in ecma_builtin_helper_object_to_string_tag_helper()
172 JERRY_VLA (lit_utf8_byte_t, str_buffer, buffer_size); in ecma_builtin_helper_object_to_string()
174 lit_utf8_byte_t *buffer_ptr = str_buffer; in ecma_builtin_helper_object_to_string()
701 const lit_utf8_byte_t *original_str_curr_p = original_str_utf8_p; in ecma_builtin_helper_string_find_index()
710 const lit_utf8_byte_t *search_str_curr_p = search_str_utf8_p; in ecma_builtin_helper_string_find_index()
719 const lit_utf8_byte_t *stored_original_str_curr_p = original_str_curr_p; in ecma_builtin_helper_string_find_index()
725 const lit_utf8_byte_t *nested_search_str_curr_p = search_str_curr_p; in ecma_builtin_helper_string_find_index()
852 const lit_utf8_byte_t *replace_buf_p = ecma_string_get_chars (ctx_p->replace_str_p, in ecma_builtin_replace_substitute()
858 const lit_utf8_byte_t *const replace_end_p = replace_buf_p + replace_size; in ecma_builtin_replace_substitute()
[all …]
Decma-builtin-json.c83 const lit_utf8_byte_t *current_p; /**< current position of the string processed by the parser */
84 const lit_utf8_byte_t *end_p; /**< end of the string processed by the parser */
102 const lit_utf8_byte_t *current_p = token_p->current_p; in ecma_builtin_json_parse_string()
103 const lit_utf8_byte_t *end_p = token_p->end_p; in ecma_builtin_json_parse_string()
106 const lit_utf8_byte_t *unappended_p = current_p; in ecma_builtin_json_parse_string()
134 const lit_utf8_byte_t c = *current_p; in ecma_builtin_json_parse_string()
218 const lit_utf8_byte_t *current_p = token_p->current_p; in ecma_builtin_json_parse_number()
219 const lit_utf8_byte_t *end_p = token_p->end_p; in ecma_builtin_json_parse_number()
220 const lit_utf8_byte_t *start_p = current_p; in ecma_builtin_json_parse_number()
305 const lit_utf8_byte_t *current_p = token_p->current_p; in ecma_builtin_json_parse_next_token()
[all …]
Decma-builtin-string-prototype.c464 const lit_utf8_byte_t *search_buf_p = ecma_string_get_chars (search_str_p, in ecma_builtin_string_prototype_object_replace()
475 const lit_utf8_byte_t *const input_end_p = replace_ctx.string_p + replace_ctx.string_size; in ecma_builtin_string_prototype_object_replace()
476 const lit_utf8_byte_t *const loop_end_p = input_end_p - search_size; in ecma_builtin_string_prototype_object_replace()
479 for (const lit_utf8_byte_t *curr_p = replace_ctx.string_p; in ecma_builtin_string_prototype_object_replace()
531 const lit_utf8_byte_t *const match_end_p = curr_p + search_size; in ecma_builtin_string_prototype_object_replace()
853 const lit_utf8_byte_t *string_buffer_p = ecma_string_get_chars (string_p, in ecma_builtin_string_prototype_object_split()
860 const lit_utf8_byte_t *separator_buffer_p = ecma_string_get_chars (separator_p, in ecma_builtin_string_prototype_object_split()
866 const lit_utf8_byte_t *const string_end_p = string_buffer_p + string_size; in ecma_builtin_string_prototype_object_split()
867 const lit_utf8_byte_t *const compare_end_p = JERRY_MIN (string_end_p - separator_size + 1, in ecma_builtin_string_prototype_object_split()
869 const lit_utf8_byte_t *current_p = string_buffer_p; in ecma_builtin_string_prototype_object_split()
[all …]
Decma-builtin-regexp-prototype.c99 static const lit_utf8_byte_t flag_chars[] = in ecma_builtin_regexp_prototype_get_flags()
151 const lit_utf8_byte_t *pattern_str_curr_p = pattern_start_p; in ecma_op_escape_regexp_pattern()
152 const lit_utf8_byte_t *pattern_str_end_p = pattern_start_p + pattern_start_size; in ecma_op_escape_regexp_pattern()
162 ecma_stringbuilder_append_raw (&builder, (const lit_utf8_byte_t *) "\\/", 2); in ecma_op_escape_regexp_pattern()
167 ecma_stringbuilder_append_raw (&builder, (const lit_utf8_byte_t *) "\\n", 2); in ecma_op_escape_regexp_pattern()
172 ecma_stringbuilder_append_raw (&builder, (const lit_utf8_byte_t *) "\\r", 2); in ecma_op_escape_regexp_pattern()
177 ecma_stringbuilder_append_raw (&builder, (const lit_utf8_byte_t *) "\\u2028", 6); in ecma_op_escape_regexp_pattern()
182 ecma_stringbuilder_append_raw (&builder, (const lit_utf8_byte_t *) "\\u2029", 6); in ecma_op_escape_regexp_pattern()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-helpers-string.c64 ecma_string_to_array_index (const lit_utf8_byte_t *string_p, /**< utf-8 string */ in ecma_string_to_array_index()
82 const lit_utf8_byte_t *string_end_p = string_p + string_size; in ecma_string_to_array_index()
129 static const lit_utf8_byte_t *
251lit_utf8_byte_t **data_p) /**< [out] pointer to the start of the string buffer */ in ecma_new_ecma_string_from_utf8_buffer()
297 ecma_find_special_string (const lit_utf8_byte_t *string_p, /**< utf8 string */ in ecma_find_special_string()
339 ecma_new_ecma_string_from_utf8 (const lit_utf8_byte_t *string_p, /**< utf-8 string */ in ecma_new_ecma_string_from_utf8()
352 lit_utf8_byte_t *data_p; in ecma_new_ecma_string_from_utf8()
365 ecma_string_t * ecma_new_nonref_ecma_string_from_utf8 (const lit_utf8_byte_t *string_p, lit_utf8_si… in ecma_new_nonref_ecma_string_from_utf8()
410 ecma_new_ecma_string_from_utf8_converted_to_cesu8 (const lit_utf8_byte_t *string_p, /**< utf-8 stri… in ecma_new_ecma_string_from_utf8_converted_to_cesu8()
456 lit_utf8_byte_t *data_p; in ecma_new_ecma_string_from_utf8_converted_to_cesu8()
[all …]
Decma-helpers.h107 const lit_utf8_byte_t *utf8_ptr = ecma_string_get_chars (ecma_str_ptr, \
294 ecma_string_t *ecma_new_ecma_string_from_utf8 (const lit_utf8_byte_t *string_p, lit_utf8_size_t str…
295 ecma_string_t *ecma_new_nonref_ecma_string_from_utf8 (const lit_utf8_byte_t *string_p, lit_utf8_siz…
296 ecma_string_t *ecma_find_special_string (const lit_utf8_byte_t *string_p, lit_utf8_size_t string_si…
297 … (const ecma_string_t *string1_p, const ecma_string_t *string2_p, const lit_utf8_byte_t *chars_p);
298 ecma_string_t *ecma_new_ecma_string_from_utf8_converted_to_cesu8 (const lit_utf8_byte_t *string_p,
310 const lit_utf8_byte_t *cesu8_string2_p,
322 lit_utf8_byte_t *buffer_p,
326 lit_utf8_byte_t *buffer_p,
332 lit_utf8_byte_t *buffer_p,
[all …]
Decma-helpers-conversion.c294 ecma_utf8_string_to_number_by_radix (const lit_utf8_byte_t *str_p, /**< utf-8 string */ in ecma_utf8_string_to_number_by_radix()
295 const lit_utf8_byte_t *end_p, /**< end of utf-8 string */ in ecma_utf8_string_to_number_by_radix()
306 for (const lit_utf8_byte_t * iter_p = str_p; iter_p <= end_p; iter_p++) in ecma_utf8_string_to_number_by_radix()
326 for (const lit_utf8_byte_t * iter_p = str_p; iter_p <= end_p; iter_p++) in ecma_utf8_string_to_number_by_radix()
366 ecma_utf8_string_to_number (const lit_utf8_byte_t *str_p, /**< utf-8 string */ in ecma_utf8_string_to_number()
377 const lit_utf8_byte_t *end_p = str_p + (str_size - 1); in ecma_utf8_string_to_number()
427 …const lit_utf8_byte_t *infinity_zt_str_p = lit_get_magic_string_utf8 (LIT_MAGIC_STRING_INFINITY_UL… in ecma_utf8_string_to_number()
724 lit_utf8_byte_t *out_buffer_p, /**< buffer for string */ in ecma_uint32_to_utf8_string()
727 lit_utf8_byte_t *buf_p = out_buffer_p + buffer_size; in ecma_uint32_to_utf8_string()
734 *buf_p = (lit_utf8_byte_t) ((value % 10) + LIT_CHAR_0); in ecma_uint32_to_utf8_string()
[all …]
Decma-helpers-number.c721 ecma_number_parse_int (const lit_utf8_byte_t *string_buff, /**< routine's first argument's in ecma_number_parse_int()
732 const lit_utf8_byte_t *string_curr_p = string_buff; in ecma_number_parse_int()
737 const lit_utf8_byte_t *string_end_p = string_curr_p + string_buff_size; in ecma_number_parse_int()
738 const lit_utf8_byte_t *start_p = string_curr_p; in ecma_number_parse_int()
739 const lit_utf8_byte_t *end_p = string_end_p; in ecma_number_parse_int()
899 ecma_number_parse_float (const lit_utf8_byte_t *string_buff, /**< routine's first argument's in ecma_number_parse_float()
909 const lit_utf8_byte_t *str_curr_p = string_buff; in ecma_number_parse_float()
914 const lit_utf8_byte_t *str_end_p = str_curr_p + string_buff_size; in ecma_number_parse_float()
915 const lit_utf8_byte_t *start_p = str_curr_p; in ecma_number_parse_float()
916 const lit_utf8_byte_t *end_p = str_end_p; in ecma_number_parse_float()
[all …]
Decma-globals.h1603 ((lit_utf8_byte_t *) ((lit_utf8_byte_t *) (string_p) + sizeof (ecma_ascii_string_t)))
1609 ((lit_utf8_byte_t *) ((lit_utf8_byte_t *) (string_p) + sizeof (ecma_utf8_string_t)))
1615 ((lit_utf8_byte_t *) ((lit_utf8_byte_t *) (string_p) + sizeof (ecma_long_utf8_string_t)))
1643 ((lit_utf8_byte_t *) (((lit_utf8_byte_t *) header_p) + sizeof (ecma_ascii_string_t)))
1761 typedef ecma_number_t (*ecma_typedarray_getter_fn_t) (lit_utf8_byte_t *src);
1766 typedef void (*ecma_typedarray_setter_fn_t) (lit_utf8_byte_t *src, ecma_number_t value);
1829 lit_utf8_byte_t *buffer_p; /**< pointer to the underlying raw data buffer.
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.h87 const lit_utf8_byte_t *begin_p; /**< capture start pointer */
88 const lit_utf8_byte_t *end_p; /**< capture end pointer */
99 const lit_utf8_byte_t *begin_p; /**< substring start pointer */
118 #define ECMA_RE_OUT_OF_STACK ((const lit_utf8_byte_t *) UINTPTR_MAX)
141 const lit_utf8_byte_t *input_start_p; /**< start of input string */
142 const lit_utf8_byte_t *input_end_p; /**< end of input string */
152 lit_code_point_t ecma_regexp_unicode_advance (const lit_utf8_byte_t **str_p, const lit_utf8_byte_t
Decma-exceptions.c147 …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()
225 const lit_utf8_byte_t *msg_p) /**< error message */ in ecma_raise_standard_error()
276 …ecma_stringbuilder_append_raw (&builder, (lit_utf8_byte_t *) start_p, (lit_utf8_size_t) (end_p - s… in ecma_raise_standard_error_with_format()
318 …ecma_stringbuilder_append_raw (&builder, (lit_utf8_byte_t *) start_p, (lit_utf8_size_t) (end_p - s… in ecma_raise_standard_error_with_format()
342 return ecma_raise_standard_error (ECMA_ERROR_COMMON, (const lit_utf8_byte_t *) msg_p); in ecma_raise_common_error()
356 return ecma_raise_standard_error (ECMA_ERROR_RANGE, (const lit_utf8_byte_t *) msg_p); in ecma_raise_range_error()
370 return ecma_raise_standard_error (ECMA_ERROR_REFERENCE, (const lit_utf8_byte_t *) msg_p); in ecma_raise_reference_error()
384 return ecma_raise_standard_error (ECMA_ERROR_SYNTAX, (const lit_utf8_byte_t *) msg_p); in ecma_raise_syntax_error()
398 return ecma_raise_standard_error (ECMA_ERROR_TYPE, (const lit_utf8_byte_t *) msg_p); in ecma_raise_type_error()
412 return ecma_raise_standard_error (ECMA_ERROR_URI, (const lit_utf8_byte_t *) msg_p); in ecma_raise_uri_error()
Decma-regexp-object.c68 const lit_utf8_byte_t *flags_str_curr_p = flags_start_p; in ecma_regexp_parse_flags()
69 const lit_utf8_byte_t *flags_str_end_p = flags_start_p + flags_start_size; in ecma_regexp_parse_flags()
512 const lit_utf8_byte_t **str_p) /**< reference to string pointer */ in ecma_regexp_advance()
541 ecma_regexp_unicode_advance (const lit_utf8_byte_t **str_p, /**< reference to string pointer */ in ecma_regexp_unicode_advance()
542 const lit_utf8_byte_t *end_p) /**< string end pointer */ in ecma_regexp_unicode_advance()
545 const lit_utf8_byte_t *current_p = *str_p; in ecma_regexp_unicode_advance()
569 static JERRY_ATTR_NOINLINE const lit_utf8_byte_t *
571 const lit_utf8_byte_t *str_p) /**< reference to string pointer */ in ecma_regexp_step_back()
598 static const lit_utf8_byte_t *
601 const lit_utf8_byte_t *str_curr_p) /**< input string pointer */ in ecma_regexp_run()
[all …]
Decma-typedarray-object.c45 ecma_typedarray_get_int8_element (lit_utf8_byte_t *src) /**< the location in the internal arraybuff… in ecma_typedarray_get_int8_element()
55 ecma_typedarray_get_uint8_element (lit_utf8_byte_t *src) /**< the location in the internal arraybuf… in ecma_typedarray_get_uint8_element()
65 ecma_typedarray_get_int16_element (lit_utf8_byte_t *src) /**< the location in the internal arraybuf… in ecma_typedarray_get_int16_element()
76 ecma_typedarray_get_uint16_element (lit_utf8_byte_t *src) /**< the location in the internal arraybu… in ecma_typedarray_get_uint16_element()
87 ecma_typedarray_get_int32_element (lit_utf8_byte_t *src) /**< the location in the internal arraybuf… in ecma_typedarray_get_int32_element()
98 ecma_typedarray_get_uint32_element (lit_utf8_byte_t *src) /**< the location in the internal arraybu… in ecma_typedarray_get_uint32_element()
109 ecma_typedarray_get_float_element (lit_utf8_byte_t *src) /**< the location in the internal arraybuf… in ecma_typedarray_get_float_element()
120 ecma_typedarray_get_double_element (lit_utf8_byte_t *src) /**< the location in the internal arraybu… in ecma_typedarray_get_double_element()
165 ecma_typedarray_set_int8_element (lit_utf8_byte_t *dst_p, /**< the location in the internal arraybu… in ecma_typedarray_set_int8_element()
169 *dst_p = (lit_utf8_byte_t) num; in ecma_typedarray_set_int8_element()
[all …]
Decma-dataview-object.c208 lit_utf8_byte_t *block_p) /**< data block */ in ecma_dataview_swap_order()
214 lit_utf8_byte_t tmp = block_p[i]; in ecma_dataview_swap_order()
241 lit_utf8_byte_t* swap_block_p; in ecma_op_dataview_get_set_view_value()
297 lit_utf8_byte_t *block_p = ecma_arraybuffer_get_buffer (buffer_p) + buffer_index; in ecma_op_dataview_get_set_view_value()
304 swap_block_p = jerry_vla_malloc (sizeof(lit_utf8_byte_t) * element_size); in ecma_op_dataview_get_set_view_value()
310 JERRY_VLA (lit_utf8_byte_t, swap_block_p, element_size); in ecma_op_dataview_get_set_view_value()
312 memcpy (swap_block_p, block_p, element_size * sizeof (lit_utf8_byte_t)); in ecma_op_dataview_get_set_view_value()
Decma-arraybuffer-object.c59 lit_utf8_byte_t *buf = (lit_utf8_byte_t *) (ext_object_p + 1); in ecma_arraybuffer_new_object()
188 inline lit_utf8_byte_t * JERRY_ATTR_PURE JERRY_ATTR_ALWAYS_INLINE
198 return (lit_utf8_byte_t *) array_p->buffer_p; in ecma_arraybuffer_get_buffer()
202 return (lit_utf8_byte_t *) (ext_object_p + 1); in ecma_arraybuffer_get_buffer()
/third_party/jerryscript/jerry-core/vm/
Dvm-utils.c70 func_name_builder = ecma_stringbuilder_create_raw ((lit_utf8_byte_t *) ("<unknown>"), 9); in vm_get_function_name_string()
76 func_name_builder = ecma_stringbuilder_create_raw ((lit_utf8_byte_t *) ("<erroneous>"), 11); in vm_get_function_name_string()
79 func_name_builder = ecma_stringbuilder_create_raw ((lit_utf8_byte_t *) ("<GLOBAL>"), 8); in vm_get_function_name_string()
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/parser/regexp/
Dre-compiler-context.h38 const lit_utf8_byte_t *input_start_p; /**< start of input pattern */
39 const lit_utf8_byte_t *input_curr_p; /**< current position in input pattern */
40 const lit_utf8_byte_t *input_end_p; /**< end of input pattern */

123