Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 8 of 8) sorted by relevance

/drivers/hdf_core/interfaces/inner_api/utils/
Dhdf_dlist.h46 struct DListHead *prev; /**< Pointer to the previous node */ member
59 head->prev = head; in DListHeadInit()
83 entry->prev->next = entry->next; in DListRemove()
84 entry->next->prev = entry->prev; in DListRemove()
86 entry->prev = NULL; in DListRemove()
102 entry->prev = head; in DListInsertHead()
104 head->next->prev = entry; in DListInsertHead()
120 entry->prev = head->prev; in DListInsertTail()
122 head->prev->next = entry; in DListInsertTail()
123 head->prev = entry; in DListInsertTail()
[all …]
Dhdf_slist.h28 struct HdfSListNode *prev; // points to the item before the current one member
/drivers/hdf_core/framework/utils/src/
Dhdf_slist.c197 iterator->prev = NULL; in HdfSListIteratorInit()
203 iterator->prev = (struct HdfSListNode *)list; in HdfSListIteratorInit()
209 if ((iterator == NULL) || (iterator->curr == NULL) || (iterator->prev == NULL)) { in HdfSListIteratorHasNext()
217 if (iterator->prev->next != iterator->curr) { in HdfSListIteratorHasNext()
219 return iterator->prev->next != NULL; in HdfSListIteratorHasNext()
228 if (iterator == NULL || iterator->curr == NULL || iterator->prev == NULL) { in HdfSListIteratorNext()
233 if (iterator->prev->next == iterator->curr) { in HdfSListIteratorNext()
234 iterator->prev = iterator->curr; in HdfSListIteratorNext()
238 iterator->curr = iterator->prev->next; in HdfSListIteratorNext()
249 if (iterator == NULL || iterator->curr == NULL || iterator->prev == NULL) { in HdfSListIteratorRemove()
[all …]
Dhdf_map.c217 struct MapNode *prev = NULL; in MapErase() local
226 prev = node; in MapErase()
233 prev->next = node->next; in MapErase()
239 prev = node; in MapErase()
/drivers/hdf_core/adapter/uhdf2/manager/src/
Dservstat_listener_holder.c41 .prev = NULL,
/drivers/hdf_core/framework/model/camera/buffer_manager/src/
Dcamera_buffer.c162 struct CameraBuffer *prev = queue->buffers[buffer->id - 1]; in CameraBufferSetupOffsets() local
163 struct BufferPlane *p = &prev->planes[prev->numPlanes - 1]; in CameraBufferSetupOffsets()
/drivers/hdf_core/framework/support/platform/src/fwk/
Dplatform_manager.c269 if (manager->devices.prev == NULL || manager->devices.next == NULL) { in PlatformManagerFindDevice()
/drivers/hdf_core/framework/core/adapter/syscall/src/
Dhdf_syscall_adapter.c890 if (listener->listNode.next == NULL || listener->listNode.prev == NULL) { in HdfDeviceUnregisterEventListener()
1038 if (listener->listNode.next == NULL || listener->listNode.prev == NULL) { in HdfIoServiceGroupUnregisterListener()