Searched refs:totalRead (Results 1 - 7 of 7) sorted by relevance

/haiku/src/add-ons/translators/shared/
H A DStreamBuffer.cpp129 size_t totalRead = min(nbytes, fLen - fPos); local
130 memcpy(pinto, fBuffer + fPos, totalRead);
131 fPos += totalRead;
132 pinto += totalRead;
133 nbytes -= totalRead;
145 totalRead += left;
149 return totalRead;
/haiku/src/kits/debugger/debugger_interface/core/
H A DCoreFileDebuggerInterface.cpp350 ssize_t totalRead = 0;
356 return totalRead > 0 ? totalRead : B_BAD_ADDRESS;
361 return totalRead > 0 ? totalRead : B_BAD_ADDRESS;
369 return totalRead > 0 ? totalRead : error;
374 totalRead += bytesRead;
377 return totalRead;
/haiku/src/kits/debugger/elf/
H A DElfSymbolLookup.cpp56 size_t totalRead = 0; local
61 return totalRead == 0 ? bytesRead : totalRead;
63 return totalRead == 0 ? B_IO_ERROR : totalRead;
65 totalRead += bytesRead;
70 return totalRead;
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DResponse.cpp602 size_t totalRead = 0; local
603 while (totalRead < size) {
604 ssize_t bytesRead = stream.Read(buffer + totalRead,
605 size - totalRead);
611 totalRead += bytesRead;
719 size_t totalRead = 0; local
720 while (totalRead < size) {
721 size_t toRead = std::min(sizeof(buffer), size - totalRead);
728 totalRead += bytesRead;
/haiku/src/add-ons/kernel/file_systems/iso9660/
H A Dkernel_interface.cpp275 size_t totalRead = 0; local
279 while (totalRead < dataLength && !done) {
297 && totalRead + blockBytesRead < dataLength
334 totalRead += volume->logicalBlkSize[FS_DATA_FORMAT];
338 block, (unsigned)totalRead));
H A Diso9660.cpp759 off_t totalRead = cookie->pos + (cookie->block - cookie->startBlock) local
771 totalRead
778 if (totalRead >= cookie->totalSize)
784 if (blockData != NULL && totalRead < cookie->totalSize) {
826 if (totalRead >= cookie->totalSize)
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A Dkernel_interface.cpp379 size_t totalRead = 0; local
391 totalRead += bytesRead;
398 *_numBytes = totalRead;
400 TRACE("*numBytes = %lu\n", totalRead);

Completed in 48 milliseconds