/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_rw.c | 33 _dwarf_read_lsb(uint8_t *data, uint64_t *offsetp, int bytes_to_read) in _dwarf_read_lsb() argument 41 switch (bytes_to_read) { in _dwarf_read_lsb() 59 *offsetp += bytes_to_read; in _dwarf_read_lsb() 65 _dwarf_decode_lsb(uint8_t **data, int bytes_to_read) in _dwarf_decode_lsb() argument 73 switch (bytes_to_read) { in _dwarf_decode_lsb() 91 *data += bytes_to_read; in _dwarf_decode_lsb() 97 _dwarf_read_msb(uint8_t *data, uint64_t *offsetp, int bytes_to_read) in _dwarf_read_msb() argument 104 switch (bytes_to_read) { in _dwarf_read_msb() 125 *offsetp += bytes_to_read; in _dwarf_read_msb() 131 _dwarf_decode_msb(uint8_t **data, int bytes_to_read) in _dwarf_decode_msb() argument [all …]
|
/freebsd/contrib/diff/src/ |
H A D | cmp.c | 409 size_t bytes_to_read = MIN (ig, buf_size); in cmp() local 410 size_t r = block_read (file_desc[f], buf0, bytes_to_read); in cmp() 411 if (r != bytes_to_read) in cmp() 425 size_t bytes_to_read = buf_size; in cmp() local 429 if (remaining < bytes_to_read) in cmp() 430 bytes_to_read = remaining; in cmp() 431 remaining -= bytes_to_read; in cmp() 434 read0 = block_read (file_desc[0], buf0, bytes_to_read); in cmp() 437 read1 = block_read (file_desc[1], buf1, bytes_to_read); in cmp()
|
H A D | diff3.c | 1235 size_t bytes_to_read = current_chunk_size - total; in read_diff() local 1236 size_t bytes = block_read (fd, diff_result + total, bytes_to_read); in read_diff() 1238 if (bytes != bytes_to_read) in read_diff()
|
/freebsd/sys/dev/liquidio/base/ |
H A D | lio_console.c | 728 int bytes_to_read; in lio_console_read() local 748 bytes_to_read = lio_console_avail_bytes(console->buffer_size, in lio_console_read() 750 if (bytes_to_read <= 0) in lio_console_read() 751 return (bytes_to_read); in lio_console_read() 753 bytes_to_read = min(bytes_to_read, buf_size); in lio_console_read() 759 if (rd_idx + bytes_to_read >= console->buffer_size) in lio_console_read() 760 bytes_to_read = console->buffer_size - rd_idx; in lio_console_read() 763 (uint8_t *) buffer, bytes_to_read); in lio_console_read() 767 (rd_idx + bytes_to_read) % console->buffer_size); in lio_console_read() 769 return (bytes_to_read); in lio_console_read()
|
/freebsd/contrib/diff/lib/ |
H A D | cmpbuf.c | 92 size_t bytes_to_read = MIN (buflim - bp, readlim); in block_read() local 93 ssize_t nread = read (fd, bp, bytes_to_read); in block_read() 101 if (errno == EINVAL && INT_MAX < bytes_to_read) in block_read()
|
/freebsd/contrib/libpcap/ |
H A D | sf-pcap.c | 673 size_t bytes_to_read, bytes_read; in pcap_next_packet() local 714 bytes_to_read = bytes_to_discard; in pcap_next_packet() 715 if (bytes_to_read > sizeof (discard_buf)) in pcap_next_packet() 716 bytes_to_read = sizeof (discard_buf); in pcap_next_packet() 717 amt_read = fread(discard_buf, 1, bytes_to_read, fp); in pcap_next_packet() 719 if (amt_read != bytes_to_read) { in pcap_next_packet()
|
H A D | sf-pcapng.c | 256 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, in read_bytes() argument 261 amt_read = fread(buf, 1, bytes_to_read, fp); in read_bytes() 262 if (amt_read != bytes_to_read) { in read_bytes() 271 bytes_to_read, amt_read); in read_bytes()
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | handshake.c | 734 int bytes_to_read; member 813 while (ret > 0 && peer->bytes_to_read) { in do_app_data_step() 816 if (!TEST_int_le(ret, peer->bytes_to_read)) { in do_app_data_step() 820 peer->bytes_to_read -= ret; in do_app_data_step() 861 if (peer->bytes_to_write == 0 && peer->bytes_to_read == 0) { in do_app_data_step() 898 peer->bytes_to_write = peer->bytes_to_read = test_ctx->app_data_size; in do_reneg_setup_step() 1462 server.bytes_to_write = client.bytes_to_read = test_ctx->app_data_size; in do_handshake_internal() 1463 client.bytes_to_write = server.bytes_to_read = test_ctx->app_data_size; in do_handshake_internal()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/ |
H A D | ProcessElfCore.cpp | 395 size_t bytes_to_read = size; // Number of bytes to read from the core file in DoReadMemory() local 410 if (bytes_to_read > bytes_left) in DoReadMemory() 411 bytes_to_read = bytes_left; in DoReadMemory() 414 if (bytes_to_read) in DoReadMemory() 416 core_objfile->CopyData(offset + file_start, bytes_to_read, buf); in DoReadMemory()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_mtree.c | 1882 size_t bytes_to_read; in read_data() local 1906 bytes_to_read = (size_t)(mtree->cur_size - mtree->offset); in read_data() 1908 bytes_to_read = mtree->buffsize; in read_data() 1909 bytes_read = read(mtree->fd, mtree->buff, bytes_to_read); in read_data()
|
H A D | archive_read_support_format_7zip.c | 889 size_t bytes_to_read = 16 * 1024 * 1024; // Don't try to read more than 16 MB at a time in archive_read_format_7zip_read_data() local 890 if ((uint64_t)bytes_to_read > zip->entry_bytes_remaining) { in archive_read_format_7zip_read_data() 891 bytes_to_read = (size_t)zip->entry_bytes_remaining; in archive_read_format_7zip_read_data() 893 bytes = read_stream(a, buff, bytes_to_read, 0); in archive_read_format_7zip_read_data()
|
/freebsd/contrib/llvm-project/lldb/source/Host/common/ |
H A D | NativeProcessProtocol.cpp | 693 addr_t bytes_to_read = std::min<addr_t>(bytes_left, cache_line_bytes_left); in ReadCStringFromMemory() local 695 bytes_to_read, bytes_read); in ReadCStringFromMemory()
|
/freebsd/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 404 int bytes_to_read); 406 int bytes_to_read); 407 static uint64_t _decode_lsb(uint8_t **data, int bytes_to_read); 408 static uint64_t _decode_msb(uint8_t **data, int bytes_to_read); 7634 _read_lsb(Elf_Data *d, uint64_t *offsetp, int bytes_to_read) in _read_lsb() argument 7642 switch (bytes_to_read) { in _read_lsb() 7660 *offsetp += bytes_to_read; in _read_lsb() 7666 _read_msb(Elf_Data *d, uint64_t *offsetp, int bytes_to_read) in _read_msb() argument 7673 switch (bytes_to_read) { in _read_msb() 7694 *offsetp += bytes_to_read; in _read_msb() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | bufferevent_openssl.c | 739 bytes_to_read(struct bufferevent_openssl *bev) in bytes_to_read() function 799 n_to_read = bytes_to_read(bev_ssl); in consider_reading() 836 n_to_read = bytes_to_read(bev_ssl); in consider_reading()
|
H A D | ChangeLog-2.0 | 160 o Move SSL rate-limit enforcement into bytes_to_read() (96c562f)
|
H A D | ChangeLog | 1589 o Move SSL rate-limit enforcement into bytes_to_read() (96c562f)
|
/freebsd/contrib/libevent/ |
H A D | bufferevent_openssl.c | 739 bytes_to_read(struct bufferevent_openssl *bev) in bytes_to_read() function 799 n_to_read = bytes_to_read(bev_ssl); in consider_reading() 836 n_to_read = bytes_to_read(bev_ssl); in consider_reading()
|
H A D | ChangeLog-2.0 | 160 o Move SSL rate-limit enforcement into bytes_to_read() (96c562f)
|
H A D | ChangeLog | 1589 o Move SSL rate-limit enforcement into bytes_to_read() (96c562f)
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Target.cpp | 1995 addr_t bytes_to_read = in ReadCStringFromMemory() local 1997 size_t bytes_read = ReadMemory(address, curr_dst, bytes_to_read, error, in ReadCStringFromMemory() 2009 if (len < bytes_to_read) in ReadCStringFromMemory() 2062 addr_t bytes_to_read = in ReadStringFromMemory() local 2065 ReadMemory(address, curr_dst, bytes_to_read, error, force_live_memory); in ReadStringFromMemory()
|
H A D | Process.cpp | 2176 addr_t bytes_to_read = in ReadCStringFromMemory() local 2178 size_t bytes_read = ReadMemory(curr_addr, curr_dst, bytes_to_read, error); in ReadCStringFromMemory() 2189 if (len < bytes_to_read) in ReadCStringFromMemory()
|