Home
last modified time | relevance | path

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

/external/image_io/includes/image_io/base/
Dtypes.h20 struct ValidatedByte { struct
21 explicit ValidatedByte(Byte value_arg) : value(value_arg), is_valid(true) {} in ValidatedByte() function
22 ValidatedByte(const ValidatedByte&) = default;
23 ValidatedByte& operator=(const ValidatedByte&) = default; argument
29 inline bool operator==(const ValidatedByte& lhs, const ValidatedByte& rhs) {
34 inline bool operator!=(const ValidatedByte& lhs, const ValidatedByte& rhs) {
39 inline ValidatedByte InvalidByte() { in InvalidByte()
40 ValidatedByte invalid_byte(0); in InvalidByte()
Ddata_segment.h75 ValidatedByte GetValidatedByte(size_t location) const { in GetValidatedByte()
76 return Contains(location) ? ValidatedByte(buffer_[location - GetBegin()]) in GetValidatedByte()
132 static ValidatedByte GetValidatedByte(size_t location,
/external/image_io/src/jpeg/
Djpeg_segment.cc24 ValidatedByte validated_byte = segment.GetValidatedByte(location); in SkipWhiteSpaceFindChar()
43 ValidatedByte hi = GetValidatedByte(payload_location); in GetVariablePayloadSize()
44 ValidatedByte lo = GetValidatedByte(payload_location + 1); in GetVariablePayloadSize()
54 ValidatedByte validated_byte = GetValidatedByte(location++); in BytesAtLocationStartWith()
134 ValidatedByte validated_byte = GetValidatedByte(start_location + index); in ExtractString()
156 ValidatedByte payload_byte = GetValidatedByte(GetPayloadLocation() + index); in GetPayloadHexDumpStrings()
Djpeg_scanner.cc88 ValidatedByte JpegScanner::GetValidatedByte(size_t location) { in GetValidatedByte()
106 ValidatedByte validated_byte = GetValidatedByte(location); in GetByte()
Djpeg_info_builder.cc193 ValidatedByte validated_byte = segment.GetValidatedByte(location); in MaybeCaptureSegmentBytes()
/external/image_io/includes/image_io/jpeg/
Djpeg_scanner.h64 ValidatedByte GetValidatedByte(size_t location);
Djpeg_segment.h74 ValidatedByte GetValidatedByte(size_t location) const { in GetValidatedByte()
/external/image_io/src/base/
Ddata_segment.cc50 ValidatedByte DataSegment::GetValidatedByte(size_t location, in GetValidatedByte()