/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ToolOutputFile.cpp | 18 ToolOutputFile::CleanupInstaller::CleanupInstaller(StringRef Filename) in CleanupInstaller() argument 19 : Filename(Filename), Keep(false) { in CleanupInstaller() 21 if (Filename != "-") in CleanupInstaller() 22 sys::RemoveFileOnSignal(Filename); in CleanupInstaller() 27 if (!Keep && Filename != "-") in ~CleanupInstaller() 28 sys::fs::remove(Filename); in ~CleanupInstaller() 32 if (Filename != "-") in ~CleanupInstaller() 33 sys::DontRemoveFileOnSignal(Filename); in ~CleanupInstaller() 36 ToolOutputFile::ToolOutputFile(StringRef Filename, std::error_code &EC, in ToolOutputFile() argument 38 : Installer(Filename), OS(Filename, EC, Flags) { in ToolOutputFile() [all …]
|
D | GraphWriter.cpp | 81 SmallString<128> Filename; in createGraphFilename() local 82 std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename); in createGraphFilename() 88 errs() << "Writing '" << Filename << "'... "; in createGraphFilename() 89 return Filename.str(); in createGraphFilename() 94 StringRef Filename, bool wait, in ExecGraphViewer() argument 101 sys::fs::remove(Filename); in ExecGraphViewer() 105 errs() << "Remember to erase graph file: " << Filename << "\n"; in ExecGraphViewer() 150 std::string Filename = FilenameRef; in DisplayGraph() local 162 args.push_back(Filename); in DisplayGraph() 164 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() [all …]
|
D | MemoryBuffer.cpp | 108 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 143 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument 146 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() 150 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN() 231 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 233 return getFileAux<MemoryBuffer>(Filename, FileSize, FileSize, 0, in getFile() 239 getOpenFileImpl(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, 245 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, in getFileAux() argument 248 sys::fs::openNativeFileForRead(Filename, sys::fs::OF_None); in getFileAux() 252 auto Ret = getOpenFileImpl<MB>(FD, Filename, FileSize, MapSize, Offset, in getFileAux() [all …]
|
D | PluginLoader.cpp | 25 void PluginLoader::operator=(const std::string &Filename) { in operator =() argument 28 if (sys::DynamicLibrary::LoadLibraryPermanently(Filename.c_str(), &Error)) { in operator =() 29 errs() << "Error opening '" << Filename << "': " << Error in operator =() 32 Plugins->push_back(Filename); in operator =()
|
/third_party/curl/tests/data/ |
D | test1114 | 40 Filename: . 46 Filename: .. 52 Filename: chmod1 62 Filename: chmod2 72 Filename: chmod3 82 Filename: chmod4 88 Filename: chmod5 94 Filename: empty_file.dat 103 Filename: file.txt 113 Filename: .NeXT [all …]
|
D | test576 | 40 Filename: . 49 Filename: .. 58 Filename: chmod1 71 Filename: chmod2 84 Filename: chmod3 97 Filename: chmod4 106 Filename: chmod5 115 Filename: empty_file.dat 127 Filename: file.txt 140 Filename: link [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 105 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, 169 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument 172 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() 176 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN() 256 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument 258 return getFileAux(Filename, FileSize, FileSize, 0, in getFile() 263 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize, 268 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, in getFileAux() argument 271 std::error_code EC = sys::fs::openFileForRead(Filename, FD); in getFileAux() 276 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset, in getFileAux() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/ |
D | PassPlugin.cpp | 16 Expected<PassPlugin> PassPlugin::Load(const std::string &Filename) { in Load() argument 19 sys::DynamicLibrary::getPermanentLibrary(Filename.c_str(), &Error); in Load() 22 Filename + "': " + Error, in Load() 25 PassPlugin P{Filename, Library}; in Load() 33 Filename + "'. Is this a legacy plugin?", in Load() 40 Twine("Wrong API version on plugin '") + Filename + "'. Got version " + in Load() 47 Filename + "'.'", in Load()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | FileUtilities.h | 41 SmallString<128> Filename; variable 48 filename.toVector(Filename); in DeleteIt() 54 sys::fs::remove(Filename); in ~FileRemover() 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename);
|
D | MemoryBuffer.h | 76 getFile(const Twine &Filename, int64_t FileSize = -1, 83 getFileAsStream(const Twine &Filename); 89 getOpenFileSlice(int FD, const Twine &Filename, uint64_t MapSize, 99 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize, 134 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1, 139 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Passes/ |
D | PassPlugin.h | 67 static Expected<PassPlugin> Load(const std::string &Filename); 70 StringRef getFilename() const { return Filename; } in getFilename() 87 PassPlugin(const std::string &Filename, const sys::DynamicLibrary &Library) in PassPlugin() argument 88 : Filename(Filename), Library(Library), Info() {} in PassPlugin() 90 std::string Filename; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/ |
D | DataStream.cpp | 65 std::error_code OpenFile(const std::string &Filename) { in OpenFile() argument 66 if (Filename == "-") { in OpenFile() 72 return sys::fs::openFileForRead(Filename, Fd); in OpenFile() 79 llvm::getDataFileStreamer(const std::string &Filename, std::string *StrError) { in getDataFileStreamer() argument 81 if (std::error_code e = s->OpenFile(Filename)) { in getDataFileStreamer() 83 std::string("Could not open ") + Filename + ": " + e.message() + "\n"; in getDataFileStreamer()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
D | reflection.cc | 115 flag.Filename() != GetUsageConfig().normalize_filename(filename)) { in RegisterFlag() 122 flag.Filename(), " and ", filename), in RegisterFlag() 138 (flag.IsRetired() ? old_flag.Filename() : flag.Filename()), "'."), in RegisterFlag() 146 old_flag.Filename(), "' and '", flag.Filename(), "'."), in RegisterFlag() 150 } else if (old_flag.Filename() != flag.Filename()) { in RegisterFlag() 154 old_flag.Filename(), "' and '", flag.Filename(), "')."), in RegisterFlag() 160 flag.Filename(), "'. One possibility: file '", flag.Filename(), in RegisterFlag() 226 std::string Filename() const override { in Filename() function in absl::flags_internal::__anon102432930411::RetiredFlagObj
|
D | flag_test.cc | 179 EXPECT_EQ(absl::GetFlagReflectionHandle(f1).Filename(), "file"); in TestConstructionFor() 186 EXPECT_EQ(absl::GetFlagReflectionHandle(f2).Filename(), "file"); in TestConstructionFor() 285 absl::GetFlagReflectionHandle(FLAGS_test_flag_01).Filename(), in TEST_F() 287 << absl::GetFlagReflectionHandle(FLAGS_test_flag_01).Filename(); in TEST_F() 294 absl::GetFlagReflectionHandle(FLAGS_test_flag_02).Filename(), in TEST_F() 296 << absl::GetFlagReflectionHandle(FLAGS_test_flag_02).Filename(); in TEST_F() 303 absl::GetFlagReflectionHandle(FLAGS_test_flag_03).Filename(), in TEST_F() 305 << absl::GetFlagReflectionHandle(FLAGS_test_flag_03).Filename(); in TEST_F() 312 absl::GetFlagReflectionHandle(FLAGS_test_flag_04).Filename(), in TEST_F() 314 << absl::GetFlagReflectionHandle(FLAGS_test_flag_04).Filename(); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | FileUtilities.h | 43 SmallString<128> Filename; variable 50 filename.toVector(Filename); in DeleteIt() 56 sys::fs::remove(Filename); in ~FileRemover() 66 sys::fs::remove(Filename); 69 Filename.clear(); 70 filename.toVector(Filename);
|
D | MemoryBuffer.h | 80 getFile(const Twine &Filename, int64_t FileSize = -1, 87 getFileAsStream(const Twine &Filename); 93 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize, 103 getOpenFile(sys::fs::file_t FD, const Twine &Filename, uint64_t FileSize, 126 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1, 131 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset, 180 getFile(const Twine &Filename, int64_t FileSize = -1, 185 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset, 242 getFile(const Twine &Filename, int64_t FileSize = -1); 246 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
|
D | ToolOutputFile.h | 32 std::string Filename; variable 37 explicit CleanupInstaller(StringRef Filename); 47 ToolOutputFile(StringRef Filename, std::error_code &EC, 50 ToolOutputFile(StringRef Filename, int FD);
|
D | GraphWriter.h | 62 bool DisplayGraph(StringRef Filename, bool wait = true, 331 std::string Filename = "") { 336 if (Filename.empty()) { 337 Filename = createGraphFilename(N, FD); 339 std::error_code EC = sys::fs::openFileForWrite(Filename, FD); 352 errs() << "error opening file '" << Filename << "' for writing!\n"; 359 return Filename; 369 std::string Filename = llvm::WriteGraph(G, Name, ShortNames, Title); 371 if (Filename.empty()) 374 DisplayGraph(Filename, false, Program);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/ |
D | DIPrinter.cpp | 73 std::string Filename = Info.FileName; in print() local 74 if (Filename == DILineInfo::BadString) in print() 75 Filename = DILineInfo::Addr2LineBadString; in print() 77 Filename = llvm::sys::path::filename(Filename); in print() 79 OS << Filename << ":" << Info.Line; in print() 83 printContext(Filename, Info.Line); in print() 86 OS << " Filename: " << Filename << "\n"; in print()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | GCOV.cpp | 151 if (!Buff.readString(Filename)) in readGCNO() 225 if (Filename != F) { in readGCNO() 226 errs() << "Multiple sources for a single basic block: " << Filename in readGCNO() 352 OS << "===== " << Name << " (" << Ident << ") @ " << Filename << ":" in print() 373 FI.addFunctionLine(Filename, LineNumber, this); in collectLineCounts() 620 LineConsumer(StringRef Filename) { in LineConsumer() argument 622 MemoryBuffer::getFileOrSTDIN(Filename); in LineConsumer() 624 errs() << Filename << ": " << EC.message() << "\n"; in LineConsumer() 645 static std::string mangleCoveragePath(StringRef Filename, bool PreservePaths) { in mangleCoveragePath() argument 647 return sys::path::filename(Filename).str(); in mangleCoveragePath() [all …]
|
/third_party/ltp/testcases/kernel/io/writetest/ |
D | writetest.c | 54 char Filename[MAX_FILENAME_LEN] = FILE_OUT; variable 196 strncpy(Filename, optarg, MAX_FILENAME_LEN); in parse_args() 234 tst_resm(TINFO, "Output file: '%s'\n", Filename); in main() 237 (long long int)NumBlocks, BLOCKSIZE, Filename); in main() 239 rv = write_file(NumBlocks, Filename); in main() 247 (long long int)NumBlocks, Filename); in main() 249 rv = verify_file(NumBlocks, Filename); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/XRay/ |
D | InstrumentationMap.cpp | 54 loadObj(StringRef Filename, object::OwningBinary<object::ObjectFile> &ObjFile, in loadObj() argument 188 loadYAML(sys::fs::file_t Fd, size_t FileSize, StringRef Filename, in loadYAML() argument 198 Twine("Failed memory-mapping file '") + Filename + "'.", EC); in loadYAML() 205 Twine("Failed loading YAML document from '") + Filename + "'.", in loadYAML() 221 llvm::xray::loadInstrumentationMap(StringRef Filename) { in loadInstrumentationMap() argument 227 auto ObjectFileOrError = object::ObjectFile::createObjectFile(Filename); in loadInstrumentationMap() 231 Expected<sys::fs::file_t> FdOrErr = sys::fs::openNativeFileForRead(Filename); in loadInstrumentationMap() 239 if (sys::fs::file_size(Filename, FileSize)) in loadInstrumentationMap() 249 if (auto E = loadYAML(*FdOrErr, FileSize, Filename, Map.Sleds, in loadInstrumentationMap() 252 } else if (auto E = loadObj(Filename, *ObjectFileOrError, Map.Sleds, in loadInstrumentationMap()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/AsmParser/ |
D | Parser.cpp | 55 llvm::parseAssemblyFile(StringRef Filename, SMDiagnostic &Err, in parseAssemblyFile() argument 59 MemoryBuffer::getFileOrSTDIN(Filename); in parseAssemblyFile() 61 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile() 86 StringRef Filename, SMDiagnostic &Err, LLVMContext &Context, in parseAssemblyFileWithIndex() argument 89 MemoryBuffer::getFileOrSTDIN(Filename); in parseAssemblyFileWithIndex() 91 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFileWithIndex() 135 llvm::parseSummaryIndexAssemblyFile(StringRef Filename, SMDiagnostic &Err) { in parseSummaryIndexAssemblyFile() argument 137 MemoryBuffer::getFileOrSTDIN(Filename); in parseSummaryIndexAssemblyFile() 139 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseSummaryIndexAssemblyFile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IRReader/ |
D | IRReader.cpp | 52 std::unique_ptr<Module> llvm::getLazyIRFileModule(StringRef Filename, in getLazyIRFileModule() argument 57 MemoryBuffer::getFileOrSTDIN(Filename); in getLazyIRFileModule() 59 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule() 95 std::unique_ptr<Module> llvm::parseIRFile(StringRef Filename, SMDiagnostic &Err, in parseIRFile() argument 100 MemoryBuffer::getFileOrSTDIN(Filename); in parseIRFile() 102 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseIRFile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/ |
D | CoverageMapping.h | 335 StringRef Filename; variable 342 StringRef Filename = "") 343 : Records(Records_), Current(Records.begin()), Filename(Filename) { in Records() 350 return Current == RHS.Current && Filename == RHS.Filename; 481 std::string Filename; variable 488 CoverageData(StringRef Filename) : Filename(Filename) {} in CoverageData() argument 491 StringRef getFilename() const { return Filename; } in getFilename() 530 getImpreciseRecordIndicesForFilename(StringRef Filename) const; 571 CoverageData getCoverageForFile(StringRef Filename) const; 587 getCoveredFunctions(StringRef Filename) const { in getCoveredFunctions() argument [all …]
|