/external/clang/lib/Headers/ |
H A D | mm_malloc.h | 33 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 D | posix_memalign.c | 14 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 D | run_integration.sh | 12 $test_dir/posix_memalign
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | tcmalloc.h | 40 # 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 D | tcmalloc.h | 40 # 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 D | memalign_unittest.cc | 42 // _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 D | memalign_unittest.cc | 42 // _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 D | aligned_memory.cc | 22 // 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 D | large_allocator_unpoisons_on_free.cc | 20 posix_memalign(&p, boundary, size);
|
/external/valgrind/main/memcheck/tests/amd64/ |
H A D | sh-mem-vec128-plo-no.stderr.exp | 32 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 D | sh-mem-vec256-plo-yes.stderr.exp | 32 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 D | sh-mem-vec256-plo-no.stderr.exp | 32 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 D | sh-mem-vec128-plo-yes.stderr.exp | 32 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 D | sh-mem-vec128-plo-no.stderr.exp | 32 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 D | sh-mem-vec128-plo-yes.stderr.exp | 32 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 D | os_memory_stdc.h | 58 if(posix_memalign(&ptr, alignment, size) != 0)
|
/external/jemalloc/include/jemalloc/internal/ |
H A D | public_namespace.h | 5 #define je_posix_memalign JEMALLOC_N(posix_memalign)
|
/external/mesa3d/src/gallium/auxiliary/os/ |
H A D | os_memory_stdc.h | 58 if(posix_memalign(&ptr, alignment, size) != 0)
|
/external/valgrind/main/none/tests/ppc32/ |
H A D | data-cache-instructions.c | 8 /* 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 D | data-cache-instructions.c | 8 /* 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 D | configure.ac.v0.1 | 38 AC_CHECK_FUNCS([memalign posix_memalign])
|
H A D | configure.ac.v0.2 | 40 AC_CHECK_FUNCS([memalign posix_memalign])
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
H A D | opj_malloc.h | 140 extern int posix_memalign(void**, size_t, size_t); 144 posix_memalign(&mem, 16, size);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | inline.c | 15 #define _XOPEN_SOURCE 600 /* for posix_memalign() */ 53 retval = posix_memalign(p, align, size);
|
/external/jemalloc/include/jemalloc/ |
H A D | jemalloc_mangle.h | 16 # define posix_memalign je_posix_memalign macro
|