Lines Matching refs:dump_options

262     const StringPrinter::ReadBufferAndDumpToStreamOptions &dump_options) {  in DumpEncodedBufferToStream()  argument
263 assert(dump_options.GetStream() && "need a Stream to print the string to"); in DumpEncodedBufferToStream()
264 Stream &stream(*dump_options.GetStream()); in DumpEncodedBufferToStream()
265 if (dump_options.GetPrefixToken() != nullptr) in DumpEncodedBufferToStream()
266 stream.Printf("%s", dump_options.GetPrefixToken()); in DumpEncodedBufferToStream()
267 if (dump_options.GetQuote() != 0) in DumpEncodedBufferToStream()
268 stream.Printf("%c", dump_options.GetQuote()); in DumpEncodedBufferToStream()
269 auto data(dump_options.GetData()); in DumpEncodedBufferToStream()
270 auto source_size(dump_options.GetSourceSize()); in DumpEncodedBufferToStream()
273 if (dump_options.GetSourceSize() == 0) { in DumpEncodedBufferToStream()
282 const bool zero_is_terminator = dump_options.GetBinaryZeroIsTerminator(); in DumpEncodedBufferToStream()
322 const bool escape_non_printables = dump_options.GetEscapeNonPrintables(); in DumpEncodedBufferToStream()
326 GetDefaultEscapingHelper(style, dump_options.GetEscapeStyle()); in DumpEncodedBufferToStream()
355 if (dump_options.GetQuote() != 0) in DumpEncodedBufferToStream()
356 stream.Printf("%c", dump_options.GetQuote()); in DumpEncodedBufferToStream()
357 if (dump_options.GetSuffixToken() != nullptr) in DumpEncodedBufferToStream()
358 stream.Printf("%s", dump_options.GetSuffixToken()); in DumpEncodedBufferToStream()
359 if (dump_options.GetIsTruncated()) in DumpEncodedBufferToStream()
481 StringPrinter::ReadBufferAndDumpToStreamOptions dump_options(options); in ReadEncodedBufferAndDumpToStream() local
482 dump_options.SetData(data); in ReadEncodedBufferAndDumpToStream()
483 dump_options.SetSourceSize(sourceSize); in ReadEncodedBufferAndDumpToStream()
484 dump_options.SetIsTruncated(is_truncated); in ReadEncodedBufferAndDumpToStream()
485 dump_options.SetNeedsZeroTermination(needs_zero_terminator); in ReadEncodedBufferAndDumpToStream()
487 dump_options.SetBinaryZeroIsTerminator(true); in ReadEncodedBufferAndDumpToStream()
492 return DumpEncodedBufferToStream(print_style, ConvertFunction, dump_options); in ReadEncodedBufferAndDumpToStream()