Searched refs:bytesLeftToRead (Results 1 – 4 of 4) sorted by relevance
34 size_t bytesLeftToRead = bytesInFile; in read_file() local38 while (bytesLeftToRead > 0) { in read_file()39 size_t bytesReadThisTime = fileStream.read(bufferPointer, bytesLeftToRead); in read_file()45 bytesLeftToRead -= bytesReadThisTime; in read_file()
701 size_t bytesLeftToRead = count; in read() local704 size_t bytesFromCurrent = SkTMin(bytesLeftToRead, bytesLeftInCurrent); in read()709 if (bytesLeftToRead <= bytesFromCurrent) { in read()714 bytesLeftToRead -= bytesFromCurrent; in read()