/external/llvm/lib/Support/ |
ToolOutputFile.cpp | 18 tool_output_file::CleanupInstaller::CleanupInstaller(const char *filename) 19 : Filename(filename), Keep(false) { 21 if (Filename != "-") 22 sys::RemoveFileOnSignal(sys::Path(Filename)); 27 if (!Keep && Filename != "-") 28 sys::Path(Filename).eraseFromDisk(); 32 if (Filename != "-") 33 sys::DontRemoveFileOnSignal(sys::Path(Filename)); 36 tool_output_file::tool_output_file(const char *filename, std::string &ErrorInfo [all...] |
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);
|
DataStream.cpp | 66 error_code OpenFile(const std::string &Filename) { 67 if (Filename == "-") { 77 Fd = ::open(Filename.c_str(), OpenFlags); 87 DataStreamer *getDataFileStreamer(const std::string &Filename, 90 if (error_code e = s->OpenFile(Filename)) { 91 *StrError = std::string("Could not open ") + Filename + ": " +
|
GraphWriter.cpp | 59 const sys::Path &Filename, bool wait, std::string &ErrMsg) { 65 Filename.eraseFromDisk(); 70 errs() << "Remember to erase graph file: " << Filename.str() << "\n"; 75 void llvm::DisplayGraph(const sys::Path &Filename, bool wait, 84 args.push_back(Filename.c_str()); 88 if (!ExecGraphViewer(Graphviz, args, Filename, wait, ErrMsg)) 94 args.push_back(Filename.c_str()); 107 if (!ExecGraphViewer(sys::Path(LLVM_PATH_XDOT_PY), args, Filename, wait, ErrMsg)) 112 sys::Path PSFilename = Filename; 161 args.push_back(Filename.c_str()) [all...] |
/external/llvm/include/llvm/Support/ |
Signals.h | 30 bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0); 34 void DontRemoveFileOnSignal(const Path &Filename);
|
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); 55 sys::fs::remove(Filename.str(), existed); 62 void setFile(const Twine& filename, bool deleteIt = true) { 66 sys::fs::remove(Filename.str(), existed); 69 Filename.clear(); 70 filename.toVector(Filename) [all...] |
DataStream.h | 33 DataStreamer *getDataFileStreamer(const std::string &Filename,
|
MemoryBuffer.h | 57 /// filename it was read from. 66 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result, 69 static error_code getFile(const char *Filename, 76 static error_code getOpenFile(int FD, const char *Filename, 114 /// if the Filename is "-". If an error occurs, this returns null and sets 116 static error_code getFileOrSTDIN(StringRef Filename, 119 static error_code getFileOrSTDIN(const char *Filename,
|
IRReader.h | 59 inline Module *getLazyIRFileModule(const std::string &Filename, 63 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 64 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, 97 inline Module *ParseIRFile(const std::string &Filename, 101 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 102 Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
|
DynamicLibrary.h | 67 static DynamicLibrary getPermanentLibrary(const char *filename, 75 static bool LoadLibraryPermanently(const char *Filename, 77 return !getPermanentLibrary(Filename, ErrMsg).isValid();
|
PluginLoader.h | 24 void operator=(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,
|
/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/clang/lib/Driver/ |
InputInfo.h | 31 Filename, 37 const char *Filename; 50 : Kind(Filename), Type(_Type), BaseInput(_BaseInput) { 51 Data.Filename = _Filename; 59 bool isFilename() const { return Kind == Filename; } 66 return Data.Filename;
|
/external/clang/lib/Frontend/ |
DependencyFile.cpp | 41 bool FileMatchesDepCriteria(const char *Filename, 43 void AddFilename(StringRef Filename); 60 StringRef FileName, 87 /// FileMatchesDepCriteria - Determine whether the given Filename should be 89 bool DependencyFileCallback::FileMatchesDepCriteria(const char *Filename, 91 if (strcmp("<built-in>", Filename) == 0) 116 StringRef Filename = FE->getName(); 117 if (!FileMatchesDepCriteria(Filename.data(), FileType)) 121 while (Filename.size() > 2 && Filename[0] == '.' & [all...] |
/external/llvm/include/llvm/Analysis/ |
ProfileInfoLoader.h | 30 const std::string &Filename; 40 ProfileInfoLoader(const char *ToolName, const std::string &Filename); 47 const std::string &getFileName() const { return Filename; }
|
ProfileDataLoader.h | 99 const std::string &Filename; 112 ProfileDataLoader(const char *ToolName, const std::string &Filename); 129 const std::string &getFileName() const { return Filename; } 137 /// the profiling information for the module from the specified filename. 138 ModulePass *createProfileMetadataLoaderPass(const std::string &Filename);
|
/external/bison/ |
config.h | 18 # define FILE_SYSTEM_PREFIX_LEN(Filename) \ 19 ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0) 21 # define FILE_SYSTEM_PREFIX_LEN(Filename) 0
|
/external/llvm/tools/bugpoint/ |
FindBugs.cpp | 64 std::string Filename; 65 if(runPasses(Program, PassesToRun, Filename, false)) { 92 bool Diff = diffProgram(Program, Filename, "", false, &Error); 106 sys::Path(Filename).eraseFromDisk();
|
/external/clang/lib/AST/ |
InheritViz.cpp | 139 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg); 140 if (Filename.isEmpty()) { 144 Filename.appendComponent(Self.getAsString() + ".dot"); 145 if (Filename.makeUnique(true,&ErrMsg)) { 150 llvm::errs() << "Writing '" << Filename.c_str() << "'... "; 152 llvm::raw_fd_ostream O(Filename.c_str(), ErrMsg); 162 DisplayGraph(Filename);
|
/external/llvm/lib/VMCore/ |
GCOV.cpp | 102 Filename = Buff.readString(); 143 StringRef Filename = Buff.readString(); 146 Block->addLine(Filename, L); 155 outs() << "===== " << Name << " @ " << Filename << ":" << LineNumber << "\n"; 178 void GCOVBlock::addLine(StringRef Filename, uint32_t LineNo) { 179 GCOVLines *&LinesForFile = Lines[Filename]; 219 void GCOVLines::collectLineCounts(FileInfo &FI, StringRef Filename, 223 FI.addLineCount(Filename, *I, Count); 237 void FileInfo::addLineCount(StringRef Filename, uint32_t Line, uint32_t Count) { 238 if (LineInfo.find(Filename) == LineInfo.end()) [all...] |
/external/llvm/lib/Analysis/ |
CFGPrinter.cpp | 80 std::string Filename = "cfg." + F.getName().str() + ".dot"; 81 errs() << "Writing '" << Filename << "'..."; 84 raw_fd_ostream File(Filename.c_str(), ErrorInfo); 114 std::string Filename = "cfg." + F.getName().str() + ".dot"; 115 errs() << "Writing '" << Filename << "'..."; 118 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
|
/external/llvm/lib/Linker/ |
LinkArchives.cpp | 88 /// Filename - The pathname of the archive. 94 Linker::LinkInArchive(const sys::Path &Filename, bool &is_native) { 96 if (!Filename.isArchive()) 97 return error("File '" + Filename.str() + "' is not an archive."); 100 verbose("Linking archive file '" + Filename.str() + "'"); 109 verbose("No symbols undefined, skipping library '" + Filename.str() + "'"); 115 Archive::OpenAndLoadSymbols(Filename, Context, &ErrMsg)); 120 return error("Cannot read archive '" + Filename.str() + 145 return error("Cannot find symbols in '" + Filename.str() +
|
/external/llvm/include/llvm/Assembly/ |
Parser.h | 33 const std::string &Filename, ///< The name of the file to parse
|