Home
last modified time | relevance | path

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

123

/third_party/musl/libc-test/src/functionalext/supplement/malloc/
H A Dposix_memalign.c34 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 Dtbio.c143 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 Daio02.c131 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 Daio01.c384 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 Dmem.c53 #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 Dposix_memalign.c4 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 Daligned_memory.cpp31 // 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 D6-1.c56 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
H A D7-1.c57 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
H A D4-1.c78 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
H A D1-1.c66 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 D4-1.c47 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
H A D2-1.c81 * 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 D1-1.c56 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 D1-1.c56 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 D1-1.c55 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
/third_party/mesa3d/src/util/
H A Dos_memory_aligned.h58 if(posix_memalign(&ptr, alignment, size) != 0) in os_malloc_aligned()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_attr_setstack.c48 ret = posix_memalign(&stackAddr, pageSize, THREAD_STACK_LEN); in pthread_attr_setstack_0100()
H A Dpthread_create.c94 ret = posix_memalign(&stackAddr, pageSize, PTHREADSTACK); in pthread_create_0400()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_memory.cpp176 int err = ::posix_memalign( (void **) &fMalloc, 16, (size_t) PhysicalSize() ); in dng_malloc_block()
/third_party/ltp/lib/
H A Dcloner.c121 err = posix_memalign(&ret, 64, size); in ltp_alloc_stack()
/third_party/musl/porting/liteos_m/kernel/include/
H A Dstdlib.h100 int posix_memalign (void **, size_t, size_t);
/third_party/musl/porting/liteos_m/user/include/
H A Dstdlib.h99 int posix_memalign (void **, size_t, size_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dstdlib.h102 int posix_memalign (void **, size_t, size_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dstdlib.h100 int posix_memalign (void **, size_t, size_t);

Completed in 7 milliseconds

123