Home
last modified time | relevance | path

Searched refs:jerry_value_is_boolean (Results 1 - 22 of 22) sorted by relevance

/third_party/jerryscript/tests/unit-core/
H A Dtest-internal-properties.cpp120 TEST_ASSERT (jerry_value_is_boolean (has_result_1) && jerry_get_boolean_value (has_result_1)); in HWTEST_F()
121 TEST_ASSERT (jerry_value_is_boolean (has_result_2) && jerry_get_boolean_value (has_result_2)); in HWTEST_F()
122 TEST_ASSERT (jerry_value_is_boolean (has_result_3) && jerry_get_boolean_value (has_result_3)); in HWTEST_F()
123 TEST_ASSERT (jerry_value_is_boolean (has_result_4) && !jerry_get_boolean_value (has_result_4)); in HWTEST_F()
124 TEST_ASSERT (jerry_value_is_boolean (has_result_5) && !jerry_get_boolean_value (has_result_5)); in HWTEST_F()
125 TEST_ASSERT (jerry_value_is_boolean (has_result_6) && !jerry_get_boolean_value (has_result_6)); in HWTEST_F()
215 TEST_ASSERT (jerry_value_is_boolean (has_after_delete_result_1) in HWTEST_F()
217 TEST_ASSERT (jerry_value_is_boolean (has_after_delete_result_2) in HWTEST_F()
219 TEST_ASSERT (jerry_value_is_boolean (has_after_delete_result_3) in HWTEST_F()
H A Dtest-typedarray.cpp62 if (jerry_value_is_boolean (args_p[0]) in assert_handler()
188 TEST_ASSERT (jerry_value_is_boolean (set_result)); in test_property_by_index()
209 TEST_ASSERT (jerry_value_is_boolean (set_result)); in test_property_by_index()
226 TEST_ASSERT (jerry_value_is_boolean (set_inf)); in test_property_by_index()
247 TEST_ASSERT (jerry_value_is_boolean (set_result)); in test_property_by_index()
H A Dtest-api-property.cpp76 TEST_ASSERT (jerry_value_is_boolean (res)); in HWTEST_F()
116 TEST_ASSERT (jerry_value_is_boolean (res)); in HWTEST_F()
H A Dtest-api.cpp89 TEST_ASSERT (jerry_value_is_boolean (args_p[1])); in handler()
154 TEST_ASSERT (jerry_value_is_boolean (args_p[0])); in handler_construct()
160 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in handler_construct()
247 TEST_ASSERT (jerry_value_is_boolean (value)); in foreach()
572 TEST_ASSERT (jerry_value_is_boolean (val_value_field) in HWTEST_F()
676 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in HWTEST_F()
744 TEST_ASSERT (jerry_value_is_boolean (res)); in HWTEST_F()
751 TEST_ASSERT (jerry_value_is_boolean (res)); in HWTEST_F()
1026 TEST_ASSERT (jerry_value_is_boolean (res)); in HWTEST_F()
1072 TEST_ASSERT (jerry_value_is_boolean (re in HWTEST_F()
[all...]
H A Dtest-objects-foreach.cpp238 TEST_ASSERT (jerry_value_is_boolean (strict_equal_result) && jerry_get_boolean_value (strict_equal_result)); in HWTEST_F()
263 TEST_ASSERT (jerry_value_is_boolean (strict_equal_result) && jerry_get_boolean_value (strict_equal_result)); in HWTEST_F()
H A Dtest-symbol.cpp87 TEST_ASSERT (jerry_value_is_boolean (result_val)); in HWTEST_F()
92 TEST_ASSERT (jerry_value_is_boolean (result_val)); in HWTEST_F()
H A Dtest-native-instanceof.cpp53 TEST_ASSERT (jerry_value_is_boolean (result)); in test_instanceof()
H A Dtest-has-property.cpp26 TEST_ASSERT (jerry_value_is_boolean (result)); in assert_boolean_and_release()
H A Dtest-arraybuffer.cpp33 TEST_ASSERT (jerry_value_is_boolean (result_val)); in register_js_value()
51 && jerry_value_is_boolean (args_p[0]) in assert_handler()
H A Dtest-promise.cpp85 && jerry_value_is_boolean (args_p[0]) in assert_handler()
H A Dtest-api-promise.cpp42 TEST_ASSERT (jerry_value_is_boolean (set_result) && (jerry_get_boolean_value (set_result) == true)); in test_promise_resolve_success()
H A Dtest-proxy.cpp126 TEST_ASSERT (jerry_value_is_boolean (result_val)); in set_property()
H A Dtest-api-strings.cpp32 TEST_ASSERT (jerry_value_is_boolean (res)); in strict_equals()
H A Dtest-api-binary-operations-arithmetics.cpp259 TEST_ASSERT (jerry_value_is_boolean (equals) && jerry_get_boolean_value (equals)); in HWTEST_F()
/third_party/jerryscript/tests/unit-ext/
H A 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/
H A 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()
H A Dhandler-register.c85 if (!jerry_value_is_boolean (result)) in jerryx_set_properties()
/third_party/jerryscript/tests/unit-ext/module/
H A 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/
H A Djerry_extapi.c39 && jerry_value_is_boolean (args_p[0]) in DELCARE_HANDLER()
/third_party/jerryscript/jerry-ext/arg/
H A Darg-transform-functions.c224 if (!jerry_value_is_boolean (js_arg)) in JERRYX_ARG_TRANSFORM_FUNC_FOR_INT()
/third_party/jerryscript/jerry-core/include/
H A Djerryscript-core.h385 bool jerry_value_is_boolean (const jerry_value_t value);
/third_party/jerryscript/jerry-core/api/
H A Djerry.c735 jerry_value_is_boolean (const jerry_value_t value) /**< api value */ in jerry_value_is_boolean() function
740 } /* jerry_value_is_boolean */ in jerry_value_is_boolean()

Completed in 28 milliseconds