Home
last modified time | relevance | path

Searched refs:fBytesWritten (Results 1 – 9 of 9) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DRequestFlattener.cpp88 fBytesWritten(0) in RequestFlattener()
103 return fBytesWritten; in GetBytesWritten()
220 fBytesWritten += size; in Write()
233 int32 newBytesWritten = fBytesWritten; in Align()
235 newBytesWritten = (fBytesWritten + 3) & ~0x3; in Align()
237 newBytesWritten = (fBytesWritten + 1) & ~0x1; in Align()
239 if (newBytesWritten > fBytesWritten) { in Align()
240 fStatus = fWriter->Pad(newBytesWritten - fBytesWritten); in Align()
242 fBytesWritten = newBytesWritten; in Align()
H A DRequestChannel.cpp33 fBytesWritten(0) in ChannelWriter()
41 if (fBytesWritten + size > fBufferSize) { in Write()
53 memcpy((uint8*)fBuffer + fBytesWritten, buffer, size); in Write()
54 fBytesWritten += size; in Write()
61 if (fBytesWritten == 0) in Flush()
63 status_t error = fChannel->Send(fBuffer, fBytesWritten); in Flush()
66 fBytesWritten = 0; in Flush()
74 int32 fBytesWritten; member in RequestChannel::ChannelWriter
/haiku/src/system/kernel/lib/
H A Dkernel_vsprintf.cpp37 fBytesWritten(0) in Buffer()
43 return fBytesWritten; in BytesWritten()
48 if (fBytesWritten < fSize) { in PutCharacter()
53 fBytesWritten++; in PutCharacter()
61 if (fBytesWritten < fSize) { in PutPadding()
62 int32 toWrite = std::min(fSize - fBytesWritten, (size_t)count); in PutPadding()
67 fBytesWritten += count; in PutPadding()
75 if (fBytesWritten < fSize) { in PutString()
76 int32 toWrite = std::min(fSize - fBytesWritten, (size_t)length); in PutString()
81 fBytesWritten += length; in PutString()
[all …]
/haiku/src/apps/installer/
H A DProgressReporter.cpp24 fBytesWritten(0), in ProgressReporter()
45 fBytesWritten = 0; in Reset()
88 fBytesWritten += bytes; in ItemsWritten()
104 float progress = 100.0 * fBytesWritten / fBytesToWrite; in _UpdateProgress()
H A DProgressReporter.h38 off_t fBytesWritten; variable
H A DCopyEngine.cpp55 fBytesWritten(0), in CopyEngine()
105 fBytesWritten = 0; in ResetTargets()
567 fBytesWritten += written; in _WriteThread()
576 double megaBytes = (double)fBytesWritten / (1024 * 1024); in _WriteThread()
H A DCopyEngine.h103 off_t fBytesWritten; variable
/haiku/src/tests/system/kernel/
H A Dsyscall_restart_test.cpp291 fBytesWritten = -1; in Prepare()
309 fBytesWritten = write(fFDs[1], "Ingo", 4); in DoSyscall()
311 return fBytesWritten < 0 ? errno : B_OK; in DoSyscall()
323 return Check(fBytesWritten < 0, "unexpected write"); in Finish()
325 return Check(fBytesWritten == 4, "should have written 4 bytes, wrote only %ld " in Finish()
326 "bytes", fBytesWritten); in Finish()
336 ssize_t fBytesWritten; member in WriteTest
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DRequestFlattener.h76 int32 fBytesWritten; variable