HomeSort by: relevance | last modified time | path
    Searched defs:Allocator (Results 1 - 8 of 8) sorted by relevancy

  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_allocator.h 12 // Defines the allocator interface for an arena allocator, used primarily for
38 // internal allocator. This allows us to manage the memory directly, using
148 /// The Allocator type hands out fixed-sized chunks of memory that are
151 /// allocator also self-limits the peak memory usage to a dynamically defined
159 /// The Allocator instance will manage its own memory acquired through mmap.
165 template <size_t N> struct Allocator {
166 // The Allocator returns memory as Block instances.
187 Report("XRay Profiling: Failed to allocate memory for allocator.\n");
226 explicit Allocator(size_t M) XRAY_NEVER_INSTRUMEN
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/lsan/
lsan_allocator.h 11 // Allocator for standalone LSan.
115 using Allocator = AllocatorASVT<LocalAddressSpaceView>;
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_local_cache.h 10 // Part of the Sanitizer Allocator.
27 typedef SizeClassAllocator Allocator;
35 void Destroy(SizeClassAllocator *allocator, AllocatorGlobalStats *s) {
36 Drain(allocator);
41 void *Allocate(SizeClassAllocator *allocator, uptr class_id) {
46 if (UNLIKELY(!Refill(c, allocator, class_id)))
52 return reinterpret_cast<void *>(allocator->CompactPtrToPointer(
53 allocator->GetRegionBeginBySizeClass(class_id), chunk));
56 void Deallocate(SizeClassAllocator *allocator, uptr class_id, void *p) {
59 // If the first allocator call on a new thread is a deallocation, the
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/
sanitizer_allocator_testlib.cc 56 SecondaryAllocator> Allocator;
58 static Allocator allocator; variable in namespace:__anone61b20c20110
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 in function:TEST
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_allocator.cc 12 // MemorySanitizer allocator.
123 SecondaryAllocator> Allocator;
125 static Allocator allocator; variable 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/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_allocator.cc 12 // Implementation of ASan's memory allocator, 2-nd version.
13 // This variant uses the allocator from sanitizer_common, i.e. the one shared
54 // The memory chunk allocated from the underlying allocator looks like this:
104 // Every chunk of memory allocated by this allocator can be in one of 3 states:
154 // Clear the magic value, as allocator internals may overwrite the
240 struct Allocator {
244 AsanAllocator allocator; member in struct:__asan::Allocator
258 explicit Allocator(LinkerInitialized)
282 allocator.InitLinkerInitialized(options.release_to_os_interval_ms);
298 uptr allocated_size = allocator.GetActuallyAllocatedSize((void *)ac)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_rtl.h 91 SecondaryAllocator> Allocator;
92 Allocator *allocator();
347 // it should be tied to a CPU (this way we will have fewer allocator caches).

Completed in 15 milliseconds