Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Ddevirt.ll13 %memptr.adj = extractvalue { i64, i64 } %tmp, 1
15 %1 = getelementptr inbounds i8* %0, i64 %memptr.adj
17 %memptr.ptr = extractvalue { i64, i64 } %tmp, 0
18 %2 = and i64 %memptr.ptr, 1
19 %memptr.isvirtual = icmp ne i64 %2, 0
20 br i1 %memptr.isvirtual, label %memptr.virtual, label %memptr.nonvirtual
22 memptr.virtual: ; preds = %entry
24 %memptr.vtable = load i8** %3
25 %4 = sub i64 %memptr.ptr, 1
26 %5 = getelementptr i8* %memptr.vtable, i64 %4
[all …]
/external/pdfium/xfa/fwl/
Dcfx_barcode.cpp203 memptrtype memptr = nullptr; in SetTextLocation() local
206 memptr = (memptrtype)&CBC_Code39::SetTextLocation; in SetTextLocation()
209 memptr = (memptrtype)&CBC_Codabar::SetTextLocation; in SetTextLocation()
214 memptr = (memptrtype)&CBC_Code128::SetTextLocation; in SetTextLocation()
219 return m_pBCEngine && memptr ? (m_pBCEngine.get()->*memptr)(location) : false; in SetTextLocation()
224 memptrtype memptr = nullptr; in SetWideNarrowRatio() local
227 memptr = (memptrtype)&CBC_Code39::SetWideNarrowRatio; in SetWideNarrowRatio()
230 memptr = (memptrtype)&CBC_Codabar::SetWideNarrowRatio; in SetWideNarrowRatio()
235 return m_pBCEngine && memptr ? (m_pBCEngine.get()->*memptr)(ratio) : false; in SetWideNarrowRatio()
240 memptrtype memptr = nullptr; in SetStartChar() local
[all …]
/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-member-pointers.cpp218 int POD::*memptr; in podMemPtrs() local
219 memptr = &POD::a; in podMemPtrs()
220 memptr = &POD::b; in podMemPtrs()
221 if (memptr) in podMemPtrs()
222 memptr = 0; in podMemPtrs()
237 int Polymorphic::*memptr; in polymorphicMemPtrs() local
238 memptr = &Polymorphic::a; in polymorphicMemPtrs()
239 memptr = &Polymorphic::b; in polymorphicMemPtrs()
240 if (memptr) in polymorphicMemPtrs()
241 memptr = 0; in polymorphicMemPtrs()
[all …]
Dcxx1y-initializer-aggregate.cpp43 int C::*memptr; member
Dnew.cpp127 struct Bmemptr { int Bmemptr::* memptr; int a; }; member
/external/syslinux/com32/lib/sys/module/
Delfutils.c39 int elf_malloc(void **memptr, size_t alignment, size_t size) { in elf_malloc() argument
61 *memptr = info->data; in elf_malloc()
66 void elf_free(char *memptr) { in elf_free() argument
67 struct memalign_info *info = (struct memalign_info*)(memptr - in elf_free()
75 int elf_malloc(void **memptr, size_t alignment, size_t size) { in elf_malloc() argument
82 return posix_memalign(memptr, alignment, size); in elf_malloc()
85 void elf_free(void *memptr) { in elf_free() argument
86 free(memptr); in elf_free()
Delfutils.h57 extern int elf_malloc(void **memptr, size_t alignment, size_t size);
63 extern void elf_free(char *memptr);
/external/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()
/external/ltp/testcases/kernel/mem/mem/
Dmem02.c70 void *memptr; in main() local
205 memptr = valloc(size); in main()
213 laddr = (long)memptr; in main()
219 free(memptr); in main()
/external/syslinux/core/elflink/
Delfutils.h59 extern int elf_malloc(void **memptr, size_t alignment, size_t size);
65 extern void elf_free(void *memptr);
/external/clang/test/SemaCXX/
Dmember-pointers-2.cpp18 Test0 *memptr; member
27 p = &Test0::memptr->memint; in test()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc121 int posix_memalign(void **memptr, size_t alignment, size_t size) { in posix_memalign() argument
124 *memptr = allocator.Allocate(&cache, size, alignment); in posix_memalign()
125 SANITIZER_MALLOC_HOOK(*memptr, size); in posix_memalign()
/external/compiler-rt/lib/scudo/
Dscudo_interceptors.cpp63 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
64 return scudoPosixMemalign(memptr, alignment, size); in INTERCEPTOR()
/external/compiler-rt/lib/asan/
Dasan_malloc_linux.cc129 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
132 return asan_posix_memalign(memptr, alignment, size, &stack); in INTERCEPTOR()
169 int (*posix_memalign)(void **memptr, uptr alignment, uptr size);
Dasan_allocator.h175 int asan_posix_memalign(void **memptr, uptr alignment, uptr size,
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-consistency-1.h13 int X:: *memptr; // expected-warning{{member pointer is missing a nullability type specifier}} variable
/external/llvm/test/CodeGen/PowerPC/
Dpr18663-2.ll86 to label %memptr.end.i unwind label %lpad5
88 memptr.end.i: ; preds = %invoke.cont8
102 lpad5: ; preds = %memptr.end.i, %invoke.cont8, %if.then
107 if.end: ; preds = %memptr.end.i
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc101 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { in INTERCEPTOR() argument
104 *memptr = Allocate(stack, size, alignment, kAlwaysClearMemory); in INTERCEPTOR()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_malloc_mac.inc131 INTERCEPTOR(int, posix_memalign, void **memptr, size_t alignment, size_t size) {
133 CHECK(memptr);
136 *memptr = p;
/external/jemalloc/include/jemalloc/
Djemalloc_protos_jet.h16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW jet_posix_memalign(void **memptr,
Djemalloc_protos.h16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_posix_memalign(void **memptr,
Djemalloc_protos.h.in16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW @je_@posix_memalign(void **memptr,
Djemalloc.h210 JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_posix_memalign(void **memptr,
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc168 INTERCEPTOR(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size) { in INTERCEPTOR() argument
171 CHECK_NE(memptr, 0); in INTERCEPTOR()
172 *memptr = MsanReallocate(&stack, nullptr, size, alignment, false); in INTERCEPTOR()
173 CHECK_NE(*memptr, 0); in INTERCEPTOR()
174 __msan_unpoison(memptr, sizeof(*memptr)); in INTERCEPTOR()
/external/valgrind/coregrind/m_replacemalloc/
Dvg_replace_malloc.c996 ( void **memptr, SizeT alignment, SizeT size ); \
998 ( void **memptr, SizeT alignment, SizeT size ) \
1012 *memptr = mem; \

12