Home
last modified time | relevance | path

Searched refs:memory_pool (Results 1 – 25 of 36) 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.h35 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in BindingNormalizationContext() argument
39 : fixed_size_allocator_data(fixed_size_allocator_data), memory_pool(memory_pool), in BindingNormalizationContext()
44 ArenaAllocator<ComponentStorageEntry>(memory_pool)) { in BindingNormalizationContext()
74 MemoryPool& memory_pool, in normalizeBindings() argument
84 Context context(toplevel_entries, fixed_size_allocator_data, memory_pool, in normalizeBindings()
556 …hArenaAllocator<TypeId, BindingCompressionInfo>&& compressed_bindings_map, MemoryPool& memory_pool, in performBindingCompression() argument
561 result_t result = result_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in performBindingCompression()
670 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in normalizeBindingsWithBindingCompression() argument
682 … createHashMapWithArenaAllocator<TypeId, ComponentStorageEntry>(20 /* capacity */, memory_pool); in normalizeBindingsWithBindingCompression()
685 … createHashMapWithArenaAllocator<TypeId, BindingCompressionInfo>(20 /* capacity */, memory_pool); in normalizeBindingsWithBindingCompression()
[all …]
Dnormalized_component_storage_holder.h56 MemoryPool& memory_pool, WithUndoableCompression);
/external/ImageMagick/MagickCore/
Dmemory.c238 memory_pool; variable
444 next=memory_pool.blocks[i]; in InsertFreeBlock()
455 memory_pool.blocks[i]=block; in InsertFreeBlock()
469 memory_pool.blocks[i]=next; in RemoveFreeBlock()
489 block=memory_pool.blocks[i]; in AcquireBlock()
495 while (memory_pool.blocks[i] == (void *) NULL) in AcquireBlock()
497 block=memory_pool.blocks[i]; in AcquireBlock()
524 memory_pool.allocation+=size; in AcquireBlock()
571 (void) memset(&memory_pool,0,sizeof(memory_pool)); in AcquireMagickMemory()
572 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 …r<TypeId>>(std::initializer_list<TypeId>{getTypeId<Ts>()...}, ArenaAllocator<TypeId>{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.cpp42 … MemoryPool& memory_pool, WithPermanentCompression) in NormalizedComponentStorage() argument
56 …s_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in NormalizedComponentStorage()
58 … fixed_size_allocator_data, memory_pool, in NormalizedComponentStorage()
63 memory_pool); in NormalizedComponentStorage()
68 … MemoryPool& memory_pool, WithUndoableCompression) in NormalizedComponentStorage() argument
82 …s_vector_t bindings_vector = bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in NormalizedComponentStorage()
84 …std::move(component).release(), fixed_size_allocator_data, memory_pool, normalized_component_memor… in NormalizedComponentStorage()
91 memory_pool); in NormalizedComponentStorage()
Dbinding_normalization.cpp273 FixedSizeAllocator::FixedSizeAllocatorData& fixed_size_allocator_data, MemoryPool& memory_pool, in normalizeBindingsWithUndoableBindingCompression() argument
287 std::move(toplevel_entries), fixed_size_allocator_data, memory_pool, in normalizeBindingsWithUndoableBindingCompression()
293 …[&fully_expanded_components_with_no_args, &memory_pool](LazyComponentWithNoArgsSet& fully_expanded… in normalizeBindingsWithUndoableBindingCompression()
295 …expanded_components = NormalizedComponentStorage::createLazyComponentWithNoArgsSet(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
297 …[&fully_expanded_components_with_args, &memory_pool](LazyComponentWithArgsSet& fully_expanded_comp… in normalizeBindingsWithUndoableBindingCompression()
299 …y_expanded_components = NormalizedComponentStorage::createLazyComponentWithArgsSet(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
301 …[&component_with_no_args_replacements, &memory_pool](LazyComponentWithNoArgsReplacementMap& compon… in normalizeBindingsWithUndoableBindingCompression()
303 …acements = NormalizedComponentStorage::createLazyComponentWithNoArgsReplacementMap(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
305 …[&component_with_args_replacements, &memory_pool](LazyComponentWithArgsReplacementMap& component_r… in normalizeBindingsWithUndoableBindingCompression()
307 …placements = NormalizedComponentStorage::createLazyComponentWithArgsReplacementMap(0, memory_pool); in normalizeBindingsWithUndoableBindingCompression()
[all …]
Dinjector_storage.cpp68 MemoryPool& memory_pool) in InjectorStorage() argument
70 …std::move(component), exposed_types, memory_pool, NormalizedComponentStorage::WithPermanentCompres… in InjectorStorage()
73 (DummyNode<TypeId, NormalizedBinding>*)nullptr, memory_pool), in InjectorStorage()
82 MemoryPool& memory_pool) { in InjectorStorage() argument
86 …_t new_bindings_vector = new_bindings_vector_t(ArenaAllocator<ComponentStorageEntry>(memory_pool)); in InjectorStorage()
88 …BindingNormalization::normalizeBindingsAndAddTo(std::move(component).release(), memory_pool, norma… in InjectorStorage()
94 BindingDataNodeIter{new_bindings_vector.end()}, memory_pool); in InjectorStorage()
Dnormalized_component_storage_holder.cpp27 MemoryPool& memory_pool, WithUndoableCompression) in NormalizedComponentStorageHolder() argument
28 : 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);
/external/google-fruit/tests/
Dtest_common.cpp28 …ctor<SimpleNode>::iterator first, std::vector<SimpleNode>::iterator last, MemoryPool& memory_pool);
29 …ctor<SimpleNode>::iterator first, std::vector<SimpleNode>::iterator last, MemoryPool& memory_pool);
/external/mesa3d/src/gallium/drivers/r300/
DMakefile.sources44 compiler/memory_pool.c \
45 compiler/memory_pool.h \
/external/webrtc/sdk/objc/unittests/
Dnalu_rewriter_xctest.mm229 CMMemoryPoolRef memory_pool = CMMemoryPoolCreate(nil);
237 memory_pool);
259 CMMemoryPoolInvalidate(memory_pool);
260 CFRelease(memory_pool);

12