Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 25 of 785) sorted by relevance

12345678910>>...32

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dallocator.h75 class allocator<void> in _GLIBCXX_VISIBILITY()
89 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
104 allocator() = default; in _GLIBCXX_VISIBILITY()
105 ~allocator() = default; in _GLIBCXX_VISIBILITY()
109 allocator(const allocator<_Up>&) noexcept { } in _GLIBCXX_VISIBILITY()
129 class allocator : public __allocator_base<_Tp> in _GLIBCXX_VISIBILITY()
145 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
161 allocator() _GLIBCXX_NOTHROW { } in _GLIBCXX_VISIBILITY()
164 allocator(const allocator& __a) _GLIBCXX_NOTHROW in _GLIBCXX_VISIBILITY()
169 allocator& operator=(const allocator&) = default; in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/
H A Dallocator.h72 class allocator<void> in _GLIBCXX_VISIBILITY()
86 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
99 allocator() = default; in _GLIBCXX_VISIBILITY()
100 ~allocator() = default; in _GLIBCXX_VISIBILITY()
104 allocator(const allocator<_Up>&) noexcept { } in _GLIBCXX_VISIBILITY()
122 class allocator : public __allocator_base<_Tp> in _GLIBCXX_VISIBILITY()
138 { typedef allocator<_Tp1> other; }; in _GLIBCXX_VISIBILITY()
152 allocator() _GLIBCXX_NOTHROW { } in _GLIBCXX_VISIBILITY()
155 allocator(const allocator& __a) _GLIBCXX_NOTHROW in _GLIBCXX_VISIBILITY()
160 allocator& operator=(const allocator&) = default; in _GLIBCXX_VISIBILITY()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dpackage.d304 module std.experimental.allocator.building_blocks;
307 std.experimental.allocator.building_blocks.affix_allocator,
308 std.experimental.allocator.building_blocks.aligned_block_list,
309 std.experimental.allocator.building_blocks.allocator_list,
310 std.experimental.allocator.building_blocks.ascending_page_allocator,
311 std.experimental.allocator.building_blocks.bucketizer,
312 std.experimental.allocator.building_blocks.fallback_allocator,
313 std.experimental.allocator.building_blocks.free_list,
314 std.experimental.allocator.building_blocks.free_tree,
315 std.experimental.allocator.gc_allocator,
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
H A Dpackage.d295 module std.experimental.allocator.building_blocks;
298 std.experimental.allocator.building_blocks.affix_allocator,
299 std.experimental.allocator.building_blocks.allocator_list,
300 std.experimental.allocator.building_blocks.bucketizer,
301 std.experimental.allocator.building_blocks.fallback_allocator,
302 std.experimental.allocator.building_blocks.free_list,
303 std.experimental.allocator.building_blocks.free_tree,
304 std.experimental.allocator.gc_allocator,
305 std.experimental.allocator.building_blocks.bitmapped_block,
306 std.experimental.allocator.building_blocks.kernighan_ritchie,
[all …]
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h28 void Destroy(SizeClassAllocator *allocator, AllocatorGlobalStats *s) { in Destroy()
29 Drain(allocator); in Destroy()
34 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { in Allocate()
39 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
45 return reinterpret_cast<void *>(allocator->CompactPtrToPointer( in Allocate()
46 allocator->GetRegionBeginBySizeClass(class_id), chunk)); in Allocate()
49 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { in Deallocate()
57 DrainHalfMax(c, allocator, class_id); in Deallocate()
58 CompactPtrT chunk = allocator->PointerToCompactPtr( in Deallocate()
59 allocator->GetRegionBeginBySizeClass(class_id), in Deallocate()
[all …]
H A Dsanitizer_symbolizer_posix_libcdep.cpp267 LowLevelAllocator *allocator) in Addr2LinePool() argument
268 : addr2line_path_(addr2line_path), allocator_(allocator) { in Addr2LinePool()
401 static SymbolizerTool *ChooseExternalSymbolizer(LowLevelAllocator *allocator) { in ChooseExternalSymbolizer() argument
418 return new(*allocator) LLVMSymbolizer(path, allocator); in ChooseExternalSymbolizer()
422 return new(*allocator) AtosSymbolizer(path, allocator); in ChooseExternalSymbolizer()
429 return new(*allocator) Addr2LinePool(path, allocator); in ChooseExternalSymbolizer()
442 return new(*allocator) AtosSymbolizer(found_path, allocator); in ChooseExternalSymbolizer()
447 return new(*allocator) LLVMSymbolizer(found_path, allocator); in ChooseExternalSymbolizer()
452 return new(*allocator) Addr2LinePool(found_path, allocator); in ChooseExternalSymbolizer()
459 LowLevelAllocator *allocator) { in ChooseSymbolizerTools() argument
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h33 void Destroy(SizeClassAllocator *allocator, AllocatorGlobalStats *s) { in Destroy()
34 Drain(allocator); in Destroy()
39 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { in Allocate()
44 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
50 return reinterpret_cast<void *>(allocator->CompactPtrToPointer( in Allocate()
51 allocator->GetRegionBeginBySizeClass(class_id), chunk)); in Allocate()
54 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { in Deallocate()
62 Drain(c, allocator, class_id, c->max_count / 2); in Deallocate()
63 CompactPtrT chunk = allocator->PointerToCompactPtr( in Deallocate()
64 allocator->GetRegionBeginBySizeClass(class_id), in Deallocate()
[all …]
H A Dsanitizer_symbolizer_posix_libcdep.cc315 LowLevelAllocator *allocator) in Addr2LinePool() argument
316 : addr2line_path_(addr2line_path), allocator_(allocator) { in Addr2LinePool()
447 static SymbolizerTool *ChooseExternalSymbolizer(LowLevelAllocator *allocator) { in ChooseExternalSymbolizer() argument
455 return new(*allocator) LLVMSymbolizer(path, allocator); in ChooseExternalSymbolizer()
459 return new(*allocator) AtosSymbolizer(path, allocator); in ChooseExternalSymbolizer()
466 return new(*allocator) Addr2LinePool(path, allocator); in ChooseExternalSymbolizer()
479 return new(*allocator) AtosSymbolizer(found_path, allocator); in ChooseExternalSymbolizer()
484 return new(*allocator) LLVMSymbolizer(found_path, allocator); in ChooseExternalSymbolizer()
489 return new(*allocator) Addr2LinePool(found_path, allocator); in ChooseExternalSymbolizer()
496 LowLevelAllocator *allocator) { in ChooseSymbolizerTools() argument
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_allocator_local_cache.h35 void Destroy(SizeClassAllocator *allocator, AllocatorGlobalStats *s) { in Destroy()
36 Drain(allocator); in Destroy()
41 void *Allocate(SizeClassAllocator *allocator, uptr class_id) { in Allocate()
46 if (UNLIKELY(!Refill(c, allocator, class_id))) in Allocate()
52 return reinterpret_cast<void *>(allocator->CompactPtrToPointer( in Allocate()
53 allocator->GetRegionBeginBySizeClass(class_id), chunk)); in Allocate()
56 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) { in Deallocate()
64 Drain(c, allocator, class_id, c->max_count / 2); in Deallocate()
65 CompactPtrT chunk = allocator->PointerToCompactPtr( in Deallocate()
66 allocator->GetRegionBeginBySizeClass(class_id), in Deallocate()
[all …]
H A Dsanitizer_symbolizer_posix_libcdep.cc317 LowLevelAllocator *allocator) in Addr2LinePool() argument
318 : addr2line_path_(addr2line_path), allocator_(allocator) { in Addr2LinePool()
449 static SymbolizerTool *ChooseExternalSymbolizer(LowLevelAllocator *allocator) { in ChooseExternalSymbolizer() argument
457 return new(*allocator) LLVMSymbolizer(path, allocator); in ChooseExternalSymbolizer()
461 return new(*allocator) AtosSymbolizer(path, allocator); in ChooseExternalSymbolizer()
468 return new(*allocator) Addr2LinePool(path, allocator); in ChooseExternalSymbolizer()
481 return new(*allocator) AtosSymbolizer(found_path, allocator); in ChooseExternalSymbolizer()
486 return new(*allocator) LLVMSymbolizer(found_path, allocator); in ChooseExternalSymbolizer()
491 return new(*allocator) Addr2LinePool(found_path, allocator); in ChooseExternalSymbolizer()
498 LowLevelAllocator *allocator) { in ChooseSymbolizerTools() argument
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A Dallocator.c58 omp_allocator_handle_t allocator; member
195 omp_destroy_allocator (omp_allocator_handle_t allocator) in omp_destroy_allocator() argument
197 if (allocator != omp_null_allocator) in omp_destroy_allocator()
200 gomp_mutex_destroy (&((struct omp_allocator_data *) allocator)->lock); in omp_destroy_allocator()
202 free ((void *) allocator); in omp_destroy_allocator()
211 omp_allocator_handle_t allocator) in ialias()
222 if (allocator == omp_null_allocator) in ialias()
227 allocator = (omp_allocator_handle_t) thr->ts.def_allocator; in ialias()
230 if (allocator > omp_max_predefined_alloc) in ialias()
232 allocator_data = (struct omp_allocator_data *) allocator; in ialias()
[all …]
/netbsd-src/external/public-domain/xz/dist/src/liblzma/common/
H A Dstream_encoder.c62 block_encoder_init(lzma_stream_coder *coder, const lzma_allocator *allocator) in block_encoder_init() argument
75 return lzma_block_encoder_init(&coder->block_encoder, allocator, in block_encoder_init()
81 stream_encode(void *coder_ptr, const lzma_allocator *allocator, in stream_encode() argument
123 &coder->index_encoder, allocator, in stream_encode()
133 return_if_error(block_encoder_init(coder, allocator)); in stream_encode()
160 coder->block_encoder.coder, allocator, in stream_encode()
170 return_if_error(lzma_index_append(coder->index, allocator, in stream_encode()
182 coder->index_encoder.coder, allocator, in stream_encode()
214 stream_encoder_end(void *coder_ptr, const lzma_allocator *allocator) in stream_encoder_end() argument
218 lzma_next_end(&coder->block_encoder, allocator); in stream_encoder_end()
[all …]
H A Dcommon.c39 lzma_alloc(size_t size, const lzma_allocator *allocator) in lzma_alloc() argument
47 if (allocator != NULL && allocator->alloc != NULL) in lzma_alloc()
48 ptr = allocator->alloc(allocator->opaque, 1, size); in lzma_alloc()
57 lzma_alloc_zero(size_t size, const lzma_allocator *allocator) in lzma_alloc_zero() argument
65 if (allocator != NULL && allocator->alloc != NULL) { in lzma_alloc_zero()
66 ptr = allocator->alloc(allocator->opaque, 1, size); in lzma_alloc_zero()
78 lzma_free(void *ptr, const lzma_allocator *allocator) in lzma_free() argument
80 if (allocator != NULL && allocator->free != NULL) in lzma_free()
81 allocator->free(allocator->opaque, ptr); in lzma_free()
112 lzma_next_filter_init(lzma_next_coder *next, const lzma_allocator *allocator, in lzma_next_filter_init() argument
[all …]
H A Dstream_encoder_mt.c74 const lzma_allocator *allocator; member
228 thr->allocator, &thr->block_options); in worker_encode()
278 thr->block_encoder.coder, thr->allocator, in worker_encode()
413 lzma_next_end(&thr->block_encoder, thr->allocator); in worker_start()
414 lzma_free(thr->in, thr->allocator); in worker_start()
450 threads_end(lzma_stream_coder *coder, const lzma_allocator *allocator) in threads_end() argument
465 lzma_free(coder->threads, allocator); in threads_end()
473 const lzma_allocator *allocator) in initialize_new_thread() argument
477 thr->in = lzma_alloc(coder->block_size, allocator); in initialize_new_thread()
488 thr->allocator = allocator; in initialize_new_thread()
[all …]
H A Dcommon.h98 lzma_next_coder *next, const lzma_allocator *allocator,
106 void *coder, const lzma_allocator *allocator,
114 void *coder, const lzma_allocator *allocator);
173 lzma_ret (*update)(void *coder, const lzma_allocator *allocator,
229 extern void *lzma_alloc(size_t size, const lzma_allocator *allocator)
236 lzma_alloc_zero(size_t size, const lzma_allocator *allocator);
239 extern void lzma_free(void *ptr, const lzma_allocator *allocator);
251 const lzma_allocator *allocator,
257 lzma_next_coder *next, const lzma_allocator *allocator,
263 const lzma_allocator *allocator);
[all …]
H A Dindex_decoder.c57 index_decode(void *coder_ptr, const lzma_allocator *allocator, in index_decode() argument
141 coder->index, allocator, in index_decode()
212 index_decoder_end(void *coder_ptr, const lzma_allocator *allocator) in index_decoder_end() argument
215 lzma_index_end(coder->index, allocator); in index_decoder_end()
216 lzma_free(coder, allocator); in index_decoder_end()
242 index_decoder_reset(lzma_index_coder *coder, const lzma_allocator *allocator, in index_decoder_reset() argument
253 coder->index = lzma_index_init(allocator); in index_decoder_reset()
269 index_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, in index_decoder_init() argument
272 lzma_next_coder_init(&index_decoder_init, next, allocator); in index_decoder_init()
279 coder = lzma_alloc(sizeof(lzma_index_coder), allocator); in index_decoder_init()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/include/__memory/
H A Dallocator.h29 template <class _Tp> class allocator; variable
33 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 allocator<void>
40 template <class _Up> struct rebind {typedef allocator<_Up> other;};
44 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 allocator<const void>
51 template <class _Up> struct rebind {typedef allocator<_Up> other;};
58 class _LIBCPP_TEMPLATE_VIS allocator
68 allocator() _NOEXCEPT { } in allocator() function
72 allocator(const allocator<_Up>&) _NOEXCEPT { } in allocator() function
76 if (__n > allocator_traits<allocator>::max_size(*this)) in allocate()
104 typedef allocator<_Up> other;
[all …]
/netbsd-src/external/public-domain/xz/dist/src/liblzma/simple/
H A Dsimple_coder.h20 const lzma_allocator *allocator,
24 const lzma_allocator *allocator,
29 const lzma_allocator *allocator,
33 const lzma_allocator *allocator,
38 const lzma_allocator *allocator,
42 const lzma_allocator *allocator,
47 const lzma_allocator *allocator,
51 const lzma_allocator *allocator,
56 const lzma_allocator *allocator,
60 const lzma_allocator *allocator,
[all …]
/netbsd-src/external/public-domain/xz/dist/src/liblzma/lz/
H A Dlz_encoder.c81 fill_window(lzma_coder *coder, const lzma_allocator *allocator, in fill_window() argument
105 ret = coder->next.code(coder->next.coder, allocator, in fill_window()
160 lz_encode(void *coder_ptr, const lzma_allocator *allocator, in lz_encode() argument
173 return_if_error(fill_window(coder, allocator, in lz_encode()
193 lz_encoder_prepare(lzma_mf *mf, const lzma_allocator *allocator, in lz_encoder_prepare() argument
234 lzma_free(mf->buffer, allocator); in lz_encoder_prepare()
350 lzma_free(mf->hash, allocator); in lz_encoder_prepare()
353 lzma_free(mf->son, allocator); in lz_encoder_prepare()
371 lz_encoder_init(lzma_mf *mf, const lzma_allocator *allocator, in lz_encoder_init() argument
380 allocator); in lz_encoder_init()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/
H A DMakefile.am94 std/experimental/allocator/building_blocks/affix_allocator.d \
95 std/experimental/allocator/building_blocks/allocator_list.d \
96 std/experimental/allocator/building_blocks/bitmapped_block.d \
97 std/experimental/allocator/building_blocks/bucketizer.d \
98 std/experimental/allocator/building_blocks/fallback_allocator.d \
99 std/experimental/allocator/building_blocks/free_list.d \
100 std/experimental/allocator/building_blocks/free_tree.d \
101 std/experimental/allocator/building_blocks/kernighan_ritchie.d \
102 std/experimental/allocator/building_blocks/null_allocator.d \
103 std/experimental/allocator/building_blocks/package.d \
[all …]
H A DMakefile.in188 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/affix_allocator.lo \
189 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/allocator_list.lo \
190 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/bitmapped_block.lo \
191 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/bucketizer.lo \
192 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/fallback_allocator.lo \
193 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/free_list.lo \
194 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/free_tree.lo \
195 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/kernighan_ritchie.lo \
196 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/null_allocator.lo \
197 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/package.lo \
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/
H A DMakefile.am103 std/experimental/allocator/building_blocks/affix_allocator.d \
104 std/experimental/allocator/building_blocks/aligned_block_list.d \
105 std/experimental/allocator/building_blocks/allocator_list.d \
106 std/experimental/allocator/building_blocks/ascending_page_allocator.d \
107 std/experimental/allocator/building_blocks/bitmapped_block.d \
108 std/experimental/allocator/building_blocks/bucketizer.d \
109 std/experimental/allocator/building_blocks/fallback_allocator.d \
110 std/experimental/allocator/building_blocks/free_list.d \
111 std/experimental/allocator/building_blocks/free_tree.d \
112 std/experimental/allocator/building_blocks/kernighan_ritchie.d \
[all …]
H A DMakefile.in191 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/affix_allocator.lo \
192 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/aligned_block_list.lo \
193 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/allocator_list.lo \
194 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/ascending_page_allocator…
195 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/bitmapped_block.lo \
196 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/bucketizer.lo \
197 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/fallback_allocator.lo \
198 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/free_list.lo \
199 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/free_tree.lo \
200 @ENABLE_LIBDRUNTIME_ONLY_FALSE@ std/experimental/allocator/building_blocks/kernighan_ritchie.lo \
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/lsan/
H A Dlsan_allocator.cc38 static Allocator allocator; variable
42 allocator.InitLinkerInitialized( in InitializeAllocator()
47 allocator.SwallowCache(GetAllocatorCache()); in AllocatorThreadFinish()
51 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); in Metadata()
85 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); in Allocate()
93 if (cleared && allocator.FromPrimary(p)) in Allocate()
115 allocator.Deallocate(GetAllocatorCache(), p); in Deallocate()
122 allocator.Deallocate(GetAllocatorCache(), p); in Reallocate()
125 p = allocator.Reallocate(GetAllocatorCache(), p, new_size, alignment); in Reallocate()
218 allocator.ForceLock(); in LockAllocator()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp374 llvm::BumpPtrAllocator &allocator() { return Arena.getAllocator(); } in allocator() function in syntax::TreeBuilder
717 new (allocator()) syntax::UnknownDeclaration(), D); in VisitDecl()
760 syntax::Declaration *Result = new (allocator()) syntax::SimpleDeclaration; in handleFreeStandingTagDecl()
793 new (allocator()) syntax::CompoundStatement, S); in WalkUpFromCompoundStmt()
800 new (allocator()) syntax::UnknownStatement, S); in WalkUpFromStmt()
868 new (allocator()) syntax::UnknownExpression, E); in WalkUpFromExpr()
885 return new (allocator()) syntax::IntegerUserDefinedLiteralExpression; in buildUserDefinedLiteral()
887 return new (allocator()) syntax::FloatUserDefinedLiteralExpression; in buildUserDefinedLiteral()
889 return new (allocator()) syntax::CharUserDefinedLiteralExpression; in buildUserDefinedLiteral()
891 return new (allocator()) syntax::StringUserDefinedLiteralExpression; in buildUserDefinedLiteral()
[all …]

12345678910>>...32