Home
last modified time | relevance | path

Searched refs:Generics (Results 1 – 25 of 54) 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/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
306 pub struct ImplGenerics<'a>(&'a Generics);
317 pub struct TypeGenerics<'a>(&'a Generics);
328 pub struct Turbofish<'a>(&'a Generics);
331 impl Generics { impl
605 impl Parse for Generics { implementation
608 return Ok(Generics::default()); in parse()
[all …]
Ditem.rs130 pub generics: Generics,
190 pub generics: Generics,
272 pub generics: Generics,
290 pub generics: Generics,
308 pub generics: Generics,
325 pub generics: Generics,
342 pub generics: Generics,
760 pub generics: Generics,
879 pub generics: Generics,
911 pub generics: Generics,
[all …]
/external/jarjar/src/test/
DGenerics.classGenerics.java package Generics extends java.lang.Object { public void <init> () ...
/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/thiserror-impl/src/
Dast.rs4 Data, DataEnum, DataStruct, DeriveInput, Error, Fields, Generics, Ident, Index, Member, Result,
17 pub generics: &'a Generics,
25 pub generics: &'a Generics,
/external/rust/crates/pin-project-internal/src/
Dutils.rs11 Attribute, ExprPath, ExprStruct, Generics, Ident, Item, Lifetime, LifetimeDef, Macro, PatPath,
35 pub(crate) fn determine_lifetime_name(lifetime_name: &mut String, generics: &mut Generics) { in determine_lifetime_name() argument
58 generics: &mut Generics, in insert_lifetime_and_bound() argument
60 orig_generics: &Generics, in insert_lifetime_and_bound() argument
78 pub(crate) fn insert_lifetime(generics: &mut Generics, lifetime: Lifetime) { in insert_lifetime() argument
/external/rust/crates/derive_arbitrary/src/
Dlib.rs42 fn build_arbitrary_lifetime(generics: Generics) -> (LifetimeDef, LifetimeDef) { in build_arbitrary_lifetime()
59 fn add_trait_bounds(mut generics: Generics, lifetime: LifetimeDef) -> Generics { in add_trait_bounds() argument
/external/rust/crates/syn/tests/
Dtest_round_trip.rs16 AngleBracketedArg, AngleBracketedArgs, Crate, GenericArg, GenericParamKind, Generics,
183 fn visit_generics(&mut self, e: &mut Generics) { in normalize() argument
/external/rust/cxx/syntax/
Dmod.rs40 use syn::{Expr, Generics, Lifetime, LitInt, Token, Type as RustType};
163 pub generics: Generics,
/external/rust/crates/async-trait/src/
Dexpand.rs10 parse_quote, Attribute, Block, FnArg, GenericParam, Generics, Ident, ImplItem, Lifetime, Pat,
33 generics: &'a Generics,
37 impl_generics: &'a Generics,
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Collections.Tests.pas17 Generics.Collections,
DAntlr.Runtime.Tools.Tests.pas17 Generics.Defaults,
18 Generics.Collections,
/external/rust/crates/serde_derive/src/internals/
Dreceiver.rs7 parse_quote, Data, DeriveInput, Expr, ExprPath, GenericArgument, GenericParam, Generics, Macro,
214 fn visit_generics_mut(&mut self, generics: &mut Generics) { in visit_generics_mut() argument
Dast.rs19 pub generics: &'a syn::Generics,
/external/rust/crates/pin-project-internal/src/pin_project/
Dderive.rs5 Fields, FieldsNamed, FieldsUnnamed, Generics, Ident, Index, Lifetime, LifetimeDef, Meta,
176 generics: &'a mut Generics, in new() argument
249 generics: &'a Generics,
264 generics: Generics,
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dgoogle-objc-avoid-nsobject-new.m17 // For testing behavior with Objective-C Generics.
/external/clang/unittests/Format/
DFormatTestJava.cpp320 TEST_F(FormatTestJava, Generics) { in TEST_F() argument
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas43 Generics.Defaults,
44 Generics.Collections;
210 TList<T> = class(Generics.Collections.TList<T>, IList<T>)
/external/llvm-project/clang/unittests/Format/
DFormatTestJava.cpp348 TEST_F(FormatTestJava, Generics) { in TEST_F() argument
/external/javapoet/src/test/java/com/squareup/javapoet/
DMethodSpecTest.java111 abstract static class Generics { class in MethodSpecTest
162 TypeElement classElement = getElement(Generics.class); in overrideGenerics()

123