/external/llvm/lib/Support/ |
Timer.cpp | 168 static void printVal(double Val, double Total, raw_ostream &OS) { 170 OS << " ----- "; 172 OS << format(" %7.4f (%5.1f%%)", Val, Val*100/Total); 175 void TimeRecord::print(const TimeRecord &Total, raw_ostream &OS) const { 177 printVal(getUserTime(), Total.getUserTime(), OS); 179 printVal(getSystemTime(), Total.getSystemTime(), OS); 181 printVal(getProcessTime(), Total.getProcessTime(), OS); 182 printVal(getWallTime(), Total.getWallTime(), OS); 184 OS << " "; 187 OS << format("%9" PRId64 " ", (int64_t)getMemUsed()) [all...] |
Triple.cpp | 387 OS(parseOS(getOSName())), 395 /// vendor, and OS. 404 OS(parseOS(OSStr.str())), 410 /// vendor, OS, and environment. 420 OS(parseOS(OSStr.str())), 436 // valid os. 443 OSType OS = UnknownOS; 445 OS = parseOS(Components[2]); 458 Found[2] = OS != UnknownOS; 487 OS = parseOS(Comp) [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsTargetStreamer.cpp | 69 formatted_raw_ostream &OS) 70 : MipsTargetStreamer(S), OS(OS) {} 73 OS << "\t.set\tmicromips\n"; 78 OS << "\t.set\tnomicromips\n"; 83 OS << "\t.set\tmips16\n"; 88 OS << "\t.set\tnomips16\n"; 93 OS << "\t.set\treorder\n"; 98 OS << "\t.set\tnoreorder\n"; 103 OS << "\t.set\tmacro\n" [all...] |
/external/llvm/tools/llvm-config/ |
llvm-config.cpp | 270 raw_ostream &OS = outs(); 277 OS << PACKAGE_VERSION << '\n'; 279 OS << ActivePrefix << '\n'; 281 OS << ActiveBinDir << '\n'; 283 OS << ActiveIncludeDir << '\n'; 285 OS << ActiveLibDir << '\n'; 287 OS << ActiveIncludeOption << ' ' << LLVM_CPPFLAGS << '\n'; 289 OS << ActiveIncludeOption << ' ' << LLVM_CFLAGS << '\n'; 291 OS << ActiveIncludeOption << ' ' << LLVM_CXXFLAGS << '\n'; 293 OS << "-L" << ActiveLibDir << ' ' << LLVM_LDFLAGS << '\n' [all...] |
/external/llvm/tools/llvm-readobj/ |
MachODumper.cpp | 350 raw_ostream& OS = W.startLine(); 351 OS << W.hex(Offset) 355 OS << " n/a"; 357 OS << " " << Obj->getPlainRelocationExternal(RE); 358 OS << " " << RelocName
|
StreamWriter.h | 48 raw_ostream &operator<<(raw_ostream &OS, const HexNumber& Value); 52 StreamWriter(raw_ostream &OS) 53 : OS(OS) 58 OS.flush(); 71 OS << " "; 182 OS << ", "; 183 OS << Item; 186 OS << "]\n"; 246 return OS; [all...] |
ARMEHABIPrinter.h | 30 raw_ostream &OS; 66 OpcodeDecoder(StreamWriter &SW) : SW(SW), OS(SW.getOStream()) {} 116 OS << '\n'; 134 OS << '\n'; 140 OS << '\n'; 156 OS << '\n'; 167 OS << format("0x%02X ", ULEB[BI]); 173 OS << format("; vsp = vsp + %" PRIu64 "\n", 0x204 + (Value << 2)); 183 OS << '\n'; 193 OS << '\n' [all...] |
COFFDumper.cpp | 705 raw_ostream& OS = W.startLine(); 706 OS << W.hex(Offset) [all...] |
ELFDumper.cpp | 537 W.printEnum ("OS/ABI", Header->e_ident[ELF::EI_OSABI], 681 raw_ostream& OS = W.startLine(); 682 OS << W.hex(Rel.r_offset) 820 void printFlags(T Value, ArrayRef<EnumEntry<TFlag>> Flags, raw_ostream &OS) { 834 OS << Flag.Name << " "; 840 bool Is64, raw_ostream &OS) { 844 OS << "REL"; 847 OS << "RELA"; 872 OS << format("0x%" PRIX64, Value); 880 OS << Value [all...] |
/external/llvm/tools/yaml2obj/ |
yaml2elf.cpp | 34 raw_svector_ostream OS; 38 uint64_t CurrentOffset = InitialOffset + OS.tell(); 41 OS.write('\0'); 47 : InitialOffset(InitialOffset_), Buf(), OS(Buf) {} 51 return OS; 53 void writeBlobToStream(raw_ostream &Out) { Out << OS.str(); } 88 static void writeArrayData(raw_ostream &OS, ArrayRef<T> A) { 89 OS.write((const char *)A.data(), arrayDataSize(A)); 151 static int writeELF(raw_ostream &OS, const ELFYAML::Object &Doc); 320 raw_ostream &OS = CBA.getOSAndAlignedOffset(SHeader.sh_offset) [all...] |
/external/chromium_org/third_party/zlib/ |
inflate.h | 24 OS, /* i: waiting for extra flags and operating system (gzip) */ 62 (gzip) -> FLAGS -> TIME -> OS -> EXLEN -> EXTRA -> NAME -> COMMENT ->
|
/external/chromium_org/tools/site_compare/ |
site_compare.py | 18 import os # Functions for walking the directory tree namespace 22 import drivers # Functions for driving keyboard/mouse/windows, OS-specific 63 save_path = os.path.join(os.path.split(__file__)[0], "Scrapes") 70 full_path = os.path.join(save_path, browser[0], scraper.version) 97 root_path = os.path.join(os.path.split(__file__)[0], "Scrapes") 100 out_path = os.path.join(os.path.split(__file__)[0], "Compares") 106 base_dir = os.path.join(root_path, base[0] [all...] |
/external/clang/include/clang/Frontend/ |
CompilerInstance.h | 146 raw_ostream *OS; 149 raw_ostream *os) 150 : Filename(filename), TempFilename(tempFilename), OS(os) { } 602 /// \p Filename, \p Line, and \p Column, to the given output stream \p OS. 607 raw_ostream &OS);
|
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 62 raw_ostream *OS, LLVMContext &C) 64 TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS), 596 std::unique_ptr<raw_ostream> OS(GetOutputStream(CI, InFile, BA)); 597 if (BA != Backend_EmitNothing && !OS) 629 LinkModuleToUse, OS.release(), *VMContext); 638 raw_ostream *OS = GetOutputStream(CI, getCurrentFile(), BA); 639 if (BA != Backend_EmitNothing && !OS) 685 TheModule.get(), BA, OS);
|
/external/clang/lib/Frontend/ |
PrintPreprocessedOutput.cpp | 36 Preprocessor &PP, raw_ostream &OS) { 37 OS << "#define " << II.getName(); 40 OS << '('; 44 OS << (*AI)->getName(); 45 OS << ','; 50 OS << "..."; 52 OS << (*AI)->getName(); 56 OS << "..."; // #define foo(x...) 58 OS << ')'; 64 OS << ' '; [all...] |
SerializedDiagnosticPrinter.cpp | 99 SDiagsWriter(raw_ostream *os, DiagnosticOptions *diags) 101 State(new SharedState(os, diags)) 190 SharedState(raw_ostream *os, DiagnosticOptions *diags) 191 : DiagOpts(diags), Stream(Buffer), OS(os), EmittedAnyDiagBlocks(false) { } 203 std::unique_ptr<raw_ostream> OS; 239 DiagnosticConsumer *create(raw_ostream *OS, DiagnosticOptions *diags) { 240 return new SDiagsWriter(OS, diags); 702 State->OS->write((char *)&State->Buffer.front(), State->Buffer.size()); 703 State->OS->flush() [all...] |
CompilerInstance.cpp | 135 raw_ostream *OS = &llvm::errs(); 147 OS = FileOS; 153 LogDiagnosticPrinter *Logger = new LogDiagnosticPrinter(*OS, DiagOpts, 164 std::unique_ptr<llvm::raw_fd_ostream> OS; 165 OS.reset(new llvm::raw_fd_ostream(OutputFile.str().c_str(), ErrorInfo, 175 clang::serialized_diags::create(OS.release(), DiagOpts); 501 raw_ostream &OS) { 506 return new PrintingCodeCompleteConsumer(Opts, OS); 518 assert(OutFile.OS && "Attempt to add empty stream to output list!"); 525 delete it->OS; [all...] |
/external/llvm/include/llvm/Analysis/ |
LazyCallGraph.h | 554 raw_ostream &OS; 557 explicit LazyCallGraphPrinterPass(raw_ostream &OS);
|
/external/llvm/tools/bugpoint/ |
ToolRunner.cpp | 111 std::ostringstream OS; 112 OS << "\nError running remote client:\n "; 114 OS << " " << *Arg; 115 OS << "\n"; 123 std::ostreambuf_iterator<char>(OS)); 127 errs() << OS.str(); 136 std::ostringstream OS; 137 OS << "\nError running tool:\n "; 139 OS << " " << *Arg; 140 OS << "\n" [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/MCTargetDesc/ |
R600MCCodeEmitter.cpp | 52 /// EncodeInstruction - Encode the instruction and write it to the OS. 53 virtual void EncodeInstruction(const MCInst &MI, raw_ostream &OS, 62 raw_ostream &OS) const; 63 void EmitSrc(const MCInst &MI, unsigned OpIdx, raw_ostream &OS) const; 64 void EmitDst(const MCInst &MI, raw_ostream &OS) const; 67 raw_ostream &OS) const; 69 raw_ostream &OS) const; 70 void EmitFCInstr(const MCInst &MI, raw_ostream &OS) const; 72 void EmitNullBytes(unsigned int byteCount, raw_ostream &OS) const; 74 void EmitByte(unsigned int byte, raw_ostream &OS) const [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MCCodeEmitter.cpp | 108 void EmitByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const { 109 OS << (char)C; 114 raw_ostream &OS) const { 117 EmitByte(Val & 255, CurByte, OS); 124 unsigned &CurByte, raw_ostream &OS, 135 unsigned &CurByte, raw_ostream &OS) const { 136 EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS); 140 unsigned &CurByte, raw_ostream &OS) const { 142 EmitByte(ModRMByte(SS, Index, Base), CurByte, OS); 148 uint64_t TSFlags, unsigned &CurByte, raw_ostream &OS, [all...] |
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
R600MCCodeEmitter.cpp | 52 /// EncodeInstruction - Encode the instruction and write it to the OS. 53 virtual void EncodeInstruction(const MCInst &MI, raw_ostream &OS, 62 raw_ostream &OS) const; 63 void EmitSrc(const MCInst &MI, unsigned OpIdx, raw_ostream &OS) const; 64 void EmitDst(const MCInst &MI, raw_ostream &OS) const; 67 raw_ostream &OS) const; 69 raw_ostream &OS) const; 70 void EmitFCInstr(const MCInst &MI, raw_ostream &OS) const; 72 void EmitNullBytes(unsigned int byteCount, raw_ostream &OS) const; 74 void EmitByte(unsigned int byte, raw_ostream &OS) const [all...] |
/external/clang/lib/Basic/ |
VirtualFileSystem.cpp | 1006 // dev_t value from the OS. [all...] |
/external/llvm/include/llvm/ADT/ |
Triple.h | 157 /// The parsed OS type. 158 OSType OS; 172 Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {} 200 OSType getOS() const { return OS; } 214 /// getOSVersion - Parse the version number from the OS name component of the 231 /// translate generic "darwin" versions to the corresponding OS X versions. 232 /// This may also be called with IOS triples but the OS X version number is 310 /// isMacOSXVersionLT - Comparison function for checking OS X version 315 assert(isMacOSX() && "Not an OS X triple!"); 317 // If this is OS X, expect a sane version number [all...] |
/external/llvm/lib/CodeGen/ |
MachineVerifier.cpp | 65 raw_ostream *OS; 286 OS = OutFile; 288 OS = &errs(); 325 *OS << "Instruction: " << *MBBI; 380 *OS << '\n'; 383 *OS << "# " << Banner << '\n'; 384 MF->print(*OS, Indexes); 386 *OS << "*** Bad machine code: " << msg << " ***\n" 393 *OS << "- basic block: BB#" << MBB->getNumber() 397 *OS << " [" << Indexes->getMBBStartIdx(MBB [all...] |