/freebsd-10.0-release/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-10.0-release/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;
|
H A D | readwrite.c | 88 apr_size_t bytes_read; local 102 bytes_read = 0; 104 bytes_read = 1; 110 *nbytes = bytes_read; 124 *nbytes = bytes_read; 134 *nbytes = bytes_read;
|
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_open_fd.c | 114 ssize_t bytes_read; local 118 bytes_read = read(mine->fd, mine->buffer, mine->block_size); 119 if (bytes_read < 0) { 125 return (bytes_read);
|
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_support_format_ar.c | 472 ssize_t bytes_read; local 483 *buff = __archive_read_ahead(a, 1, &bytes_read); 484 if (bytes_read == 0) { 489 if (bytes_read < 0) 491 if (bytes_read > ar->entry_bytes_remaining) 492 bytes_read = (ssize_t)ar->entry_bytes_remaining; 493 *size = bytes_read; 494 ar->entry_bytes_unconsumed = bytes_read; 496 ar->entry_offset += bytes_read; 497 ar->entry_bytes_remaining -= bytes_read; [all...] |
H A D | archive_write_add_filter_program.c | 354 ssize_t bytes_read; local 366 bytes_read = read(data->child_stdout, 369 } while (bytes_read == -1 && errno == EINTR); 371 if (bytes_read == 0 || (bytes_read == -1 && errno == EPIPE)) 374 if (bytes_read == -1) { 380 data->child_buf_avail += bytes_read;
|
H A D | archive_read_support_format_tar.c | 525 ssize_t bytes_read; local 557 *buff = __archive_read_ahead(a, 1, &bytes_read); 558 if (bytes_read < 0) 565 if (bytes_read > tar->entry_bytes_remaining) 566 bytes_read = (ssize_t)tar->entry_bytes_remaining; 569 if (tar->sparse_list->remaining < bytes_read) 570 bytes_read = (ssize_t)tar->sparse_list->remaining; 571 *size = bytes_read; 573 tar->sparse_list->remaining -= bytes_read; 574 tar->sparse_list->offset += bytes_read; 751 ssize_t bytes_read; local 2118 ssize_t bytes_read; local 2256 ssize_t bytes_read; local 2300 ssize_t bytes_read; local 2509 ssize_t bytes_read; local [all...] |
H A D | archive_read.c | 767 size_t bytes_read; local 771 bytes_read = 0; 783 return (bytes_read); 815 bytes_read += len; 829 bytes_read += len; 834 return (bytes_read); 1216 ssize_t bytes_read; local 1276 bytes_read = (filter->read)(filter, 1278 if (bytes_read < 0) { /* Read error. */ 1287 if (bytes_read 1424 ssize_t bytes_read; local [all...] |
/freebsd-10.0-release/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-10.0-release/contrib/llvm/tools/lldb/source/Host/common/ |
H A D | File.cpp | 475 ssize_t bytes_read = -1; local 480 bytes_read = ::read (m_descriptor, buf, num_bytes); 481 } while (bytes_read < 0 && errno == EINTR); 483 if (bytes_read == -1) 489 num_bytes = bytes_read; 493 bytes_read = ::fread (buf, 1, num_bytes, m_stream); 495 if (bytes_read == 0) 504 num_bytes = bytes_read; 566 ssize_t bytes_read = -1; local 569 bytes_read [all...] |
/freebsd-10.0-release/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-10.0-release/crypto/openssl/apps/ |
H A D | s_time.c | 134 static long bytes_read=0; variable 157 bytes_read=0; 390 bytes_read=0; 413 bytes_read+=i; 447 printf( "\n\n%d connections in %.2fs; %.2f connections/user sec, bytes read %ld\n", nConn, totalTime, ((double)nConn/totalTime),bytes_read); 448 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nConn); 483 bytes_read=0; 506 bytes_read+=i; 537 printf( "\n\n%d connections in %.2fs; %.2f connections/user sec, bytes read %ld\n", nConn, totalTime, ((double)nConn/totalTime),bytes_read); 538 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nCon [all...] |
/freebsd-10.0-release/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-10.0-release/contrib/gdb/gdb/ |
H A D | dwarf2expr.h | 94 int *bytes_read);
|
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 7455 unsigned int bytes_read, unsnd; local 7965 int bytes_read; local 7993 int bytes_read; local 8044 int bytes_read; local [all...] |
H A D | dwarf2expr.c | 173 dwarf2_read_address (unsigned char *buf, unsigned char *buf_end, int *bytes_read) argument 180 *bytes_read = TARGET_ADDR_BIT / TARGET_CHAR_BIT; 241 int bytes_read; 281 result = dwarf2_read_address (op_ptr, op_end, &bytes_read); 282 op_ptr += bytes_read; 498 int bytes_read; 505 &bytes_read); 512 int bytes_read; 518 &bytes_read); 240 int bytes_read; local 497 int bytes_read; local 511 int bytes_read; local
|
H A D | dwarf2-frame.c | 276 int bytes_read; 307 fs->pc = dwarf2_read_address (insn_ptr, insn_end, &bytes_read); 308 insn_ptr += bytes_read; 1245 unsigned int bytes_read; 1252 length = read_initial_length (unit->abfd, buf, &bytes_read); 1253 buf += bytes_read; 1264 dwarf64_p = (bytes_read == 12); 1329 read_unsigned_leb128 (unit->abfd, buf, &bytes_read); 1330 buf += bytes_read; 1333 read_signed_leb128 (unit->abfd, buf, &bytes_read); 273 int bytes_read; local 1236 unsigned int bytes_read; local [all...] |
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/API/ |
H A D | SBProcess.cpp | 349 size_t bytes_read = 0; local 354 bytes_read = process_sp->GetSTDOUT (dst, dst_len, error); 361 (int) bytes_read, 364 (uint64_t)bytes_read); 366 return bytes_read; 372 size_t bytes_read = 0; local 377 bytes_read = process_sp->GetSTDERR (dst, dst_len, error); 384 (int) bytes_read, 387 (uint64_t)bytes_read); 389 return bytes_read; 395 size_t bytes_read = 0; local 972 size_t bytes_read = 0; local 1026 size_t bytes_read = 0; local [all...] |
H A D | SBCommunication.cpp | 147 size_t bytes_read = 0; local 149 bytes_read = m_opaque->Read (dst, dst_len, timeout_usec, status, NULL); 160 (uint64_t)bytes_read); 161 return bytes_read;
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Core/ |
H A D | ConnectionFileDescriptor.cpp | 416 ssize_t bytes_read = 0; 423 bytes_read = ::read (m_fd_recv, dst, dst_len); 424 } while (bytes_read < 0 && errno == EINTR); 431 if (bytes_read == 0) 436 else if (bytes_read < 0) 451 (int64_t)bytes_read, 501 return bytes_read; 752 ssize_t bytes_read; local 756 bytes_read = ::read (pipe_fd, buffer, sizeof(buffer)); 757 } while (bytes_read < [all...] |
H A D | Communication.cpp | 353 size_t bytes_read = comm->ReadFromConnection (buf, sizeof(buf), 5 * TimeValue::MicroSecPerSec, status, &error); local 354 if (bytes_read > 0) 355 comm->AppendBytesToCache (buf, bytes_read, true, status); 356 else if ((bytes_read == 0) 361 comm->AppendBytesToCache (buf, bytes_read, true, status);
|
/freebsd-10.0-release/contrib/libarchive/libarchive_fe/ |
H A D | line_reader.c | 95 size_t bytes_wanted, bytes_read, new_buff_size; local 148 bytes_read = fread(lr->buff_end, 1, bytes_wanted, lr->f); 149 lr->buff_end += bytes_read;
|
/freebsd-10.0-release/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DYLDRendezvous.cpp | 239 size_t bytes_read; local 242 bytes_read = m_process->DoReadMemory(addr, dst, size, error); 243 if (bytes_read != size || error.Fail()) 246 return addr + bytes_read;
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_base/bdb/ |
H A D | strings-table.c | 206 apr_size_t length, bytes_read = 0; 240 result.data = buf + bytes_read; 241 result.ulen = *len - bytes_read; 243 result.dlen = *len - bytes_read; 252 bytes_read += result.size; 253 if (bytes_read == *len) 273 *len = bytes_read; 204 apr_size_t length, bytes_read = 0; local
|