Searched refs:ValidatedByte (Results 1 – 8 of 8) sorted by relevance
20 struct ValidatedByte { struct21 explicit ValidatedByte(Byte value_arg) : value(value_arg), is_valid(true) {} in ValidatedByte() function22 ValidatedByte(const ValidatedByte&) = default;23 ValidatedByte& operator=(const ValidatedByte&) = default; argument29 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()
75 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,
24 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()
88 ValidatedByte JpegScanner::GetValidatedByte(size_t location) { in GetValidatedByte()106 ValidatedByte validated_byte = GetValidatedByte(location); in GetByte()
193 ValidatedByte validated_byte = segment.GetValidatedByte(location); in MaybeCaptureSegmentBytes()
64 ValidatedByte GetValidatedByte(size_t location);
74 ValidatedByte GetValidatedByte(size_t location) const { in GetValidatedByte()
50 ValidatedByte DataSegment::GetValidatedByte(size_t location, in GetValidatedByte()