Home
last modified time | relevance | path

Searched refs:jerry_get_boolean_value (Results 1 – 25 of 31) sorted by relevance

12

/third_party/jerryscript/tests/unit-core/
Dtest-internal-properties.cpp120 TEST_ASSERT (jerry_value_is_boolean (has_result_1) && jerry_get_boolean_value (has_result_1));
121 TEST_ASSERT (jerry_value_is_boolean (has_result_2) && jerry_get_boolean_value (has_result_2));
122 TEST_ASSERT (jerry_value_is_boolean (has_result_3) && jerry_get_boolean_value (has_result_3));
123 TEST_ASSERT (jerry_value_is_boolean (has_result_4) && !jerry_get_boolean_value (has_result_4));
124 TEST_ASSERT (jerry_value_is_boolean (has_result_5) && !jerry_get_boolean_value (has_result_5));
125 TEST_ASSERT (jerry_value_is_boolean (has_result_6) && !jerry_get_boolean_value (has_result_6));
216 && !jerry_get_boolean_value (has_after_delete_result_1));
218 && !jerry_get_boolean_value (has_after_delete_result_2));
220 && !jerry_get_boolean_value (has_after_delete_result_3));
Dtest-symbol.cpp88 TEST_ASSERT (jerry_get_boolean_value (jerry_has_property (object, symbol_1)));
89 TEST_ASSERT (jerry_get_boolean_value (jerry_has_own_property (object, symbol_1)));
93 TEST_ASSERT (jerry_get_boolean_value (jerry_has_property (object, symbol_2)));
94 TEST_ASSERT (jerry_get_boolean_value (jerry_has_own_property (object, symbol_2)));
106 TEST_ASSERT (!jerry_get_boolean_value (jerry_has_property (object, symbol_1)));
107 TEST_ASSERT (!jerry_get_boolean_value (jerry_has_own_property (object, symbol_1)));
139 TEST_ASSERT (jerry_get_boolean_value (jerry_define_own_property (object, symbol_2, &prop_desc)));
Dtest-container.cpp84 TEST_ASSERT (jerry_get_boolean_value (instance_check));
92 TEST_ASSERT (jerry_get_boolean_value (instance_check));
100 TEST_ASSERT (jerry_get_boolean_value (instance_check));
108 TEST_ASSERT (jerry_get_boolean_value (instance_check));
Dtest-typedarray.cpp63 && jerry_get_boolean_value (args_p[0])) in assert_handler()
189 TEST_ASSERT (jerry_get_boolean_value (set_result)); in test_property_by_index()
210 TEST_ASSERT (jerry_get_boolean_value (set_result)); in test_property_by_index()
227 TEST_ASSERT (jerry_get_boolean_value (set_inf)); in test_property_by_index()
248 TEST_ASSERT (jerry_get_boolean_value (set_result)); in test_property_by_index()
298 TEST_ASSERT (jerry_get_boolean_value (is_detachable)); in test_detached_arraybuffer()
327 TEST_ASSERT (jerry_get_boolean_value (is_detachable)); in test_detached_arraybuffer()
Dtest-api.cpp155 TEST_ASSERT (jerry_get_boolean_value (args_p[0]) == true); in handler_construct()
160 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in handler_construct()
248 TEST_ASSERT (jerry_get_boolean_value (value) == false); in foreach()
446 TEST_ASSERT (jerry_get_boolean_value (res));
478 TEST_ASSERT (jerry_get_boolean_value (res));
535 TEST_ASSERT (jerry_get_boolean_value (res));
560 TEST_ASSERT (jerry_get_boolean_value (res));
573 && jerry_get_boolean_value (val_value_field));
602 TEST_ASSERT (jerry_get_boolean_value (res));
676 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res));
[all …]
Dtest-arraybuffer.cpp52 && jerry_get_boolean_value (args_p[0])) in assert_handler()
314 TEST_ASSERT (jerry_get_boolean_value (is_detachable));
325 TEST_ASSERT (!jerry_get_boolean_value (is_detachable));
343 TEST_ASSERT (jerry_get_boolean_value (is_detachable));
354 TEST_ASSERT (!jerry_get_boolean_value (is_detachable));
Dtest-objects-foreach.cpp172 bool has_property = (!jerry_value_is_error (result) && jerry_get_boolean_value (result)); in find_test_object_by_property()
238 …TEST_ASSERT (jerry_value_is_boolean (strict_equal_result) && jerry_get_boolean_value (strict_equal…
263 …TEST_ASSERT (jerry_value_is_boolean (strict_equal_result) && jerry_get_boolean_value (strict_equal…
Dtest-api-property.cpp77 TEST_ASSERT (jerry_get_boolean_value (res));
117 TEST_ASSERT (jerry_get_boolean_value (res));
Dtest-native-instanceof.cpp55 TEST_ASSERT (jerry_get_boolean_value (result)); in test_instanceof()
Dtest-has-property.cpp27 TEST_ASSERT (jerry_get_boolean_value (result) == expected); in assert_boolean_and_release()
Dtest-regression-3588.cpp83 TEST_ASSERT (jerry_get_boolean_value (result_val) == true);
Dtest-promise.cpp86 && jerry_get_boolean_value (args_p[0])) in assert_handler()
Dtest-api-binary-operations-instanceof.cpp105 TEST_ASSERT (jerry_get_boolean_value (result) == bool_tests[idx].expected);
Dtest-api-promise.cpp42 …TEST_ASSERT (jerry_value_is_boolean (set_result) && (jerry_get_boolean_value (set_result) == true)… in test_promise_resolve_success()
Dtest-proxy.cpp127 TEST_ASSERT (jerry_get_boolean_value (result_val)); in set_property()
Dtest-api-strings.cpp33 bool is_strict_equal = jerry_get_boolean_value (res); in strict_equals()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-method-register.c108 TEST_ASSERT (jerry_get_boolean_value (result) == true); in test_simple_registration()
116 TEST_ASSERT (jerry_get_boolean_value (result) == true); in test_simple_registration()
124 TEST_ASSERT (jerry_get_boolean_value (result) == true); in test_simple_registration()
132 TEST_ASSERT (jerry_get_boolean_value (result) == false); in test_simple_registration()
255 TEST_ASSERT (jerry_get_boolean_value (prop_ok_exists) == true); in test_error_multiple_functions()
286 TEST_ASSERT (jerry_get_boolean_value (prop_err_exists) == true); in test_error_multiple_functions()
297 TEST_ASSERT (jerry_get_boolean_value (prop_not_exists) == false); in test_error_multiple_functions()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-assert.c42 && jerry_get_boolean_value (args_p[0])) in jerryx_handler_assert_fatal()
113 && jerry_get_boolean_value (args_p[0])) in jerryx_handler_assert_throw()
Dhandler-register.c188 has_property = jerry_get_boolean_value (has_prop_val); in jerryx_has_property_str()
/third_party/jerryscript/tests/unit-ext/module/
Djerry-module-test.c217 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in main()
226 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in main()
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/
DI2C-js.cpp133 repeated = jerry_get_boolean_value(args[3]); in DECLARE_CLASS_FUNCTION()
225 bool repeated = args_count == 4 && jerry_get_boolean_value(args[3]); in DECLARE_CLASS_FUNCTION()
/third_party/jerryscript/targets/particle/source/
Dmain.cpp37 bool value = jerry_get_boolean_value (args_p[1]); in set_led()
/third_party/jerryscript/targets/esp8266/user/
Djerry_extapi.c40 && jerry_get_boolean_value (args_p[0])) in DELCARE_HANDLER()
/third_party/jerryscript/jerry-ext/module/
Dmodule.c129 bool has_property = jerry_get_boolean_value (js_has_property); in jerryx_module_check_cache()
/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c231 *dest = jerry_get_boolean_value (js_arg); in JERRYX_ARG_TRANSFORM_FUNC_FOR_INT()

12