/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.8/lib/gcc/x86_64-linux-android/4.8/include/ |
mm_malloc.h | 30 /* We can't depend on <stdlib.h> since the prototype of posix_memalign 33 extern int posix_memalign (void **, size_t, size_t); 35 extern "C" int posix_memalign (void **, size_t, size_t) throw (); 48 if (posix_memalign (&ptr, alignment, size) == 0)
|
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
mm_malloc.h | 30 /* We can't depend on <stdlib.h> since the prototype of posix_memalign 33 extern int posix_memalign (void **, size_t, size_t); 35 extern "C" int posix_memalign (void **, size_t, size_t) throw (); 48 if (posix_memalign (&ptr, alignment, size) == 0)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/lib/gcc/x86_64-linux/4.6/include/ |
mm_malloc.h | 30 /* We can't depend on <stdlib.h> since the prototype of posix_memalign 33 extern int posix_memalign (void **, size_t, size_t); 35 extern "C" int posix_memalign (void **, size_t, size_t) throw (); 48 if (posix_memalign (&ptr, alignment, size) == 0)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/lib/gcc/x86_64-linux/4.8/include/ |
mm_malloc.h | 30 /* We can't depend on <stdlib.h> since the prototype of posix_memalign 33 extern int posix_memalign (void **, size_t, size_t); 35 extern "C" int posix_memalign (void **, size_t, size_t) throw (); 48 if (posix_memalign (&ptr, alignment, size) == 0)
|
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.8/lib/gcc/x86_64-linux-android/4.8/include/ |
mm_malloc.h | 30 /* We can't depend on <stdlib.h> since the prototype of posix_memalign 33 extern int posix_memalign (void **, size_t, size_t); 35 extern "C" int posix_memalign (void **, size_t, size_t) throw (); 48 if (posix_memalign (&ptr, alignment, size) == 0)
|
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9/include/ |
mm_malloc.h | 30 /* We can't depend on <stdlib.h> since the prototype of posix_memalign 33 extern int posix_memalign (void **, size_t, size_t); 35 extern "C" int posix_memalign (void **, size_t, size_t) throw (); 48 if (posix_memalign (&ptr, alignment, size) == 0)
|
/external/clang/lib/Headers/ |
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))
|
/prebuilts/clang/darwin-x86/host/3.4/lib/clang/3.4/include/ |
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))
|
/prebuilts/clang/darwin-x86/host/3.5/lib/clang/3.5/include/ |
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))
|
/prebuilts/clang/linux-x86/host/3.4/lib/clang/3.4/include/ |
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))
|
/prebuilts/clang/linux-x86/host/3.5/lib/clang/3.5/include/ |
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))
|
/prebuilts/misc/darwin-x86/analyzer/lib/clang/3.3/include/ |
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); 63 if (posix_memalign(&__mallocedMemory, __align, __size))
|
/prebuilts/misc/linux-x86/analyzer/lib/clang/3.3/include/ |
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); 63 if (posix_memalign(&__mallocedMemory, __align, __size))
|
/prebuilts/sdk/renderscript/clang-include/ |
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/ |
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/ |
run_integration.sh | 12 $test_dir/posix_memalign
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
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/ |
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/ |
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(&ptr, 4097, 1) == EINVAL) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
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(&ptr, 4097, 1) == EINVAL) [all...] |
/external/chromium_org/base/memory/ |
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/ |
large_allocator_unpoisons_on_free.cc | 20 posix_memalign(&p, boundary, size);
|
/external/valgrind/main/memcheck/tests/amd64/ |
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_malloc.c:... [all...] |
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_malloc.c:... [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/ |
os_memory_stdc.h | 58 if(posix_memalign(&ptr, alignment, size) != 0)
|