/netbsd/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_read_data_into_fd.c | 54 ssize_t bytes_written; in pad_to() local 69 bytes_written = write(fd, nulls, to_write); in pad_to() 70 if (bytes_written < 0) { in pad_to() 74 actual_offset += bytes_written; in pad_to() 87 ssize_t bytes_written; in archive_read_data_into_fd() local 115 bytes_written = write(fd, p, bytes_to_write); in archive_read_data_into_fd() 116 if (bytes_written < 0) { in archive_read_data_into_fd() 121 actual_offset += bytes_written; in archive_read_data_into_fd() 122 p += bytes_written; in archive_read_data_into_fd() 123 size -= bytes_written; in archive_read_data_into_fd()
|
H A D | archive_write.c | 238 f->bytes_written += length; in __archive_write_filter() 330 ssize_t bytes_written; in archive_write_client_write() local 344 if (bytes_written <= 0) in archive_write_client_write() 346 remaining -= bytes_written; in archive_write_client_write() 347 buff += bytes_written; in archive_write_client_write() 370 if (bytes_written <= 0) in archive_write_client_write() 377 p += bytes_written; in archive_write_client_write() 389 if (bytes_written <= 0) in archive_write_client_write() 391 buff += bytes_written; in archive_write_client_write() 392 remaining -= bytes_written; in archive_write_client_write() [all …]
|
H A D | archive_write_disk_posix.c | 957 ssize_t bytes_written = 0; in write_data_block() local 1026 if (bytes_written < 0) { in write_data_block() 1030 buff += bytes_written; in write_data_block() 1031 size -= bytes_written; in write_data_block() 1287 b += bytes_written; in hfs_decompress() 1623 skip -= bytes_written; in hfs_write_data_block() 1628 bytes_written = in hfs_write_data_block() 1630 if (bytes_written < 0) in hfs_write_data_block() 1631 return (bytes_written); in hfs_write_data_block() 1632 buff += bytes_written; in hfs_write_data_block() [all …]
|
/netbsd/external/mit/libuv/dist/test/ |
H A D | test-tcp-try-write.c | 38 static int bytes_written; variable 57 bytes_written += r; in connect_cb() 130 ASSERT(bytes_read == bytes_written); in TEST_IMPL() 131 ASSERT(bytes_written > 0); in TEST_IMPL()
|
H A D | test-ipc-heavy-traffic-deadlock-bug.c | 46 static size_t bytes_written; variable 53 bytes_written += BUFFERS_PER_WRITE * BUFFER_SIZE; in write_cb() 116 bytes_written = 0; in do_writes_and_reads() 129 ASSERT(bytes_written == XFER_SIZE); in do_writes_and_reads()
|
/netbsd/sys/arch/arm/at91/ |
H A D | at91pdcvar.h | 286 static __inline void AT91PDC_FIFO_WRITTEN(at91pdc_fifo_t *fifo, int bytes_written) in AT91PDC_FIFO_WRITTEN() argument 288 if (bytes_written > (fifo->f_buf_size - fifo->f_length)) in AT91PDC_FIFO_WRITTEN() 289 bytes_written = (fifo->f_buf_size - fifo->f_length); in AT91PDC_FIFO_WRITTEN() 291 fifo->f_length += bytes_written; in AT91PDC_FIFO_WRITTEN() 292 if (bytes_written < contig_bytes) in AT91PDC_FIFO_WRITTEN() 293 fifo->f_ndx += bytes_written; in AT91PDC_FIFO_WRITTEN() 295 fifo->f_ndx = bytes_written - contig_bytes; in AT91PDC_FIFO_WRITTEN()
|
/netbsd/external/gpl3/gdb/dist/sim/bpf/ |
H A D | bpf-helpers.c | 57 size_t i, bytes_written = 0; in bpf_trace_printk() local 168 bytes_written++; in bpf_trace_printk() 174 return bytes_written; in bpf_trace_printk()
|
/netbsd/external/gpl3/gdb.old/dist/sim/bpf/ |
H A D | bpf-helpers.c | 57 size_t i, bytes_written = 0; in bpf_trace_printk() local 168 bytes_written++; in bpf_trace_printk() 174 return bytes_written; in bpf_trace_printk()
|
/netbsd/lib/libisns/ |
H A D | isns_task.c | 200 ssize_t bytes_written; in isns_task_send_pdu() local 248 bytes_written = isns_socket_writev(cfg_p->sd, iovp, in isns_task_send_pdu() 250 if (bytes_written == -1) { in isns_task_send_pdu() 266 if (bytes_written < (ssize_t)bytes_to_write) { in isns_task_send_pdu() 267 count = bytes_written; in isns_task_send_pdu() 302 bytes_to_write -= bytes_written; in isns_task_send_pdu()
|
/netbsd/external/apache2/llvm/dist/libcxx/src/ |
H A D | random.cpp | 142 size_t bytes_written; 143 int error = nacl_secure_random(&r, n, &bytes_written); 146 else if (bytes_written != n)
|
/netbsd/external/mpl/dhcp/dist/omapip/ |
H A D | buffer.c | 456 int bytes_written; in omapi_connection_writer() local 487 bytes_written = write (c -> socket, in omapi_connection_writer() 494 if (bytes_written < 0) { in omapi_connection_writer() 516 if (bytes_written == 0) in omapi_connection_writer() 530 iov [1].len = bytes_written; in omapi_connection_writer() 544 buffer -> head = first_byte + bytes_written - 1; in omapi_connection_writer() 545 c -> out_bytes -= bytes_written; in omapi_connection_writer() 550 if (bytes_written != bytes_this_write) in omapi_connection_writer()
|
/netbsd/external/bsd/libarchive/dist/tar/ |
H A D | write.c | 737 ssize_t bytes_written; in copy_file_data_block() local 762 bytes_written = in copy_file_data_block() 764 if (bytes_written < 0) { in copy_file_data_block() 770 if ((size_t)bytes_written < ns) { in copy_file_data_block() 779 progress += bytes_written; in copy_file_data_block() 780 sparse -= bytes_written; in copy_file_data_block() 784 bytes_written = archive_write_data(a, buff, bytes_read); in copy_file_data_block() 785 if (bytes_written < 0) { in copy_file_data_block() 790 if ((size_t)bytes_written < bytes_read) { in copy_file_data_block() 798 progress += bytes_written; in copy_file_data_block()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
H A D | sanitizer_libc_test.cc | 119 uptr bytes_written = 0; in TEST() local 120 EXPECT_TRUE(WriteToFile(fd, str1, len1, &bytes_written)); in TEST() 121 EXPECT_EQ(len1, bytes_written); in TEST() 122 EXPECT_TRUE(WriteToFile(fd, str2, len2, &bytes_written)); in TEST() 123 EXPECT_EQ(len2, bytes_written); in TEST()
|
/netbsd/external/gpl3/gdb/dist/sim/common/ |
H A D | syscall.c | 280 int bytes_written; in cb_syscall() local 296 bytes_written = (*sc->write_mem) (cb, sc, addr, buf, result); in cb_syscall() 297 if (bytes_written != result) in cb_syscall() 325 size_t bytes_written = 0; in cb_syscall() local 351 bytes_written += result; in cb_syscall() 355 result = bytes_written; in cb_syscall()
|
/netbsd/external/gpl3/gdb.old/dist/sim/common/ |
H A D | syscall.c | 280 int bytes_written; in cb_syscall() local 296 bytes_written = (*sc->write_mem) (cb, sc, addr, buf, result); in cb_syscall() 297 if (bytes_written != result) in cb_syscall() 325 size_t bytes_written = 0; in cb_syscall() local 351 bytes_written += result; in cb_syscall() 355 result = bytes_written; in cb_syscall()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_rtems.cc | 221 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 226 if (bytes_written) in WriteToFile() 227 *bytes_written = res; in WriteToFile()
|
H A D | sanitizer_win.cc | 706 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 714 bytes_written = bytes_written ? bytes_written : &dummy_bytes_written; in WriteToFile() 718 *bytes_written = 0; in WriteToFile() 735 *bytes_written = bytes_written_32; in WriteToFile()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_rtems.cc | 221 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 226 if (bytes_written) in WriteToFile() 227 *bytes_written = res; in WriteToFile()
|
H A D | sanitizer_posix.cc | 184 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 189 if (bytes_written) in WriteToFile() 190 *bytes_written = res; in WriteToFile()
|
H A D | sanitizer_win.cc | 708 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 716 bytes_written = bytes_written ? bytes_written : &dummy_bytes_written; in WriteToFile() 720 *bytes_written = 0; in WriteToFile() 737 *bytes_written = bytes_written_32; in WriteToFile()
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_rtems.cc | 221 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 226 if (bytes_written) in WriteToFile() 227 *bytes_written = res; in WriteToFile()
|
H A D | sanitizer_posix.cc | 184 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 189 if (bytes_written) in WriteToFile() 190 *bytes_written = res; in WriteToFile()
|
H A D | sanitizer_win.cc | 708 bool WriteToFile(fd_t fd, const void *buff, uptr buff_size, uptr *bytes_written, in WriteToFile() argument 716 bytes_written = bytes_written ? bytes_written : &dummy_bytes_written; in WriteToFile() 720 *bytes_written = 0; in WriteToFile() 737 *bytes_written = bytes_written_32; in WriteToFile()
|
/netbsd/external/gpl3/gdb/dist/gdbserver/ |
H A D | netbsd-low.cc | 599 int bytes_written = 0; in write_memory() local 609 io.piod_addr = (void *)(myaddr + bytes_written); in write_memory() 610 io.piod_offs = (void *)(memaddr + bytes_written); in write_memory() 618 bytes_written += io.piod_len; in write_memory() 619 io.piod_len = size - bytes_written; in write_memory() 621 while (bytes_written < size); in write_memory()
|
/netbsd/external/gpl3/gcc/dist/gcc/cp/ |
H A D | vtable-class-hierarchy.c | 709 int bytes_written __attribute__ ((unused)); in write_out_current_set_data() local 726 bytes_written = write (class_data_log_fd, buffer, strlen (buffer)); in write_out_current_set_data() 847 int bytes_written __attribute__ ((unused)); in output_set_info() local 885 bytes_written = write (vtv_debug_log_fd, buffer, strlen(buffer)); in output_set_info() 1100 int bytes_written __attribute__ ((unused)); in write_out_vtv_count_data() local 1126 bytes_written = write (vtv_count_log_fd, buffer, strlen (buffer)); in write_out_vtv_count_data()
|