Home
last modified time | relevance | path

Searched refs:jerry_value_is_error (Results 1 – 25 of 56) sorted by relevance

123

/third_party/jerryscript/tests/unit-core/
Dtest-api.c157 TEST_ASSERT (!jerry_value_is_error (res)); in handler_construct()
368 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
371 TEST_ASSERT (!jerry_value_is_error (res)); in main()
379 TEST_ASSERT (!jerry_value_is_error (val_t)); in main()
384 TEST_ASSERT (!jerry_value_is_error (val_t)); in main()
391 TEST_ASSERT (!jerry_value_is_error (val_foo)); in main()
398 TEST_ASSERT (!jerry_value_is_error (res)); in main()
405 TEST_ASSERT (!jerry_value_is_error (val_bar)); in main()
410 TEST_ASSERT (!jerry_value_is_error (res)); in main()
420 TEST_ASSERT (!jerry_value_is_error (res)); in main()
[all …]
Dtest-arraybuffer.c86 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_read_with_offset()
122 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_write_with_offset()
186 TEST_ASSERT (!jerry_value_is_error (eval_arraybuffer)); in main()
196 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in main()
212 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in main()
240 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in main()
257 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in main()
327 TEST_ASSERT (!jerry_value_is_error (buffer)); in main()
371 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in main()
376 TEST_ASSERT (!jerry_value_is_error (is_detachable)); in main()
[all …]
Dtest-abort.c48 TEST_ASSERT (!jerry_value_is_error (res)); in main()
73 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
108 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
119 TEST_ASSERT (!jerry_value_is_error (value)); in main()
123 TEST_ASSERT (jerry_value_is_error (value)); in main()
127 TEST_ASSERT (jerry_value_is_error (value)); in main()
131 TEST_ASSERT (jerry_value_is_error (value)); in main()
Dtest-newtarget.c97 TEST_ASSERT (!jerry_value_is_error (func_call_result)); in construct_handler()
129 TEST_ASSERT (!jerry_value_is_error (constructed)); in main()
148 TEST_ASSERT (!jerry_value_is_error (constructed)); in main()
162 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
165 TEST_ASSERT (!jerry_value_is_error (res)); in main()
179 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
182 TEST_ASSERT (!jerry_value_is_error (res)); in main()
201 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
204 TEST_ASSERT (!jerry_value_is_error (res)); in main()
Dtest-api-set-and-clear-error-flag.c101 TEST_ASSERT (jerry_value_is_error (num2)); in main()
109 TEST_ASSERT (jerry_value_is_error (num2)); in main()
116 TEST_ASSERT (jerry_value_is_error (num2)); in main()
119 TEST_ASSERT (jerry_value_is_error (num3)); in main()
127 TEST_ASSERT (jerry_value_is_error (num2)); in main()
129 TEST_ASSERT (jerry_value_is_error (num3)); in main()
138 TEST_ASSERT (jerry_value_is_error (num2)); in main()
148 TEST_ASSERT (jerry_value_is_error (num2)); in main()
158 TEST_ASSERT (jerry_value_is_error (num2)); in main()
169 TEST_ASSERT (jerry_value_is_error (num2)); in main()
Dtest-regression-3588.c57 TEST_ASSERT (!jerry_value_is_error (result_val)); in main()
76 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
79 TEST_ASSERT (!jerry_value_is_error (result)); in main()
96 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
99 TEST_ASSERT (!jerry_value_is_error (result)); in main()
Dtest-exec-stop.c59 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
63 TEST_ASSERT (jerry_value_is_error (res)); in main()
85 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
91 TEST_ASSERT (jerry_value_is_error (res)); in main()
Dtest-typedarray.c92 TEST_ASSERT (!jerry_value_is_error (typedarray)); in test_typedarray_info()
122 TEST_ASSERT (!jerry_value_is_error (prop_value)); in test_typedarray_queries()
240 TEST_ASSERT (!jerry_value_is_error (typedarray)); in test_typedarray_complex_creation()
258 TEST_ASSERT (!jerry_value_is_error (result)); in test_typedarray_complex_creation()
393 TEST_ASSERT (jerry_value_is_error (set_undefined)); in test_property_by_index()
424 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_detached_arraybuffer()
429 TEST_ASSERT (!jerry_value_is_error (is_detachable)); in test_detached_arraybuffer()
434 TEST_ASSERT (!jerry_value_is_error (res)); in test_detached_arraybuffer()
440 TEST_ASSERT (jerry_value_is_error (typedarray)); in test_detached_arraybuffer()
453 TEST_ASSERT (!jerry_value_is_error (arraybuffer)); in test_detached_arraybuffer()
[all …]
Dtest-symbol.c48 TEST_ASSERT (!jerry_value_is_error (symbol_1)); in main()
52 TEST_ASSERT (!jerry_value_is_error (symbol_2)); in main()
144 TEST_ASSERT (!jerry_value_is_error (empty_symbol)); in main()
151 TEST_ASSERT (jerry_value_is_error (symbol_symbol)); in main()
164 TEST_ASSERT (!jerry_value_is_error (bar_symbol)); in main()
185 TEST_ASSERT (jerry_value_is_error (to_string_value)); in main()
Dtest-dataview.c38 TEST_ASSERT (!jerry_value_is_error (view1)); in main()
50 TEST_ASSERT (!jerry_value_is_error (view1)); in main()
61 TEST_ASSERT (jerry_value_is_error (view3)); in main()
68 TEST_ASSERT (jerry_value_is_error (view3)); in main()
Dtest-resource-name.c77 TEST_ASSERT (!jerry_value_is_error (program)); in main()
80 TEST_ASSERT (!jerry_value_is_error (run_result)); in main()
108 TEST_ASSERT (!jerry_value_is_error (program)); in main()
111 TEST_ASSERT (!jerry_value_is_error (run_result)); in main()
Dtest-objects-foreach.c55 TEST_ASSERT (!jerry_value_is_error (array)); in test_container()
64 TEST_ASSERT (!jerry_value_is_error (result)); in test_container()
169 bool has_property = (!jerry_value_is_error (result) && jerry_get_boolean_value (result)); in find_test_object_by_property()
194 TEST_ASSERT (!jerry_value_is_error (parse_result)); in main()
196 TEST_ASSERT (!jerry_value_is_error (strict_equal)); in main()
Dtest-promise.c136 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
139 TEST_ASSERT (!jerry_value_is_error (res)); in main()
164 TEST_ASSERT (!jerry_value_is_error (res)); in main()
Dtest-api-binary-operations-instanceof.c58 TEST_ASSERT (!jerry_value_is_error (res)); in main()
77 TEST_ASSERT (!jerry_value_is_error (result)); in main()
107 TEST_ASSERT (jerry_value_is_error (result) == error_tests[idx].expected); in main()
Dtest-api-errortype.c40 TEST_ASSERT (jerry_value_is_error (error_obj)); in main()
72 TEST_ASSERT (jerry_value_is_error (result)); in main()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c143 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
151 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
159 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
167 TEST_ASSERT (jerry_value_is_error (is_ok)); in test_validator1_handler()
187 if (jerry_value_is_error (to_number)) in my_custom_transform()
238 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator2_handler()
244 TEST_ASSERT (jerry_value_is_error (is_ok)); in test_validator2_handler()
288 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator3_handler()
294 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator3_handler()
301 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator3_handler()
[all …]
/third_party/jerryscript/jerry-main/
Dmain-unix.c97 assert (!jerry_value_is_error (error_value)); in print_unhandled_exception()
107 if (!jerry_value_is_error (backtrace_val) in print_unhandled_exception()
124 if (!jerry_value_is_error (item_val) in print_unhandled_exception()
273 if (jerry_value_is_error (result_val)) in register_js_function()
302 if (!jerry_value_is_error (ret_val)) in wait_for_source_callback()
721 if (jerry_value_is_error (ret_value)) in main()
731 if (!jerry_value_is_error (ret_value)) in main()
756 if (!jerry_value_is_error (ret_value) && !is_parse_only) in main()
763 if (jerry_value_is_error (ret_value)) in main()
909 if (!jerry_value_is_error (ret_val)) in main()
[all …]
Dmain-unix-test.c106 if (!jerry_value_is_error (ret_value)) in main()
114 if (jerry_value_is_error (ret_value)) in main()
125 if (jerry_value_is_error (ret_value)) in main()
/third_party/jerryscript/targets/zephyr/src/
Dmain-zephyr.c39 if (jerry_value_is_error (result_val)) in register_js_function()
55 if (jerry_value_is_error (ret_val)) in shell_cmd_handler()
66 if (!jerry_value_is_error (print_function)) in shell_cmd_handler()
100 if (jerry_value_is_error (print_function)) in main()
/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c159 assert (jerry_value_is_error (error_value)); in print_unhandled_exception()
288 if (jerry_value_is_error (result_val)) in register_js_function()
402 if (!jerry_value_is_error (ret_value)) in main()
427 if (!jerry_value_is_error (ret_value)) in main()
434 if (jerry_value_is_error (ret_value)) in main()
447 if (jerry_value_is_error (ret_value)) in main()
456 if (jerry_value_is_error (ret_value)) in main()
/third_party/jerryscript/targets/riot-stm32f4/source/
Dmain-riotos.c39 if (jerry_value_is_error (result_val)) in register_js_function()
70 if (!jerry_value_is_error (ret_value)) in test_jerry()
78 if (jerry_value_is_error (ret_value)) in test_jerry()
/third_party/jerryscript/targets/esp8266/user/
Djerry_run.c41 if (jerry_value_is_error (res)) { in js_eval()
58 if (jerry_value_is_error (sysloop_func)) { in js_loop()
87 if (jerry_value_is_error (res)) { in js_loop()
/third_party/jerryscript/jerry-ext/arg/
Darg.c52 for (; c_arg_cnt != 0 && !jerry_value_is_error (ret); c_arg_cnt--, c_arg_p++) in jerryx_arg_transform_args()
91 if (jerry_value_is_error (ret)) in jerryx_arg_transform_this_and_args()
139 if (jerry_value_is_error (prop[i])) in jerryx_arg_transform_object_properties()
200 if (jerry_value_is_error (arr[i])) in jerryx_arg_transform_array()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c177 TEST_ASSERT (!jerry_value_is_error (js_value)); in assert_number()
216 TEST_ASSERT (!jerry_value_is_error (res)); in main()
225 TEST_ASSERT (!jerry_value_is_error (res)); in main()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-launcher/source/
Dlauncher.cpp47 if (jerry_value_is_error(parsed_code)) { in load_javascript()
57 if (jerry_value_is_error(returned_value)) { in load_javascript()

123