HomeSort by relevance Sort by last modified time
    Searched refs:Filename (Results 1 - 25 of 174) sorted by null

1 2 3 4 5 6 7

  /external/llvm/lib/Support/
ToolOutputFile.cpp 19 tool_output_file::CleanupInstaller::CleanupInstaller(const char *filename)
20 : 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);
37 tool_output_file::tool_output_file(const char *filename, std::string &ErrorInfo
    [all...]
DataStream.cpp 67 std::error_code OpenFile(const std::string &Filename) {
68 if (Filename == "-") {
74 return sys::fs::openFileForRead(Filename, Fd);
81 DataStreamer *getDataFileStreamer(const std::string &Filename,
84 if (std::error_code e = s->OpenFile(Filename)) {
85 *StrError = std::string("Could not open ") + Filename + ": " +
PluginLoader.cpp 26 void PluginLoader::operator=(const std::string &Filename) {
29 if (sys::DynamicLibrary::LoadLibraryPermanently(Filename.c_str(), &Error)) {
30 errs() << "Error opening '" << Filename << "': " << Error
33 Plugins->push_back(Filename);
GraphWriter.cpp 70 SmallString<128> Filename;
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;
145 args.push_back(Filename.c_str());
149 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)
    [all...]
  /external/llvm/include/llvm/Support/
FileUtilities.h 37 /// If an exception is thrown from a region, the object removes the filename
41 SmallString<128> Filename;
46 explicit FileRemover(const Twine& filename, bool deleteIt = true)
48 filename.toVector(Filename);
54 sys::fs::remove(Filename.str());
61 void setFile(const Twine& filename, bool deleteIt = true) {
64 sys::fs::remove(Filename.str());
67 Filename.clear();
68 filename.toVector(Filename)
    [all...]
Signals.h 31 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
35 void DontRemoveFileOnSignal(StringRef Filename);
DataStream.h 33 DataStreamer *getDataFileStreamer(const std::string &Filename,
ToolOutputFile.h 32 /// Filename - The name of the file.
33 std::string Filename;
38 explicit CleanupInstaller(const char *filename);
49 tool_output_file(const char *filename, std::string &ErrorInfo,
52 tool_output_file(const char *Filename, int FD);
DynamicLibrary.h 67 static DynamicLibrary getPermanentLibrary(const char *filename,
75 static bool LoadLibraryPermanently(const char *Filename,
77 return !getPermanentLibrary(Filename, ErrMsg).isValid();
MemoryBuffer.h 59 /// filename it was read from.
73 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);
PluginLoader.h 24 void operator=(const std::string &Filename);
  /external/llvm/include/llvm-c/
Support.h 48 LLVMBool LLVMLoadLibraryPermanently(const char* Filename);
  /external/clang/lib/Frontend/
DependencyFile.cpp 52 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, /*FromModule*/false
    [all...]
  /external/bison/lib/
dosname.h 30 # 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/
WinCodeViewLineTables.h 50 // InstrInfoTy - Holds the Filename:LineNumber information for every
53 StringRef Filename;
58 InstrInfoTy(StringRef Filename, unsigned LineNumber)
59 : Filename(Filename), LineNumber(LineNumber) {}
74 // filename.
81 // Add Filename to the registry, if it was not observed before.
82 void add(StringRef Filename) {
83 if (Infos.count(Filename))
86 Infos[Filename].FilenameID = OldSize
    [all...]
  /external/compiler-rt/lib/profile/
InstrProfilingFile.c 78 static void setFilename(const char *Filename, int OwnsFilename) {
82 __llvm_profile_CurrentFilename = Filename;
87 const char *Filename = __llvm_profile_CurrentFilename;
88 if (!Filename || !Filename[0])
92 FILE *File = fopen(Filename, "w");
102 const char *Filename = getenv("LLVM_PROFILE_FILE");
103 if (!Filename || !Filename[0])
106 /* Check the filename for "%p", which indicates a pid-substitution. *
    [all...]
  /external/llvm/lib/ExecutionEngine/
EventListenerCommon.h 28 // Holds the filename of each Scope, so that we can pass a null-terminated
36 std::string &Filename = Filenames[Scope];
37 if (Filename.empty()) {
39 Filename = DIScope.getFilename();
41 return Filename.c_str();
49 StringRef FileName = DIScope.getFilename();
54 if (FileName != "") {
55 sys::path::append(FullPath, FileName);
  /ndk/sources/host-tools/sed-4.2.1/lib/
dirname.h 38 # define FILE_SYSTEM_PREFIX_LEN(Filename) \
39 (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0)
41 # define FILE_SYSTEM_PREFIX_LEN(Filename) 0
  /external/llvm/include/llvm/IRReader/
IRReader.h 31 Module *getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err,
42 Module *ParseIRFile(const std::string &Filename, SMDiagnostic &Err,
  /external/clang/lib/Driver/
InputInfo.h 31 Filename,
37 const char *Filename;
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/
DebugIR.cpp 83 /// Returns a concatenated path string consisting of Dir and Filename
84 string getPath(const string &Dir, const string &Filename) {
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/
conglomerate_functions.pl 115 # Decorate (rgb-vals(1 string) filename)
119 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")
    [all...]
  /external/compiler-rt/lib/ubsan/
ubsan_value.h 53 const char *Filename;
58 SourceLocation() : Filename(), Line(), Column() {}
59 SourceLocation(const char *Filename, unsigned Line, unsigned Column)
60 : Filename(Filename), Line(Line), Column(Column) {}
63 bool isInvalid() const { return !Filename; }
71 return SourceLocation(Filename, Line, OldColumn);
80 /// \brief Get the presumed filename for the source location.
81 const char *getFilename() const { return Filename; }
  /external/llvm/lib/Transforms/Instrumentation/
DebugIR.h 34 std::string Filename;
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
80 /// Generate a temporary filename and open an fd
87 /// Returns true if either Directory or Filename is missing, false otherwise
    [all...]
  /external/llvm/tools/bugpoint/
FindBugs.cpp 65 std::string Filename;
66 if(runPasses(Program, PassesToRun, Filename, false)) {
93 bool Diff = diffProgram(Program, Filename, "", false, &Error);
107 sys::fs::remove(Filename);

Completed in 761 milliseconds

1 2 3 4 5 6 7