Home
last modified time | relevance | path

Searched refs:fail (Results 1 - 25 of 67) sorted by relevance

123

/foundation/multimodalinput/input/service/gesturesense_wrapper/src/
H A Dgesturesense_wrapper.cpp49 goto fail; in InitGestureSenseWrapper()
55 goto fail; in InitGestureSenseWrapper()
61 goto fail; in InitGestureSenseWrapper()
66 fail: in InitGestureSenseWrapper()
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/
H A Dability_kit.cpp20 int32_t AbilityKit::RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback fail, in RegisterReceiver() argument
23 return AbilityService::GetInstance().RegisterReceiver(bundleName, success, fail, successCallbackFunc, in RegisterReceiver()
60 int32_t RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback fail) in RegisterReceiver() argument
62 return OHOS::AbilityKit::RegisterReceiver(bundleName, success, fail, 0, 0, 0); in RegisterReceiver()
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dhttp_async_callback.cpp118 JSIValue fail = responseCallback[CB_FAIL]; in OnFail() local
119 if (fail == nullptr || JSI::ValueIsUndefined(fail) || !JSI::ValueIsFunction(fail)) { in OnFail()
126 JSI::CallFunction(fail, thisVal, argv, ARGC_TWO); in OnFail()
/foundation/communication/netmanager_base/frameworks/js/napi/network/network_exec/src/
H A Dnetwork_exec.cpp86 napi_value fail = context->GetFailCallback(); in GetTypeCallback() local
87 if (NapiUtils::GetValueType(context->GetEnv(), fail) == napi_function) { in GetTypeCallback()
92 NapiUtils::CallFunction(context->GetEnv(), NapiUtils::GetUndefined(context->GetEnv()), fail, in GetTypeCallback()
135 napi_value fail = context->GetFailCallback(); in SubscribeCallback() local
136 if (NapiUtils::GetValueType(context->GetEnv(), fail) == napi_function) { in SubscribeCallback()
141 NapiUtils::CallFunction(context->GetEnv(), NapiUtils::GetUndefined(context->GetEnv()), fail, in SubscribeCallback()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/
H A Dcommon_func.cpp34 const string fail = "fail"; in GetCallbackHandles() local
43 failProp = prop.GetProp(fail).val_; in GetCallbackHandles()
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/
H A Dapp_module.cpp170 JSIValue fail = JSI::GetNamedProperty(args[0], CB_FAIL); in OnSetActionFail() local
171 if ((!JSI::ValueIsUndefined(fail)) && JSI::ValueIsFunction(fail)) { in OnSetActionFail()
175 AsyncCallFunction(thisVal, fail, result); in OnSetActionFail()
177 JSI::ReleaseValue(fail); in OnSetActionFail()
224 // fail callback need error reason and error code in Execute()
H A Dsample_module.cpp54 JSIValue fail = JSI::GetNamedProperty(args[0], CB_FAIL); in TestStandardCallback() local
59 JSI::ReleaseValueList(success, fail, complete); in TestStandardCallback()
134 JSIValue fail = JSI::GetNamedProperty(args[0], CB_FAIL); in TestStandardCallbackWithArgs() local
149 JSI::CallFunction(fail, thisVal, argv, ARGC_ONE); in TestStandardCallbackWithArgs()
151 JSI::ReleaseValueList(success, fail, complete, result); in TestStandardCallbackWithArgs()
/foundation/multimedia/audio_framework/frameworks/js/napi/audiomanager/
H A Dnapi_audio_interrupt_manager.cpp86 goto fail; in CreateInterruptManagerWrapper()
91 goto fail; in CreateInterruptManagerWrapper()
95 fail: in CreateInterruptManagerWrapper()
114 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "napi_define_class fail"); in Init()
116 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "napi_create_reference fail"); in Init()
118 CHECK_AND_RETURN_RET_LOG(status == napi_ok, result, "napi_set_named_property fail"); in Init()
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/
H A Dhvigorw.bat37 goto fail
50 goto fail
58 :fail label
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/PathDrawingSample/
H A Dhvigorw.bat50 goto fail
63 goto fail
71 :fail label
/foundation/communication/bluetooth_service/test/example/bluetoothtest/
H A Dhvigorw.bat51 goto fail
64 goto fail
72 :fail label
/foundation/arkui/ace_engine/frameworks/core/components/camera/
H A Dcamera_component.h44 std::string fail; member
51 fail.clear(); in clear()
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/bats/
H A Ddump_event.bat34 goto fail
49 :fail label
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/
H A Dmodule_hdi_sink.c200 goto fail; in pa__init()
204 goto fail; in pa__init()
219 fail: in pa__init()
H A Dhdi_source.c829 goto fail; in PaHdiCapturerInit()
836 fail: in PaHdiCapturerInit()
1168 goto fail; in PaHdiSourceNew()
1180 goto fail; in PaHdiSourceNew()
1188 goto fail; in PaHdiSourceNew()
1193 goto fail; in PaHdiSourceNew()
1198 goto fail; in PaHdiSourceNew()
1203 fail: in PaHdiSourceNew()
/foundation/communication/wifi/wifi/application/wifi_direct_demo/
H A Dgradlew.bat50 goto fail
64 goto fail
93 :fail label
/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/async/async001/
H A Dindex.js39 fail: function(data, code) {
40 console.log('file.access fail, data: ' + data + ', code: ' + code);
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/include/
H A Dability_kit.h38 static int32_t RegisterReceiver(const char *bundleName, SuccessCallback success, FailCallback fail,
/foundation/distributeddatamgr/preferences/frameworks/js/napi/system_storage/src/
H A Dnapi_system_storage.cpp35 napi_ref fail; member
136 if (ctx->output != E_OK && ctx->fail != nullptr) { in Complete()
138 NAPI_CALL_RETURN_VOID(env, napi_get_reference_value(env, ctx->fail, &failCallBack)); in Complete()
158 napi_delete_reference(env, ctx->fail); in Complete()
196 ParseFunction(env, argv[0], "fail", context->fail); in Operate()
/foundation/communication/netstack/frameworks/js/napi/fetch/async_context/src/
H A Dfetch_context.cpp58 napi_value fail = NapiUtils::GetNamedProperty(GetEnv(), params[0], FetchConstant::PARAM_KEY_FAIL); in ParseParams() local
59 if (NapiUtils::GetValueType(GetEnv(), fail) == napi_function) { in ParseParams()
60 if (SetFailCallback(fail) != napi_ok) { in ParseParams()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp624 bool fail = false; in VerifyVersion() local
633 fail = (stringToUInt(minorS, glMinor)) ? fail : false; in VerifyVersion()
635 fail = (stringToUInt(majorS, glMajor)) ? fail : false; in VerifyVersion()
637 if (fail) { in VerifyVersion()
645 fail = true; in VerifyVersion()
649 fail = true; in VerifyVersion()
653 if (fail) { in VerifyVersion()
664 return !fail; in VerifyVersion()
[all...]
/foundation/multimedia/audio_framework/frameworks/js/napi/audiorenderer/
H A Dnapi_toneplayer.cpp154 goto fail; in CreateTonePlayerWrapper()
158 goto fail; in CreateTonePlayerWrapper()
164 goto fail; in CreateTonePlayerWrapper()
168 fail: in CreateTonePlayerWrapper()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/
H A Dexif_metadata.cpp412 IMAGE_LOGE("GetEntry entry is nullptr fail."); in GetEntry()
444 if (is.fail()) { in SetShort()
461 if (is.fail()) { in SetLong()
478 if (is.fail()) { in SetSShort()
495 if (is.fail()) { in SetSLong()
512 if (is.fail()) { in SetRational()
530 if (is.fail()) { in SetSRational()
/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/wifi_hal_module/wpa_supplicant_hal/wpa_sta_hal/
H A Dwifi_supplicant_hal.c1112 LOGE("GetChanWidthCenterFreq fail."); in GetChanWidthCenterFreq()
1212 int fail = 0; in DelScanInfoLine() local
1221 fail = 1; in DelScanInfoLine()
1230 fail = 1; in DelScanInfoLine()
1236 fail = 1; in DelScanInfoLine()
1245 fail = 1; in DelScanInfoLine()
1258 if (fail == 0 && start < length) { in DelScanInfoLine()
1260 fail = 1; in DelScanInfoLine()
1263 return fail; in DelScanInfoLine()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util.c368 LOGE("GetChanWidthCenterFreq fail."); in GetChanWidthCenterFreq()
1260 int fail = 0; in DelScanInfoLine() local
1269 fail = 1; in DelScanInfoLine()
1278 fail = 1; in DelScanInfoLine()
1284 fail = 1; in DelScanInfoLine()
1293 fail = 1; in DelScanInfoLine()
1306 if (fail == 0 && start < length) { in DelScanInfoLine()
1308 fail = 1; in DelScanInfoLine()
1311 return fail; in DelScanInfoLine()
1366 LOGE("memcpy content fail"); in GetScanResultInfoElem()
[all...]

Completed in 16 milliseconds

123