Searched refs:HANDLE (Results 1 - 8 of 8) sorted by relevance
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | handle.rs | 16 use crate::sys::winapi::{CloseHandle, HANDLE}; 20 pub(crate) struct Handle(HANDLE); 23 pub(crate) fn new(handle: HANDLE) -> Self { 27 pub(crate) fn raw(&self) -> HANDLE {
|
H A D | winapi.rs | 20 pub type HANDLE = isize; types 72 pub const INVALID_HANDLE_VALUE: HANDLE = -1i32 as _; 104 pub fn CloseHandle(hObject: HANDLE) -> BOOL; in CloseHandle() 107 FileHandle: HANDLE, in CreateIoCompletionPort() 108 ExistingCompletionPort: HANDLE, in CreateIoCompletionPort() 111 ) -> HANDLE; in CreateIoCompletionPort() 114 CompletionPort: HANDLE, in PostQueuedCompletionStatus() 121 CompletionPort: HANDLE, in GetQueuedCompletionStatusEx() 132 FileHandle: *mut HANDLE, in NtCreateFile() 146 FileHandle: HANDLE, in NtDeviceIoControlFile() [all...] |
H A D | iocp.rs | 20 CreateIoCompletionPort, GetQueuedCompletionStatusEx, PostQueuedCompletionStatus, HANDLE, 26 /// IOCP's HANDLE. 51 CreateIoCompletionPort(t.as_raw_handle() as HANDLE, self.handle.raw(), token, 0),
|
H A D | afd.rs | 25 FILE_OPEN, FILE_SHARE_READ, FILE_SHARE_WRITE, FILE_SKIP_SET_EVENT_ON_HANDLE, HANDLE, 73 FileHandle: HANDLE, in NtCancelIoFileEx() 90 let mut afd_device_handle: HANDLE = INVALID_HANDLE_VALUE; in new() 146 self.fd.as_raw_handle() as HANDLE, 168 /// System call to cancel File HANDLE. 178 let status = NtCancelIoFileEx(self.fd.as_raw_handle() as HANDLE, iosb, &mut cancel_iosb); 260 pub handle: HANDLE, in fmt()
|
H A D | selector.rs | 27 WSAGetLastError, WSAIoctl, ERROR_INVALID_HANDLE, ERROR_IO_PENDING, HANDLE, OVERLAPPED, 368 self.poll_info.handles[0].handle = self.base_socket as HANDLE; in update_while_idle()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/core_affinity/ |
H A D | windows.rs | 17 use std::os::windows::raw::HANDLE; 20 fn GetCurrentThread() -> HANDLE; in GetCurrentThread() 22 fn SetThreadAffinityMask(hThread: HANDLE, dwThreadAffinityMask: usize) -> usize; in SetThreadAffinityMask()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/ |
H A D | driver.rs | 85 static mut HANDLE: MaybeUninit<IoHandle> = MaybeUninit::uninit(); consts 96 unsafe { &*HANDLE.as_ptr() } 310 HANDLE = MaybeUninit::new(IoHandle::new(inner)); in initialize()
|
/commonlibrary/ets_utils/js_sys_module/process/ |
H A D | js_process.h | 28 enum class PromiseRejectionEvent : uint32_t { REJECT = 0, HANDLE };
|
Completed in 4 milliseconds