Searched refs:err_str_buf (Results 1 – 5 of 5) sorted by relevance
/third_party/jerryscript/targets/curie_bsp/jerry_app/quark/ |
D | main.c | 52 jerry_char_t *err_str_buf = (jerry_char_t *) balloc (err_str_size, NULL); in jerry_resolve_error() local 53 jerry_size_t sz = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size); in jerry_resolve_error() 54 err_str_buf[sz] = 0; in jerry_resolve_error() 55 printk ("Script Error: unhandled exception: %s\n", err_str_buf); in jerry_resolve_error() 56 bfree(err_str_buf); in jerry_resolve_error()
|
/third_party/jerryscript/targets/nuttx-stm32f4/ |
D | jerry_main.c | 164 jerry_char_t err_str_buf[256]; in print_unhandled_exception() local 172 memcpy (err_str_buf, msg, err_str_size); in print_unhandled_exception() 176 jerry_size_t sz = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size); in print_unhandled_exception() 178 err_str_buf[err_str_size] = 0; in print_unhandled_exception() 183 jerry_char_t *string_end_p = err_str_buf + sz; in print_unhandled_exception() 190 for (jerry_char_t *current_p = err_str_buf; current_p < string_end_p; current_p++) in print_unhandled_exception() 275 jerry_port_log (JERRY_LOG_LEVEL_ERROR, "Script Error: %s\n", err_str_buf); in print_unhandled_exception()
|
/third_party/jerryscript/jerry-main/ |
D | main-unix.c | 99 jerry_char_t err_str_buf[256]; in print_unhandled_exception() local 135 … jerry_size_t string_end = jerry_string_to_utf8_char_buffer (item_val, err_str_buf, str_size); in print_unhandled_exception() 137 err_str_buf[string_end] = 0; in print_unhandled_exception() 139 printf ("%3u: %s\n", i, err_str_buf); in print_unhandled_exception() 156 memcpy (err_str_buf, msg, err_str_size + 1); in print_unhandled_exception() 160 …jerry_size_t string_end = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size… in print_unhandled_exception() 162 err_str_buf[string_end] = 0; in print_unhandled_exception() 167 jerry_char_t *string_end_p = err_str_buf + string_end; in print_unhandled_exception() 174 for (jerry_char_t *current_p = err_str_buf; current_p < string_end_p; current_p++) in print_unhandled_exception() 260 jerry_port_log (JERRY_LOG_LEVEL_ERROR, "Script Error: %s\n", err_str_buf); in print_unhandled_exception()
|
D | main-unix-snapshot.c | 197 jerry_char_t err_str_buf[256]; in print_unhandled_exception() local 198 …jerry_size_t string_end = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size… in print_unhandled_exception() 200 err_str_buf[string_end] = 0; in print_unhandled_exception() 202 jerry_port_log (JERRY_LOG_LEVEL_ERROR, "Snapshot error: %s\n", (char *) err_str_buf); in print_unhandled_exception()
|
/third_party/jerryscript/tests/unit-core/ |
D | test-api.cpp | 931 jerry_char_t err_str_buf[256]; variable 932 sz = jerry_string_to_char_buffer (err_str_val, err_str_buf, err_str_size); 933 err_str_buf[sz] = 0; 937 TEST_ASSERT (!strcmp ((char *) err_str_buf, 951 sz = jerry_string_to_char_buffer (err_str_val, err_str_buf, err_str_size); 952 err_str_buf[sz] = 0; 956 TEST_ASSERT (!strcmp ((char *) err_str_buf, 973 sz = jerry_string_to_char_buffer (err_str_val, err_str_buf, err_str_size); 974 err_str_buf[sz] = 0; 979 TEST_ASSERT (!strcmp ((char *) err_str_buf,
|