/external/google-fruit/include/fruit/impl/normalized_component_storage/ |
D | binding_normalization.templates.h | 34 FixedSizeVector<ComponentStorageEntry>& toplevel_entries, in BindingNormalizationContext() 37 HashMapWithArenaAllocator<TypeId, ComponentStorageEntry>& binding_data_map, in BindingNormalizationContext() 44 ArenaAllocator<ComponentStorageEntry>(memory_pool)) { in BindingNormalizationContext() 54 …for (const ComponentStorageEntry::LazyComponentWithArgs& x : fully_expanded_components_with_args) { in ~BindingNormalizationContext() 60 const ComponentStorageEntry& replacement_component = pair.second; in ~BindingNormalizationContext() 66 const ComponentStorageEntry& replacement_component = pair.second; in ~BindingNormalizationContext() 72 void BindingNormalization::normalizeBindings(FixedSizeVector<ComponentStorageEntry>&& toplevel_entr… in normalizeBindings() 77 … HashMapWithArenaAllocator<TypeId, ComponentStorageEntry>& binding_data_map, in normalizeBindings() 93 case ComponentStorageEntry::Kind::BINDING_FOR_CONSTRUCTED_OBJECT: in normalizeBindings() 97 case ComponentStorageEntry::Kind::BINDING_FOR_OBJECT_TO_CONSTRUCT_THAT_NEEDS_ALLOCATION: in normalizeBindings() [all …]
|
D | binding_normalization.h | 47 using LazyComponentWithNoArgs = ComponentStorageEntry::LazyComponentWithNoArgs; 48 using LazyComponentWithArgs = ComponentStorageEntry::LazyComponentWithArgs; 62 FixedSizeVector<ComponentStorageEntry>&& toplevel_entries, 65 std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>& bindings_vector, 74 FixedSizeVector<ComponentStorageEntry>&& toplevel_entries, 79 std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>& bindings_vector, 88 FixedSizeVector<ComponentStorageEntry>&& toplevel_entries, MemoryPool& memory_pool, 91 … std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>& new_bindings_vector, 95 using multibindings_vector_elem_t = std::pair<ComponentStorageEntry, ComponentStorageEntry>; 108 …const std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>& entries_to_proces… [all …]
|
D | normalized_bindings.h | 30 ComponentStorageEntry::BindingForConstructedObject::object_ptr_t object; 33 ComponentStorageEntry::BindingForObjectToConstruct::create_t create; 47 explicit NormalizedBinding(ComponentStorageEntry entry); 57 ComponentStorageEntry::MultibindingForConstructedObject::object_ptr_t object; 60 ComponentStorageEntry::MultibindingForObjectToConstruct::create_t create; 73 …ComponentStorageEntry::MultibindingVectorCreator::get_multibindings_vector_t get_multibindings_vec…
|
D | normalized_bindings.defn.h | 25 inline NormalizedBinding::NormalizedBinding(ComponentStorageEntry entry) { in NormalizedBinding() 27 case ComponentStorageEntry::Kind::BINDING_FOR_CONSTRUCTED_OBJECT: in NormalizedBinding() 34 case ComponentStorageEntry::Kind::BINDING_FOR_OBJECT_TO_CONSTRUCT_THAT_NEEDS_ALLOCATION: in NormalizedBinding() 35 case ComponentStorageEntry::Kind::BINDING_FOR_OBJECT_TO_CONSTRUCT_THAT_NEEDS_NO_ALLOCATION: in NormalizedBinding() 36 case ComponentStorageEntry::Kind::BINDING_FOR_OBJECT_TO_CONSTRUCT_WITH_UNKNOWN_ALLOCATION: in NormalizedBinding()
|
D | normalized_component_storage.h | 49 ComponentStorageEntry::BindingForObjectToConstruct i_binding; 50 ComponentStorageEntry::BindingForObjectToConstruct c_binding; 58 using LazyComponentWithNoArgs = ComponentStorageEntry::LazyComponentWithNoArgs; 59 using LazyComponentWithArgs = ComponentStorageEntry::LazyComponentWithArgs; 85 HashMapWithArenaAllocator<LazyComponentWithNoArgs, ComponentStorageEntry, 89 HashMapWithArenaAllocator<LazyComponentWithArgs, ComponentStorageEntry,
|
D | normalized_component_storage.defn.h | 41 …n createHashMapWithArenaAllocatorAndCustomFunctors<LazyComponentWithNoArgs, ComponentStorageEntry>( in createLazyComponentWithNoArgsReplacementMap() 48 …urn createHashMapWithArenaAllocatorAndCustomFunctors<LazyComponentWithArgs, ComponentStorageEntry>( in createLazyComponentWithArgsReplacementMap()
|
/external/google-fruit/include/fruit/impl/component_storage/ |
D | component_storage_entry.defn.h | 30 inline ComponentStorageEntry ComponentStorageEntry::copy() const { in copy() 32 ComponentStorageEntry result; in copy() 50 inline void ComponentStorageEntry::destroy() const { in destroy() 67 inline ComponentStorageEntry::LazyComponentWithArgs::ComponentInterface::ComponentInterface(erased_… in ComponentInterface() 71 class ComponentInterfaceImpl : public ComponentStorageEntry::LazyComponentWithArgs::ComponentInterf… 73 using ComponentInterface = ComponentStorageEntry::LazyComponentWithArgs::ComponentInterface; 83 …areParamsEqual(const ComponentStorageEntry::LazyComponentWithArgs::ComponentInterface& other) cons… in areParamsEqual() 93 … FixedSizeVector<ComponentStorageEntry> component_entries = std::move(component.storage).release(); in addBindings() 113 inline ComponentStorageEntry ComponentStorageEntry::LazyComponentWithArgs::create(Component (*fun)(… in create() 115 ComponentStorageEntry result; in create() [all …]
|
D | component_storage_entry.h | 35 struct ComponentStorageEntry { struct 193 … using entry_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>; argument 203 static ComponentStorageEntry create(Component (*fun)()); 206 static ComponentStorageEntry create(fruit::ComponentFunction<Component> component_function); 209 static ComponentStorageEntry createReplacedComponentEntry(Component (*fun)()); 212 static ComponentStorageEntry createReplacementComponentEntry(Component (*fun)()); 239 … using entry_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>; argument 262 static ComponentStorageEntry create(Component (*fun)(Args...), std::tuple<Args...> args_tuple); 265 …static ComponentStorageEntry create(fruit::ComponentFunction<Component, Arg, Args...> component_fu… 268 static ComponentStorageEntry createReplacedComponentEntry(Component (*fun)(Args...), [all …]
|
D | partial_component_storage.defn.h | 34 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 52 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 70 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 89 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 109 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 129 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 150 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 170 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 189 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() 210 void addBindings(FixedSizeVector<ComponentStorageEntry>& entries) const { in addBindings() [all …]
|
D | component_storage.defn.h | 26 inline ComponentStorage::ComponentStorage(FixedSizeVector<ComponentStorageEntry>&& entries) noexcept in ComponentStorage() 38 for (ComponentStorageEntry& entry : entries) { in destroy() 48 inline FixedSizeVector<ComponentStorageEntry> ComponentStorage::release() && { in release() 59 entries = FixedSizeVector<ComponentStorageEntry>(other.entries.size()); 60 for (const ComponentStorageEntry& entry : other.entries) {
|
D | component_storage.h | 40 FixedSizeVector<ComponentStorageEntry> entries; 46 explicit ComponentStorage(FixedSizeVector<ComponentStorageEntry>&& entries) noexcept; 52 FixedSizeVector<ComponentStorageEntry> release() &&;
|
/external/google-fruit/src/ |
D | binding_normalization.cpp | 39 …const std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>& entries_to_proces… in printLazyComponentInstallationLoop() argument 40 const ComponentStorageEntry& last_entry) { in printLazyComponentInstallationLoop() 43 for (const ComponentStorageEntry& entry : entries_to_process) { in printLazyComponentInstallationLoop() 45 case ComponentStorageEntry::Kind::COMPONENT_WITH_ARGS_END_MARKER: in printLazyComponentInstallationLoop() 47 last_entry.kind == ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_ARGS && in printLazyComponentInstallationLoop() 54 case ComponentStorageEntry::Kind::COMPONENT_WITHOUT_ARGS_END_MARKER: in printLazyComponentInstallationLoop() 56 last_entry.kind == ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_NO_ARGS && in printLazyComponentInstallationLoop() 69 case ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_ARGS: in printLazyComponentInstallationLoop() 73 case ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_NO_ARGS: in printLazyComponentInstallationLoop() 98 …const ComponentStorageEntry& replaced_component_entry, const ComponentStorageEntry& replacement_co… in printIncompatibleComponentReplacementsError() [all …]
|
D | normalized_component_storage.cpp | 55 …using bindings_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>… in NormalizedComponentStorage() 56 …bindings_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory… in NormalizedComponentStorage() 81 …using bindings_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>… in NormalizedComponentStorage() 82 …bindings_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory… in NormalizedComponentStorage() 101 const ComponentStorageEntry& replacement_component = pair.second; in ~NormalizedComponentStorage() 107 const ComponentStorageEntry& replacement_component = pair.second; in ~NormalizedComponentStorage()
|
D | injector_storage.cpp | 85 …using new_bindings_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEn… in InjectorStorage() 86 …ctor_t new_bindings_vector = new_bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_po… in InjectorStorage()
|
/external/google-fruit/include/fruit/impl/injector/ |
D | injector_storage.defn.h | 58 FruitAssert(itr->kind != ComponentStorageEntry::Kind::COMPRESSED_BINDING); in getId() 59 FruitAssert(itr->kind != ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_NO_ARGS); in getId() 60 FruitAssert(itr->kind != ComponentStorageEntry::Kind::REPLACED_LAZY_COMPONENT_WITH_NO_ARGS); in getId() 61 FruitAssert(itr->kind != ComponentStorageEntry::Kind::REPLACEMENT_LAZY_COMPONENT_WITH_NO_ARGS); in getId() 62 FruitAssert(itr->kind != ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_ARGS); in getId() 63 FruitAssert(itr->kind != ComponentStorageEntry::Kind::REPLACED_LAZY_COMPONENT_WITH_ARGS); in getId() 64 FruitAssert(itr->kind != ComponentStorageEntry::Kind::REPLACEMENT_LAZY_COMPONENT_WITH_ARGS); in getId() 74 if (itr->kind != ComponentStorageEntry::Kind::BINDING_FOR_CONSTRUCTED_OBJECT && in isTerminal() 75 … itr->kind != ComponentStorageEntry::Kind::BINDING_FOR_OBJECT_TO_CONSTRUCT_THAT_NEEDS_ALLOCATION && in isTerminal() 76 …itr->kind != ComponentStorageEntry::Kind::BINDING_FOR_OBJECT_TO_CONSTRUCT_THAT_NEEDS_NO_ALLOCATION… in isTerminal() [all …]
|
D | injector_storage.h | 86 static ComponentStorageEntry createComponentStorageEntryForBind(); 89 static ComponentStorageEntry createComponentStorageEntryForConstBind(); 92 static ComponentStorageEntry createComponentStorageEntryForBindInstance(C& instance); 95 static ComponentStorageEntry createComponentStorageEntryForBindConstInstance(const C& instance); 98 static ComponentStorageEntry createComponentStorageEntryForProvider(); 101 static ComponentStorageEntry createComponentStorageEntryForCompressedProvider(); 104 static ComponentStorageEntry createComponentStorageEntryForConstructor(); 107 static ComponentStorageEntry createComponentStorageEntryForCompressedConstructor(); 110 static ComponentStorageEntry createComponentStorageEntryForMultibindingVectorCreator(); 113 static ComponentStorageEntry createComponentStorageEntryForMultibinding(); [all …]
|
/external/google-fruit/include/fruit/impl/ |
D | component_functors.defn.h | 68 void operator()(FixedSizeVector<ComponentStorageEntry>&) {} in operator() 86 void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { in operator() 150 void operator()(FixedSizeVector<ComponentStorageEntry>&) {} 182 void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { 195 void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { 216 void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { 239 inline void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { 252 inline void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { 273 void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { 345 void operator()(FixedSizeVector<ComponentStorageEntry>& entries) { [all …]
|
D | fruit_internal_forward_decls.h | 30 struct ComponentStorageEntry;
|
D | component.defn.h | 64 fruit::impl::FixedSizeVector<fruit::impl::ComponentStorageEntry> entries(num_entries); in Component()
|
/external/google-fruit/include/fruit/ |
D | component_function.h | 39 friend struct fruit::impl::ComponentStorageEntry;
|
D | component.h | 82 friend struct fruit::impl::ComponentStorageEntry::LazyComponentWithNoArgs;
|