Lines Matching defs:UTF8

169 DecodedCharBuffer GetPrintableImpl<StringElementType::UTF8>(
181 const llvm::UTF8 *buffer_for_conversion = buffer;
188 // The UTF8 helper always advances by the utf8 encoded length.
228 case StringElementType::UTF8:
229 return GetPrintableImpl<StringElementType::UTF8>(buffer, buffer_end, next,
240 case GetPrintableElementType::UTF8:
244 return GetPrintable(elem_type == GetPrintableElementType::UTF8
245 ? StringElementType::UTF8
260 llvm::UTF8 **, llvm::UTF8 *,
297 llvm::UTF8 *utf8_data_ptr = nullptr;
298 llvm::UTF8 *utf8_data_end_ptr = nullptr;
303 utf8_data_ptr = (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes();
312 (llvm::UTF8 *)utf8_data_buffer_sp->GetBytes();
315 // happy but this should only happen if we are reading UTF8 data
316 utf8_data_ptr = const_cast<llvm::UTF8 *>(
317 reinterpret_cast<const llvm::UTF8 *>(data_ptr));
318 utf8_data_end_ptr = const_cast<llvm::UTF8 *>(
319 reinterpret_cast<const llvm::UTF8 *>(data_end_ptr));
401 llvm::UTF8 **, llvm::UTF8 *,
419 // If not UTF8 or ASCII, conversion to UTF8 is necessary.
489 : GetPrintableElementType::UTF8;
494 bool StringPrinter::ReadStringAndDumpToStream<StringElementType::UTF8>(
496 return ReadEncodedBufferAndDumpToStream<llvm::UTF8>(StringElementType::UTF8,
522 bool StringPrinter::ReadBufferAndDumpToStream<StringElementType::UTF8>(
524 return DumpEncodedBufferToStream<llvm::UTF8>(GetPrintableElementType::UTF8,
531 return DumpEncodedBufferToStream(GetPrintableElementType::UTF8,
538 return DumpEncodedBufferToStream(GetPrintableElementType::UTF8,
545 // Treat ASCII the same as UTF8.
549 // that forms a valid UTF8 character, we'll print out that character. This is
554 // the UTF8 character itself.
555 return ReadBufferAndDumpToStream<StringElementType::UTF8>(options);