HomeSort by relevance Sort by last modified time
    Searched refs:writep (Results 1 - 4 of 4) sorted by null

  /external/squashfs-tools/squashfs-tools/
caches-queues-lists.c 55 queue->readp = queue->writep = 0;
71 while((nextp = (queue->writep + 1) % queue->size) == queue->readp)
74 queue->data[queue->writep] = data;
75 queue->writep = nextp;
88 while(queue->readp == queue->writep)
107 empty = queue->readp == queue->writep;
120 queue->readp = queue->writep;
132 queue->readp <= queue->writep ? queue->writep - queue->readp :
133 queue->size - queue->readp + queue->writep,
    [all...]
caches-queues-lists.h 134 int writep; member in struct:queue
unsquashfs.h 156 int writep; member in struct:queue
unsquashfs.c 185 queue->readp = queue->writep = 0;
200 while((nextp = (queue->writep + 1) % queue->size) == queue->readp)
203 queue->data[queue->writep] = data;
204 queue->writep = nextp;
215 while(queue->readp == queue->writep)
232 queue->readp <= queue->writep ? queue->writep - queue->readp :
233 queue->size - queue->readp + queue->writep,
234 queue->readp == queue->writep ? " (EMPTY)" :
235 ((queue->writep + 1) % queue->size) == queue->readp
    [all...]

Completed in 553 milliseconds