/device/google/dragon/audio/hal/ |
D | utlist.h | 66 (add)->next = head; \ 75 while (_tmp->next) \ 76 _tmp = _tmp->next; \ 77 _tmp->next = (head2); \ 85 (add)->next = NULL; \ 88 while (_tmp->next) \ 89 _tmp = _tmp->next; \ 90 _tmp->next = (add); \ 100 (head) = (head)->next; \ 103 while (_tmp->next && (_tmp->next != (del))) \ [all …]
|
/device/google/contexthub/firmware/inc/ |
D | list.h | 24 struct link_t *prev, *next; member 28 for ((cur_link) = (list)->next, \ 29 (tmp_link) = (cur_link) ? (cur_link)->next : NULL; \ 31 (cur_link) = (tmp_link), (tmp_link) = (cur_link)->next) 34 link_t list = { .prev = &list, .next = &list } 38 list->prev = list->next = list; in list_init() 43 if (!list->next) in list_add_tail() 47 item->next = list; in list_add_tail() 48 list->prev->next = item; in list_add_tail() 54 item->prev->next = item->next; in list_delete() [all …]
|
/device/lge/bullhead/camera/QCamera2/stack/common/ |
D | cam_list.h | 45 struct cam_list *next, *prev; member 50 ptr->next = ptr; in cam_list_init() 60 item->next = head; in cam_list_add_tail_node() 62 prev->next = item; in cam_list_add_tail_node() 68 item->next = node; in cam_list_insert_before_node() 70 item->prev->next = item; in cam_list_insert_before_node() 77 struct cam_list *next = ptr->next; in cam_list_del_node() local 79 next->prev = ptr->prev; in cam_list_del_node() 80 prev->next = ptr->next; in cam_list_del_node() 81 ptr->next = ptr; in cam_list_del_node()
|
D | cam_queue.h | 79 pos = head->next; in cam_queue_deq() 103 pos = head->next; in cam_queue_flush() 107 pos = pos->next; in cam_queue_flush()
|
/device/huawei/angler/camera/QCamera2/stack/common/ |
D | cam_list.h | 45 struct cam_list *next, *prev; member 50 ptr->next = ptr; in cam_list_init() 60 item->next = head; in cam_list_add_tail_node() 62 prev->next = item; in cam_list_add_tail_node() 68 item->next = node; in cam_list_insert_before_node() 70 item->prev->next = item; in cam_list_insert_before_node() 77 struct cam_list *next = ptr->next; in cam_list_del_node() local 79 next->prev = ptr->prev; in cam_list_del_node() 80 prev->next = ptr->next; in cam_list_del_node() 81 ptr->next = ptr; in cam_list_del_node()
|
D | cam_queue.h | 79 pos = head->next; in cam_queue_deq() 103 pos = head->next; in cam_queue_flush() 107 pos = pos->next; in cam_queue_flush()
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | cam_list.h | 43 struct cam_list *next, *prev; member 48 ptr->next = ptr; in cam_list_init() 58 item->next = head; in cam_list_add_tail_node() 60 prev->next = item; in cam_list_add_tail_node() 66 item->next = node; in cam_list_insert_before_node() 68 item->prev->next = item; in cam_list_insert_before_node() 75 struct cam_list *next = ptr->next; in cam_list_del_node() local 77 next->prev = ptr->prev; in cam_list_del_node() 78 prev->next = ptr->next; in cam_list_del_node() 79 ptr->next = ptr; in cam_list_del_node()
|
D | cam_queue.h | 81 pos = head->next; in cam_queue_deq() 105 pos = head->next; in cam_queue_flush() 109 pos = pos->next; in cam_queue_flush()
|
/device/moto/shamu/camera/QCamera/stack/common/ |
D | cam_list.h | 43 struct cam_list *next, *prev; member 48 ptr->next = ptr; in cam_list_init() 58 item->next = head; in cam_list_add_tail_node() 60 prev->next = item; in cam_list_add_tail_node() 66 struct cam_list *next = ptr->next; in cam_list_del_node() local 68 next->prev = ptr->prev; in cam_list_del_node() 69 prev->next = ptr->next; in cam_list_del_node() 70 ptr->next = ptr; in cam_list_del_node()
|
/device/huawei/angler/power/ |
D | list.c | 61 new_node->next = head->next; in add_list_node() 64 head->next = new_node; in add_list_node() 71 return (head == NULL || head->next == NULL); in is_list_empty() 82 if (head == NULL || head->next == NULL) { in remove_list_node() 86 current_node = head->next; in remove_list_node() 91 current_node = current_node->next; in remove_list_node() 96 saved_node->next = current_node->next; in remove_list_node() 119 while ((current_node = current_node->next)) { in dump_list() 133 while ((current_node = current_node->next)) { in find_node()
|
/device/lge/bullhead/power/ |
D | list.c | 61 new_node->next = head->next; in add_list_node() 64 head->next = new_node; in add_list_node() 71 return (head == NULL || head->next == NULL); in is_list_empty() 82 if (head == NULL || head->next == NULL) { in remove_list_node() 86 current_node = head->next; in remove_list_node() 91 current_node = current_node->next; in remove_list_node() 96 saved_node->next = current_node->next; in remove_list_node() 119 while ((current_node = current_node->next)) { in dump_list() 133 while ((current_node = current_node->next)) { in find_node()
|
/device/google/contexthub/firmware/src/ |
D | eventQ.c | 30 struct EvtRecord *next; member 73 q->head = q->head->next; in evtQueueFree() 97 rec = rec->next; in evtQueueEnqueue() 102 rec->prev->next = rec->next; in evtQueueEnqueue() 104 q->head = rec->next; in evtQueueEnqueue() 105 if (rec->next) in evtQueueEnqueue() 106 rec->next->prev = rec->prev; in evtQueueEnqueue() 116 rec->next = NULL; in evtQueueEnqueue() 125 rec->next = q->head; in evtQueueEnqueue() 128 rec->next->prev = rec; in evtQueueEnqueue() [all …]
|
D | heap.c | 95 struct HeapNode *node = gHeapHead, *next; in heapMergeFreeChunks() local 98 next = heapPrvGetNext(node); in heapMergeFreeChunks() 100 if (!node->used && next && !next->used) { /* merged */ in heapMergeFreeChunks() 101 node->size += sizeof(struct HeapNode) + next->size; in heapMergeFreeChunks() 103 next = heapPrvGetNext(node); in heapMergeFreeChunks() 104 if (next) in heapMergeFreeChunks() 105 next->prev = node; in heapMergeFreeChunks() 110 node = next; in heapMergeFreeChunks()
|
D | seos.c | 46 …(listHead, task) for (task = osTaskByIdx((listHead)->next); task; task = osTaskByIdx(task->list.ne… 74 TaskIndex next; member 136 l->prev = l->next = NO_NODE; in list_init() 217 TaskIndex idx = listHead->next; in osTaskListPeekHead() 231 listHead ? listHead->next : NO_NODE in dumpListItems() 243 task->list.next in dumpListItems() 257 task ? task->list.next : NO_NODE, in dumpTaskList() 260 listHead ? listHead->next : NO_NODE in dumpTaskList() 274 TaskIndex right_idx = cur->next; in osTaskListRemoveTask() 277 cur->prev = cur->next = NO_NODE; in osTaskListRemoveTask() [all …]
|
/device/huawei/angler/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 189 struct cam_list *p_next = m_head.list.next; in enqueueWithPriority() 191 m_head.list.next = &node->list; in enqueueWithPriority() 193 node->list.next = p_next; in enqueueWithPriority() 225 pos = head->next; in peek() 261 pos = head->next; in dequeue() 299 pos = head->next; in flush() 303 pos = pos->next; in flush() 345 pos = head->next; in flushNodes() 349 pos = pos->next; in flushNodes() 390 pos = head->next; in flushNodes() [all …]
|
/device/lge/bullhead/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 189 struct cam_list *p_next = m_head.list.next; in enqueueWithPriority() 191 m_head.list.next = &node->list; in enqueueWithPriority() 193 node->list.next = p_next; in enqueueWithPriority() 225 pos = head->next; in peek() 261 pos = head->next; in dequeue() 299 pos = head->next; in flush() 303 pos = pos->next; in flush() 345 pos = head->next; in flushNodes() 349 pos = pos->next; in flushNodes() 390 pos = head->next; in flushNodes() [all …]
|
/device/moto/shamu/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 191 struct cam_list *p_next = m_head.list.next; in enqueueWithPriority() 193 m_head.list.next = &node->list; in enqueueWithPriority() 195 node->list.next = p_next; in enqueueWithPriority() 230 pos = head->next; in dequeue() 268 pos = head->next; in flush() 272 pos = pos->next; in flush() 314 pos = head->next; in flushNodes() 318 pos = pos->next; in flushNodes() 359 pos = head->next; in flushNodes() 363 pos = pos->next; in flushNodes()
|
/device/generic/goldfish/qemud/ |
D | qemud.c | 645 Packet* next; member 663 _free_packets = p->next; in packet_alloc() 667 p->next = NULL; in packet_alloc() 682 p->next = _free_packets; in packet_free() 760 FDHandler* next; member 785 f->pref[0] = f->next; in fdhandler_remove() 786 if (f->next) in fdhandler_remove() 787 f->next->pref = f->pref; in fdhandler_remove() 794 f->next = list[0]; in fdhandler_prepend() 797 if (f->next) in fdhandler_prepend() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 78 pos = head->next; in mm_jpeg_queue_enq_head() 97 pos = head->next; in mm_jpeg_queue_deq() 141 pos = head->next; in mm_jpeg_queue_flush() 154 pos = pos->next; in mm_jpeg_queue_flush() 170 pos = head->next; in mm_jpeg_queue_peek()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 78 pos = head->next; in mm_jpeg_queue_enq_head() 99 pos = head->next; in mm_jpeg_queue_deq() 142 pos = head->next; in mm_jpeg_queue_flush() 155 pos = pos->next; in mm_jpeg_queue_flush() 173 pos = head->next; in mm_jpeg_queue_peek()
|
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 78 pos = head->next; in mm_jpeg_queue_enq_head() 99 pos = head->next; in mm_jpeg_queue_deq() 142 pos = head->next; in mm_jpeg_queue_flush() 155 pos = pos->next; in mm_jpeg_queue_flush() 173 pos = head->next; in mm_jpeg_queue_peek()
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 73 pos = head->next; in mm_jpeg_queue_peek() 94 pos = head->next; in mm_jpeg_queue_deq() 138 pos = head->next; in mm_jpeg_queue_flush() 151 pos = pos->next; in mm_jpeg_queue_flush()
|
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 116 pos = head->next; in mm_qcamera_queue_dequeue() 147 pos = head->next; in mm_qcamera_queue_flush() 151 pos = pos->next; in mm_qcamera_queue_flush()
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 116 pos = head->next; in mm_qcamera_queue_dequeue() 147 pos = head->next; in mm_qcamera_queue_flush() 151 pos = pos->next; in mm_qcamera_queue_flush()
|
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 116 pos = head->next; in mm_qcamera_queue_dequeue() 147 pos = head->next; in mm_qcamera_queue_flush() 151 pos = pos->next; in mm_qcamera_queue_flush()
|