/freebsd-11-stable/contrib/libarchive/libarchive/test/ |
H A D | test_compat_solaris_pax_sparse.c | 40 size_t bytes_read; local 80 archive_read_data_block(a, &buff, &bytes_read, &offset)) { 82 assert((offset >= 0 && offset + bytes_read <= 131072) || 83 (offset >= 393216 && offset + bytes_read <= 393216+131072) || 84 (offset >= 786432 && offset + bytes_read <= 786432+32775)); 85 if (offset == 0 && bytes_read >= 1024*8) { 89 } else if (offset + bytes_read == 819207 && bytes_read >= 7) { 91 last += bytes_read - 7; 121 size_t bytes_read; local [all...] |
/freebsd-11-stable/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 | NativeProcessProtocol.cpp | 395 size_t bytes_read = 0; local 397 ReadMemory(addr, curr_break_op.data(), curr_break_op.size(), bytes_read); 398 if (error.Fail() || bytes_read < curr_break_op.size()) { 401 addr, curr_break_op.size(), bytes_read); 452 size_t bytes_read = 0; local 454 saved_opcode_bytes.size(), bytes_read); 459 if (bytes_read != saved_opcode_bytes.size()) { 464 saved_opcode_bytes.size(), bytes_read); 641 size_t &bytes_read) { 642 Status error = ReadMemory(addr, buf, size, bytes_read); 639 ReadMemoryWithoutTrap(lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read) argument 673 size_t bytes_read = 0; local [all...] |
H A D | FileCache.cpp | 109 size_t bytes_read = dst_len; 110 error = file_up->Read(dst, bytes_read); 113 return bytes_read;
|
/freebsd-11-stable/sys/dev/cxgbe/cudbg/ |
H A D | fastlz_api.c | 215 unsigned int bytes_read; local 219 bytes_read = pin_buff->size; 227 if (bytes_read < 32) 235 bytes_read, result); 244 bytes_read); 260 checksum = update_adler32(1L, pin_buff->data, bytes_read); 262 rc = write_chunk_header(pout_buff, 17, 0, bytes_read, checksum, 263 bytes_read); 270 bytes_read); 288 size_t bytes_read; local 355 unsigned long bytes_read; local [all...] |
/freebsd-11-stable/usr.sbin/daemon/ |
H A D | daemon.c | 460 static size_t bytes_read = 0; local 464 assert(bytes_read < LBUF_SIZE - 1); 466 rv = read(fd, buf + bytes_read, LBUF_SIZE - bytes_read - 1); 470 bytes_read += rv; 471 assert(bytes_read <= LBUF_SIZE - 1); 478 while ((cp = memchr(buf, '\n', bytes_read)) != NULL) { 480 assert(bytes_line <= bytes_read); 482 bytes_read -= bytes_line; 483 memmove(buf, cp + 1, bytes_read); [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/POSIX/ |
H A D | NativeProcessELF.cpp | 69 size_t bytes_read; local 71 sizeof(phdr_entry), bytes_read); 94 size_t bytes_read; local 96 &dynamic_entry, sizeof(dynamic_entry), bytes_read); 114 size_t bytes_read; local 116 ReadMemory(link_map_addr, &link_map, sizeof(link_map), bytes_read); 122 link_map.l_name, &name_buffer[0], sizeof(name_buffer), bytes_read); 145 size_t bytes_read; local 147 ReadMemory(info_address, &address, GetAddressByteSize(), bytes_read); 156 GetAddressByteSize(), bytes_read); [all...] |
/freebsd-11-stable/contrib/apr/file_io/unix/ |
H A D | fullrw.c | 22 apr_size_t *bytes_read) 36 if (bytes_read != NULL) 37 *bytes_read = total_read;
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | dwarf.c | 227 unsigned int bytes_read; local 232 len = read_leb128 (data, & bytes_read, 0); 233 data += bytes_read; 238 return bytes_read; 241 len += bytes_read; 254 adr = byte_get (data, len - bytes_read - 1); 266 printf (_("%lu\t"), read_leb128 (data, & bytes_read, 0)); 267 data += bytes_read; 268 printf (_("%lu\t"), read_leb128 (data, & bytes_read, 0)); 269 data += bytes_read; 413 unsigned int bytes_read; local 589 unsigned int bytes_read; local 939 unsigned int bytes_read; local 1692 unsigned int bytes_read; local 1939 unsigned int bytes_read; local 1967 unsigned int bytes_read; local 2177 unsigned int bytes_read; local [all...] |
/freebsd-11-stable/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-11-stable/lib/libutil/ |
H A D | uucplock.c | 212 int bytes_read; local 216 bytes_read = read (fd, buf, sizeof (buf) - 1); 217 if (bytes_read > 0) { 218 buf[bytes_read] = '\0'; 222 *err = bytes_read ? errno : EINVAL;
|
/freebsd-11-stable/sys/dev/liquidio/base/ |
H A D | lio_console.c | 469 int32_t bytes_read) 476 for (i = 0; i < bytes_read; i++) { 506 if (line != &console_buffer[bytes_read]) { 507 console_buffer[bytes_read] = '\0'; 523 int32_t bytes_read, total_read, tries; local 538 bytes_read = lio_console_read(oct, console_num, console_buffer, 540 if (bytes_read > 0) { 541 total_read += bytes_read; 549 bytes_read); 552 } else if (bytes_read < 467 lio_output_console_line(struct octeon_device *oct, struct lio_console *console, size_t console_num, char *console_buffer, int32_t bytes_read) argument 777 int32_t bytes_read, total_read, tries; local [all...] |
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | s_time.c | 137 static long bytes_read = 0; variable 160 bytes_read = 0; 406 bytes_read = 0; 429 bytes_read += i; 463 nConn, totalTime, ((double)nConn / totalTime), bytes_read); 466 nConn, (long)time(NULL) - finishtime + maxTime, bytes_read / nConn); 501 bytes_read = 0; 524 bytes_read += i; 554 nConn, totalTime, ((double)nConn / totalTime), bytes_read); 558 bytes_read / (nCon [all...] |
/freebsd-11-stable/contrib/binutils/bfd/ |
H A D | dwarf2.c | 429 unsigned int abbrev_number, bytes_read, abbrev_name; local 465 abbrev_number = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 466 abbrev_ptr += bytes_read; 477 read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 478 abbrev_ptr += bytes_read; 483 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 484 abbrev_ptr += bytes_read; 485 abbrev_form = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 486 abbrev_ptr += bytes_read; 520 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 558 unsigned int bytes_read; local 976 unsigned int i, bytes_read, offset_size; local 1568 unsigned int abbrev_number, bytes_read, i; local 1678 unsigned int abbrev_number, bytes_read, i; local 1906 unsigned int abbrev_number, bytes_read, i; local [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_open_fd.c | 116 ssize_t bytes_read; local 120 bytes_read = read(mine->fd, mine->buffer, mine->block_size); 121 if (bytes_read < 0) { 127 return (bytes_read);
|
H A D | archive_read_open_file.c | 112 size_t bytes_read; local 115 bytes_read = fread(mine->buffer, 1, mine->block_size, mine->f); 116 if (bytes_read < mine->block_size && ferror(mine->f)) { 119 return (bytes_read);
|
H A D | archive_read_support_format_ar.c | 484 ssize_t bytes_read; local 495 *buff = __archive_read_ahead(a, 1, &bytes_read); 496 if (bytes_read == 0) { 501 if (bytes_read < 0) 503 if (bytes_read > ar->entry_bytes_remaining) 504 bytes_read = (ssize_t)ar->entry_bytes_remaining; 505 *size = bytes_read; 506 ar->entry_bytes_unconsumed = bytes_read; 508 ar->entry_offset += bytes_read; 509 ar->entry_bytes_remaining -= bytes_read; [all...] |
H A D | archive_write_add_filter_program.c | 334 ssize_t bytes_read; local 346 bytes_read = read(data->child_stdout, 349 } while (bytes_read == -1 && errno == EINTR); 351 if (bytes_read == 0 || (bytes_read == -1 && errno == EPIPE)) 354 if (bytes_read == -1) { 360 data->child_buf_avail += bytes_read;
|
H A D | archive_read_support_format_tar.c | 591 ssize_t bytes_read; local 623 *buff = __archive_read_ahead(a, 1, &bytes_read); 624 if (bytes_read < 0) 631 if (bytes_read > tar->entry_bytes_remaining) 632 bytes_read = (ssize_t)tar->entry_bytes_remaining; 635 if (tar->sparse_list->remaining < bytes_read) 636 bytes_read = (ssize_t)tar->sparse_list->remaining; 637 *size = bytes_read; 639 tar->sparse_list->remaining -= bytes_read; 640 tar->sparse_list->offset += bytes_read; 851 ssize_t bytes_read; local 2323 ssize_t bytes_read; local 2461 ssize_t bytes_read; local 2505 ssize_t bytes_read; local 2741 ssize_t bytes_read; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/API/ |
H A D | SBFile.cpp | 42 SBError SBFile::Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read) { argument 44 buf, num_bytes, bytes_read); 48 *bytes_read = 0; 52 *bytes_read = num_bytes;
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/API/ |
H A D | SBFile.h | 30 SBError Read(uint8_t *buf, size_t num_bytes, size_t *bytes_read);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 182 unsigned bytes_read; local 184 reinterpret_cast<const uint8_t *>(Data.data() + *offset_ptr), &bytes_read, 191 *offset_ptr += bytes_read; 199 unsigned bytes_read; local 201 reinterpret_cast<const uint8_t *>(Data.data() + *offset_ptr), &bytes_read, 205 *offset_ptr += bytes_read;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | PipePosix.cpp | 258 size_t &bytes_read) { 259 bytes_read = 0; 274 ::read(fd, static_cast<char *>(buf) + bytes_read, size - bytes_read); 276 bytes_read += result; 277 if (bytes_read == size || result == 0) 256 ReadWithTimeout(void *buf, size_t size, const std::chrono::microseconds &timeout, size_t &bytes_read) argument
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | dwarf2read.c | 704 int *bytes_read); 707 struct comp_unit_head *, int *bytes_read); 710 int *bytes_read); 1099 int bytes_read; 1102 &bytes_read); 1103 pubnames_ptr += bytes_read; 1126 int bytes_read; local 1128 &bytes_read); 1129 info_ptr += bytes_read; 1133 &bytes_read); 4261 unsigned int abbrev_number, bytes_read, abbrev_name; local 4381 unsigned int abbrev_number, bytes_read, i; local 4524 unsigned int abbrev_number, bytes_read, i, offset; local 4578 unsigned int bytes_read; local 4749 read_address(bfd *abfd, char *buf, struct dwarf2_cu *cu, int *bytes_read) argument 4841 read_initial_length(bfd *abfd, char *buf, struct comp_unit_head *cu_header, int *bytes_read) argument 4887 read_offset(bfd *abfd, char *buf, const struct comp_unit_head *cu_header, int *bytes_read) argument 5201 int bytes_read; local 5349 unsigned int bytes_read; local 7457 unsigned int bytes_read, unsnd; local 7970 int bytes_read; local 7998 int bytes_read; local 8049 int bytes_read; local [all...] |
H A D | dwarf2expr.c | 199 dwarf2_read_address (unsigned char *buf, unsigned char *buf_end, int *bytes_read) argument 206 *bytes_read = TARGET_ADDR_BIT / TARGET_CHAR_BIT; 268 int bytes_read; 308 result = dwarf2_read_address (op_ptr, op_end, &bytes_read); 309 op_ptr += bytes_read; 528 int bytes_read; 535 &bytes_read); 542 int bytes_read; 548 &bytes_read); 267 int bytes_read; local 527 int bytes_read; local 541 int bytes_read; local
|