/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/clang/include/clang/Basic/ |
MacroBuilder.h | 23 raw_ostream &Out; 25 MacroBuilder(raw_ostream &Output) : Out(Output) {} 29 Out << "#define " << Name << ' ' << Value << '\n'; 35 Out << "#undef " << Name << '\n'; 40 Out << Str << '\n';
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 34 raw_ostream &Out; 39 : Out(o? *o : llvm::outs()), Dump(Dump) { } 44 Context.getTranslationUnitDecl()->print(Out, Policy, /*Indentation=*/0, 50 ASTConsumer *clang::CreateASTPrinter(raw_ostream* out) { 51 return new ASTPrinter(out); 99 raw_ostream& Out; 101 DeclContextPrinter() : Out(llvm::errs()) {} 116 Out << "[translation unit] " << DC; 119 Out << "[namespace] "; 121 Out << *ND [all...] |
/external/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | 92 formatted_raw_ostream &Out; 107 ModulePass(ID), Out(o), uniqueNum(0), is_inline(false), indent_level(0){} 125 formatted_raw_ostream& nl(formatted_raw_ostream &Out, int delta = 0); 127 inline void out() { if (indent_level >0) indent_level--; } function in class:__anon8338::CppWriter 163 formatted_raw_ostream &CppWriter::nl(formatted_raw_ostream &Out, int delta) { 164 Out << '\n'; 167 Out.indent(indent_level); 168 return Out; 207 Out << "ConstantFP::get(mod->getContext(), "; 208 Out << "APFloat(" [all...] |
/external/llvm/lib/Target/CBackend/ |
CBackend.cpp | 79 formatted_raw_ostream &Out; 105 : FunctionPass(ID), Out(o), IL(0), Mang(0), LI(0), 155 raw_ostream &printType(raw_ostream &Out, Type *Ty, 160 raw_ostream &printSimpleType(raw_ostream &Out, Type *Ty, 164 void printStructReturnPointerFunctionType(raw_ostream &Out, 178 Out << "*("; 180 Out << ")"; 200 void printIntrinsicDefinition(const Function &F, raw_ostream &Out); 331 Out << " " << GetValueName(I) << " = "; 376 void CWriter::printStructReturnPointerFunctionType(raw_ostream &Out, [all...] |
/external/clang/lib/AST/ |
DeclPrinter.cpp | 11 // AST back out to C/Objective-C/C++/Objective-C++ code. 27 raw_ostream &Out; 40 DeclPrinter(raw_ostream &Out, ASTContext &Context, 44 : Out(Out), Context(Context), Policy(Policy), Indentation(Indentation), 91 void Decl::print(raw_ostream &Out, unsigned Indentation, 93 print(Out, getASTContext().getPrintingPolicy(), Indentation, PrintInstantiation); 96 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, 98 DeclPrinter Printer(Out, getASTContext(), Policy, Indentation, PrintInstantiation); 131 raw_ostream &Out, const PrintingPolicy &Policy [all...] |
InheritViz.cpp | 28 /// InheritanceHierarchyWriter - Helper class that writes out a 36 raw_ostream &Out; 41 InheritanceHierarchyWriter(ASTContext& Context, raw_ostream& Out) 42 : Context(Context), Out(Out) { } 45 Out << "digraph \"" << DOT::EscapeString(Type.getAsString()) << "\" {\n"; 47 Out << "}\n"; 51 /// WriteNode - Write out the description of node in the inheritance 55 /// WriteNodeReference - Write out a reference to the given node, 74 Out << " "; [all...] |
MicrosoftMangle.cpp | 32 raw_ostream &Out; 38 : Context(C), Out(Out_) { } 83 virtual void mangleName(const NamedDecl *D, raw_ostream &Out); 162 Out << '\01'; // LLVM IR Marker for __asm("foo") 168 Out << ALA->getLabel(); 173 Out << Prefix; 221 case AS_private: Out << '0'; break; 222 case AS_protected: Out << '1'; break; 223 case AS_public: Out << '2'; break; 227 Out << '3' [all...] |
ItaniumMangle.cpp | 139 raw_ostream &Out; 196 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(0), 204 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), 208 : Context(C), Out(Out_), Structor(getStructor(D)), StructorType(Type), 213 if (Out.str()[0] == '\01') 217 char *result = abi::__cxa_demangle(Out.str().str().c_str(), 0, 0, &status); 222 raw_ostream &getStream() { return Out; } 403 Out << '\01'; // LLVM IR Marker for __asm("foo") 405 Out << ALA->getLabel(); 412 Out << Prefix [all...] |
TemplateBase.cpp | 34 /// \param Out the raw_ostream instance to use for printing. 36 raw_ostream &Out) { 41 Out << (Val->getBoolValue() ? "true" : "false"); 45 Out << ((Ch == '\'') ? "'\\" : "'"); 46 Out.write_escaped(Str, /*UseHexEscapes=*/ true); 47 Out << "'"; 49 Out << Val->toString(10); 310 raw_ostream &Out) const { 313 Out << "<no value>"; 321 Out << TypeStr [all...] |
Mangle.cpp | 42 raw_ostream &Out) { 43 Out << "__" << Outer << "_block_invoke_" << Context.getBlockId(BD, true); 63 raw_ostream &Out) { 64 Out << "__block_global_" << getBlockId(BD, false); 72 llvm::raw_svector_ostream Out(Buffer); 73 mangleCXXCtor(CD, CT, Out); 74 Out.flush(); 83 llvm::raw_svector_ostream Out(Buffer); 84 mangleCXXDtor(DD, DT, Out); 85 Out.flush() [all...] |
StmtViz.cpp | 39 llvm::raw_string_ostream Out(OutSStr); 42 Out << Node->getStmtClassName(); 44 Out << "<NULL>"; 46 std::string OutStr = Out.str();
|
APValue.cpp | 124 static void WriteShortAPValueToStream(raw_ostream& Out, 129 Out << "Uninitialized"; 132 Out << V.getInt(); 135 Out << GetApproxValue(V.getFloat()); 138 Out << '['; 139 WriteShortAPValueToStream(Out, V.getVectorElt(0)); 141 Out << ", "; 142 WriteShortAPValueToStream(Out, V.getVectorElt(i)); 144 Out << ']'; 147 Out << V.getComplexIntReal() << "+" << V.getComplexIntImag() << "i" [all...] |
/external/llvm/lib/VMCore/ |
PrintModulePass.cpp | 27 raw_ostream *Out; // raw_ostream to print on 31 PrintModulePass() : ModulePass(ID), Out(&dbgs()), 34 : ModulePass(ID), Banner(B), Out(o), DeleteStream(DS) {} 37 if (DeleteStream) delete Out; 41 (*Out) << Banner << M; 52 raw_ostream *Out; // raw_ostream to print on 56 PrintFunctionPass() : FunctionPass(ID), Banner(""), Out(&dbgs()), 59 : FunctionPass(ID), Banner(B), Out(o), DeleteStream(DS) {} 62 if (DeleteStream) delete Out; 69 (*Out) << Banner << static_cast<Value&>(F) [all...] |
AsmWriter.cpp | 69 static void PrintEscapedString(StringRef Name, raw_ostream &Out) { 73 Out << C; 75 Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F); 88 /// surrounded with ""'s (if it has special chars in it). Print it out. 111 // If we didn't need any quotes, just write out the name in one blast. 126 /// surrounded with ""'s (if it has special chars in it). Print it out. 166 // the unnamed ones out to a numbering and remove the anonymous structs. 328 /// Construct from a function, starting out in incorp state. 524 /// Clean up after incorporating a function. This is the only way to get out of 622 static void WriteAsOperandInternal(raw_ostream &Out, const Value *V [all...] |
/external/llvm/tools/llvm-mc/ |
llvm-mc.cpp | 176 // Figure out the target triple. 222 tool_output_file *Out = new tool_output_file(OutputFilename.c_str(), Err, 226 delete Out; 230 return Out; 260 OwningPtr<tool_output_file> Out(GetOutputStream()); 261 if (!Out) 278 Out->os() << "identifier: " << Lexer.getTok().getString(); 281 Out->os() << "int: " << Lexer.getTok().getString(); 284 Out->os() << "real: " << Lexer.getTok().getString(); 287 Out->os() << "register: " << Lexer.getTok().getRegVal() [all...] |
Disassembler.cpp | 58 SourceMgr &SM, raw_ostream &Out) { 88 Printer.printInst(&Inst, Out, ""); 89 Out << "\n"; 149 raw_ostream &Out) { 190 ErrorOccurred |= PrintInsts(*DisAsm, *IP, ByteArray, SM, Out); 208 raw_ostream &Out = *(raw_ostream *)((void **)Arg)[1]; 211 Out << "[" << regName << "/" << R << "]"; 214 Out << "(sp)"; 216 Out << "(pc)"; 224 raw_ostream &Out) { [all...] |
Disassembler.h | 33 raw_ostream &Out); 37 raw_ostream &Out);
|
/external/llvm/utils/FileUpdate/ |
FileUpdate.cpp | 55 OwningPtr<MemoryBuffer> Out; 56 MemoryBuffer::getFile(OutputFilename.c_str(), Out); 59 if (Out && In->getBufferSize() == Out->getBufferSize() && 60 memcmp(In->getBufferStart(), Out->getBufferStart(), 61 Out->getBufferSize()) == 0) {
|
/external/clang/tools/libclang/ |
CIndexDiagnostic.cpp | 62 llvm::raw_svector_ostream Out(Str); 73 Out << clang_getCString(FName) << ":" << Line << ":"; 76 Out << Column << ":"; 95 Out << "{" << StartLine << ":" << StartColumn << "-" 100 Out << ":"; 103 Out << " "; 110 case CXDiagnostic_Note: Out << "note: "; break; 111 case CXDiagnostic_Warning: Out << "warning: "; break; 112 case CXDiagnostic_Error: Out << "error: "; break; 113 case CXDiagnostic_Fatal: Out << "fatal error: "; break [all...] |
CIndexUSRs.cpp | 35 llvm::raw_svector_ostream Out; 46 Out(Buf), 52 Out << "c:"; 56 return Out.str(); 63 Out << x; 64 return Out; 148 Out.flush(); 150 D->printName(Out); 151 Out.flush(); 173 Out << (isa<ObjCIvarDecl>(D) ? "@" : "@FI@") [all...] |
/external/webrtc/src/common_audio/signal_processing_library/main/source/ |
resample_fractional.c | 44 void WebRtcSpl_Resample48khzTo32khz(const WebRtc_Word32 *In, WebRtc_Word32 *Out, 66 Out[0] = tmp; 77 Out[1] = tmp; 81 Out += 2; 90 void WebRtcSpl_Resample32khzTo24khz(const WebRtc_Word32 *In, WebRtc_Word32 *Out, 112 Out[0] = tmp; 123 Out[1] = tmp; 134 Out[2] = tmp; 138 Out += 3; 199 void WebRtcSpl_Resample44khzTo32khz(const WebRtc_Word32 *In, WebRtc_Word32 *Out, [all...] |
/external/clang/lib/Serialization/ |
GeneratePCH.cpp | 35 isysroot(isysroot.str()), Out(OS), 54 // Write the generated bitstream to "Out". 55 Out->write((char *)&Buffer.front(), Buffer.size()); 58 Out->flush();
|
/external/llvm/lib/Support/ |
Twine.cpp | 26 void Twine::toVector(SmallVectorImpl<char> &Out) const { 27 raw_svector_ostream OS(Out); 31 StringRef Twine::toStringRef(SmallVectorImpl<char> &Out) const { 34 toVector(Out); 35 return StringRef(Out.data(), Out.size()); 38 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { 52 toVector(Out); 53 Out.push_back(0); 54 Out.pop_back() [all...] |
/external/llvm/include/llvm/CodeGen/ |
EdgeBundles.h | 40 /// getBundle - Return the ingoing (Out = false) or outgoing (Out = true) 42 unsigned getBundle(unsigned N, bool Out) const { return EC[2 * N + Out]; }
|