Home
last modified time | relevance | path

Searched refs:Annotated (Results 1 – 25 of 31) sorted by relevance

12

/external/google-fruit/examples/testing/
Dcached_greeter_test_with_normalized_component.cpp22 fruit::Component<fruit::Annotated<Cached, Greeter>> getMainComponent() { in getMainComponent()
34 fruit::Injector<fruit::Annotated<Cached, Greeter>> createInjector() { in createInjector()
35 …static fruit::NormalizedComponent<fruit::Annotated<Cached, Greeter>> normalizedComponent(getMainCo… in createInjector()
36 return fruit::Injector<fruit::Annotated<Cached, Greeter>>(normalizedComponent, getEmptyComponent); in createInjector()
40 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
46 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
47 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
Dcached_greeter_test.cpp21 fruit::Component<fruit::Annotated<Cached, Greeter>> getMainComponent() { in getMainComponent()
29 fruit::Injector<fruit::Annotated<Cached, Greeter>> createInjector() { in createInjector()
30 return fruit::Injector<fruit::Annotated<Cached, Greeter>>(getMainComponent); in createInjector()
34 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
35 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
40 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
Dmain.cpp22 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector(getCachedGreeterComponent); in main()
23 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in main()
Dcached_greeter.cpp46 fruit::Component<fruit::Annotated<Cached, Greeter>> getCachedGreeterComponent() { in getCachedGreeterComponent()
48 .bind<fruit::Annotated<Cached, Greeter>, CachedGreeterImpl>() in getCachedGreeterComponent()
Dcached_greeter.h23 fruit::Component<fruit::Annotated<Cached, Greeter>> getCachedGreeterComponent();
/external/google-fruit/tests/
Dtested_features.md10 * Using `bind(x)` or `bind<fruit::Annotated<A, T>>(x)`.
18 * bind<T, Annotated<A, T>>
37 …ructor mistakenly taking an Assisted<X> or Annotated<A,X> parameter (instead of just using Assiste…
49 …lambda mistakenly taking an Assisted<X> or Annotated<A,X> parameter (instead of just using Assiste…
68 …h a lambda mistakenly taking a Assisted<X>/Annotated<A,X> parameter (instead of just using Assiste…
82 #### Annotated bindings
83 * **TODO** Using `fruit::Annotated<>`
85 * **TODO** Check possibly-misleading behavior of binding Annotated<A1, I> and Annotated<A2, I> to C…
93 …tibindings(x)`, `addInstanceMultibindings<T>(x)` and `addInstanceMultibindings<Annotated<A, T>>(x)`
104 …lambda mistakenly taking an Assisted<X> or Annotated<A,X> parameter (instead of just using Assiste…
/external/google-fruit/include/fruit/impl/meta/
Dcomponent.h104 struct apply<Type<fruit::Annotated<Annotation, T>>> {
174 struct apply<Type<fruit::Annotated<Annotation, T>>> {
175 using type = Type<fruit::Annotated<Annotation, UnwrapType<Eval<NormalizeType(Type<T>)>>>>;
248 struct apply<Type<fruit::Annotated<Annotation, T>>> {
264 struct apply<Type<fruit::Annotated<Annotation, T>>, Type<U>> {
265 using type = Type<fruit::Annotated<Annotation, U>>;
292 struct apply<Type<fruit::Annotated<Annotation, T>>> {
329 struct apply<Type<fruit::Annotated<Annotation, T>>> {
330 using type = Type<fruit::Annotated<Annotation, T*>>;
614 struct apply<Type<fruit::Annotated<Annotation, T>>> {
[all …]
/external/google-fruit/include/fruit/impl/component_storage/
Dpartial_component_storage.defn.h120 class PartialComponentStorage<BindInstance<fruit::Annotated<Annotation, C>, C1>, PreviousBindings..…
131 …InjectorStorage::createComponentStorageEntryForBindInstance<fruit::Annotated<Annotation, C>, C>(in… in addBindings()
141 class PartialComponentStorage<BindConstInstance<fruit::Annotated<Annotation, C>, C1>, PreviousBindi…
152 …InjectorStorage::createComponentStorageEntryForBindConstInstance<fruit::Annotated<Annotation, C>, … in addBindings()
201 class PartialComponentStorage<AddInstanceMultibinding<fruit::Annotated<Annotation, C>>, PreviousBin…
212 …InjectorStorage::createComponentStorageEntryForInstanceMultibinding<fruit::Annotated<Annotation, C… in addBindings()
215 …InjectorStorage::createComponentStorageEntryForMultibindingVectorCreator<fruit::Annotated<Annotati… in addBindings()
250 class PartialComponentStorage<AddInstanceVectorMultibindings<fruit::Annotated<Annotation, C>>, Prev…
264 …InjectorStorage::createComponentStorageEntryForInstanceMultibinding<fruit::Annotated<Annotation, C… in addBindings()
266 …InjectorStorage::createComponentStorageEntryForMultibindingVectorCreator<fruit::Annotated<Annotati… in addBindings()
/external/google-fruit/examples/annotated_injection/
Dmain_brake.cpp28 fruit::Component<fruit::Annotated<MainBrake, Brake>> getMainBrakeComponent() { in getMainBrakeComponent()
29 return fruit::createComponent().bind<fruit::Annotated<MainBrake, Brake>, MainBrakeImpl>(); in getMainBrakeComponent()
Demergency_brake.cpp28 fruit::Component<fruit::Annotated<EmergencyBrake, Brake>> getEmergencyBrakeComponent() { in getEmergencyBrakeComponent()
29 …return fruit::createComponent().bind<fruit::Annotated<EmergencyBrake, Brake>, EmergencyBrakeImpl>(… in getEmergencyBrakeComponent()
Demergency_brake.h28 fruit::Component<fruit::Annotated<EmergencyBrake, Brake>> getEmergencyBrakeComponent();
Dmain_brake.h28 fruit::Component<fruit::Annotated<MainBrake, Brake>> getMainBrakeComponent();
/external/google-fruit/extras/doc/
Dcar_component.tex9 \umlassemblyconnector[interface={Annotated<MainBrake{,} Brake>}]{CarImpl}{MainBrakeComponent}
11 \umlassemblyconnector[interface={Annotated<EmergencyBrake{,} Brake>}]{CarImpl}{EmergencyBrakeCompon…
Dcached_greeter.tex18 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=4.3, with port, padding=2.1cm…
21 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=11.2, with port, padding=0.2c…
Dcached_greeter_test.tex18 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=4.3, with port, padding=2.1cm…
21 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=11.2, with port, padding=0.2c…
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java49 @Annotated public String field;
66 private @interface Annotated {} annotation in ShortNameFactoryTest
93 Key<?> key = Key.get(String.class, Annotated.class); in testGetAnnotationName_annotationType()
/external/google-fruit/include/fruit/impl/util/
Dtype_info.defn.h121 struct GetTypeInfoForType<fruit::Annotated<Annotation, T>> {
124 return TypeInfo(typeid(fruit::Annotated<Annotation, T>), GetConcreteTypeInfo<T>()());
/external/clang/test/SemaObjC/
Dsuper-dealloc-attribute.m29 - (void) AnnotMyDeallocMeth; // Annotated in root but not here. Annotation is inherited though
60 - (void) AnnotMyDeallocMethCAT; // Annotated in root but not here. Annotation is inherited though
/external/google-fruit/include/fruit/
Dmacro.h112 using FruitAnnotatedTypedef = fruit::Annotated<Annotation, T>;
Dfruit_forward_decls.h44 struct Annotated {}; struct
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dexplicit_outer_detection.ll19 ; Case 1: Annotated outer loop WITH vector width information must be collected.
71 ; Case 2: Annotated outer loop WITHOUT vector width information doesn't have to
121 ; Case 3: Annotated outer loop WITH vector width and interleave information
/external/google-fruit/include/fruit/impl/
Dcomponent_functors.defn.h1110 Type<fruit::Annotated<Annotation, std::function<NakedC(NakedArgs...)>>>> {
1113 Type<fruit::Annotated<Annotation, NakedC>>),
1115 Type<fruit::Annotated<Annotation, NakedC>(NakedArgs...)>,
1122 … Type<fruit::Annotated<Annotation, std::function<std::unique_ptr<NakedC>(NakedArgs...)>>>> {
1125 Type<fruit::Annotated<Annotation, NakedC>>),
1128 … Type<fruit::Annotated<Annotation, std::unique_ptr<NakedC>>(NakedArgs...)>,
/external/llvm/docs/
DMarkedUpDisassembly.rst49 Annotated assembly goes through the normal instruction printer, but optionally
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DMarkedUpDisassembly.rst49 Annotated assembly goes through the normal instruction printer, but optionally
/external/google-fruit/include/fruit/impl/injector/
Dinjector_storage.defn.h165 struct GetFirstStage<fruit::Annotated<Annotation, T>> : public GetFirstStage<T> {};
230 struct GetSecondStage<fruit::Annotated<Annotation, T>> : public GetSecondStage<T> {};

12