Searched refs:raw (Results 1 - 21 of 21) sorted by relevance
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/ |
H A D | join_handle.rs | 25 use crate::task::raw::RawTask; 48 pub(crate) raw: RawTask, 56 pub(crate) fn new(raw: RawTask) -> JoinHandle<R> { 58 raw, 70 self.raw.cancel(); in cancel() 75 state::is_finished(self.raw.header().state.get_current_state()) in is_finished() 79 CancelHandle::new(self.raw) 83 let cur = self.raw.header().state.get_current_state(); 86 .raw 105 let cur = self.raw [all...] |
H A D | mod.rs | 19 mod raw; modules 34 pub(crate) use crate::task::raw::{Header, RawTask, TaskMngInfo}; 108 let raw = Task::create_raw_task::<T, S>(builder, scheduler, task, virtual_table_type); 110 let join = JoinHandle::new(raw); 111 (Task(raw), join)
|
H A D | join_set.rs | 103 unsafe { (*(self.handle.get())).raw.eq(&(*(other.handle.get())).raw) } in eq() 111 unsafe { (*self.handle.get()).raw.hash(state) } in hash()
|
H A D | waker.rs | 21 use crate::task::raw::Header;
|
H A D | task_handle.rs | 21 use crate::task::raw::{Header, Inner, TaskMngInfo};
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
H A D | sys.rs | 31 let raw = syscall!(posix_openpt(libc::O_RDWR | libc::O_NOCTTY))?; 33 syscall!(grantpt(raw))?; 34 syscall!(unlockpt(raw))?; 37 let mut flags = syscall!(fcntl(raw, libc::F_GETFD))?; 39 syscall!(fcntl(raw, libc::F_SETFD, flags))?; 41 let fd = unsafe { OwnedFd::from_raw_fd(raw) }; 58 let raw = self.0.as_raw_fd(); 59 syscall!(ioctl(raw, libc::TIOCSWINSZ, std::ptr::addr_of!(size))).map(|_| ())
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/ |
H A D | socket.rs | 16 use std::os::windows::raw; 61 let socket = unsafe { net::UdpSocket::from_raw_socket(self.socket as raw::SOCKET) };
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/num_cpus/ |
H A D | unix.rs | 16 use std::os::raw::c_long;
|
H A D | mod.rs | 18 use std::os::raw::c_long;
|
H A D | windows.rs | 15 use std::os::raw::c_long;
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | handle.rs | 27 pub(crate) fn raw(&self) -> HANDLE {
|
H A D | iocp.rs | 51 CreateIoCompletionPort(t.as_raw_handle() as HANDLE, self.handle.raw(), token, 0), 75 self.handle.raw(), 94 self.handle.raw(),
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/core_affinity/ |
H A D | windows.rs | 17 use std::os::windows::raw::HANDLE;
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/ |
H A D | registry.rs | 17 use std::os::raw::c_int;
|
H A D | mod.rs | 21 use std::os::raw::c_int; 410 use std::os::raw::c_int;
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/ |
H A D | epoll.rs | 15 use std::os::raw::c_int;
|
/commonlibrary/rust/ylong_json/tests/ |
H A D | sdv_adapter_test.rs | 15 use std::os::raw::{c_char, c_double, c_int};
|
/commonlibrary/rust/ylong_runtime/ylong_signal/tests/ |
H A D | signal.rs | 16 use std::os::raw::c_int;
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | signal.rs | 18 use std::os::raw::c_int;
|
/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/ |
H A D | mod.rs | 1442 ($raw: expr, $tar: expr, $(,)?) => { in ut_uri_from_bytes() 1443 match (Uri::from_bytes($raw), $tar) { in ut_uri_from_bytes()
|
/commonlibrary/ets_utils/js_api_module/buffer/test/ |
H A D | test_napi.cpp | 1243 * @tc.desc: Get the raw in blob 1253 uint8_t *raw = blob->GetRaw(); in HWTEST_F() local 1255 ASSERT_TRUE(raw != nullptr); in HWTEST_F()
|
Completed in 10 milliseconds