/freebsd-current/contrib/libarchive/libarchive/test/ |
H A D | test_compat_solaris_pax_sparse.c | 38 size_t bytes_read; local 78 archive_read_data_block(a, &buff, &bytes_read, &offset)) { 80 assert((offset >= 0 && offset + bytes_read <= 131072) || 81 (offset >= 393216 && offset + bytes_read <= 393216+131072) || 82 (offset >= 786432 && offset + bytes_read <= 786432+32775)); 83 if (offset == 0 && bytes_read >= 1024*8) { 87 } else if (offset + bytes_read == 819207 && bytes_read >= 7) { 89 last += bytes_read - 7; 119 size_t bytes_read; local [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/Host/common/ |
H A D | PipeBase.cpp | 21 Status PipeBase::Read(void *buf, size_t size, size_t &bytes_read) { argument 23 bytes_read);
|
H A D | FileCache.cpp | 109 size_t bytes_read = dst_len; 110 error = file_up->Read(dst, bytes_read); 113 return bytes_read;
|
H A D | NativeProcessProtocol.cpp | 376 size_t bytes_read = 0; local 378 ReadMemory(addr, curr_break_op.data(), curr_break_op.size(), bytes_read); 379 if (error.Fail() || bytes_read < curr_break_op.size()) { 382 addr, curr_break_op.size(), bytes_read); 433 size_t bytes_read = 0; local 435 saved_opcode_bytes.size(), bytes_read); 440 if (bytes_read != saved_opcode_bytes.size()) { 445 saved_opcode_bytes.size(), bytes_read); 651 size_t &bytes_read) { 652 Status error = ReadMemory(addr, buf, size, bytes_read); 649 ReadMemoryWithoutTrap(lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read) argument 682 size_t bytes_read = 0; local [all...] |
/freebsd-current/contrib/libcbor/examples/ |
H A D | streaming_parser.c | 54 size_t bytes_read = 0; local 56 while (bytes_read < length) { 57 decode_result = cbor_stream_decode(buffer + bytes_read, length - bytes_read, 59 bytes_read += decode_result.read;
|
/freebsd-current/sys/dev/cxgbe/cudbg/ |
H A D | fastlz_api.c | 213 unsigned int bytes_read; local 217 bytes_read = pin_buff->size; 225 if (bytes_read < 32) 233 bytes_read, result); 242 bytes_read); 258 checksum = update_adler32(1L, pin_buff->data, bytes_read); 260 rc = write_chunk_header(pout_buff, 17, 0, bytes_read, checksum, 261 bytes_read); 268 bytes_read); 286 size_t bytes_read; local 352 unsigned long bytes_read; local [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_pool.c | 106 zpool_history_unpack(char *buf, uint64_t bytes_read, uint64_t *leftover, argument 114 while (bytes_read > sizeof (reclen)) { 120 if (bytes_read < sizeof (reclen) + reclen) 127 bytes_read -= sizeof (reclen) + reclen; 145 *leftover = bytes_read;
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ |
H A D | NativeProcessELF.cpp | 70 size_t bytes_read; local 72 sizeof(phdr_entry), bytes_read); 95 size_t bytes_read; local 97 &dynamic_entry, sizeof(dynamic_entry), bytes_read); 120 size_t bytes_read; local 122 ReadMemory(link_map_addr, &link_map, sizeof(link_map), bytes_read); 128 link_map.l_name, &name_buffer[0], sizeof(name_buffer), bytes_read); 151 size_t bytes_read; local 153 ReadMemory(info_address, &address, GetAddressByteSize(), bytes_read); 162 GetAddressByteSize(), bytes_read); [all...] |
/freebsd-current/contrib/llvm-project/lldb/source/API/ |
H A D | SBFile.cpp | 57 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) { argument 58 LLDB_INSTRUMENT_VA(this, buf, num_bytes, bytes_read); 63 *bytes_read = 0; 67 *bytes_read = num_bytes;
|
H A D | SBCommunication.cpp | 108 size_t bytes_read = 0; local 113 bytes_read = m_opaque->Read(dst, dst_len, timeout, status, nullptr); 117 return bytes_read;
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | PipeBase.h | 62 size_t &bytes_read) = 0; 63 Status Read(void *buf, size_t size, size_t &bytes_read);
|
/freebsd-current/sys/dev/liquidio/base/ |
H A D | lio_console.c | 468 int32_t bytes_read) 475 for (i = 0; i < bytes_read; i++) { 505 if (line != &console_buffer[bytes_read]) { 506 console_buffer[bytes_read] = '\0'; 522 int32_t bytes_read, total_read, tries; local 537 bytes_read = lio_console_read(oct, console_num, console_buffer, 539 if (bytes_read > 0) { 540 total_read += bytes_read; 548 bytes_read); 551 } else if (bytes_read < 466 lio_output_console_line(struct octeon_device *oct, struct lio_console *console, size_t console_num, char *console_buffer, int32_t bytes_read) argument 776 int32_t bytes_read, total_read, tries; local [all...] |
/freebsd-current/lib/libutil/ |
H A D | uucplock.c | 208 int bytes_read; local 212 bytes_read = read (fd, buf, sizeof (buf) - 1); 213 if (bytes_read > 0) { 214 buf[bytes_read] = '\0'; 218 *err = bytes_read ? errno : EINVAL;
|
/freebsd-current/crypto/openssl/apps/ |
H A D | s_time.c | 128 long bytes_read = 0, finishtime = 0; local 273 bytes_read = 0; 289 bytes_read += i; 317 nConn, totalTime, ((double)nConn / totalTime), bytes_read); 321 nConn > 0 ? bytes_read / nConn : 0l); 355 bytes_read = 0; 371 bytes_read += i; 396 nConn, totalTime, ((double)nConn / totalTime), bytes_read); 400 nConn, (long)time(NULL) - finishtime + maxtime, bytes_read / nConn);
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_read_open_file.c | 111 size_t bytes_read; local 114 bytes_read = fread(mine->buffer, 1, mine->block_size, mine->f); 115 if (bytes_read < mine->block_size && ferror(mine->f)) { 118 return (bytes_read);
|
H A D | archive_read_open_fd.c | 115 ssize_t bytes_read; local 119 bytes_read = read(mine->fd, mine->buffer, mine->block_size); 120 if (bytes_read < 0) { 126 return (bytes_read);
|
H A D | archive_read_support_format_ar.c | 483 ssize_t bytes_read; local 494 *buff = __archive_read_ahead(a, 1, &bytes_read); 495 if (bytes_read == 0) { 500 if (bytes_read < 0) 502 if (bytes_read > ar->entry_bytes_remaining) 503 bytes_read = (ssize_t)ar->entry_bytes_remaining; 504 *size = bytes_read; 505 ar->entry_bytes_unconsumed = bytes_read; 507 ar->entry_offset += bytes_read; 508 ar->entry_bytes_remaining -= bytes_read; [all...] |
H A D | archive_write_add_filter_program.c | 333 ssize_t bytes_read; local 345 bytes_read = read(data->child_stdout, 348 } while (bytes_read == -1 && errno == EINTR); 350 if (bytes_read == 0 || (bytes_read == -1 && errno == EPIPE)) 353 if (bytes_read == -1) { 359 data->child_buf_avail += bytes_read;
|
H A D | archive_read_support_format_tar.c | 593 ssize_t bytes_read; local 625 *buff = __archive_read_ahead(a, 1, &bytes_read); 626 if (bytes_read < 0) 633 if (bytes_read > tar->entry_bytes_remaining) 634 bytes_read = (ssize_t)tar->entry_bytes_remaining; 637 if (tar->sparse_list->remaining < bytes_read) 638 bytes_read = (ssize_t)tar->sparse_list->remaining; 639 *size = bytes_read; 641 tar->sparse_list->remaining -= bytes_read; 642 tar->sparse_list->offset += bytes_read; 853 ssize_t bytes_read; local 2346 ssize_t bytes_read; local 2484 ssize_t bytes_read; local 2528 ssize_t bytes_read; local 2764 ssize_t bytes_read; local [all...] |
/freebsd-current/crypto/openssl/providers/common/include/prov/ |
H A D | bio.h | 20 size_t *bytes_read);
|
/freebsd-current/sys/security/mac_veriexec_parser/ |
H A D | mac_veriexec_parser.c | 260 ssize_t bytes_read, resid; local 264 bytes_read = 0; 276 while (bytes_read < va.va_size) { 279 va.va_size - bytes_read, bytes_read, 285 bytes_read = va.va_size - resid; 288 data[bytes_read] = '\0';
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | NativeProcessSoftwareSingleStep.cpp | 41 size_t bytes_read; local 42 emulator_baton->m_process.ReadMemory(addr, dst, length, bytes_read); 43 return bytes_read;
|
/freebsd-current/contrib/libarchive/libarchive_fe/ |
H A D | line_reader.c | 92 size_t bytes_wanted, bytes_read, new_buff_size; local 145 bytes_read = fread(lr->buff_end, 1, bytes_wanted, lr->f); 146 lr->buff_end += bytes_read;
|
/freebsd-current/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | PipePosix.cpp | 305 size_t &bytes_read) { 307 bytes_read = 0; 322 ::read(fd, static_cast<char *>(buf) + bytes_read, size - bytes_read); 324 bytes_read += result; 325 if (bytes_read == size || result == 0) 303 ReadWithTimeout(void *buf, size_t size, const std::chrono::microseconds &timeout, size_t &bytes_read) argument
|
/freebsd-current/crypto/openssl/test/ |
H A D | bio_core_test.c | 20 size_t *bytes_read) 22 return BIO_read_ex(bio->bio, data, data_len, bytes_read); 19 tst_bio_core_read_ex(OSSL_CORE_BIO *bio, char *data, size_t data_len, size_t *bytes_read) argument
|