/third_party/musl/libc-test/src/functionalext/supplement/malloc/ |
H A D | posix_memalign.c | 34 int rev = posix_memalign(&memory, TEST_MEMALIGN_ALIGN, block[i]); in posix_memalign_0100() 51 int rev = posix_memalign(&memory, 1, 1); in posix_memalign_0200()
|
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_user/ |
H A D | tbio.c | 143 rc = posix_memalign(&bif.data, 512, 1024); in tbio_to_dev() 145 tst_resm(TINFO, "posix_memalign failed"); in tbio_to_dev() 182 rc = posix_memalign(&bif.data, 512, 1024); in tbio_from_dev() 184 tst_resm(TINFO, "posix_memalign failed"); in tbio_from_dev() 229 rc = posix_memalign(&bif.data, 512, 2048); in tbio_split_to_dev() 231 tst_resm(TINFO, "posix_memalign failed"); in tbio_split_to_dev()
|
/third_party/ltp/testcases/kernel/io/aio/ |
H A D | aio02.c | 131 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { in io_tio() 132 tst_brk(TBROK | TERRNO, "posix_memalign failed"); in io_tio() 145 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { in io_tio() 146 tst_brk(TBROK | TERRNO, "posix_memalign failed"); in io_tio()
|
H A D | aio01.c | 384 posix_memalign((void **)&srcbuf, bufsize, bufsize)) != 0) in setup() 386 "posix_memalign for srcbuf " in setup() 389 posix_memalign((void **)&dstbuf, bufsize, bufsize)) != 0) in setup() 391 "posix_memalign for dstbuf " in setup()
|
/third_party/ffmpeg/libavutil/ |
H A D | mem.c | 53 #define posix_memalign AV_JOIN(MALLOC_PREFIX, posix_memalign) macro 59 int posix_memalign(void **ptr, size_t align, size_t size); 104 if (size) //OS X on SDK 10.6 has a broken posix_memalign implementation in av_malloc() 105 if (posix_memalign(&ptr, ALIGN, size)) in av_malloc()
|
/third_party/musl/src/malloc/ |
H A D | posix_memalign.c | 4 int posix_memalign(void **res, size_t align, size_t len) in posix_memalign() function
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | aligned_memory.cpp | 31 // Android technically supports posix_memalign(), but does not expose it in in AlignedAlloc() 39 if (posix_memalign(&ptr, alignment, size)) in AlignedAlloc()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
H A D | 6-1.c | 56 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
H A D | 7-1.c | 57 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
H A D | 4-1.c | 78 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
H A D | 1-1.c | 66 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
H A D | 4-1.c | 47 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
|
H A D | 2-1.c | 81 * be according to POSIX), posix_memalign will fail with EINVAL. in main() 85 if ((rc = posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main() 87 printf(ERROR_PREFIX "posix_memalign: %s", strerror(rc)); in main()
|
H A D | 1-1.c | 56 rc = posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/ |
H A D | 1-1.c | 56 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/ |
H A D | 1-1.c | 55 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
|
/third_party/mesa3d/src/util/ |
H A D | os_memory_aligned.h | 58 if(posix_memalign(&ptr, alignment, size) != 0) in os_malloc_aligned()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_attr_setstack.c | 48 ret = posix_memalign(&stackAddr, pageSize, THREAD_STACK_LEN); in pthread_attr_setstack_0100()
|
H A D | pthread_create.c | 94 ret = posix_memalign(&stackAddr, pageSize, PTHREADSTACK); in pthread_create_0400()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_memory.cpp | 176 int err = ::posix_memalign( (void **) &fMalloc, 16, (size_t) PhysicalSize() ); in dng_malloc_block()
|
/third_party/ltp/lib/ |
H A D | cloner.c | 121 err = posix_memalign(&ret, 64, size); in ltp_alloc_stack()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | stdlib.h | 100 int posix_memalign (void **, size_t, size_t);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | stdlib.h | 99 int posix_memalign (void **, size_t, size_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | stdlib.h | 102 int posix_memalign (void **, size_t, size_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | stdlib.h | 100 int posix_memalign (void **, size_t, size_t);
|