Home
last modified time | relevance | path

Searched refs:head (Results 1 – 25 of 57) sorted by relevance

123

/hardware/google/av/codec2/include/
D_C2MacroUtils.h80 #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/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
DMap.h45 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/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
DMap.h44 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/msm8998/mm-video-v4l2/vidc/vdec/inc/
DMap.h44 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/msm8996/mm-video-v4l2/vidc/vdec/inc/
DMap.h44 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/
DMap.h46 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/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_queue.c40 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/camera/msm8998/QCamera2/stack/common/
Dcam_queue.h42 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 …]
Dcam_list.h55 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/
DQCameraQueue.cpp226 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/
DphNxpEseDataMgr.cpp25 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/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_EvtDispatcher.cpp50 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/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_EvtDispatcher.cpp50 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()
DIPACM_IfaceManager.cpp52 iface_instances *IPACM_IfaceManager::head = NULL; member in IPACM_IfaceManager
521 iface_instances *tmp = head,*nw; in registr()
535 if(head == NULL) in registr()
537 head = nw; in registr()
552 iface_instances *tmp = head,*tmp1,*prev = head; in deregistr()
559 if(tmp == head) in deregistr()
561 head = head->next; in deregistr()
588 iface_instances *tmp = head; in SearchInstance()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dqueue.c45 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/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dqueue.c43 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/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c111 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/
Dringbuffer.cpp28 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/
Dmsm8960_use_cases.h287 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/
DRilSapSocket.cpp31 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/
Dbcmutils.c245 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 …]
/hardware/qcom/msm8998/json-c/
Dlinkhash.c466 ent = t->head; in lh_table_resize()
474 t->head = new_t->head; in lh_table_resize()
483 for(c = t->head; c != NULL; c = c->next) { in lh_table_free()
513 if(t->head == NULL) { in lh_table_insert()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
575 if(t->tail == &t->table[n] && t->head == &t->table[n]) { in lh_table_delete_entry()
576 t->head = t->tail = NULL; in lh_table_delete_entry()
577 } else if (t->head == &t->table[n]) { in lh_table_delete_entry()
578 t->head->next->prev = NULL; in lh_table_delete_entry()
579 t->head = t->head->next; in lh_table_delete_entry()
Dlinkhash.h128 struct lh_entry *head; member
160 for(entry = table->head; entry; entry = entry->next)
166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
DReturnIn.h46 void set(Head&& head, Tail&&... tail) { in set() argument
47 std::get<sizeof...(ResultStore) - sizeof...(Tail) - 1>(results) = std::forward<Head>(head); in set()
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocIpc.cpp210 std::string head = LOC_MSG_HEAD; in sendData() local
211 head.append(std::to_string(length)); in sendData()
212 if (::sendto(fd, head.c_str(), head.length(), 0, in sendData()

123