Home
last modified time | relevance | path

Searched refs:HEAP_ZERO_MEMORY (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Dheapalloc_rtl_transfer.cpp36 HEAP_GENERATE_EXCEPTIONS | HEAP_ZERO_MEMORY, 100); in main()
45 HEAP_GENERATE_EXCEPTIONS | HEAP_ZERO_MEMORY, alloc, 500); in main()
57 HEAP_ZERO_MEMORY, alloc, 600); in main()
69 HEAP_ZERO_MEMORY, realloc, 2048); in main()
81 HEAP_ZERO_MEMORY | HEAP_GENERATE_EXCEPTIONS, realloc, 100); in main()
Drtlallocateheap_zero.cpp37 buffer = (char *)RtlAllocateHeap_ptr(GetProcessHeap(), HEAP_ZERO_MEMORY, buffer_size); in main()
46 …buffer = (char *)RtlReAllocateHeap_ptr(GetProcessHeap(), HEAP_ZERO_MEMORY, buffer, new_buffer_size… in main()
58 buffer = (char *)RtlReAllocateHeap_ptr(GetProcessHeap(), HEAP_ZERO_MEMORY, buffer, buffer_size); in main()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_win.cpp33 constexpr unsigned long HEAP_ZERO_MEMORY = 0x00000008; variable
35 constexpr unsigned long HEAP_ALLOCATE_SUPPORTED_FLAGS = (HEAP_ZERO_MEMORY);
245 if (p && (dwFlags & HEAP_ZERO_MEMORY)) { in INTERCEPTOR_WINAPI()
312 if (dwFlags & HEAP_ZERO_MEMORY) in SharedReAlloc()
372 if (dwFlags & HEAP_ZERO_MEMORY) in SharedReAlloc()
379 if (dwFlags & HEAP_ZERO_MEMORY) { in SharedReAlloc()
460 if (Flags & HEAP_ZERO_MEMORY) { in INTERCEPTOR_WINAPI()
/external/cpuinfo/src/x86/windows/
Dinit.c155 …processors = HeapAlloc(heap, HEAP_ZERO_MEMORY, processors_count * sizeof(struct cpuinfo_processor)… in cpuinfo_x86_windows_init()
299 cores = HeapAlloc(heap, HEAP_ZERO_MEMORY, cores_count * sizeof(struct cpuinfo_core)); in cpuinfo_x86_windows_init()
306 clusters = HeapAlloc(heap, HEAP_ZERO_MEMORY, packages_count * sizeof(struct cpuinfo_cluster)); in cpuinfo_x86_windows_init()
313 packages = HeapAlloc(heap, HEAP_ZERO_MEMORY, packages_count * sizeof(struct cpuinfo_package)); in cpuinfo_x86_windows_init()
391 l1i = HeapAlloc(heap, HEAP_ZERO_MEMORY, l1i_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
399 l1d = HeapAlloc(heap, HEAP_ZERO_MEMORY, l1d_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
407 l2 = HeapAlloc(heap, HEAP_ZERO_MEMORY, l2_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
415 l3 = HeapAlloc(heap, HEAP_ZERO_MEMORY, l3_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
423 l4 = HeapAlloc(heap, HEAP_ZERO_MEMORY, l4_count * sizeof(struct cpuinfo_cache)); in cpuinfo_x86_windows_init()
/external/lzma/CPP/Windows/
DSecurityUtils.cpp90 PSID pSid = ::HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sidLen); in GetSid()
91 …LPWSTR domainName = (LPWSTR)::HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, (domainLen + 1) * size… in GetSid()
/external/compiler-rt/lib/asan/
Dasan_malloc_win.cc171 if (dwFlags == HEAP_ZERO_MEMORY) in INTERCEPTOR_WINAPI()