Home
last modified time | relevance | path

Searched defs:try_new (Results 1 – 25 of 40) sorted by relevance

12

/aosp_15_r20/external/rust/android-crates-io/crates/moveit/src/new/
Dmod.rs116 unsafe fn try_new( in try_new() method
136 unsafe fn try_new( in try_new() method
251 unsafe fn try_new( in try_new() function
Dfactories.rs151 unsafe fn try_new( in try_by_raw() function
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/boxed/
H A Dthin.rs90 pub fn try_new(value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
222 fn try_new<H, T>(header: H, value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
272 fn try_new<T>(header: H, value: T) -> Result<WithHeader<H>, core::alloc::AllocError> { in try_new() method
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/boxed/
H A Dthin.rs91 pub fn try_new(value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
223 fn try_new<H, T>(header: H, value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
273 fn try_new<T>(header: H, value: T) -> Result<WithHeader<H>, core::alloc::AllocError> { in try_new() method
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/boxed/
H A Dthin.rs91 pub fn try_new(value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
223 fn try_new<H, T>(header: H, value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
273 fn try_new<T>(header: H, value: T) -> Result<WithHeader<H>, core::alloc::AllocError> { in try_new() method
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/boxed/
H A Dthin.rs90 pub fn try_new(value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
222 fn try_new<H, T>(header: H, value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
272 fn try_new<T>(header: H, value: T) -> Result<WithHeader<H>, core::alloc::AllocError> { in try_new() method
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/boxed/
H A Dthin.rs91 pub fn try_new(value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
223 fn try_new<H, T>(header: H, value: T) -> Result<Self, core::alloc::AllocError> { in try_new() method
273 fn try_new<T>(header: H, value: T) -> Result<WithHeader<H>, core::alloc::AllocError> { in try_new() method
/aosp_15_r20/trusty/user/base/lib/trusty-std/src/ffi/
Dc_str.rs101 fn try_new<T: TryAllocInto<Vec<u8>>>(t: T) -> Result<CString, TryNewError>; in try_new() method
124 fn try_new<T: TryAllocInto<Vec<u8>>>(t: T) -> Result<CString, TryNewError> { in try_new() method
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/memchr-2.7.2/src/arch/all/
H A Dmemchr.rs55 pub(crate) fn try_new(needle: u8) -> Option<One> { in try_new() method
377 pub(crate) fn try_new(needle1: u8, needle2: u8) -> Option<Two> { in try_new() method
637 pub(crate) fn try_new( in try_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/memchr/src/arch/all/
Dmemchr.rs55 pub(crate) fn try_new(needle: u8) -> Option<One> { in try_new() method
377 pub(crate) fn try_new(needle1: u8, needle2: u8) -> Option<Two> { in try_new() method
637 pub(crate) fn try_new( in try_new() method
/aosp_15_r20/trusty/user/base/lib/tipc/rust/src/service/
Dhandle_set.rs47 pub fn try_new(ports: [Rc<Channel<D>>; PORT_COUNT]) -> Result<Self> { in try_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/link/
Dvlan_id.rs40 pub const fn try_new(value: u16) -> Result<VlanId, ValueTooBigError<u16>> { in try_new() method
Dvlan_pcp.rs43 pub const fn try_new(value: u8) -> Result<VlanPcp, ValueTooBigError<u8>> { in try_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/
Dipv6_flow_label.rs86 pub const fn try_new(value: u32) -> Result<Ipv6FlowLabel, ValueTooBigError<u32>> { in try_new() method
Dipv4_dscp.rs40 pub const fn try_new(value: u8) -> Result<Ipv4Dscp, ValueTooBigError<u8>> { in try_new() method
Dip_frag_offset.rs90 pub const fn try_new(value: u16) -> Result<IpFragOffset, ValueTooBigError<u16>> { in try_new() method
Dipv4_ecn.rs49 pub const fn try_new(value: u8) -> Result<Ipv4Ecn, ValueTooBigError<u8>> { in try_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/protobuf-parse/src/
Dprotobuf_abs_path.rs135 pub fn try_new(path: &str) -> Option<ProtobufAbsPath> { in try_new() method
/aosp_15_r20/external/crosvm/devices/src/virtio/snd/vios_backend/
H A Dstreams.rs77 pub fn try_new( in try_new() method
H A Dworker.rs48 pub fn try_new( in try_new() method
H A Dshm_vios.rs169 pub fn try_new<P: AsRef<Path>>(server: P) -> Result<VioSClient> { in try_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/src/io/
Dasync_fd.rs277 pub fn try_new(inner: T) -> Result<Self, AsyncFdTryNewError<T>> in try_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/tracing-subscriber/src/filter/env/
Dmod.rs359 pub fn try_new<S: AsRef<str>>(dirs: S) -> Result<Self, directive::ParseError> { in try_new() method
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/tests/
Dio_async_fd.rs960 async fn try_new() { in try_new() function
/aosp_15_r20/external/rust/android-crates-io/crates/synstructure/src/
Dlib.rs966 pub fn try_new(ast: &'a DeriveInput) -> Result<Self> { in try_new() method

12