Searched refs:posix_memalign (Results 1 - 25 of 82) sorted by relevance

1234

/external/clang/lib/Headers/
H A Dmm_malloc.h33 extern int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
35 // Some systems (e.g. those with GNU libc) declare posix_memalign with an
39 extern "C" int posix_memalign(void **__memptr, size_t __alignment, size_t __size);
61 if (posix_memalign(&__mallocedMemory, __align, __size))
/external/jemalloc/test/integration/
H A Dposix_memalign.c14 assert_d_eq(posix_memalign(&p, alignment, 1), EINVAL,
21 assert_d_ne(posix_memalign(&p, alignment + 1, 1), 0,
40 assert_d_ne(posix_memalign(&p, alignment, size), 0,
41 "Expected error for posix_memalign(&p, %zu, %zu)",
51 assert_d_ne(posix_memalign(&p, alignment, size), 0,
52 "Expected error for posix_memalign(&p, %zu, %zu)",
61 assert_d_ne(posix_memalign(&p, alignment, size), 0,
62 "Expected error for posix_memalign(&p, %zu, %zu)",
85 err = posix_memalign(&ps[i],
/external/jemalloc/android/test/
H A Drun_integration.sh12 $test_dir/posix_memalign
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dtcmalloc.h40 # define _XOPEN_SOURCE 600 // for posix_memalign
42 #include <stdlib.h> // for posix_memalign
59 extern "C" int posix_memalign(void** ptr, size_t align, size_t size) __THROW;
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dtcmalloc.h40 # define _XOPEN_SOURCE 600 // for posix_memalign
42 #include <stdlib.h> // for posix_memalign
59 extern "C" int posix_memalign(void** ptr, size_t align, size_t size) __THROW;
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dmemalign_unittest.cc42 // _POSIX_C_SOURCE, which it needs so stdlib.h defines posix_memalign.
46 // doesn't sub-include stdlib.h, so we'll still get posix_memalign
51 #include "tcmalloc.h" // must come early, to pick up posix_memalign
53 #include <stdlib.h> // defines posix_memalign
143 CHECK(posix_memalign(&ptr, a, s) == 0);
172 // posix_memalign
174 CHECK(posix_memalign(&ptr, 0, 1) == EINVAL);
175 CHECK(posix_memalign(&ptr, sizeof(void*)/2, 1) == EINVAL);
176 CHECK(posix_memalign(&ptr, sizeof(void*)+1, 1) == EINVAL);
177 CHECK(posix_memalign(
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dmemalign_unittest.cc42 // _POSIX_C_SOURCE, which it needs so stdlib.h defines posix_memalign.
46 // doesn't sub-include stdlib.h, so we'll still get posix_memalign
51 #include "tcmalloc.h" // must come early, to pick up posix_memalign
53 #include <stdlib.h> // defines posix_memalign
143 CHECK(posix_memalign(&ptr, a, s) == 0);
172 // posix_memalign
174 CHECK(posix_memalign(&ptr, 0, 1) == EINVAL);
175 CHECK(posix_memalign(&ptr, sizeof(void*)/2, 1) == EINVAL);
176 CHECK(posix_memalign(&ptr, sizeof(void*)+1, 1) == EINVAL);
177 CHECK(posix_memalign(
[all...]
/external/chromium_org/base/memory/
H A Daligned_memory.cc22 // Android technically supports posix_memalign(), but does not expose it in
30 if (posix_memalign(&ptr, alignment, size))
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dlarge_allocator_unpoisons_on_free.cc20 posix_memalign(&p, boundary, size);
/external/valgrind/main/memcheck/tests/amd64/
H A Dsh-mem-vec128-plo-no.stderr.exp32 by 0x........: posix_memalign (vg_replace_malloc.c:...)
39 by 0x........: posix_memalign (vg_replace_malloc.c:...)
51 by 0x........: posix_memalign (vg_replace_malloc.c:...)
58 by 0x........: posix_memalign (vg_replace_malloc.c:...)
68 by 0x........: posix_memalign (vg_replace_malloc.c:...)
84 by 0x........: posix_memalign (vg_replace_malloc.c:...)
100 by 0x........: posix_memalign (vg_replace_malloc.c:...)
116 by 0x........: posix_memalign (vg_replace_malloc.c:...)
132 by 0x........: posix_memalign (vg_replace_malloc.c:...)
148 by 0x........: posix_memalign (vg_replace_mallo
[all...]
H A Dsh-mem-vec256-plo-yes.stderr.exp32 by 0x........: posix_memalign (vg_replace_malloc.c:...)
39 by 0x........: posix_memalign (vg_replace_malloc.c:...)
51 by 0x........: posix_memalign (vg_replace_malloc.c:...)
58 by 0x........: posix_memalign (vg_replace_malloc.c:...)
356 by 0x........: posix_memalign (vg_replace_malloc.c:...)
372 by 0x........: posix_memalign (vg_replace_malloc.c:...)
388 by 0x........: posix_memalign (vg_replace_malloc.c:...)
404 by 0x........: posix_memalign (vg_replace_malloc.c:...)
420 by 0x........: posix_memalign (vg_replace_malloc.c:...)
436 by 0x........: posix_memalign (vg_replace_mallo
[all...]
H A Dsh-mem-vec256-plo-no.stderr.exp32 by 0x........: posix_memalign (vg_replace_malloc.c:...)
39 by 0x........: posix_memalign (vg_replace_malloc.c:...)
51 by 0x........: posix_memalign (vg_replace_malloc.c:...)
58 by 0x........: posix_memalign (vg_replace_malloc.c:...)
68 by 0x........: posix_memalign (vg_replace_malloc.c:...)
84 by 0x........: posix_memalign (vg_replace_malloc.c:...)
100 by 0x........: posix_memalign (vg_replace_malloc.c:...)
116 by 0x........: posix_memalign (vg_replace_malloc.c:...)
132 by 0x........: posix_memalign (vg_replace_malloc.c:...)
148 by 0x........: posix_memalign (vg_replace_mallo
[all...]
H A Dsh-mem-vec128-plo-yes.stderr.exp32 by 0x........: posix_memalign (vg_replace_malloc.c:...)
39 by 0x........: posix_memalign (vg_replace_malloc.c:...)
51 by 0x........: posix_memalign (vg_replace_malloc.c:...)
58 by 0x........: posix_memalign (vg_replace_malloc.c:...)
212 by 0x........: posix_memalign (vg_replace_malloc.c:...)
228 by 0x........: posix_memalign (vg_replace_malloc.c:...)
244 by 0x........: posix_memalign (vg_replace_malloc.c:...)
260 by 0x........: posix_memalign (vg_replace_malloc.c:...)
276 by 0x........: posix_memalign (vg_replace_malloc.c:...)
292 by 0x........: posix_memalign (vg_replace_mallo
[all...]
/external/valgrind/main/memcheck/tests/x86/
H A Dsh-mem-vec128-plo-no.stderr.exp32 by 0x........: posix_memalign (vg_replace_malloc.c:...)
39 by 0x........: posix_memalign (vg_replace_malloc.c:...)
51 by 0x........: posix_memalign (vg_replace_malloc.c:...)
58 by 0x........: posix_memalign (vg_replace_malloc.c:...)
68 by 0x........: posix_memalign (vg_replace_malloc.c:...)
84 by 0x........: posix_memalign (vg_replace_malloc.c:...)
100 by 0x........: posix_memalign (vg_replace_malloc.c:...)
116 by 0x........: posix_memalign (vg_replace_malloc.c:...)
132 by 0x........: posix_memalign (vg_replace_malloc.c:...)
148 by 0x........: posix_memalign (vg_replace_mallo
[all...]
H A Dsh-mem-vec128-plo-yes.stderr.exp32 by 0x........: posix_memalign (vg_replace_malloc.c:...)
39 by 0x........: posix_memalign (vg_replace_malloc.c:...)
51 by 0x........: posix_memalign (vg_replace_malloc.c:...)
58 by 0x........: posix_memalign (vg_replace_malloc.c:...)
212 by 0x........: posix_memalign (vg_replace_malloc.c:...)
228 by 0x........: posix_memalign (vg_replace_malloc.c:...)
244 by 0x........: posix_memalign (vg_replace_malloc.c:...)
260 by 0x........: posix_memalign (vg_replace_malloc.c:...)
276 by 0x........: posix_memalign (vg_replace_malloc.c:...)
292 by 0x........: posix_memalign (vg_replace_mallo
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_memory_stdc.h58 if(posix_memalign(&ptr, alignment, size) != 0)
/external/jemalloc/include/jemalloc/internal/
H A Dpublic_namespace.h5 #define je_posix_memalign JEMALLOC_N(posix_memalign)
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_memory_stdc.h58 if(posix_memalign(&ptr, alignment, size) != 0)
/external/valgrind/main/none/tests/ppc32/
H A Ddata-cache-instructions.c8 /* ensure we have posix_memalign */
24 err = posix_memalign ((void **)&test_block, MAX_DCBZL_SZB, test_block_size);
26 fprintf(stderr, "posix_memalign() failed (err = %d [%s])\n", err, strerror(err));
69 err = posix_memalign((void **) &buffer, block_size, buffer_size);
71 fprintf(stderr, "posix_memalign() failed (err = %d [%s])\n", err, strerror(err));
/external/valgrind/main/none/tests/ppc64/
H A Ddata-cache-instructions.c8 /* ensure we have posix_memalign */
24 err = posix_memalign ((void **)&test_block, MAX_DCBZL_SZB, test_block_size);
26 fprintf(stderr, "posix_memalign() failed (err = %d [%s])\n", err, strerror(err));
69 err = posix_memalign((void **) &buffer, block_size, buffer_size);
71 fprintf(stderr, "posix_memalign() failed (err = %d [%s])\n", err, strerror(err));
/external/chromium_org/sdch/open-vcdiff/testdata/
H A Dconfigure.ac.v0.138 AC_CHECK_FUNCS([memalign posix_memalign])
H A Dconfigure.ac.v0.240 AC_CHECK_FUNCS([memalign posix_memalign])
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dopj_malloc.h140 extern int posix_memalign(void**, size_t, size_t);
144 posix_memalign(&mem, 16, size);
/external/e2fsprogs/lib/ext2fs/
H A Dinline.c15 #define _XOPEN_SOURCE 600 /* for posix_memalign() */
53 retval = posix_memalign(p, align, size);
/external/jemalloc/include/jemalloc/
H A Djemalloc_mangle.h16 # define posix_memalign je_posix_memalign macro

Completed in 5691 milliseconds

1234