Home
last modified time | relevance | path

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

12

/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/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/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/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/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()
Dh264_utils.cpp1534 NODE_STRUCT *data = head; in remove_first()
1535 if (head) { in remove_first()
1536 if (head->next) { in remove_first()
1537 head = head->next; in remove_first()
1538 head->prev = NULL; in remove_first()
1540 head = tail = NULL; in remove_first()
1555 head = tail = NULL; in remove_last()
1571 head = tail = data_ptr; in add_last()
1578 return head; in watch_first()
/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()
Dh264_utils.cpp1634 NODE_STRUCT *data = head; in remove_first()
1635 if (head) in remove_first()
1637 if (head->next) in remove_first()
1639 head = head->next; in remove_first()
1640 head->prev = NULL; in remove_first()
1643 head = tail = NULL; in remove_first()
1661 head = tail = NULL; in remove_last()
1680 head = tail = data_ptr; in add_last()
1687 return head; in watch_first()
/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/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/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()
Dwsbm_manager.c163 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateListAddNode()
169 WSBMLISTADDTAIL(&node->head, &list->list); in validateListAddNode()
204 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateFreeList()
216 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateFreeList()
239 WSBMLISTADD(&node->head, &list->free); in validateListAdjustNodes()
247 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateListAdjustNodes()
311 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateResetList()
1312 return WSBMLISTENTRY(l, struct _ValidateNode, head); in validateListNode()
Dwsbm_driver.h106 struct _WsbmListHead head; member
/hardware/ril/libril/
DRilSapSocket.cpp31 static RilSapSocket::RilSapSocketList *head = NULL; variable
88 RilSapSocketList *current = head; in printList()
99 RilSapSocketList *current = head; in getSocketById()
166 if(NULL == head) { in addSocketToList()
167 head = listItem; in addSocketToList()
168 head->next = NULL; in addSocketToList()
171 current = head; in addSocketToList()
181 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/intel/bootstub/
D2ndbootloader.lds7 .text.head : {
9 *(.text.head) argument
/hardware/interfaces/audio/2.0/vts/functional/utility/
DReturnIn.h37 void set(Head&& head, Tail&&... tail) { in set() argument
39 = std::forward<Head>(head); in set()
/hardware/intel/common/wrs_omxil_core/utils/inc/
Dqueue.h29 struct list *head; member
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp1534 NODE_STRUCT *data = head; in remove_first()
1535 if (head) { in remove_first()
1536 if (head->next) { in remove_first()
1537 head = head->next; in remove_first()
1538 head->prev = NULL; in remove_first()
1540 head = tail = NULL; in remove_first()
1555 head = tail = NULL; in remove_last()
1571 head = tail = data_ptr; in add_last()
1578 return head; in watch_first()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp1534 NODE_STRUCT *data = head; in remove_first()
1535 if (head) { in remove_first()
1536 if (head->next) { in remove_first()
1537 head = head->next; in remove_first()
1538 head->prev = NULL; in remove_first()
1540 head = tail = NULL; in remove_first()
1555 head = tail = NULL; in remove_last()
1571 head = tail = data_ptr; in add_last()
1578 return head; in watch_first()

12