| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| MacroBuilder.h | 24 raw_ostream &Out; 26 MacroBuilder(raw_ostream &Output) : Out(Output) {} 30 Out << "#define " << Name << ' ' << Value << '\n'; 36 Out << "#undef " << Name << '\n'; 41 Out << Str << '\n';
|
| JsonSupport.h | 20 inline raw_ostream &Indent(raw_ostream &Out, const unsigned int Space, 23 Out << (IsDot ? " " : " "); 24 return Out; 81 inline void printSourceLocationAsJson(raw_ostream &Out, SourceLocation Loc, 86 Out << "null"; 94 Out << "null"; 99 Out << "{ "; 113 Out << "\"line\": " << PLoc.getLine() 117 Out << " }"; 124 Out << "{ "; [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Analysis/ |
| ProgramPoint.cpp | 51 void ProgramPoint::printJson(llvm::raw_ostream &Out, const char *NL) const { 58 Out << "\"kind\": \""; 61 Out << "BlockEntrance\"" 68 Out << "FunctionExit\"" 73 Out << RS->getID(Context) << ", \"stmt\": "; 74 RS->printJson(Out, nullptr, PP, AddQuotes); 76 Out << "null, \"stmt\": null"; 84 Out << "CallEnter\""; 87 Out << "CallExitBegin\""; 90 Out << "CallExitEnd\"" [all...] |
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| csv_reporter.cc | 46 std::ostream& Out = GetOutputStream(); 60 Out << *B++; 61 if (B != elements.end()) Out << ","; 65 Out << ",\"" << *B++ << "\""; 67 Out << "\n"; 91 std::ostream& Out = GetOutputStream(); 97 Out << '"' << name << "\","; 99 Out << std::string(elements.size() - 3, ','); 100 Out << "true,"; 103 Out << '"' << msg << "\"\n" [all...] |
| reporter.cc | 34 void BenchmarkReporter::PrintBasicContext(std::ostream *out, 36 CHECK(out) << "cannot be null"; 37 auto &Out = *out; 39 Out << LocalDateTimeString() << "\n"; 42 Out << "Running " << context.executable_name << "\n"; 45 Out << "Run on (" << info.num_cpus << " X " 49 Out << "CPU Caches:\n"; 51 Out << " L" << CInfo.level << " " << CInfo.type << " " 54 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")" [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| csv_reporter.cc | 46 std::ostream& Out = GetOutputStream(); 58 Out << *B++; 59 if (B != elements.end()) Out << ","; 62 Out << ",\"" << *B++ << "\""; 64 Out << "\n"; 87 std::ostream& Out = GetOutputStream(); 93 Out << '"' << name << "\","; 95 Out << std::string(elements.size() - 3, ','); 96 Out << "true,"; 99 Out << '"' << msg << "\"\n" [all...] |
| reporter.cc | 33 void BenchmarkReporter::PrintBasicContext(std::ostream *out, 35 CHECK(out) << "cannot be null"; 36 auto &Out = *out; 38 Out << LocalDateTimeString() << "\n"; 41 Out << "Running " << context.executable_name << "\n"; 44 Out << "Run on (" << info.num_cpus << " X " 48 Out << "CPU Caches:\n"; 50 Out << " L" << CInfo.level << " " << CInfo.type << " " 53 Out << " (x" << (info.num_cpus / CInfo.num_sharing) << ")" [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Basic/ |
| DiagnosticOptions.cpp | 19 raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) { 21 return Out << static_cast<UT>(M);
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| PrettyStackTraceLocationContext.h | 35 void print(raw_ostream &Out) const override { 36 Out << "While analyzing stack: \n"; 37 LCtx->dumpStack(Out);
|
| CheckerRegistryData.cpp | 26 CmdLineOption::dumpToStream(llvm::raw_ostream &Out) const { 29 Out << OptionName << " (" << OptionType << ", " 48 LLVM_DUMP_METHOD void CheckerInfo::dumpToStream(llvm::raw_ostream &Out) const { 51 Out << FullName << " (" << toString(State) << (IsHidden ? ", hidden" : "") 53 Out << " Options:\n"; 55 Out << " "; 56 Option.dumpToStream(Out); 57 Out << '\n'; 59 Out << " Dependencies:\n"; 61 Out << " " << Dependency->FullName << '\n' [all...] |
| DynamicType.cpp | 192 static raw_ostream &printJson(const MemRegion *Region, raw_ostream &Out, 194 return Out << "\"region\": \"" << Region << "\""; 197 static raw_ostream &printJson(const SymExpr *Symbol, raw_ostream &Out, 199 return Out << "\"symbol\": \"" << Symbol << "\""; 202 static raw_ostream &printJson(const DynamicTypeInfo &DTI, raw_ostream &Out, 204 Out << "\"dyn_type\": "; 206 Out << "null"; 212 Out << '\"' << ToPrint.getAsString() << "\", \"sub_classable\": " 215 return Out; 218 static raw_ostream &printJson(const DynamicCastInfo &DCI, raw_ostream &Out, [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| DeclPrinter.cpp | 10 // AST back out to C/Objective-C/C++/Objective-C++ code. 29 raw_ostream &Out; 53 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, 56 : Out(Out), Policy(Policy), Context(Context), Indentation(Indentation), 125 void Decl::print(raw_ostream &Out, unsigned Indentation, 127 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); 130 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, 132 DeclPrinter Printer(Out, Policy, getASTContext(), Indentation, 137 void TemplateParameterList::print(raw_ostream &Out, const ASTContext &Context [all...] |
| InheritViz.cpp | 27 /// InheritanceHierarchyWriter - Helper class that writes out a 35 raw_ostream &Out; 40 InheritanceHierarchyWriter(ASTContext& Context, raw_ostream& Out) 41 : Context(Context), Out(Out) { } 44 Out << "digraph \"" << llvm::DOT::EscapeString(Type.getAsString()) 47 Out << "}\n"; 51 /// WriteNode - Write out the description of node in the inheritance 55 /// WriteNodeReference - Write out a reference to the given node, 75 Out << " "; [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
| ArchiveEmitter.cpp | 20 bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH) { 21 Out.write(Doc.Magic.data(), Doc.Magic.size()); 24 Doc.Content->writeAsBinary(Out); 32 Out.write(Field.data(), Field.size()); 34 Out.write(' '); 42 C.Content->writeAsBinary(Out); 44 Out.write(*C.PaddingByte);
|
| yaml2obj.cpp | 21 bool convertYAML(yaml::Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, 36 return yaml2archive(*Doc.Arch, Out, ErrHandler); 38 return yaml2elf(*Doc.Elf, Out, ErrHandler, MaxSize); 40 return yaml2coff(*Doc.Coff, Out, ErrHandler); 42 return yaml2macho(Doc, Out, ErrHandler); 44 return yaml2minidump(*Doc.Minidump, Out, ErrHandler); 46 return yaml2wasm(*Doc.Wasm, Out, ErrHandler);
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| AsmWriter.cpp | 355 static void PrintCallingConv(unsigned cc, raw_ostream &Out) { 357 default: Out << "cc" << cc; break; 358 case CallingConv::Fast: Out << "fastcc"; break; 359 case CallingConv::Cold: Out << "coldcc"; break; 360 case CallingConv::WebKit_JS: Out << "webkit_jscc"; break; 361 case CallingConv::AnyReg: Out << "anyregcc"; break; 362 case CallingConv::PreserveMost: Out << "preserve_mostcc"; break; 363 case CallingConv::PreserveAll: Out << "preserve_allcc"; break; 364 case CallingConv::CXX_FAST_TLS: Out << "cxx_fast_tlscc"; break; 365 case CallingConv::GHC: Out << "ghccc"; break [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/ |
| Writer.h | 22 Writer(Object &Obj, raw_ostream &Out) : Obj(Obj), Out(Out) {} 28 raw_ostream &Out;
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| VersionTuple.cpp | 24 llvm::raw_string_ostream Out(Result); 25 Out << *this; 30 raw_ostream &llvm::operator<<(raw_ostream &Out, const VersionTuple &V) { 31 Out << V.getMajor(); 33 Out << '.' << *Minor; 35 Out << '.' << *Subminor; 37 Out << '.' << *Build; 38 return Out;
|
| StringExtras.cpp | 41 // Figure out where the token starts. 62 void llvm::printEscapedString(StringRef Name, raw_ostream &Out) { 66 Out << '\\' << C; 68 Out << C; 70 Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F); 74 void llvm::printHTMLEscaped(StringRef String, raw_ostream &Out) { 77 Out << "&"; 79 Out << "<"; 81 Out << ">"; 83 Out << """ [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| minidump2yaml.cpp | 16 Error minidump2yaml(raw_ostream &Out, const object::MinidumpFile &Obj) { 20 yaml::Output Output(Out);
|
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| MacroInfo.cpp | 133 llvm::raw_ostream &Out = llvm::errs(); 136 Out << "MacroInfo " << this; 137 if (IsBuiltinMacro) Out << " builtin"; 138 if (IsDisabled) Out << " disabled"; 139 if (IsUsed) Out << " used"; 141 Out << " allow_redefinitions_without_warning"; 142 if (IsWarnIfUnused) Out << " warn_if_unused"; 143 if (UsedForHeaderGuard) Out << " header_guard"; 145 Out << "\n #define <macro>"; 147 Out << "("; [all...] |
| /src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| ClangASTPropertiesEmitter.cpp | 90 raw_ostream &Out; 97 ASTPropsEmitter(RecordKeeper &records, raw_ostream &out) 98 : Out(out), Records(records) { 362 Out << "template <class Property" << suffix << ">\n" 368 Out << " Abstract" << info.HierarchyName << suffix 374 Out << " " << info.ResultType << " " << info.MethodPrefix << "("; 376 Out << NodeClass::getASTIdTypeName() << " kind"; 378 Out << "const " << info.HierarchyName << " *node"; 379 Out << ") {\n [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| ASTConsumers.cpp | 37 ASTPrinter(std::unique_ptr<raw_ostream> Out, Kind K, 40 : Out(Out ? *Out : llvm::outs()), OwnedOut(std::move(Out)), 57 bool ShowColors = Out.has_colors(); 59 Out.changeColor(raw_ostream::BLUE); 60 Out << (OutputKind != Print ? "Dumping " : "Printing ") << getName(D) 63 Out.resetColor(); 65 Out << "\n" [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| yaml2obj.h | 53 bool yaml2archive(ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH); 54 bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); 55 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH, 57 bool yaml2macho(YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH); 58 bool yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out, 60 bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); 62 bool convertYAML(Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler,
|
| /src/external/apache2/llvm/dist/clang/lib/Index/ |
| USRGeneration.cpp | 62 llvm::raw_svector_ostream Out; 72 Out(Buf), 78 Out << getUSRSpacePrefix(); 117 Out << "@UD@"; 145 generateUSRForObjCClass(cls, Out, ExtSymDefinedIn, 152 generateUSRForObjCCategory(cls, cat, Out, clsExt, catExt); 157 generateUSRForObjCProperty(prop, isClassProp, Out); 162 generateUSRForObjCProtocol(prot, Out, ext); 182 D->printName(Out); 213 Out << (isa<ObjCIvarDecl>(D) ? "@" : "@FI@") [all...] |