Home
last modified time | relevance | path

Searched +defs:from +defs:default (Results 26 – 50 of 1206) sorted by relevance

12345678910>>...49

/aosp_15_r20/external/rust/android-crates-io/crates/bstr/src/
Dimpls.rs154 fn default() -> BString { in default() method
161 fn from(s: &'a [u8]) -> BString { in from() method
168 fn from(s: Vec<u8>) -> BString { in from() method
175 fn from(s: BString) -> Vec<u8> { in from() method
182 fn from(s: &'a str) -> BString { in from() method
189 fn from(s: String) -> BString { in from() method
196 fn from(s: &'a BStr) -> BString { in from() method
203 fn from(s: BString) -> Cow<'a, BStr> { in from() method
602 fn default() -> &'a BStr { in default() method
608 fn default() -> &'a mut BStr { in default() method
[all …]
/aosp_15_r20/external/open-dice/dpe-rs/src/
H A Dnoise.rs29 fn from(_err: noise_protocol::Error) -> Self { in from() method
38 fn from(value: &NoiseHash) -> Self { in from() function
59 fn default() -> Self { in default() method
111 fn from(cs: &noise_protocol::CipherState<C>) -> Self { in from() method
155 fn default() -> Self { in default() function
374 fn default() -> Self { in default() function
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/alloc/src/
H A Dsync.rs3123 fn default() -> Weak<T> { in default() method
3412 fn default() -> Arc<T> { in default() method
3446 fn default() -> Self { in default() method
3461 fn default() -> Self { in default() method
3480 fn default() -> Self { in default() method
3524 fn from(t: T) -> Self { in from() method
3545 fn from(v: [T; N]) -> Arc<[T]> { in from() method
3564 fn from(v: &[T]) -> Arc<[T]> { in from() method
3582 fn from(v: &str) -> Arc<str> { in from() method
3602 fn from(v: String) -> Arc<str> { in from() method
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Dsync.rs3123 fn default() -> Weak<T> { in default() method
3412 fn default() -> Arc<T> { in default() method
3446 fn default() -> Self { in default() method
3461 fn default() -> Self { in default() method
3480 fn default() -> Self { in default() method
3524 fn from(t: T) -> Self { in from() method
3545 fn from(v: [T; N]) -> Arc<[T]> { in from() method
3564 fn from(v: &[T]) -> Arc<[T]> { in from() method
3582 fn from(v: &str) -> Arc<str> { in from() method
3602 fn from(v: String) -> Arc<str> { in from() method
[all …]
H A Dboxed.rs1306 fn default() -> Self { in default() method
1315 fn default() -> Self { in default() method
1325 fn default() -> Self { in default() method
1514 fn from(t: T) -> Self { in from() method
1535 fn from(boxed: Box<T, A>) -> Self { in from() function
1584 fn from(slice: &[T]) -> Box<[T]> { in from() method
1599 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from() method
1622 fn from(s: &str) -> Box<str> { in from() method
1654 fn from(cow: Cow<'_, str>) -> Box<str> { in from() method
1681 fn from(s: Box<str, A>) -> Self { in from() method
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/alloc/src/
H A Dsync.rs3123 fn default() -> Weak<T> { in default() method
3412 fn default() -> Arc<T> { in default() method
3446 fn default() -> Self { in default() method
3461 fn default() -> Self { in default() method
3480 fn default() -> Self { in default() method
3524 fn from(t: T) -> Self { in from() method
3545 fn from(v: [T; N]) -> Arc<[T]> { in from() method
3564 fn from(v: &[T]) -> Arc<[T]> { in from() method
3582 fn from(v: &str) -> Arc<str> { in from() method
3602 fn from(v: String) -> Arc<str> { in from() method
[all …]
H A Dboxed.rs1306 fn default() -> Self { in default() method
1315 fn default() -> Self { in default() method
1325 fn default() -> Self { in default() method
1514 fn from(t: T) -> Self { in from() method
1535 fn from(boxed: Box<T, A>) -> Self { in from() function
1584 fn from(slice: &[T]) -> Box<[T]> { in from() method
1599 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from() method
1622 fn from(s: &str) -> Box<str> { in from() method
1654 fn from(cow: Cow<'_, str>) -> Box<str> { in from() method
1681 fn from(s: Box<str, A>) -> Self { in from() method
[all …]
/aosp_15_r20/tools/netsim/rust/libslirp-rs/src/libslirp_sys/
H A Dmod.rs64 fn default() -> Self { in default() method
120 fn from(storage: sockaddr_storage) -> Self { in from() method
139 fn from(sockaddr: SocketAddr) -> Self { in from() method
151 fn from(val: in_addr) -> Self { in from() method
191 fn from(item: Ipv4Addr) -> Self { in from() method
203 fn from(item: in6_addr) -> Self { in from() method
228 fn from(item: Ipv6Addr) -> Self { in from() method
241 fn from(item: SocketAddrV4) -> Self { in from() method
262 fn from(item: sockaddr_in) -> Self { in from() method
271 fn from(item: sockaddr_in6) -> Self { in from() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/toml_edit/src/
Draw_string.rs108 fn default() -> Self { in default() method
126 fn from(s: &str) -> Self { in from() method
137 fn from(s: String) -> Self { in from() method
148 fn from(s: &String) -> Self { in from() method
159 fn from(inner: InternalString) -> Self { in from() method
166 fn from(s: &InternalString) -> Self { in from() method
177 fn from(s: Box<str>) -> Self { in from() method
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/device/
Dmod.rs719 fn from(err: VulkanError) -> Self { in from() method
734 fn from(err: ExtensionRestrictionError) -> Self { in from() method
740 fn from(err: FeatureRestrictionError) -> Self { in from() method
774 fn default() -> Self { in default() method
807 fn default() -> Self { in default() method
894 fn from(err: VulkanError) -> Self { in from() method
904 fn from(err: RequirementNotMet) -> Self { in from() method
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/datetime/
Dmod.rs669 fn default() -> Self { in default() method
676 fn default() -> Self { in default() method
682 fn default() -> Self { in default() method
693 fn from(src: DateTime<Utc>) -> Self { in from() method
704 fn from(src: DateTime<Utc>) -> Self { in from() method
715 fn from(src: DateTime<FixedOffset>) -> Self { in from() method
727 fn from(src: DateTime<FixedOffset>) -> Self { in from() method
739 fn from(src: DateTime<Local>) -> Self { in from() method
750 fn from(src: DateTime<Local>) -> Self { in from() method
1619 fn from(t: SystemTime) -> DateTime<Utc> { in from() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/jni/src/wrapper/objects/
Djstring.rs32 fn from(other: JString) -> JObject { in from() method
38 fn from(other: JObject) -> Self { in from() method
44 fn from(other: &'obj_ref JObject<'local>) -> Self { in from() method
51 fn default() -> Self { in default() method
Djthrowable.rs32 fn from(other: JThrowable) -> JObject { in from() method
38 fn from(other: JObject) -> Self { in from() method
44 fn from(other: &'obj_ref JObject<'local>) -> Self { in from() method
51 fn default() -> Self { in default() method
Djbytebuffer.rs30 fn from(other: JByteBuffer) -> JObject { in from() method
36 fn from(other: JObject) -> Self { in from() method
42 fn from(other: &'obj_ref JObject<'local>) -> Self { in from() method
49 fn default() -> Self { in default() method
Djclass.rs33 fn from(other: JClass) -> JObject { in from() method
40 fn from(other: JObject) -> Self { in from() method
47 fn from(other: &'obj_ref JObject<'local>) -> Self { in from() method
54 fn default() -> Self { in default() method
Djobject_array.rs34 fn from(other: JObjectArray) -> JObject { in from() method
41 fn from(other: JObject) -> Self { in from() method
48 fn from(other: &'obj_ref JObject<'local>) -> Self { in from() method
55 fn default() -> Self { in default() method
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/stream/
Dimpls.rs198 fn default() -> &'a Bytes { in default() method
205 fn from(s: &'a [u8]) -> &'a Bytes { in from() method
212 fn from(s: &'a Bytes) -> &'a [u8] { in from() method
219 fn from(s: &'a str) -> &'a Bytes { in from() method
445 fn default() -> &'a BStr { in default() method
452 fn from(s: &'a [u8]) -> &'a BStr { in from() method
459 fn from(s: &'a BStr) -> &'a [u8] { in from() method
466 fn from(s: &'a str) -> &'a BStr { in from() method
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/include/c++/4.8.3/ext/
Dpod_char_traits.h39 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default) in _GLIBCXX_VISIBILITY() argument
60 from(const V2& v) in _GLIBCXX_VISIBILITY() function
89 namespace std _GLIBCXX_VISIBILITY(default) in _GLIBCXX_VISIBILITY() argument
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/
Dpod_char_traits.h39 namespace __gnu_cxx _GLIBCXX_VISIBILITY(default) in _GLIBCXX_VISIBILITY() argument
60 from(const V2& v) in _GLIBCXX_VISIBILITY() function
89 namespace std _GLIBCXX_VISIBILITY(default) in _GLIBCXX_VISIBILITY() argument
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/
H A Drc.rs2247 fn default() -> Rc<T> { in default() method
2259 fn default() -> Self { in default() method
2271 fn default() -> Self { in default() method
2533 fn from(t: T) -> Self { in from() method
2554 fn from(v: [T; N]) -> Rc<[T]> { in from() method
2573 fn from(v: &[T]) -> Rc<[T]> { in from() method
2591 fn from(v: &str) -> Rc<str> { in from() method
2611 fn from(v: String) -> Rc<str> { in from() method
2630 fn from(v: Box<T, A>) -> Rc<T, A> { in from() method
2649 fn from(v: Vec<T, A>) -> Rc<[T], A> { in from() method
[all …]
H A Dboxed.rs1299 fn default() -> Self { in default() method
1308 fn default() -> Self { in default() method
1318 fn default() -> Self { in default() method
1507 fn from(t: T) -> Self { in from() method
1528 fn from(boxed: Box<T, A>) -> Self { in from() function
1577 fn from(slice: &[T]) -> Box<[T]> { in from() method
1592 fn from(cow: Cow<'_, [T]>) -> Box<[T]> { in from() method
1615 fn from(s: &str) -> Box<str> { in from() method
1647 fn from(cow: Cow<'_, str>) -> Box<str> { in from() method
1674 fn from(s: Box<str, A>) -> Self { in from() method
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/alloc/src/
H A Drc.rs2247 fn default() -> Rc<T> { in default() method
2259 fn default() -> Self { in default() method
2271 fn default() -> Self { in default() method
2533 fn from(t: T) -> Self { in from() method
2554 fn from(v: [T; N]) -> Rc<[T]> { in from() method
2573 fn from(v: &[T]) -> Rc<[T]> { in from() method
2591 fn from(v: &str) -> Rc<str> { in from() method
2611 fn from(v: String) -> Rc<str> { in from() method
2630 fn from(v: Box<T, A>) -> Rc<T, A> { in from() method
2649 fn from(v: Vec<T, A>) -> Rc<[T], A> { in from() method
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dle_audio.rs240 fn from(value: BtLeAudioGroupStatus) -> Self { in from() method
251 fn from(value: i32) -> Self { in from() method
262 fn default() -> Self { in default() method
268 fn from(value: BtLeAudioGroupNodeStatus) -> Self { in from() method
278 fn from(value: i32) -> Self { in from() method
288 fn from(value: BtLeAudioUsage) -> Self { in from() method
299 fn from(value: i32) -> Self { in from() method
310 fn from(value: BtLeAudioContentType) -> Self { in from() method
323 fn from(value: i32) -> Self { in from() method
336 fn from(value: BtLeAudioSource) -> Self { in from() method
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/vulkano/src/render_pass/
Dmod.rs566 pub fn from(render_pass: Arc<RenderPass>, id: u32) -> Option<Subpass> { in from() method
772 fn from(value: Subpass) -> (Arc<RenderPass>, u32) { in from() function
816 fn default() -> Self { in default() method
882 fn default() -> Self { in default() method
972 fn default() -> Self { in default() method
1023 fn default() -> Self { in default() method
1125 fn default() -> Self { in default() method
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/prost-derive-0.12.4/src/
H A Dlib.rs141 let default = if is_struct { in try_message() localVariable
142 let default = fields.iter().map(|(field_ident, field)| { in try_message() localVariable
150 let default = fields.iter().map(|(_, field)| { in try_message() localVariable
301 let default = variants[0].0.clone(); in try_enumeration() localVariable
306 let from = variants.iter().map( in try_enumeration() localVariable

12345678910>>...49