Home
last modified time | relevance | path

Searched refs:posix_memalign (Results 1 – 25 of 152) sorted by relevance

1234567

/external/jemalloc/test/integration/
Dposix_memalign.c25 assert_d_eq(posix_memalign(&p, alignment, 1), EINVAL, in TEST_BEGIN()
32 assert_d_ne(posix_memalign(&p, alignment + 1, 1), 0, in TEST_BEGIN()
51 assert_d_ne(posix_memalign(&p, alignment, size), 0, in TEST_BEGIN()
62 assert_d_ne(posix_memalign(&p, alignment, size), 0, in TEST_BEGIN()
72 assert_d_ne(posix_memalign(&p, alignment, size), 0, in TEST_BEGIN()
97 err = posix_memalign(&ps[i], in TEST_BEGIN()
/external/jemalloc_new/test/integration/
Dposix_memalign.c21 assert_d_eq(posix_memalign(&p, alignment, 1), EINVAL, in TEST_BEGIN()
28 assert_d_ne(posix_memalign(&p, alignment + 1, 1), 0, in TEST_BEGIN()
46 assert_d_ne(posix_memalign(&p, alignment, size), 0, in TEST_BEGIN()
57 assert_d_ne(posix_memalign(&p, alignment, size), 0, in TEST_BEGIN()
67 assert_d_ne(posix_memalign(&p, alignment, size), 0, in TEST_BEGIN()
92 err = posix_memalign(&ps[i], in TEST_BEGIN()
/external/clang/lib/Headers/
Dmm_malloc.h33 extern int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
39 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
61 if (posix_memalign(&__mallocedMemory, __align, __size)) in _mm_malloc()
/external/pdfium/third_party/libopenjpeg20/
Dopj_malloc.h135 extern int posix_memalign(void**, size_t, size_t);
139 posix_memalign(&mem, 16, size); in opj_aligned_malloc()
146 posix_memalign(&mem, 32, size); in opj_aligned_32_malloc()
D0034-opj_malloc.patch112 + extern int posix_memalign(void**, size_t, size_t);
116 + posix_memalign(&mem, 16, size);
123 + posix_memalign(&mem, 32, size);
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc129 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
169 int (*posix_memalign)(void **memptr, uptr alignment, uptr size); member
182 WRAP(posix_memalign), WRAP(pvalloc), WRAP(realloc),
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/
Dtbio.c148 rc = posix_memalign(&bif.data, 512, 1024); in tbio_to_dev()
187 rc = posix_memalign(&bif.data, 512, 1024); in tbio_from_dev()
234 rc = posix_memalign(&bif.data, 512, 2048); in tbio_split_to_dev()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_truncate.c74 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); in dio_read()
119 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); in dio_append()
/external/scrypt/lib/crypto/
Dcrypto_scrypt-neon.c228 if ((errno = posix_memalign(&B0, 64, 128 * r * p)) != 0) in crypto_scrypt()
231 if ((errno = posix_memalign(&XY0, 64, 256 * r + 64)) != 0) in crypto_scrypt()
235 if ((errno = posix_memalign(&V0, 64, 128 * r * N)) != 0) in crypto_scrypt()
Dcrypto_scrypt-sse.c302 if ((errno = posix_memalign(&B0, 64, 128 * r * p)) != 0) in crypto_scrypt()
305 if ((errno = posix_memalign(&XY0, 64, 256 * r + 64)) != 0) in crypto_scrypt()
309 if ((errno = posix_memalign(&V0, 64, 128 * r * N)) != 0) in crypto_scrypt()
/external/harfbuzz_ng/src/
Dhb.hh113 #define posix_memalign hb_memalign_impl macro
523 #if !defined(posix_memalign) && !defined(HAVE_POSIX_MEMALIGN)
524 #define posix_memalign _hb_memalign macro
/external/compiler-rt/test/asan/TestCases/Posix/
Dassign_large_valloc_to_global.cc6 int main() { posix_memalign((void **)&p, 4096, 1 << 20); } in main()
Dlarge_allocator_unpoisons_on_free.cc21 posix_memalign(&p, boundary, size); in my_memalign()
/external/ltp/testcases/kernel/io/aio/
Daio02.c131 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { in io_tio()
145 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { in io_tio()
/external/tensorflow/tensorflow/contrib/hvx/hexagon_controller/src_soc_interface/
Dsoc_interface.c162 posix_memalign((void**)&s_node_inputs_array, 128, in soc_interface_AllocateNodeInputAndNodeOutputArray()
164 posix_memalign((void**)&s_node_outputs_array, 128, in soc_interface_AllocateNodeInputAndNodeOutputArray()
/external/compiler-rt/test/scudo/
Ddouble-free.cpp40 posix_memalign(&p, 0x100, sizeof(int)); in main()
Dmemalign.cpp29 posix_memalign(&p, alignment, size); in main()
/external/libchrome/base/memory/
Daligned_memory.cc31 if (posix_memalign(&ptr, alignment, size)) in AlignedAlloc()
/external/jemalloc/include/jemalloc/internal/
Dpublic_symbols.txt5 posix_memalign:je_posix_memalign
Dpublic_namespace.h5 #define je_posix_memalign JEMALLOC_N(posix_memalign)
/external/mesa3d/src/gallium/auxiliary/os/
Dos_memory_stdc.h58 if(posix_memalign(&ptr, alignment, size) != 0) in os_malloc_aligned()
/external/virglrenderer/src/gallium/auxiliary/os/
Dos_memory_stdc.h58 if(posix_memalign(&ptr, alignment, size) != 0) in os_malloc_aligned()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
D4-1.c53 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc101 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
284 INTERCEPT_FUNCTION(posix_memalign); in InitializeInterceptors()
/external/jemalloc_new/include/jemalloc/internal/
Dpublic_namespace.h15 #define je_posix_memalign JEMALLOC_N(posix_memalign)

1234567