Home
last modified time | relevance | path

Searched refs:allocated_size (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/compiler-rt/lib/interception/
H A Dinterception_win.cpp308 uptr allocated_size; member
371 current->allocated_size = 0; in AllocateMemoryForTrampoline()
375 } else if (current->max_size - current->allocated_size > size) { in AllocateMemoryForTrampoline()
378 uptr next_address = current->content + current->allocated_size; in AllocateMemoryForTrampoline()
394 uptr allocated_space = region->content + region->allocated_size; in AllocateMemoryForTrampoline()
395 region->allocated_size += size; in AllocateMemoryForTrampoline()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_malloc_mac.inc60 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size);
61 COMMON_MALLOC_MEMALIGN(page_size, allocated_size);
68 mprotect(new_zone, allocated_size, PROT_READ);
78 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size);
79 mprotect(zone, allocated_size, PROT_READ | PROT_WRITE);
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_allocator.cpp350 uptr allocated_size = allocator.GetActuallyAllocatedSize((void *)chunk); in RePoisonChunk() local
355 uptr chunk_end = chunk + allocated_size; in RePoisonChunk()
369 PoisonShadow(chunk, allocated_size, kAsanHeapLeftRedzoneMagic); in RePoisonChunk()
544 uptr allocated_size = allocator.GetActuallyAllocatedSize(allocated); in Allocate() local
545 PoisonShadow((uptr)allocated, allocated_size, kAsanHeapLeftRedzoneMagic); in Allocate()
1202 uptr allocated_size = instance.AllocationSize(ptr); in __sanitizer_get_allocated_size() local
1204 if (allocated_size == 0) { in __sanitizer_get_allocated_size()
1208 return allocated_size; in __sanitizer_get_allocated_size()
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_stats.h658 int allocated_size; variable
666 allocated_size = INIT_SIZE; in kmp_stats_event_vector()
674 if (internal_size == allocated_size) { in push_back()
676 sizeof(kmp_stats_event) * allocated_size * 2); in push_back()
681 allocated_size *= 2; in push_back()
H A Dkmp_stats.cpp359 allocated_size = 0; in deallocate()
/llvm-project-15.0.7/clang/lib/Sema/
H A DParsedAttr.cpp39 size_t ParsedAttr::allocated_size() const { in allocated_size() function in ParsedAttr
80 size_t size = Attr->allocated_size(); in deallocate()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcontrolled_allocators.h68 std::size_t allocated_size; member
102 allocated_size += s; in countAlloc()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DParsedAttr.h446 size_t allocated_size() const;