Home
last modified time | relevance | path

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

12

/hardware/qcom/sm8150/media/libarbitrarybytes/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.h305 head = tail = NULL; in omx_dl_list()
315 NODE_STRUCT *head, *tail;
/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/media/msm8998/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/sdm845/media/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 …]
/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/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/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/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/nxp/secure_element/libese-spi/p73/utils/
Dringbuffer.cpp29 uint8_t* tail; member
38 p->head = p->tail = p->base; in ringbuffer_init()
66 *rb->tail++ = *p++; in ringbuffer_insert()
67 if (rb->tail >= (rb->base + rb->total)) rb->tail = rb->base; in ringbuffer_insert()
/hardware/qcom/msm8998/json-c/
Dlinkhash.c475 t->tail = new_t->tail; in lh_table_resize()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
517 t->tail->next = &t->table[n]; in lh_table_insert()
518 t->table[n].prev = t->tail; in lh_table_insert()
520 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()
580 } else if (t->tail == &t->table[n]) { in lh_table_delete_entry()
581 t->tail->prev->next = NULL; in lh_table_delete_entry()
582 t->tail = t->tail->prev; in lh_table_delete_entry()
Dlinkhash.h133 struct lh_entry *tail; member
/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
DReturnIn.h46 void set(Head&& head, Tail&&... tail) { in set() argument
48 set(std::forward<Tail>(tail)...); in set()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dcbor.h70 Array(const Head& head, const Tail&... tail) : head_(head), tail_(tail...) {}
151 Map(const MapElement<HeadKey, HeadValue>& head, const Tail&... tail)
152 : head_(head), tail_(tail...) {}
325 WriteState write(WriteState wState, const Head& head, const Tail&... tail) {
327 return write(wState, tail...);
Dmsg_formatting.h394 WriteStream write(Message<Head, Tail...>, WriteStream out, const Head& head, const Tail&... tail) {
396 return write(Message<Tail...>(), out, tail...);
400 WriteStream write(Message<Cmd<cmd>, Tail...>, WriteStream out, const Tail&... tail) {
402 return write(Message<Tail...>(), out, tail...);
/hardware/qcom/sm8150/media/libarbitrarybytes/src/
Dh264_utils.cpp1526 head = tail = NULL; in remove_first()
1535 NODE_STRUCT *data = tail; in remove_last()
1536 if (tail) { in remove_last()
1537 if (tail->prev) { in remove_last()
1538 tail = tail->prev; in remove_last()
1539 tail->next = NULL; in remove_last()
1541 head = tail = NULL; in remove_last()
1552 data_ptr->prev = tail; in add_last()
1553 if (tail) { in add_last()
1554 tail->next = data_ptr; in add_last()
[all …]
/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/qcom/media/msm8998/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 …]

12