Home
last modified time | relevance | path

Searched refs:is_ok (Results 1 – 25 of 27) sorted by relevance

12

/third_party/jerryscript/tests/unit-ext/
Dtest-ext-arg.c135 jerry_value_t is_ok = jerryx_arg_transform_this_and_args (this_val, in test_validator1_handler() local
143 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
151 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
159 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator1_handler()
167 TEST_ASSERT (jerry_value_is_error (is_ok)); in test_validator1_handler()
170 jerry_release_value (is_ok); in test_validator1_handler()
230 jerry_value_t is_ok = jerryx_arg_transform_this_and_args (this_val, in test_validator2_handler() local
238 TEST_ASSERT (!jerry_value_is_error (is_ok)); in test_validator2_handler()
244 TEST_ASSERT (jerry_value_is_error (is_ok)); in test_validator2_handler()
247 jerry_release_value (is_ok); in test_validator2_handler()
[all …]
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-library-registry/source/
Dwrap_tools.cpp24 bool is_ok = true; in jsmbed_wrap_register_global_function() local
28 is_ok = false; in jsmbed_wrap_register_global_function()
32 return is_ok; in jsmbed_wrap_register_global_function()
36 is_ok = false; in jsmbed_wrap_register_global_function()
40 return is_ok; in jsmbed_wrap_register_global_function()
49 is_ok = false; in jsmbed_wrap_register_global_function()
58 return is_ok; in jsmbed_wrap_register_global_function()
/third_party/skia/third_party/externals/brotli/c/tools/
Dbrotli.c753 BROTLI_BOOL is_ok = OpenInputFile(context->current_input_path, &context->fin); in OpenFiles() local
754 if (!context->test_integrity && is_ok) { in OpenFiles()
755 is_ok = OpenOutputFile( in OpenFiles()
758 return is_ok; in OpenFiles()
762 BROTLI_BOOL is_ok = BROTLI_TRUE; in CloseFiles() local
772 is_ok = BROTLI_FALSE; in CloseFiles()
776 if (success && is_ok && context->copy_stat) { in CloseFiles()
783 if (is_ok) { in CloseFiles()
787 is_ok = BROTLI_FALSE; in CloseFiles()
797 return is_ok; in CloseFiles()
[all …]
/third_party/jerryscript/tests/unit-core/
Dtest-api-property.c56 bool is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main() local
57 TEST_ASSERT (is_ok); in main()
78 is_ok = jerry_get_own_property_descriptor (proxy, prop_name, &prop_desc); in main()
79 TEST_ASSERT (!is_ok); in main()
94 is_ok = jerry_get_own_property_descriptor (global_obj_val, prop_name, &prop_desc); in main()
95 TEST_ASSERT (is_ok); in main()
Dtest-api.c169 …bool is_ok = jerry_get_object_native_pointer (this_val, &ptr, &JERRY_NATIVE_HANDLE_INFO_FOR_CTYPE … in handler_construct() local
170 TEST_ASSERT (is_ok in handler_construct()
179is_ok = jerry_get_object_native_pointer (this_val, &ptr, &JERRY_NATIVE_HANDLE_INFO_FOR_CTYPE (bind… in handler_construct()
180 TEST_ASSERT (is_ok in handler_construct()
184is_ok = jerry_get_object_native_pointer (this_val, &ptr, &JERRY_NATIVE_HANDLE_INFO_FOR_CTYPE (bind… in handler_construct()
185 TEST_ASSERT (is_ok in handler_construct()
345 bool is_ok; in main() local
358 is_ok = test_run_simple ("throw 'Hello World';"); in main()
359 TEST_ASSERT (!is_ok); in main()
443 is_ok = jerry_value_is_constructor (val_A); in main()
[all …]
/third_party/boost/libs/geometry/test/core/
Dassert.cpp53 bool is_ok(assert_failure_exception const& ) { return true; } in is_ok() function
60 BOOST_CHECK_EXCEPTION(fun1(a == 2), assert_failure_exception, is_ok); in test_main()
62 BOOST_CHECK_EXCEPTION(fun2(a == 2), assert_failure_exception, is_ok); in test_main()
/third_party/jerryscript/tools/
Dcheck-license.py72 is_ok = True
84 is_ok = False
86 if not is_ok:
/third_party/boost/boost/lexical_cast/detail/
Dconverter_numeric.hpp49 static inline source_type nearbyint(argument_type s, bool& is_ok) BOOST_NOEXCEPT { in nearbyint()
51 if (near_int && is_ok) { in nearbyint()
55 is_ok = !((orig_div_round > 1 ? orig_div_round - 1 : 1 - orig_div_round) > eps); in nearbyint()
/third_party/grpc/src/core/tsi/alts/handshaker/
Dalts_handshaker_client.h159 bool is_ok);
Dalts_handshaker_client.cc195 bool is_ok) { in alts_handshaker_client_handle_response() argument
221 if (!is_ok || status != GRPC_STATUS_OK) { in alts_handshaker_client_handle_response()
/third_party/jerryscript/jerry-ext/arg/
Darg-transform-functions.c460 bool is_ok = jerry_get_object_native_pointer (js_arg, ptr_p, expected_info_p); in jerryx_arg_transform_native_pointer() local
462 if (!is_ok) in jerryx_arg_transform_native_pointer()
/third_party/python/Lib/test/
Dtest_signal.py1265 is_ok = False
1267 nonlocal is_ok
1268 is_ok = True
1273 self.assertTrue(is_ok)
/third_party/node/test/js-native-api/test_general/
Dtest_general.c90 bool is_ok = error_info->error_code == napi_ok; in testNapiErrorCleanup() local
91 NAPI_CALL(env, napi_get_boolean(env, is_ok, &result)); in testNapiErrorCleanup()
/third_party/flutter/skia/third_party/externals/wuffs/std/zlib/
Ddecode_zlib.wuffs75 if status.is_ok() {
/third_party/boost/boost/stacktrace/detail/
Dframe_msvc.ipp265 const bool is_ok = (S_OK == idebug_->GetLineByOffset(
274 return (is_ok ? result : 0);
/third_party/flutter/skia/third_party/externals/wuffs/std/gzip/
Ddecode_gzip.wuffs121 if status.is_ok() {
/third_party/grpc/src/python/grpcio/grpc/aio/
D_call.py503 if self._cython_call.is_ok():
586 if self._cython_call.is_ok():
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/
D_call.py504 if self._cython_call.is_ok():
587 if self._cython_call.is_ok():
/third_party/boost/boost/geometry/srs/projections/impl/
Dpj_param.hpp188 static const bool is_ok = boost::is_convertible<Name, std::string>::value in check_name() local
192 BOOST_MPL_ASSERT_MSG((is_ok), INVALID_ARGUMENT, (Name)); in check_name()
/third_party/jerryscript/docs/
D16.MIGRATION-GUIDE.md587 bool is_ok = jerry_get_object_native_handle (this_val, &ptr);
588 if (is_ok)
D02.API-REFERENCE.md3428 jerry_value_t is_ok = jerry_resolve_or_reject_promise (promise,
3431 // 'is_ok' should be checked if it is an error or not.
3433 jerry_release_value (is_ok);
3498 jerry_value_t is_ok = jerry_resolve_or_reject_promise (promise,
3501 // 'is_ok' should be checked if it is an error or not.
3503 jerry_release_value (is_ok);
3563 jerry_value_t is_ok = jerry_resolve_or_reject_promise (promise,
3567 if (jerry_value_is_error (is_ok))
3572 jerry_release_value (is_ok);
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dcall.pyx.pxi253 def is_ok(self): member in _AioCall
/third_party/node/tools/inspector_protocol/lib/
Dencoding_h.template165 // |error| must be an eror, as in, |error.is_ok()| can't be true.
/third_party/flutter/skia/third_party/externals/wuffs/std/gif/
Ddecode_gif.wuffs950 if not status.is_ok() {
1056 if lzw_status.is_ok() {
/third_party/flutter/skia/third_party/externals/wuffs/std/deflate/
Ddecode_deflate.wuffs229 if not status.is_ok() {

12