Home
last modified time | relevance | path

Searched refs:parsed_code_val (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/tests/unit-core/
Dtest-exec-stop.c53 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
59 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
60 jerry_value_t res = jerry_run (parsed_code_val); in main()
66 jerry_release_value (parsed_code_val); in main()
79 parsed_code_val = jerry_parse (NULL, in main()
85 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
86 res = jerry_run (parsed_code_val); in main()
94 jerry_release_value (parsed_code_val); in main()
Dtest-newtarget.c157 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
162 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
164 jerry_value_t res = jerry_run (parsed_code_val); in main()
168 jerry_release_value (parsed_code_val); in main()
174 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
179 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
181 jerry_value_t res = jerry_run (parsed_code_val); in main()
185 jerry_release_value (parsed_code_val); in main()
196 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
201 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
[all …]
Dtest-regression-3588.c71 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
76 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
78 jerry_value_t result = jerry_run (parsed_code_val); in main()
82 jerry_release_value (parsed_code_val); in main()
91 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
96 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
98 jerry_value_t result = jerry_run (parsed_code_val); in main()
102 jerry_release_value (parsed_code_val); in main()
Dtest-abort.c67 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
73 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
74 res = jerry_run (parsed_code_val); in main()
79 jerry_release_value (parsed_code_val); in main()
102 parsed_code_val = jerry_parse (NULL, in main()
108 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
109 res = jerry_run (parsed_code_val); in main()
114 jerry_release_value (parsed_code_val); in main()
Dtest-api.c353 jerry_value_t parsed_code_val, proto_val, prim_val; in main() local
363 parsed_code_val = jerry_parse (NULL, in main()
368 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
370 res = jerry_run (parsed_code_val); in main()
373 jerry_release_value (parsed_code_val); in main()
897 parsed_code_val = jerry_parse (NULL, in main()
902 TEST_ASSERT (jerry_value_is_error (parsed_code_val)); in main()
903 parsed_code_val = jerry_get_value_from_error (parsed_code_val, true); in main()
904 jerry_value_t err_str_val = jerry_value_to_string (parsed_code_val); in main()
911 jerry_release_value (parsed_code_val); in main()
[all …]
Dtest-promise.c131 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
136 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
138 jerry_value_t res = jerry_run (parsed_code_val); in main()
142 jerry_release_value (parsed_code_val); in main()
Dtest-api-promise.c160 jerry_value_t parsed_code_val = jerry_parse (NULL, in test_promise_from_js() local
165 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in test_promise_from_js()
167 jerry_value_t res = jerry_run (parsed_code_val); in test_promise_from_js()
183 jerry_release_value (parsed_code_val); in test_promise_from_js()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c937 jerry_value_t parsed_code_val = jerry_parse (NULL, in main() local
942 TEST_ASSERT (!jerry_value_is_error (parsed_code_val)); in main()
944 jerry_value_t res = jerry_run (parsed_code_val); in main()
954 jerry_release_value (parsed_code_val); in main()