Home
last modified time | relevance | path

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

12

/third_party/node/src/
Dnode_file.h267 class FileHandle; variable
273 FileHandleReadWrap(FileHandle* handle, v8::Local<v8::Object> obj);
285 FileHandle* file_handle_;
288 friend class FileHandle; variable
293 class FileHandle final : public AsyncWrap, public StreamBase {
301 static FileHandle* New(BindingData* binding_data,
304 ~FileHandle() override;
336 SET_MEMORY_INFO_NAME(FileHandle)
337 SET_SELF_SIZE(FileHandle)
339 FileHandle(const FileHandle&) = delete;
[all …]
Dnode_file.cc233 FileHandle::FileHandle(BindingData* binding_data, in FileHandle() function in node::fs::FileHandle
243 FileHandle* FileHandle::New(BindingData* binding_data, in New()
251 return new FileHandle(binding_data, obj, fd); in New()
254 void FileHandle::New(const FunctionCallbackInfo<Value>& args) { in New()
260 FileHandle* handle = in New()
261 FileHandle::New(binding_data, args[0].As<Int32>()->Value(), args.This()); in New()
269 FileHandle::~FileHandle() { in ~FileHandle()
275 int FileHandle::DoWrite(WriteWrap* w, in DoWrite()
282 void FileHandle::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo()
286 FileHandle::TransferMode FileHandle::GetTransferMode() const { in GetTransferMode()
[all …]
/third_party/node/test/parallel/
Dtest-fs-promises-file-handle-op-errors.js18 FileHandle,
22 const originalFd = Object.getOwnPropertyDescriptor(FileHandle.prototype, 'fd');
34 Object.defineProperty(FileHandle.prototype, 'fd', {
50 Object.defineProperty(FileHandle.prototype, 'fd', originalFd);
Dtest-fs-promises-file-handle-close-errors.js18 FileHandle,
22 const originalFd = Object.getOwnPropertyDescriptor(FileHandle.prototype, 'fd');
34 Object.defineProperty(FileHandle.prototype, 'fd', {
56 Object.defineProperty(FileHandle.prototype, 'fd', originalFd);
Dtest-fs-promises-file-handle-aggregate-errors.js18 FileHandle,
22 const originalFd = Object.getOwnPropertyDescriptor(FileHandle.prototype, 'fd');
34 Object.defineProperty(FileHandle.prototype, 'fd', {
61 Object.defineProperty(FileHandle.prototype, 'fd', originalFd);
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerIOWindows.cpp35 HANDLE FileHandle( in IsFile() local
39 if (FileHandle == INVALID_HANDLE_VALUE) { in IsFile()
45 DWORD FileType = GetFileType(FileHandle); in IsFile()
50 CloseHandle(FileHandle); in IsFile()
55 CloseHandle(FileHandle); in IsFile()
59 CloseHandle(FileHandle); in IsFile()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Writer/
DBitWriter.cpp39 int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle) { in LLVMWriteBitcodeToFileHandle() argument
40 return LLVMWriteBitcodeToFD(M, FileHandle, true, false); in LLVMWriteBitcodeToFileHandle()
/third_party/node/deps/cares/src/lib/
Dares_event_win32.h96 typedef NTSTATUS(NTAPI *NtCancelIoFileEx_t)(HANDLE FileHandle,
100 HANDLE FileHandle, HANDLE Event, PIO_APC_ROUTINE ApcRoutine, PVOID ApcContext,
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc657 static std::error_code getStatus(HANDLE FileHandle, file_status &Result) {
658 if (FileHandle == INVALID_HANDLE_VALUE)
661 switch (::GetFileType(FileHandle)) {
682 if (!::GetFileInformationByHandle(FileHandle, &Info))
739 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
740 return getStatus(FileHandle, Result);
743 std::error_code status(file_t FileHandle, file_status &Result) {
744 return getStatus(FileHandle, Result);
791 HANDLE FileHandle = reinterpret_cast<HANDLE>(_get_osfhandle(FD));
792 if (!SetFileTime(FileHandle, NULL, &AccessFT, &ModifyFT))
[all …]
/third_party/node/typings/internalBinding/
Dfs.d.ts37 class FileHandle {
152 …tringOrBuffer, flags: number, mode: number, usePromises: typeof kUsePromises): Promise<FileHandle>;
226 FileHandle: typeof InternalFSBinding.FileHandle;
/third_party/node/deps/openssl/openssl/util/
Dc-compress-test.pl38 use FileHandle;
/third_party/openssl/util/
Dc-compress-test.pl38 use FileHandle;
/third_party/node/lib/internal/fs/
Dpromises.js127 class FileHandle extends EventEmitterMixin(JSTransferable) { class
584 return new FileHandle(
997 if (path instanceof FileHandle)
1022 if (path instanceof FileHandle)
1066 FileHandle, property
Dstreams.js31 const { kRef, kUnref, FileHandle } = require('internal/fs/promises');
133 options.fd instanceof FileHandle) {
/third_party/python/Modules/clinic/
Doverlapped.c.h15 _overlapped_CreateIoCompletionPort_impl(PyObject *module, HANDLE FileHandle,
24 HANDLE FileHandle; in _overlapped_CreateIoCompletionPort() local
30 &FileHandle, &ExistingCompletionPort, &CompletionKey, &NumberOfConcurrentThreads)) { in _overlapped_CreateIoCompletionPort()
33 …return_value = _overlapped_CreateIoCompletionPort_impl(module, FileHandle, ExistingCompletionPort,… in _overlapped_CreateIoCompletionPort()
/third_party/ffmpeg/compat/solaris/
Dmake_sunver.pl36 use FileHandle;
/third_party/ntfs-3g/libntfs-3g/
Dwin32_io.c216 PHANDLE FileHandle,
225 HANDLE FileHandle,
237 HANDLE FileHandle,
253 HANDLE FileHandle,
266 HANDLE FileHandle,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFileSystem.h1001 Expected<size_t> readNativeFile(file_t FileHandle, MutableArrayRef<char> Buf);
1012 Expected<size_t> readNativeFileSlice(file_t FileHandle,
1173 sys::fs::file_t FileHandle; variable
/third_party/libuv/src/win/
Dwinapi.h4540 (HANDLE FileHandle,
4552 (HANDLE FileHandle,
4559 (HANDLE FileHandle,
4566 (HANDLE FileHandle,
4579 (HANDLE FileHandle,
/third_party/node/deps/uv/src/win/
Dwinapi.h4540 (HANDLE FileHandle,
4552 (HANDLE FileHandle,
4559 (HANDLE FileHandle,
4566 (HANDLE FileHandle,
4579 (HANDLE FileHandle,
/third_party/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…
/third_party/node/doc/api/
Dfs.md150 ### Class: `FileHandle`
156 A {FileHandle} object is an object wrapper for a numeric file descriptor.
158 Instances of the {FileHandle} object are created by the `fsPromises.open()`
161 All {FileHandle} objects are {EventEmitter}s.
163 If a {FileHandle} is not closed using the `filehandle.close()` method, it will
167 close {FileHandle}s. Node.js may change this behavior in the future.
175 The `'close'` event is emitted when the {FileHandle} has been closed and can no
276 If the `FileHandle` points to a character device that only supports blocking
365 * {number} The numeric file descriptor managed by the {FileHandle} object.
468 after the `FileHandle` is closed or closing.
[all …]
Dworker_threads.md592 description: Added `FileHandle` to the list of transferable types.
612 * {FileHandle}s,
633 [`FileHandle`][] objects.
985 the [`FileHandle`][] API. This option is automatically inherited by all
1351 [`FileHandle`]: fs.md#class-filehandle
/third_party/python/Modules/
Doverlapped.c209 _overlapped_CreateIoCompletionPort_impl(PyObject *module, HANDLE FileHandle, in _overlapped_CreateIoCompletionPort_impl() argument
218 ret = CreateIoCompletionPort(FileHandle, ExistingCompletionPort, in _overlapped_CreateIoCompletionPort_impl()

12