HomeSort by relevance Sort by last modified time
    Searched refs:memptr (Results 1 - 25 of 32) sorted by null

1 2

  /prebuilts/ndk/r16/sources/android/support/src/
posix_memalign.cpp 5 int posix_memalign(void** memptr, size_t alignment, size_t size) {
14 *memptr = memalign(alignment, size);
15 if (*memptr == NULL) {
  /external/clang/test/SemaObjCXX/Inputs/
nullability-consistency-1.h 13 int X:: *memptr; // expected-warning{{member pointer is missing a nullability type specifier}} member in class:X::X
  /external/gemmlowp/internal/
platform.h 60 inline void aligned_free(void *memptr) { _aligned_free(memptr); }
83 void *memptr;
84 if (posix_memalign(&memptr, alignment, size)) {
85 memptr = nullptr;
87 return memptr;
100 inline void aligned_free(void *memptr) { free(memptr); }
  /external/syslinux/com32/lib/sys/module/
elfutils.c 39 int elf_malloc(void **memptr, size_t alignment, size_t size) {
61 *memptr = info->data;
66 void elf_free(char *memptr) {
67 struct memalign_info *info = (struct memalign_info*)(memptr -
75 int elf_malloc(void **memptr, size_t alignment, size_t size) {
82 return posix_memalign(memptr, alignment, size);
85 void elf_free(void *memptr) {
86 free(memptr);
elfutils.h 53 * @memptr: pointer to a variable to hold the address of the allocated block.
57 extern int elf_malloc(void **memptr, size_t alignment, size_t size);
61 * @memptr: the address of the allocated block
63 extern void elf_free(char *memptr);
  /external/pdfium/xfa/fwl/
cfx_barcode.cpp 206 memptrtype memptr = nullptr; local
209 memptr = (memptrtype)&CBC_Code39::SetTextLocation;
212 memptr = (memptrtype)&CBC_Codabar::SetTextLocation;
217 memptr = (memptrtype)&CBC_Code128::SetTextLocation;
222 return m_pBCEngine && memptr ? (m_pBCEngine.get()->*memptr)(location) : false;
227 memptrtype memptr = nullptr; local
230 memptr = (memptrtype)&CBC_Code39::SetWideNarrowRatio;
233 memptr = (memptrtype)&CBC_Codabar::SetWideNarrowRatio;
238 return m_pBCEngine && memptr ? (m_pBCEngine.get()->*memptr)(ratio) : false
243 memptrtype memptr = nullptr; local
256 memptrtype memptr = nullptr; local
269 memptrtype memptr = nullptr; local
285 memptrtype memptr = nullptr; local
    [all...]
  /external/clang/test/SemaCXX/
member-pointers-2.cpp 18 Test0 *memptr; member in struct:Test0
27 p = &Test0::memptr->memint;
  /external/syslinux/core/elflink/
elfutils.h 55 * @memptr: pointer to a variable to hold the address of the allocated block.
59 extern int elf_malloc(void **memptr, size_t alignment, size_t size);
63 * @memptr: the address of the allocated block
65 extern void elf_free(void *memptr);
  /external/clang/test/CodeGenCXX/
microsoft-abi-member-pointers.cpp 121 // Test memptr emission in a constant expression.
156 // Try a reinterpret_cast followed by a memptr conversion.
218 int POD::*memptr; member in class:POD
219 memptr = &POD::a;
220 memptr = &POD::b;
221 if (memptr)
222 memptr = 0;
225 // CHECK: %[[memptr:.*]] = alloca i32, align 4
226 // CHECK-NEXT: store i32 0, i32* %[[memptr]], align 4
227 // CHECK-NEXT: store i32 4, i32* %[[memptr]], align
237 int Polymorphic::*memptr; member in class:Polymorphic
    [all...]
cxx1y-initializer-aggregate.cpp 43 int C::*memptr; member in class:C::__anon16114::C
new.cpp 127 struct Bmemptr { int Bmemptr::* memptr; int a; }; member in class:Bmemptr::Bmemptr
  /system/core/libutils/tests/
Unicode_test.cpp 131 void* memptr; local
134 ASSERT_EQ(posix_memalign(&memptr, alignment, size), 0);
136 memset(memptr, 'A', size);
138 char16_t* const emptyString = (char16_t* const)((char*)memptr + alignment - 4);
141 ASSERT_EQ(mprotect((char*)memptr + alignment, alignment, PROT_NONE), 0);
143 ASSERT_EQ(strstr16((char16_t*)memptr, emptyString), (char16_t*)memptr)
146 ASSERT_EQ(mprotect((char*)memptr + alignment, alignment, PROT_READ | PROT_WRITE), 0);
148 free(memptr);
  /external/ltp/testcases/kernel/mem/mtest06/
mmap2.c 164 char *memptr; local
255 memptr = mmap(0, (fsize * MB), PROT_READ | PROT_WRITE,
257 if (memptr == MAP_FAILED) {
262 "changing file content to 'A'\n", memptr);
264 memset(memptr, 'A', ((fsize * MB) / sizeof(char)));
266 if (msync(memptr, ((fsize * MB) / sizeof(char)),
272 if (munmap(memptr, (fsize * MB) / sizeof(char)) == -1) {
276 fprintf(stdout, "unmapped file at %p\n", memptr);
  /external/ltp/testcases/kernel/mem/mem/
mem02.c 70 void *memptr; local
205 memptr = valloc(size);
213 laddr = (long)memptr;
219 free(memptr);
  /prebuilts/ndk/r16/sources/android/support/include/
stdlib.h 37 int posix_memalign(void** memptr, size_t alignment, size_t size);
  /external/compiler-rt/lib/scudo/
scudo_interceptors.cpp 63 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
64 return scudoPosixMemalign(memptr, alignment, size);
  /bionic/libc/malloc_hooks/
malloc_hooks.cpp 67 int hooks_posix_memalign(void** memptr, size_t alignment, size_t size);
191 int hooks_posix_memalign(void** memptr, size_t alignment, size_t size) {
196 *memptr = __memalign_hook(alignment, size, __builtin_return_address(0));
197 if (*memptr == nullptr) {
202 return g_dispatch->posix_memalign(memptr, alignment, size);
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_allocator_testlib.cc 121 int posix_memalign(void **memptr, size_t alignment, size_t size) {
124 *memptr = allocator.Allocate(&cache, size, alignment);
125 SANITIZER_MALLOC_HOOK(*memptr, size);
  /external/compiler-rt/lib/asan/
asan_malloc_linux.cc 129 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
132 return asan_posix_memalign(memptr, alignment, size, &stack);
169 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
asan_allocator.h 175 int asan_posix_memalign(void **memptr, uptr alignment, uptr size,
  /external/jemalloc/include/jemalloc/
jemalloc_protos.h 16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_posix_memalign(void **memptr,
jemalloc_protos_jet.h 16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW jet_posix_memalign(void **memptr,
jemalloc_protos.h.in 16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW @je_@posix_memalign(void **memptr,
  /external/compiler-rt/lib/lsan/
lsan_interceptors.cc 101 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
104 *memptr = Allocate(stack, size, alignment, kAlwaysClearMemory);
  /bionic/libc/bionic/
malloc_common.cpp 144 extern "C" int posix_memalign(void** memptr, size_t alignment, size_t size) {
147 return _posix_memalign(memptr, alignment, size);
149 return Malloc(posix_memalign)(memptr, alignment, size);

Completed in 2086 milliseconds

1 2