Home
last modified time | relevance | path

Searched refs:type_path (Results 1 – 16 of 16) sorted by relevance

/external/rust/android-crates-io/crates/der_derive/src/
Dasn1_type.rs72 let type_path = self.type_path(); in encoder() localVariable
80 | Asn1Type::Utf8String => quote!(#type_path::new(#binding)?), in encoder()
81 _ => quote!(#type_path::try_from(#binding)?), in encoder()
87 pub fn type_path(self) -> TokenStream { in type_path() method
Dattributes.rs203 let type_params = self.asn1_type.map(|ty| ty.type_path()).unwrap_or_default(); in decoder()
253 let type_params = self.asn1_type.map(|ty| ty.type_path()).unwrap_or_default(); in decoder()
/external/rust/android-crates-io/crates/strum_macros/src/macros/
Dfrom_repr.rs14 if let Some(type_path) = ast in from_repr_inner()
20 if let Type::Path(path) = type_path.clone() { in from_repr_inner()
26 discriminant_type = type_path; in from_repr_inner()
/external/autotest/client/site_tests/hardware_SsdDetection/
Dhardware_SsdDetection.py58 type_path = '/sys/block/%s/device/type' % dev[0]
59 type = os.path.realpath(type_path)
/external/rust/android-crates-io/crates/mockall_derive/src/
Dmockable_struct.rs128 Type::Path(type_path) => { in mock_ident_in_type()
129 if type_path.path.segments.len() != 1 { in mock_ident_in_type()
130 compile_error(type_path.path.span(), in mock_ident_in_type()
134 let ident = &mut type_path.path.segments.last_mut().unwrap().ident; in mock_ident_in_type()
396 Type::Path(type_path) => { in from()
397 let n = find_ident_from_path(&type_path.path).0; in from()
398 let self_generics = &type_path.path.segments.last().unwrap().arguments; in from()
Dmock_trait.rs76 Type::Path(mut type_path) => in new()
77 type_path.path.segments.pop().unwrap().into_value(), in new()
Dautomock.rs206 Some(Type::Path(type_path)) => { in substitute_type_param_bound()
207 t.path = type_path.path; in substitute_type_param_bound()
Dlib.rs612 Type::Path(type_path) => { in deselfify()
613 if let Some(ref mut qself) = type_path.qself { in deselfify()
616 deselfify_path(&mut type_path.path, actual, generics); in deselfify()
949 Type::Path(type_path) => { in supersuperfy()
950 let added = supersuperfy_path(&mut type_path.path, levels); in supersuperfy()
951 if let Some(ref mut qself) = type_path.qself { in supersuperfy()
/external/rust/android-crates-io/crates/der_derive/src/sequence/
Dfield.rs249 pub fn type_path(ident: Ident) -> Type { in type_path() function
285 field_type: type_path(field_type), in simple()
325 field_type: type_path(field_type), in implicit()
/external/cronet/stable/testing/rust_gtest_interop/
Dgtest_attribute.rs407 Type::Path(type_path) => type_path, in extern_test_suite()
/external/cronet/tot/testing/rust_gtest_interop/
Dgtest_attribute.rs407 Type::Path(type_path) => type_path, in extern_test_suite()
/external/rust/android-crates-io/crates/prettyplease/src/
Dty.rs25 Type::Path(ty) => self.type_path(ty), in ty()
106 fn type_path(&mut self, ty: &TypePath) { in type_path() method
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_derive-1.0.215/src/
Dde.rs495 let type_path = match form { in deserialize_tuple() localVariable
513 Some(deserialize_newtype_struct(&type_path, params, &fields[0])) in deserialize_tuple()
519 &type_path, params, fields, false, cattrs, expecting, in deserialize_tuple()
684 type_path: &TokenStream, in deserialize_seq()
745 #type_path { #( #names: #vars ),* } in deserialize_seq()
749 #type_path ( #(#vars),* ) in deserialize_seq()
873 type_path: &TokenStream, in deserialize_newtype_struct()
900 let mut result = quote!(#type_path(__field0)); in deserialize_newtype_struct()
955 let type_path = match form { in deserialize_struct() localVariable
999 &type_path, params, fields, true, cattrs, expecting, in deserialize_struct()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_derive-1.0.215/src/
Dde.rs495 let type_path = match form { in deserialize_tuple() localVariable
513 Some(deserialize_newtype_struct(&type_path, params, &fields[0])) in deserialize_tuple()
519 &type_path, params, fields, false, cattrs, expecting, in deserialize_tuple()
684 type_path: &TokenStream, in deserialize_seq()
745 #type_path { #( #names: #vars ),* } in deserialize_seq()
749 #type_path ( #(#vars),* ) in deserialize_seq()
873 type_path: &TokenStream, in deserialize_newtype_struct()
900 let mut result = quote!(#type_path(__field0)); in deserialize_newtype_struct()
955 let type_path = match form { in deserialize_struct() localVariable
999 &type_path, params, fields, true, cattrs, expecting, in deserialize_struct()
[all …]
/external/rust/android-crates-io/crates/serde_derive/src/
Dde.rs497 let type_path = match form { in deserialize_tuple() localVariable
515 Some(deserialize_newtype_struct(&type_path, params, &fields[0])) in deserialize_tuple()
521 &type_path, params, fields, false, cattrs, expecting, in deserialize_tuple()
688 type_path: &TokenStream, in deserialize_seq()
749 #type_path { #( #names: #vars ),* } in deserialize_seq()
753 #type_path ( #(#vars),* ) in deserialize_seq()
877 type_path: &TokenStream, in deserialize_newtype_struct()
904 let mut result = quote!(#type_path(__field0)); in deserialize_newtype_struct()
959 let type_path = match form { in deserialize_struct() localVariable
1003 &type_path, params, fields, true, cattrs, expecting, in deserialize_struct()
[all …]
/external/autotest/client/cros/power/
Dpower_status.py494 type_path = os.path.join(path,'type')
495 if not os.path.exists(type_path):
497 power_type = utils.read_one_line(type_path)