/external/google-fruit/include/fruit/impl/normalized_component_storage/ |
D | binding_normalization.templates.h | 36 FixedSizeVector<ComponentStorageEntry>& toplevel_entries, in BindingNormalizationContext() 39 HashMapWithArenaAllocator<TypeId, ComponentStorageEntry>& binding_data_map, in BindingNormalizationContext() 46 ArenaAllocator<ComponentStorageEntry>(memory_pool)) { in BindingNormalizationContext() 56 …for (const ComponentStorageEntry::LazyComponentWithArgs& x : fully_expanded_components_with_args) { in ~BindingNormalizationContext() 62 const ComponentStorageEntry& replacement_component = pair.second; in ~BindingNormalizationContext() 68 const ComponentStorageEntry& replacement_component = pair.second; in ~BindingNormalizationContext() 74 void BindingNormalization::normalizeBindings(FixedSizeVector<ComponentStorageEntry>&& toplevel_entr… in normalizeBindings() 79 … HashMapWithArenaAllocator<TypeId, ComponentStorageEntry>& binding_data_map, in normalizeBindings() 95 case ComponentStorageEntry::Kind::BINDING_FOR_CONSTRUCTED_OBJECT: in normalizeBindings() 99 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) 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 ComponentStorage(FixedSizeVector<ComponentStorageEntry>&& entries); 52 FixedSizeVector<ComponentStorageEntry> release() &&;
|
/external/google-fruit/src/ |
D | binding_normalization.cpp | 41 …const std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>>& entries_to_proces… in printLazyComponentInstallationLoop() argument 42 const ComponentStorageEntry& last_entry) { in printLazyComponentInstallationLoop() 45 for (const ComponentStorageEntry& entry : entries_to_process) { in printLazyComponentInstallationLoop() 47 case ComponentStorageEntry::Kind::COMPONENT_WITH_ARGS_END_MARKER: in printLazyComponentInstallationLoop() 49 last_entry.kind == ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_ARGS && in printLazyComponentInstallationLoop() 56 case ComponentStorageEntry::Kind::COMPONENT_WITHOUT_ARGS_END_MARKER: in printLazyComponentInstallationLoop() 58 last_entry.kind == ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_NO_ARGS && in printLazyComponentInstallationLoop() 71 case ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_ARGS: in printLazyComponentInstallationLoop() 75 case ComponentStorageEntry::Kind::LAZY_COMPONENT_WITH_NO_ARGS: in printLazyComponentInstallationLoop() 100 …const ComponentStorageEntry& replaced_component_entry, const ComponentStorageEntry& replacement_co… in printIncompatibleComponentReplacementsError() [all …]
|
D | normalized_component_storage.cpp | 58 …using bindings_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>… in NormalizedComponentStorage() 59 …bindings_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory… in NormalizedComponentStorage() 84 …using bindings_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEntry>… in NormalizedComponentStorage() 85 …bindings_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory… in NormalizedComponentStorage() 104 const ComponentStorageEntry& replacement_component = pair.second; in ~NormalizedComponentStorage() 110 const ComponentStorageEntry& replacement_component = pair.second; in ~NormalizedComponentStorage()
|
D | injector_storage.cpp | 87 …using new_bindings_vector_t = std::vector<ComponentStorageEntry, ArenaAllocator<ComponentStorageEn… in InjectorStorage() 88 …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 | 85 static ComponentStorageEntry createComponentStorageEntryForBind(); 88 static ComponentStorageEntry createComponentStorageEntryForConstBind(); 91 static ComponentStorageEntry createComponentStorageEntryForBindInstance(C& instance); 94 static ComponentStorageEntry createComponentStorageEntryForBindConstInstance(const C& instance); 97 static ComponentStorageEntry createComponentStorageEntryForProvider(); 100 static ComponentStorageEntry createComponentStorageEntryForCompressedProvider(); 103 static ComponentStorageEntry createComponentStorageEntryForConstructor(); 106 static ComponentStorageEntry createComponentStorageEntryForCompressedConstructor(); 109 static ComponentStorageEntry createComponentStorageEntryForMultibindingVectorCreator(); 112 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;
|