Home
last modified time | relevance | path

Searched refs:memptr (Results 1 – 25 of 37) 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.cpp206 memptrtype memptr = nullptr; in SetTextLocation() local
209 memptr = (memptrtype)&CBC_Code39::SetTextLocation; in SetTextLocation()
212 memptr = (memptrtype)&CBC_Codabar::SetTextLocation; in SetTextLocation()
217 memptr = (memptrtype)&CBC_Code128::SetTextLocation; in SetTextLocation()
222 return m_pBCEngine && memptr ? (m_pBCEngine.get()->*memptr)(location) : false; in SetTextLocation()
227 memptrtype memptr = nullptr; in SetWideNarrowRatio() local
230 memptr = (memptrtype)&CBC_Code39::SetWideNarrowRatio; in SetWideNarrowRatio()
233 memptr = (memptrtype)&CBC_Codabar::SetWideNarrowRatio; in SetWideNarrowRatio()
238 return m_pBCEngine && memptr ? (m_pBCEngine.get()->*memptr)(ratio) : false; in SetWideNarrowRatio()
243 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/gemmlowp/internal/
Dplatform.h60 inline void aligned_free(void *memptr) { _aligned_free(memptr); } in aligned_free() argument
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/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/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);
/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/perfetto/src/profiling/memory/
Dmalloc_hooks.cc83 int HEAPPROFD_ADD_PREFIX(_posix_memalign)(void** memptr,
488 int HEAPPROFD_ADD_PREFIX(_posix_memalign)(void** memptr, in HEAPPROFD_ADD_PREFIX()
492 int res = dispatch->posix_memalign(memptr, alignment, size); in HEAPPROFD_ADD_PREFIX()
496 MaybeSampleAllocation(size, *memptr); in HEAPPROFD_ADD_PREFIX()
/external/swiftshader/third_party/llvm-7.0/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/harfbuzz_ng/src/
Dhb.hh112 extern "C" int hb_memalign_impl(void **memptr, size_t alignment, size_t size);
504 _hb_memalign(void **memptr, size_t alignment, size_t size) in _hb_memalign() argument
519 *memptr = (void *) p; in _hb_memalign()
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-consistency-1.h13 int X:: *memptr; // expected-warning{{member pointer is missing a nullability type specifier}} variable
/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_new/include/jemalloc/
Djemalloc_protos.h16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW je_posix_memalign(void **memptr,
Djemalloc_protos_jet.h16 JEMALLOC_EXPORT int JEMALLOC_NOTHROW jet_posix_memalign(void **memptr,
/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,
/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()

12