Home
last modified time | relevance | path

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

/hardware/intel/common/wrs_omxil_core/utils/src/
Dqueue.c26 queue->tail = NULL; in __queue_init()
57 if (!queue->tail) in __queue_push_head()
58 queue->tail = queue->head; in __queue_push_head()
72 if (!queue->tail) in queue_push_head()
73 queue->tail = queue->head; in queue_push_head()
81 queue->tail = list_add_tail(queue->tail, entry); in __queue_push_tail()
82 if (queue->tail == NULL) { in __queue_push_tail()
85 if (queue->tail->next) in __queue_push_tail()
86 queue->tail = queue->tail->next; in __queue_push_tail()
88 queue->head = queue->tail; in __queue_push_tail()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/
Daci_queue.cxx36 aci_q->tail = 0; in aci_queue_init()
88 aci_q->aci_data[aci_q->tail].status_byte = 0; in aci_queue_enqueue()
89 …memcpy((uint8_t *)&(aci_q->aci_data[aci_q->tail].buffer[0]), (uint8_t *)&p_data->buffer[0], length… in aci_queue_enqueue()
90 aci_q->tail = (aci_q->tail + 1) % ACI_QUEUE_SIZE; in aci_queue_enqueue()
107 aci_q->aci_data[aci_q->tail].status_byte = 0; in aci_queue_enqueue_from_isr()
108 …memcpy((uint8_t *)&(aci_q->aci_data[aci_q->tail].buffer[0]), (uint8_t *)&p_data->buffer[0], length… in aci_queue_enqueue_from_isr()
109 aci_q->tail = (aci_q->tail + 1) % ACI_QUEUE_SIZE; in aci_queue_enqueue_from_isr()
122 if (aci_q->head == aci_q->tail) in aci_queue_is_empty()
135 return aci_q->head == aci_q->tail; in aci_queue_is_empty_from_isr()
147 next = (aci_q->tail + 1) % ACI_QUEUE_SIZE; in aci_queue_is_full()
[all …]
Daci_queue.h55 uint8_t tail; member
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
DMap.h47 node* tail; variable
52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 bool empty() const { return ( !head || !tail ); } in empty()
144 tail = new node(data, data2,tail, NULL); in insert()
145 if( tail->prev ) in insert()
146 tail->prev->next = tail; in insert()
150 head = tail; in insert()
167 if((head == tail) && (head->data == d)) in erase()
171 head = tail = NULL; in erase()
186 if((tmp == tail) && (tmp->data ==d)) in erase()
[all …]
Dh264_utils.h350 omx_dl_list() { head = tail = NULL; } ; in omx_dl_list()
359 NODE_STRUCT *head, *tail;
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/inc/
DMap.h47 node* tail; variable
52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 bool empty() const { return ( !head || !tail ); } in empty()
144 tail = new node(data, data2,tail, NULL); in insert()
145 if( tail->prev ) in insert()
146 tail->prev->next = tail; in insert()
150 head = tail; in insert()
167 if((head == tail) && (head->data == d)) in erase()
171 head = tail = NULL; in erase()
186 if((tmp == tail) && (tmp->data ==d)) in erase()
[all …]
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/inc/
DMap.h47 node* tail; variable
52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 bool empty() const { return ( !head || !tail ); } in empty()
144 tail = new node(data, data2,tail, NULL); in insert()
145 if( tail->prev ) in insert()
146 tail->prev->next = tail; in insert()
150 head = tail; in insert()
167 if((head == tail) && (head->data == d)) in erase()
171 head = tail = NULL; in erase()
186 if((tmp == tail) && (tmp->data ==d)) in erase()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
DMap.h45 node* tail; variable
50 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
52 return ( !head || !tail ); in empty()
148 tail = new node(data, data2,tail, NULL); in insert()
150 if ( tail->prev ) in insert()
151 tail->prev->next = tail; in insert()
154 head = tail; in insert()
171 if ((head == tail) && (head->data == d)) { in erase()
174 head = tail = NULL; in erase()
190 if ((tmp == tail) && (tmp->data ==d)) { in erase()
[all …]
Dh264_utils.h348 head = tail = NULL; in omx_dl_list()
358 NODE_STRUCT *head, *tail;
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/inc/
DMap.h47 node* tail; variable
52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 bool empty() const { return ( !head || !tail ); } in empty()
144 tail = new node(data, data2,tail, NULL); in insert()
145 if( tail->prev ) in insert()
146 tail->prev->next = tail; in insert()
150 head = tail; in insert()
167 if((head == tail) && (head->data == d)) in erase()
171 head = tail = NULL; in erase()
186 if((tmp == tail) && (tmp->data ==d)) in erase()
[all …]
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/inc/
DMap.h47 node* tail; variable
52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 bool empty() const { return ( !head || !tail ); } in empty()
144 tail = new node(data, data2,tail, NULL); in insert()
145 if( tail->prev ) in insert()
146 tail->prev->next = tail; in insert()
150 head = tail; in insert()
167 if((head == tail) && (head->data == d)) in erase()
171 head = tail = NULL; in erase()
186 if((tmp == tail) && (tmp->data ==d)) in erase()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
DMap.h46 node* tail; variable
51 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map()
53 return ( !head || !tail ); in empty()
149 tail = new node(data, data2,tail, NULL); in insert()
151 if ( tail->prev ) in insert()
152 tail->prev->next = tail; in insert()
155 head = tail; in insert()
172 if ((head == tail) && (head->data == d)) { in erase()
175 head = tail = NULL; in erase()
191 if ((tmp == tail) && (tmp->data ==d)) { in erase()
[all …]
Dh264_utils.h348 head = tail = NULL; in omx_dl_list()
358 NODE_STRUCT *head, *tail;
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
Dqueue.c46 Node *tail; member
55 q->head = q->tail = NULL; in alloc_queue()
95 q->tail->next = new_node; in push()
98 q->tail = new_node; in push()
117 q->head = q->tail = NULL; in pop()
Dh264_utils.cpp1643 head = tail = NULL; in remove_first()
1652 NODE_STRUCT *data = tail; in remove_last()
1653 if (tail) in remove_last()
1655 if (tail->prev) in remove_last()
1657 tail = tail->prev; in remove_last()
1658 tail->next = NULL; in remove_last()
1661 head = tail = NULL; in remove_last()
1673 data_ptr->prev = tail; in add_last()
1674 if (tail) in add_last()
1676 tail->next = data_ptr; in add_last()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
Dqueue.c44 Node *tail; member
53 q->head = q->tail = NULL; in alloc_queue()
90 q->tail->next = new_node; in push()
93 q->tail = new_node; in push()
111 q->head = q->tail = NULL; in pop()
Dh264_utils.cpp1540 head = tail = NULL; in remove_first()
1549 NODE_STRUCT *data = tail; in remove_last()
1550 if (tail) { in remove_last()
1551 if (tail->prev) { in remove_last()
1552 tail = tail->prev; in remove_last()
1553 tail->next = NULL; in remove_last()
1555 head = tail = NULL; in remove_last()
1566 data_ptr->prev = tail; in add_last()
1567 if (tail) { in add_last()
1568 tail->next = data_ptr; in add_last()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/
Dvpx_mem_tracker.c99 * tail; member
166 memtrack.tail = memtrack.head; in vpx_memory_tracker_init()
228 memtrack.tail = NULL; in vpx_memory_tracker_destroy()
539 p->prev = memtrack.tail; in memory_tracker_add()
548 memtrack.tail = p; in memory_tracker_add()
590 memtrack.tail = p->prev; in memory_tracker_remove()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Dh264_utils.cpp1540 head = tail = NULL; in remove_first()
1549 NODE_STRUCT *data = tail; in remove_last()
1550 if (tail) { in remove_last()
1551 if (tail->prev) { in remove_last()
1552 tail = tail->prev; in remove_last()
1553 tail->next = NULL; in remove_last()
1555 head = tail = NULL; in remove_last()
1566 data_ptr->prev = tail; in add_last()
1567 if (tail) { in add_last()
1568 tail->next = data_ptr; in add_last()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c246 PKTSETLINK(q->tail, p); in pktq_penq()
250 q->tail = p; in pktq_penq()
275 q->tail = p; in pktq_penq_head()
303 q->tail = NULL; in pktq_pdeq()
364 q->tail = NULL; in pktq_pdeq_with_fn()
391 for (prev = NULL; p != q->tail; p = PKTLINK(p)) in pktq_pdeq_tail()
399 q->tail = prev; in pktq_pdeq_tail()
435 q->tail = NULL; in pktq_pflush()
454 q->tail = NULL; in pktq_pdel()
462 if (q->tail == pktbuf) in pktq_pdel()
[all …]
/hardware/intel/common/wrs_omxil_core/utils/inc/
Dqueue.h30 struct list *tail; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
Dftfy.sh71 diff -u "$ORIG_COMMIT_MSG" "$NEW_COMMIT_MSG" | tail -n +3
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/
Dnestegg.c156 struct ebml_list_node * tail; member
923 oldtail = list->tail; in ne_read_master()
926 list->tail = node; in ne_read_master()
1349 assert(ctx->segment.cluster.tail->id == ID_CLUSTER); in ne_read_block()
1350 cluster = ctx->segment.cluster.tail->data; in ne_read_block()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h104 void *tail; /* last packet to dequeue */ member
295 #define pktq_ppeek_tail(pq, prec) ((pq)->q[prec].tail)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dconfigure.sh921 awk '{ print $1 }' | tail -1`