/macosx-10.10/llvmCore-3425.0.34/lib/Support/ |
H A D | ToolOutputFile.cpp | 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));
|
H A D | PluginLoader.cpp | 26 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 D | DataStream.cpp | 66 error_code OpenFile(const std::string &Filename) { argument 67 if (Filename == "-") { 77 Fd = ::open(Filename.c_str(), OpenFlags); 87 DataStreamer *getDataFileStreamer(const std::string &Filename, argument 90 if (error_code e = s->OpenFile(Filename)) { 91 *StrError = std::string("Could not open ") + Filename + ": " +
|
H A D | MemoryBuffer.cpp | 154 /// if the Filename is "-". If an error occurs, this returns null and fills 157 error_code MemoryBuffer::getFileOrSTDIN(StringRef Filename, argument 160 if (Filename == "-") 162 return getFile(Filename, result, FileSize); 165 error_code MemoryBuffer::getFileOrSTDIN(const char *Filename, argument 168 if (strcmp(Filename, "-") == 0) 170 return getFile(Filename, result, FileSize); 225 error_code MemoryBuffer::getFile(StringRef Filename, argument 230 SmallString<256> PathBuf(Filename.begin(), Filename 235 getFile(const char *Filename, OwningPtr<MemoryBuffer> &result, int64_t FileSize, bool RequiresNullTerminator) argument 304 getOpenFile(int FD, const char *Filename, OwningPtr<MemoryBuffer> &result, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator) argument [all...] |
H A D | 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, argument 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 58 ExecGraphViewer(const sys::Path &ExecPath, std::vector<const char*> &args, const sys::Path &Filename, bool wait, std::string &ErrMsg) argument [all...] |
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Support/ |
H A D | FileUtilities.h | 41 SmallString<128> Filename; member in class:llvm::FileRemover 48 filename.toVector(Filename); 55 sys::fs::remove(Filename.str(), existed); 66 sys::fs::remove(Filename.str(), existed); 69 Filename.clear(); 70 filename.toVector(Filename);
|
H A D | Signals.h | 30 bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0); 34 void DontRemoveFileOnSignal(const Path &Filename);
|
H A D | IRReader.h | 59 inline Module *getLazyIRFileModule(const std::string &Filename, argument 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, argument 101 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 102 Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
|
H A D | DynamicLibrary.h | 75 static bool LoadLibraryPermanently(const char *Filename, argument 77 return !getPermanentLibrary(Filename, ErrMsg).isValid();
|
H A D | DataStream.h | 33 DataStreamer *getDataFileStreamer(const std::string &Filename,
|
H A D | PluginLoader.h | 24 void operator=(const std::string &Filename);
|
H A D | MemoryBuffer.h | 67 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result, 70 static error_code getFile(const char *Filename, 77 static error_code getOpenFile(int FD, const char *Filename, 115 /// if the Filename is "-". If an error occurs, this returns null and sets 117 static error_code getFileOrSTDIN(StringRef Filename, 120 static error_code getFileOrSTDIN(const char *Filename,
|
/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | dirname.h | 39 # define FILE_SYSTEM_PREFIX_LEN(Filename) \ 40 (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0) 42 # define FILE_SYSTEM_PREFIX_LEN(Filename) 0
|
/macosx-10.10/llvmCore-3425.0.34/lib/ExecutionEngine/ |
H A D | EventListenerCommon.h | 36 std::string &Filename = Filenames[Scope]; local 37 if (Filename.empty()) { 39 Filename = DIScope.getFilename(); 41 return Filename.c_str();
|
/macosx-10.10/BerkeleyDB-21/db/perl/BerkeleyDB/t/ |
H A D | subdb.t | 26 ok my $db = new BerkeleyDB::Unknown -Filename => $file , 54 eval ' BerkeleyDB::db_remove -Bad => 2, -Filename => "fred", -Stupid => 3; ' ; 57 eval ' BerkeleyDB::db_remove -Filename => "a", -Env => 2 ' ; 64 eval ' BerkeleyDB::db_remove -Filename => "x", -Env => $obj ' ; 76 ok my $db = new BerkeleyDB::Hash -Filename => $Dfile, 92 $db = new BerkeleyDB::Hash -Filename => $Dfile, 97 ok ! BerkeleyDB::db_remove(-Filename => $Dfile) ; 108 ok my $db = new BerkeleyDB::Hash -Filename => $Dfile, 125 $db = new BerkeleyDB::Hash -Filename => $Dfile, 137 ok my $db = new BerkeleyDB::Hash -Filename [all...] |
H A D | db-3.1.t | 32 my $db = tie %hash, 'BerkeleyDB::Hash', -Filename => $Dfile, 80 my $db = tie %hash, 'BerkeleyDB::Btree', -Filename => $Dfile, 126 my $db1 = new BerkeleyDB::Hash -Filename => $Dfile, 131 my $db2 = new BerkeleyDB::Btree -Filename => $Dfile, 152 cmp_ok BerkeleyDB::db_rename(-Filename => $Dfile, 156 my $db3 = new BerkeleyDB::Hash -Filename => $Dfile, 167 my $db1 = new BerkeleyDB::Hash -Filename => $Dfile, 172 my $db2 = new BerkeleyDB::Hash -Filename => $Dfile, 193 cmp_ok BerkeleyDB::db_rename(-Filename => $Dfile, -Newname => $Dfile2), 196 my $db3 = new BerkeleyDB::Hash -Filename [all...] |
H A D | unknown.t | 46 ok 7, ! (new BerkeleyDB::Unknown -Filename => $Dfile); 50 ok 8, ! (new BerkeleyDB::Unknown -Filename => $Dfile); 59 ok 9, my $db = new BerkeleyDB::Hash -Filename => $Dfile, 72 ok 12, $db = new BerkeleyDB::Unknown -Filename => $Dfile; 96 ok 20, my $db = new BerkeleyDB::Btree -Filename => $Dfile, 110 ok 23, $db = new BerkeleyDB::Unknown -Filename => $Dfile; 136 ok 31, my $db = new BerkeleyDB::Recno -Filename => $Dfile, 150 ok 34, $db = new BerkeleyDB::Unknown -Filename => $Dfile;
|
H A D | encrypt.t | 98 ok 8, my $db = new BerkeleyDB::Hash -Filename => $Dfile, 122 ok 11, my $db1 = new BerkeleyDB::Hash -Filename => $Dfile, 132 ok 14, ! new BerkeleyDB::Hash -Filename => "$home/$Dfile"; 323 -Filename => $Dfile, 349 ok 39, ! new BerkeleyDB::Hash -Filename => $Dfile, 354 ok 40, ! new BerkeleyDB::Hash -Filename => $Dfile, 355 -Filename => $Dfile, 363 ok 41, my $db1 = new BerkeleyDB::Hash -Filename => $Dfile, 364 -Filename => $Dfile, 387 -Filename [all...] |
/macosx-10.10/llvmCore-3425.0.34/include/llvm/Analysis/ |
H A D | ProfileInfoLoader.h | 30 const std::string &Filename; member in class:llvm::ProfileInfoLoader 40 ProfileInfoLoader(const char *ToolName, const std::string &Filename); 47 const std::string &getFileName() const { return Filename; }
|
/macosx-10.10/llvmCore-3425.0.34/tools/bugpoint/ |
H A D | FindBugs.cpp | 64 std::string Filename; local 65 if(runPasses(Program, PassesToRun, Filename, false)) { 92 bool Diff = diffProgram(Program, Filename, "", false, &Error); 106 sys::Path(Filename).eraseFromDisk();
|
/macosx-10.10/cron-39/crontab/ |
H A D | crontab.c | 73 static char Filename[MAX_FNAME]; variable 169 Filename[0] = '\0'; 214 (void) strncpy (Filename, argv[optind], (sizeof Filename)-1); 215 Filename[(sizeof Filename)-1] = '\0'; 221 strcpy(Filename, "-"); 233 if (!strcmp(Filename, "-")) { 236 } else if (realpath(Filename, resolved_path) != NULL && 251 if (!(NewCrontab = fopen(Filename, " [all...] |
/macosx-10.10/llvmCore-3425.0.34/lib/VMCore/ |
H A D | GCOV.cpp | 102 Filename = Buff.readString(); 145 StringRef Filename = Buff.readString(); 148 Block->addLine(Filename, L); 157 outs() << "===== " << Name << " @ " << Filename << ":" << LineNumber << "\n"; 180 void GCOVBlock::addLine(StringRef Filename, uint32_t LineNo) { 181 GCOVLines *&LinesForFile = Lines[Filename]; 221 void GCOVLines::collectLineCounts(FileInfo &FI, StringRef Filename, 225 FI.addLineCount(Filename, *I, Count); 239 void FileInfo::addLineCount(StringRef Filename, uint32_t Line, uint32_t Count) { 240 if (LineInfo.find(Filename) [all...] |
/macosx-10.10/llvmCore-3425.0.34/lib/Analysis/ |
H A D | CFGPrinter.cpp | 80 std::string Filename = "cfg." + F.getName().str() + ".dot"; local 81 errs() << "Writing '" << Filename << "'..."; 84 raw_fd_ostream File(Filename.c_str(), ErrorInfo); 114 std::string Filename = "cfg." + F.getName().str() + ".dot"; local 115 errs() << "Writing '" << Filename << "'..."; 118 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
|
/macosx-10.10/llvmCore-3425.0.34/lib/Linker/ |
H A D | LinkArchives.cpp | 88 /// Filename - The pathname of the archive. 94 Linker::LinkInArchive(const sys::Path &Filename, bool &is_native) { argument 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() +
|
/macosx-10.10/gnudiff-19/diffutils/ |
H A D | config.h | 35 # define FILESYSTEM_PREFIX_LEN(Filename) \ 36 ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0) 38 # define FILESYSTEM_PREFIX_LEN(Filename) 0
|