Home
last modified time | relevance | path

Searched refs:read_off (Results 1 – 3 of 3) sorted by relevance

/src/crypto/openssl/test/
H A Dquic_stream_test.c480 size_t i, read_off, queued_min, queued_max; in test_rstream_random() local
497 read_off = queued_min = queued_max = 0; in test_rstream_random()
520 off = read_off + test_random() % 50; in test_rstream_random()
545 if (!TEST_size_t_ge(readbytes, queued_min - read_off) in test_rstream_random()
546 || !TEST_size_t_le(readbytes + read_off, data_size) in test_rstream_random()
548 && !TEST_mem_eq(read_buf, readbytes, bulk_data + read_off, in test_rstream_random()
551 read_off += readbytes; in test_rstream_random()
552 queued_min = read_off; in test_rstream_random()
555 queued_max - read_off + 1)) in test_rstream_random()
567 TEST_info("Total read bytes: %zu Fin rcvd: %d", read_off, fin); in test_rstream_random()
[all …]
/src/sys/dev/usb/misc/
H A Dcp2112.c1073 uint16_t read_off, to_read; in cp2112iic_transfer() local
1202 read_off = 0; in cp2112iic_transfer()
1206 err = cp2112iic_read_data(sc, msgs[i].buf + read_off, in cp2112iic_transfer()
1212 read_off += act_read; in cp2112iic_transfer()
/src/crypto/openssh/
H A Dsftp-server.c1614 u_int64_t len, read_off, read_len, write_off; in process_extended_copy_data() local
1619 (r = sshbuf_get_u64(iqueue, &read_off)) != 0 || in process_extended_copy_data()
1628 (unsigned long long)read_off, (unsigned long long)read_len, in process_extended_copy_data()
1634 read_len = (u_int64_t)-1 - read_off; in process_extended_copy_data()
1649 if (lseek(read_fd, read_off, SEEK_SET) < 0) { in process_extended_copy_data()