Searched refs:bytes_to_write (Results 1 – 5 of 5) sorted by relevance
/minix/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_read_data_into_fd.c | 53 size_t size, bytes_to_write; in archive_read_data_into_fd() local 75 bytes_to_write = size; in archive_read_data_into_fd() 76 if (bytes_to_write > MAX_WRITE) in archive_read_data_into_fd() 77 bytes_to_write = MAX_WRITE; in archive_read_data_into_fd() 78 bytes_written = write(fd, p, bytes_to_write); in archive_read_data_into_fd()
|
H A D | archive_write_disk.c | 550 ssize_t block_size = 0, bytes_to_write; in write_data_block() local 581 bytes_to_write = size; in write_data_block() 604 bytes_to_write = size; in write_data_block() 605 if (a->offset + bytes_to_write > block_end) in write_data_block() 606 bytes_to_write = block_end - a->offset; in write_data_block() 619 bytes_written = write(a->fd, buff, bytes_to_write); in write_data_block()
|
/minix/external/bsd/elftoolchain/dist/libdwarf/ |
H A D | libdwarf_rw.c | 165 int bytes_to_write) in _dwarf_write_lsb() argument 171 switch (bytes_to_write) { in _dwarf_write_lsb() 189 *offsetp += bytes_to_write; in _dwarf_write_lsb() 194 uint64_t value, int bytes_to_write, Dwarf_Error *error) in _dwarf_write_lsb_alloc() argument 199 while (*offsetp + bytes_to_write > *size) { in _dwarf_write_lsb_alloc() 208 _dwarf_write_lsb(*block, offsetp, value, bytes_to_write); in _dwarf_write_lsb_alloc() 215 int bytes_to_write) in _dwarf_write_msb() argument 221 switch (bytes_to_write) { in _dwarf_write_msb() 242 *offsetp += bytes_to_write; in _dwarf_write_msb() 252 while (*offsetp + bytes_to_write > *size) { in _dwarf_write_msb_alloc() [all …]
|
/minix/common/dist/zlib/contrib/iostream3/ |
H A D | zfstream.cc | 229 int bytes_to_write = this->pptr() - this->pbase(); in overflow() local 231 if (bytes_to_write > 0) in overflow() 237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow() 240 this->pbump(-bytes_to_write); in overflow()
|
/minix/minix/drivers/usb/usb_storage/ |
H A D | usb_storage.c | 850 unsigned long bytes_to_write; /* To be written in this iteration */ in mass_storage_write() local 940 bytes_to_write = buf_offset; in mass_storage_write() 943 bytes_to_write = bytes_left; in mass_storage_write() 949 if (bytes_to_write > 0) { in mass_storage_write() 953 info.length = bytes_to_write; in mass_storage_write() 962 bytes_to_write)) in mass_storage_write() 971 sector_number += bytes_to_write / SECTOR_SIZE; in mass_storage_write() 974 bytes_already_written += bytes_to_write; in mass_storage_write()
|