| /netbsd-src/external/gpl3/binutils/dist/opcodes/ |
| H A D | wasm32-dis.c | 288 unsigned int bytes_read; in print_insn_wasm32() local 313 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, false); in print_insn_wasm32() 316 len += bytes_read; in print_insn_wasm32() 357 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, in print_insn_wasm32() 362 len += bytes_read; in print_insn_wasm32() 367 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, in print_insn_wasm32() 372 len += bytes_read; in print_insn_wasm32() 382 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, in print_insn_wasm32() 387 len += bytes_read; in print_insn_wasm32() 397 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, true); in print_insn_wasm32() [all …]
|
| H A D | v850-dis.c | 85 int bytes_read, in get_operand_value() argument 97 int status = info->read_memory_func (memaddr + bytes_read, buffer, 2, info); in get_operand_value() 112 info->memory_error_func (status, memaddr + bytes_read, info); in get_operand_value() 131 info->memory_error_func (status, memaddr + bytes_read, info); in get_operand_value() 138 int status = info->read_memory_func (memaddr + bytes_read, buffer, 4, info); in get_operand_value() 142 bytes_read += 4; in get_operand_value() 149 info->memory_error_func (status, memaddr + bytes_read, info); in get_operand_value() 281 int bytes_read, in disassemble() argument 318 if (bytes_read == 2) in disassemble() 342 value = get_operand_value (operand, insn, bytes_read, memaddr, in disassemble() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/opcodes/ |
| H A D | wasm32-dis.c | 288 unsigned int bytes_read; in print_insn_wasm32() local 313 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, false); in print_insn_wasm32() 316 len += bytes_read; in print_insn_wasm32() 357 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, in print_insn_wasm32() 362 len += bytes_read; in print_insn_wasm32() 367 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, in print_insn_wasm32() 372 len += bytes_read; in print_insn_wasm32() 382 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, in print_insn_wasm32() 387 len += bytes_read; in print_insn_wasm32() 397 val = wasm_read_leb128 (pc + len, info, &error, &bytes_read, true); in print_insn_wasm32() [all …]
|
| H A D | v850-dis.c | 85 int bytes_read, in get_operand_value() argument 97 int status = info->read_memory_func (memaddr + bytes_read, buffer, 2, info); in get_operand_value() 112 info->memory_error_func (status, memaddr + bytes_read, info); in get_operand_value() 131 info->memory_error_func (status, memaddr + bytes_read, info); in get_operand_value() 138 int status = info->read_memory_func (memaddr + bytes_read, buffer, 4, info); in get_operand_value() 142 bytes_read += 4; in get_operand_value() 149 info->memory_error_func (status, memaddr + bytes_read, info); in get_operand_value() 281 int bytes_read, in disassemble() argument 318 if (bytes_read == 2) in disassemble() 342 value = get_operand_value (operand, insn, bytes_read, memaddr, in disassemble() [all …]
|
| /netbsd-src/external/mit/libcbor/dist/examples/ |
| H A D | streaming_parser.c | 48 size_t bytes_read = 0; in main() local 50 while (bytes_read < length) { in main() 51 decode_result = cbor_stream_decode(buffer + bytes_read, length - bytes_read, in main() 53 bytes_read += decode_result.read; in main()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | s_time.c | 103 long bytes_read = 0, finishtime = 0; in s_time_main() local 219 bytes_read = 0; in s_time_main() 235 bytes_read += i; in s_time_main() 263 nConn, totalTime, ((double)nConn / totalTime), bytes_read); in s_time_main() 267 nConn > 0 ? bytes_read / nConn : 0l); in s_time_main() 300 bytes_read = 0; in s_time_main() 316 bytes_read += i; in s_time_main() 340 nConn, totalTime, ((double)nConn / totalTime), bytes_read); in s_time_main() 343 nConn, (long)time(NULL) - finishtime + maxtime, bytes_read / nConn); in s_time_main()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/apps/ |
| H A D | s_time.c | 128 long bytes_read = 0, finishtime = 0; in s_time_main() local 273 bytes_read = 0; in s_time_main() 289 bytes_read += i; in s_time_main() 317 nConn, totalTime, ((double)nConn / totalTime), bytes_read); in s_time_main() 321 nConn > 0 ? bytes_read / nConn : 0l); in s_time_main() 355 bytes_read = 0; in s_time_main() 371 bytes_read += i; in s_time_main() 396 nConn, totalTime, ((double)nConn / totalTime), bytes_read); in s_time_main() 400 nConn, (long)time(NULL) - finishtime + maxtime, bytes_read / nConn); in s_time_main()
|
| /netbsd-src/external/mit/libuv/dist/test/ |
| H A D | test-ipc-heavy-traffic-deadlock-bug.c | 47 static size_t bytes_read; variable 98 bytes_read += nread; in read_cb() 104 if (bytes_read >= XFER_SIZE) { in read_cb() 117 bytes_read = 0; in do_writes_and_reads() 130 ASSERT(bytes_read == XFER_SIZE); in do_writes_and_reads()
|
| H A D | test-tcp-try-write.c | 37 static int bytes_read; variable 85 bytes_read += nread; in read_cb() 130 ASSERT(bytes_read == bytes_written); in TEST_IMPL()
|
| /netbsd-src/external/mit/libcbor/dist/doc/source/streaming/ |
| H A D | decoding.rst | 48 size_t bytes_read = 0; 50 while (bytes_read < length) { 51 decode_result = cbor_stream_decode(buffer + bytes_read, 52 length - bytes_read, 54 bytes_read += decode_result.read;
|
| /netbsd-src/sys/arch/arm/at91/ |
| H A D | at91pdcvar.h | 190 static __inline void AT91PDC_FIFO_READ(at91pdc_fifo_t *fifo, int bytes_read) in AT91PDC_FIFO_READ() argument 192 if (bytes_read > fifo->f_length) in AT91PDC_FIFO_READ() 193 bytes_read = fifo->f_length; in AT91PDC_FIFO_READ() 195 fifo->f_length -= bytes_read; in AT91PDC_FIFO_READ() 196 fifo->f_pdc_space += bytes_read; in AT91PDC_FIFO_READ() 197 if (bytes_read < contig_bytes) in AT91PDC_FIFO_READ() 198 fifo->f_ndx += bytes_read; in AT91PDC_FIFO_READ() 200 fifo->f_ndx = bytes_read - contig_bytes; in AT91PDC_FIFO_READ()
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive/ |
| H A D | archive_write_add_filter_program.c | 333 ssize_t bytes_read; in __archive_write_program_close() local 345 bytes_read = read(data->child_stdout, in __archive_write_program_close() 348 } while (bytes_read == -1 && errno == EINTR); in __archive_write_program_close() 350 if (bytes_read == 0 || (bytes_read == -1 && errno == EPIPE)) in __archive_write_program_close() 353 if (bytes_read == -1) { in __archive_write_program_close() 359 data->child_buf_avail += bytes_read; in __archive_write_program_close()
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/device/ |
| H A D | device.c | 191 ssize_t bytes_read = 0; 227 bytes_read = 0; 235 while ((bytes_read < SECTOR_SIZE) && 237 read(pv_handle, buffer + bytes_read, 238 SECTOR_SIZE - bytes_read)) != -1) 239 bytes_read += read_ret;
|
| /netbsd-src/external/gpl2/texinfo/dist/info/ |
| H A D | filesys.c | 563 int bytes_read; in filesys_read_compressed() local 565 bytes_read = fread (chunk, 1, FILESYS_PIPE_BUFFER_SIZE, stream); in filesys_read_compressed() 567 if (bytes_read + offset >= size) in filesys_read_compressed() 571 memcpy (contents + offset, chunk, bytes_read); in filesys_read_compressed() 572 offset += bytes_read; in filesys_read_compressed() 573 if (bytes_read != FILESYS_PIPE_BUFFER_SIZE) in filesys_read_compressed()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/common/ |
| H A D | bio_prov.c | 91 size_t *bytes_read) in ossl_prov_bio_read_ex() argument 95 return c_bio_read_ex(bio, data, data_len, bytes_read); in ossl_prov_bio_read_ex() 165 size_t *bytes_read) in bio_core_read_ex() argument 167 return ossl_prov_bio_read_ex(BIO_get_data(bio), data, data_len, bytes_read); in bio_core_read_ex()
|
| /netbsd-src/external/mit/libcbor/dist/doc/source/ |
| H A D | using.rst | 163 size_t bytes_read = 0; 165 while (bytes_read < length) { 166 decode_result = cbor_stream_decode(buffer + bytes_read, 167 length - bytes_read, 169 bytes_read += decode_result.read;
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cc | 678 uptr bytes_read = buffer.size(); in GetNumberOfCPUs() 681 struct linux_dirent *entry = (struct linux_dirent *)&buffer[bytes_read]; in GetNumberOfCPUs() 683 if ((u8 *)entry >= &buffer[bytes_read]) { in GetNumberOfCPUs() 684 bytes_read = internal_getdents(fd, (struct linux_dirent *)buffer.data(), in GetNumberOfCPUs() 686 if (internal_iserror(bytes_read) || !bytes_read) in GetNumberOfCPUs() 691 if (d_type >= &buffer[bytes_read] || in GetNumberOfCPUs() 692 (u8 *)&entry->d_name[3] >= &buffer[bytes_read]) in GetNumberOfCPUs()
|
| H A D | sanitizer_win.cc | 535 uptr bytes_read; in GetPreferredBase() local 536 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || in GetPreferredBase() 537 bytes_read != sizeof(dos_header)) in GetPreferredBase() 553 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) || in GetPreferredBase() 554 bytes_read != sizeof(buf)) in GetPreferredBase() 685 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile() argument 696 if (bytes_read) in ReadFromFile() 697 *bytes_read = num_read_long; in ReadFromFile()
|
| /netbsd-src/external/bsd/libarchive/dist/libarchive_fe/ |
| H A D | line_reader.c | 92 size_t bytes_wanted, bytes_read, new_buff_size; in lafe_line_reader_next() local 145 bytes_read = fread(lr->buff_end, 1, bytes_wanted, lr->f); in lafe_line_reader_next() 146 lr->buff_end += bytes_read; in lafe_line_reader_next()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| H A D | sanitizer_libc_test.cc | 153 uptr bytes_read = 0; in TEST() local 154 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); in TEST() 155 EXPECT_EQ(len1, bytes_read); in TEST() 159 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read)); in TEST() 160 EXPECT_EQ(len2, bytes_read); in TEST()
|
| H A D | sanitizer_linux_test.cc | 280 uptr bytes_read; in TEST() local 281 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) { in TEST() 282 if (!bytes_read) { in TEST() 285 ptr += bytes_read; in TEST()
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | wasm-module.c | 395 unsigned int bytes_read; in wasm_scan() local 418 bfdsec->size = wasm_read_leb128 (abfd, &error, &bytes_read, false); in wasm_scan() 431 payload_len = wasm_read_leb128 (abfd, &error, &bytes_read, false); in wasm_scan() 434 namelen = wasm_read_leb128 (abfd, &error, &bytes_read, false); in wasm_scan() 435 if (error || bytes_read > payload_len in wasm_scan() 436 || namelen > payload_len - bytes_read) in wasm_scan() 438 payload_len -= namelen + bytes_read; in wasm_scan()
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | wasm-module.c | 394 unsigned int bytes_read; in wasm_scan() local 417 bfdsec->size = wasm_read_leb128 (abfd, &error, &bytes_read, false); in wasm_scan() 430 payload_len = wasm_read_leb128 (abfd, &error, &bytes_read, false); in wasm_scan() 433 namelen = wasm_read_leb128 (abfd, &error, &bytes_read, false); in wasm_scan() 434 if (error || bytes_read > payload_len in wasm_scan() 435 || namelen > payload_len - bytes_read) in wasm_scan() 437 payload_len -= namelen + bytes_read; in wasm_scan()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_win.cc | 537 uptr bytes_read; in GetPreferredBase() local 538 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || in GetPreferredBase() 539 bytes_read != sizeof(dos_header)) in GetPreferredBase() 555 if (!ReadFromFile(fd, &buf[0], sizeof(buf), &bytes_read) || in GetPreferredBase() 556 bytes_read != sizeof(buf)) in GetPreferredBase() 687 bool ReadFromFile(fd_t fd, void *buff, uptr buff_size, uptr *bytes_read, in ReadFromFile() argument 698 if (bytes_read) in ReadFromFile() 699 *bytes_read = num_read_long; in ReadFromFile()
|
| /netbsd-src/external/gpl2/groff/dist/src/devices/grolbp/ |
| H A D | lbp.cpp | 376 int bytes_read = 1; in vdmflush() local 382 bytes_read = fread(buffer, 1, sizeof(buffer), vdmoutput); in vdmflush() 383 bytes_read = fwrite(buffer, 1, bytes_read, lbpoutput); in vdmflush() 384 } while (bytes_read == sizeof(buffer)); in vdmflush()
|