Home
last modified time | relevance | path

Searched refs:fn (Results 1 - 25 of 43) sorted by relevance

12

/foundation/resourceschedule/ffrt/interfaces/inner_api/cpp/
H A Dthread.h29 explicit thread(const char* name, qos qos_, Fn&& fn, Args&&... args) in thread() argument
33 auto tup = new Target(std::forward<Fn>(fn), std::forward<Args>(args)...); in thread()
42 explicit thread(qos qos_, Fn&& fn, Args&&... args) in thread() argument
46 auto tup = new Target(std::forward<Fn>(fn), std::forward<Args>(args)...); in thread()
57 explicit thread(Fn&& fn, Args&& ... args) in thread() argument
61 auto tup = new Target (std::forward<Fn>(fn), std::forward<Args>(args)...); in thread()
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/include/
H A Dplatform_def.h24 #define CHECK_EXCEPT_INTR(fn) \
26 } while (((fn) == -1) && (errno == EINTR))
/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/
H A Dnetsys_sock_client.cpp41 int HookSocket(int (*fn)(int, int, int), int domain, int type, int protocol) in HookSocket() argument
44 if (fn) { in HookSocket()
45 fd = fn(domain, type, protocol); in HookSocket()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Devent_listener.h38 explicit StateChangeListener(jerry_value_t fn) in StateChangeListener() argument
39 : fn_(jerry_acquire_value(fn)), state_(false), isChanging_(false) {} in StateChangeListener()
87 explicit ValueChangeListener(jerry_value_t fn) in ValueChangeListener() argument
88 : fn_(jerry_acquire_value(fn)) {} in ValueChangeListener()
105 ViewOnClickListener(jerry_value_t vm, jerry_value_t fn, bool isStopPropagation) in ViewOnClickListener() argument
108 fn_(jerry_acquire_value(fn)), in ViewOnClickListener()
148 ViewOnLongPressListener(jerry_value_t vm, jerry_value_t fn, bool isStopPropagation) in ViewOnLongPressListener() argument
149 : vm_(jerry_acquire_value(vm)), fn_(jerry_acquire_value(fn)), isStopPropagation_(isStopPropagation) {} in ViewOnLongPressListener()
179 KeyBoardEventListener(jerry_value_t fn, const uint16_t id);
H A Devent_listener.cpp25 KeyBoardEventListener::KeyBoardEventListener(jerry_value_t fn, const uint16_t id) in KeyBoardEventListener() argument
26 : fn_ (jerry_acquire_value(fn)), id_ (id) {} in KeyBoardEventListener()
45 ViewOnTouchCancelListener::ViewOnTouchCancelListener(jerry_value_t fn, uint16_t id) in ViewOnTouchCancelListener() argument
47 fn_ = jerry_acquire_value(fn); in ViewOnTouchCancelListener()
H A Dtabs_component.h60 explicit ChangeListener(jerry_value_t fn) : fn_(jerry_acquire_value(fn)) {} in ChangeListener() argument
H A Dswiper_component.h47 explicit ChangeListener(jerry_value_t fn) : fn_(jerry_acquire_value(fn)) {} in ChangeListener() argument
H A Dimage_animator_component.h28 explicit ImageAnimatorStopListener(jerry_value_t fn) in ImageAnimatorStopListener() argument
29 : fn_(jerry_acquire_value(fn)) {} in ImageAnimatorStopListener()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dscope_guard.h25 explicit ScopeGuard(Function fn) : fn_(fn), dismissed_(false) in ScopeGuard() argument
/foundation/bundlemanager/app_domain_verify/services/include/manager/rdb/
H A Dscope_guard.h26 explicit ScopeGuard(Function fn) in ScopeGuard() argument
27 : fn_(fn), in ScopeGuard()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dnnrt_client.cpp33 void* fn = dlsym(handle, name); in LoadFunction() local
34 if (fn == nullptr) { in LoadFunction()
39 *nnrtFunction = reinterpret_cast<T>(fn); in LoadFunction()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/base/
H A Dbase_def.h67 #define CHECK_EXCEPT_INTR(fn) \
69 } while ((fn) == -1 && errno == EINTR)
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_rfcomm_connection_server.cpp23 int HfpAgRfcommConnectionServer::RegisterServer(RFCOMM_EventCallback fn) const in RegisterServer()
28 ret = RFCOMM_RegisterServer(localScn_, HFP_AG_COMMAND_MTU, HFP_RFCOMM_CONNECTION_SERVER_EVENTS, fn, nullptr); in RegisterServer()
H A Dhfp_ag_rfcomm_connection.h75 * @param fn Rfcomm callback.
77 explicit HfpAgRfcommConnection(RFCOMM_EventCallback fn) : fn_(fn) in HfpAgRfcommConnection() argument
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_hf/
H A Dhfp_hf_rfcomm_connection_server.cpp23 int HfpHfRfcommConnectionServer::RegisterServer(RFCOMM_EventCallback fn) const in RegisterServer()
28 ret = RFCOMM_RegisterServer(localScn_, HFP_HF_COMMAND_MTU, HFP_RFCOMM_CONNECTION_SERVER_EVENTS, fn, nullptr); in RegisterServer()
H A Dhfp_hf_rfcomm_connection.h75 * @param fn Rfcomm callback.
77 explicit HfpHfRfcommConnection(RFCOMM_EventCallback fn) : fn_(fn) in HfpHfRfcommConnection() argument
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_log.c50 void SetLogImpl(LogImplInternal fn) in SetLogImpl() argument
52 if (fn == NULL) { in SetLogImpl()
/foundation/ai/intelligent_voice_framework/utils/
H A Dscope_guard.h71 inline ScopeGuard<Func> operator+(ScopeGuardOnExit, Func &&fn) in operator +() argument
73 return ScopeGuard<Func>(std::forward<Func>(fn)); in operator +()
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/
H A Dnnrt_implementation.cpp36 void* fn = dlsym(handle, name); in LoadFunction() local
37 if (fn == nullptr) { in LoadFunction()
42 *nnrtFunction = reinterpret_cast<T>(fn); in LoadFunction()
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dimporter.cpp175 if (auto fn = members.FindNode("__flags")) { in AutoImportObject()
176 ImportIObjectFlags(fn, *flags); in AutoImportObject()
183 if (auto fn = members.FindNode("__attachments")) { in AutoImportObject()
184 ImportIAttach(fn, object, *attach); in AutoImportObject()
188 if (auto fn = members.FindNode("__children")) { in AutoImportObject()
189 ImportIContainer(fn, *cont); in AutoImportObject()
210 if (auto fn = members.FindNode("__properties")) { in ImportIMetadata()
212 if (auto array = interface_cast<IArrayNode>(fn)) { in ImportIMetadata()
/foundation/ability/ability_runtime/services/abilitymgr/include/rdb/
H A Dability_resident_process_rdb.h40 explicit ScopeGuard(Function fn) : fn_(fn), dismissed(false) {} in ScopeGuard() argument
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Devent_util.cpp47 if (!JSFunction::Is(params->fn)) { in CallbackExecutor()
55 JSRelease(JSFunction::Call(params->fn, params->vm, args, argsLength)); in CallbackExecutor()
136 params->fn = callback; in InvokeCallback()
H A Devent_util.h27 JSValue fn; member
/foundation/graphic/graphic_3d/3d_scene_adapter/src/
H A Dscene_adapter.cpp126 bool LoadFunc(T &fn, const char *fName, void* handle) in LoadFunc() argument
128 fn = reinterpret_cast<T>(dlsym(handle, fName)); in LoadFunc()
129 if (fn == nullptr) { in LoadFunc()
163 #define LOAD_FUNC(fn, name) LoadFunc<decltype(fn)>(fn, name, engineInstance_.libHandle_) in LoadEngineLib()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Dtest_runner.cpp128 bool LoadFunc(T &fn, const char *fName, void* handle) in LoadFunc() argument
130 fn = reinterpret_cast<T>(dlsym(handle, fName)); in LoadFunc()
131 if (fn == nullptr) { in LoadFunc()

Completed in 8 milliseconds

12