Home
last modified time | relevance | path

Searched refs:memory_pool (Results 1 – 25 of 34) sorted by relevance

12

/external/google-fruit/include/fruit/impl/normalized_component_storage/
Dnormalized_component_storage.defn.h26 …lizedComponentStorage::createLazyComponentWithNoArgsSet(size_t capacity, MemoryPool& memory_pool) { in createLazyComponentWithNoArgsSet() argument
28 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithNoArgs(), in createLazyComponentWithNoArgsSet()
33 NormalizedComponentStorage::createLazyComponentWithArgsSet(size_t capacity, MemoryPool& memory_pool in createLazyComponentWithArgsSet() argument
35 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithArgs(), in createLazyComponentWithArgsSet()
40 …entStorage::createLazyComponentWithNoArgsReplacementMap(size_t capacity, MemoryPool& memory_pool) { in createLazyComponentWithNoArgsReplacementMap() argument
42 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithNoArgs(), in createLazyComponentWithNoArgsReplacementMap()
47 …onentStorage::createLazyComponentWithArgsReplacementMap(size_t capacity, MemoryPool& memory_pool) { in createLazyComponentWithArgsReplacementMap() argument
49 capacity, memory_pool, NormalizedComponentStorage::HashLazyComponentWithArgs(), in createLazyComponentWithArgsReplacementMap()
Dnormalized_component_storage.h93 …yComponentWithNoArgsSet createLazyComponentWithNoArgsSet(size_t capacity, MemoryPool& memory_pool);
94 … LazyComponentWithArgsSet createLazyComponentWithArgsSet(size_t capacity, MemoryPool& memory_pool);
97 … MemoryPool& memory_pool);
99 … MemoryPool& memory_pool);
148 … const std::vector<TypeId, ArenaAllocator<TypeId>>& exposed_types, MemoryPool& memory_pool,
155 … const std::vector<TypeId, ArenaAllocator<TypeId>>& exposed_types, MemoryPool& memory_pool,
Dbinding_normalization.h63 … FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool,
75 … FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool,
88 FixedSizeVector<ComponentStorageEntry>&& toplevel_entries, MemoryPool& memory_pool,
117 … MemoryPool& memory_pool, MemoryPool& memory_pool_for_fully_expanded_components_maps,
138 … FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool,
162 … MemoryPool& memory_pool, const multibindings_vector_t& multibindings_vector,
269 MemoryPool& memory_pool; member
289 … NormalizedComponentStorage::createLazyComponentWithNoArgsSet(20 /* capacity */, memory_pool);
291 NormalizedComponentStorage::createLazyComponentWithArgsSet(20 /* capacity */, memory_pool);
303 … MemoryPool& memory_pool, MemoryPool& memory_pool_for_fully_expanded_components_maps,
Dbinding_normalization.templates.h37 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in BindingNormalizationContext() argument
41 : fixed_size_allocator_data(fixed_size_allocator_data), memory_pool(memory_pool), in BindingNormalizationContext()
46 ArenaAllocator<ComponentStorageEntry>(memory_pool)) { in BindingNormalizationContext()
76 MemoryPool& memory_pool, in normalizeBindings() argument
86 Context context(toplevel_entries, fixed_size_allocator_data, memory_pool, in normalizeBindings()
558 …hArenaAllocator<TypeId, BindingCompressionInfo>&& compressed_bindings_map, MemoryPool& memory_pool, in performBindingCompression() argument
563 result_t result = result_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in performBindingCompression()
672 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in normalizeBindingsWithBindingCompression() argument
684 … createHashMapWithArenaAllocator<TypeId, ComponentStorageEntry>(20 /* capacity */, memory_pool); in normalizeBindingsWithBindingCompression()
687 … createHashMapWithArenaAllocator<TypeId, BindingCompressionInfo>(20 /* capacity */, memory_pool); in normalizeBindingsWithBindingCompression()
[all …]
Dnormalized_component_storage_holder.h55 MemoryPool& memory_pool, WithUndoableCompression);
/external/ImageMagick/MagickCore/
Dmemory.c202 memory_pool; variable
364 next=memory_pool.blocks[i]; in InsertFreeBlock()
375 memory_pool.blocks[i]=block; in InsertFreeBlock()
389 memory_pool.blocks[i]=next; in RemoveFreeBlock()
409 block=memory_pool.blocks[i]; in AcquireBlock()
415 while (memory_pool.blocks[i] == (void *) NULL) in AcquireBlock()
417 block=memory_pool.blocks[i]; in AcquireBlock()
444 memory_pool.allocation+=size; in AcquireBlock()
491 (void) memset(&memory_pool,0,sizeof(memory_pool)); in AcquireMagickMemory()
492 memory_pool.allocation=SegmentSize; in AcquireMagickMemory()
[all …]
/external/google-fruit/include/fruit/impl/util/
Dhash_helpers.defn.h37 …etWithArenaAllocator<T> createHashSetWithArenaAllocator(size_t capacity, MemoryPool& memory_pool) { in createHashSetWithArenaAllocator() argument
38 …ithArenaAllocator<T>(capacity, std::hash<T>(), std::equal_to<T>(), ArenaAllocator<T>(memory_pool)); in createHashSetWithArenaAllocator()
43 createHashSetWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher h… in createHashSetWithArenaAllocatorAndCustomFunctors() argument
46 ArenaAllocator<T>(memory_pool)); in createHashSetWithArenaAllocatorAndCustomFunctors()
61 … MemoryPool& memory_pool) { in createHashMapWithArenaAllocator() argument
62 …return createHashMapWithArenaAllocatorAndCustomFunctors<Key, Value>(capacity, memory_pool, std::ha… in createHashMapWithArenaAllocator()
68 createHashMapWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher h… in createHashMapWithArenaAllocatorAndCustomFunctors() argument
71 … capacity, hasher, equality_comparator, ArenaAllocator<std::pair<const Key, Value>>(memory_pool)); in createHashMapWithArenaAllocatorAndCustomFunctors()
Dtype_info.defn.h149 std::vector<TypeId, ArenaAllocator<TypeId>> operator()(MemoryPool& memory_pool) {
150 …or<TypeId, ArenaAllocator<TypeId>>(std::initializer_list<TypeId>{getTypeId<Ts>()...}, memory_pool);
155 std::vector<TypeId, ArenaAllocator<TypeId>> getTypeIdsForList(MemoryPool& memory_pool) {
156 return GetTypeIdsForListHelper<L>()(memory_pool);
Dhash_helpers.h78 …SetWithArenaAllocator<T> createHashSetWithArenaAllocator(size_t capacity, MemoryPool& memory_pool);
82 createHashSetWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher, …
91 …enaAllocator<Key, Value> createHashMapWithArenaAllocator(size_t capacity, MemoryPool& memory_pool);
95 createHashMapWithArenaAllocatorAndCustomFunctors(size_t capacity, MemoryPool& memory_pool, Hasher, …
/external/google-fruit/src/
Dnormalized_component_storage.cpp45 … MemoryPool& memory_pool, WithPermanentCompression) in NormalizedComponentStorage() argument
59 …s_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in NormalizedComponentStorage()
61 … fixed_size_allocator_data, memory_pool, in NormalizedComponentStorage()
66 memory_pool); in NormalizedComponentStorage()
71 … MemoryPool& memory_pool, WithUndoableCompression) in NormalizedComponentStorage() argument
85 …s_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in NormalizedComponentStorage()
87 …std::move(component).release(), fixed_size_allocator_data, memory_pool, normalized_component_memor… in NormalizedComponentStorage()
94 memory_pool); in NormalizedComponentStorage()
Dinjector_storage.cpp70 MemoryPool& memory_pool) in InjectorStorage() argument
72 …std::move(component), exposed_types, memory_pool, NormalizedComponentStorage::WithPermanentCompres… in InjectorStorage()
75 (DummyNode<TypeId, NormalizedBinding>*)nullptr, memory_pool), in InjectorStorage()
84 MemoryPool& memory_pool) { in InjectorStorage() argument
88 …_t new_bindings_vector = new_bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in InjectorStorage()
90 …BindingNormalization::normalizeBindingsAndAddTo(std::move(component).release(), memory_pool, norma… in InjectorStorage()
96 BindingDataNodeIter{new_bindings_vector.end()}, memory_pool); in InjectorStorage()
Dbinding_normalization.cpp275 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in normalizeBindingsWithUndoableBindingCompression() argument
289 std::move(toplevel_entries), fixed_size_allocator_data, memory_pool, in normalizeBindingsWithUndoableBindingCompression()
315 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in normalizeBindingsWithPermanentBindingCompression() argument
320 …std::move(toplevel_entries), fixed_size_allocator_data, memory_pool, memory_pool, memory_pool, exp… in normalizeBindingsWithPermanentBindingCompression()
327 FixedSizeVector<ComponentStorageEntry>&& toplevel_entries, MemoryPool& memory_pool, in normalizeBindingsAndAddTo() argument
338 multibindings_vector_t(ArenaAllocator<multibindings_vector_elem_t>(memory_pool)); in normalizeBindingsAndAddTo()
341 … createHashMapWithArenaAllocator<TypeId, ComponentStorageEntry>(20 /* capacity */, memory_pool); in normalizeBindingsAndAddTo()
346 …std::move(toplevel_entries), fixed_size_allocator_data, memory_pool, memory_pool, memory_pool, bin… in normalizeBindingsAndAddTo()
391 createHashSetWithArenaAllocator<TypeId>(20 /* capacity */, memory_pool); in normalizeBindingsAndAddTo()
Dnormalized_component_storage_holder.cpp30 MemoryPool& memory_pool, WithUndoableCompression) in NormalizedComponentStorageHolder() argument
31 : storage(new NormalizedComponentStorage(std::move(component), exposed_types, memory_pool, in NormalizedComponentStorageHolder()
DCMakeLists.txt3 memory_pool.cpp
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dmemory_pool.c38 void memory_pool_init(struct memory_pool * pool) in memory_pool_init()
40 memset(pool, 0, sizeof(struct memory_pool)); in memory_pool_init()
44 void memory_pool_destroy(struct memory_pool * pool) in memory_pool_destroy()
53 static void refill_pool(struct memory_pool * pool) in refill_pool()
71 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes) in memory_pool_malloc()
Dmemory_pool.h37 struct memory_pool { struct
45 void memory_pool_init(struct memory_pool * pool); argument
46 void memory_pool_destroy(struct memory_pool * pool);
47 void * memory_pool_malloc(struct memory_pool * pool, unsigned int bytes);
Dradeon_list.h31 struct memory_pool;
39 struct rc_list * rc_list(struct memory_pool * pool, void * item);
/external/google-fruit/include/fruit/impl/
Dnormalized_component.defn.h38 fruit::impl::MemoryPool memory_pool) in NormalizedComponent() argument
42 fruit::impl::meta::Type<Params>...)>::Ps)>>(memory_pool), in NormalizedComponent()
43memory_pool, fruit::impl::NormalizedComponentStorageHolder::WithUndoableCompression()) {} in NormalizedComponent()
Dinjector.defn.h32 fruit::impl::MemoryPool memory_pool; in Injector() local
36 fruit::impl::ArenaAllocator<fruit::impl::TypeId>(memory_pool)); in Injector()
38 new fruit::impl::InjectorStorage(std::move(component.storage), exposed_types, memory_pool)); in Injector()
98 fruit::impl::MemoryPool memory_pool; in Injector() local
100 *(normalized_component.storage.storage), std::move(component.storage), memory_pool)); in Injector()
/external/google-fruit/include/fruit/impl/data_structures/
Dsemistatic_graph.templates.h84 …taticGraph<NodeId, Node>::SemistaticGraph(NodeIter first, NodeIter last, MemoryPool& memory_pool) { in SemistaticGraph() argument
87 …enaAllocator<NodeId> node_ids = createHashSetWithArenaAllocator<NodeId>(last - first, memory_pool); in SemistaticGraph()
103 memory_pool); in SemistaticGraph()
142 MemoryPool& memory_pool) in SemistaticGraph() argument
154 node_ids_t node_ids = node_ids_t(ArenaAllocator<node_ids_elem_t>(memory_pool)); in SemistaticGraph()
Darena_allocator.defn.h26 inline ArenaAllocator<T>::ArenaAllocator(MemoryPool& memory_pool) : pool(&memory_pool) {} in ArenaAllocator() argument
Dsemistatic_graph.h190 SemistaticGraph(NodeIter first, NodeIter last, MemoryPool& memory_pool);
206 SemistaticGraph(const SemistaticGraph& x, NodeIter first, NodeIter last, MemoryPool& memory_pool);
Dsemistatic_map.templates.h44 Iter values_begin, Iter values_end, std::size_t num_values, MemoryPool& memory_pool) { in SemistaticMap() argument
48 …r<Unsigned, ArenaAllocator<Unsigned>> count(num_buckets, 0, ArenaAllocator<Unsigned>(memory_pool)); in SemistaticMap()
/external/mesa3d/src/gallium/drivers/r300/
DMakefile.sources44 compiler/memory_pool.c \
45 compiler/memory_pool.h \
/external/google-fruit/include/fruit/
Dnormalized_component.h123 NormalizedComponent(fruit::impl::ComponentStorage&& storage, fruit::impl::MemoryPool memory_pool);

12