Home
last modified time | relevance | path

Searched refs:utf8_buf_size (Results 1 – 3 of 3) sorted by relevance

/third_party/jerryscript/jerry-core/lit/
Dlit-strings.c292 lit_utf8_size_t utf8_buf_size) /**< string size */ in lit_utf8_string_length() argument
297 while (size < utf8_buf_size) in lit_utf8_string_length()
303 JERRY_ASSERT (size == utf8_buf_size); in lit_utf8_string_length()
318 lit_utf8_size_t utf8_buf_size = cesu8_buf_size; in lit_get_utf8_size_of_cesu8_string() local
328 utf8_buf_size -= 2; in lit_get_utf8_size_of_cesu8_string()
336 return utf8_buf_size; in lit_get_utf8_size_of_cesu8_string()
585 … lit_utf8_size_t utf8_buf_size) /**< number of characters in the buffer */ in lit_utf8_string_hash_combine() argument
587 JERRY_ASSERT (utf8_buf_p != NULL || utf8_buf_size == 0); in lit_utf8_string_hash_combine()
591 for (uint32_t i = 0; i < utf8_buf_size; i++) in lit_utf8_string_hash_combine()
607 lit_utf8_size_t utf8_buf_size) /**< number of characters in the buffer */ in lit_utf8_string_calc_hash() argument
[all …]
Dlit-strings.h99 …length_t lit_utf8_string_length (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_buf_size);
103 …ash_t lit_utf8_string_calc_hash (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_buf_size);
105 lit_utf8_size_t utf8_buf_size);
108 …r_t lit_utf8_string_code_unit_at (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_buf_size,
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string.c74 lit_utf8_size_t utf8_buf_size = args_number * LIT_CESU8_MAX_BYTES_IN_CODE_UNIT; in ecma_builtin_string_object_from_char_code() local
77 utf8_buf_size, in ecma_builtin_string_object_from_char_code()
91 JERRY_ASSERT (utf8_buf_used <= utf8_buf_size - LIT_UTF8_MAX_BYTES_IN_CODE_UNIT); in ecma_builtin_string_object_from_char_code()
93 JERRY_ASSERT (utf8_buf_used <= utf8_buf_size); in ecma_builtin_string_object_from_char_code()