Lines Matching refs:validate
64 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory()
79 this->validate(inc >= size); in skip()
81 this->validate(IsPtrAlign4(addr) && fReader.isAvailable(inc)); in skip()
101 this->validate(!(value & ~1)); in readBool()
111 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readInt()
117 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readScalar()
149 if (this->validate(src[len] == 0)) { in readString()
176 (void)this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix()
197 if (!this->validate(fReader.readRRect(rrect))) { in readRRect()
206 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readRegion()
217 if (!this->validate((SkAlign4(size) == size) && (0 != size))) { in readPath()
226 return this->validate(size == count) && in readArray()
256 if (!this->validate(fReader.isAvailable(numBytes))) { in readByteArrayAsData()
292 this->validate(false); in readImage()
299 this->validate(false); in readImage()
311 this->validate(false); in readImage()
324 this->validate(false); in readImage()
359 if (!this->validate(index <= fTFCount)) { in readTypeface()
366 if (!this->validate(data != nullptr && fProcs.fTypefaceProc)) { in readTypeface()
383 this->validate(false); in readFlattenable()
408 if (!this->validate(factory != nullptr)) { in readFlattenable()
423 this->validate(false); in readFlattenable()
427 this->validate(false); in readFlattenable()
446 this->validate(false); in checkInt()