/prebuilts/go/darwin-x86/src/os/ |
pipe_bsd.go | 27 return NewFile(uintptr(p[0]), "|0"), NewFile(uintptr(p[1]), "|1"), nil
|
pipe_linux.go | 32 return NewFile(uintptr(p[0]), "|0"), NewFile(uintptr(p[1]), "|1"), nil
|
file_windows.go | 45 // newFile returns a new File with the given file handle and name. 46 // Unlike NewFile, it does not check that h is syscall.InvalidHandle. 47 func newFile(h syscall.Handle, name string) *File { 55 f := newFile(h, name) 60 // NewFile returns a new File with the given file descriptor and name. 61 func NewFile(fd uintptr, name string) *File { 70 return newFile(h, name) 93 return NewFile(uintptr(r), name), nil 140 f := newFile(r, name) 483 return NewFile(uintptr(p[0]), "|0"), NewFile(uintptr(p[1]), "|1"), ni [all...] |
/prebuilts/go/linux-x86/src/os/ |
pipe_bsd.go | 27 return NewFile(uintptr(p[0]), "|0"), NewFile(uintptr(p[1]), "|1"), nil
|
pipe_linux.go | 32 return NewFile(uintptr(p[0]), "|0"), NewFile(uintptr(p[1]), "|1"), nil
|
file_windows.go | 45 // newFile returns a new File with the given file handle and name. 46 // Unlike NewFile, it does not check that h is syscall.InvalidHandle. 47 func newFile(h syscall.Handle, name string) *File { 55 f := newFile(h, name) 60 // NewFile returns a new File with the given file descriptor and name. 61 func NewFile(fd uintptr, name string) *File { 70 return newFile(h, name) 93 return NewFile(uintptr(r), name), nil 140 f := newFile(r, name) 483 return NewFile(uintptr(p[0]), "|0"), NewFile(uintptr(p[1]), "|1"), ni [all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/FileSystem/BootMonFs/ |
BootMonFsImages.c | 199 BOOTMON_FS_FILE *NewFile;
205 Status = BootMonFsCreateFile (Instance, &NewFile);
210 Status = BootMonFsDiscoverNextImage (Instance, &Lba, NewFile);
212 // Free NewFile allocated by BootMonFsCreateFile ()
213 FreePool (NewFile);
216 InsertTailList (&Instance->RootFile->Link, &NewFile->Link);
|
BootMonFsEntryPoint.c | 147 BOOTMON_FS_FILE *NewFile;
149 NewFile = (BOOTMON_FS_FILE*)AllocateZeroPool (sizeof (BOOTMON_FS_FILE));
150 if (NewFile == NULL) {
154 NewFile->Signature = BOOTMON_FS_FILE_SIGNATURE;
155 InitializeListHead (&NewFile->Link);
156 InitializeListHead (&NewFile->RegionToFlushLink);
157 NewFile->Instance = Instance;
161 CopyMem (&NewFile->File, &mBootMonFsRootTemplate, sizeof (mBootMonFsRootTemplate));
163 CopyMem (&NewFile->File, &mBootMonFsFileTemplate, sizeof (mBootMonFsFileTemplate));
165 *File = NewFile;
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/ |
FvSimpleFileSystem.c | 483 FV_FILESYSTEM_FILE *NewFile;
518 NewFile = AllocateZeroPool (sizeof (FV_FILESYSTEM_FILE));
519 if (NewFile == NULL) {
522 NewFile->Signature = FVFS_FILE_SIGNATURE;
523 NewFile->Instance = Instance;
524 NewFile->FvFileInfo = File->FvFileInfo;
525 CopyMem (&NewFile->FileProtocol, &mFileSystemTemplate, sizeof (mFileSystemTemplate));
526 InitializeListHead (&NewFile->Link);
527 InsertHeadList (&Instance->FileHead, &NewFile->Link);
529 NewFile->DirReadNext = FVFS_GET_FIRST_FILE_INFO (Instance); [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
FirmwareVolumeBuffer.c | 685 EFI_FFS_FILE_HEADER* NewFile;
687 NewFile = (EFI_FFS_FILE_HEADER*)File;
692 Status = FvBufAddFile (*Fv, NewFile);
697 Status = FvBufExtend (Fv, FvBufExpand3ByteSize (NewFile->Size));
705 Status = FvBufAddFile (*Fv, NewFile);
739 EFI_FFS_FILE_HEADER* NewFile;
784 NewFile = (EFI_FFS_FILE_HEADER*)((UINT8*)hdr + (fvSize - NewFileSize));
790 if ((UINT8*)NewFile < ((UINT8*)LastFile + LastFileSize)) {
799 (((UINT8*)NewFile)[clearLoop] == erasedUint8)
811 CommonLibBinderCopyMem (NewFile, File, NewFileSize); [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
Misc.py | 255 NewFile = os.path.normpath(os.path.join(Dir, File))
256 NewFile = GlobalData.gALL_FILES[NewFile]
257 if not NewFile and OverrideDir:
258 NewFile = os.path.normpath(os.path.join(OverrideDir, File))
259 NewFile = GlobalData.gALL_FILES[NewFile]
260 return NewFile
270 NewFile = GlobalData.gALL_FILES[os.path.normpath(os.path.join\
272 if NewFile: [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
Misc.py | 651 NewFile = os.path.normpath(os.path.join(Dir, File))
652 NewFile = GlobalData.gAllFiles[NewFile]
653 if not NewFile and OverrideDir:
654 NewFile = os.path.normpath(os.path.join(OverrideDir, File))
655 NewFile = GlobalData.gAllFiles[NewFile]
656 return NewFile
659 NewFile = None
661 NewFile = GlobalData.gAllFiles[os.path.normpath(os.path.join(OverrideDir, File))] [all...] |
/build/make/tools/ijar/ |
zip.h | 61 virtual u1* NewFile(const char* filename, const u4 attr) = 0; 64 // one should not reuse the pointer given by NewFile. The file can be 74 // NewFile(filename, 0); 81 // NewFile/FinishFile/WriteEmptyFile should be called after calling Finish. If
|
ijar.cc | 79 u1 *q = builder->NewFile(filename, 0);
|
/prebuilts/go/darwin-x86/src/syscall/ |
creds_test.go | 34 srvFile := os.NewFile(uintptr(fds[0]), "server") 43 cliFile := os.NewFile(uintptr(fds[1]), "client")
|
syscall_unix_test.go | 96 cmd.ExtraFiles = []*os.File{os.NewFile(uintptr(fd), name)} 147 writeFile := os.NewFile(uintptr(fds[0]), "child-writes") 148 readFile := os.NewFile(uintptr(fds[1]), "parent-reads") 197 f := os.NewFile(uintptr(gotFds[0]), "fd-from-child") 215 f := os.NewFile(fd, "unix-conn")
|
/prebuilts/go/linux-x86/src/syscall/ |
creds_test.go | 34 srvFile := os.NewFile(uintptr(fds[0]), "server") 43 cliFile := os.NewFile(uintptr(fds[1]), "client")
|
syscall_unix_test.go | 96 cmd.ExtraFiles = []*os.File{os.NewFile(uintptr(fd), name)} 147 writeFile := os.NewFile(uintptr(fds[0]), "child-writes") 148 readFile := os.NewFile(uintptr(fds[1]), "parent-reads") 197 f := os.NewFile(uintptr(gotFds[0]), "fd-from-child") 215 f := os.NewFile(fd, "unix-conn")
|
/prebuilts/go/darwin-x86/src/debug/plan9obj/ |
file.go | 103 ff, err := NewFile(f) 113 // If the File was created using NewFile directly instead of Open, 133 // NewFile creates a new File for accessing a Plan 9 binary in an underlying reader. 135 func NewFile(r io.ReaderAt) (*File, error) {
|
/prebuilts/go/linux-x86/src/debug/plan9obj/ |
file.go | 103 ff, err := NewFile(f) 113 // If the File was created using NewFile directly instead of Open, 133 // NewFile creates a new File for accessing a Plan 9 binary in an underlying reader. 135 func NewFile(r io.ReaderAt) (*File, error) {
|
/external/swiftshader/third_party/LLVM/utils/FileCheck/ |
FileCheck.cpp | 460 SmallString<128> NewFile; 461 NewFile.reserve(MB->getBufferSize()); 472 NewFile.push_back(*Ptr); 477 NewFile.push_back(' '); 485 MemoryBuffer::getMemBufferCopy(NewFile.str(), MB->getBufferIdentifier());
|
/prebuilts/go/darwin-x86/src/debug/pe/ |
file.go | 37 ff, err := NewFile(f) 47 // If the File was created using NewFile directly instead of Open, 63 // TODO(brainman): add Load function, as a replacement for NewFile, that does not call removeAuxSymbols (for performance) 65 // NewFile creates a new File for accessing a PE binary in an underlying reader. 66 func NewFile(r io.ReaderAt) (*File, error) {
|
/prebuilts/go/linux-x86/src/debug/pe/ |
file.go | 37 ff, err := NewFile(f) 47 // If the File was created using NewFile directly instead of Open, 63 // TODO(brainman): add Load function, as a replacement for NewFile, that does not call removeAuxSymbols (for performance) 65 // NewFile creates a new File for accessing a PE binary in an underlying reader. 66 func NewFile(r io.ReaderAt) (*File, error) {
|
/prebuilts/go/darwin-x86/src/cmd/internal/objfile/ |
elf.go | 22 f, err := elf.NewFile(r)
|
/prebuilts/go/darwin-x86/src/cmd/link/internal/ld/ |
ldpe.go | 138 // object files, and pe.NewFile seeks to the start of 140 // to stop pe.NewFile looking before current position. 143 // TODO: replace pe.NewFile with pe.Load (grep for "add Load function" in debug/pe for details) 144 f, err := pe.NewFile(sr)
|