Searched refs:Filename (Results 1 - 25 of 154) sorted by relevance

1234567

/external/llvm/lib/Support/
H A DToolOutputFile.cpp20 : Filename(filename), Keep(false) {
22 if (Filename != "-")
23 sys::RemoveFileOnSignal(Filename);
28 if (!Keep && Filename != "-")
29 sys::fs::remove(Filename);
33 if (Filename != "-")
34 sys::DontRemoveFileOnSignal(Filename);
45 tool_output_file::tool_output_file(const char *Filename, int FD) argument
46 : Installer(Filename), OS(FD, true) {
H A DDataStream.cpp67 std::error_code OpenFile(const std::string &Filename) { argument
68 if (Filename == "-") {
74 return sys::fs::openFileForRead(Filename, Fd);
81 DataStreamer *getDataFileStreamer(const std::string &Filename, argument
84 if (std::error_code e = s->OpenFile(Filename)) {
85 *StrError = std::string("Could not open ") + Filename + ": " +
H A DPluginLoader.cpp26 void PluginLoader::operator=(const std::string &Filename) { argument
29 if (sys::DynamicLibrary::LoadLibraryPermanently(Filename.c_str(), &Error)) {
30 errs() << "Error opening '" << Filename << "': " << Error
33 Plugins->push_back(Filename);
H A DGraphWriter.cpp70 SmallString<128> Filename; local
71 std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
77 errs() << "Writing '" << Filename << "'... ";
78 return Filename.str();
83 StringRef Filename, bool wait,
92 sys::fs::remove(Filename);
96 errs() << "Remember to erase graph file: " << Filename.str() << "\n";
135 std::string Filename = FilenameRef; local
145 args.push_back(Filename.c_str());
149 return ExecGraphViewer(ViewerPath, args, Filename, wai
82 ExecGraphViewer(StringRef ExecPath, std::vector<const char *> &args, StringRef Filename, bool wait, std::string &ErrMsg) argument
[all...]
/external/llvm/include/llvm-c/
H A DSupport.h48 LLVMBool LLVMLoadLibraryPermanently(const char* Filename);
/external/clang/lib/Frontend/
H A DDependencyFile.cpp52 StringRef Filename = FE->getName();
55 while (Filename.size() > 2 && Filename[0] == '.' &&
56 llvm::sys::path::is_separator(Filename[1])) {
57 Filename = Filename.substr(1);
58 while (llvm::sys::path::is_separator(Filename[0]))
59 Filename = Filename.substr(1);
62 DepCollector.maybeAddDependency(Filename, /*FromModul
108 maybeAddDependency(StringRef Filename, bool FromModule, bool IsSystem, bool IsModuleFile, bool IsMissing) argument
116 sawDependency(StringRef Filename, bool FromModule, bool IsSystem, bool IsModuleFile, bool IsMissing) argument
218 FileMatchesDepCriteria(const char *Filename, SrcMgr::CharacteristicKind FileType) argument
277 AddFilename(StringRef Filename) argument
284 PrintFilename(raw_ostream &OS, StringRef Filename) argument
290 OS << Filename[i]; local
364 visitInputFile(llvm::StringRef Filename, bool IsSystem, bool IsOverridden) argument
374 visitModuleFile(llvm::StringRef Filename) argument
[all...]
/external/llvm/include/llvm/Support/
H A DFileUtilities.h41 SmallString<128> Filename; member in class:llvm::FileRemover
48 filename.toVector(Filename);
54 sys::fs::remove(Filename.str());
64 sys::fs::remove(Filename.str());
67 Filename.clear();
68 filename.toVector(Filename);
H A DSignals.h31 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
35 void DontRemoveFileOnSignal(StringRef Filename);
H A DToolOutputFile.h32 /// Filename - The name of the file.
33 std::string Filename; member in class:llvm::tool_output_file::CleanupInstaller
52 tool_output_file(const char *Filename, int FD);
H A DDynamicLibrary.h75 static bool LoadLibraryPermanently(const char *Filename, argument
77 return !getPermanentLibrary(Filename, ErrMsg).isValid();
H A DDataStream.h33 DataStreamer *getDataFileStreamer(const std::string &Filename,
H A DMemoryBuffer.h73 getFile(Twine Filename, int64_t FileSize = -1,
84 getOpenFileSlice(int FD, const char *Filename, uint64_t MapSize,
94 getOpenFile(int FD, const char *Filename, uint64_t FileSize,
125 /// Open the specified file as a MemoryBuffer, or open stdin if the Filename
128 getFileOrSTDIN(StringRef Filename, int64_t FileSize = -1);
H A DPluginLoader.h24 void operator=(const std::string &Filename);
/external/bison/lib/
H A Ddosname.h30 # define FILE_SYSTEM_PREFIX_LEN(Filename) \
31 (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0)
37 # define FILE_SYSTEM_PREFIX_LEN(Filename) 0
/external/llvm/lib/CodeGen/AsmPrinter/
H A DWinCodeViewLineTables.h50 // InstrInfoTy - Holds the Filename:LineNumber information for every
53 StringRef Filename; member in struct:llvm::WinCodeViewLineTables::InstrInfoTy
58 InstrInfoTy(StringRef Filename, unsigned LineNumber) argument
59 : Filename(Filename), LineNumber(LineNumber) {}
81 // Add Filename to the registry, if it was not observed before.
82 void add(StringRef Filename) { argument
83 if (Infos.count(Filename))
86 Infos[Filename].FilenameID = OldSize;
87 Infos[Filename]
[all...]
/external/compiler-rt/lib/profile/
H A DInstrProfilingFile.c78 static void setFilename(const char *Filename, int OwnsFilename) { argument
82 __llvm_profile_CurrentFilename = Filename;
87 const char *Filename = __llvm_profile_CurrentFilename; local
88 if (!Filename || !Filename[0])
92 FILE *File = fopen(Filename, "w");
102 const char *Filename = getenv("LLVM_PROFILE_FILE"); local
103 if (!Filename || !Filename[0])
112 for (I = 0; Filename[
166 __llvm_profile_set_filename(const char *Filename) argument
[all...]
/external/llvm/lib/ExecutionEngine/
H A DEventListenerCommon.h36 std::string &Filename = Filenames[Scope]; local
37 if (Filename.empty()) {
39 Filename = DIScope.getFilename();
41 return Filename.c_str();
/external/llvm/include/llvm/IRReader/
H A DIRReader.h31 Module *getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err,
42 Module *ParseIRFile(const std::string &Filename, SMDiagnostic &Err,
/external/clang/lib/Driver/
H A DInputInfo.h31 Filename, enumerator in enum:clang::driver::InputInfo::Class
37 const char *Filename; member in union:clang::driver::InputInfo::__anon17891
50 : Kind(Filename), Type(_Type), BaseInput(_BaseInput) {
51 Data.Filename = _Filename;
60 bool isFilename() const { return Kind == Filename; }
67 return Data.Filename;
/external/llvm/unittests/Transforms/DebugIR/
H A DDebugIR.cpp83 /// Returns a concatenated path string consisting of Dir and Filename
84 string getPath(const string &Dir, const string &Filename) { argument
86 sys::path::append(Path, Dir, Filename);
87 Path.resize(Dir.size() + Filename.size() + 2);
88 Path[Dir.size() + Filename.size() + 1] = '\0';
145 string Filename("NamedFile1");
146 string ExpectedPath(getPath(cwd, Filename));
164 string Filename("NamedFile2");
168 false, false, StringRef(cwd), StringRef(Filename))));
172 string ExpectedPath(getPath(cwd, Filename));
[all...]
/external/chromium_org/third_party/lcov/contrib/galaxy/
H A Dconglomerate_functions.pl119 my $Filename = shift;
121 my @Input = ReadPS ($Filename);
133 my $FuncName = $Filename;
139 WritePS ($Filename, @Output);
176 my $Filename = shift;
179 open (INFILE, "$Filename") or die ("Could not read $Filename: $!");
188 my $Filename = shift;
190 open (OUTFILE, ">$Filename")
191 or die ("Could not write $Filename
[all...]
/external/compiler-rt/lib/ubsan/
H A Dubsan_value.h53 const char *Filename; member in class:__ubsan::SourceLocation
58 SourceLocation() : Filename(), Line(), Column() {}
59 SourceLocation(const char *Filename, unsigned Line, unsigned Column) argument
60 : Filename(Filename), Line(Line), Column(Column) {}
63 bool isInvalid() const { return !Filename; }
71 return SourceLocation(Filename, Line, OldColumn);
81 const char *getFilename() const { return Filename; }
/external/llvm/lib/Transforms/Instrumentation/
H A DDebugIR.h34 std::string Filename; member in class:llvm::DebugIR
47 /// Generate a file on disk to be displayed in a debugger. If Filename and
50 llvm::StringRef Directory, llvm::StringRef Filename)
54 Filename(Filename), GeneratedPath(false), ParsedPath(false) {}
68 /// Returns the concatenated Directory + Filename, without error checking
75 /// Replace the extension of Filename with NewExtension, and return true if
76 /// successful. Return false if extension could not be found or Filename is
87 /// Returns true if either Directory or Filename is missing, false otherwise.
49 DebugIR(bool HideDebugIntrinsics, bool HideDebugMetadata, llvm::StringRef Directory, llvm::StringRef Filename) argument
/external/llvm/tools/bugpoint/
H A DFindBugs.cpp65 std::string Filename; local
66 if(runPasses(Program, PassesToRun, Filename, false)) {
93 bool Diff = diffProgram(Program, Filename, "", false, &Error);
107 sys::fs::remove(Filename);
/external/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp68 static void DumpInput(const StringRef &Filename) { argument
70 MemoryBuffer::getFileOrSTDIN(Filename);
73 errs() << Filename << ": " << EC.message() << "\n";
79 errs() << Filename << ": " << EC.message() << '\n';
86 outs() << Filename

Completed in 587 milliseconds

1234567