/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() 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 139 switch (bytes_to_read) { in _dwarf_decode_msb() [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/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/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/libpcap/ |
H A D | sf-pcap.c | 601 size_t bytes_to_read, bytes_read; in pcap_next_packet() local 642 bytes_to_read = bytes_to_discard; in pcap_next_packet() 643 if (bytes_to_read > sizeof (discard_buf)) in pcap_next_packet() 644 bytes_to_read = sizeof (discard_buf); in pcap_next_packet() 645 amt_read = fread(discard_buf, 1, bytes_to_read, fp); in pcap_next_packet() 647 if (amt_read != bytes_to_read) { in pcap_next_packet()
|
H A D | sf-pcapng.c | 258 read_bytes(FILE *fp, void *buf, size_t bytes_to_read, int fail_on_eof, in read_bytes() argument 263 amt_read = fread(buf, 1, bytes_to_read, fp); in read_bytes() 264 if (amt_read != bytes_to_read) { in read_bytes() 273 bytes_to_read, amt_read); in read_bytes()
|
/freebsd/crypto/openssl/test/helpers/ |
H A D | handshake.c | 728 int bytes_to_read; member 807 while (ret > 0 && peer->bytes_to_read) { in do_app_data_step() 810 if (!TEST_int_le(ret, peer->bytes_to_read)) { in do_app_data_step() 814 peer->bytes_to_read -= ret; in do_app_data_step() 855 if (peer->bytes_to_write == 0 && peer->bytes_to_read == 0) { in do_app_data_step() 892 peer->bytes_to_write = peer->bytes_to_read = test_ctx->app_data_size; in do_reneg_setup_step() 1456 server.bytes_to_write = client.bytes_to_read = test_ctx->app_data_size; in do_handshake_internal() 1457 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 | 385 size_t bytes_to_read = size; // Number of bytes to read from the core file in DoReadMemory() local 400 if (bytes_to_read > bytes_left) in DoReadMemory() 401 bytes_to_read = bytes_left; in DoReadMemory() 404 if (bytes_to_read) in DoReadMemory() 406 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 | 881 size_t bytes_to_read = max_read_size; in archive_read_format_7zip_read_data() local 882 if ((uint64_t)bytes_to_read > zip->entry_bytes_remaining) { in archive_read_format_7zip_read_data() 883 bytes_to_read = zip->entry_bytes_remaining; in archive_read_format_7zip_read_data() 885 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); 7642 switch (bytes_to_read) { in _read_lsb() 7660 *offsetp += bytes_to_read; in _read_lsb() 7673 switch (bytes_to_read) { in _read_msb() 7694 *offsetp += bytes_to_read; in _read_msb() 7700 _decode_lsb(uint8_t **data, int bytes_to_read) in _decode_lsb() argument 7708 switch (bytes_to_read) { in _decode_lsb() 7726 *data += bytes_to_read; in _decode_lsb() 7740 switch (bytes_to_read) { in _decode_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 | 2000 addr_t bytes_to_read = in ReadCStringFromMemory() local 2002 size_t bytes_read = ReadMemory(address, curr_dst, bytes_to_read, error, in ReadCStringFromMemory() 2014 if (len < bytes_to_read) in ReadCStringFromMemory() 2067 addr_t bytes_to_read = in ReadStringFromMemory() local 2070 ReadMemory(address, curr_dst, bytes_to_read, error, force_live_memory); in ReadStringFromMemory()
|
H A D | Process.cpp | 2021 addr_t bytes_to_read = in ReadCStringFromMemory() local 2023 size_t bytes_read = ReadMemory(curr_addr, curr_dst, bytes_to_read, error); in ReadCStringFromMemory() 2034 if (len < bytes_to_read) in ReadCStringFromMemory()
|