reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/source/DataFormatters/StringPrinter.cpp
  418   assert(options.GetStream() && "need a Stream to print the string to");
  421   ProcessSP process_sp(options.GetProcessSP());
  423   if (process_sp.get() == nullptr || options.GetLocation() == 0)
  430   if (options.GetSourceSize() == 0)
  432   else if (!options.GetIgnoreMaxLength()) {
  433     size = options.GetSourceSize();
  439     size = options.GetSourceSize();
  444       options.GetLocation(), (char *)buffer_sp->GetBytes(), size, my_error);
  449   const char *prefix_token = options.GetPrefixToken();
  450   char quote = options.GetQuote();
  453     options.GetStream()->Printf("%s%c", prefix_token, quote);
  455     options.GetStream()->Printf("%c", quote);
  459   const bool escape_non_printables = options.GetEscapeNonPrintables();
  462     if (Language *language = Language::FindPlugin(options.GetLanguage()))
  490         options.GetStream()->Printf("%c", *(printable_bytes + c));
  493       options.GetStream()->Printf("%c", *data);
  498   const char *suffix_token = options.GetSuffixToken();
  501     options.GetStream()->Printf("%c%s", quote, suffix_token);
  503     options.GetStream()->Printf("%c", quote);
  506     options.GetStream()->Printf("...");