Lines Matching refs:validate
23 bool SkValidatingReadBuffer::validate(bool isValid) { in validate() function in SkValidatingReadBuffer
37 this->validate(IsPtrAlign4(data) && (SkAlign4(size) == size)); in setMemory()
46 this->validate(IsPtrAlign4(addr) && fReader.isAvailable(inc)); in skip()
61 this->validate(!(value & ~1)); in readBool()
75 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readInt()
81 this->validate(IsPtrAlign4(fReader.peek()) && fReader.isAvailable(inc)); in readScalar()
102 this->validate(cptr[len] == '\0'); in readString()
111 this->validate(encodingType == encoding); in readEncodedString()
131 this->validate((SkAlign4(size) == size) && (0 != size)); in readMatrix()
156 this->validate((SkAlign4(size) == size) && (0 != size)); in readRegion()
167 this->validate((SkAlign4(size) == size) && (0 != size)); in readPath()
176 this->validate(size == count); in readArray()
180 this->validate(byteLength == byteLength64); in readArray()
221 return this->validate((size <= SK_MaxU32) && fReader.isAvailable(static_cast<uint32_t>(size))); in validateAvailable()
252 this->validate(sizeRecorded == sizeRead); in readFlattenable()