Home
last modified time | relevance | path

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

/third_party/jerryscript/targets/curie_bsp/jerry_app/quark/
Dmain.c50 jerry_value_t err_str_val = jerry_value_to_string (ret_value); in jerry_resolve_error() local
51 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); in jerry_resolve_error()
53 jerry_size_t sz = jerry_string_to_utf8_char_buffer (err_str_val, err_str_buf, err_str_size); in jerry_resolve_error()
57 jerry_release_value (err_str_val); in jerry_resolve_error()
/third_party/jerryscript/jerry-main/
Dmain-unix-snapshot.c178 jerry_value_t err_str_val = jerry_value_to_string (error_value); in print_unhandled_exception() local
180 if (jerry_value_is_error (err_str_val)) in print_unhandled_exception()
184 jerry_release_value (err_str_val); in print_unhandled_exception()
188 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); in print_unhandled_exception()
193 jerry_release_value (err_str_val); in print_unhandled_exception()
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()
203 jerry_release_value (err_str_val); in print_unhandled_exception()
Dmain-unix.c149 jerry_value_t err_str_val = jerry_value_to_string (error_value); in print_unhandled_exception() local
150 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); 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()
261 jerry_release_value (err_str_val); in print_unhandled_exception()
/third_party/jerryscript/tests/unit-core/
Dtest-api.c904 jerry_value_t err_str_val = jerry_value_to_string (parsed_code_val); in main() local
905 jerry_size_t err_str_size = jerry_get_string_size (err_str_val); in main()
907 sz = jerry_string_to_char_buffer (err_str_val, err_str_buf, err_str_size); in main()
910 jerry_release_value (err_str_val); in main()
923 err_str_val = jerry_value_to_string (parsed_code_val); in main()
924 err_str_size = jerry_get_string_size (err_str_val); in main()
926 sz = jerry_string_to_char_buffer (err_str_val, err_str_buf, err_str_size); in main()
929 jerry_release_value (err_str_val); in main()
945 err_str_val = jerry_value_to_string (res); in main()
946 err_str_size = jerry_get_string_size (err_str_val); in main()
[all …]
/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c162 jerry_value_t err_str_val = jerry_value_to_string (error_value); in print_unhandled_exception() local
163 jerry_size_t err_str_size = jerry_get_utf8_string_size (err_str_val); 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()
276 jerry_release_value (err_str_val); in print_unhandled_exception()
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c2750 ecma_value_t err_str_val = ecma_make_string_value (err_str_p); in parser_parse_script() local
2756 err_str_val, in parser_parse_script()
2763 ecma_free_value (err_str_val); in parser_parse_script()