Home
last modified time | relevance | path

Searched refs:memptr (Results 1 – 5 of 5) sorted by relevance

/third_party/ltp/testcases/kernel/mem/mtest06/
Dmmap2.c164 char *memptr; in main() local
255 memptr = mmap(0, (fsize * MB), PROT_READ | PROT_WRITE, in main()
257 if (memptr == MAP_FAILED) { in main()
262 "changing file content to 'A'\n", memptr); in main()
264 memset(memptr, 'A', ((fsize * MB) / sizeof(char))); in main()
266 if (msync(memptr, ((fsize * MB) / sizeof(char)), in main()
272 if (munmap(memptr, (fsize * MB) / sizeof(char)) == -1) { in main()
276 fprintf(stdout, "unmapped file at %p\n", memptr); in main()
/third_party/ltp/testcases/kernel/mem/mem/
Dmem02.c78 void *memptr; in main() local
211 memptr = valloc(size); in main()
219 laddr = (long)memptr; in main()
225 free(memptr); in main()
/third_party/boost/libs/container/test/
Dexpand_bwd_test_template.hpp86 boost::movelib::unique_ptr<char[]> memptr = in test_insert_with_expand_bwd() local
88 value_type *memory = (value_type*)memptr.get(); in test_insert_with_expand_bwd()
149 boost::movelib::unique_ptr<char[]> memptr = in test_assign_with_expand_bwd() local
151 value_type *memory = (value_type*)memptr.get(); in test_assign_with_expand_bwd()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb.hh216 extern "C" int hb_memalign_impl(void **memptr, size_t alignment, size_t size);
534 _hb_memalign(void **memptr, size_t alignment, size_t size) in _hb_memalign() argument
549 *memptr = (void *) p; in _hb_memalign()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def1067 /// int posix_memalign(void **memptr, size_t alignment, size_t size);