Lines Matching refs:rpos
37 size_t rpos, /* Read position */ member
372 data.rpos = 0; in main()
383 printf("FAIL - %d bytes read.\n", (int)data.rpos); in main()
386 else if (data.rpos != data.wused) in main()
388 printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos, in main()
600 data.rpos = 0; in main()
614 printf("FAIL - %d bytes read.\n", (int)data.rpos); in main()
617 else if (data.rpos != sizeof(mixed)) in main()
619 printf("FAIL - read %d bytes, expected %d bytes!\n", (int)data.rpos, in main()
857 if ((count = data->wsize - data->rpos) > bytes) in read_cb()
860 memcpy(buffer, data->wbuffer + data->rpos, count); in read_cb()
861 data->rpos += count; in read_cb()