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/lsan/
lsan_allocator.cc 38 static Allocator allocator; variable 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; 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/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/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_segmented_array.h 31 /// the Allocator type, in that all memory will be released when the Allocator
59 // - Request cacheline-multiple sized elements from the allocator.
68 using AllocatorType = Allocator<SegmentSize>;
346 AllocatorType &allocator() const XRAY_NEVER_INSTRUMENT { function in class:__xray::Array
  /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/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

Completed in 16 milliseconds