/device/linaro/dragonboard/qcom/tqftpserv/ |
D | list.h | 46 struct list_head *next; member 53 list->prev = list->next = list; in list_init() 58 return list->next == list; in list_empty() 65 item->next = list; in list_add() 68 prev->next = list->prev = item; in list_add() 73 item->prev->next = item->next; in list_del() 74 item->next->prev = item->prev; in list_del() 78 for (item = (list)->next; item != list; item = item->next) 80 #define list_for_each_safe(item, next, list) \ argument 81 for (item = (list)->next, next = item->next; item != list; item = next, next = item->next) [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | list.h | 24 struct link_t *prev, *next; member 28 for ((cur_link) = (list)->next, \ 29 (tmp_link) = (cur_link) ? (cur_link)->next : NULL; \ 31 (cur_link) = (tmp_link), (tmp_link) = (cur_link)->next) 34 link_t list = { .prev = &list, .next = &list } 38 list->prev = list->next = list; in list_init() 43 if (!list->next) in list_add_tail() 47 item->next = list; in list_add_tail() 48 list->prev->next = item; in list_add_tail() 54 item->prev->next = item->next; in list_delete() [all …]
|
D | seos_priv.h | 25 …(listHead, task) for (task = osTaskByIdx((listHead)->next); task; task = osTaskByIdx(task->list.ne… 48 TaskIndex next; member
|
/device/linaro/dragonboard/qcom/qrtr/src/ |
D | list.h | 14 struct list_item *next; member 39 item->next = 0; in list_append() 42 list->tail->next = item; in list_append() 51 item->next = list->head; in list_prepend() 64 item->next = after->next; in list_insert() 65 after->next = item; in list_insert() 66 if (item->next) in list_insert() 67 item->next->prev = item; in list_insert() 74 if (item->next) in list_remove() 75 item->next->prev = item->prev; in list_remove() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | eventQ.c | 30 for (pos = (head)->next; tmp = (pos)->next, (pos) != (head); pos = (tmp)) 34 struct EvtList *next; member 51 static inline void __evtListDel(struct EvtList *prev, struct EvtList *next) in __evtListDel() argument 53 next->prev = prev; in __evtListDel() 54 prev->next = next; in __evtListDel() 59 __evtListDel(entry->prev, entry->next); in evtListDel() 60 entry->next = entry->prev = NULL; in evtListDel() 72 q->head.next = &q->head; in evtQueueAlloc() 116 for (pos = q->head.next; pos != &q->head; pos = pos->next) { in evtQueueEnqueue() 132 item->prev = item->next = NULL; in evtQueueEnqueue() [all …]
|
D | heap.c | 95 struct HeapNode *node = gHeapHead, *next; in heapMergeFreeChunks() local 98 next = heapPrvGetNext(node); in heapMergeFreeChunks() 100 if (!node->used && next && !next->used) { /* merged */ in heapMergeFreeChunks() 101 node->size += sizeof(struct HeapNode) + next->size; in heapMergeFreeChunks() 103 next = heapPrvGetNext(node); in heapMergeFreeChunks() 104 if (next) in heapMergeFreeChunks() 105 next->prev = node; in heapMergeFreeChunks() 110 node = next; in heapMergeFreeChunks()
|
/device/generic/goldfish/radio/libril/ |
D | ril_event.cpp | 82 dlog(" next = %x", (unsigned int)ev->next); in dump_event() 107 list->next = list; in init_list() 114 ev->next = list; in addToList() 116 ev->prev->next = ev; in addToList() 126 ev->next->prev = ev->prev; in removeFromList() 127 ev->prev->next = ev->next; in removeFromList() 128 ev->next = NULL; in removeFromList() 163 struct ril_event * tev = timer_list.next; in processTimeouts() 164 struct ril_event * next; in processTimeouts() local 173 next = tev->next; in processTimeouts() [all …]
|
D | RilSapSocket.cpp | 92 current = current->next; in printList() 108 current = current->next; in getSocketById() 161 listItem->next = NULL; in addSocketToList() 167 head->next = NULL; in addSocketToList() 171 while(NULL != current->next) { in addSocketToList() 172 current = current->next; in addSocketToList() 174 current->next = listItem; in addSocketToList() 186 current = current->next; in SocketExists()
|
/device/google/cuttlefish/guest/hals/ril/libril/ |
D | ril_event.cpp | 82 dlog(" next = %x", (unsigned int)ev->next); in dump_event() 107 list->next = list; in init_list() 114 ev->next = list; in addToList() 116 ev->prev->next = ev; in addToList() 126 ev->next->prev = ev->prev; in removeFromList() 127 ev->prev->next = ev->next; in removeFromList() 128 ev->next = NULL; in removeFromList() 163 struct ril_event * tev = timer_list.next; in processTimeouts() 164 struct ril_event * next; in processTimeouts() local 173 next = tev->next; in processTimeouts() [all …]
|
D | RilSapSocket.cpp | 92 current = current->next; in printList() 108 current = current->next; in getSocketById() 161 listItem->next = NULL; in addSocketToList() 167 head->next = NULL; in addSocketToList() 171 while(NULL != current->next) { in addSocketToList() 172 current = current->next; in addSocketToList() 174 current->next = listItem; in addSocketToList() 186 current = current->next; in SocketExists()
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | ril_event.cpp | 82 dlog(" next = %x", (unsigned int)ev->next); in dump_event() 107 list->next = list; in init_list() 114 ev->next = list; in addToList() 116 ev->prev->next = ev; in addToList() 126 ev->next->prev = ev->prev; in removeFromList() 127 ev->prev->next = ev->next; in removeFromList() 128 ev->next = NULL; in removeFromList() 163 struct ril_event * tev = timer_list.next; in processTimeouts() 164 struct ril_event * next; in processTimeouts() local 173 next = tev->next; in processTimeouts() [all …]
|
D | RilSapSocket.cpp | 92 current = current->next; in printList() 108 current = current->next; in getSocketById() 161 listItem->next = NULL; in addSocketToList() 167 head->next = NULL; in addSocketToList() 171 while(NULL != current->next) { in addSocketToList() 172 current = current->next; in addSocketToList() 174 current->next = listItem; in addSocketToList() 186 current = current->next; in SocketExists()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-msg.c | 54 xf_msg_pool_item(pool, i)->next = xf_msg_pool_item(pool, i + 1); in xf_msg_pool_init() 58 xf_msg_pool_item(pool, i)->next = NULL; in xf_msg_pool_init() 82 pool->head = (__xf_message_t *)(((xf_message_t *) _m)->next); in xf_msg_pool_get() 85 ((xf_message_t *) _m)->next = NULL; in xf_msg_pool_get() 103 m->next = (xf_message_t *) pool->head; in xf_msg_pool_put()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-msg.h | 45 xf_message_t *next; member 117 m->next = NULL; in xf_msg_enqueue() 122 queue->tail->next = m; in xf_msg_enqueue() 133 BUG((m)->next != NULL, _x("message is active: %p"), (m)); \ 146 if ((queue->head = m->next) == NULL) in xf_msg_dequeue() 150 m->next = NULL; in xf_msg_dequeue()
|
/device/linaro/dragonboard/qcom/pd-mapper/ |
D | json.c | 212 last->next = value; in json_parse_array() 256 last->next = value; in json_parse_object() 367 for (it = object->u.value; it; it = it->next) { in json_get_child() 383 for (it = array->u.value; it; it = it->next) in json_count_children() 396 for (it = object->u.value; it; it = it->next) { in json_get_number() 416 for (it = object->u.value; it; it = it->next) { in json_get_string() 430 struct json_value *next; in json_free() local 440 next = it->next; in json_free() 442 it = next; in json_free()
|
/device/google/crosshatch/json-c/ |
D | linkhash.c | 469 ent = ent->next; in lh_table_resize() 483 for(c = t->head; c != NULL; c = c->next) { in lh_table_free() 515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert() 517 t->tail->next = &t->table[n]; in lh_table_insert() 519 t->table[n].next = NULL; in lh_table_insert() 578 t->head->next->prev = NULL; in lh_table_delete_entry() 579 t->head = t->head->next; in lh_table_delete_entry() 581 t->tail->prev->next = NULL; in lh_table_delete_entry() 584 t->table[n].prev->next = t->table[n].next; in lh_table_delete_entry() 585 t->table[n].next->prev = t->table[n].prev; in lh_table_delete_entry() [all …]
|
D | linkhash.h | 74 struct lh_entry *next; member 160 for(entry = table->head; entry; entry = entry->next) 166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
|
D | json_object.h | 353 entry_next ## key = entry ## key->next; \ 368 entry_next ## key = entry ## key->next, \ 379 …>k, iter.val = (struct json_object*)iter.entry->v, iter.entry) : 0); iter.entry = iter.entry->next)
|
/device/google/bonito/json-c/ |
D | linkhash.c | 469 ent = ent->next; in lh_table_resize() 483 for(c = t->head; c != NULL; c = c->next) { in lh_table_free() 515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert() 517 t->tail->next = &t->table[n]; in lh_table_insert() 519 t->table[n].next = NULL; in lh_table_insert() 578 t->head->next->prev = NULL; in lh_table_delete_entry() 579 t->head = t->head->next; in lh_table_delete_entry() 581 t->tail->prev->next = NULL; in lh_table_delete_entry() 584 t->table[n].prev->next = t->table[n].next; in lh_table_delete_entry() 585 t->table[n].next->prev = t->table[n].prev; in lh_table_delete_entry() [all …]
|
D | linkhash.h | 74 struct lh_entry *next; member 160 for(entry = table->head; entry; entry = entry->next) 166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
|
D | json_object.h | 353 entry_next ## key = entry ## key->next; \ 368 entry_next ## key = entry ## key->next, \ 379 …>k, iter.val = (struct json_object*)iter.entry->v, iter.entry) : 0); iter.entry = iter.entry->next)
|
/device/google/coral/json-c/ |
D | linkhash.c | 469 ent = ent->next; in lh_table_resize() 483 for(c = t->head; c != NULL; c = c->next) { in lh_table_free() 515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert() 517 t->tail->next = &t->table[n]; in lh_table_insert() 519 t->table[n].next = NULL; in lh_table_insert() 578 t->head->next->prev = NULL; in lh_table_delete_entry() 579 t->head = t->head->next; in lh_table_delete_entry() 581 t->tail->prev->next = NULL; in lh_table_delete_entry() 584 t->table[n].prev->next = t->table[n].next; in lh_table_delete_entry() 585 t->table[n].next->prev = t->table[n].prev; in lh_table_delete_entry() [all …]
|
D | linkhash.h | 74 struct lh_entry *next; member 160 for(entry = table->head; entry; entry = entry->next) 166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
|
D | json_object.h | 353 entry_next ## key = entry ## key->next; \ 368 entry_next ## key = entry ## key->next, \ 379 …>k, iter.val = (struct json_object*)iter.entry->v, iter.entry) : 0); iter.entry = iter.entry->next)
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-proxy.c | 100 if ((client = proxy->cmap[0].next) != 0) in xf_client_alloc() 103 proxy->cmap[0].next = proxy->cmap[client].next; in xf_client_alloc() 118 proxy->cmap[client].next = proxy->cmap[0].next; in xf_client_free() 121 proxy->cmap[0].next = client; in xf_client_free() 131 if (proxy->cmap[client].next < XF_CFG_PROXY_MAX_CLIENTS) in xf_client_lookup() 330 proxy->cmap[i].next = i + 1; in xf_proxy_init() 334 proxy->cmap[i].next = 0; in xf_proxy_init() 611 b->link.next = b + 1; in xf_pool_alloc() 618 b[-1].link.next = NULL; in xf_pool_alloc() 662 pool->free = b->link.next, b->link.pool = pool; in xf_buffer_get() [all …]
|