Home
last modified time | relevance | path

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

/external/image_io/src/jpeg/
Djpeg_segment.cc24 ValidatedByte validated_byte = segment.GetValidatedByte(location); in SkipWhiteSpaceFindChar() local
25 if (!validated_byte.is_valid) { in SkipWhiteSpaceFindChar()
28 if (validated_byte.value == Byte(value)) { in SkipWhiteSpaceFindChar()
31 if (!std::isspace(validated_byte.value)) { in SkipWhiteSpaceFindChar()
54 ValidatedByte validated_byte = GetValidatedByte(location++); in BytesAtLocationStartWith() local
55 if (!validated_byte.is_valid || Byte(*str++) != validated_byte.value) { in BytesAtLocationStartWith()
134 ValidatedByte validated_byte = GetValidatedByte(start_location + index); in ExtractString() local
135 if (!validated_byte.value) { // Invalid bytes have a zero value. in ExtractString()
139 value[index] = static_cast<char>(validated_byte.value); in ExtractString()
Djpeg_scanner.cc106 ValidatedByte validated_byte = GetValidatedByte(location); in GetByte() local
107 if (validated_byte.is_valid) { in GetByte()
108 return validated_byte.value; in GetByte()
Djpeg_info_builder.cc193 ValidatedByte validated_byte = segment.GetValidatedByte(location); in MaybeCaptureSegmentBytes() local
194 if (!validated_byte.is_valid) { in MaybeCaptureSegmentBytes()
198 bytes->emplace_back(validated_byte.value); in MaybeCaptureSegmentBytes()