Home
last modified time | relevance | path

Searched refs:alloc_memory_for_dlsym (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_malloc_linux.cpp35 static uptr alloc_memory_for_dlsym[kDlsymAllocPoolSize]; variable
38 uptr off = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in IsInDlsymAllocPool()
39 return off < allocated_for_dlsym * sizeof(alloc_memory_for_dlsym[0]); in IsInDlsymAllocPool()
44 void *mem = (void *)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
56 void *prev_mem = (void *)&alloc_memory_for_dlsym[prev_offset]; in DeallocateFromLocalPool()
71 uptr addr = (uptr)&alloc_memory_for_dlsym[allocated_for_dlsym]; in PosixMemalignFromLocalPool()
76 uptr allocated = end_mem - alloc_memory_for_dlsym; in PosixMemalignFromLocalPool()
90 const uptr offset = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in ReallocFromLocalPool()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_linux.cpp35 static uptr alloc_memory_for_dlsym[kDlsymAllocPoolSize]; variable
38 uptr off = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in IsInDlsymAllocPool()
39 return off < allocated_for_dlsym * sizeof(alloc_memory_for_dlsym[0]); in IsInDlsymAllocPool()
44 void *mem = (void*)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
56 void *prev_mem = (void*)&alloc_memory_for_dlsym[prev_offset]; in DeallocateFromLocalPool()
71 uptr addr = (uptr)&alloc_memory_for_dlsym[allocated_for_dlsym]; in PosixMemalignFromLocalPool()
76 uptr allocated = end_mem - alloc_memory_for_dlsym; in PosixMemalignFromLocalPool()
108 const uptr offset = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in ReallocFromLocalPool()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc31 static uptr alloc_memory_for_dlsym[kDlsymAllocPoolSize]; variable
34 uptr off = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in IsInDlsymAllocPool()
35 return off < sizeof(alloc_memory_for_dlsym); in IsInDlsymAllocPool()
40 void *mem = (void*)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
79 uptr offset = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_interceptors.cpp49 static uptr alloc_memory_for_dlsym[kDlsymAllocPoolSize]; variable
52 uptr off = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in IsInDlsymAllocPool()
53 return off < sizeof(alloc_memory_for_dlsym); in IsInDlsymAllocPool()
58 void *mem = (void *)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
148 uptr offset = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in __sanitizer_realloc()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_interceptors.cpp78 static uptr alloc_memory_for_dlsym[kDlsymAllocPoolSize]; variable
81 uptr off = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in IsInDlsymAllocPool()
82 return off < sizeof(alloc_memory_for_dlsym); in IsInDlsymAllocPool()
87 void *mem = (void *)&alloc_memory_for_dlsym[allocated_for_dlsym]; in AllocateFromLocalPool()
880 uptr offset = (uptr)ptr - (uptr)alloc_memory_for_dlsym; in INTERCEPTOR()