Home
last modified time | relevance | path

Searched refs:bytesToRead (Results 1 – 5 of 5) sorted by relevance

/haiku/src/kits/debugger/value/
H A DValueLoader.cpp103 uint32 bytesToRead = piece.size; in LoadValue() local
134 pieceBuffer, bytesToRead); in LoadValue()
142 if ((uint32)bytesRead != bytesToRead) in LoadValue()
179 if (registerValue.Size() < bytesToRead) in LoadValue()
215 ValueLoader::LoadRawValue(BVariant& location, size_t bytesToRead, void* _value) in LoadRawValue() argument
218 _value, bytesToRead); in LoadRawValue()
221 if ((uint32)bytesRead != bytesToRead) in LoadRawValue()
/haiku/src/kits/network/libnetservices2/
H A DHttpParser.cpp330 auto bytesToRead = buffer.RemainingBytes(); in ParseBody() local
334 bytesToRead = expectedRemainingBytes; in ParseBody()
342 auto bytesRead = buffer.WriteTo(writeToBody, bytesToRead); in ParseBody()
345 if (bytesRead != bytesToRead) { in ParseBody()
425 size_t bytesToRead; in ParseBody() local
427 bytesToRead = buffer.RemainingBytes(); in ParseBody()
429 bytesToRead = fRemainingChunkSize; in ParseBody()
431 auto bytesRead = buffer.WriteTo(writeToBody, bytesToRead); in ParseBody()
432 if (bytesRead != bytesToRead) { in ParseBody()
/haiku/src/system/kernel/cache/
H A Dfile_cache.cpp989 size_t bytesToRead = 0; in cache_prefetch_vnode() local
1006 bytesToRead += B_PAGE_SIZE; in cache_prefetch_vnode()
1010 if (bytesToRead != 0) { in cache_prefetch_vnode()
1013 bytesToRead); in cache_prefetch_vnode()
1024 bytesToRead = 0; in cache_prefetch_vnode()
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/
H A Dram_disk.cpp776 size_t bytesToRead = pagesToRead * B_PAGE_SIZE; in _LoadFile() local
777 ssize_t bytesRead = pread(fd.Get(), buffer.Get(), bytesToRead, in _LoadFile()
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientConnection.cpp1027 int32 bytesToRead = min(size, bufferSize); in VisitReadRequest() local
1030 result = fileHandle->Read(pos, buffer, bytesToRead, &bytesRead); in VisitReadRequest()
2119 int32 bytesToRead = min(size, bufferSize); in VisitReadAttrRequest() local
2123 request->type, pos, buffer, bytesToRead, &bytesRead); in VisitReadAttrRequest()