Home
last modified time | relevance | path

Searched refs:Generics (Results 1 – 25 of 75) sorted by relevance

123

/external/auto/value/src/it/gwtserializer/src/test/java/com/google/auto/value/client/
DGwtSerializerTest.java40 Generics<Simple> echo(Generics<Simple> generics); in echo()
54 void echo(Generics<Simple> generics, AsyncCallback<Generics<Simple>> callback); in echo()
107 public Generics<Simple> echo(Generics<Simple> generics) { in echo()
108 return Generics.create(echo(generics.simple())); in echo()
182 abstract static class Generics<T> { class in GwtSerializerTest
185 public static <T> Generics<T> create(T simple) { in create()
249 Generics<Simple> generics = Generics.create(Simple.create("able")); in testGenerics()
250 testService.echo(generics, new AssertEqualsCallback<Generics<Simple>>(generics)); in testGenerics()
/external/rust/crates/serde_derive/src/
Dbound.rs14 pub fn without_defaults(generics: &syn::Generics) -> syn::Generics { in without_defaults() argument
15 syn::Generics { in without_defaults()
33 generics: &syn::Generics, in with_where_predicates() argument
35 ) -> syn::Generics { in with_where_predicates() argument
46 generics: &syn::Generics, in with_where_predicates_from_fields() argument
48 ) -> syn::Generics { in with_where_predicates_from_fields() argument
62 generics: &syn::Generics, in with_where_predicates_from_variants() argument
64 ) -> syn::Generics { in with_where_predicates_from_variants() argument
96 generics: &syn::Generics, in with_bound() argument
99 ) -> syn::Generics { in with_bound() argument
[all …]
/external/auto/factory/src/test/resources/expected/
DGenerics_FooImplFactory.java25 final class Generics_FooImplFactory<M extends Generics.Bar> implements Generics.FooFactory<M> {
31 public Generics.FooImpl<M> create() { in create()
32 return new Generics.FooImpl<M>(); in create()
DGenerics_FooImplWithClassFactory.java25 final class Generics_FooImplWithClassFactory<M extends Generics.Bar> extends Generics.FooFactoryCla…
31 public Generics.FooImplWithClass<M> create() { in create()
32 return new Generics.FooImplWithClass<M>(); in create()
DGenerics_ExplicitFooImplFactory.java26 final class Generics_ExplicitFooImplFactory<M extends Generics.Bar>
27 implements Generics.FooFactory<M> {
36 public Generics.ExplicitFooImpl<M> create() { in create()
37 return new Generics.ExplicitFooImpl<M>(checkNotNull(unusedProvider.get(), 1)); in create()
/external/rust/crates/syn/src/
Dderive.rs20 pub generics: Generics,
105 let generics = input.parse::<Generics>()?; in parse()
111 generics: Generics { in parse()
124 let generics = input.parse::<Generics>()?; in parse()
130 generics: Generics { in parse()
143 let generics = input.parse::<Generics>()?; in parse()
149 generics: Generics { in parse()
Dgenerics.rs15 pub struct Generics {
95 impl Default for Generics { implementation
97 Generics { in default()
106 impl Generics { implementation
299 pub struct ImplGenerics<'a>(&'a Generics);
310 pub struct TypeGenerics<'a>(&'a Generics);
321 pub struct Turbofish<'a>(&'a Generics);
324 impl Generics { implementation
598 impl Parse for Generics { implementation
601 return Ok(Generics::default()); in parse()
[all …]
Ditem.rs127 pub generics: Generics,
187 pub generics: Generics,
269 pub generics: Generics,
287 pub generics: Generics,
305 pub generics: Generics,
322 pub generics: Generics,
339 pub generics: Generics,
749 pub generics: Generics,
865 pub generics: Generics,
897 pub generics: Generics,
[all …]
/external/jarjar/src/test/
DGenerics.classGenerics.java package Generics extends java.lang.Object { public void <init> () ...
/external/rust/crates/clap_derive/src/derives/
Dinto_app.rs17 use syn::{Generics, Ident};
21 pub fn gen_for_struct(item: &Item, item_name: &Ident, generics: &Generics) -> TokenStream { in gen_for_struct()
57 pub fn gen_for_enum(item: &Item, item_name: &Ident, generics: &Generics) -> TokenStream { in gen_for_enum()
Dparser.rs22 Generics,
94 generics: &Generics, in gen_for_struct() argument
113 generics: &Generics, in gen_for_enum() argument
/external/rust/crates/thiserror-impl/src/
Dgenerics.rs6 use syn::{parse_quote, GenericArgument, Generics, Ident, PathArguments, Token, Type, WhereClause};
13 pub fn new(generics: &'a Generics) -> Self { in new()
74 pub fn augment_where_clause(&self, generics: &Generics) -> WhereClause { in augment_where_clause()
Dast.rs5 Data, DataEnum, DataStruct, DeriveInput, Error, Fields, Generics, Ident, Index, Member, Result,
18 pub generics: &'a Generics,
26 pub generics: &'a Generics,
/external/rust/crates/synstructure/src/
Dlib.rs164 FieldsNamed, FieldsUnnamed, GenericParam, Generics, Ident, PredicateType, Result, Token,
192 Generics, enumerator
236 fn fetch_generics<'a>(set: &[bool], generics: &'a Generics) -> Vec<&'a Ident> { in fetch_generics()
265 fn merge_generics(into: &mut Generics, from: &Generics) -> Result<()> { in merge_generics() argument
347 generics: &'a Generics,
441 generics: &'a Generics,
449 fn get_ty_params(field: &Field, generics: &Generics) -> Vec<bool> { in get_ty_params()
454 generics: &'a Generics, in get_ty_params()
491 fn new(ast: VariantAst<'a>, prefix: Option<&'a Ident>, generics: &'a Generics) -> Self { in new()
1609 AddBounds::Both | AddBounds::Generics => { in add_trait_bounds()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
DGenerics_issue7.java.txt7 public final class Generics {
11 Optional<Generics> g;
DGenerics.java.txt6 public final class Generics {
10 Optional<Generics> g;
/external/rust/crates/syn-mid/src/
Dfunc.rs3 punctuated::Punctuated, token, Abi, Attribute, Generics, Ident, Lifetime, ReturnType, Token,
39 pub generics: Generics,
74 parse2, Abi, Attribute, Generics, Ident, ReturnType, Token, Type, Variadic, Visibility,
105 let mut generics: Generics = input.parse()?; in parse()
/external/rust/crates/pin-project-internal/src/
Dutils.rs11 Attribute, ExprPath, ExprStruct, Generics, Ident, Item, Lifetime, LifetimeDef, Macro, PatPath,
41 pub(crate) fn determine_lifetime_name(lifetime_name: &mut String, generics: &mut Generics) { in determine_lifetime_name() argument
64 generics: &mut Generics, in insert_lifetime_and_bound() argument
66 orig_generics: &Generics, in insert_lifetime_and_bound() argument
84 pub(crate) fn insert_lifetime(generics: &mut Generics, lifetime: Lifetime) { in insert_lifetime() argument
/external/rust/crates/derive_arbitrary/src/
Dlib.rs74 fn build_arbitrary_lifetime(generics: Generics) -> (LifetimeDef, LifetimeDef) { in build_arbitrary_lifetime()
91 mut generics: Generics, in apply_trait_bounds() argument
94 ) -> Result<Generics> { in apply_trait_bounds() argument
136 fn add_trait_bounds(mut generics: Generics, lifetime: LifetimeDef) -> Generics { in add_trait_bounds() argument
/external/auto/factory/src/test/resources/good/
DGenerics.java21 class Generics { class
/external/rust/crates/pest_generator/src/
Dlib.rs30 use syn::{Attribute, DeriveInput, Generics, Ident, Lit, Meta};
123 fn parse_derive(ast: DeriveInput) -> (Ident, Generics, Vec<GrammarSource>) { in parse_derive() argument
/external/rust/crates/syn/tests/
Dtest_round_trip.rs20 AngleBracketedArg, AngleBracketedArgs, Crate, GenericArg, GenericParamKind, Generics,
218 fn visit_generics(&mut self, e: &mut Generics) { in normalize() argument
/external/rust/cxx/syntax/
Dmod.rs41 use syn::{Attribute, Expr, Generics, Lifetime, LitInt, Token, Type as RustType};
185 pub generics: Generics,
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Collections.Tests.pas17 Generics.Collections,
/external/rust/crates/serde_derive/src/internals/
Dreceiver.rs7 parse_quote, Data, DeriveInput, Expr, ExprPath, GenericArgument, GenericParam, Generics, Macro,
212 fn visit_generics_mut(&mut self, generics: &mut Generics) { in visit_generics_mut() argument

123