Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/ecma/builtin-objects/
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()
77 … (lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr)); in ecma_builtin_helper_object_to_string_tag_helper()
79 JERRY_ASSERT (buffer_ptr <= str_buffer + buffer_size); in ecma_builtin_helper_object_to_string_tag_helper()
84 … (lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr)); in ecma_builtin_helper_object_to_string_tag_helper()
86 JERRY_ASSERT (buffer_ptr <= str_buffer + buffer_size); in ecma_builtin_helper_object_to_string_tag_helper()
90 … (lit_utf8_size_t) ((str_buffer + buffer_size) - buffer_ptr)); in ecma_builtin_helper_object_to_string_tag_helper()
92 JERRY_ASSERT (buffer_ptr <= str_buffer + buffer_size); in ecma_builtin_helper_object_to_string_tag_helper()
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()
96 JMEM_FINALIZE_LOCAL_ARRAY (str_buffer); in ecma_builtin_helper_object_to_string_tag_helper()
[all …]
Decma-builtin-string-prototype.c1166 JMEM_DEFINE_LOCAL_ARRAY (str_buffer, total_size, lit_utf8_byte_t); in ecma_builtin_string_prototype_object_repeat()
1168 lit_utf8_byte_t *buffer_ptr = str_buffer; in ecma_builtin_string_prototype_object_repeat()
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()
1177 JMEM_FINALIZE_LOCAL_ARRAY (str_buffer); in ecma_builtin_string_prototype_object_repeat()
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dbacktrace.c54 char *str_buffer = NULL; in backtrace_symbols() local
73 str_buffer = (char *)malloc(STRING_MAX_LEN * sizeof(char)); in backtrace_symbols()
74 if (str_buffer == NULL) { in backtrace_symbols()
78 snprintf(str_buffer, STRING_MAX_LEN, " #%02d: <%s+%#x>[%#x] -> %s\n", i, info.dli_sname, in backtrace_symbols()
81 str_location[i] = str_buffer; in backtrace_symbols()
82 total_size += strlen(str_buffer) + 1; in backtrace_symbols()