Searched refs:File (Results 1 - 25 of 170) sorted by relevance

1234567

/freebsd-10-stable/sys/contrib/dev/acpica/os_specific/service_layers/
H A Doslibcfs.c56 * PARAMETERS: Path - File path
57 * Modes - File operation type
59 * RETURN: File descriptor.
71 ACPI_FILE File; local
92 File = fopen (Path, ModesStr);
93 if (!File)
98 return (File);
106 * PARAMETERS: File - An open file descriptor
116 ACPI_FILE File)
119 fclose (File);
115 AcpiOsCloseFile( ACPI_FILE File) argument
139 AcpiOsReadFile( ACPI_FILE File, void *Buffer, ACPI_SIZE Size, ACPI_SIZE Count) argument
174 AcpiOsWriteFile( ACPI_FILE File, void *Buffer, ACPI_SIZE Size, ACPI_SIZE Count) argument
206 AcpiOsGetFileOffset( ACPI_FILE File) argument
232 AcpiOsSetFileOffset( ACPI_FILE File, long Offset, UINT8 From) argument
[all...]
/freebsd-10-stable/contrib/flex/
H A Dmkskel.sh25 /* File created from flex.skl via mkskel.sh */
/freebsd-10-stable/usr.sbin/crunch/crunchgen/
H A Dmkskel.sh5 /* File created via mkskel.sh */
/freebsd-10-stable/sys/contrib/dev/acpica/common/
H A Dcmfsize.c57 * PARAMETERS: File - Open file descriptor
59 * RETURN: File Size. On error, -1 (ACPI_UINT32_MAX)
61 * DESCRIPTION: Get the size of a file. Uses seek-to-EOF. File must be open.
68 ACPI_FILE File)
77 CurrentOffset = AcpiOsGetFileOffset (File);
83 Status = AcpiOsSetFileOffset (File, 0, ACPI_FILE_END);
89 FileSize = AcpiOsGetFileOffset (File);
97 Status = AcpiOsSetFileOffset (File, CurrentOffset, ACPI_FILE_BEGIN);
67 CmGetFileSize( ACPI_FILE File) argument
H A Dacfileio.c60 FILE *File,
92 FILE *File; local
98 File = fopen (Filename, "rb");
99 if (!File)
112 FileSize = CmGetFileSize (File);
133 if (!AcIsFileBinary (File))
136 " %s: File does not appear to contain a valid AML table\n",
148 Filename, File, GetOnlyAmlTables, &Table);
209 fclose(File);
218 * PARAMETERS: Filename - File wher
234 AcGetOneTableFromFile( char *Filename, FILE *File, UINT8 GetOnlyAmlTables, ACPI_TABLE_HEADER **ReturnTable) argument
337 AcIsFileBinary( FILE *File) argument
386 AcValidateTableHeader( FILE *File, long TableOffset) argument
[all...]
H A Dadisasm.c67 FILE *File,
74 FILE *File,
182 FILE *File = NULL; local
256 File = fopen (DisasmFilename, "w+");
257 if (!File)
265 AcpiOsRedirectOutput (File);
275 File, Filename, DisasmFilename);
293 if (File)
295 fclose (File);
310 * File
321 AdDisassembleOneTable( ACPI_TABLE_HEADER *Table, FILE *File, char *Filename, char *DisasmFilename) argument
474 AdReparseOneTable( ACPI_TABLE_HEADER *Table, FILE *File, ACPI_OWNER_ID OwnerId) argument
[all...]
H A Dadfile.c127 FILE *File; local
131 File = fopen (Filename, "wb");
132 if (!File)
138 Actual = fwrite (Buffer, 1, (size_t) Length, File);
144 fclose (File);
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
H A DStreamFile.h22 #include "lldb/Host/File.h"
45 File &
51 const File &
67 File m_file;
H A DSourceManager.h30 class File class in class:lldb_private::SourceManager
32 friend bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs);
35 File (const FileSpec &file_spec, Target *target);
36 ~File();
98 typedef std::shared_ptr<File> FileSP;
202 bool operator== (const SourceManager::File &lhs, const SourceManager::File &rhs);
/freebsd-10-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutbuffer.c235 * PARAMETERS: File - File descriptor
253 ACPI_FILE File,
267 AcpiUtFilePrintf (File, "Null Buffer Pointer in DumpBuffer!\n");
282 AcpiUtFilePrintf (File, "%6.4X: ", (BaseOffset + i));
292 AcpiUtFilePrintf (File, "%*s", ((Display * 2) + 1), " ");
302 AcpiUtFilePrintf (File, "%02X ", Buffer[(ACPI_SIZE) i + j]);
308 AcpiUtFilePrintf (File, "%04X ", Temp32);
314 AcpiUtFilePrintf (File, "%08X ", Temp32);
320 AcpiUtFilePrintf (File, "
252 AcpiUtDumpBufferToFile( ACPI_FILE File, UINT8 *Buffer, UINT32 Count, UINT32 Display, UINT32 BaseOffset) argument
[all...]
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/
H A DFile.cpp1 //===-- File.cpp ------------------------------------------------*- C++ -*-===//
10 #include "lldb/Host/File.h"
36 if (options & File::eOpenOptionAppend)
38 if (options & File::eOpenOptionRead)
40 if (options & File::eOpenOptionCanCreateNewOnly)
45 else if (options & File::eOpenOptionWrite)
47 if (options & File::eOpenOptionCanCreateNewOnly)
53 else if (options & File::eOpenOptionRead && options & File::eOpenOptionWrite)
55 if (options & File
79 File::File(const char *path, uint32_t options, uint32_t permissions) : function in class:File
91 File::File (const FileSpec& filespec, function in class:File
109 File::File (const File &rhs) : function in class:File
[all...]
/freebsd-10-stable/usr.sbin/ctm/ctm/
H A Dctm_syntax.c25 #define File CTM_Q_Name_File macro
34 static int ctmFM[] = /* File Make */
35 { Name|File|New|Subst, Uid, Gid, Mode,
38 static int ctmFS[] = /* File Substitute */
39 { Name|File|Subst, Uid, Gid, Mode,
42 static int ctmFE[] = /* File Edit */
43 { Name|File|Subst, Uid, Gid, Mode,
46 static int ctmFR[] = /* File Remove */
47 { Name|File|Subst, MD5|Before, 0 };
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/
H A DFile.h1 //===-- File.h --------------------------------------------------*- C++ -*-===//
23 /// @class File File.h "lldb/Host/File.h"
29 class File class in namespace:lldb_private
41 eOpenOptionNonBlocking = (1u << 4), // File reads
50 File() : function in class:lldb_private::File
61 File (FILE *fh, bool transfer_ownership) : function in class:lldb_private::File
72 File (const File
120 File (int fd, bool transfer_ownership) : function in class:lldb_private::File
[all...]
/freebsd-10-stable/contrib/ntp/sntp/unity/auto/
H A Dtest_file_filter.rb14 if File.exist?('test_file_filter.yml')
H A Dgenerate_module.rb14 HERE = File.expand_path(File.dirname(__FILE__)) + '/'
160 if File.exist?(file)
163 puts "File #{file} deleted and removed from source control"
166 puts "File #{file} deleted"
169 puts "File #{file} does not exist so cannot be removed."
178 raise "ERROR: File #{file[:name]} already exists. Exiting." if File.exist?(file[:path])
183 File.open(file[:path], 'w') do |f|
193 puts "File #{fil
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/
H A DDIBuilder.h80 MDNode *File = 0, unsigned LineNo = 0,
96 /// @param File File name
109 DICompileUnit createCompileUnit(unsigned Lang, StringRef File,
164 /// @param File File where this type is defined.
167 DIDerivedType createTypedef(DIType Ty, StringRef Name, DIFile File,
186 /// @param File File where this member is defined.
194 createMemberType(DIDescriptor Scope, StringRef Name, DIFile File,
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Lex/
H A DHeaderSearch.h1 //===--- HeaderSearch.h - Resolve Header File Locations ---------*- C++ -*-===//
402 bool ShouldEnterIncludeFile(const FileEntry *File, bool isImport);
407 SrcMgr::CharacteristicKind getFileDirFlavor(const FileEntry *File) { argument
408 return (SrcMgr::CharacteristicKind)getFileInfo(File).DirInfo;
413 void MarkFileIncludeOnce(const FileEntry *File) { argument
414 HeaderFileInfo &FI = getFileInfo(File);
421 void MarkFileSystemHeader(const FileEntry *File) { argument
422 getFileInfo(File).DirInfo = SrcMgr::C_System;
426 void MarkFileModuleHeader(const FileEntry *File,
432 void IncrementIncludeCount(const FileEntry *File) { argument
440 SetFileControllingMacro(const FileEntry *File, const IdentifierInfo *ControllingMacro) argument
446 FirstTimeLexingFile(const FileEntry *File) argument
[all...]
H A DHeaderMap.h40 HeaderMap(const llvm::MemoryBuffer *File, bool BSwap) argument
41 : FileBuffer(File), NeedsBSwap(BSwap) {
/freebsd-10-stable/contrib/llvm/lib/IRReader/
H A DIRReader.cpp55 OwningPtr<MemoryBuffer> File; local
56 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, File)) {
62 return getLazyIRModule(File.take(), Err, Context);
86 OwningPtr<MemoryBuffer> File; local
87 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, File)) {
93 return ParseIR(File.take(), Err, Context);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Core/
H A DStreamFile.cpp52 m_file (path, File::eOpenOptionWrite | File::eOpenOptionCanCreate, lldb::eFilePermissionsFileDefault)
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Serialization/
H A DGlobalModuleIndex.h73 ModuleInfo() : File(), Size(), ModTime() { }
76 ModuleFile *File; member in struct:clang::GlobalModuleIndex::ModuleInfo
163 void getModuleDependencies(ModuleFile *File,
184 bool loadedModuleFile(ModuleFile *File);
/freebsd-10-stable/contrib/llvm/lib/AsmParser/
H A DParser.cpp45 OwningPtr<MemoryBuffer> File; local
46 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, File)) {
52 return ParseAssembly(File.take(), 0, Err, Context);
/freebsd-10-stable/sys/contrib/dev/acpica/compiler/
H A Ddttemplate.c76 FILE *File,
386 FILE *File; local
408 File = fopen (DisasmFilename, "w+");
409 if (!File)
418 AcpiOsRedirectOutput (File);
466 File, DisasmFilename, ACPI_SIG_DSDT, 1);
478 File, DisasmFilename, ACPI_SIG_SSDT, i + 1);
489 File, DisasmFilename, ACPI_SIG_SSDT, 1);
499 File, DisasmFilename, ACPI_SIG_OSDT, 1);
541 fclose (File);
567 DtEmitDefinitionBlock( FILE *File, char *Filename, char *Signature, UINT32 Instance) argument
[all...]
/freebsd-10-stable/tools/regression/usr.bin/env/
H A Dregress-sb.rb97 rdata = File.open(fname)
137 symres = File.symlink(fnames[0], fnames[1])
139 return false unless File.symlink?(fnames[1])
149 if File.symlink?(fnames[1])
150 if File.delete(fnames[1]) != 1
165 File.delete(@stderr) if File.exists?(@stderr)
166 File.delete(@stdout) if File.exists?(@stdout)
198 tscript = File
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DDependencyGraph.cpp54 const FileEntry *File,
76 const FileEntry *File,
80 if (!File)
89 Dependencies[FromFile].push_back(File);
91 AllFiles.insert(File);
71 InclusionDirective(SourceLocation HashLoc, const Token &IncludeTok, StringRef FileName, bool IsAngled, CharSourceRange FilenameRange, const FileEntry *File, StringRef SearchPath, StringRef RelativePath, const Module *Imported) argument

Completed in 274 milliseconds

1234567