Home
last modified time | relevance | path

Searched refs:jerry_value_is_boolean (Results 1 – 24 of 24) sorted by relevance

/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()
187 TEST_ASSERT (jerry_value_is_boolean (has_after_delete_result_1) in main()
189 TEST_ASSERT (jerry_value_is_boolean (has_after_delete_result_2) in main()
191 TEST_ASSERT (jerry_value_is_boolean (has_after_delete_result_3) in main()
Dtest-api.c87 TEST_ASSERT (jerry_value_is_boolean (args_p[1])); in handler()
152 TEST_ASSERT (jerry_value_is_boolean (args_p[0])); in handler_construct()
158 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in handler_construct()
245 TEST_ASSERT (jerry_value_is_boolean (value)); in foreach()
547 TEST_ASSERT (jerry_value_is_boolean (val_value_field) in main()
651 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in main()
719 TEST_ASSERT (jerry_value_is_boolean (res)); in main()
726 TEST_ASSERT (jerry_value_is_boolean (res)); in main()
1001 TEST_ASSERT (jerry_value_is_boolean (res)); in main()
1047 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in main()
Dtest-api-property.c50 TEST_ASSERT (jerry_value_is_boolean (res)); in main()
90 TEST_ASSERT (jerry_value_is_boolean (res)); in main()
Dtest-typedarray.c61 if (jerry_value_is_boolean (args_p[0]) in assert_handler()
320 TEST_ASSERT (jerry_value_is_boolean (set_result)); in test_property_by_index()
341 TEST_ASSERT (jerry_value_is_boolean (set_result)); in test_property_by_index()
358 TEST_ASSERT (jerry_value_is_boolean (set_inf)); in test_property_by_index()
379 TEST_ASSERT (jerry_value_is_boolean (set_result)); in test_property_by_index()
Dtest-objects-foreach.c212 …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-symbol.c63 TEST_ASSERT (jerry_value_is_boolean (result_val)); in main()
68 TEST_ASSERT (jerry_value_is_boolean (result_val)); in main()
Dtest-has-property.c23 TEST_ASSERT (jerry_value_is_boolean (result)); in assert_boolean_and_release()
Dtest-native-instanceof.c50 TEST_ASSERT (jerry_value_is_boolean (result)); in test_instanceof()
Dtest-arraybuffer.c32 TEST_ASSERT (jerry_value_is_boolean (result_val)); in register_js_value()
50 && jerry_value_is_boolean (args_p[0]) in assert_handler()
Dtest-promise.c84 && jerry_value_is_boolean (args_p[0]) in assert_handler()
Dtest-proxy.c124 TEST_ASSERT (jerry_value_is_boolean (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.c30 TEST_ASSERT (jerry_value_is_boolean (res)); in strict_equals()
Dtest-api-binary-operations-arithmetics.c233 TEST_ASSERT (jerry_value_is_boolean (equals) && jerry_get_boolean_value (equals)); in main()
/third_party/jerryscript/tests/unit-ext/
Dtest-ext-method-register.c53 TEST_ASSERT (jerry_value_is_boolean (return_value)); in freeze_property()
107 TEST_ASSERT (jerry_value_is_boolean (result)); in test_simple_registration()
115 TEST_ASSERT (jerry_value_is_boolean (result)); in test_simple_registration()
123 TEST_ASSERT (jerry_value_is_boolean (result)); in test_simple_registration()
131 TEST_ASSERT (jerry_value_is_boolean (result)); in test_simple_registration()
/third_party/jerryscript/jerry-ext/handler/
Dhandler-assert.c41 && jerry_value_is_boolean (args_p[0]) in jerryx_handler_assert_fatal()
112 && jerry_value_is_boolean (args_p[0]) in jerryx_handler_assert_throw()
Dhandler-register.c85 if (!jerry_value_is_boolean (result)) in jerryx_set_properties()
/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/esp8266/user/
Djerry_extapi.c39 && jerry_value_is_boolean (args_p[0]) in DELCARE_HANDLER()
/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c224 if (!jerry_value_is_boolean (js_arg)) in JERRYX_ARG_TRANSFORM_FUNC_FOR_INT()
/third_party/jerryscript/jerry-core/include/
Djerryscript-core.h385 bool jerry_value_is_boolean (const jerry_value_t value);
/third_party/jerryscript/docs/
D03.API-EXAMPLE.md618 else if (jerry_value_is_boolean (value))
712 else if (jerry_value_is_boolean (value))
D02.API-REFERENCE.md1503 ## jerry_value_is_boolean section in Checker functions
1513 jerry_value_is_boolean (const jerry_value_t value)
1528 if (jerry_value_is_boolean (value))
2657 if (jerry_value_is_boolean (value))
2672 - [jerry_value_is_boolean](#jerry_value_is_boolean)
/third_party/jerryscript/jerry-core/api/
Djerry.c735 jerry_value_is_boolean (const jerry_value_t value) /**< api value */ in jerry_value_is_boolean() function