Lines Matching defs:index
127 u16_t index, next;
134 index = q->head;
138 if (index != q->tail)
140 buf = q->cell[index].buf;
147 while ((next =((index+1)&q->sizeMask)) != q->tail)
149 q->cell[index].buf = q->cell[next].buf;
150 q->cell[index].tick = q->cell[next].tick;
158 index = next;
165 index = (index + 1) & q->sizeMask;
166 } //if (index != q->tail)
228 u8_t zfQueueRemovewithIndex(zdev_t* dev, struct zsQueue* q, u16_t index, u8_t* addr)
234 while ((next =((index+1)&q->sizeMask)) != q->tail)
236 q->cell[index].buf = q->cell[next].buf;
237 q->cell[index].tick = q->cell[next].tick;
245 index = next;
258 u16_t id, aid, index, i;
266 index = q->head;
268 while (index != q->tail)
270 psBuf = q->cell[index].buf;
292 index = (index+1) & q->sizeMask;
297 zfQueueRemovewithIndex(dev, q, index, dst);