Home
last modified time | relevance | path

Searched refs:fBytesRead (Results 1 – 6 of 6) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/netfs/shared/
H A DRequestUnflattener.cpp74 fBytesRead(0) in RequestUnflattener()
89 return fBytesRead; in GetBytesRead()
235 fBytesRead += size; in Read()
249 fBytesRead += size; in Read()
263 int32 newBytesRead = fBytesRead; in Align()
265 newBytesRead = (fBytesRead + 3) & ~0x3; in Align()
267 newBytesRead = (fBytesRead + 1) & ~0x1; in Align()
269 if (newBytesRead > fBytesRead) { in Align()
270 fStatus = fReader->Skip(newBytesRead - fBytesRead); in Align()
272 fBytesRead = newBytesRead; in Align()
H A DRequestChannel.cpp85 fBytesRead(0) in MemoryReader()
112 if (fBytesRead + size > fBufferSize) in Read()
115 *buffer = (uint8*)fBuffer + fBytesRead; in Read()
117 fBytesRead += size; in Read()
123 return (fBytesRead == fBufferSize); in AllBytesRead()
129 int32 fBytesRead; member in RequestChannel::MemoryReader
/haiku/src/tests/system/kernel/
H A Dsyscall_restart_test.cpp237 fBytesRead = -1; in Prepare()
250 fBytesRead = read(fFDs[0], buffer, sizeof(buffer)); in DoSyscall()
252 return fBytesRead < 0 ? errno : B_OK; in DoSyscall()
263 return Check(fBytesRead < 0, "unexpected read"); in Finish()
265 return Check(fBytesRead == 4, "should have read 4 bytes, read only %ld " in Finish()
266 "bytes", fBytesRead); in Finish()
277 ssize_t fBytesRead; member in ReadTest
560 fBytesRead = -1; in Prepare()
636 fBytesRead = recv(fAcceptedSocket, buffer, sizeof(buffer), 0); in DoSyscall()
638 return fBytesRead < 0 ? errno : B_OK; in DoSyscall()
[all …]
/haiku/src/apps/installer/
H A DCopyEngine.cpp49 fBytesRead(0), in CopyEngine()
99 fBytesRead = 0; in ResetTargets()
222 fBytesRead += read; in _CopyData()
516 if (fLastBytesRead < fBytesRead) { in _UpdateProgress()
517 bytes = fBytesRead - fLastBytesRead; in _UpdateProgress()
518 fLastBytesRead = fBytesRead; in _UpdateProgress()
H A DCopyEngine.h97 off_t fBytesRead; variable
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DRequestUnflattener.h60 int32 fBytesRead; variable