Home
last modified time | relevance | path

Searched refs:inst (Results 1 - 25 of 73) sorted by relevance

123

/foundation/resourceschedule/ffrt/src/util/
H A Dffrt_facade.h31 static ExecuteUnit& inst = Instance().GetEUInstanceImpl(); in GetEUInstance() local
32 return inst; in GetEUInstance()
37 static DependenceManager& inst = Instance().GetDMInstanceImpl(); in GetDMInstance() local
38 return inst; in GetDMInstance()
43 PollerProxy& inst = Instance().GetPPInstanceImpl(); in GetPPInstance() local
44 return inst; in GetPPInstance()
49 DelayedWorker& inst = Instance().GetDWInstanceImpl(); in GetDWInstance() local
50 return inst; in GetDWInstance()
55 FFRTScheduler* inst = Instance().GetSchedInstanceImpl(); in GetSchedInstance() local
56 return inst; in GetSchedInstance()
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dspunge_core.c47 void SpungeFreeInstanceResource(struct SpungeInstance *inst);
50 void SpungeDoRecvCycle(struct SockOsSocket *osSock, struct SpungeInstance *inst) in SpungeDoRecvCycle() argument
61 buf.p = inst->tmpBuf[0]; in SpungeDoRecvCycle()
65 FillpDoInput(&spcb->fpcb, &buf, inst); in SpungeDoRecvCycle()
111 void SpungeDoSendCycle(struct SpungePcb *pcb, struct SpungeInstance *inst, FILLP_LLONG detaTime) in SpungeDoSendCycle() argument
133 flowControl->sendTime = inst->curTime; in SpungeDoSendCycle()
263 static FILLP_INT SpungeInstMsgBoxInit(struct SpungeInstance *inst) in SpungeInstMsgBoxInit() argument
265 (void)SYS_ARCH_ATOMIC_SET(&inst->msgUsingCount, 0); in SpungeInstMsgBoxInit()
266 inst->msgBox = FillpQueueCreate("spunge_msg_box", g_spunge->resConf.maxMsgItemNum, SPUNGE_ALLOC_TYPE_MALLOC); in SpungeInstMsgBoxInit()
267 if (inst in SpungeInstMsgBoxInit()
286 SpungeInstSendInit(struct SpungeInstance *inst) SpungeInstSendInit() argument
335 SpungeInstTimerInit(struct SpungeInstance *inst) SpungeInstTimerInit() argument
349 SpungeThreadInit(struct SpungeInstance *inst) SpungeThreadInit() argument
364 SpungeInstInit(struct SpungeInstance *inst) SpungeInstInit() argument
506 SpungeFreeInstSendRecv(struct SpungeInstance *inst) SpungeFreeInstSendRecv() argument
536 SpungeFreeInstanceResource(struct SpungeInstance *inst) SpungeFreeInstanceResource() argument
574 FtGlobalTimerInit(struct SpungeInstance *inst) FtGlobalTimerInit() argument
842 SpungeDestroyInstance(struct SpungeInstance *inst) SpungeDestroyInstance() argument
894 SpungeHandleMsgCycle(struct SpungeInstance *inst) SpungeHandleMsgCycle() argument
921 SpungeLoopCheckUnsendBox(struct SpungeInstance *inst) SpungeLoopCheckUnsendBox() argument
949 SpungeDelay(struct SpungeInstance *inst, FILLP_LLONG curTime) SpungeDelay() argument
974 SpungeMainDelay(struct SpungeInstance *inst) SpungeMainDelay() argument
1001 FillpServerRecvRateAdjustment(struct SpungeInstance *inst, FILLP_UINT32 calcRecvTotalRate, FILLP_INT realRecvConn, FILLP_UINT32 *connRecvCalLimit) FillpServerRecvRateAdjustment() argument
1053 FillpServerSendRateAdjustment(struct SpungeInstance *inst, FILLP_UINT32 calcSendTotalRate, FILLP_INT realSendConn, FILLP_UINT32 *connSendCalLimit) FillpServerSendRateAdjustment() argument
1105 FillpCalculateFairness(struct SpungeInstance *inst) FillpCalculateFairness() argument
1232 struct SpungeInstance *inst = (struct SpungeInstance *)p; SpinstLoopMacTimerChecker() local
1247 struct SpungeInstance *inst = (struct SpungeInstance *)p; SpinstLoopFairnessChecker() local
1279 struct SpungeInstance *inst = (struct SpungeInstance *)stb->inst; SpungeTokenTimerCb() local
1441 SpungeInitTokenBucket(struct SpungeInstance *inst) SpungeInitTokenBucket() argument
1520 SpinstLoopCheckAlive(struct SpungeInstance *inst) SpinstLoopCheckAlive() argument
1530 SpinstLoopRecv(struct SpungeInstance *inst) SpinstLoopRecv() argument
1551 SpungeSetThreadInfo(FILLP_CONST struct SpungeInstance *inst) SpungeSetThreadInfo() argument
1581 struct SpungeInstance *inst = FILLP_NULL_PTR; SpungeInstanceMainThread() local
[all...]
H A Dpcb.c196 void SpcbAddPcbToSpinst(struct SpungeInstance *inst, struct SpungePcb *pcb) in SpcbAddPcbToSpinst() argument
198 SpinstAddToPcbList(inst, &pcb->udpNode); in SpcbAddPcbToSpinst()
201 void SpcbDeleteFromSpinst(struct SpungeInstance *inst, struct SpungePcb *pcb) in SpcbDeleteFromSpinst() argument
203 SpinstDeleteFromPcbList(inst, &pcb->udpNode); in SpcbDeleteFromSpinst()
206 struct SpungePcb *SpungePcbNew(void *argConn, struct SpungeInstance *inst) in SpungePcbNew() argument
221 pcb->fpcb.pcbInst = inst; in SpungePcbNew()
242 SpcbAddPcbToSpinst(inst, pcb); in SpungePcbNew()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/l2cap/
H A Dl2cap.c383 L2capInstance *inst = NULL; in L2CAP_RegisterEcho() local
395 inst = L2capGetInstance(); in L2CAP_RegisterEcho()
396 inst->echo.ctx = context; in L2CAP_RegisterEcho()
397 (void)memcpy_s(&(inst->echo.cb), sizeof(L2capEcho), echoCallback, sizeof(L2capEcho)); in L2CAP_RegisterEcho()
404 L2capInstance *inst = NULL; in L2CAP_DeregisterEcho() local
412 inst = L2capGetInstance(); in L2CAP_DeregisterEcho()
413 (void)memset_s(&(inst->echo), sizeof(L2capEcho), 0, sizeof(L2capEcho)); in L2CAP_DeregisterEcho()
465 L2capInstance *inst = NULL; in L2CAP_RegisterService() local
493 inst = L2capGetInstance(); in L2CAP_RegisterService()
498 ListAddFirst(inst in L2CAP_RegisterService()
505 L2capInstance *inst = NULL; L2CAP_DeregisterService() local
548 L2capInstance *inst = NULL; L2CAP_Initialize() local
572 L2capInstance *inst = NULL; L2CAP_Finalize() local
[all...]
H A Dl2cap_inst.c35 L2capInstance *inst = L2capGetInstance(); in L2capInitialized() local
37 if (inst->connList != NULL) { in L2capInitialized()
46 L2capInstance *inst = L2capGetInstance(); in L2capGetPsm() local
50 node = ListGetFirstNode(inst->psmList); in L2capGetPsm()
65 L2capInstance *inst = L2capGetInstance(); in L2capGetConnection() local
69 node = ListGetFirstNode(inst->connList); in L2capGetConnection()
84 L2capInstance *inst = L2capGetInstance(); in L2capGetConnection2() local
88 node = ListGetFirstNode(inst->connList); in L2capGetConnection2()
103 L2capInstance *inst = L2capGetInstance(); in L2capGetConnection3() local
108 node = ListGetFirstNode(inst in L2capGetConnection3()
147 L2capInstance *inst = L2capGetInstance(); L2capGetChannel2() local
177 L2capInstance *inst = L2capGetInstance(); L2capGetNewLcid() local
325 L2capInstance *inst = L2capGetInstance(); L2capDisconnectTimeout() local
387 L2capInstance *inst = L2capGetInstance(); L2capNewConnection() local
411 L2capInstance *inst = L2capGetInstance(); L2capDeleteConnection() local
[all...]
H A Dl2cap_le.c90 L2capLeInstance *inst = &g_l2capLeInst; in L2capLeInitialized() local
92 if (inst->connList != NULL) { in L2capLeInitialized()
101 L2capLeInstance *inst = &g_l2capLeInst; in L2capLeGetPsm() local
105 node = ListGetFirstNode(inst->psmList); in L2capLeGetPsm()
120 L2capLeInstance *inst = &g_l2capLeInst; in L2capLeGetConnection() local
124 node = ListGetFirstNode(inst->connList); in L2capLeGetConnection()
139 L2capLeInstance *inst = &g_l2capLeInst; in L2capLeGetConnection2() local
143 node = ListGetFirstNode(inst->connList); in L2capLeGetConnection2()
176 L2capLeInstance *inst = &g_l2capLeInst; in L2capLeGetChannel2() local
179 node = ListGetFirstNode(inst in L2capLeGetChannel2()
224 L2capLeInstance *inst = &g_l2capLeInst; L2capLeGetNewLcid() local
319 L2capLeInstance *inst = &g_l2capLeInst; L2capLeNewConnection() local
340 L2capLeInstance *inst = &g_l2capLeInst; L2capLeDeleteConnection() local
392 L2capLeInstance *inst = &g_l2capLeInst; L2capLeResponseTimeout() local
641 L2capLeInstance *inst = &g_l2capLeInst; L2capLeProcessConnectionParameterUpdateReq() local
674 L2capLeInstance *inst = &g_l2capLeInst; L2capLeProcessConnectionParameterUpdateRsp() local
1003 L2capLeInstance *inst = &g_l2capLeInst; L2capLeProcessFixChannelData() local
1144 L2capLeInstance *inst = &g_l2capLeInst; L2capLeAclDisconnectProcess() local
1186 L2capLeInstance *inst = &g_l2capLeInst; L2capLeConnectComplete() local
1458 L2capLeInstance *inst = &g_l2capLeInst; L2CAP_LeRegisterService() local
1496 L2capLeInstance *inst = &g_l2capLeInst; L2CAP_LeDeregisterService() local
1539 L2capLeInstance *inst = &g_l2capLeInst; L2CAP_LeRegisterFixChannel() local
1564 L2capLeInstance *inst = &g_l2capLeInst; L2CAP_LeDeregisterFixChannel() local
1658 L2capLeInstance *inst = &g_l2capLeInst; L2CAP_LeRegisterConnectionParameterUpdate() local
1681 L2capLeInstance *inst = &g_l2capLeInst; L2CAP_LeDeregisterConnectionParameterUpdate() local
1783 L2capLeInstance *inst = &g_l2capLeInst; L2CAP_LeInitialize() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dspunge_core.h70 FILLP_INT SpungeInstInit(struct SpungeInstance *inst);
72 void SpungeHandleMsgCycle(struct SpungeInstance *inst);
91 void FillpServerRecvRateAdjustment(struct SpungeInstance *inst, FILLP_UINT32 calcRecvTotalRate, FILLP_INT realRecvConn,
94 void FillpServerSendRateAdjustment(struct SpungeInstance *inst, FILLP_UINT32 calcSendTotalRate, FILLP_INT realSendConn,
99 void FillpCalculateFairness(struct SpungeInstance *inst);
109 void FtGlobalTimerInit(struct SpungeInstance *inst);
111 void SpungeDestroyInstance(struct SpungeInstance *inst);
113 void SpungeInitTokenBucket(struct SpungeInstance *inst);
H A Dspunge_stack.h25 void SpungeDoRecvCycle(struct SockOsSocket *osSock, struct SpungeInstance *inst);
26 void SpungeDoPackCycle(struct SpungePcb *pcb, struct SpungeInstance *inst);
28 void SpungeDoSendCycle(struct SpungePcb *pcb, struct SpungeInstance *inst, FILLP_LLONG detaTime);
32 FillpQueue *SpungeAllocUnsendBox(struct SpungeInstance *inst);
H A Dpcb.h76 void SpcbAddPcbToSpinst(struct SpungeInstance *inst, struct SpungePcb *pcb);
77 void SpcbDeleteFromSpinst(struct SpungeInstance *inst, struct SpungePcb *pcb);
80 struct SpungePcb *SpungePcbNew(void *argConn, struct SpungeInstance *inst);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dspunge_message.c27 FillpErrorType SpungePostMsg(struct SpungeInstance *inst, void *value, FILLP_INT type, FILLP_BOOL block) in SpungePostMsg() argument
32 if ((inst == FILLP_NULL_PTR) || (value == FILLP_NULL_PTR) || (inst->msgPool == FILLP_NULL_PTR)) { in SpungePostMsg()
37 err = DympAlloc(inst->msgPool, (void **)&msg, FILLP_FALSE); in SpungePostMsg()
43 (void)SYS_ARCH_ATOMIC_INC(&inst->msgUsingCount, 1); in SpungePostMsg()
48 err = FillpQueuePush(inst->msgBox, (void *)&msg, FILLP_FALSE, 1); in SpungePostMsg()
52 (void)SYS_ARCH_ATOMIC_DEC(&inst->msgUsingCount, 1); in SpungePostMsg()
59 (void)SYS_ARCH_ATOMIC_DEC(&inst->msgUsingCount, 1); in SpungePostMsg()
65 (void)SYS_ARCH_ATOMIC_DEC(&inst->msgUsingCount, 1); in SpungePostMsg()
70 static void SpungeHandleMsgAllocSock(void *value, struct SpungeInstance *inst) in SpungeHandleMsgAllocSock() argument
118 SpungeHandleMsgFreeSockEagain(void *value, struct SpungeInstance *inst) SpungeHandleMsgFreeSockEagain() argument
138 SpungeListenMsgCheckState(void *value, struct SpungeInstance *inst, struct FtSocket **pSock, struct SockOsSocket **pOsSock) SpungeListenMsgCheckState() argument
184 SpungeHandleMsgListen(void *value, struct SpungeInstance *inst) SpungeHandleMsgListen() argument
306 SpungeHandleMsgConnect(void *value, struct SpungeInstance *inst) SpungeHandleMsgConnect() argument
416 SpungeHandleMsgBind(void *value, struct SpungeInstance *inst) SpungeHandleMsgBind() argument
475 SpungeHandleMsgConnAccepted(void *value, struct SpungeInstance *inst) SpungeHandleMsgConnAccepted() argument
545 SpungeHandleMsgDoShutdown(void *value, struct SpungeInstance *inst) SpungeHandleMsgDoShutdown() argument
641 SpungeHandleMsgClose(void *value, struct SpungeInstance *inst) SpungeHandleMsgClose() argument
695 SpungeHandleMsgSetSendBuf(void *value, struct SpungeInstance *inst) SpungeHandleMsgSetSendBuf() argument
729 SpungeHandleMsgSetRecvBuf(void *value, struct SpungeInstance *inst) SpungeHandleMsgSetRecvBuf() argument
764 SpungeHandleMsgSetNackDelay(void *value, struct SpungeInstance *inst) SpungeHandleMsgSetNackDelay() argument
799 SpungeHandleMsgGetEvtInfo(void *value, struct SpungeInstance *inst) SpungeHandleMsgGetEvtInfo() argument
819 SpungeHandleMsgSetKeepAlive(void *value, struct SpungeInstance *inst) SpungeHandleMsgSetKeepAlive() argument
842 SpungeHandleMsgSetHiEventCb(void *value, struct SpungeInstance *inst) SpungeHandleMsgSetHiEventCb() argument
[all...]
/foundation/multimedia/audio_framework/frameworks/cj/src/
H A Dmultimedia_audio_ffi.cpp410 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); in FfiMMAAVGMGetMaxVolume() local
411 if (inst == nullptr) { in FfiMMAAVGMGetMaxVolume()
417 return inst->GetMaxVolume(volumeType); in FfiMMAAVGMGetMaxVolume()
422 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); in FfiMMAAVGMGetMinVolume() local
423 if (inst == nullptr) { in FfiMMAAVGMGetMinVolume()
429 return inst->GetMinVolume(volumeType); in FfiMMAAVGMGetMinVolume()
434 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); in FfiMMAAVGMGetRingerMode() local
435 if (inst == nullptr) { in FfiMMAAVGMGetRingerMode()
441 return inst->GetRingerMode(); in FfiMMAAVGMGetRingerMode()
447 auto inst in FfiMMAAVGMGetSystemVolumeInDb() local
459 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMGetVolume() local
471 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMIsMicrophoneMute() local
483 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMIsMute() local
495 auto inst = FFIData::GetData<MMAAudioVolumeGroupManagerImpl>(id); FfiMMAAVGMIsVolumeUnadjustable() local
[all...]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_ap/Mock/
H A Dmock_wifi_ap_hal_interface.cpp22 static WifiApHalInterface inst; in GetInstance() local
23 return inst; in GetInstance()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/Mock/
H A Dmock_wifi_p2p_hal_interface.cpp22 static WifiP2PHalInterface inst; in GetInstance() local
23 return inst; in GetInstance()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/
H A Dmock_wifi_settings.cpp21 static WifiSettings inst; in GetInstance() local
22 return inst; in GetInstance()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/Mock/
H A Dmock_wifi_settings.cpp21 static WifiSettings inst; in GetInstance() local
22 return inst; in GetInstance()
/foundation/communication/wifi/wifi/test/wifi_standard/native/Mock/
H A Dmock_wifi_c_device.cpp21 static WifiCDevice inst; in GetInstance() local
22 return inst; in GetInstance()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/Mock/
H A Dmock_wifi_supplicant_hal_interface.cpp28 static MockWifiSupplicantHalInterface inst; in GetInstance() local
29 return inst; in GetInstance()
42 static WifiSupplicantHalInterface inst; in GetInstance() local
43 return inst; in GetInstance()
/foundation/graphic/graphic_3d/lume/LumeRender/src/perf/
H A Dcpu_perf_scope.h49 if (auto* inst = CORE_NS::GetInstance<CORE_NS::IPerformanceDataManagerFactory>(CORE_NS::UID_PERFORMANCE_FACTORY); in CpuPerfScopeInternal()
50 inst) { in CpuPerfScopeInternal()
51 manager_ = inst->Get(category); in CpuPerfScopeInternal()
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/perf/
H A Dcpu_perf_scope.h47 if (auto* inst = GetInstance<IPerformanceDataManagerFactory>(UID_PERFORMANCE_FACTORY); inst) { in CpuPerfScope()
48 manager_ = inst->Get(category); in CpuPerfScope()
/foundation/graphic/graphic_surface/utils/hebc_white_list/
H A Dhebc_white_list.h30 static HebcWhiteList inst; in GetInstance() local
31 return inst; in GetInstance()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/wifi_hal_interface/
H A Dwifi_supplicant_hal_interface.cpp28 static WifiSupplicantHalInterface inst; in GetInstance() local
35 if (inst.InitHdiWpaClient()) { in GetInstance()
39 if (inst.InitIdlClient()) { in GetInstance()
45 return inst; in GetInstance()
H A Dwifi_chip_hal_interface.cpp28 static WifiChipHalInterface inst; in GetInstance() local
34 if (inst.InitIdlClient()) { in GetInstance()
39 return inst; in GetInstance()
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtest_utils.cpp44 static CostRecorder inst; in Instance() local
45 return inst; in Instance()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dspunge_message.h90 FillpErrorType SpungePostMsg(struct SpungeInstance *inst, void *value, FILLP_INT type, FILLP_BOOL block);
92 typedef void (*spungeMsgHandler)(void *value, struct SpungeInstance *inst);
/foundation/multimedia/player_framework/services/services/factory/
H A Dengine_factory_repo.cpp42 static EngineFactoryRepo* inst = nullptr; in Instance() local
44 std::call_once(once, [&] { inst = new EngineFactoryRepo(); }); in Instance()
45 return *inst; in Instance()

Completed in 11 milliseconds

123