Home | History | Annotate | Download | only in src

Lines Matching defs:cur

82     struct SimpleQueueEntry *cur;
85 for (i = sq->head; i != SIMPLE_QUEUE_IDX_NONE; i = cur->nextIdx) {
86 cur = simpleQueueGetNth(sq, i);
87 discard(cur->data, true);
119 struct SimpleQueueEntry* cur = NULL;
122 for (idx = sq->head; idx != SIMPLE_QUEUE_IDX_NONE; prev=idx, idx = cur->nextIdx) {
123 cur = simpleQueueGetNth(sq, idx);
125 if (!cur->discardable)
129 if (sq->discardCbk(cur->data, false)) {
133 sq->head = cur->nextIdx;
135 simpleQueueGetNth(sq, prev)->nextIdx = cur->nextIdx;
139 return cur;