/device/google/contexthub/firmware/os/inc/ |
D | list.h | 24 struct link_t *prev, *next; member 34 link_t list = { .prev = &list, .next = &list } 38 list->prev = list->next = list; in list_init() 46 item->prev = list->prev; in list_add_tail() 48 list->prev->next = item; in list_add_tail() 49 list->prev = item; in list_add_tail() 54 item->prev->next = item->next; in list_delete() 55 item->next->prev = item->prev; in list_delete() 56 item->next = item->prev = item; in list_delete()
|
D | seos_priv.h | 47 TaskIndex prev; member
|
/device/linaro/dragonboard/qcom/tqftpserv/ |
D | list.h | 45 struct list_head *prev; member 53 list->prev = list->next = list; in list_init() 63 struct list_head *prev = list->prev; in list_add() local 66 item->prev = prev; 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()
|
/device/google/contexthub/firmware/os/core/ |
D | eventQ.c | 35 struct EvtList *prev; 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() 73 q->head.prev = &q->head; in evtQueueAlloc() 132 item->prev = item->next = NULL; in evtQueueEnqueue() 142 a = b->prev; in evtQueueEnqueue() 144 a = q->head.prev; in evtQueueEnqueue() [all …]
|
D | heap.c | 37 struct HeapNode* prev; member 85 node->prev = NULL; in heapInit() 105 next->prev = node; in heapMergeFreeChunks() 149 node->prev = best; in heapAlloc() 152 heapPrvGetNext(node)->prev = node; in heapAlloc() 187 while (node->prev && !node->prev->used) in heapFree() 188 node = node->prev; in heapFree() 197 t->prev = node; in heapFree()
|
D | simpleQ.c | 120 uint32_t idx, prev = SIMPLE_QUEUE_IDX_NONE; in simpleQueueAllocWithDiscard() local 122 for (idx = sq->head; idx != SIMPLE_QUEUE_IDX_NONE; prev=idx, idx = cur->nextIdx) { in simpleQueueAllocWithDiscard() 132 if (prev == SIMPLE_QUEUE_IDX_NONE) in simpleQueueAllocWithDiscard() 135 simpleQueueGetNth(sq, prev)->nextIdx = cur->nextIdx; in simpleQueueAllocWithDiscard() 137 sq->tail = prev; in simpleQueueAllocWithDiscard()
|
D | seos.c | 66 l->prev = l->next = NO_NODE; in list_init() 182 listHead ? listHead->prev : NO_NODE, in dumpListItems() 193 task->list.prev, in dumpListItems() 207 task ? task->list.prev : NO_NODE, in dumpTaskList() 211 listHead ? listHead->prev : NO_NODE, in dumpTaskList() 225 TaskIndex left_idx = cur->prev; in osTaskListRemoveTask() 229 cur->prev = cur->next = NO_NODE; in osTaskListRemoveTask() 231 right->prev = left_idx; in osTaskListRemoveTask() 241 TaskIndex last_idx = listHead->prev; in osTaskListAddTail() 244 cur->prev = last_idx; in osTaskListAddTail() [all …]
|
/device/linaro/dragonboard/qcom/qrtr/src/ |
D | list.h | 15 struct list_item *prev; member 40 item->prev = list->tail; in list_append() 50 item->prev = 0; in list_prepend() 63 item->prev = after; in list_insert() 67 item->next->prev = item; in list_insert() 75 item->next->prev = item->prev; in list_remove() 81 item->prev->next = item->next; in list_remove() 83 list->tail = item->prev; in list_remove() 85 item->prev = item->next = 0; in list_remove()
|
/device/generic/goldfish/radio/libril/ |
D | ril_event.cpp | 83 dlog(" prev = %x", (unsigned int)ev->prev); in dump_event() 108 list->prev = list; in init_list() 115 ev->prev = list->prev; in addToList() 116 ev->prev->next = ev; in addToList() 117 list->prev = ev; in addToList() 126 ev->next->prev = ev->prev; in removeFromList() 127 ev->prev->next = ev->next; in removeFromList() 129 ev->prev = NULL; in removeFromList()
|
D | ril_event.h | 25 struct ril_event *prev; member
|
/device/google/cuttlefish/guest/hals/ril/libril/ |
D | ril_event.cpp | 83 dlog(" prev = %x", (unsigned int)ev->prev); in dump_event() 108 list->prev = list; in init_list() 115 ev->prev = list->prev; in addToList() 116 ev->prev->next = ev; in addToList() 117 list->prev = ev; in addToList() 126 ev->next->prev = ev->prev; in removeFromList() 127 ev->prev->next = ev->next; in removeFromList() 129 ev->prev = NULL; in removeFromList()
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | ril_event.cpp | 83 dlog(" prev = %x", (unsigned int)ev->prev); in dump_event() 108 list->prev = list; in init_list() 115 ev->prev = list->prev; in addToList() 116 ev->prev->next = ev; in addToList() 117 list->prev = ev; in addToList() 126 ev->next->prev = ev->prev; in removeFromList() 127 ev->prev->next = ev->next; in removeFromList() 129 ev->prev = NULL; in removeFromList()
|
/device/google/crosshatch/json-c/ |
D | linkhash.c | 515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert() 518 t->table[n].prev = t->tail; in lh_table_insert() 578 t->head->next->prev = NULL; 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() 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() 587 t->table[n].next = t->table[n].prev = NULL; in lh_table_delete_entry()
|
D | linkhash.h | 78 struct lh_entry *prev; member
|
/device/google/bonito/json-c/ |
D | linkhash.c | 515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert() 518 t->table[n].prev = t->tail; in lh_table_insert() 578 t->head->next->prev = NULL; 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() 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() 587 t->table[n].next = t->table[n].prev = NULL; in lh_table_delete_entry()
|
D | linkhash.h | 78 struct lh_entry *prev; member
|
/device/google/coral/json-c/ |
D | linkhash.c | 515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert() 518 t->table[n].prev = t->tail; in lh_table_insert() 578 t->head->next->prev = NULL; 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() 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() 587 t->table[n].next = t->table[n].prev = NULL; in lh_table_delete_entry()
|
D | linkhash.h | 78 struct lh_entry *prev; member
|
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 264 const char *prev = NULL; in main() local 274 prev = argv[i]; in main() 305 prev = 0; in main() 308 if (prev) in main() 309 fatalUsage(appName, "missing argument after", prev); in main()
|
/device/google/contexthub/util/nanoapp_sign/ |
D | nanoapp_sign.c | 431 const char *prev = NULL; in main() local 448 prev = argv[i]; in main() 475 prev = 0; in main() 478 if (prev) in main() 479 fatalUsage(appName, "missing argument after", prev); in main()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | RenderControl.cpp | 237 static std::string replaceESVersionString(const std::string& prev, const char* const newver) { in replaceESVersionString() argument 239 if (prev.find("ES-CM") != std::string::npos) in replaceESVersionString() 240 return prev; in replaceESVersionString() 242 size_t esStart = prev.find("ES "); in replaceESVersionString() 243 size_t esEnd = prev.find(" ", esStart + 3); in replaceESVersionString() 247 return prev; in replaceESVersionString() 249 std::string res = prev.substr(0, esStart + 3); in replaceESVersionString() 251 res += prev.substr(esEnd); in replaceESVersionString()
|
/device/google/wahoo/vibrator/ |
D | Vibrator.cpp | 194 if (effect < *validEffectRange.begin() || effect > *std::prev(validEffectRange.end())) { in performWrapper() 199 if (strength < *validStrengthRange.begin() || strength > *std::prev(validStrengthRange.end())) { in performWrapper()
|
/device/google/bonito/vibrator/ |
D | Vibrator.cpp | 184 if (effect < *validEffectRange.begin() || effect > *std::prev(validEffectRange.end())) { in performWrapper() 189 if (strength < *validStrengthRange.begin() || strength > *std::prev(validStrengthRange.end())) { in performWrapper()
|
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess.c | 652 const char *prev = NULL; in main() local 658 prev = argv[i]; in main() 697 prev = NULL; in main() 700 if (prev) in main() 701 fatalUsage(appName, "missing argument after", prev); in main()
|
D | postprocess_elf.c | 914 const char *prev = NULL; in main() local 921 prev = argv[i]; in main() 964 prev = NULL; in main() 967 if (prev) in main() 968 fatalUsage(appName, "missing argument after", prev); in main()
|