Home
last modified time | relevance | path

Searched refs:limited_source (Results 1 – 1 of 1) sorted by relevance

/external/piex/src/image_type_recognition/
Dimage_type_recognition_lite.cc160 RangeCheckedBytePtr limited_source = LimitSource(source); in IsMyType() local
163 if (!DetermineEndianness(limited_source, &use_big_endian)) { in IsMyType()
169 if (!CheckUInt16Value(limited_source, 2 /* offset */, use_big_endian, in IsMyType()
171 !CheckUInt32Value(limited_source, 4 /* offset */, use_big_endian, in IsMyType()
178 if (!IsSignatureFound(limited_source, 0 /* offset */, RequestedSize(), in IsMyType()
197 limited_source, 0 /* offset */, RequestedSize(), in IsMyType()
216 RangeCheckedBytePtr limited_source = LimitSource(source); in IsMyType() local
219 if (!DetermineEndianness(limited_source, &use_big_endian)) { in IsMyType()
224 if (!CheckUInt16Value(limited_source, 2 /* offset */, use_big_endian, in IsMyType()
230 return IsSignatureMatched(limited_source, 8 /* offset */, kSignature); in IsMyType()
[all …]