Home
last modified time | relevance | path

Searched refs:createComponent (Results 1 – 25 of 29) sorted by relevance

12

/external/google-fruit/examples/server/
Dserver.cpp87 return createComponent().bindInstance(*request); in getRequestComponent()
93 return createComponent().install(getRequestDispatcherComponent).bindInstance(*serverContext); in getRequestDispatcherComponentWithContext()
98 return fruit::createComponent().bind<Server, ServerImpl>(); in getServerComponent()
Dfoo_handler.cpp40 return fruit::createComponent().bind<FooHandler, FooHandlerImpl>(); in getFooHandlerComponent()
Dbar_handler.cpp40 return fruit::createComponent().bind<BarHandler, BarHandlerImpl>(); in getBarHandlerComponent()
Drequest_dispatcher.cpp59 return createComponent() in getRequestDispatcherComponent()
/external/google-fruit/examples/scaling_doubles/
Dscaler.cpp22 using fruit::createComponent;
38 return createComponent().bind<Scaler, ScalerImpl>().install(getMultiplierComponent); in getScalerComponent()
Dmultiplier.cpp27 …return fruit::createComponent().bind<Multiplier, MultiplierImpl>().registerConstructor<MultiplierI… in getMultiplierComponent()
/external/google-fruit/examples/testing/
Dcached_greeter_test_with_normalized_component.cpp23 return fruit::createComponent() in getMainComponent()
31 return fruit::createComponent(); in getEmptyComponent()
Dgreeter.cpp29 return fruit::createComponent() in getGreeterComponent()
Dkey_value_storage.cpp38 return fruit::createComponent() in getKeyValueStorageComponent()
Dfake_key_value_storage.cpp38 return fruit::createComponent() in getFakeKeyValueStorageComponent()
Dcached_greeter.cpp47 return fruit::createComponent() in getCachedGreeterComponent()
Dcached_greeter_test.cpp22 return fruit::createComponent() in getMainComponent()
/external/google-fruit/examples/simple_injection/
Dsimple_incrementer.cpp23 …return fruit::createComponent().install(getIncrementerImplComponent).install(getSimpleAdderCompone… in getSimpleIncrementerComponent()
Dchecked_incrementer.cpp23 …return fruit::createComponent().install(getIncrementerImplComponent).install(getCheckedAdderCompon… in getCheckedIncrementerComponent()
Dsimple_adder.cpp29 return fruit::createComponent().bind<Adder, SimpleAdder>(); in getSimpleAdderComponent()
Dincrementer_impl.cpp32 return fruit::createComponent().bind<Incrementer, IncrementerImpl>(); in getIncrementerImplComponent()
Dchecked_adder.cpp74 return fruit::createComponent().bind<Adder, CheckedAdder>(); in getCheckedAdderComponent()
/external/google-fruit/test_package/
Dexample.cpp8 return fruit::createComponent(); in getXComponent()
/external/google-fruit/examples/annotated_injection/
Dmain_brake.cpp29 return fruit::createComponent().bind<fruit::Annotated<MainBrake, Brake>, MainBrakeImpl>(); in getMainBrakeComponent()
Demergency_brake.cpp29 …return fruit::createComponent().bind<fruit::Annotated<EmergencyBrake, Brake>, EmergencyBrakeImpl>(… in getEmergencyBrakeComponent()
Dcar.cpp41 return fruit::createComponent() in getCarComponent()
/external/google-fruit/examples/hello_world/
Dmain.cpp44 return fruit::createComponent().bind<Writer, StdoutWriter>().bind<Greeter, GreeterImpl>(); in getGreeterComponent()
/external/google-fruit/examples/multibindings/
Dmain.cpp67 return fruit::createComponent() in getListenersComponent()
/external/google-fruit/include/fruit/impl/
Dinjector.defn.h30 …Component<P...> component = fruit::createComponent().install(getComponent, std::forward<Args>(args… in Injector()
96 …Component<ComponentParams...> component = fruit::createComponent().install(getComponent, std::forw… in Injector()
Dnormalized_component.defn.h32 … fruit::createComponent().install(getComponent, std::forward<Args>(args)...)) in NormalizedComponent()

12