Home
last modified time | relevance | path

Searched refs:posix_memalign (Results 1 – 25 of 73) sorted by relevance

123

/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Ddio_truncate.c74 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); in dio_read()
119 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); in dio_append()
Ddio_append.c92 TEST(posix_memalign(&bufptr, 4096, 64 * 1024)); in dio_append()
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_user/
Dtbio.c148 rc = posix_memalign(&bif.data, 512, 1024); in tbio_to_dev()
187 rc = posix_memalign(&bif.data, 512, 1024); in tbio_from_dev()
234 rc = posix_memalign(&bif.data, 512, 2048); in tbio_split_to_dev()
/third_party/ffmpeg/libavutil/
Dmem.c50 #define posix_memalign AV_JOIN(MALLOC_PREFIX, posix_memalign) macro
56 int posix_memalign(void **ptr, size_t align, size_t size);
86 if (posix_memalign(&ptr, ALIGN, size)) in av_malloc()
/third_party/musl/src/malloc/
Dposix_memalign.c5 int posix_memalign(void **res, size_t align, size_t len) in posix_memalign() function
/third_party/boost/boost/align/detail/
Daligned_alloc_posix.hpp26 if (::posix_memalign(&p, alignment, size) != 0) { in aligned_alloc()
Daligned_alloc_macos.hpp29 if (::posix_memalign(&p, alignment, size) != 0) { in aligned_alloc()
/third_party/musl/
Ddynamic.list14 posix_memalign;
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Daligned_memory.cpp39 if (posix_memalign(&ptr, alignment, size)) in AlignedAlloc()
/third_party/skia/third_party/externals/angle2/src/common/
Daligned_memory.cpp39 if (posix_memalign(&ptr, alignment, size)) in AlignedAlloc()
/third_party/ltp/testcases/kernel/io/aio/
Daio02.c131 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { in io_tio()
145 if (posix_memalign(&bufptr, alignment, AIO_BLKSIZE)) { in io_tio()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/
D4-1.c53 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
D1-1.c56 rc = posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size); in main()
D2-1.c85 if ((rc = posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/
D1-1.c55 if (posix_memalign(&saddr, sysconf(_SC_PAGE_SIZE), stack_size) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/
D6-1.c62 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
D7-1.c63 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
D1-1.c66 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
D4-1.c78 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
D2-1.c93 if ((rc = posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/
D1-1.c56 if (posix_memalign(&stack_addr, sysconf(_SC_PAGE_SIZE), in main()
/third_party/e2fsprogs/lib/ext2fs/
Dinline.c54 retval = posix_memalign(p, align, size); in ext2fs_get_memalign()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb.hh217 #define posix_memalign hb_memalign_impl macro
553 #if !defined(posix_memalign) && !defined(HAVE_POSIX_MEMALIGN)
554 #define posix_memalign _hb_memalign macro
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_memory.cpp176 int err = ::posix_memalign( (void **) &fMalloc, 16, (size_t) PhysicalSize() ); in dng_malloc_block()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdksystemmemory.c40 #define posix_memalign(d, a, s) ((*((void**)d) = _aligned_malloc(s, a)) ? 0 : -1) macro
65 if (posix_memalign (&data, 32, size) != 0) { in ensure_data()

123