Home
last modified time | relevance | path

Searched refs:raw (Results 1 - 21 of 21) sorted by relevance

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_handle.rs25 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 Dmod.rs19 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 Djoin_set.rs103 unsafe { (*(self.handle.get())).raw.eq(&(*(other.handle.get())).raw) } in eq()
111 unsafe { (*self.handle.get()).raw.hash(state) } in hash()
H A Dwaker.rs21 use crate::task::raw::Header;
H A Dtask_handle.rs21 use crate::task::raw::{Header, Inner, TaskMngInfo};
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/
H A Dsys.rs31 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 Dsocket.rs16 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 Dunix.rs16 use std::os::raw::c_long;
H A Dmod.rs18 use std::os::raw::c_long;
H A Dwindows.rs15 use std::os::raw::c_long;
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dhandle.rs27 pub(crate) fn raw(&self) -> HANDLE {
H A Diocp.rs51 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 Dwindows.rs17 use std::os::windows::raw::HANDLE;
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/signal/unix/
H A Dregistry.rs17 use std::os::raw::c_int;
H A Dmod.rs21 use std::os::raw::c_int;
410 use std::os::raw::c_int;
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/
H A Depoll.rs15 use std::os::raw::c_int;
/commonlibrary/rust/ylong_json/tests/
H A Dsdv_adapter_test.rs15 use std::os::raw::{c_char, c_double, c_int};
/commonlibrary/rust/ylong_runtime/ylong_signal/tests/
H A Dsignal.rs16 use std::os::raw::c_int;
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dsignal.rs18 use std::os::raw::c_int;
/commonlibrary/rust/ylong_http/ylong_http/src/request/uri/
H A Dmod.rs1442 ($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 Dtest_napi.cpp1243 * @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