Home
last modified time | relevance | path

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

1234567

/device/linaro/dragonboard/shared/utils/tqftpserv/
Dlist.h46 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 …]
Dtqftpserv.c486 struct tftp_client *next; in main() local
535 list_for_each_entry_safe(client, next, &writers, node) { in main()
543 list_for_each_entry_safe(client, next, &readers, node) { in main()
572 list_for_each_entry_safe(client, next, &writers, node) { in main()
579 list_for_each_entry_safe(client, next, &writers, node) { in main()
/device/linaro/dragonboard/shared/utils/qrtr/src/
Dlist.h16 struct list_item *next; member
41 item->next = 0; in list_append()
44 list->tail->next = item; in list_append()
53 item->next = list->head; in list_prepend()
66 item->next = after->next; in list_insert()
67 after->next = item; in list_insert()
68 if (item->next) in list_insert()
69 item->next->prev = item; in list_insert()
76 if (item->next) in list_remove()
77 item->next->prev = item->prev; in list_remove()
[all …]
/device/google/contexthub/firmware/os/inc/
Dlist.h24 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 …]
Dseos_priv.h25 …(listHead, task) for (task = osTaskByIdx((listHead)->next); task; task = osTaskByIdx(task->list.ne…
48 TaskIndex next; member
Dseos.h232 struct Segment *next = (struct Segment *)(((uint8_t*)seg) + in osSegmentSizeGetNext() local
236 return seg ? next : NULL; in osSegmentSizeGetNext()
278 const struct Segment *next = seg < it->sharedEnd ? osSegmentGetNext(seg) : it->sharedEnd; in osSegmentIteratorNext() local
280 it->shared = next; in osSegmentIteratorNext()
/device/google/contexthub/firmware/os/core/
DeventQ.c30 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 …]
Dheap.c95 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()
Dseos.c66 l->prev = l->next = NO_NODE; in list_init()
169 TaskIndex idx = listHead->next; in osTaskListPeekHead()
183 listHead ? listHead->next : NO_NODE in dumpListItems()
195 task->list.next in dumpListItems()
209 task ? task->list.next : NO_NODE, in dumpTaskList()
212 listHead ? listHead->next : NO_NODE in dumpTaskList()
226 TaskIndex right_idx = cur->next; in osTaskListRemoveTask()
229 cur->prev = cur->next = NO_NODE; in osTaskListRemoveTask()
230 left->next = right_idx; in osTaskListRemoveTask()
245 cur->next = NO_NODE; in osTaskListAddTail()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dril_event.cpp82 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 …]
DRilSapSocket.cpp91 current = current->next; in printList()
107 current = current->next; in getSocketById()
160 listItem->next = NULL; in addSocketToList()
166 head->next = NULL; in addSocketToList()
170 while(NULL != current->next) { in addSocketToList()
171 current = current->next; in addSocketToList()
173 current->next = listItem; in addSocketToList()
185 current = current->next; in SocketExists()
/device/linaro/dragonboard/shared/utils/pd-mapper/
Djson.c212 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/sunfish/json-c/
Dlinkhash.c469 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 …]
Dlinkhash.h74 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)
/device/google/redbull/json-c/
Dlinkhash.c469 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 …]
Dlinkhash.h74 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)
/device/google/coral/json-c/
Dlinkhash.c469 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 …]
Dlinkhash.h74 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)
Djson_object.h353 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/cuttlefish/host/libs/location/
DGpxParser.cpp83 for (xmlNode *field = ptNode->children; field; field = field->next) { in parseLocation()
148 for (xmlNode *child = root->children; child; child = child->next) { in parse()
161 for (xmlNode *rtept = child->children; rtept; rtept = rtept->next) { in parse()
176 for (xmlNode *trkseg = child->children; trkseg; trkseg = trkseg->next) { in parse()
180 for (xmlNode *trkpt = trkseg->children; trkpt; trkpt = trkpt->next) { in parse()
DKmlParser.cpp29 for (; current != nullptr; current = current->next) { in findCoordinates()
79 current = current->next) { in parseGxTrack()
100 for (; current != nullptr; current = current->next) { in parsePlacemark()
140 for (; current; current = current->next) { in traverseSubtree()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dversion.rs51 .next() in from_rustc()
54 .next() in from_rustc()
57 .next() in from_rustc()
/device/google/trout/agl_services_build/yocto-layer/meta-google/recipes-trout/images/machine-image/sa81x5/google-overlay/usr/bin/
Dgnss_replay.py37 def next(self): member in DataStore
85 loop.command(b'CMD_GET_LOCATION', lambda: data['locations'].next())
86 loop.command(b'CMD_GET_RAWMEASUREMENT', lambda: data['measurements'].next())
/device/google/trout/hal/gnss/host/
Dgnss_replay.py37 def next(self): member in DataStore
85 loop.command(b'CMD_GET_LOCATION', lambda: data['locations'].next())
86 loop.command(b'CMD_GET_RAWMEASUREMENT', lambda: data['measurements'].next())
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs708 iter.next().unwrap().to_owned(), in parse_libs_cflags()
709 iter.next().map(|s| s.to_owned()), in parse_libs_cflags()
724 while let Some(part) = iter.next() { in parse_libs_cflags()
727 if let Some(lib) = iter.next() { in parse_libs_cflags()
734 if let Some(inc) = iter.next() { in parse_libs_cflags()
772 while let Some(option) = linker_options.next() { in parse_libs_cflags()

1234567