Lines Matching refs:cbRead
174 size_t cbRead;
175 rc = RTFileRead(pFile->file, (RTISOFSPATHTABLEHEADER*)&header, sizeof(RTISOFSPATHTABLEHEADER), &cbRead);
178 cbLeft -= cbRead;
185 rc = RTFileRead(pFile->file, (char*)pszName, header.length, &cbRead);
188 cbLeft -= cbRead;
189 pszName[cbRead] = '\0'; /* Terminate string. */
245 size_t cbRead;
252 rc = RTFileRead(pFile->file, (PRTISOFSPRIVOLDESC)&pvd, sizeof(RTISOFSPRIVOLDESC), &cbRead);
253 if (RT_FAILURE(rc) || cbRead < sizeof(RTISOFSPRIVOLDESC))
323 size_t cbRead = 0;
324 int rc2 = RTFileRead(pFile->file, &abBuffer[0], sizeof(abBuffer), &cbRead);
326 Assert(cbRead == RTISOFS_SECTOR_SIZE);
327 cbLeft -= cbRead;
330 while (idx < cbRead)
338 Assert(idx + sizeof(RTISOFSDIRRECORD) < cbRead);
500 size_t cbRead;
504 rc = RTFileRead(pFile->file, (PRTISOFSDIRRECORD)pRecord, sizeof(RTISOFSDIRRECORD), &cbRead);
507 Assert(cbRead == sizeof(RTISOFSDIRRECORD));
570 size_t cbToRead, cbRead, cbWritten;
576 rc = RTFileRead(pFile->file, (uint8_t*)byBuffer, cbToRead, &cbRead);
579 rc = RTFileWrite(fileDest, (uint8_t*)byBuffer, cbRead, &cbWritten);
582 cbLength -= cbRead;