Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 229) sorted by relevance

12345678910

/drivers/peripheral/user_auth/hdi_service/common/src/
Dlinked_list.c29 IAM_STATIC ResultCode InsertNode(LinkedList *list, void *data) in InsertNode() argument
31 if (list == NULL) { in InsertNode()
35 if (list->size == UINT32_MAX) { in InsertNode()
45 node->next = list->head; in InsertNode()
46 list->head = node; in InsertNode()
47 list->size++; in InsertNode()
51 IAM_STATIC ResultCode RemoveNode(LinkedList *list, void *condition, MatchFunc matchFunc, bool destr… in RemoveNode() argument
53 if (list == NULL) { in RemoveNode()
62 LinkedListNode *node = list->head; in RemoveNode()
74 list->head = node->next; in RemoveNode()
[all …]
/drivers/hdf_core/framework/utils/src/
Dhdf_slist.c14 void HdfSListInit(struct HdfSList *list) in HdfSListInit() argument
16 if (list != NULL) { in HdfSListInit()
17 list->root = NULL; in HdfSListInit()
21 bool HdfSListIsEmpty(const struct HdfSList *list) in HdfSListIsEmpty() argument
23 return ((list == NULL) || (list->root == NULL)); in HdfSListIsEmpty()
26 struct HdfSListNode *HdfSListSearch(const struct HdfSList *list, uint32_t keyValue, HdfSListSearchC… in HdfSListSearch() argument
32 HdfSListIteratorInit(&it, list); in HdfSListSearch()
42 struct HdfSListNode *HdfSListGetLast(const struct HdfSList *list) in HdfSListGetLast() argument
46 if (list == NULL) { in HdfSListGetLast()
50 for (iterator = list->root; iterator != NULL; iterator = iterator->next) { in HdfSListGetLast()
[all …]
Dosal_msg_queue.c18 HdfSListInit(&queue->list); in OsalMessageQueueInit()
27 HdfSListFlush(&queue->list, HdfMessageDelete); in OsalMessageQueueDestroy()
42 HdfSListIteratorInit(&it, &queue->list); in HdfMessageQueueEnqueue()
51 HdfSListAddTail(&queue->list, &message->entry); in HdfMessageQueueEnqueue()
64 HdfSListIteratorInit(&it, &queue->list); in HdfMessageQueueNext()
83 HdfSListIteratorInit(&it, &queue->list); in HdfMessageQueueFlush()
/drivers/hdf_core/adapter/uhdf2/osal/test/unittest/common/
Dosal_slist_test.cpp29 using HdfSListOps = void (*)(struct HdfSList *list, struct HdfSListNode *link);
86 struct HdfSList list; variable
87 HdfSListInit(&list);
88 EXPECT_EQ(NULL, list.root);
89 EXPECT_TRUE(HdfSListIsEmpty(&list));
92 static void HdfOsalSlistTestInit(struct HdfSList *list, int &totalCount, HdfSListOps ops) in HdfOsalSlistTestInit() argument
94 HdfSListInit(list); in HdfOsalSlistTestInit()
101 ops(list, &testData->entry); in HdfOsalSlistTestInit()
103 EXPECT_EQ(totalCount, HdfSListCount(list)); in HdfOsalSlistTestInit()
114 struct HdfSList list; variable
[all …]
/drivers/hdf_core/interfaces/inner_api/utils/
Dhdf_slist.h45 void HdfSListInit(struct HdfSList *list);
57 struct HdfSListNode *HdfSListSearch(const struct HdfSList *list, uint32_t keyValue, HdfSListSearchC…
66 bool HdfSListIsEmpty(const struct HdfSList *list);
75 struct HdfSListNode *HdfSListGetLast(const struct HdfSList *list);
85 void HdfSListAdd(struct HdfSList *list, struct HdfSListNode *link);
95 void HdfSListAddTail(struct HdfSList *list, struct HdfSListNode *link);
106 bool HdfSListAddOrder(struct HdfSList *list, struct HdfSListNode *link, HdfSListAddComparer compare…
115 void HdfSListRemove(struct HdfSList *list, struct HdfSListNode *link);
125 void HdfSListFlush(struct HdfSList *list, HdfSListDeleter deleter);
134 int HdfSListCount(const struct HdfSList *list);
[all …]
Dhdf_dlist.h135 static inline void DListMerge(struct DListHead *list, struct DListHead *head) in DListMerge() argument
137 list->next->prev = head; in DListMerge()
138 list->prev->next = head->next; in DListMerge()
140 head->next->prev = list->prev; in DListMerge()
141 head->next = list->next; in DListMerge()
143 DListHeadInit(list); in DListMerge()
/drivers/hdf_core/framework/test/unittest/osal/
Dosal_list_test.c30 struct DListHead list; member
81 DLIST_FOR_EACH_ENTRY(pos, head, OsalTestEventHandle, list) { in OsalTestList()
96 DListHeadInit(&g_handleArr[i].list); in TestListAddTail()
97 DListInsertTail(&g_handleArr[i].list, &g_handleMng.list); in TestListAddTail()
111 DListHeadInit(&mng1.list); in TestListMerge()
115 DListHeadInit(&list1[i].list); in TestListMerge()
116 DListInsertTail(&list1[i].list, &mng1.list); in TestListMerge()
118 OsalTestList(&mng1.list); in TestListMerge()
121 DListHeadInit(&mng2.list); in TestListMerge()
125 DListHeadInit(&list2[i].list); in TestListMerge()
[all …]
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/control/
DXSelect.js19 constructor(list, default_) { argument
21 this.resetList(list, default_);
28 resetList(list, default_) { argument
29 this.list_ = list;
53 let list = this.default_.split('\\');
54 if (list.length > model) {
55 for (let i = list.length - model; i < list.length; i++) {
56 name += list[i];
57 if (i != list.length - 1) {
79 let list = this.list_[i].split('\\');
[all …]
/drivers/hdf_core/adapter/uhdf2/hdi/src/
Ddevmgr_client.c31 static void DevmgrFreeQueryDeviceListImpl(struct DeviceInfoList *list);
44 static int32_t HdfObtainDeviceInfo(struct DeviceInfoList *list, struct HdfSBuf *reply) in HdfObtainDeviceInfo() argument
55 DevmgrFreeQueryDeviceListImpl(list); in HdfObtainDeviceInfo()
73 DListInsertTail(&node->node, &list->list); in HdfObtainDeviceInfo()
74 list->deviceCnt++; in HdfObtainDeviceInfo()
80 static int32_t DevmgrQueryDeviceInfo(struct HDIDeviceManager *iDevMgr, struct DeviceInfoList *list,… in DevmgrQueryDeviceInfo() argument
101 list->deviceCnt = 0; in DevmgrQueryDeviceInfo()
102 DListHeadInit(&list->list); in DevmgrQueryDeviceInfo()
111 ret = HdfObtainDeviceInfo(list, reply); in DevmgrQueryDeviceInfo()
119 …tic int32_t DevmgrQueryUsableDeviceInfo(struct HDIDeviceManager *self, struct DeviceInfoList *list) in DevmgrQueryUsableDeviceInfo() argument
[all …]
/drivers/peripheral/user_auth/hdi_service/common/inc/
Dlinked_list.h45 uint32_t (*getSize)(struct LinkedList *list);
46 ResultCode (*insert)(struct LinkedList *list, void *data);
47 …ResultCode (*remove)(struct LinkedList *list, void *condition, MatchFunc matchFunc, bool destroyNo…
48 LinkedListIterator *(*createIterator)(struct LinkedList *list);
53 void DestroyLinkedList(LinkedList *list);
/drivers/hdf_core/interfaces/inner_api/hdi/
Ddevmgr_hdi.h78 struct DListHead list; member
97 void (*FreeQueryDeviceList)(struct HDIDeviceManager *self, struct DeviceInfoList *list);
107 int32_t (*QueryUsableDeviceInfo)(struct HDIDeviceManager *self, struct DeviceInfoList *list);
117 int32_t (*QueryUnusableDeviceInfo)(struct HDIDeviceManager *self, struct DeviceInfoList *list);
/drivers/peripheral/audio/effect/model/src/
Deffect_core.c56 DListInsertHead(&node->list, &g_libList); in RegisterEffectLibToList()
67 …DLIST_FOR_EACH_ENTRY_SAFE(targetNode, tmpNode, &g_libList, struct EffectFactoryLibListNode, list) { in ReleaseLibFromList()
68 DListRemove(&targetNode->list); in ReleaseLibFromList()
90 DLIST_FOR_EACH_ENTRY(tmpNode, &g_libList, struct EffectFactoryLibListNode, list) { in GetEffectLibFromList()
131 DListInsertHead(&node->list, &g_controllerList); in RegisterControllerToList()
152 …LIST_FOR_EACH_ENTRY_SAFE(getNode, tmpNode, &g_controllerList, struct ControllerManagerNode, list) { in GetControllerFromList()
156 DListRemove(&getNode->list); in GetControllerFromList()
/drivers/peripheral/usb/hdi_service/src/
Dusbd_dispatcher.cpp600 int32_t UsbdDispatcher::UsbdBulkASyncReqRelease(UsbdBulkASyncReqList *list) in UsbdBulkASyncReqRelease() argument
603 UsbFreeRequest(list->node[i].request); in UsbdBulkASyncReqRelease()
604 list->node[i].request = nullptr; in UsbdBulkASyncReqRelease()
606 DListHeadInit(&list->eList); in UsbdBulkASyncReqRelease()
607 DListHeadInit(&list->uList); in UsbdBulkASyncReqRelease()
608 OsalMutexDestroy(&list->elock); in UsbdBulkASyncReqRelease()
609 OsalMutexDestroy(&list->ulock); in UsbdBulkASyncReqRelease()
613 int32_t UsbdDispatcher::UsbdBulkASyncListRelease(UsbdBulkASyncList *list) in UsbdBulkASyncListRelease() argument
615 UsbdBulkASyncReqRelease(&list->rList); in UsbdBulkASyncListRelease()
616 OsalMutexDestroy(&list->asmHandle.lock); in UsbdBulkASyncListRelease()
[all …]
Dusb_impl.cpp319 UsbdBulkASyncList *list = nullptr; in UsbdBulkASyncListReleasePort() local
321 list = port->bulkASyncList; in UsbdBulkASyncListReleasePort()
322 port->bulkASyncList = list->next; in UsbdBulkASyncListReleasePort()
323 UsbdDispatcher::UsbdBulkASyncListRelease(list); in UsbdBulkASyncListReleasePort()
324 list = nullptr; in UsbdBulkASyncListReleasePort()
656 UsbdBulkASyncList *list = port->bulkASyncList; in UsbdBulkASyncListFind() local
657 while (list) { in UsbdBulkASyncListFind()
658 if (list->epId == epId && list->ifId == ifId) { in UsbdBulkASyncListFind()
659 return list; in UsbdBulkASyncListFind()
661 list = list->next; in UsbdBulkASyncListFind()
[all …]
/drivers/hdf_core/adapter/uhdf2/host/src/
Ddevhost_dump.c34 struct DListHead list; member
44 DListHeadInit(&g_dumpHostNode.list); in DevHostDumpInit()
54 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, &g_dumpHostNode.list, struct DumpServiceNode, node) { in DevHostDumpDeInit()
62 DListHeadInit(&g_dumpHostNode.list); in DevHostDumpDeInit()
71 DLIST_FOR_EACH_ENTRY(pos, &g_dumpHostNode.list, struct DumpServiceNode, node) { in DevHostCheckDumpExist()
105 DListInsertTail(&node->node, &g_dumpHostNode.list); in DevHostRegisterDumpService()
146 DLIST_FOR_EACH_ENTRY(pos, &g_dumpHostNode.list, struct DumpServiceNode, node) { in DevHostDump()
/drivers/hdf_core/framework/test/fuzztest/devmgr_c_fuzzer/queryusabledeviceInfo_fuzzer/
DqueryusabledeviceInfo_fuzzer.cpp30 struct DeviceInfoList list; in QueryUnusableDeviceInfoFuzzTest() local
31 list.deviceCnt = parcel.ReadUint32(); in QueryUnusableDeviceInfoFuzzTest()
38 int32_t ret = devmgr->QueryUnusableDeviceInfo(devmgr, &list); in QueryUnusableDeviceInfoFuzzTest()
/drivers/hdf_core/framework/tools/hc-gen/src/
Dparser.h28 std::list<std::shared_ptr<Ast>> ParseOne(const std::string &src);
30 …std::shared_ptr<AstObject> ParseOneContent(const std::string &src, std::list<std::string> &include…
35 bool ProcessInclude(std::list<std::string> &includeList);
64 std::list<std::string> srcQueue_;
/drivers/peripheral/camera/vdi_base/common/buffer_manager/include/
Dbuffer_loop_tracking.h42 std::list<std::shared_ptr<TrackingBuffer>> GetTrackingBuffer() const in GetTrackingBuffer()
55 std::list<std::shared_ptr<TrackingBuffer>> trackingBufferList_ = {};
78 std::list<std::shared_ptr<TrackingNode>> FindTrackingNodePath(const std::string beginNode,
93 std::list<std::shared_ptr<TrackingNode>> trackingNodeList_ = {};
134 std::list<std::shared_ptr<TrackingStream>> trackingStreamList_ = {};
135 std::list<std::shared_ptr<BufferTrackingMessage>> messageQueue_ = {};
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/
Dhdf_add_driver.py51 list(set(patch_list + defconfig_list))
86 file_lines = list(
152 list(set(patch_list + defconfig_list))
262 list(filter(
268 list(filter(
276 list(filter(
280 list(map(
283 path_list = list(os.path.split(source_file))
311 head_file_template_list = list(filter(
316 head_file_template_list = list(filter(
[all …]
/drivers/peripheral/audio/effect/model/include/
Deffect_core.h31 struct DListHead list; /**< Factory library list */ member
37 struct DListHead list; member
/drivers/hdf_core/adapter/uhdf2/manager/src/
Dservstat_listener_holder.c32 struct DListHead list; member
40 .list = {
50 DListHeadInit(&g_holoderList.list); in UServStatListenerHolderListInit()
61 DListInsertTail(&holder->node, &g_holoderList.list); in UServStatListenerHolderListListAdd()
124 DLIST_FOR_EACH_ENTRY(it, &g_holoderList.list, struct UServStatListenerHolder, node) { in ServStatListenerHolderGet()
/drivers/interface/fingerprint_auth/v1_0/
DIFingerprintAuthInterface.idl33 …* @brief Defines the get executor list API of the fingerprint auth driver. This API can be used to…
44 * @brief Defines the get executor list API of the fingerprint auth driver.
51 * @brief Obtains executor list of driver.
53 * @param executorList Indicates executor list of driver. For details, see {@link IExecutor}.
/drivers/hdf_core/framework/core/manager/src/
Dservstat_listener_holder.c23 struct DListHead list; member
31 DListHeadInit(&g_holoderList.list); in KServStatListenerHolderListInit()
104 DListInsertTail(&holder->node, &g_holoderList.list); in ServStatListenerHolderCreate()
115 DLIST_FOR_EACH_ENTRY(it, &g_holoderList.list, struct KServStatListenerHolder, node) { in ServStatListenerHolderGet()
/drivers/interface/fingerprint_auth/v1_1/
DIFingerprintAuthInterface.idl33 …* @brief Defines the get executor list API of the fingerprint auth driver. This API can be used to…
45 * @brief Defines the get executor list API of the fingerprint auth driver.
52 * @brief Obtains executor list of driver.
54 * @param executorList Indicates executor list of driver. For details, see {@link IExecutor}.
/drivers/peripheral/camera/vdi_base/common/include/
Dbuffer_trace.h64 using BufferTraceGraph = std::list<std::pair<std::string, std::list<TrackingBuffer>>>;

12345678910