| /src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| elements_of.h | 40 # include <bits/allocator.h> // likely desirable if hosted. 55 template<range _Range, typename _Alloc = allocator<byte>> 59 [[no_unique_address]] _Alloc allocator = _Alloc(); member in struct:ranges::elements_of 62 template<typename _Range, typename _Alloc = allocator<byte>>
|
| allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 61 // Since C++20 the primary template should be used for allocator<void>, 64 // different standard dialects. So C++20 still uses the allocator<void> 68 /** std::allocator<void> specialization. 73 class allocator<void> class 87 { typedef allocator<_Tp1> other; }; 92 // 2103. std::allocator propagate_on_container_move_assignment 102 allocator() = default 128 class allocator : public __allocator_base<_Tp> class in inherits:__allocator_base 253 class allocator<const _Tp> class 257 allocator() { } function in class:allocator 258 template<typename _Up> allocator(const allocator<_Up>&) { } function in class:allocator 262 class allocator<volatile _Tp> class 266 allocator() { } function in class:allocator 267 template<typename _Up> allocator(const allocator<_Up>&) { } function in class:allocator 271 class allocator<const volatile _Tp> class 275 allocator() { } function in class:allocator 276 template<typename _Up> allocator(const allocator<_Up>&) { } function in class:allocator [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/ |
| pretty-print.cc | 23 template <typename> struct allocator {}; struct in namespace:std 30 typename = allocator<_CharT>> 40 template <typename _Tp> struct allocator_traits<allocator<_Tp>> { 46 struct __alloc_traits : std::allocator_traits<std::allocator<char>> {}; 62 _Alloc_hider(__alloc_traits::pointer, const allocator<char> &); 65 basic_string(char *, allocator<char> __a = allocator<char>())
|
| /src/external/apache2/llvm/dist/libcxx/include/__memory/ |
| allocator.h | 29 template <class _Tp> class allocator; 33 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 allocator<void> class 40 template <class _Up> struct rebind {typedef allocator<_Up> other;}; 44 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 allocator<const void> class 51 template <class _Up> struct rebind {typedef allocator<_Up> other;}; 55 // allocator 58 class _LIBCPP_TEMPLATE_VIS allocator class 68 allocator() _NOEXCEPT { } 72 allocator(const allocator<_Up>&) _NOEXCEPT { 139 class _LIBCPP_TEMPLATE_VIS allocator<const _Tp> class [all...] |
| shared_ptr.h | 18 #include <__memory/allocator.h> 328 // with Allocator construction for _Tp. To allow implementing P0674 in C++20, 362 class _LIBCPP_TEMPLATE_VIS allocator<__shared_ptr_dummy_rebind_allocator_type> class 368 typedef allocator<_Other> other; 640 typedef allocator<_Yp> type; 646 typedef allocator<__shared_ptr_dummy_rebind_allocator_type> type; 891 typedef __shared_ptr_pointer<_Yp*, default_delete<_Yp>, allocator<_Yp> > _CntrlBlk; 892 __cntrl_ = new _CntrlBlk(__r.get(), default_delete<_Yp>(), allocator<_Yp>()); 1110 return _VSTD::allocate_shared<_Tp>(allocator<_Tp>(), _VSTD::forward<_Args>(__args)...);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
| allocator.h | 38 /** @file bits/allocator.h 46 #include <bits/c++allocator.h> // Define the base class to std::allocator. 63 // Since C++20 the primary template should be used for allocator<void>, 66 // different standard dialects. So C++20 still uses the allocator<void> 70 /** std::allocator<void> specialization. 75 class allocator<void> class 89 { typedef allocator<_Tp1> other; }; 94 // 2103. std::allocator propagate_on_container_move_assignment 104 allocator() = default 129 class allocator : public __allocator_base<_Tp> class in inherits:__allocator_base 246 class allocator<const _Tp> class 250 allocator() { } function in class:allocator 251 template<typename _Up> allocator(const allocator<_Up>&) { } function in class:allocator 255 class allocator<volatile _Tp> class 259 allocator() { } function in class:allocator 260 template<typename _Up> allocator(const allocator<_Up>&) { } function in class:allocator 264 class allocator<const volatile _Tp> class 268 allocator() { } function in class:allocator 269 template<typename _Up> allocator(const allocator<_Up>&) { } function in class:allocator [all...] |
| /src/external/bsd/zstd/dist/lib/decompress/ |
| zstd_ddict.c | 172 ZSTD_customMem const allocator = { NULL, NULL, NULL }; local 173 return ZSTD_createDDict_advanced(dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto, allocator); 182 ZSTD_customMem const allocator = { NULL, NULL, NULL }; local 183 return ZSTD_createDDict_advanced(dictBuffer, dictSize, ZSTD_dlm_byRef, ZSTD_dct_auto, allocator);
|
| /src/external/gpl3/gcc.old/dist/libgomp/ |
| allocator.c | 58 omp_allocator_handle_t allocator; member in struct:omp_mem_header 195 omp_destroy_allocator (omp_allocator_handle_t allocator) 197 if (allocator != omp_null_allocator) 200 gomp_mutex_destroy (&((struct omp_allocator_data *) allocator)->lock); 202 free ((void *) allocator); 211 omp_allocator_handle_t allocator) 222 if (allocator == omp_null_allocator) 227 allocator = (omp_allocator_handle_t) thr->ts.def_allocator; 230 if (allocator > omp_max_predefined_alloc) 232 allocator_data = (struct omp_allocator_data *) allocator; [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
| lsan_allocator.cc | 38 static Allocator allocator; member in namespace:__lsan 42 allocator.InitLinkerInitialized( 47 allocator.SwallowCache(GetAllocatorCache()); 51 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); 85 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); 92 // Do not rely on the allocator to clear the memory (it's slow). 93 if (cleared && allocator.FromPrimary(p)) 115 allocator.Deallocate(GetAllocatorCache(), p); 122 allocator.Deallocate(GetAllocatorCache(), p) [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| sanitizer_allocator_testlib.cc | 56 SecondaryAllocator> Allocator; 58 static Allocator allocator; member in namespace:__anon4145 69 allocator.SwallowCache(&cache); 84 allocator.PrintStats(); 94 allocator.Init(false /*may_return_null*/); 107 void *p = allocator.Allocate(&cache, size, 8); 116 allocator.Deallocate(&cache, p); 123 void *p = allocator.Allocate(&cache, size, 8, false); 135 p = allocator.Reallocate(&cache, p, size, 8) [all...] |
| sanitizer_allocator_test.cc | 57 struct AP64 { // Allocator Params. Short name for shorter demangled names.. 193 template <class Allocator> 195 Allocator *a = new Allocator; 197 SizeClassAllocatorLocalCache<Allocator> cache; 218 uptr class_id0 = Allocator::SizeClassMapT::ClassID(size); 231 CHECK_EQ(class_id, Allocator::SizeClassMapT::ClassID(size)); 318 template <class Allocator> 320 Allocator *a = new Allocator; 825 AllocatorCache::Allocator *allocator; member in struct:NewThreadParams 839 AllocatorCache::Allocator allocator; local [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| tsan_mman.cc | 65 static char allocator_placeholder[sizeof(Allocator)] ALIGNED(64); 66 Allocator *allocator() { function in namespace:__tsan 67 return reinterpret_cast<Allocator*>(&allocator_placeholder); 119 allocator()->Init(common_flags()->allocator_release_to_os_interval_ms); 127 allocator()->InitCache(&proc->alloc_cache); 132 allocator()->DestroyCache(&proc->alloc_cache); 137 allocator()->PrintStats(); 164 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); 183 allocator()->Deallocate(&thr->proc()->alloc_cache, p) [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/lsan/ |
| lsan_allocator.cpp | 37 static Allocator allocator; member in namespace:__lsan 43 allocator.InitLinkerInitialized( 52 void AllocatorThreadStart() { allocator.InitCache(GetAllocatorCache()); } 55 allocator.SwallowCache(GetAllocatorCache()); 56 allocator.DestroyCache(GetAllocatorCache()); 60 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); 101 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); 108 // Do not rely on the allocator to clear the memory (it's slow). 109 if (cleared && allocator.FromPrimary(p) [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/lsan/ |
| lsan_allocator.cpp | 37 static Allocator allocator; member in namespace:__lsan 43 allocator.InitLinkerInitialized( 53 allocator.SwallowCache(GetAllocatorCache()); 57 return reinterpret_cast<ChunkMetadata *>(allocator.GetMetaData(p)); 91 void *p = allocator.Allocate(GetAllocatorCache(), size, alignment); 98 // Do not rely on the allocator to clear the memory (it's slow). 99 if (cleared && allocator.FromPrimary(p)) 121 allocator.Deallocate(GetAllocatorCache(), p); 132 allocator.Reallocate(GetAllocatorCache(), p, new_size, alignment) [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| tsan_mman.cpp | 64 static char allocator_placeholder[sizeof(Allocator)] ALIGNED(64); 65 Allocator *allocator() { function in namespace:__tsan 66 return reinterpret_cast<Allocator*>(&allocator_placeholder); 118 allocator()->Init(common_flags()->allocator_release_to_os_interval_ms); 130 allocator()->InitCache(&proc->alloc_cache); 135 allocator()->DestroyCache(&proc->alloc_cache); 140 allocator()->PrintStats(); 169 void *p = allocator()->Allocate(&thr->proc()->alloc_cache, sz, align); 188 allocator()->Deallocate(&thr->proc()->alloc_cache, p) [all...] |
| /src/external/public-domain/xz/dist/src/liblzma/api/lzma/ |
| base.h | 400 * must not change the allocator pointer in lzma_stream or the contents 410 * If you don't want a custom allocator, but still want 417 * ignore nmemb in a custom allocator if you like. 428 * The allocator should not waste time zeroing the allocated buffers. 437 * don't assume that the custom allocator must have 447 * want a custom allocator, set this to NULL and liblzma 538 const lzma_allocator *allocator; member in struct:__anon311
|
| /src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
| msan_allocator.cc | 12 // MemorySanitizer allocator. 123 SecondaryAllocator> Allocator; 125 static Allocator allocator; member in namespace:__msan 131 allocator.Init(common_flags()->allocator_release_to_os_interval_ms); 141 allocator.SwallowCache(GetAllocatorCache(this)); 157 allocated = allocator.Allocate(cache, size, alignment); 161 allocated = allocator.Allocate(cache, size, alignment); 170 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); 189 Metadata *meta = reinterpret_cast<Metadata *>(allocator.GetMetaData(p)) [all...] |
| /src/external/bsd/nsd/dist/ |
| region-allocator.c | 2 * region-allocator.c -- region based memory allocator. 17 #include "region-allocator.h" 67 void *(*allocator)(size_t); member in struct:region 89 alloc_region_base(void *(*allocator)(size_t size), 93 region_type *result = (region_type *) allocator(sizeof(region_type)); 109 result->allocator = allocator; 115 result->cleanups = (cleanup_type *) allocator( 128 region_create(void *(*allocator)(size_t size) [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| tsan_mman.cpp | 55 static char allocator_placeholder[sizeof(Allocator)] ALIGNED(64); 56 Allocator *allocator() { function in namespace:__tsan 57 return reinterpret_cast<Allocator*>(&allocator_placeholder); 63 // This mutex represents the internal allocator combined for 64 // the purposes of deadlock detection. The internal allocator 141 allocator()->Init(common_flags()->allocator_release_to_os_interval_ms); 153 allocator()->InitCache(&proc->alloc_cache); 158 allocator()->DestroyCache(&proc->alloc_cache); 163 allocator()->PrintStats() [all...] |
| /src/external/mpl/dhcp/dist/includes/omapip/ |
| omapip.h | 115 isc_result_t (*allocator) (omapi_object_t **, const char *, int); member in struct:__omapi_object_type_t
|
| /src/external/gpl3/gcc/dist/libgomp/ |
| allocator.c | 103 /* These macros may be overridden in config/<target>/allocator.c. 132 When the user calls omp_alloc with a predefined allocator this 192 omp_allocator_handle_t allocator; member in struct:omp_mem_header 521 omp_destroy_allocator (omp_allocator_handle_t allocator) 523 if (allocator != omp_null_allocator) 526 gomp_mutex_destroy (&((struct omp_allocator_data *) allocator)->lock); 528 free ((void *) allocator); 537 omp_allocator_handle_t allocator) 551 if (allocator == omp_null_allocator) 556 allocator = (omp_allocator_handle_t) thr->ts.def_allocator [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/hwasan/ |
| hwasan_allocator.cpp | 11 // HWAddressSanitizer allocator. 27 static Allocator allocator; member in namespace:__hwasan 72 return allocator.GetActuallyAllocatedSize(reinterpret_cast<void *>(block_)); 76 return allocator.FromPrimary(reinterpret_cast<void *>(block_)); 80 allocator.GetStats(s); 104 allocator.Init(common_flags()->allocator_release_to_os_interval_ms, 110 void HwasanAllocatorLock() { allocator.ForceLock(); } 112 void HwasanAllocatorUnlock() { allocator.ForceUnlock(); } 115 allocator.SwallowCache(cache) [all...] |
| /src/external/public-domain/xz/dist/src/liblzma/common/ |
| stream_decoder_mt.c | 62 /// The allocator is set by the main thread. Since a copy of the 64 /// allocator before calling lzma_end(). 65 const lzma_allocator *allocator; member in struct:worker_thread 353 lzma_free(thr->in, thr->allocator); 354 lzma_next_end(&thr->block_decoder, thr->allocator); 394 thr->block_decoder.coder, thr->allocator, 454 lzma_free(thr->in, thr->allocator); 499 threads_end(struct lzma_stream_coder *coder, const lzma_allocator *allocator) 511 lzma_free(coder->threads, allocator); 550 const lzma_allocator *allocator) [all...] |
| stream_encoder_mt.c | 70 /// The allocator is set by the main thread. Since a copy of the 72 /// allocator before calling lzma_end(). 73 const lzma_allocator *allocator; member in struct:worker_thread_s 245 thr->allocator, &thr->block_options); 295 thr->block_encoder.coder, thr->allocator, 432 lzma_filters_free(thr->filters, thr->allocator); 437 lzma_next_end(&thr->block_encoder, thr->allocator); 438 lzma_free(thr->in, thr->allocator); 474 threads_end(lzma_stream_coder *coder, const lzma_allocator *allocator) 489 lzma_free(coder->threads, allocator); [all...] |
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_allocator_primary64.h | 10 // Part of the Sanitizer Allocator. 19 // SizeClassAllocator64 -- allocator for 64-bit address space. 123 Report("FATAL: Internal error: %s's allocator exhausted the free list " 292 // The allocator must be locked when calling this function. 774 : allocator(base_allocator), 803 const uptr from_page = allocator.CompactPtrToPointer(region_base, from); 804 const uptr to_page = allocator.CompactPtrToPointer(region_base, to); 811 const ThisT& allocator; member in class:SizeClassAllocator64::MemoryMapper
|