Lines Matching refs:rbytes
904 UInt32 rbytes; in read_thread() local
926 rbytes = sizeof(readbuffer); in read_thread()
927 readstatus = (*g.classdriver)->ReadPipe(g.classdriver, readbuffer, &rbytes); in read_thread()
928 if (readstatus == kIOReturnSuccess && rbytes > 0) in read_thread()
931 (int)rbytes); in read_thread()
932 cupsBackChannelWrite((char*)readbuffer, rbytes, 1.0); in read_thread()
939 if (g.wait_eof && readbuffer[rbytes-1] == 0x4) in read_thread()
943 parse_pserror(readbuffer, rbytes); in read_thread()
957 if ((readstatus != kIOReturnSuccess || rbytes == 0) && (g.wait_eof || !g.read_thread_stop)) in read_thread()
968 …while (readstatus == kIOReturnSuccess && ((rbytes > 0 && readbuffer[rbytes-1] != 0x4) || rbytes ==… in read_thread()
972 rbytes = sizeof(readbuffer); in read_thread()
973 readstatus = (*g.classdriver)->ReadPipe(g.classdriver, readbuffer, &rbytes); in read_thread()
974 if (readstatus == kIOReturnSuccess && rbytes > 0 && readbuffer[rbytes-1] == 0x4) in read_thread()