Home
last modified time | relevance | path

Searched refs:iterator (Results 1 - 25 of 26) sorted by relevance

12

/drivers/hdf_core/framework/utils/src/
H A Dhdf_slist.c45 struct HdfSListNode *iterator = NULL; in HdfSListGetLast() local
50 for (iterator = list->root; iterator != NULL; iterator = iterator->next) { in HdfSListGetLast()
51 last = iterator; in HdfSListGetLast()
67 struct HdfSListNode *iterator = NULL; in HdfSListAddTail() local
72 for (iterator = (struct HdfSListNode *)list; iterator->next; iterator in HdfSListAddTail()
84 struct HdfSListNode *iterator = NULL; HdfSListAddOrder() local
119 struct HdfSListNode *iterator = NULL; HdfSListRemove() local
134 struct HdfSListIterator iterator; HdfSListFlush() local
151 struct HdfSListNode *iterator = NULL; HdfSListCount() local
192 HdfSListIteratorInit(struct HdfSListIterator *iterator, const struct HdfSList *list) HdfSListIteratorInit() argument
207 HdfSListIteratorHasNext(const struct HdfSListIterator *iterator) HdfSListIteratorHasNext() argument
226 HdfSListIteratorNext(struct HdfSListIterator *iterator) HdfSListIteratorNext() argument
247 HdfSListIteratorRemove(struct HdfSListIterator *iterator) HdfSListIteratorRemove() argument
258 HdfSListIteratorInsert(struct HdfSListIterator *iterator, struct HdfSListNode *link) HdfSListIteratorInsert() argument
[all...]
/drivers/peripheral/user_auth/hdi_service/utils/src/
H A Dlinked_list.c98 IAM_STATIC bool IteratorHasNext(LinkedListIterator *iterator) in IteratorHasNext() argument
100 if (iterator == NULL) { in IteratorHasNext()
101 LOG_ERROR("iterator is null"); in IteratorHasNext()
104 return iterator->current != NULL; in IteratorHasNext()
107 IAM_STATIC void *IteratorNext(LinkedListIterator *iterator) in IteratorNext() argument
109 if (!IteratorHasNext(iterator)) { in IteratorNext()
113 LinkedListNode *current = iterator->current; in IteratorNext()
114 iterator->current = current->next; in IteratorNext()
124 LinkedListIterator *iterator = (LinkedListIterator *)Malloc(sizeof(LinkedListIterator)); in CreateIterator() local
125 if (iterator in CreateIterator()
135 DestroyIterator(LinkedListIterator *iterator) DestroyIterator() argument
[all...]
/drivers/peripheral/user_auth/hdi_service/coauth/src/
H A Dpool.c267 LinkedListIterator *iterator = g_poolList->createIterator(g_poolList); in QueryExecutor() local
268 if (iterator == NULL) { in QueryExecutor()
269 LOG_ERROR("create iterator failed"); in QueryExecutor()
274 while (iterator->hasNext(iterator)) { in QueryExecutor()
275 ExecutorInfoHal *executorInfo = (ExecutorInfoHal *)iterator->next(iterator); in QueryExecutor()
294 g_poolList->destroyIterator(iterator); in QueryExecutor()
308 LinkedListIterator *iterator = g_poolList->createIterator(g_poolList); in QueryCollecterMatcher() local
309 if (iterator in QueryCollecterMatcher()
339 LinkedListIterator *iterator = g_poolList->createIterator(g_poolList); QueryCredentialExecutorIndex() local
[all...]
H A Dcoauth.c160 LinkedListIterator *iterator = g_scheduleList->createIterator(g_scheduleList); in GetCoAuthSchedule() local
161 if (iterator == NULL) { in GetCoAuthSchedule()
162 LOG_ERROR("create iterator failed"); in GetCoAuthSchedule()
166 while (iterator->hasNext(iterator)) { in GetCoAuthSchedule()
167 schedule = (CoAuthSchedule *)iterator->next(iterator); in GetCoAuthSchedule()
175 g_scheduleList->destroyIterator(iterator); in GetCoAuthSchedule()
178 g_scheduleList->destroyIterator(iterator); in GetCoAuthSchedule()
/drivers/hdf_core/interfaces/inner_api/utils/
H A Dhdf_slist.h164 * @brief initialize iterator
166 * @param[in] iterator the point of iterator.
171 void HdfSListIteratorInit(struct HdfSListIterator *iterator, const struct HdfSList *list);
176 * @param[in] iterator the point of iterator.
180 bool HdfSListIteratorHasNext(const struct HdfSListIterator *iterator);
183 * @brief get next link in the list and move iterator to next.
185 * @param[in] iterator the point of iterator
[all...]
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Drunning_lock_counter.cpp30 auto iterator = runninglockInfos_.find(info.name); in Increase() local
31 if (iterator != runninglockInfos_.end()) { in Increase()
37 iterator->second.timeoutMs = info.timeoutMs; in Increase()
51 auto iterator = runninglockInfos_.find(info.name); in Decrease() local
52 if (iterator == runninglockInfos_.end()) { in Decrease()
H A Drunning_lock_impl.cpp56 auto iterator = lockCounters_.find(filledInfo.type); in Hold() local
57 if (iterator == lockCounters_.end()) { in Hold()
64 iterator = pair.first; in Hold()
66 std::shared_ptr<RunningLockCounter> lockCounter = iterator->second; in Hold()
94 auto iterator = lockCounters_.find(filledInfo.type); in Unhold() local
95 if (iterator == lockCounters_.end()) { in Unhold()
102 std::shared_ptr<RunningLockCounter> lockCounter = iterator->second; in Unhold()
154 auto iterator = lockCounters_.find(type); in GetCount() local
155 if (iterator != lockCounters_.end()) { in GetCount()
156 count = iterator in GetCount()
[all...]
H A Dpower_interface_impl.cpp480 std::map<std::string, PowerConfig::PowerSceneConfig>::iterator it = sceneConfigMap.find("wakeuo_cause"); in GetWakeupReason()
/drivers/peripheral/user_auth/hdi_service/utils/inc/
H A Dlinked_list.h37 bool (*hasNext)(struct LinkedListIterator *iterator);
38 void *(*next)(struct LinkedListIterator *iterator);
49 void (*destroyIterator)(LinkedListIterator *iterator);
/drivers/peripheral/user_auth/hdi_service/database/src/
H A Didm_database.c1052 LinkedListIterator *iterator = g_userInfoList->createIterator(g_userInfoList); in GetInvalidUser() local
1053 if (iterator == NULL) { in GetInvalidUser()
1054 LOG_ERROR("create iterator failed"); in GetInvalidUser()
1060 while (iterator->hasNext(iterator)) { in GetInvalidUser()
1061 user = (UserInfo *)iterator->next(iterator); in GetInvalidUser()
1085 g_userInfoList->destroyIterator(iterator); in GetInvalidUser()
1127 LinkedListIterator *iterator = g_userInfoList->createIterator(g_userInfoList); in GetAllExtUserInfo() local
1128 if (iterator in GetAllExtUserInfo()
[all...]
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
H A Dv4l2_uvc.h47 int V4L2SprintfDev(std::pair<std::map<std::string, std::string>::iterator, bool> &iter,
/drivers/hdf_core/framework/core/manager/src/
H A Ddevmgr_service.c369 struct HdfSListIterator iterator; in DevmgrServiceListAllDevice() local
383 HdfSListIteratorInit(&iterator, &hostClnt->devices); in DevmgrServiceListAllDevice()
384 while (HdfSListIteratorHasNext(&iterator)) { in DevmgrServiceListAllDevice()
385 node = HdfSListIteratorNext(&iterator); in DevmgrServiceListAllDevice()
/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevmgr_dump.c121 struct HdfSListIterator iterator; in DevMgrDumpServiceFindHost() local
127 HdfSListIteratorInit(&iterator, &hostClnt->devices); in DevMgrDumpServiceFindHost()
128 while (HdfSListIteratorHasNext(&iterator)) { in DevMgrDumpServiceFindHost()
129 node = HdfSListIteratorNext(&iterator); in DevMgrDumpServiceFindHost()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_interface_impl.cpp259 std::map<std::string, BatteryConfig::ChargeSceneConfig>::iterator it = chargeSceneConfigMap.find(sceneName); in SetBatteryConfig()
281 std::map<std::string, BatteryConfig::ChargeSceneConfig>::iterator it = chargeSceneConfigMap.find(sceneName); in GetBatteryConfig()
304 std::map<std::string, BatteryConfig::ChargeSceneConfig>::iterator it = chargeSceneConfigMap.find(sceneName); in IsBatteryConfigSupported()
/drivers/peripheral/camera/hdi_service/v1_0/src/
H A Dstream_operator_service.cpp17 #include <iterator>
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp73 int HosV4L2UVC::V4L2SprintfDev(std::pair<std::map<std::string, std::string>::iterator, bool> &iter, in V4L2SprintfDev()
98 std::pair<std::map<std::string, std::string>::iterator, bool> iter; in V4L2UvcMatchDev()
/drivers/peripheral/camera/vdi_base/usb_camera/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_uvc.cpp73 int HosV4L2UVC::V4L2SprintfDev(std::pair<std::map<std::string, std::string>::iterator, bool> &iter, in V4L2SprintfDev()
98 std::pair<std::map<std::string, std::string>::iterator, bool> iter; in V4L2UvcMatchDev()
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/
H A Ddmetadata_processor.cpp330 std::map<int, std::vector<DCResolution>>::iterator iter; in InitBasicConfigTag()
347 std::map<int, std::vector<DCResolution>>::iterator previewIter; in InitExtendConfigTag()
359 std::map<int, std::vector<DCResolution>>::iterator videoIter; in InitExtendConfigTag()
372 std::map<int, std::vector<DCResolution>>::iterator photoIter; in InitExtendConfigTag()
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dmacro_gen.cpp177 std::list<std::string>::iterator iter;
H A Dstartup_cfg_gen.cpp253 std::vector<std::pair<std::string, HostInfo>>::iterator it = vect.begin();
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/
H A Dpreprocessor.cpp281 for (FileDetailMap::iterator it = allFileDetails.begin(); it != allFileDetails.end();) { in PrintCyclefInfo()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_bluetooth_manager.cpp88 std::map<int, std::string>::iterator it; in AudioOnPlayingStatusChanged()
/drivers/peripheral/camera/test/ut/v4l2/
H A Dtest_camera_base.cpp152 for (std::vector<std::vector<float>>::iterator it = faceRectangles.begin(); it < faceRectangles.end(); it++) { in PrintFaceDetectInfo()
153 for (std::vector<float>::iterator innerIt = (*it).begin(); innerIt < (*it).end(); innerIt++) { in PrintFaceDetectInfo()
/drivers/peripheral/camera/test/ut/usb_camera/
H A Dtest_camera_base.cpp166 for (std::vector<std::vector<float>>::iterator it = faceRectangles.begin(); it < faceRectangles.end(); it++) { in PrintFaceDetectInfo()
167 for (std::vector<float>::iterator innerIt = (*it).begin(); innerIt < (*it).end(); innerIt++) { in PrintFaceDetectInfo()
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
H A Dstream_operator_vdi_impl.cpp17 #include <iterator>

Completed in 20 milliseconds

12