/external/llvm/lib/MC/ |
MCSectionELF.cpp | 35 static void printName(raw_ostream &OS, StringRef Name) { 39 OS << Name; 42 OS << '"'; 45 OS << "\\\""; 47 OS << *B; 49 OS << "\\\\"; 51 OS << B[0] << B[1]; // Quoted character 55 OS << '"'; 59 raw_ostream &OS, 63 OS << '\t' << getSectionName() [all...] |
MCInst.cpp | 18 void MCOperand::print(raw_ostream &OS, const MCAsmInfo *MAI) const { 19 OS << "<MCOperand "; 21 OS << "INVALID"; 23 OS << "Reg:" << getReg(); 25 OS << "Imm:" << getImm(); 27 OS << "Expr:(" << *getExpr() << ")"; 29 OS << "Inst:(" << *getInst() << ")"; 31 OS << "UNDEFINED"; 32 OS << ">"; 42 void MCInst::print(raw_ostream &OS, const MCAsmInfo *MAI) const [all...] |
MCSectionCOFF.cpp | 40 raw_ostream &OS, 45 OS << '\t' << getSectionName() << '\n'; 49 OS << "\t.section\t" << getSectionName() << ",\""; 51 OS << 'x'; 53 OS << 'b'; 55 OS << 'w'; 57 OS << 'r'; 59 OS << 'n'; 61 OS << 'd'; 62 OS << '"'; [all...] |
MCLabel.cpp | 15 void MCLabel::print(raw_ostream &OS) const { 16 OS << '"' << getInstance() << '"';
|
/external/clang/utils/TableGen/ |
ClangAttrEmitter.cpp | 188 virtual void writeAccessors(raw_ostream &OS) const = 0; 189 virtual void writeAccessorDefinitions(raw_ostream &OS) const {} 190 virtual void writeASTVisitorTraversal(raw_ostream &OS) const {} 191 virtual void writeCloneArgs(raw_ostream &OS) const = 0; 192 virtual void writeTemplateInstantiationArgs(raw_ostream &OS) const = 0; 193 virtual void writeTemplateInstantiation(raw_ostream &OS) const {} 194 virtual void writeCtorBody(raw_ostream &OS) const {} 195 virtual void writeCtorInitializers(raw_ostream &OS) const = 0; 196 virtual void writeCtorDefaultInitializers(raw_ostream &OS) const = 0; 197 virtual void writeCtorParameters(raw_ostream &OS) const = 0 [all...] |
TableGenBackends.h | 28 void EmitClangDeclContext(RecordKeeper &RK, raw_ostream &OS); 29 void EmitClangASTNodes(RecordKeeper &RK, raw_ostream &OS, 32 void EmitClangAttrParserStringSwitches(RecordKeeper &Records, raw_ostream &OS); 33 void EmitClangAttrClass(RecordKeeper &Records, raw_ostream &OS); 34 void EmitClangAttrImpl(RecordKeeper &Records, raw_ostream &OS); 35 void EmitClangAttrList(RecordKeeper &Records, raw_ostream &OS); 36 void EmitClangAttrPCHRead(RecordKeeper &Records, raw_ostream &OS); 37 void EmitClangAttrPCHWrite(RecordKeeper &Records, raw_ostream &OS); 38 void EmitClangAttrHasAttrImpl(RecordKeeper &Records, raw_ostream &OS); 39 void EmitClangAttrSpellingListIndex(RecordKeeper &Records, raw_ostream &OS); [all...] |
ClangCommentHTMLTagsEmitter.cpp | 23 void clang::EmitClangCommentHTMLTags(RecordKeeper &Records, raw_ostream &OS) { 31 emitSourceFileHeader("HTML tag name matcher", OS); 33 OS << "bool isHTMLTagName(StringRef Name) {\n"; 34 StringMatcher("Name", Matches, OS).Emit(); 35 OS << " return false;\n" 40 raw_ostream &OS) { 53 emitSourceFileHeader("HTML tag properties", OS); 55 OS << "bool isHTMLEndTagOptional(StringRef Name) {\n"; 56 StringMatcher("Name", MatchesEndTagOptional, OS).Emit(); 57 OS << " return false;\n [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ProcessID.h | 29 #if OS(POSIX) 33 #if OS(WIN) 41 #if OS(WIN)
|
/external/chromium_org/third_party/WebKit/Source/ |
config.h | 35 /* OS() - underlying operating system; only to be used for mandated low-level services like 37 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) 41 /* USE() - use a particular third-party library or optional OS service */ 46 /* ==== OS() - underlying operating system; only to be used for mandated low-level services like 49 /* OS(ANDROID) - Android */ 52 /* OS(MACOSX) - Any Darwin-based OS, including Mac OS X and iPhone OS */ 55 /* OS(FREEBSD) - FreeBSD * [all...] |
/external/llvm/utils/TableGen/ |
OptParserEmitter.cpp | 97 static raw_ostream &write_cstring(raw_ostream &OS, llvm::StringRef Str) { 98 OS << '"'; 99 OS.write_escaped(Str); 100 OS << '"'; 101 return OS; 108 void EmitOptParser(RecordKeeper &Records, raw_ostream &OS) { 114 emitSourceFileHeader("Option Parsing Definitions", OS); 135 OS << "/////////\n"; 136 OS << "// Prefixes\n\n"; 137 OS << "#ifdef PREFIX\n" [all...] |
InstrInfoEmitter.cpp | 42 void run(raw_ostream &OS); 45 void emitEnums(raw_ostream &OS); 59 raw_ostream &OS); 60 void emitOperandTypesEnum(raw_ostream &OS, const CodeGenTarget &Target); 66 void emitOperandNameMappings(raw_ostream &OS, const CodeGenTarget &Target, 70 void EmitOperandInfo(raw_ostream &OS, OperandInfoMapTy &OperandInfoIDs); 76 unsigned Num, raw_ostream &OS) { 77 OS << "static const uint16_t ImplicitList" << Num << "[] = { "; 79 OS << getQualifiedName(Uses[i]) << ", "; 80 OS << "0 };\n" [all...] |
TableGenBackends.h | 19 // EmitFoo(RecordKeeper &RK, raw_ostream &OS /*, anything else you need */ ) 40 // that involved a class and an invocation like `FooEmitter(RK).run(OS)`. 63 void EmitIntrinsics(RecordKeeper &RK, raw_ostream &OS, bool TargetOnly = false); 64 void EmitAsmMatcher(RecordKeeper &RK, raw_ostream &OS); 65 void EmitAsmWriter(RecordKeeper &RK, raw_ostream &OS); 66 void EmitCallingConv(RecordKeeper &RK, raw_ostream &OS); 67 void EmitCodeEmitter(RecordKeeper &RK, raw_ostream &OS); 68 void EmitDAGISel(RecordKeeper &RK, raw_ostream &OS); 69 void EmitDFAPacketizer(RecordKeeper &RK, raw_ostream &OS); 70 void EmitDisassembler(RecordKeeper &RK, raw_ostream &OS); [all...] |
DAGISelMatcherEmitter.cpp | 55 unsigned StartIdx, formatted_raw_ostream &OS); 57 void EmitPredicateFunctions(formatted_raw_ostream &OS); 59 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS); 62 formatted_raw_ostream &OS); 115 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) { 117 OS << Val << ", "; 124 OS << (Val&127) << "|128,"; 128 OS << Val; 130 OS << "/*" << InVal << "*/"; 131 OS << ", "; [all...] |
RegisterInfoEmitter.cpp | 61 void EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank, 63 void emitComposeSubRegIndices(raw_ostream &OS, CodeGenRegBank &RegBank, 69 void RegisterInfoEmitter::runEnums(raw_ostream &OS, 78 emitSourceFileHeader("Target Register Enum Values", OS); 80 OS << "\n#ifdef GET_REGINFO_ENUM\n"; 81 OS << "#undef GET_REGINFO_ENUM\n"; 83 OS << "namespace llvm {\n\n"; 85 OS << "class MCRegisterClass;\n" 90 OS << "namespace " << Namespace << " {\n"; 91 OS << "enum {\n NoRegister,\n" [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
WebThread.cpp | 10 #if OS(WIN) 12 #elif OS(POSIX) 17 #if OS(WIN) 19 #elif OS(POSIX)
|
/external/llvm/include/llvm/Bitcode/ |
BitcodeWriterPass.h | 36 raw_ostream &OS; 40 explicit BitcodeWriterPass(raw_ostream &OS) : OS(OS) {}
|
/external/clang/lib/AST/ |
TypePrinter.cpp | 91 void print(const Type *ty, Qualifiers qs, raw_ostream &OS, 93 void print(QualType T, raw_ostream &OS, StringRef PlaceHolder); 96 void spaceBeforePlaceHolder(raw_ostream &OS); 97 void printTypeSpec(const NamedDecl *D, raw_ostream &OS); 99 void printBefore(const Type *ty, Qualifiers qs, raw_ostream &OS); 100 void printBefore(QualType T, raw_ostream &OS); 101 void printAfter(const Type *ty, Qualifiers qs, raw_ostream &OS); 102 void printAfter(QualType T, raw_ostream &OS); 103 void AppendScope(DeclContext *DC, raw_ostream &OS); 104 void printTag(TagDecl *T, raw_ostream &OS); [all...] |
/external/llvm/lib/Support/ |
Twine.cpp | 27 raw_svector_ostream OS(Out); 28 print(OS); 58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 64 Ptr.twine->print(OS); 67 OS << Ptr.cString; 70 OS << *Ptr.stdString; 73 OS << *Ptr.stringRef; 76 OS << Ptr.character; 79 OS << Ptr.decUI; 82 OS << Ptr.decI [all...] |
/external/llvm/include/llvm/Support/ |
EndianStream.h | 27 raw_ostream &OS; 28 Writer(raw_ostream &OS) : OS(OS) {} 31 OS.write((const char *)&Val, sizeof(value_type));
|
/external/llvm/lib/TableGen/ |
TableGenBackend.cpp | 23 static void printLine(raw_ostream &OS, const Twine &Prefix, char Fill, 25 size_t Pos = (size_t)OS.tell(); 28 OS << Prefix; 30 for (size_t i = (size_t)OS.tell() - Pos; i < e; ++i) 31 OS << Fill; 32 OS << Suffix << '\n'; 35 void llvm::emitSourceFileHeader(StringRef Desc, raw_ostream &OS) { 36 printLine(OS, "/*===- TableGen'erated file ", '-', "*- C++ -*-===*\\"); 37 printLine(OS, "|*", ' ', "*|"); 47 printLine(OS, Prefix + Desc.slice(Pos, PosE), ' ', Suffix) [all...] |
/external/llvm/tools/llvm-readobj/ |
StreamWriter.cpp | 10 raw_ostream &operator<<(raw_ostream &OS, const HexNumber& Value) { 14 return OS << "0x0"; 26 OS << "0x"; 27 return OS.write(CurPtr, EndPtr - CurPtr); 38 OS << ": " << Str; 39 OS << " (\n"; 45 OS << ' '; 47 OS << hexdigit((Data[addr + i] >> 4) & 0xF, false) 50 OS << " "; 53 OS << " |"; [all...] |
/external/clang/include/clang/Index/ |
USRGeneration.h | 32 void generateUSRForObjCClass(StringRef Cls, raw_ostream &OS); 35 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS); 40 void generateUSRForObjCIvar(StringRef Ivar, raw_ostream &OS); 44 raw_ostream &OS); 47 void generateUSRForObjCProperty(StringRef Prop, raw_ostream &OS); 50 void generateUSRForObjCProtocol(StringRef Prot, raw_ostream &OS);
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMMCExpr.cpp | 23 void ARMMCExpr::PrintImpl(raw_ostream &OS) const { 26 case VK_ARM_HI16: OS << ":upper16:"; break; 27 case VK_ARM_LO16: OS << ":lower16:"; break; 32 OS << '('; 33 Expr->print(OS); 35 OS << ')';
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsABIFlagsSection.cpp | 45 MCStreamer &operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection) { 47 OS.EmitIntValue(ABIFlagsSection.getVersionValue(), 2); // version 48 OS.EmitIntValue(ABIFlagsSection.getISALevelValue(), 1); // isa_level 49 OS.EmitIntValue(ABIFlagsSection.getISARevisionValue(), 1); // isa_rev 50 OS.EmitIntValue(ABIFlagsSection.getGPRSizeValue(), 1); // gpr_size 51 OS.EmitIntValue(ABIFlagsSection.getCPR1SizeValue(), 1); // cpr1_size 52 OS.EmitIntValue(ABIFlagsSection.getCPR2SizeValue(), 1); // cpr2_size 53 OS.EmitIntValue(ABIFlagsSection.getFpABIValue(), 1); // fp_abi 54 OS.EmitIntValue(ABIFlagsSection.getISAExtensionSetValue(), 4); // isa_ext 55 OS.EmitIntValue(ABIFlagsSection.getASESetValue(), 4); // ase [all...] |
/external/clang/lib/Basic/ |
Module.cpp | 200 static void printModuleId(raw_ostream &OS, const ModuleId &Id) { 203 OS << "."; 204 OS << Id[I].first; 288 void Module::print(raw_ostream &OS, unsigned Indent) const { 289 OS.indent(Indent); 291 OS << "framework "; 293 OS << "explicit "; 294 OS << "module " << Name; 297 OS.indent(Indent + 2); 298 OS << " [system]" [all...] |