/freebsd-10.0-release/contrib/llvm/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 + ": " +
|
/freebsd-10.0-release/sys/contrib/dev/acpica/compiler/ |
H A D | aslfiles.c | 55 char *Filename); 104 char *Filename) 108 Filename, Gbl_Files[ASL_FILE_INPUT].Filename); 110 Gbl_Files[ASL_FILE_INPUT].Filename = Filename; 288 * Filename - The include filename from the source ASL. 299 char *Filename) 307 Pathname = FlMergePathnames (PrefixDir, Filename); 356 Gbl_Files[ASL_FILE_INPUT].Filename, " 103 FlSetFilename( char *Filename) argument 297 FlOpenIncludeWithPrefix( char *PrefixDir, char *Filename) argument 470 char *Filename; local 513 char *Filename; local [all...] |
H A D | prutils.c | 156 AcpiOsPrintf ("%s (%u) : %s", Gbl_Files[ASL_FILE_INPUT].Filename, 171 Gbl_Files[ASL_FILE_INPUT].Filename, "Preprocessor"); 233 * PARAMETERS: Filename - Filename or pathname for include file 243 char *Filename) 256 if ((Filename[0] == '/') || 257 (Filename[0] == '\\') || 258 (Filename[1] == ':')) 260 IncludeFile = PrOpenIncludeWithPrefix ("", Filename); 276 IncludeFile = PrOpenIncludeWithPrefix (Gbl_DirectoryPath, Filename); 242 PrOpenIncludeFile( char *Filename) argument 321 PrOpenIncludeWithPrefix( char *PrefixDir, char *Filename) argument 370 PrPushInputFileStack( FILE *InputFile, char *Filename) argument [all...] |
H A D | aslstartup.c | 129 Gbl_Files[i].Filename = NULL; 154 char *Filename; local 167 Gbl_Files[ASL_FILE_INPUT].Filename = FileSpecifier; 174 while ((Filename = AcpiOsGetNextFilename (DirInfo))) 178 FileList[FileCount] = AcpiOsAllocate (strlen (Filename) + 1); 179 strcpy (FileList[FileCount], Filename); 243 Status = FlCheckForAscii (Info->Handle, Info->Filename, TRUE); 246 printf ("Non-ascii input file - %s\n", Info->Filename); 334 Gbl_Files[ASL_FILE_INPUT].Filename, Gbl_OutputFilenamePrefix, 335 &Gbl_Files[ASL_FILE_INPUT].Filename, Gbl_GetAllTable 387 AslDoOneFile( char *Filename) argument 565 char *Filename; local [all...] |
H A D | aslfileio.c | 100 sprintf (MsgBuffer, "\"%s\" (%s)", Gbl_Files[FileId].Filename, 111 * Filename - file pathname to open 124 char *Filename, 130 File = fopen (Filename, Mode); 137 Gbl_Files[FileId].Filename = Filename; 379 if (!Info->Filename) 384 if (remove (Info->Filename)) 387 Info->Filename, Info->Description); 391 Info->Filename 122 FlOpenFile( UINT32 FileId, char *Filename, char *Mode) argument [all...] |
H A D | aslsupport.l | 63 char *Filename; 97 char *Filename; 143 Filename = ACPI_ALLOCATE_ZEROED (strlen (Token) + 1); 144 strcpy (Filename, Token); 145 FlSetFilename (Filename); 200 Gbl_Files[ASL_FILE_INPUT].Filename = Fnode->Filename; 220 * Filename - Name of the file 233 char *Filename) 247 Fnode->Filename [all...] |
/freebsd-10.0-release/contrib/llvm/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 | 31 bool RemoveFileOnSignal(const Path &Filename, std::string* ErrMsg = 0); 35 void DontRemoveFileOnSignal(const Path &Filename);
|
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 | 69 static error_code getFile(StringRef Filename, OwningPtr<MemoryBuffer> &result, 72 static error_code getFile(const char *Filename, 79 static error_code getOpenFile(int FD, const char *Filename, 117 /// if the Filename is "-". If an error occurs, this returns null and sets 119 static error_code getFileOrSTDIN(StringRef Filename, 122 static error_code getFileOrSTDIN(const char *Filename,
|
/freebsd-10.0-release/sys/contrib/dev/acpica/common/ |
H A D | adfile.c | 59 char *Filename, 111 * PARAMETERS: Filename - name of file 123 char *Filename, 131 File = fopen (Filename, "wb"); 134 printf ("Could not open file %s\n", Filename); 141 printf ("Could not write to file %s\n", Filename); 171 char *Filename; local 174 Filename = AdGenerateFilename (TableName, OemTableId); 175 AdWriteBuffer (Filename, (char *) Table, Length); 177 AcpiOsPrintf ("Table [%s] written to \"%s\"\n", TableName, Filename); 122 AdWriteBuffer( char *Filename, char *Buffer, UINT32 Length) argument 287 char *Filename; local [all...] |
/freebsd-10.0-release/contrib/llvm/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();
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Driver/ |
H A D | InputInfo.h | 31 Filename, enumerator in enum:clang::driver::InputInfo::Class 37 const char *Filename; member in union:clang::driver::InputInfo::__anon3099 50 : Kind(Filename), Type(_Type), BaseInput(_BaseInput) { 51 Data.Filename = _Filename; 59 bool isFilename() const { return Kind == Filename; } 66 return Data.Filename;
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | DependencyFile.cpp | 41 bool FileMatchesDepCriteria(const char *Filename, 43 void AddFilename(StringRef Filename); 88 /// FileMatchesDepCriteria - Determine whether the given Filename should be 90 bool DependencyFileCallback::FileMatchesDepCriteria(const char *Filename, argument 92 if (strcmp("<built-in>", Filename) == 0) 117 StringRef Filename = FE->getName(); 118 if (!FileMatchesDepCriteria(Filename.data(), FileType)) 122 while (Filename.size() > 2 && Filename[0] == '.' && 123 llvm::sys::path::is_separator(Filename[ 149 AddFilename(StringRef Filename) argument 156 PrintFilename(raw_ostream &OS, StringRef Filename) argument 162 OS << Filename[i]; local [all...] |
/freebsd-10.0-release/contrib/llvm/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; }
|
/freebsd-10.0-release/contrib/llvm/lib/IRReader/ |
H A D | IRReader.cpp | 48 Module *llvm::getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err, argument 51 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 52 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, 79 Module *llvm::ParseIRFile(const std::string &Filename, SMDiagnostic &Err, argument 82 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename.c_str(), File)) { 83 Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
|
/freebsd-10.0-release/contrib/llvm/include/llvm/IRReader/ |
H A D | IRReader.h | 38 Module *getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err, 50 Module *ParseIRFile(const std::string &Filename, SMDiagnostic &Err,
|
/freebsd-10.0-release/contrib/diff/lib/ |
H A D | dirname.h | 33 # define FILESYSTEM_PREFIX_LEN(Filename) 0
|
/freebsd-10.0-release/contrib/llvm/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();
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | InheritViz.cpp | 139 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg); local 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);
|
/freebsd-10.0-release/usr.sbin/cron/crontab/ |
H A D | crontab.c | 61 static char Filename[MAX_FNAME]; variable 142 Filename[0] = '\0'; 188 (void) strncpy (Filename, argv[optind], (sizeof Filename)-1); 189 Filename[(sizeof Filename)-1] = '\0'; 212 if (!strcmp(Filename, "-")) { 214 } else if (realpath(Filename, resolved_path) != NULL && 218 if (!(NewCrontab = fopen(Filename, "r"))) 219 err(ERROR_EXIT, "%s", Filename); [all...] |