Home
last modified time | relevance | path

Searched refs:utf8_buf_p (Results 1 – 6 of 6) sorted by relevance

/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() argument
39 lit_utf8_byte_t c = utf8_buf_p[idx++]; in lit_is_valid_utf8_string()
81 c = utf8_buf_p[idx + offset]; in lit_is_valid_utf8_string()
291 lit_utf8_string_length (const lit_utf8_byte_t *utf8_buf_p, /**< utf-8 string */ in lit_utf8_string_length() argument
299 size += lit_get_unicode_char_size_by_utf8_first_byte (*(utf8_buf_p + size)); in lit_utf8_string_length()
584 const lit_utf8_byte_t *utf8_buf_p, /**< characters 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()
594 hash = (hash ^ utf8_buf_p[i]) * 16777619; in lit_utf8_string_hash_combine()
606 lit_utf8_string_calc_hash (const lit_utf8_byte_t *utf8_buf_p, /**< characters buffer */ in lit_utf8_string_calc_hash() argument
609 JERRY_ASSERT (utf8_buf_p != NULL || utf8_buf_size == 0); in lit_utf8_string_calc_hash()
[all …]
Dlit-strings.h87 bool lit_is_valid_utf8_string (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t buf_size);
99 ecma_length_t lit_utf8_string_length (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_buf_s…
103 lit_string_hash_t lit_utf8_string_calc_hash (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf…
104 …sh_t lit_utf8_string_hash_combine (lit_string_hash_t hash_basis, const lit_utf8_byte_t *utf8_buf_p,
108 ecma_char_t lit_utf8_string_code_unit_at (const lit_utf8_byte_t *utf8_buf_p, lit_utf8_size_t utf8_b…
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-string.c76 JMEM_DEFINE_LOCAL_ARRAY (utf8_buf_p, in ecma_builtin_string_object_from_char_code()
92 utf8_buf_used += lit_code_unit_to_utf8 (code_unit, utf8_buf_p + utf8_buf_used); in ecma_builtin_string_object_from_char_code()
100 ret_string_p = ecma_new_ecma_string_from_utf8 (utf8_buf_p, utf8_buf_used); in ecma_builtin_string_object_from_char_code()
103 JMEM_FINALIZE_LOCAL_ARRAY (utf8_buf_p); in ecma_builtin_string_object_from_char_code()
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h602 bool jerry_is_valid_utf8_string (const jerry_char_t *utf8_buf_p, jerry_size_t buf_size);
/third_party/jerryscript/jerry-core/api/
Djerry.c3432 jerry_is_valid_utf8_string (const jerry_char_t *utf8_buf_p, /**< UTF-8 string */ in jerry_is_valid_utf8_string() argument
3435 return lit_is_valid_utf8_string ((lit_utf8_byte_t *) utf8_buf_p, in jerry_is_valid_utf8_string()
/third_party/jerryscript/docs/
D02.API-REFERENCE.md6893 jerry_is_valid_utf8_string (const jerry_char_t *utf8_buf_p, /**< UTF-8 string */
6897 - `utf8_buf_p` - UTF-8 input string buffer.