Home
last modified time | relevance | path

Searched refs:FileHandle (Results 1 – 25 of 31) sorted by relevance

12

/external/libxcam/xcore/
Dfile_handle.cpp28 FileHandle::FileHandle () in FileHandle() function in XCam::FileHandle
34 FileHandle::FileHandle (const char *name, const char *option) in FileHandle() function in XCam::FileHandle
42 FileHandle::~FileHandle () in ~FileHandle()
48 FileHandle::end_of_file() in end_of_file()
57 FileHandle::open (const char *name, const char *option) in open()
75 FileHandle::close () in close()
92 FileHandle::rewind () in rewind()
100 FileHandle::get_file_size (size_t &size) in get_file_size()
132 FileHandle::read_file (void *buf, const size_t &size) in read_file()
149 FileHandle::write_file (const void *buf, const size_t &size) in write_file()
Dfile_handle.h29 class FileHandle {
31 FileHandle ();
32 explicit FileHandle (const char *name, const char *option);
33 virtual ~FileHandle ();
50 XCAM_DEAD_COPY (FileHandle);
Dimage_file_handle.h31 : public FileHandle
Dcalibration_parser.cpp194 FileHandle file_reader; in parse_intrinsic_file()
220 FileHandle file_reader; in parse_extrinsic_file()
Dimage_file_handle.cpp31 : FileHandle (name, option) in ImageFileHandle()
/external/giflib/
Degif_lib.c57 int FileHandle; in EGifOpenFileName() local
62 FileHandle = open(FileName, O_WRONLY | O_CREAT | O_EXCL, in EGifOpenFileName()
66 FileHandle = open(FileName, O_WRONLY | O_CREAT | O_TRUNC, in EGifOpenFileName()
69 if (FileHandle == -1) { in EGifOpenFileName()
74 GifFile = EGifOpenFileHandle(FileHandle, Error); in EGifOpenFileName()
76 (void)close(FileHandle); in EGifOpenFileName()
88 EGifOpenFileHandle(const int FileHandle, int *Error) in EGifOpenFileHandle() argument
118 _setmode(FileHandle, O_BINARY); /* Make sure it is in binary mode. */ in EGifOpenFileHandle()
121 f = fdopen(FileHandle, "wb"); /* Make it into a stream: */ in EGifOpenFileHandle()
124 Private->FileHandle = FileHandle; in EGifOpenFileHandle()
[all …]
Ddgif_lib.c52 int FileHandle; in DGifOpenFileName() local
55 if ((FileHandle = open(FileName, O_RDONLY)) == -1) { in DGifOpenFileName()
61 GifFile = DGifOpenFileHandle(FileHandle, Error); in DGifOpenFileName()
71 DGifOpenFileHandle(int FileHandle, int *Error) in DGifOpenFileHandle() argument
82 (void)close(FileHandle); in DGifOpenFileHandle()
96 (void)close(FileHandle); in DGifOpenFileHandle()
104 _setmode(FileHandle, O_BINARY); /* Make sure it is in binary mode. */ in DGifOpenFileHandle()
107 f = fdopen(FileHandle, "rb"); /* Make it into a stream: */ in DGifOpenFileHandle()
111 Private->FileHandle = FileHandle; in DGifOpenFileHandle()
188 Private->FileHandle = 0; in DGifOpen()
Dgif_lib_private.h33 GifWord FileState, FileHandle, /* Where all this data goes to! */ member
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DBitWriter.cpp38 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) { in LLVMWriteBitcodeToFileHandle() argument
39 return LLVMWriteBitcodeToFD(M, FileHandle, true, false); in LLVMWriteBitcodeToFileHandle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitWriter.cpp40 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) { in LLVMWriteBitcodeToFileHandle() argument
41 return LLVMWriteBitcodeToFD(M, FileHandle, true, false); in LLVMWriteBitcodeToFileHandle()
/external/llvm/lib/Bitcode/Writer/
DBitWriter.cpp39 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) { in LLVMWriteBitcodeToFileHandle() argument
40 return LLVMWriteBitcodeToFD(M, FileHandle, true, false); in LLVMWriteBitcodeToFileHandle()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp164 struct FileHandle : CommonHandle {}; struct
171 typedef ScopedHandle<FileHandle> FileScopedHandle;
176 static std::error_code GetFileNameFromHandle(HANDLE FileHandle, in GetFileNameFromHandle() argument
184 Success = ::GetFileSizeEx(FileHandle, &FileSize); in GetFileNameFromHandle()
191 ::CreateFileMappingA(FileHandle, in GetFileNameFromHandle()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp164 struct FileHandle : CommonHandle {}; struct
171 typedef ScopedHandle<FileHandle> FileScopedHandle;
176 static std::error_code GetFileNameFromHandle(HANDLE FileHandle, in GetFileNameFromHandle() argument
184 Success = ::GetFileSizeEx(FileHandle, &FileSize); in GetFileNameFromHandle()
191 ::CreateFileMappingA(FileHandle, in GetFileNameFromHandle()
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/
DKillTheDoctor.cpp159 struct FileHandle : CommonHandle {}; struct
166 typedef ScopedHandle<FileHandle> FileScopedHandle;
169 static error_code GetFileNameFromHandle(HANDLE FileHandle, in GetFileNameFromHandle() argument
177 Success = ::GetFileSizeEx(FileHandle, &FileSize); in GetFileNameFromHandle()
184 ::CreateFileMappingA(FileHandle, in GetFileNameFromHandle()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc414 static std::error_code getStatus(HANDLE FileHandle, file_status &Result) {
415 if (FileHandle == INVALID_HANDLE_VALUE)
418 switch (::GetFileType(FileHandle)) {
439 if (!::GetFileInformationByHandle(FileHandle, &Info))
510 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
511 return getStatus(FileHandle, Result);
516 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
517 if (!SetFileTime(FileHandle, NULL, &FT, &FT))
528 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
529 if (FileHandle == INVALID_HANDLE_VALUE)
[all …]
/external/llvm/lib/Support/Windows/
DPath.inc416 static std::error_code getStatus(HANDLE FileHandle, file_status &Result) {
417 if (FileHandle == INVALID_HANDLE_VALUE)
420 switch (::GetFileType(FileHandle)) {
441 if (!::GetFileInformationByHandle(FileHandle, &Info))
512 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
513 return getStatus(FileHandle, Result);
522 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
523 if (!SetFileTime(FileHandle, NULL, &FT, &FT))
534 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
535 if (FileHandle == INVALID_HANDLE_VALUE)
[all …]
/external/e2fsprogs/lib/ext2fs/
Dnt_io.c62 OUT PHANDLE FileHandle,
74 IN HANDLE FileHandle,
83 IN HANDLE FileHandle,
98 IN HANDLE FileHandle,
113 IN HANDLE FileHandle,
129 IN HANDLE FileHandle,
/external/libchrome/base/
Dlogging.cc16 typedef HANDLE FileHandle; typedef
75 typedef FILE* FileHandle; typedef
145 FileHandle g_log_file = nullptr;
367 void CloseFile(FileHandle log) { in CloseFile()
/external/ImageMagick/PerlMagick/t/
Dfilter.t27 use FileHandle;
/external/libxcam/tests/
Dtest-binary-kernel.cpp56 FileHandle src_file, bin_file; in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Windows/
DPath.inc652 static std::error_code getStatus(HANDLE FileHandle, file_status &Result) {
653 if (FileHandle == INVALID_HANDLE_VALUE)
656 switch (::GetFileType(FileHandle)) {
677 if (!::GetFileInformationByHandle(FileHandle, &Info))
734 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
735 return getStatus(FileHandle, Result);
771 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
772 if (!SetFileTime(FileHandle, NULL, &FT, &FT))
837 ::GetCurrentProcess(), &FileHandle, 0, 0,
865 ::FlushFileBuffers(FileHandle);
[all …]
/external/libxcam/modules/ocl/
Dcl_kernel.cpp129 FileHandle temp_file; in build_kernel()
130 FileHandle cache_file; in build_kernel()
/external/libxcam/modules/soft/
Dsoft_image.h298 : public FileHandle
303 : FileHandle (name, option) in SoftImageFile()
/external/python/cpython3/Modules/
Doverlapped.c147 HANDLE FileHandle; in overlapped_CreateIoCompletionPort() local
154 &FileHandle, &ExistingCompletionPort, &CompletionKey, in overlapped_CreateIoCompletionPort()
159 ret = CreateIoCompletionPort(FileHandle, ExistingCompletionPort, in overlapped_CreateIoCompletionPort()
/external/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h47 …typedef BOOL (CALLBACK *PFIND_DEBUG_FILE_CALLBACK)(HANDLE FileHandle,PSTR FileName,PVOID CallerDat…
49 …typedef BOOL (CALLBACK *PFIND_EXE_FILE_CALLBACK)(HANDLE FileHandle,PSTR FileName,PVOID CallerData);
126 …PIMAGE_DEBUG_INFORMATION IMAGEAPI MapDebugInformation(HANDLE FileHandle,PSTR FileName,PSTR SymbolP…

12