Lines Matching refs:totalBytes
151 uint32_t totalBytes; in ReadHeader() local
168 totalBytes = get_int(hBuffer.get(), 2); in ReadHeader()
187 totalBytes = 0; in ReadHeader()
497 if (totalBytes <= offset && kRLE_BitmapInputFormat == inputFormat) { in ReadHeader()
501 const size_t RLEBytes = totalBytes - offset; in ReadHeader()
899 size_t totalBytes = stream()->read(buffer.get(), fRLEBytes); in decodeRLE() local
900 if (totalBytes < fRLEBytes) { in decodeRLE()
902 } else if (totalBytes <= 0) { in decodeRLE()
922 if ((int) totalBytes - currByte < 2) { in decodeRLE()
952 if ((int) totalBytes - currByte < 2) { in decodeRLE()
979 (int) totalBytes - currByte < SkAlign2(rowBytes)) { in decodeRLE()
987 SkASSERT(currByte < totalBytes); in decodeRLE()
1000 SkASSERT(currByte < totalBytes); in decodeRLE()
1006 SkASSERT(currByte + 2 < totalBytes); in decodeRLE()
1036 if ((int) totalBytes - currByte < 2) { in decodeRLE()