Lines Matching refs:rpos
39 size_t rpos, /* Read position */
374 data.rpos = 0;
385 printf("FAIL - %d bytes read.\n", (int)data.rpos);
388 else if (data.rpos != data.wused)
390 printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos,
602 data.rpos = 0;
616 printf("FAIL - %d bytes read.\n", (int)data.rpos);
619 else if (data.rpos != sizeof(mixed))
621 printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos,
1009 if ((count = data->wsize - data->rpos) > bytes)
1012 memcpy(buffer, data->wbuffer + data->rpos, count);
1013 data->rpos += count;