/hardware/google/av/codec2/include/ |
D | _C2MacroUtils.h | 80 #define _C2_MAP_64(fn, arg, head, ...) fn(head, arg), _C2_MAP_63(fn, arg, ##__VA_ARGS__) argument 81 #define _C2_MAP_63(fn, arg, head, ...) fn(head, arg), _C2_MAP_62(fn, arg, ##__VA_ARGS__) argument 82 #define _C2_MAP_62(fn, arg, head, ...) fn(head, arg), _C2_MAP_61(fn, arg, ##__VA_ARGS__) argument 83 #define _C2_MAP_61(fn, arg, head, ...) fn(head, arg), _C2_MAP_60(fn, arg, ##__VA_ARGS__) argument 84 #define _C2_MAP_60(fn, arg, head, ...) fn(head, arg), _C2_MAP_59(fn, arg, ##__VA_ARGS__) argument 85 #define _C2_MAP_59(fn, arg, head, ...) fn(head, arg), _C2_MAP_58(fn, arg, ##__VA_ARGS__) argument 86 #define _C2_MAP_58(fn, arg, head, ...) fn(head, arg), _C2_MAP_57(fn, arg, ##__VA_ARGS__) argument 87 #define _C2_MAP_57(fn, arg, head, ...) fn(head, arg), _C2_MAP_56(fn, arg, ##__VA_ARGS__) argument 88 #define _C2_MAP_56(fn, arg, head, ...) fn(head, arg), _C2_MAP_55(fn, arg, ##__VA_ARGS__) argument 89 #define _C2_MAP_55(fn, arg, head, ...) fn(head, arg), _C2_MAP_54(fn, arg, ##__VA_ARGS__) argument [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-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/sdm845/media/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/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/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 …]
|
D | cam_list.h | 55 struct cam_list *head) in cam_list_add_tail_node() argument 57 struct cam_list *prev = head->prev; in cam_list_add_tail_node() 59 head->prev = item; in cam_list_add_tail_node() 60 item->next = head; in cam_list_add_tail_node()
|
/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/nxp/secure_element/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() 93 if (head == NULL) { in phNxpEse_StoreDatainList() 94 head = newNode; in phNxpEse_StoreDatainList() 115 if (head == NULL || pbuff == NULL) { in phNxpEse_GetDataFromList() 119 new_node = head; in phNxpEse_GetDataFromList() 139 static ESESTATUS phNxpEse_DeletList(phNxpEse_sCoreRecvBuff_List_t* head) { in phNxpEse_DeletList() argument 142 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/sdm845/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/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/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/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/qcom/audio/legacy/libalsa-intf/ |
D | msm8960_use_cases.h | 287 static int snd_ucm_add_ident_to_list(struct snd_ucm_ident_node **head, const char *value); 288 static char *snd_ucm_get_value_at_index(struct snd_ucm_ident_node *head, int index); 289 static int snd_ucm_get_size_of_list(struct snd_ucm_ident_node *head); 290 static int snd_ucm_del_ident_from_list(struct snd_ucm_ident_node **head, const char *value); 291 static int snd_ucm_free_list(struct snd_ucm_ident_node **head); 292 static void snd_ucm_print_list(struct snd_ucm_ident_node *head); 293 static void snd_ucm_set_status_at_index(struct snd_ucm_ident_node *head, const char *ident, int sta… 294 static int snd_ucm_get_status_at_index(struct snd_ucm_ident_node *head, const char *ident); 295 struct snd_ucm_ident_node *snd_ucm_get_device_node(struct snd_ucm_ident_node *head, int index);
|
/hardware/ril/libril/ |
D | RilSapSocket.cpp | 31 static RilSapSocket::RilSapSocketList *head = NULL; variable 87 RilSapSocketList *current = head; in printList() 98 RilSapSocketList *current = head; in getSocketById() 165 if(NULL == head) { in addSocketToList() 166 head = listItem; in addSocketToList() 167 head->next = NULL; in addSocketToList() 170 current = head; in addSocketToList() 180 RilSapSocketList* current = head; in SocketExists()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 245 if (q->head) in pktq_penq() 248 q->head = p; in pktq_penq() 274 if (q->head == NULL) in pktq_penq_head() 277 PKTSETLINK(p, q->head); in pktq_penq_head() 278 q->head = p; in pktq_penq_head() 299 if ((p = q->head) == NULL) in pktq_pdeq() 302 if ((q->head = PKTLINK(p)) == NULL) in pktq_pdeq() 349 p = q->head; in pktq_pdeq_with_fn() 363 if ((q->head = PKTLINK(p)) == NULL) in pktq_pdeq_with_fn() 388 if ((p = q->head) == NULL) in pktq_pdeq_tail() [all …]
|