Lines Matching refs:fReader
66 fReader.setMemory(data, size); in setMemory()
72 fReader.skip(fReader.available()); in setInvalid()
80 const void* addr = fReader.peek(); in skip()
81 this->validate(IsPtrAlign4(addr) && fReader.isAvailable(inc)); in skip()
86 fReader.skip(size); in skip()
111 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readInt()
112 return fError ? 0 : fReader.readInt(); in readInt()
117 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readScalar()
118 return fError ? 0 : fReader.readScalar(); in readScalar()
130 if (fReader.available() <= 0) { in peekByte()
134 return *((uint8_t*) fReader.peek()); in peekByte()
175 size = SkMatrixPriv::ReadFromMemory(matrix, fReader.peek(), fReader.available()); in readMatrix()
197 if (!this->validate(fReader.readRRect(rrect))) { in readRRect()
205 size = region->readFromMemory(fReader.peek(), fReader.available()); in readRegion()
216 size = path->readFromMemory(fReader.peek(), fReader.available()); in readPath()
256 if (!this->validate(fReader.isAvailable(numBytes))) { in readByteArrayAsData()
270 fError = fError || !IsPtrAlign4(fReader.peek()) || !fReader.isAvailable(inc); in getArrayCount()
271 return fError ? 0 : *(uint32_t*)fReader.peek(); in getArrayCount()
418 size_t offset = fReader.offset(); in readFlattenable()
421 size_t sizeRead = fReader.offset() - offset; in readFlattenable()
432 fReader.skip(sizeRecorded); in readFlattenable()