/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/ |
D | Map.h | 46 node* head; variable 52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 53 bool empty() const { return ( !head || !tail ); } in empty() 66 while(head) in ~Map() 68 node* temp(head); in ~Map() 69 head=head->next; in ~Map() 79 tmp = head; in find() 94 tmp = head; in find_ele() 109 tmp = head; in begin() 120 tmp = head; in show() [all …]
|
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 44 node* head; variable 50 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 52 return ( !head || !tail ); in empty() 67 while (head) { in ~Map() 68 node* temp(head); in ~Map() 69 head=head->next; in ~Map() 79 tmp = head; in find() 95 tmp = head; in find_ele() 111 tmp = head; in begin() 123 tmp = head; in show() [all …]
|
/hardware/qcom/sm8150/media/libarbitrarybytes/inc/ |
D | Map.h | 44 node* head; variable 50 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 52 return ( !head || !tail ); in empty() 67 while (head) { in ~Map() 68 node* temp(head); in ~Map() 69 head=head->next; in ~Map() 79 tmp = head; in find() 95 tmp = head; in find_ele() 111 tmp = head; in begin() 123 tmp = head; in show() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 45 node* head; variable 51 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 53 return ( !head || !tail ); in empty() 68 while (head) { in ~Map() 69 node* temp(head); in ~Map() 70 head=head->next; in ~Map() 80 tmp = head; in find() 96 tmp = head; in find_ele() 112 tmp = head; in begin() 124 tmp = head; in show() [all …]
|
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 44 node* head; variable 50 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 52 return ( !head || !tail ); in empty() 67 while (head) { in ~Map() 68 node* temp(head); in ~Map() 69 head=head->next; in ~Map() 79 tmp = head; in find() 95 tmp = head; in find_ele() 111 tmp = head; in begin() 123 tmp = head; in show() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 40 cam_list_init(&queue->head.list); in mm_jpeg_queue_init() 58 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq() 68 struct cam_list *head = NULL; in mm_jpeg_queue_enq_head() local 80 head = &queue->head.list; in mm_jpeg_queue_enq_head() 81 pos = head->next; in mm_jpeg_queue_enq_head() 95 struct cam_list *head = NULL; in mm_jpeg_queue_deq() local 101 head = &queue->head.list; in mm_jpeg_queue_deq() 102 pos = head->next; in mm_jpeg_queue_deq() 103 if (pos != head) { in mm_jpeg_queue_deq() 140 struct cam_list *head = NULL; in mm_jpeg_queue_flush() local [all …]
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | list.h | 39 void add_to_list(struct list_head *latest, struct list_head *head); 40 void list_add_tail(struct list_head *latest, struct list_head *head); 45 #define list_for_each(ref, head) \ argument 46 for (ref = (head)->next; ref->next, ref != (head); ref = ref->next) 57 #define list_for_each_entry(ref, head, member) \ argument 58 for (ref = list_entry((head)->next, typeof(*ref), member); \ 59 ref->member.next, &ref->member != (head); \ 62 #define list_for_each_entry_safe(pos, n, head, member) \ argument 63 for (pos = list_entry((head)->next, typeof(*pos), member), \ 65 &pos->member != (head); \ [all …]
|
D | list.cpp | 47 void add_to_list(struct list_head *latest, struct list_head *head) in add_to_list() argument 49 list_add(latest, head, head->next); in add_to_list() 52 void list_add_tail(struct list_head *latest, struct list_head *head) in list_add_tail() argument 54 list_add(latest, head->prev, head); in list_add_tail()
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | list.h | 39 void add_to_list(struct list_head *latest, struct list_head *head); 40 void list_add_tail(struct list_head *latest, struct list_head *head); 45 #define list_for_each(ref, head) \ argument 46 for (ref = (head)->next; ref->next, ref != (head); ref = ref->next) 57 #define list_for_each_entry(ref, head, member) \ argument 58 for (ref = list_entry((head)->next, typeof(*ref), member); \ 59 ref->member.next, &ref->member != (head); \ 62 #define list_for_each_entry_safe(pos, n, head, member) \ argument 63 for (pos = list_entry((head)->next, typeof(*pos), member), \ 65 &pos->member != (head); \ [all …]
|
D | list.cpp | 47 void add_to_list(struct list_head *latest, struct list_head *head) in add_to_list() argument 49 list_add(latest, head, head->next); in add_to_list() 52 void list_add_tail(struct list_head *latest, struct list_head *head) in list_add_tail() argument 54 list_add(latest, head->prev, head); in list_add_tail()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/common/ |
D | cam_queue.h | 42 cam_node_t head; /* dummy head */ member 50 cam_list_init(&queue->head.list); in cam_queue_init() 67 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq() 78 struct cam_list *head = NULL; in cam_queue_deq() local 82 head = &queue->head.list; in cam_queue_deq() 83 pos = head->next; in cam_queue_deq() 84 if (pos != head) { in cam_queue_deq() 102 struct cam_list *head = NULL; in cam_queue_flush() local 106 head = &queue->head.list; in cam_queue_flush() 107 pos = head->next; in cam_queue_flush() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraQueue.cpp | 226 struct cam_list *head = NULL; in peek() local 231 head = &m_head.list; in peek() 232 pos = head->next; in peek() 233 if (pos != head) { in peek() 261 struct cam_list *head = NULL; in dequeue() local 266 head = &m_head.list; in dequeue() 268 pos = head->next; in dequeue() 270 pos = head->prev; in dequeue() 272 if (pos != head) { in dequeue() 301 struct cam_list *head = NULL; in dequeue() local [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | list.h | 209 #define LIST_FOR_EACH_ENTRY(pos, head, member) \ argument 210 for (pos = NULL, pos = list_container_of((head)->next, pos, member); \ 211 &pos->member != (head); \ 214 #define LIST_FOR_EACH_ENTRY_SAFE(pos, storage, head, member) \ argument 215 for (pos = NULL, pos = list_container_of((head)->next, pos, member), \ 217 &pos->member != (head); \ 220 #define LIST_FOR_EACH_ENTRY_SAFE_REV(pos, storage, head, member) \ argument 221 for (pos = NULL, pos = list_container_of((head)->prev, pos, member), \ 223 &pos->member != (head); \ 226 #define LIST_FOR_EACH_ENTRY_FROM(pos, start, head, member) \ argument [all …]
|
D | u_vector.c | 48 vector->head = 0; in u_vector_init_pow2() 63 if (vector->head - vector->tail == vector->size) { in u_vector_add() 82 assert(vector->tail <= split && split < vector->head); in u_vector_add() 86 vector->head - split); in u_vector_add() 93 assert(vector->head - vector->tail < vector->size); in u_vector_add() 95 offset = vector->head & (vector->size - 1); in u_vector_add() 96 vector->head += vector->element_size; in u_vector_add() 106 if (vector->head == vector->tail) in u_vector_remove() 109 assert(vector->head - vector->tail <= vector->size); in u_vector_remove()
|
D | u_vector.h | 42 uint32_t head; member 69 return (queue->head - queue->tail) / queue->element_size; in u_vector_length() 75 assert(vector->tail < vector->head); in u_vector_head() 77 ((vector->head - vector->element_size) & in u_vector_head() 104 __u_vector_offset != (queue)->head; \
|
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/ |
D | phNxpEseDataMgr.cpp | 25 static phNxpEse_sCoreRecvBuff_List_t *head = NULL, *current = NULL; variable 28 static ESESTATUS phNxpEse_DeletList(phNxpEse_sCoreRecvBuff_List_t* head); 66 phNxpEse_DeletList(head); in phNxpEse_GetData() 68 head = NULL; in phNxpEse_GetData() 97 if (head == NULL) { in phNxpEse_StoreDatainList() 98 head = newNode; in phNxpEse_StoreDatainList() 119 if (head == NULL || pbuff == NULL) { in phNxpEse_GetDataFromList() 123 new_node = head; in phNxpEse_GetDataFromList() 143 static ESESTATUS phNxpEse_DeletList(phNxpEse_sCoreRecvBuff_List_t* head) { in phNxpEse_DeletList() argument 146 current = head; in phNxpEse_DeletList() [all …]
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | DataMgmt.cc | 26 static TpduRecvBuff_List_t *head = NULL, *current = NULL; variable 29 static int DataMgmt_DeletList(TpduRecvBuff_List_t* head); 67 DataMgmt_DeletList(head); in DataMgmt_GetData() 69 head = NULL; in DataMgmt_GetData() 103 if (head == NULL) { in DataMgmt_StoreDataInList() 104 head = newNode; in DataMgmt_StoreDataInList() 124 if (head == NULL || pbuff == NULL) { in DataMgmt_GetDataFromList() 128 new_node = head; in DataMgmt_GetDataFromList() 149 static int DataMgmt_DeletList(TpduRecvBuff_List_t* head) { in DataMgmt_DeletList() argument 151 current = head; in DataMgmt_DeletList() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_EvtDispatcher.cpp | 50 cmd_evts *IPACM_EvtDispatcher::head = NULL; member in IPACM_EvtDispatcher 121 cmd_evts *tmp = head, tmp1; in ProcessEvt() 123 if(head == NULL) in ProcessEvt() 152 cmd_evts *tmp = head,*nw; in registr() 166 if(head == NULL) in registr() 168 head = nw; in registr() 184 cmd_evts *tmp = head,*tmp1,*prev = head; in deregistr() 191 if(tmp == head) in deregistr() 193 head = head->next; in deregistr()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_EvtDispatcher.cpp | 50 cmd_evts *IPACM_EvtDispatcher::head = NULL; member in IPACM_EvtDispatcher 121 cmd_evts *tmp = head, tmp1; in ProcessEvt() 123 if(head == NULL) in ProcessEvt() 152 cmd_evts *tmp = head,*nw; in registr() 166 if(head == NULL) in registr() 168 head = nw; in registr() 184 cmd_evts *tmp = head,*tmp1,*prev = head; in deregistr() 191 if(tmp == head) in deregistr() 193 head = head->next; in deregistr()
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/ |
D | phNxpEseDataMgr.cpp | 24 static phNxpEse_sCoreRecvBuff_List_t *head = NULL, *current = NULL; variable 27 static ESESTATUS phNxpEse_DeletList(phNxpEse_sCoreRecvBuff_List_t* head); 51 phNxpEse_DeletList(head); in phNxpEse_GetData() 52 head = NULL; in phNxpEse_GetData() 107 if (head == NULL) { in phNxpEse_StoreDatainList() 108 head = newNode; in phNxpEse_StoreDatainList() 129 if (head == NULL || pbuff == NULL) { in phNxpEse_GetDataFromList() 133 new_node = head; in phNxpEse_GetDataFromList() 153 static ESESTATUS phNxpEse_DeletList(phNxpEse_sCoreRecvBuff_List_t* head) { in phNxpEse_DeletList() argument 156 current = head; in phNxpEse_DeletList() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | queue.c | 43 Node *head; member 53 q->head = q->tail = NULL; in alloc_queue() 88 q->head = new_node; in push() 107 temp = q->head; in pop() 111 q->head = q->tail = NULL; in pop() 113 q->head = q->head->next; in pop()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | queue.c | 45 Node *head; member 55 q->head = q->tail = NULL; in alloc_queue() 91 q->head = new_node; in push() 112 temp = q->head; in pop() 117 q->head = q->tail = NULL; in pop() 121 q->head = q->head->next; in pop()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 111 struct cam_list *head = NULL; in mm_qcamera_queue_dequeue() local 115 head = &queue->m_head.list; in mm_qcamera_queue_dequeue() 117 pos = head->next; in mm_qcamera_queue_dequeue() 119 pos = head->prev; in mm_qcamera_queue_dequeue() 121 if (pos != head) { in mm_qcamera_queue_dequeue() 139 struct cam_list *head = NULL; in mm_qcamera_queue_flush() local 147 head = &queue->m_head.list; in mm_qcamera_queue_flush() 148 pos = head->next; in mm_qcamera_queue_flush() 150 while(pos != head) { in mm_qcamera_queue_flush()
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/ |
D | ringbuffer.cpp | 28 uint8_t* head; member 38 p->head = p->tail = p->base; in ringbuffer_init() 79 rb->head += length; in ringbuffer_delete() 80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_delete() 93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; in ringbuffer_peek() 111 rb->head += copied; in ringbuffer_pop() 112 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_pop()
|
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/ |
D | ringbuffer.cpp | 28 uint8_t* head; member 38 p->head = p->tail = p->base; in ringbuffer_init() 79 rb->head += length; in ringbuffer_delete() 80 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_delete() 93 uint8_t* b = ((rb->head - rb->base + offset) % rb->total) + rb->base; in ringbuffer_peek() 111 rb->head += copied; in ringbuffer_pop() 112 if (rb->head >= (rb->base + rb->total)) rb->head -= rb->total; in ringbuffer_pop()
|