Lines Matching full:ascii
136 DecodedCharBuffer GetPrintableImpl<StringElementType::ASCII>( in GetPrintableImpl()
139 // The ASCII helper always advances 1 byte at a time. in GetPrintableImpl()
174 // isn't valid utf8, fall back to printing an ASCII-escaped subsequence. in GetPrintableImpl()
176 return GetPrintableImpl<StringElementType::ASCII>(buffer, buffer_end, next, in GetPrintableImpl()
225 case StringElementType::ASCII: in GetPrintable()
226 return GetPrintableImpl<StringElementType::ASCII>(buffer, buffer_end, next, in GetPrintable()
241 case GetPrintableElementType::ASCII: in GetDefaultEscapingHelper()
246 : StringElementType::ASCII, in GetDefaultEscapingHelper()
419 // If not UTF8 or ASCII, conversion to UTF8 is necessary. in ReadEncodedBufferAndDumpToStream()
429 if (elem_type == StringElementType::ASCII && !options.GetSourceSize()) { in ReadEncodedBufferAndDumpToStream()
435 // Until then, the behavior that's expected for ASCII strings with unknown in ReadEncodedBufferAndDumpToStream()
464 if (elem_type == StringElementType::ASCII) in ReadEncodedBufferAndDumpToStream()
487 GetPrintableElementType print_style = (elem_type == StringElementType::ASCII) in ReadEncodedBufferAndDumpToStream()
488 ? GetPrintableElementType::ASCII in ReadEncodedBufferAndDumpToStream()
515 bool StringPrinter::ReadStringAndDumpToStream<StringElementType::ASCII>( in ReadStringAndDumpToStream()
517 return ReadEncodedBufferAndDumpToStream<char>(StringElementType::ASCII, in ReadStringAndDumpToStream()
543 bool StringPrinter::ReadBufferAndDumpToStream<StringElementType::ASCII>( in ReadBufferAndDumpToStream()
545 // Treat ASCII the same as UTF8. in ReadBufferAndDumpToStream()
548 // If an ASCII-encoded string happens to contain a sequence of invalid bytes in ReadBufferAndDumpToStream()