Searched refs:validated_byte (Results 1 – 3 of 3) sorted by relevance
24 ValidatedByte validated_byte = segment.GetValidatedByte(location); in SkipWhiteSpaceFindChar() local25 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() local55 if (!validated_byte.is_valid || Byte(*str++) != validated_byte.value) { in BytesAtLocationStartWith()134 ValidatedByte validated_byte = GetValidatedByte(start_location + index); in ExtractString() local135 if (!validated_byte.value) { // Invalid bytes have a zero value. in ExtractString()139 value[index] = static_cast<char>(validated_byte.value); in ExtractString()
106 ValidatedByte validated_byte = GetValidatedByte(location); in GetByte() local107 if (validated_byte.is_valid) { in GetByte()108 return validated_byte.value; in GetByte()
193 ValidatedByte validated_byte = segment.GetValidatedByte(location); in MaybeCaptureSegmentBytes() local194 if (!validated_byte.is_valid) { in MaybeCaptureSegmentBytes()198 bytes->emplace_back(validated_byte.value); in MaybeCaptureSegmentBytes()