/external/guava/guava-testlib/test/com/google/common/testing/ |
D | ClassSanityTesterTest.java | 473 tester.instantiate(FactoryMethodReturnsNullButNotAnnotated.class); in testInstantiate_factoryMethodReturnsNullButNotAnnotated() 483 tester.instantiate(FactoryMethodReturnsNullAndAnnotated.class); in testInstantiate_factoryMethodReturnsNullAndAnnotated() 489 assertNull(tester.instantiate(FactoryMethodAcceptsNull.class).name); in testInstantiate_factoryMethodAcceptsNull() 493 assertNotNull(tester.instantiate(FactoryMethodDoesNotAcceptNull.class).name); in testInstantiate_factoryMethodDoesNotAcceptNull() 497 assertNull(tester.instantiate(ConstructorAcceptsNull.class).name); in testInstantiate_constructorAcceptsNull() 501 assertNotNull(tester.instantiate(ConstructorDoesNotAcceptNull.class).name); in testInstantiate_constructorDoesNotAcceptNull() 505 assertNull(tester.instantiate(NotInstantiable.class)); in testInstantiate_notInstantiable() 509 assertNull(tester.instantiate(NoConstantEnum.class)); in testInstantiate_noConstantEnum() 513 assertEquals(OneConstantEnum.A, tester.instantiate(OneConstantEnum.class)); in testInstantiate_oneConstantEnum() 517 assertNull(tester.instantiate(Runnable.class)); in testInstantiate_interface() [all …]
|
/external/mockito/src/test/java/org/mockito/internal/util/reflection/ |
D | ParameterizedConstructorInstantiatorTest.java | 62 … ParameterizedConstructorInstantiator(this, field("withNoArgConstructor"), resolver).instantiate(); in should_fail_if_no_parameterized_constructor_found___excluding_inner_and_others_kind_of_types() 75 …rameterizedConstructorInstantiator(this, field("withMultipleConstructor"), resolver).instantiate(); in should_instantiate_type_if_resolver_provide_matching_types() 89 …rameterizedConstructorInstantiator(this, field("withMultipleConstructor"), resolver).instantiate(); in should_fail_if_an_argument_instance_type_do_not_match_wanted_type() 101 …rameterizedConstructorInstantiator(this, field("withThrowingConstructor"), resolver).instantiate(); in should_report_failure_if_constructor_throws_exception() 113 …ParameterizedConstructorInstantiator(this, field("withVarargConstructor"), resolver).instantiate(); in should_instantiate_type_with_vararg_constructor()
|
/external/skqp/src/gpu/ |
D | GrPipeline.cpp | 42 if (!args.fDstProxy.proxy()->instantiate(args.fResourceProvider)) { in GrPipeline() 59 if (!fFragmentProcessors[currFPIdx]->instantiate(args.fResourceProvider)) { in GrPipeline() 65 if (!fFragmentProcessors[currFPIdx]->instantiate(args.fResourceProvider)) { in GrPipeline() 71 if (!fFragmentProcessors[currFPIdx]->instantiate(args.fResourceProvider)) { in GrPipeline()
|
D | GrOpList.cpp | 44 fTarget.get()->instantiate(resourceProvider); in GrOpList() 57 bool GrOpList::instantiate(GrResourceProvider* resourceProvider) { in instantiate() function in GrOpList 58 return SkToBool(fTarget.get()->instantiate(resourceProvider)); in instantiate() 76 fDeferredProxies[i]->instantiate(resourceProvider); in instantiateDeferredProxies()
|
/external/clang/test/SemaTemplate/ |
D | instantiate-function-params.cpp | 18 template <void(*)()> struct instantiate { struct 25 …typedef instantiate< & requirement_<void(*)(usage_requirements<InputIterator> x)>::failed> boost_… 28 …typedef instantiate< & requirement_<void(*)(usage_requirements<ForwardIterator> x)>::failed> boost… 31 typedef instantiate< &requirement_<void(*)(ForwardIterator<char*> x)>::failed> boost_concept_checkX…
|
D | instantiate-member-pointers.cpp | 60 static void instantiate(); 61 typedef instantiate_function<&S::instantiate> x; // expected-note{{instantiation}} 63 template <typename T> void S<T>::instantiate() { in instantiate() function in ValueDepMemberPointer::S
|
D | instantiate-non-dependent-types.cpp | 8 template<void(*)()> struct instantiate { }; struct 12 typedef instantiate<&X1<int>::member> i; // expected-note{{in instantiation of}}
|
/external/python/pyasn1/tests/type/ |
D | test_univ.py | 1156 assert s.getComponentByPosition(0, default=None, instantiate=False) is None 1170 assert s.getComponentByPosition(0, instantiate=False) is univ.noValue 1172 assert s.getComponentByPosition(0, instantiate=False) is not univ.noValue 1173 assert s.getComponentByPosition(0, instantiate=False) == str2octs('test') 1175 assert s.getComponentByPosition(0, instantiate=False) is univ.noValue 1402 assert s.getComponentByPosition(1, default=None, instantiate=False) is None 1420 assert s.getComponentByPosition(1, instantiate=False) is univ.noValue 1421 assert s.getComponentByName('nick', instantiate=False) is univ.noValue 1423 assert s.getComponentByPosition(1, instantiate=False) is not univ.noValue 1424 assert s.getComponentByPosition(1, instantiate=False) == str2octs('test') [all …]
|
/external/skia/tests/ |
D | ProxyRefTest.cpp | 107 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 127 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 147 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 168 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 192 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skqp/tests/ |
D | ProxyRefTest.cpp | 107 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 127 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 147 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 168 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 192 proxy->instantiate(resourceProvider); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/ |
D | GrPipeline.cpp | 42 if (!args.fDstProxy.proxy()->instantiate(args.fResourceProvider)) { in GrPipeline() 59 if (!fFragmentProcessors[currFPIdx]->instantiate(args.fResourceProvider)) { in GrPipeline() 65 if (!fFragmentProcessors[currFPIdx]->instantiate(args.fResourceProvider)) { in GrPipeline() 71 if (!fFragmentProcessors[currFPIdx]->instantiate(args.fResourceProvider)) { in GrPipeline()
|
D | GrOpList.cpp | 44 fTarget.get()->instantiate(resourceProvider); in GrOpList() 57 bool GrOpList::instantiate(GrResourceProvider* resourceProvider) { in instantiate() function in GrOpList 58 return SkToBool(fTarget.get()->instantiate(resourceProvider)); in instantiate() 76 fDeferredProxies[i]->instantiate(resourceProvider); in instantiateDeferredProxies()
|
/external/turbine/java/com/google/turbine/types/ |
D | Canonicalize.java | 225 simples.add(instantiate(mapping, s.sym())); in canonOne() 259 private ClassTy.SimpleClassTy instantiate( in instantiate() method in Canonicalize 267 Type arg = instantiate(mapping, mapping.get(sym)); in instantiate() 280 private Type instantiate(Map<TyVarSymbol, Type> mapping, Type type) { in instantiate() method in Canonicalize 294 Type elem = instantiate(mapping, arrayTy.elementType()); in instantiate() 299 return instantiate(mapping, mapping.get(tyVar.sym())); in instantiate() 313 instantiate(mapping, type.bound()), type.annotations()); in instantiateWildTy() 316 instantiate(mapping, type.bound()), type.annotations()); in instantiateWildTy() 327 args.add(instantiate(mapping, arg)); in instantiateClassTy()
|
/external/adhd/cras/src/server/ |
D | cras_dsp_mod_builtin.c | 49 module->instantiate = &empty_instantiate; in empty_init_module() 100 module->instantiate = &swap_lr_instantiate; in swap_lr_init_module() 146 module->instantiate = &invert_lr_instantiate; in invert_lr_init_module() 194 module->instantiate = &mix_stereo_instantiate; in mix_stereo_init_module() 259 module->instantiate = &dcblock_instantiate; in dcblock_init_module() 332 module->instantiate = &eq_instantiate; in eq_init_module() 415 module->instantiate = &eq2_instantiate; in eq2_init_module() 512 module->instantiate = &drc_instantiate; in drc_init_module() 561 module->instantiate = &sink_instantiate; in sink_init_module()
|
D | cras_dsp_mod_ladspa.c | 42 static int instantiate(struct dsp_module *module, unsigned long sample_rate) in instantiate() function 47 data->handle = desc->instantiate(desc, sample_rate); in instantiate() 203 module->instantiate = &instantiate; in cras_dsp_module_load_ladspa()
|
/external/libcxx/test/support/ |
D | poisoned_hash_helper.hpp | 101 constexpr bool instantiate(int) { return true; } in instantiate() function 102 template <class> constexpr bool instantiate(long) { return true; } in instantiate() function 103 template <class T> constexpr bool instantiate() { return instantiate<T>(0); } in instantiate() function
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | RegularImmutableSortedMap_CustomFieldSerializer.java | 33 public static RegularImmutableSortedMap<?, ?> instantiate( in instantiate() method in RegularImmutableSortedMap_CustomFieldSerializer 36 ImmutableSortedMap_CustomFieldSerializerBase.instantiate(reader); in instantiate()
|
D | EmptyImmutableSortedMap_CustomFieldSerializer.java | 33 public static EmptyImmutableSortedMap<?, ?> instantiate( in instantiate() method in EmptyImmutableSortedMap_CustomFieldSerializer 36 ImmutableSortedMap_CustomFieldSerializerBase.instantiate(reader); in instantiate()
|
D | DenseImmutableTable_CustomFieldSerializer.java | 31 public static DenseImmutableTable<Object, Object, Object> instantiate( in instantiate() method in DenseImmutableTable_CustomFieldSerializer 34 ImmutableTable_CustomFieldSerializerBase.instantiate(reader); in instantiate()
|
D | SparseImmutableTable_CustomFieldSerializer.java | 31 public static SparseImmutableTable<Object, Object, Object> instantiate( in instantiate() method in SparseImmutableTable_CustomFieldSerializer 34 ImmutableTable_CustomFieldSerializerBase.instantiate(reader); in instantiate()
|
D | ImmutableListMultimap_CustomFieldSerializer.java | 34 public static ImmutableListMultimap<Object, Object> instantiate( in instantiate() method in ImmutableListMultimap_CustomFieldSerializer 37 Multimap_CustomFieldSerializerBase.instantiate( in instantiate()
|
D | ImmutableSetMultimap_CustomFieldSerializer.java | 38 public static ImmutableSetMultimap<Object, Object> instantiate( in instantiate() method in ImmutableSetMultimap_CustomFieldSerializer 46 Multimap_CustomFieldSerializerBase.instantiate(reader, builder); in instantiate()
|
/external/junit-params/src/main/java/junitparams/internal/parameters/ |
D | ParametersFromCustomProvider.java | 25 ParametersProvider provider = instantiate(parameters.provider()); in getParameters() 30 private ParametersProvider instantiate(Class<? extends ParametersProvider> providerClass) { in instantiate() method in ParametersFromCustomProvider
|
/external/clang/test/SemaCXX/ |
D | cxx1y-deduced-return-type.cpp | 131 template <typename T> auto instantiate() { T::error; } // expected-error {{has no members}} \ in instantiate() function 133 extern template auto instantiate<int>(); // ok 134 int k = instantiate<int>(); // expected-note {{in instantiation of}} 135 template<> auto instantiate<char>() {} // ok in instantiate() function 136 template<> void instantiate<double>() {} // expected-error {{no function template matches}} in instantiate() function
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | FieldInitializer.java | 137 return instantiator.instantiate(); in acquireFieldInstance() 162 FieldInitializationReport instantiate(); in instantiate() method 187 public FieldInitializationReport instantiate() { in instantiate() method in FieldInitializer.NoArgConstructorInstantiator 261 public FieldInitializationReport instantiate() { in instantiate() method in FieldInitializer.ParameterizedConstructorInstantiator
|