Searched refs:utf8_str_size (Results 1 – 3 of 3) sorted by relevance
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers.h | 104 utf8_str_size) /**< [out] output buffer size */ \ argument 105 lit_utf8_size_t utf8_str_size; \ 108 &utf8_str_size, \ 117 utf8_str_size) /**< buffer size */ \ argument 121 jmem_heap_free_block ((void *) utf8_ptr, utf8_str_size); \ 372 lit_utf8_size_t *utf8_str_size);
|
D | ecma-helpers-string.c | 1122 ECMA_STRING_TO_UTF8_STRING (string_desc_p, utf8_str_p, utf8_str_size); in ecma_substring_copy_to_cesu8_buffer() 1126 if (string_length == utf8_str_size) in ecma_substring_copy_to_cesu8_buffer() 1164 ECMA_FINALIZE_UTF8_STRING (utf8_str_p, utf8_str_size); in ecma_substring_copy_to_cesu8_buffer() 2481 lit_utf8_size_t *utf8_str_size) /**< [in, out] size of the given string */ in ecma_string_trim_helper() argument 2485 const lit_utf8_byte_t *nonws_start_p = *utf8_str_p + *utf8_str_size; in ecma_string_trim_helper() 2501 current_p = *utf8_str_p + *utf8_str_size; in ecma_string_trim_helper() 2516 *utf8_str_size = (lit_utf8_size_t) (current_p - nonws_start_p); in ecma_string_trim_helper() 2529 lit_utf8_size_t utf8_str_size; in ecma_string_trim() local 2531 …const lit_utf8_byte_t *utf8_str_p = ecma_string_get_chars (string_p, &utf8_str_size, NULL, NULL, &… in ecma_string_trim() 2533 if (utf8_str_size > 0) in ecma_string_trim() [all …]
|
/third_party/jerryscript/jerry-core/api/ |
D | jerry-snapshot.c | 1545 lit_utf8_size_t utf8_str_size = ecma_uint32_to_utf8_string (number, in jerry_append_number_to_buffer() local 1549 JERRY_ASSERT (utf8_str_size <= ECMA_MAX_CHARS_IN_STRINGIFIED_UINT32); in jerry_append_number_to_buffer() 1554 utf8_str_size); in jerry_append_number_to_buffer()
|