Searched refs:toread (Results 1 – 4 of 4) sorted by relevance
17 size_t toread = sizeof(*out); in read_entry() local20 while (toread) { in read_entry()23 r = read(fi, ptr, toread); in read_entry()34 toread -= r; in read_entry()36 assert(toread >= 0); in read_entry()
815 unsigned long toread = 0; in ptp_read_func() local833 toread = size - curread; in ptp_read_func()835 if (readzero && FLAG_NO_ZERO_READS(ptp_usb) && toread % 64 == 0) { in ptp_read_func()836 toread += 1; in ptp_read_func()842 toread = CONTEXT_BLOCK_SIZE_1; in ptp_read_func()843 else if (toread == CONTEXT_BLOCK_SIZE_1) in ptp_read_func()844 toread = CONTEXT_BLOCK_SIZE_2; in ptp_read_func()845 else if (toread == CONTEXT_BLOCK_SIZE_2) in ptp_read_func()846 toread = CONTEXT_BLOCK_SIZE_1; in ptp_read_func()849 (unsigned int) toread, (unsigned int) (size-curread)); in ptp_read_func()[all …]
846 char toread[len]; in handle_query() local871 len_read = VG_(read) (fd, toread, len); in handle_query()873 (unsigned char *)toread, in handle_query()
639 int toread = (sizeof(buf) < left) ? sizeof(buf) : left; in FlushInput() local640 int code = SSL_read(ssl_, buf, toread); in FlushInput()