/external/rust/crates/syn/src/ |
D | derive.rs | 106 let (where_clause, fields, semi) = data_struct(input)?; in parse() 112 where_clause, in parse() 125 let (where_clause, brace, variants) = data_enum(input)?; in parse() 131 where_clause, in parse() 144 let (where_clause, fields) = data_union(input)?; in parse() 150 where_clause, in parse() 168 let mut where_clause = None; localVariable 170 where_clause = Some(input.parse()?); 174 if where_clause.is_none() && lookahead.peek(token::Paren) { 179 where_clause = Some(input.parse()?); [all …]
|
D | item.rs | 1204 generics.where_clause = input.parse()?; in parse() 1506 generics.where_clause = input.parse()?; in parse() 1878 || generics.where_clause.is_some() in parse_foreign_item_type() 1922 generics.where_clause = input.parse()?; in parse() 1979 generics.where_clause = input.parse()?; in item_existential() 2000 generics.where_clause.to_tokens(&mut tokens); in item_existential() 2017 let (where_clause, fields, semi_token) = derive::parsing::data_struct(input)?; in parse() 2024 where_clause, in parse() 2041 let (where_clause, brace_token, variants) = derive::parsing::data_enum(input)?; in parse() 2048 where_clause, in parse() [all …]
|
D | generics.rs | 19 pub where_clause: Option<WhereClause>, 101 where_clause: None, in default() 176 if self.where_clause.is_none() { in make_where_clause() 177 self.where_clause = Some(WhereClause { in make_where_clause() 182 match &mut self.where_clause { in make_where_clause() 183 Some(where_clause) => where_clause, in make_where_clause() 361 self.where_clause.as_ref(), in split_for_impl() 662 where_clause: None, in parse()
|
/external/rust/crates/pin-project-lite/src/ |
D | lib.rs | 426 [$($impl_generics:tt)*] [$($ty_generics:tt)*] [$(where $($where_clause:tt)*)?] 437 $($where_clause)*)? 449 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 462 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 475 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 497 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 510 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 523 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 534 $($where_clause)*)? 575 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] [all …]
|
D | lib.rs.orig | 423 [$($impl_generics:tt)*] [$($ty_generics:tt)*] [$(where $($where_clause:tt)*)?] 434 $($where_clause)*)? 446 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 459 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 472 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 494 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 507 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 520 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] 531 $($where_clause)*)? 572 [$($impl_generics)*] [$($ty_generics)*] [$(where $($where_clause)*)?] [all …]
|
/external/rust/crates/syn/tests/ |
D | test_generics.rs | 101 let (impl_generics, ty_generics, where_clause) = generics.split_for_impl(); in test_split_for_impl() 104 impl #impl_generics MyTrait for Test #ty_generics #where_clause {} in test_split_for_impl() 257 let where_clause = input.sig.generics.where_clause.as_ref().unwrap(); in test_fn_precedence_in_where_clause() localVariable 258 assert_eq!(where_clause.predicates.len(), 1); in test_fn_precedence_in_where_clause() 260 let predicate = match &where_clause.predicates[0] { in test_fn_precedence_in_where_clause()
|
/external/rust/crates/pin-project-internal/src/pin_project/ |
D | derive.rs | 203 let mut where_clause = generics.make_where_clause().clone(); in new() localVariable 204 where_clause.predicates.push(pred); in new() 225 where_clause, in new() 267 where_clause: WhereClause, field 351 let orig_where_clause = orig_generics.where_clause.take(); in parse_struct() 353 let proj_where_clause = &cx.proj.where_clause; in parse_struct() 436 let orig_where_clause = orig_generics.where_clause.take(); 438 let proj_where_clause = &cx.proj.where_clause; 681 let (impl_generics, _, where_clause) = proj_generics.split_for_impl(); in make_unpin_impl() 686 #where_clause in make_unpin_impl() [all …]
|
/external/autotest/tko/ |
D | db.py | 284 where_clause = ' and '.join(keys) 287 where_clause = where 291 where_clause, values = where 292 assert where_clause 296 return ' WHERE ' + where_clause, values 330 where_clause, values = self._where_clause(where) 331 cmd.append(where_clause) 425 where_clause, values = self._where_clause(where) 426 cmd.append(where_clause) 453 where_clause, where_values = self._where_clause(where) [all …]
|
/external/rust/crates/thiserror-impl/src/ |
D | expand.rs | 18 let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); in impl_struct() 117 impl #impl_generics std::fmt::Display for #ty #ty_generics #where_clause { in impl_struct() 132 impl #impl_generics std::convert::From<#from> for #ty #ty_generics #where_clause { in impl_struct() 145 impl #impl_generics #error_trait for #ty #ty_generics #where_clause { in impl_struct() 156 let (impl_generics, ty_generics, where_clause) = input.generics.split_for_impl(); in impl_enum() 303 impl #impl_generics std::fmt::Display for #ty #ty_generics #where_clause { in impl_enum() 325 impl #impl_generics std::convert::From<#from> for #ty #ty_generics #where_clause { in impl_enum() 338 impl #impl_generics #error_trait for #ty #ty_generics #where_clause { in impl_enum()
|
/external/adhd/cros_alsa/cros_alsa_derive/src/ |
D | control.rs | 18 let (impl_generics, ty_generics, where_clause) = ast.generics.split_for_impl(); in impl_control_ops() 30 impl #impl_generics #path::ControlOps #impl_generics for #name #ty_generics #where_clause { in impl_control_ops()
|
/external/rust/crates/async-trait/src/ |
D | expand.rs | 195 where_clause_or_default(&mut sig.generics.where_clause) in transform_sig() 202 where_clause_or_default(&mut sig.generics.where_clause) in transform_sig() 219 where_clause_or_default(&mut sig.generics.where_clause) in transform_sig() 254 let where_clause = where_clause_or_default(&mut sig.generics.where_clause); in transform_sig() localVariable 255 where_clause.predicates.push(if assume_bound || is_local { in transform_sig()
|
/external/rust/crates/serde_derive/src/ |
D | de.rs | 32 let (de_impl_generics, _, ty_generics, where_clause) = split_with_de_lifetime(¶ms); in expand_derive_deserialize() 41 impl #de_impl_generics #ident #ty_generics #where_clause { in expand_derive_deserialize() 56 … impl #de_impl_generics #serde::Deserialize<#delife> for #ident #ty_generics #where_clause { in expand_derive_deserialize() 442 let (de_impl_generics, de_ty_generics, ty_generics, where_clause) = in deserialize_tuple() 507 struct __Visitor #de_impl_generics #where_clause { in deserialize_tuple() 512 … impl #de_impl_generics _serde::de::Visitor<#delife> for __Visitor #de_ty_generics #where_clause { in deserialize_tuple() 543 let (de_impl_generics, de_ty_generics, ty_generics, where_clause) = in deserialize_tuple_in_place() 597 struct __Visitor #in_place_impl_generics #where_clause { in deserialize_tuple_in_place() 602 …lace_impl_generics _serde::de::Visitor<#delife> for __Visitor #in_place_ty_generics #where_clause { in deserialize_tuple_in_place() 900 let (de_impl_generics, de_ty_generics, ty_generics, where_clause) = in deserialize_struct() [all …]
|
D | ser.rs | 27 let (impl_generics, ty_generics, where_clause) = params.generics.split_for_impl(); in expand_derive_serialize() 35 impl #impl_generics #ident #ty_generics #where_clause { in expand_derive_serialize() 48 impl #impl_generics #serde::Serialize for #ident #ty_generics #where_clause { in expand_derive_serialize() 710 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_adjacently_tagged_variant() 720 struct __AdjacentlyTagged #wrapper_generics #where_clause { in serialize_adjacently_tagged_variant() 725 …wrapper_impl_generics _serde::Serialize for __AdjacentlyTagged #wrapper_ty_generics #where_clause { in serialize_adjacently_tagged_variant() 978 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in serialize_struct_variant_with_flatten() 983 struct __EnumFlatten #wrapper_generics #where_clause { in serialize_struct_variant_with_flatten() 988 …mpl #wrapper_impl_generics _serde::Serialize for __EnumFlatten #wrapper_ty_generics #where_clause { in serialize_struct_variant_with_flatten() 1196 let (_, ty_generics, where_clause) = params.generics.split_for_impl(); in wrap_serialize_with() [all …]
|
/external/rust/crates/serde_derive/src/internals/ |
D | receiver.rs | 225 if let Some(where_clause) = &mut generics.where_clause { in visit_generics_mut() 226 for predicate in &mut where_clause.predicates { in visit_generics_mut()
|
/external/rust/crates/quote/tests/ |
D | test.rs | 85 let where_clause = quote!( where T: Serialize ); in test_advanced() localVariable 96 struct SerializeWith #generics #where_clause { in test_advanced() 101 impl #generics ::serde::Serialize for SerializeWith #generics #where_clause { in test_advanced()
|
/external/rust/crates/pin-project-internal/src/ |
D | pinned_drop.rs | 22 let (impl_generics, _, where_clause) = input.generics.split_for_impl(); in attribute() 38 #where_clause in attribute()
|
/external/rust/cxx/syntax/ |
D | parse.rs | 117 if let Some(where_clause) = &item.generics.where_clause { in parse_struct() 119 where_clause, in parse_struct() 209 } else if let Some(where_clause) = &item.generics.where_clause { in parse_enum() 210 cx.error(where_clause, "enum with where-clause is not supported"); in parse_enum() 510 if generics.where_clause.is_some() in parse_extern_fn() 911 if let Some(where_clause) = imp.generics.where_clause { in parse_impl() 913 where_clause, in parse_impl()
|
/external/rust/crates/derive_arbitrary/src/ |
D | lib.rs | 29 let (_, ty_generics, where_clause) = generics.split_for_impl(); in derive_arbitrary() 32 …impl_generics arbitrary::Arbitrary<#lifetime_without_bounds> for #name #ty_generics #where_clause { in derive_arbitrary()
|
/external/rust/crates/syn-mid/src/ |
D | func.rs | 113 generics.where_clause = input.parse()?; in parse() 240 self.generics.where_clause.to_tokens(tokens); in to_tokens()
|
/external/rust/crates/quote/ |
D | README.md | 59 struct SerializeWith #generics #where_clause { 64 impl #generics serde::Serialize for SerializeWith #generics #where_clause {
|
/external/rust/crates/pin-project-lite/tests/ |
D | test.rs | 132 fn where_clause() { in where_clause() function
|
/external/rust/crates/pin-project/tests/ |
D | pin_project.rs | 155 fn where_clause() { in where_clause() function
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 303 spanless_eq_struct!(Generics; params where_clause span);
|
/external/rust/crates/syn/src/gen/ |
D | clone.rs | 946 where_clause: self.where_clause.clone(), in clone()
|
D | eq.rs | 963 && self.where_clause == other.where_clause in eq()
|