Home
last modified time | relevance | path

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

12

/hardware/qcom/media/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/media/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/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_queue.c37 cam_list_init(&queue->head.list); in mm_jpeg_queue_init()
55 cam_list_add_tail_node(&node->list, &queue->head.list); in mm_jpeg_queue_enq()
65 struct cam_list *head = NULL; in mm_jpeg_queue_enq_head() local
77 head = &queue->head.list; in mm_jpeg_queue_enq_head()
78 pos = head->next; in mm_jpeg_queue_enq_head()
92 struct cam_list *head = NULL; in mm_jpeg_queue_deq() local
98 head = &queue->head.list; in mm_jpeg_queue_deq()
99 pos = head->next; in mm_jpeg_queue_deq()
100 if (pos != head) { in mm_jpeg_queue_deq()
137 struct cam_list *head = NULL; in mm_jpeg_queue_flush() local
[all …]
/hardware/qcom/camera/QCamera2/stack/common/
Dcam_queue.h38 cam_node_t head; /* dummy head */ member
46 cam_list_init(&queue->head.list); in cam_queue_init()
63 cam_list_add_tail_node(&node->list, &queue->head.list); in cam_queue_enq()
74 struct cam_list *head = NULL; in cam_queue_deq() local
78 head = &queue->head.list; in cam_queue_deq()
79 pos = head->next; in cam_queue_deq()
80 if (pos != head) { in cam_queue_deq()
98 struct cam_list *head = NULL; in cam_queue_flush() local
102 head = &queue->head.list; in cam_queue_flush()
103 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/intel/common/wrs_omxil_core/utils/src/
Dqueue.c25 queue->head = NULL; in __queue_init()
48 struct list *list = queue->head; in queue_free_all()
56 queue->head = __list_add_head(queue->head, entry); in __queue_push_head()
58 queue->tail = queue->head; in __queue_push_head()
70 queue->head = __list_add_head(queue->head, entry); in queue_push_head()
73 queue->tail = queue->head; in queue_push_head()
88 queue->head = queue->tail; in __queue_push_tail()
105 queue->head = queue->tail; in queue_push_tail()
113 struct list *entry = queue->head; in __queue_pop_head()
116 queue->head = __list_remove(queue->head, entry); in __queue_pop_head()
[all …]
Dmodule.c49 static struct module *module_find_with_name(struct module *head, in module_find_with_name() argument
54 for_each_module(module, head) { in module_find_with_name()
62 static struct module *module_find_with_handle(struct module *head, in module_find_with_handle() argument
67 for_each_module(module, head) { in module_find_with_handle()
75 static struct module *module_add_list(struct module *head, in module_add_list() argument
80 last = find_last_module(head); in module_add_list()
84 head = add; in module_add_list()
86 return head; in module_add_list()
89 static struct module *module_del_list(struct module *head, in module_del_list() argument
94 for_each_module(prev, head) { in module_del_list()
[all …]
/hardware/qcom/camera/QCamera2/util/
DQCameraQueue.cpp219 struct cam_list *head = NULL; in peek() local
224 head = &m_head.list; in peek()
225 pos = head->next; in peek()
226 if (pos != head) { in peek()
254 struct cam_list *head = NULL; in dequeue() local
259 head = &m_head.list; in dequeue()
261 pos = head->next; in dequeue()
263 pos = head->prev; in dequeue()
265 if (pos != head) { in dequeue()
293 struct cam_list *head = NULL; in flush() local
[all …]
/hardware/qcom/media/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/media/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/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c110 struct cam_list *head = NULL; in mm_qcamera_queue_dequeue() local
114 head = &queue->m_head.list; in mm_qcamera_queue_dequeue()
116 pos = head->next; in mm_qcamera_queue_dequeue()
118 pos = head->prev; in mm_qcamera_queue_dequeue()
120 if (pos != head) { in mm_qcamera_queue_dequeue()
138 struct cam_list *head = NULL; in mm_qcamera_queue_flush() local
146 head = &queue->m_head.list; in mm_qcamera_queue_flush()
147 pos = head->next; in mm_qcamera_queue_flush()
149 while(pos != head) { in mm_qcamera_queue_flush()
/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);
Dalsa_ucm.c3711 static int snd_ucm_add_ident_to_list(struct snd_ucm_ident_node **head, in snd_ucm_add_ident_to_list() argument
3727 if (*head == NULL) { in snd_ucm_add_ident_to_list()
3728 *head = node; in snd_ucm_add_ident_to_list()
3730 temp = *head; in snd_ucm_add_ident_to_list()
3736 ALOGV("add_to_list: head %p, value %s", *head, node->ident); in snd_ucm_add_ident_to_list()
3745 static int snd_ucm_get_status_at_index(struct snd_ucm_ident_node *head, in snd_ucm_get_status_at_index() argument
3748 while (head != NULL) { in snd_ucm_get_status_at_index()
3749 if(!strncmp(ident, head->ident, (strlen(head->ident)+1))) { in snd_ucm_get_status_at_index()
3752 head = head->next; in snd_ucm_get_status_at_index()
3754 if (head == NULL) { in snd_ucm_get_status_at_index()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
Dvpx_mem_tracker.c98 struct mem_block *head, member
160 if ((memtrack.head = (struct mem_block *) in vpx_memory_tracker_init()
164 MEM_TRACK_MEMSET(memtrack.head, 0, sizeof(struct mem_block)); in vpx_memory_tracker_init()
166 memtrack.tail = memtrack.head; in vpx_memory_tracker_init()
193 MEM_TRACK_FREE(memtrack.head); in vpx_memory_tracker_init()
194 memtrack.head = NULL; in vpx_memory_tracker_init()
215 struct mem_block *p = memtrack.head, in vpx_memory_tracker_destroy()
216 * p2 = memtrack.head; in vpx_memory_tracker_destroy()
227 memtrack.head = NULL; in vpx_memory_tracker_destroy()
442 struct mem_block *p = (memtrack.head ? memtrack.head->next : NULL); in memory_tracker_dump()
[all …]
/hardware/intel/common/libwsbm/src/
Dwsbm_slabpool.c91 struct _WsbmListHead head; member
124 struct _WsbmListHead head; member
130 struct _WsbmListHead head; member
268 WSBMLISTDELINIT(&kbo->head); in wsbmFreeTimeoutKBOsLocked()
296 WSBMLISTADD(&kbo->head, &cache->cached); in wsbmSetKernelBOFree()
298 WSBMLISTADD(&kbo->head, &cache->unCached); in wsbmSetKernelBOFree()
315 struct _WsbmListHead *list, *head; in wsbmAllocKernelBO() local
335 head = (slabPool->proposedPlacement & TTM_PL_FLAG_CACHED) ? in wsbmAllocKernelBO()
338 WSBMLISTFOREACH(list, head) { in wsbmAllocKernelBO()
339 kboTmp = WSBMLISTENTRY(list, struct _WsbmSlabKernelBO, head); in wsbmAllocKernelBO()
[all …]
Dwsbm_fencemgr.c47 struct _WsbmListHead head; member
106 struct _WsbmListHead head; member
134 WSBMINITLISTHEAD(&fc->head); in wsbmFenceMgrCreate()
175 WSBMLISTDELINIT(&fence->head); in wsbmFenceUnreference()
197 while (list != &fc->head && list->next != list) { in wsbmSignalPreviousFences()
198 entry = WSBMLISTENTRY(list, struct _WsbmFenceObject, head); in wsbmSignalPreviousFences()
236 wsbmSignalPreviousFences(mgr, &fence->head, fence->fence_class, in wsbmFenceFinish()
278 wsbmSignalPreviousFences(mgr, &fence->head, fence->fence_class, in wsbmFenceSignaledType()
325 WSBMLISTADDTAIL(&fence->head, &fc->head); in wsbmFenceCreateSig()
Dwsbm_mm.c259 struct _WsbmListHead *head = &mm->ml_entry; in wsbmMMclean() local
261 return (head->next->next == head); in wsbmMMclean()
/hardware/intel/common/wrs_omxil_core/core/src/
Dwrs_omxcore.cpp48 struct list *head = NULL; in construct_components() local
91 head = __list_add_tail(head, entry); in construct_components()
106 return head; in construct_components()
109 static struct list *destruct_components(struct list *head) in destruct_components() argument
113 list_foreach_safe(head, entry, next) { in destruct_components()
116 head = __list_delete(head, entry); in destruct_components()
120 return head; in destruct_components()
/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/ti/omap3/dspbridge/inc/
Dlist.h60 #define LST_IsEmpty(l) (((l)->head.next == &(l)->head))
71 struct LST_ELEM head; member
/hardware/ti/omap3/dspbridge/libbridge/inc/
Dlist.h60 #define LST_IsEmpty(l) (((l)->head.next == &(l)->head))
71 struct LST_ELEM head; member
/hardware/intel/bootstub/
D2ndbootloader.lds7 .text.head : {
9 *(.text.head) argument
/hardware/ril/libril/
DRilSapSocket.cpp29 static RilSapSocket::RilSapSocketList *head = NULL; variable
93 RilSapSocketList *current = head; in printList()
104 RilSapSocketList *current = head; in getSocketById()
170 if(NULL == head) { in addSocketToList()
171 head = listItem; in addSocketToList()
172 head->next = NULL; in addSocketToList()
175 current = head; in addSocketToList()
186 RilSapSocketList* current = head; in SocketExists()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/internal/
Dvpx_codec_internal.h462 union {struct vpx_codec_pkt_list head;\
463 struct {struct vpx_codec_pkt_list head;\
467 (m)->alloc.head.cnt = 0,\
468 (m)->alloc.head.max = sizeof((m)->alloc.pkts) / sizeof((m)->alloc.pkts[0])
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/
Dnestegg.c155 struct ebml_list_node * head; member
927 if (!list->head) in ne_read_master()
928 list->head = node; in ne_read_master()
1210 node = ctx->segment.tracks.track_entry.head; in ne_map_track_number_to_index()
1231 node = ctx->segment.tracks.track_entry.head; in ne_find_track_entry()
1440 struct ebml_list * head; in ne_find_seek_for_id() local
1447 head = seek_head->data; in ne_find_seek_for_id()
1448 seek = head->head; in ne_find_seek_for_id()
1508 if (ne_find_cue_position_for_track(ctx, c->cue_track_positions.head, track) != NULL) in ne_find_cue_point_for_tstamp()
1536 struct ebml_list_node * node = ctx->segment.cues.cue_point.head; in ne_init_cue_points()
[all …]

12