Home
last modified time | relevance | path

Searched refs:memalign (Results 1 – 25 of 117) sorted by relevance

12345

/external/llvm-project/compiler-rt/test/scudo/
Dmemalign.c47 p = memalign(alignment, size - (2 * sizeof(void *) * k)); in main()
59 p = memalign(alignment, 0x1000 - (2 * sizeof(void *) * k)); in main()
68 p = memalign(alignment - 1, size); in main()
94 void *p = memalign(16, 16); in main()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc88 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() argument
158 void *(*memalign)(uptr alignment, uptr bytes); member
168 void *(*memalign)(uptr alignment, uptr bytes); member
177 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
181 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
/external/compiler-rt/test/scudo/
Dmemalign.cpp24 p = memalign(alignment, size); in main()
39 p = memalign(alignment - 1, size); in main()
Dmismatch.cpp33 int *p = (int *)memalign(0x10, 0x10); in main()
Drealloc.cpp60 p = memalign(16, size); in main()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_malloc_linux.cpp177 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { in INTERCEPTOR() argument
255 void *(*memalign)(uptr alignment, uptr bytes); member
265 void *(*memalign)(uptr alignment, uptr bytes); member
274 WRAP(realloc), WRAP(memalign), WRAP(malloc_usable_size)};
278 WRAP(malloc), WRAP(malloc_usable_size), WRAP(memalign),
/external/pdfium/third_party/libopenjpeg20/
Dopj_malloc.h124 extern void* memalign(size_t, size_t);
126 #define opj_aligned_malloc(size) memalign(16, (size))
128 #define opj_aligned_32_malloc(size) memalign(32, (size))
D0034-opj_malloc.patch101 + extern void* memalign(size_t, size_t);
103 + #define opj_aligned_malloc(size) memalign(16, (size))
105 + #define opj_aligned_32_malloc(size) memalign(32, (size))
/external/linux-kselftest/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c69 src = memalign(BUFLEN, BUFLEN); in test_copy_loop()
70 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop()
/external/scudo/standalone/tests/
Dwrappers_c_test.cpp102 P = memalign(Align, Size); in TEST()
114 P = memalign(Alignment, Size); in TEST()
128 EXPECT_EQ(memalign(4096U, SIZE_MAX), nullptr); in TEST()
135 P = memalign(Alignment, 1024U); in TEST()
200 P = memalign(Alignment, Size); in TEST()
/external/linux-kselftest/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c79 s1 = memalign(128, alloc_size); in testcase()
85 s2 = memalign(128, alloc_size); in testcase()
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/
Dwrappers_c_test.cpp91 P = memalign(Alignment, Size); in TEST()
105 EXPECT_EQ(memalign(4096U, SIZE_MAX), nullptr); in TEST()
112 P = memalign(Alignment, 1024U); in TEST()
177 P = memalign(Alignment, Size); in TEST()
/external/perfetto/src/profiling/memory/
Dheapprofd_preload.map.txt9 memalign;
/external/libchrome/base/memory/
Daligned_memory.cc29 ptr = memalign(alignment, size); in AlignedAlloc()
/external/llvm-project/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cpp16 return memalign(boundary, size); in my_memalign()
/external/compiler-rt/test/asan/TestCases/Posix/
Dlarge_allocator_unpoisons_on_free.cc16 return memalign(boundary, size); in my_memalign()
/external/angle/src/common/
Daligned_memory.cpp37 ptr = memalign(alignment, size); in AlignedAlloc()
/external/speex/libspeexdsp/
Dkiss_fft.h28 #define KISS_FFT_MALLOC(nbytes) memalign(16,nbytes)
/external/ltp/android/include/
Dbionic-compat.h48 return memalign(sysconf(_SC_PAGESIZE), size); in valloc()
/external/OpenCL-CTS/test_common/harness/
Dalloc.h39 ptr = memalign(alignment, size); in align_malloc()
/external/jemalloc_new/include/jemalloc/internal/
Dpublic_namespace.h21 #define je_memalign JEMALLOC_N(memalign)
/external/pthreadpool/src/
Dmemory.c34 threadpool = memalign(PTHREADPOOL_CACHELINE_SIZE, threadpool_size); in pthreadpool_allocate()
/external/XNNPACK/src/
Dmemory.c39 return memalign(alignment, size); in xnn_aligned_allocate()
/external/bcc/tests/python/
Dtest_tools_memleak_leaker_app.c42 printf("leaking via memalign, %p\n", memalign(512, amount)); in generate_leak()
/external/jemalloc_new/include/jemalloc/
Djemalloc_mangle.h32 # define memalign je_memalign macro

12345