Searched refs:readbuffer (Results 1 – 2 of 2) sorted by relevance
/external/libcups/backend/ |
D | usb-darwin.c | 907 UInt8 readbuffer[512]; in read_thread() local 930 rbytes = sizeof(readbuffer); in read_thread() 931 readstatus = (*g.classdriver)->ReadPipe(g.classdriver, readbuffer, &rbytes); in read_thread() 936 cupsBackChannelWrite((char*)readbuffer, rbytes, 1.0); in read_thread() 943 if (g.wait_eof && readbuffer[rbytes-1] == 0x4) in read_thread() 947 parse_pserror(readbuffer, rbytes); in read_thread() 972 …while (readstatus == kIOReturnSuccess && ((rbytes > 0 && readbuffer[rbytes-1] != 0x4) || rbytes ==… in read_thread() 976 rbytes = sizeof(readbuffer); in read_thread() 977 readstatus = (*g.classdriver)->ReadPipe(g.classdriver, readbuffer, &rbytes); in read_thread() 978 if (readstatus == kIOReturnSuccess && rbytes > 0 && readbuffer[rbytes-1] == 0x4) in read_thread()
|
D | usb-libusb.c | 1690 unsigned char readbuffer[512]; in read_thread() local 1723 rbytes = sizeof(readbuffer); in read_thread() 1726 readbuffer, rbytes, in read_thread() 1732 cupsBackChannelWrite((const char *)readbuffer, (size_t)rbytes, 1.0); in read_thread()
|