Searched refs:to_write (Results 1 - 10 of 10) sorted by relevance

/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.h33 s64 offs, s64 to_write, s64 rounded,
H A Dcompress.c869 s64 offs, s32 to_write, const char *outbuf)
889 if ((to_write - put) < count)
890 count = to_write - put;
899 } while ((xput == count) && (put < to_write));
1427 char *outbuf, s64 to_write, const void *b)
1437 memcpy(&outbuf[pos],b,to_write);
1452 memcpy(&outbuf[pos],b,to_write);
1512 s64 offs, s64 to_write, s64 rounded,
1569 endwrite = offs + to_write + (wrl->vcn << vol->cluster_size_bits);
1575 to_write
868 write_clusters(ntfs_volume *vol, const runlist_element *rl, s64 offs, s32 to_write, const char *outbuf) argument
1425 ntfs_read_append(ntfs_attr *na, const runlist_element *rl, s64 offs, u32 compsz, s32 pos, BOOL appending, char *outbuf, s64 to_write, const void *b) argument
1511 ntfs_compressed_pwrite(ntfs_attr *na, runlist_element *wrl, s64 wpos, s64 offs, s64 to_write, s64 rounded, const void *b, int compressed_part, VCN *update_from) argument
[all...]
H A Dwin32_io.c1200 s64 old_pos, to_write, i, bw = 0; local
1207 to_write = (ofs + count + NTFS_BLOCK_SIZE - 1) &
1210 if (to_write > 0x80000000) {
1211 int delta = to_write - count;
1212 to_write = 0x80000000;
1213 count = to_write - delta;
1216 "ofs = %i, to_write = 0x%llx.\n", fd, b,
1218 (long long)to_write);
1233 alignedbuffer = (BYTE *)VirtualAlloc(NULL, to_write,
1259 ((to_write > NTFS_BLOCK_SIZ
[all...]
H A Drunlist.c1188 s64 written, to_write, total = 0; local
1216 to_write = min(count, (rl->length <<
1219 total += to_write;
1220 count -= to_write;
1221 b = (u8*)b + to_write;
1225 to_write = min(count, (rl->length << vol->cluster_size_bits) -
1231 to_write, b);
1233 written = to_write;
H A Dattrib.c1227 s64 to_write; local
1235 to_write = min(count, ((*rl)->length << vol->cluster_size_bits) - *ofs);
1242 (long long)from_vcn, (long long)to_write, (long long)*ofs);
1307 need = ((*ofs + to_write - 1) >> vol->cluster_size_bits)
1762 s64 written, to_write, ofs, old_initialized_size, old_data_size; local
2129 to_write = min(count, (rl->length << vol->cluster_size_bits) - ofs);
2132 "%lld.\n", (long long)to_write, (long long)rl->vcn,
2137 s64 wend = (rl->vcn << vol->cluster_size_bits) + ofs + to_write;
2156 rounding += to_write;
2162 memcpy(cb, b, to_write);
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dbase64.c115 size_t to_write = MIN (cols_remaining, SIZE_MAX); local
116 to_write = MIN (to_write, len - written);
118 if (to_write == 0)
126 if (fwrite (buffer + written, 1, to_write, stdout) < to_write)
128 *current_column += to_write;
129 written += to_write;
H A Dsplit.c227 uintmax_t to_write = n_bytes;
239 if (to_read < to_write)
244 to_write -= to_read;
251 size_t w = to_write;
256 to_write = n_bytes;
226 uintmax_t to_write = n_bytes; local
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dbon_file.cpp176 int to_write = size - i; local
177 if(to_write > m_chunk_size) to_write = m_chunk_size;
180 if(DosWrite(fd, PVOID(buf), to_write, &actual))
186 if(to_write != write(fd, static_cast<void *>(buf), to_write))
/haiku-fatelf/src/bin/gdb/gdb/
H A Dui-file.c43 ui_file_write_ftype *to_write; member in struct:ui_file
143 if (file->to_write == null_file_write)
150 file->to_write (file, buf, strlen (buf));
200 file->to_write (file, buf, length_buf);
243 file->to_write = write;
/haiku-fatelf/src/add-ons/kernel/drivers/audio/cmedia/
H A Dpcm.c1451 int to_write = *nwritten; /* in play bytes, not input bytes! */ local
1466 to_write >>= 1; /* floats collapse by 2 */
1468 while (to_write > 0) {
1502 if (block > to_write) {
1510 block = to_write;
1512 else if (block < to_write) {
1543 to_write -= block;

Completed in 97 milliseconds