/external/clang/include/clang/Basic/ |
MacroBuilder.h | 25 raw_ostream &Out; 27 MacroBuilder(raw_ostream &Output) : Out(Output) {} 31 Out << "#define " << Name << ' ' << Value << '\n'; 37 Out << "#undef " << Name << '\n'; 42 Out << Str << '\n';
|
/external/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | 94 formatted_raw_ostream &Out; 109 ModulePass(ID), Out(o), uniqueNum(0), is_inline(false), indent_level(0){} 127 formatted_raw_ostream& nl(formatted_raw_ostream &Out, int delta = 0); 129 inline void out() { if (indent_level >0) indent_level--; } function in class:__anon5559::CppWriter 167 formatted_raw_ostream &CppWriter::nl(formatted_raw_ostream &Out, int delta) { 168 Out << '\n'; 171 Out.indent(indent_level); 172 return Out; 222 Out << "ConstantFP::get(mod->getContext(), "; 223 Out << "APFloat(" [all...] |
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 39 ASTPrinter(raw_ostream *Out = nullptr, bool Dump = false, 41 : Out(Out ? *Out : llvm::outs()), Dump(Dump), 57 bool ShowColors = Out.has_colors(); 59 Out.changeColor(raw_ostream::BLUE); 60 Out << (Dump ? "Dumping " : "Printing ") << getName(D) << ":\n"; 62 Out.resetColor(); 64 Out << "\n"; 83 DC->dumpLookups(Out); [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 11 // AST back out to C/Objective-C/C++/Objective-C++ code. 29 raw_ostream &Out; 41 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, 43 : Out(Out), Policy(Policy), Indentation(Indentation), 93 void Decl::print(raw_ostream &Out, unsigned Indentation, 95 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); 98 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, 100 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation); 137 raw_ostream &Out, const PrintingPolicy &Policy [all...] |
InheritViz.cpp | 30 /// InheritanceHierarchyWriter - Helper class that writes out a 38 raw_ostream &Out; 43 InheritanceHierarchyWriter(ASTContext& Context, raw_ostream& Out) 44 : Context(Context), Out(Out) { } 47 Out << "digraph \"" << DOT::EscapeString(Type.getAsString()) << "\" {\n"; 49 Out << "}\n"; 53 /// WriteNode - Write out the description of node in the inheritance 57 /// WriteNodeReference - Write out a reference to the given node, 76 Out << " "; [all...] |
Mangle.cpp | 42 raw_ostream &Out) { 45 Out << "__" << Outer << "_block_invoke"; 47 Out << "__" << Outer << "_block_invoke_" << discriminator+1; 112 void MangleContext::mangleName(const NamedDecl *D, raw_ostream &Out) { 127 Out << '\01'; // LLVM IR Marker for __asm("foo") 129 Out << ALA->getLabel(); 138 mangleCXXName(D, Out); 142 Out << '\01'; 144 Out << '_'; 146 Out << '@' [all...] |
StmtViz.cpp | 39 llvm::raw_string_ostream Out(OutSStr); 42 Out << Node->getStmtClassName(); 44 Out << "<NULL>"; 46 std::string OutStr = Out.str();
|
MicrosoftMangle.cpp | 99 void mangleCXXName(const NamedDecl *D, raw_ostream &Out) override; 109 raw_ostream &Out) override; 112 raw_ostream &Out) override; 113 void mangleCXXRTTI(QualType T, raw_ostream &Out) override; 114 void mangleCXXRTTIName(QualType T, raw_ostream &Out) override; 118 raw_ostream &Out) override; 120 raw_ostream &Out) override; 122 raw_ostream &Out) override; 126 raw_ostream &Out) override; 134 void mangleStaticGuardVariable(const VarDecl *D, raw_ostream &Out) override [all...] |
APValue.cpp | 344 void APValue::printPretty(raw_ostream &Out, ASTContext &Ctx, QualType Ty) const{ 347 Out << "<uninitialized>"; 351 Out << (getInt().getBoolValue() ? "true" : "false"); 353 Out << getInt(); 356 Out << GetApproxValue(getFloat()); 359 Out << '{'; 361 getVectorElt(0).printPretty(Out, Ctx, ElemTy); 363 Out << ", "; 364 getVectorElt(i).printPretty(Out, Ctx, ElemTy); 366 Out << '}'; [all...] |
ItaniumMangle.cpp | 154 void mangleDynamicInitializer(const VarDecl *D, raw_ostream &Out) override; 156 raw_ostream &Out) override; 200 raw_ostream &Out; 257 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(0), 265 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), 269 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), 274 if (Out.str()[0] == '\01') 278 char *result = abi::__cxa_demangle(Out.str().str().c_str(), 0, 0, &status); 283 raw_ostream &getStream() { return Out; } 443 Out << Prefix [all...] |
/external/llvm/lib/IR/ |
AsmWriter.cpp | 69 static void PrintCallingConv(unsigned cc, raw_ostream &Out) { 71 default: Out << "cc" << cc; break; 72 case CallingConv::Fast: Out << "fastcc"; break; 73 case CallingConv::Cold: Out << "coldcc"; break; 74 case CallingConv::WebKit_JS: Out << "webkit_jscc"; break; 75 case CallingConv::AnyReg: Out << "anyregcc"; break; 76 case CallingConv::PreserveMost: Out << "preserve_mostcc"; break; 77 case CallingConv::PreserveAll: Out << "preserve_allcc"; break; 78 case CallingConv::X86_StdCall: Out << "x86_stdcallcc"; break; 79 case CallingConv::X86_FastCall: Out << "x86_fastcallcc"; break [all...] |
/external/libcxx/test/re/re.alg/re.alg.replace/ |
test1.pass.cpp | 15 // regex_replace(OutputIterator out, 32 typedef output_iterator<char*> Out; 35 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), 44 typedef output_iterator<char*> Out; 47 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), 57 typedef output_iterator<char*> Out; 60 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)) [all...] |
test2.pass.cpp | 15 // regex_replace(OutputIterator out, 32 typedef output_iterator<char*> Out; 35 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), 44 typedef output_iterator<char*> Out; 47 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)), 57 typedef output_iterator<char*> Out; 60 Out r = std::regex_replace(Out(buf), Bi(std::begin(phone_book)) [all...] |
/external/llvm/lib/Target/Mips/ |
Mips16HardFloat.cpp | 48 void Out(StringRef AsmString) { 149 // Figure out if we need float point based on the function parameters. 150 // We need to move variables in and/or out of floating point 193 IAH.Out(MI + "$$4,$$f12"); 196 IAH.Out(MI +"$$4,$$f12"); 197 IAH.Out(MI + "$$5,$$f14"); 200 IAH.Out(MI + "$$4,$$f12"); 202 IAH.Out(MI + "$$6,$$f14"); 203 IAH.Out(MI + "$$7,$$f15"); 205 IAH.Out(MI + "$$7,$$f14") [all...] |
/external/llvm/tools/obj2yaml/ |
obj2yaml.h | 20 std::error_code coff2yaml(llvm::raw_ostream &Out, 22 std::error_code elf2yaml(llvm::raw_ostream &Out,
|
/external/llvm/tools/yaml2obj/ |
yaml2obj.h | 21 int yaml2coff(llvm::yaml::Input &YIn, llvm::raw_ostream &Out); 22 int yaml2elf(llvm::yaml::Input &YIn, llvm::raw_ostream &Out);
|
/external/clang/lib/Index/ |
USRGeneration.cpp | 53 llvm::raw_svector_ostream Out; 63 Out(Buf), 69 Out << getUSRSpacePrefix(); 127 generateUSRForObjCClass(cls, Out); 131 generateUSRForObjCCategory(cls, cat, Out); 135 generateUSRForObjCProperty(prop, Out); 139 generateUSRForObjCProtocol(prot, Out); 159 Out.flush(); 161 D->printName(Out); 162 Out.flush() [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
TraceDebugEventListener.cs | 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 39 /** <summary>Print out (most of) the events... Useful for debugging, testing...</summary> */ 48 Console.Out.WriteLine("enterRule " + ruleName); 51 Console.Out.WriteLine("exitRule " + ruleName); 54 Console.Out.WriteLine("enterSubRule"); 57 Console.Out.WriteLine("exitSubRule"); 60 Console.Out.WriteLine("location " + line + ":" + pos); 69 Console.Out.WriteLine("consumeNode " + ID + " " + text + " " + type); 76 Console.Out.WriteLine("LT " + i + " " + ID + " " + text + " " + type); 85 Console.Out.WriteLine("nilNode " + adaptor.GetUniqueID(t)) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
TraceDebugEventListener.cs | 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 40 /** <summary>Print out (most of) the events... Useful for debugging, testing...</summary> */ 52 Console.Out.WriteLine( "enterRule " + ruleName ); 56 Console.Out.WriteLine( "exitRule " + ruleName ); 60 Console.Out.WriteLine( "enterSubRule" ); 64 Console.Out.WriteLine( "exitSubRule" ); 68 Console.Out.WriteLine( "location " + line + ":" + pos ); 78 Console.Out.WriteLine( "consumeNode " + ID + " " + text + " " + type ); 86 Console.Out.WriteLine( "LT " + i + " " + ID + " " + text + " " + type ); 96 Console.Out.WriteLine( "nilNode " + adaptor.GetUniqueID( t ) ) [all...] |
Tracer.cs | 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 59 Console.Out.Write( " " ); 61 Console.Out.WriteLine( "> " + ruleName + " lookahead(1)=" + GetInputSymbol( 1 ) ); 70 Console.Out.Write( " " ); 72 Console.Out.WriteLine( "< " + ruleName + " lookahead(1)=" + GetInputSymbol( 1 ) );
|
/external/clang/lib/Basic/ |
VersionTuple.cpp | 22 llvm::raw_string_ostream Out(Result); 23 Out << *this; 28 raw_ostream& clang::operator<<(raw_ostream &Out, 30 Out << V.getMajor(); 32 Out << '.' << *Minor; 34 Out << '.' << *Subminor; 35 return Out;
|
/external/llvm/lib/Target/X86/AsmParser/ |
X86AsmInstrumentation.cpp | 52 const MCInstrInfo &MII, MCStreamer &Out) override { 53 InstrumentMOV(Inst, Operands, Ctx, MII, Out); 59 MCStreamer &Out) = 0; 62 MCStreamer &Out) = 0; 65 bool IsWrite, MCContext &Ctx, MCStreamer &Out); 67 MCContext &Ctx, const MCInstrInfo &MII, MCStreamer &Out); 68 void EmitInstruction(MCStreamer &Out, const MCInst &Inst) { 69 Out.EmitInstruction(Inst, STI); 72 void EmitLabel(MCStreamer &Out, MCSymbol *Label) { Out.EmitLabel(Label); [all...] |
/external/llvm/include/llvm/CodeGen/ |
EdgeBundles.h | 41 /// getBundle - Return the ingoing (Out = false) or outgoing (Out = true) 43 unsigned getBundle(unsigned N, bool Out) const { return EC[2 * N + Out]; }
|
/external/llvm/tools/opt/ |
PassPrinters.cpp | 28 raw_ostream &Out; 33 FunctionPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) 34 : FunctionPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) { 41 Out << "Printing analysis '" << PassToPrint->getPassName() 45 getAnalysisID<Pass>(PassToPrint->getTypeInfo()).print(Out, F.getParent()); 62 raw_ostream &Out; 66 CallGraphSCCPassPrinter(const PassInfo *PI, raw_ostream &out, bool Quiet) 67 : CallGraphSCCPass(ID), PassToPrint(PI), Out(out), QuietPass(Quiet) [all...] |
/external/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 188 // Figure out the target triple. 212 tool_output_file *Out = 216 delete Out; 220 return Out; 242 tool_output_file *Out) { 261 Out->os() << "identifier: " << Lexer.getTok().getString(); 264 Out->os() << "int: " << Lexer.getTok().getString(); 267 Out->os() << "real: " << Lexer.getTok().getString(); 270 Out->os() << "string: " << Lexer.getTok().getString(); 273 case AsmToken::Amp: Out->os() << "Amp"; break [all...] |