/prebuilts/go/linux-x86/src/debug/elf/ |
file.go | 3 // license that can be found in the LICENSE file. 37 // A FileHeader represents an ELF file header. 50 // A File represents an open ELF file. 51 type File struct { 73 // FileSize is the size of this section in the file in bytes. 80 // A Section represents a single section in an ELF file. 102 // Even if the section is stored compressed in the ELF file, 112 func (f *File) stringTable(link uint32) ([]byte, error) { 120 // Even if the section is stored compressed in the ELF file, [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
fs.go | 3 // license that can be found in the LICENSE file. 5 // HTTP file system request handler 26 // A Dir implements FileSystem using the native file system restricted to a 30 // value is a filename on the native file system, not a URL, so it is separated 66 func (d Dir) Open(name string) (File, error) { 68 return nil, errors.New("http: invalid character in file path") 83 // The elements in a file path are separated by slash ('/', U+002F) 86 Open(name string) (File, error) 89 // A File is returned by a FileSystem's Open method and can be 92 // The methods should behave the same as those on an *os.File [all...] |
/prebuilts/go/linux-x86/src/net/ |
net.go | 3 // license that can be found in the LICENSE file. 284 // File sets the underlying os.File to blocking mode and returns a copy. 288 // The returned os.File's file descriptor is different from the connection's. 293 func (c *conn) File() (f *os.File, err error) { 296 err = &OpError{Op: "file", Net: c.fd.net, Source: c.fd.laddr, Addr: c.fd.raddr, Err: err}
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
filesystem_test_helper.hpp | 45 static const fs::path File = TestFileList[0]; 162 std::string create_fifo(std::string file) { 163 file = sanitize_path(std::move(file)); 164 fs_helper_run(fs_make_cmd("create_fifo", file)); 165 return file; 171 std::string create_socket(std::string file) { 172 file = sanitize_path(std::move(file)); 173 fs_helper_run(fs_make_cmd("create_socket", file)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_file2k.py | 18 # file tests for which a test file is automatically set up
91 self.assertTrue(repr(self.f).startswith("<open file '" + TESTFN))
113 # __exit__ should close the file
119 # should raise on closed file
127 # file is closed, __exit__ shouldn't do anything
147 # Remark: Do not perform more than one test per open file,
204 self.fail('%r is an invalid file mode' % mode)
229 self.assertTrue(repr(f).startswith("<open file u'" + TESTFN))
271 # "file.truncate fault on windows" [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Filesystem/SemihostFs/Arm/ |
SemihostFs.c | 1 /** @file
2 Support a Semi Host file system over a debuggers JTAG
78 EFI_FILE File;
88 #define SEMIHOST_FCB_FROM_THIS(a) CR(a, SEMIHOST_FCB, File, SEMIHOST_FCB_SIGNATURE)
102 CopyMem (&Fcb->File, &gSemihostFsFile, sizeof (gSemihostFsFile));
147 *Root = &RootFcb->File;
153 Open a file on the host system by means of the semihosting interface.
156 the file handle to source location.
158 handle for the new file.
159 @param[in] FileName The Null-terminated string of the name of the file
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
FirmwareVolumeBuffer.c | 1 /** @file
102 SourceFfsFile - Input FFS file to replace
152 SourceFfsFile - Input FFS file to replace
238 SourceFfsFile - Input FFS file to update the checksum for
247 EFI_FFS_FILE_HEADER* File = (EFI_FFS_FILE_HEADER*)FfsFile;
251 FileSize = FvBufGetFfsFileSize (File);
256 File->IntegrityCheck.Checksum.Header = 0;
257 File->IntegrityCheck.Checksum.File = 0;
258 StateBackup = File->State; [all...] |
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
FWBlockService.c | 1 /**@file
87 EFI_FILE_PROTOCOL *File;
96 Status = FileOpen (FwhInstance->Device, FwhInstance->MappedFile, &File, EFI_FILE_MODE_READ | EFI_FILE_MODE_WRITE);
109 Status = FileWrite (File, FileOffset, BufferForFile, Length);
111 FileClose (File);
135 EFI_FILE_PROTOCOL *File;
145 Status = FileOpen (FwhInstance->Device, FwhInstance->MappedFile, &File, EFI_FILE_MODE_READ | EFI_FILE_MODE_WRITE);
158 Status = FileWrite (File, FileOffset, BufferForFile, Length);
160 FileClose (File);
[all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
EfiDevice.c | 1 /** @file
25 Print information about the File System device.
27 @param File Open File for the device
32 IN EFI_OPEN_FILE *File
37 if (File == NULL) {
41 AsciiPrint (" %a: ", File->DeviceName);
42 if (File->FsInfo != NULL) {
43 for (Str = File->FsInfo->VolumeLabel; *Str != '\0'; Str++) {
51 if (File->FsInfo->ReadOnly) { [all...] |
/device/linaro/bootloader/edk2/FatPkg/FatPei/ |
FatLitePeim.h | 1 /** @file
106 // File instance
166 PEI_FAT_FILE File;
192 Finds the recovery file on a FAT volume.
193 This function finds the the recovery file named FileName on a specified FAT volume and returns
199 @param FileName The recovery file name to find.
200 @param Handle The output file handle.
204 @retval EFI_NOT_FOUND The recovery file was not found.
205 @retval EFI_SUCCESS The recovery file was successfully found on the
315 Converts an 8.3 FAT file name using an OEM character set [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Dispatcher/ |
Dispatcher.c | 1 /** @file
7 file exists in the FV those drivers are addeded to the
77 // List of file types supported by dispatcher
88 MEDIA_FW_VOL_FILEPATH_DEVICE_PATH File;
123 While you are at it read the A Priori file into memory.
170 @param Type Fv File Type of file to add to mDiscoveredList.
302 the firmware file specified by DriverName.
354 the firmware file specified by DriverName.
357 @retval EFI_SUCCESS The file was found in the untrusted state, and it [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
Dispatcher.c | 1 /** @file
7 file exists in the FV those drivers are addeded to the
102 // List of file types supported by dispatcher
109 // Note: DXE core will process the FV image file, so skip it in SMM core
115 MEDIA_FW_VOL_FILEPATH_DEVICE_PATH File;
250 // Read section header from file
369 // Pull out just the file portion of the DevicePath for the LoadedImage FilePath
416 // Verify File Authentication through the Security2 Architectural Protocol
650 // Print the load address and the PDB file name if it is available
667 // Print Module Name by Pdb file path. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
FileExplorer.c | 1 /** @file
2 File explorer related functions.
21 /// File system selection menu
150 1) Process the axtra action or exit file explorer when user select one file .
151 2) update of file content if a dir is selected.
357 Function opens and returns a file handle to the root directory of a volume.
361 @return A valid file handle or NULL is returned
371 EFI_FILE_HANDLE File;
373 File = NULL; [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/TlsAuthConfigDxe/ |
TlsAuthConfigImpl.c | 1 /** @file 51 // Possible DER-encoded certificate file suffixes, end with NULL pointer. 64 @param[in] FileSuffix The suffix of the input certificate file 618 Close an open file handle. 620 @param[in] FileHandle The file handle to close. 634 Read file content into BufferPtr, the size of the allocate buffer 637 @param[in] FileHandle The file to be read. 639 @param[out] FileSize Size of input file 641 In case the buffer need to contain others besides the file content. 643 @retval EFI_SUCCESS The file was read into the buffer [all...] |
/external/clang/include/clang/Lex/ |
PreprocessingRecord.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file defines the PreprocessingRecord class, which maintains a record 212 /// \brief The name of the file that was included, as written in 216 /// \brief Whether the file name was in quotation marks; otherwise, it was 229 /// \brief The file that was included. 230 const FileEntry *File; 236 const FileEntry *File, SourceRange Range); 241 /// \brief Retrieve the included file name as it was written in the source. 244 /// \brief Determine whether the included file name was written in quotes; 252 /// \brief Retrieve the file entry for the actual file that was include [all...] |
/external/libchrome/base/files/ |
file.h | 3 // found in the LICENSE file. 46 // Thin wrapper around an OS-level file. 51 // file system object is affected by a particular method in order to consider 56 class BASE_EXPORT File { 60 // a file. 63 // FLAG_EXCLUSIVE_(READ|WRITE) only grant exclusive access to the file on 66 FLAG_OPEN = 1 << 0, // Opens a file, only if it exists. 67 FLAG_CREATE = 1 << 1, // Creates a new file, only if it does not 69 FLAG_OPEN_ALWAYS = 1 << 2, // May create a new file. 70 FLAG_CREATE_ALWAYS = 1 << 3, // May overwrite an old file [all...] |
/external/llvm/include/llvm/DebugInfo/DWARF/ |
DWARFDebugLine.h | 5 // This file is distributed under the University of Illinois Open Source 116 // An unsigned integer indicating the identity of the source file 118 uint16_t File; 184 // Returns the index of the row with file/line info for a given address, 197 // Fills the Result argument with the file and line information
|
/external/llvm/unittests/Transforms/Utils/ |
Cloning.cpp | 5 // This file is distributed under the University of Illinois Open Source 230 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); 236 "/file/dir", "CloneFunc", false, "", 0); 239 CU, "f", "f", File, 4, FuncType, true, true, 3, 0, false); 259 DBuilder.createAutoVariable(Subprogram, "x", File, 5, IntType, true); 271 "extra.c", "/file/dir", "CloneFunc", false, "", 0); 417 auto *File = DBuilder.createFile("filename.c", "/file/dir/"); 422 "/file/dir", "CloneModule", false, "", 0) [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_compiler_util.c | 29 * \file 362 rc_register_file File; 376 rc_register_file file, 383 select->File = file; 404 if (src->File == RC_FILE_NONE) 407 can_use_presub_data_add_select(d, src->File, src->Index, 453 presub_src0->File, 460 presub_src1->File, 468 if (presub_src0->File == presub_src1->Fil [all...] |
radeon_optimize.c | 38 rc_register_file File; 51 combine.File = inner.File; 69 rc_register_file file = src->File; local 83 if (file == RC_FILE_ADDRESS) { 88 /* These instructions cannot read from the constants file. 91 if(reader_data->Writer->U.I.SrcReg[0].File != RC_FILE_TEMPORARY && 92 reader_data->Writer->U.I.SrcReg[0].File != RC_FILE_INPUT && 111 if (src->File == sc_data->Fil [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 50 /* This file contains some helper functions for filling out the rc_instruction 118 struct match_info File; 156 tokens.File.String = src_str + matches[3].rm_so; 157 tokens.File.Length = match_length(matches, 3); 173 /* File */ 174 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { 175 src_reg->File = RC_FILE_TEMPORARY; 176 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) 540 FILE *file; local [all...] |
/external/python/cpython2/Lib/test/ |
test_file2k.py | 22 # file tests for which a test file is automatically set up 102 self.assertTrue(repr(self.f).startswith("<open file '" + TESTFN)) 104 # Windows doesn't like \r\n\t" in the file name, but ' is ok 109 "<open file %r, mode 'w' at" % fname)) 131 # __exit__ should close the file 137 # should raise on closed file 145 # file is closed, __exit__ shouldn't do anything 165 # Remark: Do not perform more than one test per open file, 222 self.fail('%r is an invalid file mode' % mode [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
ARMBuildAttrs.h | 5 // This file is distributed under the University of Illinois Open Source 10 // This file contains enumerations and support routines for ARM build attributes 27 File = 1,
|
/external/swiftshader/third_party/LLVM/utils/FileCheck/ |
FileCheck.cpp | 1 //===- FileCheck.cpp - Check that File's Contents match what is expected --===// 5 // This file is distributed under the University of Illinois Open Source 10 // FileCheck does a line-by line check of a file that validates whether it 14 // the file matched the expected contents, and exit status of 1 if it did not 34 CheckFilename(cl::Positional, cl::desc("<check-file>"), cl::Required); 37 InputFilename("input-file", cl::desc("File to check (defaults to stdin)"), 42 cl::desc("Prefix to use from check file (defaults to 'CHECK')")); 55 /// MatchEOF - When set, this pattern only matches the end of file. This is 436 /// CheckString - This is a check that we found in the input file [all...] |
/frameworks/compile/slang/ |
slang.cpp | 5 * you may not use this file except in compliance with the License. 173 // Default only search header file in current dir 294 const clang::FileEntry *File = mFileMgr->getFile(InputFile); 295 if (File) { 296 mSourceMgr->setMainFileID(mSourceMgr->createFileID(File, 360 // Initialize options for generating dependency file 380 // Inform the diagnostic client we are processing a source file 383 // Go through the source file (no operations necessary) 415 // Inform the diagnostic client we are processing a source file 421 // Inform the diagnostic client we are done with previous source file [all...] |