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

1234567

/freebsd-10.1-release/contrib/llvm/lib/Support/
H A DToolOutputFile.cpp20 : Filename(filename), Keep(false) {
22 if (Filename != "-")
23 sys::RemoveFileOnSignal(Filename);
28 if (!Keep && Filename != "-") {
30 sys::fs::remove(Filename, Existed);
35 if (Filename != "-")
36 sys::DontRemoveFileOnSignal(Filename);
47 tool_output_file::tool_output_file(const char *Filename, int FD) argument
48 : Installer(Filename), OS(FD, true) {
H A DDataStream.cpp66 error_code OpenFile(const std::string &Filename) { argument
67 if (Filename == "-") {
73 return sys::fs::openFileForRead(Filename, Fd);
80 DataStreamer *getDataFileStreamer(const std::string &Filename, argument
83 if (error_code e = s->OpenFile(Filename)) {
84 *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 error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
77 errs() << "Writing '" << Filename << "'... ";
78 return Filename.str();
84 StringRef Filename, bool wait, std::string &ErrMsg) {
91 sys::fs::remove(Filename, Existed);
96 errs() << "Remember to erase graph file: " << Filename.str() << "\n";
103 std::string Filename = FilenameRef; local
111 args.push_back(Filename.c_str());
115 if (!ExecGraphViewer(Graphviz, args, Filename, wai
83 ExecGraphViewer(StringRef ExecPath, std::vector<const char*> &args, StringRef Filename, bool wait, std::string &ErrMsg) argument
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm-c/
H A DSupport.h29 LLVMBool LLVMLoadLibraryPermanently(const char* Filename);
/freebsd-10.1-release/sys/contrib/dev/acpica/compiler/
H A Daslfiles.c55 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 Dprutils.c156 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 Daslstartup.c129 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 Daslfileio.c100 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 Daslsupport.l63 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.1-release/contrib/llvm/include/llvm/Support/
H A DFileUtilities.h41 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 DSignals.h31 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = 0);
35 void DontRemoveFileOnSignal(StringRef Filename);
H A DDynamicLibrary.h75 static bool LoadLibraryPermanently(const char *Filename, argument
77 return !getPermanentLibrary(Filename, ErrMsg).isValid();
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 DDataStream.h33 DataStreamer *getDataFileStreamer(const std::string &Filename,
H A DMemoryBuffer.h69 static error_code getFile(Twine Filename, OwningPtr<MemoryBuffer> &result,
76 static error_code getOpenFileSlice(int FD, const char *Filename,
82 static error_code getOpenFile(int FD, const char *Filename,
118 /// if the Filename is "-". If an error occurs, this returns null and sets
120 static error_code getFileOrSTDIN(StringRef Filename,
H A DPluginLoader.h24 void operator=(const std::string &Filename);
/freebsd-10.1-release/sys/contrib/dev/acpica/common/
H A Dadfile.c59 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.1-release/contrib/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();
/freebsd-10.1-release/contrib/llvm/tools/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::__anon3251
50 : Kind(Filename), Type(_Type), BaseInput(_BaseInput) {
51 Data.Filename = _Filename;
60 bool isFilename() const { return Kind == Filename; }
67 return Data.Filename;
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Frontend/
H A DDependencyFile.cpp42 bool FileMatchesDepCriteria(const char *Filename,
44 void AddFilename(StringRef Filename);
89 /// FileMatchesDepCriteria - Determine whether the given Filename should be
91 bool DependencyFileCallback::FileMatchesDepCriteria(const char *Filename, argument
93 if (strcmp("<built-in>", Filename) == 0)
118 StringRef Filename = FE->getName();
119 if (!FileMatchesDepCriteria(Filename.data(), FileType))
123 while (Filename.size() > 2 && Filename[0] == '.' &&
124 llvm::sys::path::is_separator(Filename[
150 AddFilename(StringRef Filename) argument
157 PrintFilename(raw_ostream &OS, StringRef Filename) argument
163 OS << Filename[i]; local
[all...]
/freebsd-10.1-release/contrib/llvm/include/llvm/IRReader/
H A DIRReader.h38 Module *getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err,
50 Module *ParseIRFile(const std::string &Filename, SMDiagnostic &Err,
/freebsd-10.1-release/contrib/diff/lib/
H A Ddirname.h33 # define FILESYSTEM_PREFIX_LEN(Filename) 0
/freebsd-10.1-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DDebugIR.h35 std::string Filename; member in class:llvm::DebugIR
48 /// Generate a file on disk to be displayed in a debugger. If Filename and
51 llvm::StringRef Directory, llvm::StringRef Filename)
55 Filename(Filename), GeneratedPath(false), ParsedPath(false) {}
69 /// Returns the concatenated Directory + Filename, without error checking
76 /// Replace the extension of Filename with NewExtension, and return true if
77 /// successful. Return false if extension could not be found or Filename is
88 /// Returns true if either Directory or Filename is missing, false otherwise.
50 DebugIR(bool HideDebugIntrinsics, bool HideDebugMetadata, llvm::StringRef Directory, llvm::StringRef Filename) argument
/freebsd-10.1-release/contrib/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);

Completed in 158 milliseconds

1234567