Home
last modified time | relevance | path

Searched refs:HeapAlloc (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Ddll_unload.cpp17 void *region_without_hooks = HeapAlloc(GetProcessHeap(), 0, 10); in main()
21 void *region_w_hooks = HeapAlloc(GetProcessHeap(), 0, 10); in main()
Dheapalloc.cpp9 buffer = (char *)HeapAlloc(GetProcessHeap(), 0, 32), in main()
Dheapalloc_huge.cpp7 void *nope = HeapAlloc(GetProcessHeap(), 0, ((size_t)0) - 1); in main()
Dheapalloc_uaf.cpp8 buffer = (char *)HeapAlloc(GetProcessHeap(), 0, 32), in main()
Dheapalloc_sanity.cpp8 buffer = (char *)HeapAlloc(GetProcessHeap(), 0, 32), in main()
Dheapalloc_doublefree.cpp8 void *allocation = HeapAlloc(GetProcessHeap(), 0, 10); in main()
Dheapalloc_flags_fallback.cpp14 buffer = (char *)HeapAlloc(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS, 32); in main()
Dheapalloc_zero_size.cpp13 void *ptr = HeapAlloc(heap, 0, 4); in main()
Dheaprealloc_zero_size.cpp13 void *ptr = HeapAlloc(heap, 0, 4); in main()
Dheaprealloc.cpp11 oldbuf = (char *)HeapAlloc(procHeap, 0, sz); in main()
Dheapalloc_dll_double_free.cpp17 void *region_without_hooks = HeapAlloc(GetProcessHeap(), 0, 10); in main()
Dheapalloc_dll_unload_realloc_uaf.cpp17 void *region_without_hooks = HeapAlloc(GetProcessHeap(), 0, 10); in main()
Dheapalloc_transfer.cpp11 void *alloc = HeapAlloc(GetProcessHeap(), HEAP_GENERATE_EXCEPTIONS, 100); in main()
Dheaprealloc_alloc_zero.cpp31 ptr = HeapAlloc(GetProcessHeap(), 0, 0); in main()
/external/cpuinfo/src/x86/windows/
Dinit.c155 …processors = HeapAlloc(heap, HEAP_ZERO_MEMORY, processors_count * sizeof(struct cpuinfo_processor)… in cpuinfo_x86_windows_init()
184 processor_infos = HeapAlloc(heap, 0, max_info_size); 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/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_win.cpp45 LPVOID WINAPI HeapAlloc(HANDLE hHeap, DWORD dwFlags, size_t dwBytes);
224 INTERCEPTOR_WINAPI(LPVOID, HeapAlloc, HANDLE hHeap, DWORD dwFlags, in INTERCEPTOR_WINAPI() argument
231 return REAL(HeapAlloc)(hHeap, dwFlags, dwBytes); in INTERCEPTOR_WINAPI()
392 REAL(HeapFree), REAL(HeapAlloc), hHeap, dwFlags, lpMem, in INTERCEPTOR_WINAPI()
514 INTERCEPT_FUNCTION(HeapAlloc); in ReplaceSystemMalloc()
533 INTERCEPT_UCRT_FUNCTION(HeapAlloc); in ReplaceSystemMalloc()
/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.cc164 INTERCEPTOR_WINAPI(LPVOID, HeapAlloc, HANDLE hHeap, DWORD dwFlags, in INTERCEPTOR_WINAPI() argument
242 INTERCEPT_UCRT_FUNCTION(HeapAlloc); in ReplaceSystemMalloc()
/external/lzma/CPP/Common/
DNewHandler.cpp104 void *p = HeapAlloc(GetProcessHeap(), 0, size); in operator new()
/external/ltp/testcases/kernel/io/disktest/
Ddefs.h71 #define ALLOC(size) HeapAlloc(GetProcessHeap(), 0, size)
/external/lzma/C/
D7zAlloc.c59 return HeapAlloc(GetProcessHeap(), 0, size); in SzAllocTemp()
/external/libchrome/base/metrics/
Dhistogram.cc135 virtual std::unique_ptr<HistogramBase> HeapAlloc(const BucketRanges* ranges) { in HeapAlloc() function in base::Histogram::Factory
211 tentative_histogram = HeapAlloc(registered_ranges); in Build()
837 std::unique_ptr<HistogramBase> HeapAlloc( in HeapAlloc() function in base::LinearHistogram::Factory
1105 std::unique_ptr<HistogramBase> HeapAlloc( in HeapAlloc() function in base::BooleanHistogram::Factory
1213 std::unique_ptr<HistogramBase> HeapAlloc( in HeapAlloc() function in base::CustomHistogram::Factory
/external/python/cpython2/Python/
Dthread_nt.h138 obj = (callobj*)HeapAlloc(GetProcessHeap(), 0, sizeof(*obj)); in PyThread_start_new_thread()
/external/tensorflow/tensorflow/go/
Doperation_test.go265 bytesTillGC := mem.NextGC - mem.HeapAlloc + 1
/external/python/cpython3/Python/
Dthread_nt.h193 obj = (callobj*)HeapAlloc(GetProcessHeap(), 0, sizeof(*obj)); in PyThread_start_new_thread()

12