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.c92 TEST_ASSERT (jerry_value_is_boolean (has_result_1) && jerry_get_boolean_value (has_result_1)); in main()
93 TEST_ASSERT (jerry_value_is_boolean (has_result_2) && jerry_get_boolean_value (has_result_2)); in main()
94 TEST_ASSERT (jerry_value_is_boolean (has_result_3) && jerry_get_boolean_value (has_result_3)); in main()
95 TEST_ASSERT (jerry_value_is_boolean (has_result_4) && !jerry_get_boolean_value (has_result_4)); in main()
96 TEST_ASSERT (jerry_value_is_boolean (has_result_5) && !jerry_get_boolean_value (has_result_5)); in main()
97 TEST_ASSERT (jerry_value_is_boolean (has_result_6) && !jerry_get_boolean_value (has_result_6)); in main()
188 && !jerry_get_boolean_value (has_after_delete_result_1)); in main()
190 && !jerry_get_boolean_value (has_after_delete_result_2)); in main()
192 && !jerry_get_boolean_value (has_after_delete_result_3)); in main()
Dtest-symbol.c64 TEST_ASSERT (jerry_get_boolean_value (jerry_has_property (object, symbol_1))); in main()
65 TEST_ASSERT (jerry_get_boolean_value (jerry_has_own_property (object, symbol_1))); in main()
69 TEST_ASSERT (jerry_get_boolean_value (jerry_has_property (object, symbol_2))); in main()
70 TEST_ASSERT (jerry_get_boolean_value (jerry_has_own_property (object, symbol_2))); in main()
82 TEST_ASSERT (!jerry_get_boolean_value (jerry_has_property (object, symbol_1))); in main()
83 TEST_ASSERT (!jerry_get_boolean_value (jerry_has_own_property (object, symbol_1))); in main()
115 TEST_ASSERT (jerry_get_boolean_value (jerry_define_own_property (object, symbol_2, &prop_desc))); in main()
Dtest-container.c55 TEST_ASSERT (jerry_get_boolean_value (instance_check)); in main()
63 TEST_ASSERT (jerry_get_boolean_value (instance_check)); in main()
71 TEST_ASSERT (jerry_get_boolean_value (instance_check)); in main()
79 TEST_ASSERT (jerry_get_boolean_value (instance_check)); in main()
Dtest-api.c153 TEST_ASSERT (jerry_get_boolean_value (args_p[0]) == true); in handler_construct()
158 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in handler_construct()
246 TEST_ASSERT (jerry_get_boolean_value (value) == false); in foreach()
421 TEST_ASSERT (jerry_get_boolean_value (res)); in main()
453 TEST_ASSERT (jerry_get_boolean_value (res)); in main()
510 TEST_ASSERT (jerry_get_boolean_value (res)); in main()
535 TEST_ASSERT (jerry_get_boolean_value (res)); in main()
548 && jerry_get_boolean_value (val_value_field)); in main()
577 TEST_ASSERT (jerry_get_boolean_value (res)); in main()
651 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in main()
[all …]
Dtest-typedarray.c62 && jerry_get_boolean_value (args_p[0])) in assert_handler()
321 TEST_ASSERT (jerry_get_boolean_value (set_result)); in test_property_by_index()
342 TEST_ASSERT (jerry_get_boolean_value (set_result)); in test_property_by_index()
359 TEST_ASSERT (jerry_get_boolean_value (set_inf)); in test_property_by_index()
380 TEST_ASSERT (jerry_get_boolean_value (set_result)); in test_property_by_index()
430 TEST_ASSERT (jerry_get_boolean_value (is_detachable)); in test_detached_arraybuffer()
459 TEST_ASSERT (jerry_get_boolean_value (is_detachable)); in test_detached_arraybuffer()
Dtest-objects-foreach.c169 bool has_property = (!jerry_value_is_error (result) && jerry_get_boolean_value (result)); in find_test_object_by_property()
212 …TEST_ASSERT (jerry_value_is_boolean (strict_equal_result) && jerry_get_boolean_value (strict_equal… in main()
237 …TEST_ASSERT (jerry_value_is_boolean (strict_equal_result) && jerry_get_boolean_value (strict_equal… in main()
Dtest-arraybuffer.c51 && jerry_get_boolean_value (args_p[0])) in assert_handler()
377 TEST_ASSERT (!jerry_get_boolean_value (is_detachable)); in main()
397 TEST_ASSERT (jerry_get_boolean_value (is_detachable)); in main()
405 TEST_ASSERT (!jerry_get_boolean_value (is_detachable)); in main()
Dtest-api-property.c51 TEST_ASSERT (jerry_get_boolean_value (res)); in main()
91 TEST_ASSERT (jerry_get_boolean_value (res)); in main()
Dtest-has-property.c24 TEST_ASSERT (jerry_get_boolean_value (result) == expected); in assert_boolean_and_release()
Dtest-native-instanceof.c52 TEST_ASSERT (jerry_get_boolean_value (result)); in test_instanceof()
Dtest-regression-3588.c58 TEST_ASSERT (jerry_get_boolean_value (result_val) == true); in main()
Dtest-promise.c85 && jerry_get_boolean_value (args_p[0])) in assert_handler()
Dtest-api-binary-operations-instanceof.c78 TEST_ASSERT (jerry_get_boolean_value (result) == bool_tests[idx].expected); in main()
Dtest-proxy.c125 TEST_ASSERT (jerry_get_boolean_value (result_val)); in set_property()
Dtest-api-promise.c41 …TEST_ASSERT (jerry_value_is_boolean (set_result) && (jerry_get_boolean_value (set_result) == true)… in test_promise_resolve_success()
Dtest-api-strings.c31 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