Home
last modified time | relevance | path

Searched +defs:val +defs:callback (Results 51 – 75 of 97) sorted by relevance

1234

/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_utils.cpp47 napi_value callback = nullptr; in InvokeJSAsyncMethod() local
212 double CameraNapiUtils::FloatToDouble(float val) in FloatToDouble()
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.cpp174 int32_t val = 0; in ConfigureSurface() local
260 double val = 0; in Configure() local
528 int32_t val = 0; in SetSurfaceParameter() local
1441 int32_t FCodec::SetCallback(const std::shared_ptr<MediaCodecCallback> &callback) in SetCallback()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_relational_sync_test.cpp125 Value val; in FakeOldVersionDB() local
602 std::string val; in CheckSyncData() local
935 DataValue val; variable
1128 …auto callback = [&cv, &dataMutex, &finish, &status](const std::map<std::string, SyncProcess> &proc… in __anonf1fa0da12902() variable
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dability.cpp1260 int val = 0; in ParseIntValue() local
1272 double val = 0.0; in ParseDoubleValue() local
1284 std::string val = ""; in ParseStringValue() local
1296 std::vector<uint8_t> val; in ParseBlobValue() local
1308 bool val = false; in ParseBoolValue() local
1420 auto callback = resultCallbacks_.find(requestCode); in OnFeatureAbilityResult() local
/ohos5.0/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/effect_kit/src/
H A Dfilter_napi.cpp53 napi_ref callback; // callback member
103 napi_value callback = nullptr; in FilterAsyncCommonComplete() local
588 static uint32_t ParseColorMatrix(napi_env env, napi_value val, PixelColorMatrix &colorMatrix) in ParseColorMatrix()
/ohos5.0/base/useriam/face_auth/test/fuzztest/faceauthallinoneexecutorhdi_fuzzer/
H A Dface_auth_all_in_one_executor_hdi_fuzzer.cpp235 void FillFuzzIExecuteCallback(Parcel &parcel, std::shared_ptr<UserAuth::IExecuteCallback> &callback) in FillFuzzIExecuteCallback()
251 for (const auto &val : vals) { in FillFuzzAttributeKeyVector() local
/ohos5.0/base/useriam/fingerprint_auth/test/fuzztest/fingerprintauthallinoneexecutorhdi_fuzzer/
H A Dfingerprint_auth_all_in_one_executor_hdi_fuzzer.cpp232 void FillFuzzIExecuteCallback(Parcel &parcel, std::shared_ptr<UserAuth::IExecuteCallback> &callback) in FillFuzzIExecuteCallback()
248 for (const auto &val : vals) { in FillFuzzAttributeKeyVector() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_bindings.inl92 void JsiClass<C>::CustomMethod(const char* name, FunctionCallback callback)
176 void JsiClass<C>::CustomStaticMethod(const char* name, FunctionCallback callback)
185 void JsiClass<C>::StaticConstant(const char* name, T val)
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_search_bridge.cpp1079 std::function<void(bool)> callback = [vm, frameNode, in SetOnEditChange() local
1161 std::function<void(const std::string&)> callback = [vm, frameNode, in SetOnCopy() local
1198 std::function<void(const std::string&)> callback = [vm, frameNode, in SetOnCut() local
1236 func = panda::CopyableGlobal(vm, func)](const std::string& val, NG::TextCommonEvent& info) { in SetOnPaste()
1278 std::function<void(const std::string&, PreviewText&)> callback = [vm, frameNode, in SetOnChange() local
1320 std::function<void(int32_t, int32_t)> callback = [vm, frameNode, in SetOnTextSelectionChange() local
1359 std::function<void(float, float)> callback = [vm, frameNode, in SetOnContentScroll() local
1437 std::function<bool(const InsertValueInfo&)> callback = [vm, frameNode, in SetOnWillInsert() local
1482 std::function<void(const InsertValueInfo&)> callback = [vm, frameNode, in SetOnDidInsert() local
1523 std::function<bool(const DeleteValueInfo&)> callback = [vm, frameNode, in SetOnWillDelete() local
[all …]
H A Darkts_native_text_area_bridge.cpp1117 std::function<void(const std::string&)> callback = [vm, frameNode, in SetInputFilter() local
1156 std::function<void(int32_t, int32_t)> callback = [vm, frameNode, in SetOnTextSelectionChange() local
1195 std::function<void(float, float)> callback = [vm, frameNode, in SetOnContentScroll() local
1233 std::function<void(bool)> callback = [vm, frameNode, in SetOnEditChange() local
1271 std::function<void(const std::string&)> callback = [vm, frameNode, in SetOnCopy() local
1308 std::function<void(const std::string&)> callback = [vm, frameNode, in SetOnCut() local
1346 func = panda::CopyableGlobal(vm, func)](const std::string& val, NG::TextCommonEvent& info) { in SetOnPaste()
1827 std::function<bool(const InsertValueInfo&)> callback = [vm, frameNode, in SetOnWillInsert() local
1872 std::function<void(const InsertValueInfo&)> callback = [vm, frameNode, in SetOnDidInsert() local
1913 std::function<bool(const DeleteValueInfo&)> callback = [vm, frameNode, in SetOnWillDelete() local
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_source_napi.cpp392 napi_value callback = nullptr; in ImageSourceCallbackRoutine() local
438 ImageSourceAsyncContext* &context, const napi_value &val) in ImageSourceCallbackWithErrorObj()
466 napi_value callback = nullptr; in ImageSourceCallbackWithErrorObj() local
1014 static bool IsSupportPixelFormat(int32_t val) in IsSupportPixelFormat()
1024 static PixelFormat ParsePixlForamt(int32_t val) in ParsePixlForamt()
1733 napi_value callback = nullptr; in ModifyImagePropertyComplete() local
1831 napi_value callback = nullptr; in GetImagePropertyComplete() local
2202 static bool isNapiTypedArray(napi_env env, napi_value val) in isNapiTypedArray()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_check_sync_test.cpp88 …auto callback = [&actualDBStatus, &cv, &dataMutex, &finish](const std::map<std::string, SyncProces… in BlockSync() local
120 …auto callback = [&last, &cv, &dataMutex, &finish](const std::map<std::string, SyncProcess> &proces… in BlockPrioritySync() local
1078 std::string val = std::get<std::string>(queryNodes[0].fieldValue[i]); in __anonc8f560be1302() local
1315 …auto callback = [&callbackCv, &callbackMutex, &finishCount](const std::map<std::string, SyncProces… in __anonc8f560be1602() variable
1380 …auto callback = [&callbackCv, &callbackMutex, &finishCount](const std::map<std::string, SyncProces… in __anonc8f560be1802() variable
1443 …auto callback = [&callbackCv, &callbackMutex, &finishCount](const std::map<std::string, SyncProces… in __anonc8f560be1a02() variable
1582 …auto callback = [&callbackCv, &callbackMutex, &finishCount](const std::map<std::string, SyncProces… in __anonc8f560be1e02() variable
2389 const auto callback = [&callCount, &callMutex]( variable
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/common/src/
H A Djs_utils.cpp318 int32_t val; in Convert2Value() local
347 bool val; in Convert2Value() local
601 napi_value callback = nullptr; in Equal() local
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/
H A Dsync_manager.cpp160 auto callback = evt.GetCallback(); in GetLockChangeHandler() local
702 …ncInfos_.Compute(queryKey, [id = syncId, startTime](auto &, std::map<SyncId, CloudSyncInfo> &val) { in UpdateStartSyncInfo()
714 …Infos_.ComputeIfPresent(queryKey, [syncId, code](auto &key, std::map<SyncId, CloudSyncInfo> &val) { in UpdateFinishSyncInfo()
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_source_napi.cpp340 static bool IsSupportPixelFormat(int32_t val) in IsSupportPixelFormat()
350 static PixelFormat ParsePixlForamt(int32_t val) in ParsePixlForamt()
459 napi_value callback = nullptr; in ImageSourceCallbackRoutine() local
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account_common.cpp234 AppAccountManagerCallback::AppAccountManagerCallback(napi_env env, JSAuthCallback callback) in AppAccountManagerCallback()
474 void GetAuthenticatorCallbackForResult(napi_env env, sptr<IRemoteObject> callback, napi_value *resu… in GetAuthenticatorCallbackForResult()
595 JSAuthCallback callback; in ParseContextForAuth() local
628 JSAuthCallback callback; in ParseContextForAuthenticate() local
1097 bool ParseJSAuthCallback(napi_env env, napi_value object, JSAuthCallback &callback) in ParseJSAuthCallback()
1299 napi_env env, JSAuthCallback &callback, int32_t resultCode, const AAFwk::WantParams &result) in ProcessOnResultCallback()
1350 napi_value val = nullptr; in ParseCreateAccountOptions() local
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Dmeta_file_clouddisk_mock.cpp138 …t CloudDiskMetaFile::DoLookupAndUpdate(const std::string &name, CloudDiskMetaFileCallBack callback) in DoLookupAndUpdate()
146 …t32_t CloudDiskMetaFile::DoChildUpdate(const std::string &name, CloudDiskMetaFileCallBack callback) in DoChildUpdate()
180 uint32_t val = pad; in Str2HashBuf() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_tabs.cpp228 JSRef<JSVal> val = obj->GetProperty("barPosition"); in Create() local
635 auto callback = [execCtx = info.GetExecutionContext(), func = std::move(handler)] in SetOnContentWillChange() local
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp453 auto callback = reinterpret_cast<NapiNativeCallback>(cb); in napi_create_function() local
783 Local<panda::JSValueRef> val = LocalValueFromJsValue(value); in napi_coerce_to_bool() local
841 Local<panda::JSValueRef> val = obj->GetPrototype(vm); in napi_get_prototype() local
1392 auto callback = reinterpret_cast<NapiNativeCallback>(constructor); in napi_define_class() local
1431 auto callback = reinterpret_cast<NapiNativeCallback>(constructor); in napi_define_sendable_class() local
1810 auto callback = reinterpret_cast<NapiNativeFinalize>(finalize_cb); in napi_wrap() local
1856 auto callback = reinterpret_cast<NapiNativeFinalize>(finalize_cb); in napi_wrap_async_finalizer() local
1946 Local<panda::JSValueRef> val = nativeObject->Get(vm, key); in napi_unwrap() local
1969 Local<panda::JSValueRef> val = nativeObject->Get(vm, key); in napi_remove_wrap() local
2052 void* val = nativeObject->GetNativePointerField(vm, 0); in napi_unwrap_sendable() local
[all …]
/ohos5.0/base/telephony/core_service/frameworks/js/sim/src/
H A Dnapi_sim.cpp211 napi_value callback = nullptr; in NapiAsyncCompleteCallback() local
252 napi_value callback = nullptr; in NapiAsyncBaseCompleteCallback() local
291 napi_value val = nullptr; in IccAccountInfoConversion() local
308 napi_value val = nullptr; in PinOrPukUnlockConversion() local
328 napi_value val = nullptr; in DiallingNumbersConversion() local
339 napi_value val = nullptr; in SimAuthResultConversion() local
2078 for (const auto &val : config.configValue) { in NativeGetOperatorConfigs() local
2098 napi_value val = OperatorConfigAnalyze(env, operatorConfig->configValue.at(i)); in GetOperatorConfigsCallback() local
2153 napi_value val = IccAccountInfoConversion(env, info->vecInfo.at(i)); in GetActiveSimAccountInfoListCallback() local
2218 napi_value val = DiallingNumbersConversion(env, diallingNumbers->infoVec.at(i)); in QueryIccDiallingNumbersCallback() local
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp402 std::shared_ptr<IDeferredPhotoProcSessionCallback> callback) in CreateDeferredPhotoProcessingSession()
413 std::shared_ptr<IDeferredPhotoProcSessionCallback> callback, in CreateDeferredPhotoProcessingSession()
449 std::shared_ptr<IDeferredVideoProcSessionCallback> callback) in CreateDeferredVideoProcessingSession()
460 std::shared_ptr<IDeferredVideoProcSessionCallback> callback, in CreateDeferredVideoProcessingSession()
1025 void CameraManager::SetCallback(std::shared_ptr<CameraManagerCallback> callback) in SetCallback()
1035 std::shared_ptr<CameraManagerCallback> callback = nullptr; in GetApplicationCallback() local
1813 for (auto &val : modePhotoFormats[modeName]) { in GetSupportPhotoFormat() local
1888 void CameraManager::SetCameraServiceCallback(sptr<ICameraServiceCallback>& callback) in SetCameraServiceCallback()
1980 void CameraManager::SetTorchServiceCallback(sptr<ITorchServiceCallback>& callback) in SetTorchServiceCallback()
2006 void CameraManager::SetFoldServiceCallback(sptr<IFoldServiceCallback>& callback) in SetFoldServiceCallback()
[all …]
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.cpp249 int32_t val = 0; in ConfigureSurface() local
556 int32_t val = 0; in SetSurfaceParameter() local
1494 int32_t HevcDecoder::SetCallback(const std::shared_ptr<MediaCodecCallback> &callback) in SetCallback()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_builder_deps_mock.cpp120 int SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig()
302 int32_t LnnAsyncCallbackDelayHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, in LnnAsyncCallbackDelayHelper()
423 int32_t LnnStopConnectionFsm(LnnConnectionFsm *connFsm, LnnConnectionFsmStopCallback callback) in LnnStopConnectionFsm()
663 …thStartVerify(const AuthConnInfo *connInfo, uint32_t requestId, const AuthVerifyCallback *callback, in AuthStartVerify()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js3082 function parseWithDefaultNumber(val, defaultValue) { argument
8465 onCut(callback) { argument
8469 onCopy(callback) { argument
9437 onCopy(callback) { argument
9441 onCut(callback) { argument
11906 onCopy(callback) { argument
13143 onCopy(callback) { argument
13147 onCut(callback) { argument
14820 onCopy(callback) { argument
14824 onCut(callback) { argument
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Djs_ui_observer.cpp117 bool ParseStringFromNapi(napi_env env, napi_value val, std::string& str) in ParseStringFromNapi()
153 napi_value callback = nullptr; member
275 auto& callback = fourthArg; in ParseNavDestSwitchUnRegisterParams() local

1234