Home
last modified time | relevance | path

Searched refs:vptr (Results 1 – 25 of 112) sorted by relevance

12345

/external/llvm-project/clang/test/Analysis/
Dcxx-uninitialized-object-ptr-ref.cpp313 void *vptr; member in VoidPointerTest1
316 VoidPointerTest1(void *vptr, char) : vptr(vptr) { in VoidPointerTest1() argument
322 void *vptr = malloc(sizeof(int)); in fVoidPointerTest1() local
323 VoidPointerTest1(vptr, char()); in fVoidPointerTest1()
336 void *vptr = malloc(sizeof(int)); in fVoidPointerTest2() local
337 VoidPointerTest2(&vptr, char()); in fVoidPointerTest2()
344 …VoidPointerRRefTest1(void *vptr, char) : vptrrref(static_cast<void *&&>(vptr)) { // expected-warni… in VoidPointerRRefTest1() argument
350 void *vptr = malloc(sizeof(int)); in fVoidPointerRRefTest1() local
351 VoidPointerRRefTest1(vptr, char()); in fVoidPointerRRefTest1()
358 …VoidPointerRRefTest2(void **vptr, char) : vpptrrref(static_cast<void **&&>(vptr)) { // expected-wa… in VoidPointerRRefTest2() argument
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_parse_naptr_reply.c53 const unsigned char *aptr, *vptr; in ares_parse_naptr_reply() local
143 vptr = aptr; in ares_parse_naptr_reply()
144 naptr_curr->order = DNS__16BIT(vptr); in ares_parse_naptr_reply()
145 vptr += sizeof(unsigned short); in ares_parse_naptr_reply()
146 naptr_curr->preference = DNS__16BIT(vptr); in ares_parse_naptr_reply()
147 vptr += sizeof(unsigned short); in ares_parse_naptr_reply()
149 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->flags, &len); in ares_parse_naptr_reply()
152 vptr += len; in ares_parse_naptr_reply()
154 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->service, &len); in ares_parse_naptr_reply()
157 vptr += len; in ares_parse_naptr_reply()
[all …]
Dares_parse_srv_reply.c53 const unsigned char *aptr, *vptr; in ares_parse_srv_reply() local
141 vptr = aptr; in ares_parse_srv_reply()
142 srv_curr->priority = DNS__16BIT(vptr); in ares_parse_srv_reply()
143 vptr += sizeof(unsigned short); in ares_parse_srv_reply()
144 srv_curr->weight = DNS__16BIT(vptr); in ares_parse_srv_reply()
145 vptr += sizeof(unsigned short); in ares_parse_srv_reply()
146 srv_curr->port = DNS__16BIT(vptr); in ares_parse_srv_reply()
147 vptr += sizeof(unsigned short); in ares_parse_srv_reply()
149 status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len); in ares_parse_srv_reply()
Dares_parse_mx_reply.c48 const unsigned char *aptr, *vptr; in ares_parse_mx_reply() local
136 vptr = aptr; in ares_parse_mx_reply()
137 mx_curr->priority = DNS__16BIT(vptr); in ares_parse_mx_reply()
138 vptr += sizeof(unsigned short); in ares_parse_mx_reply()
140 status = ares_expand_name (vptr, abuf, alen, &mx_curr->host, &len); in ares_parse_mx_reply()
/external/llvm-project/llvm/test/CodeGen/SystemZ/
Dframe-13.ll211 define void @f10(i32 *%vptr) {
225 %i0 = load volatile i32, i32 *%vptr
226 %i1 = load volatile i32, i32 *%vptr
227 %i3 = load volatile i32, i32 *%vptr
228 %i4 = load volatile i32, i32 *%vptr
229 %i5 = load volatile i32, i32 *%vptr
236 store volatile i32 %i0, i32 *%vptr
237 store volatile i32 %i1, i32 *%vptr
238 store volatile i32 %i3, i32 *%vptr
239 store volatile i32 %i4, i32 *%vptr
[all …]
Dframe-14.ll232 define void @f10(i32 *%vptr) {
248 %i0 = load volatile i32, i32 *%vptr
249 %i1 = load volatile i32, i32 *%vptr
250 %i3 = load volatile i32, i32 *%vptr
251 %i4 = load volatile i32, i32 *%vptr
252 %i5 = load volatile i32, i32 *%vptr
259 store volatile i32 %i0, i32 *%vptr
260 store volatile i32 %i1, i32 *%vptr
261 store volatile i32 %i3, i32 *%vptr
262 store volatile i32 %i4, i32 *%vptr
[all …]
Dframe-16.ll222 define void @f10(i32 *%vptr, i8 %byte) {
236 %i0 = load volatile i32, i32 *%vptr
237 %i1 = load volatile i32, i32 *%vptr
238 %i4 = load volatile i32, i32 *%vptr
239 %i5 = load volatile i32, i32 *%vptr
246 store volatile i32 %i0, i32 *%vptr
247 store volatile i32 %i1, i32 *%vptr
248 store volatile i32 %i4, i32 *%vptr
249 store volatile i32 %i5, i32 *%vptr
257 define void @f11(i32 *%vptr, i8 %byte) {
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dframe-13.ll211 define void @f10(i32 *%vptr) {
225 %i0 = load volatile i32 , i32 *%vptr
226 %i1 = load volatile i32 , i32 *%vptr
227 %i3 = load volatile i32 , i32 *%vptr
228 %i4 = load volatile i32 , i32 *%vptr
229 %i5 = load volatile i32 , i32 *%vptr
236 store volatile i32 %i0, i32 *%vptr
237 store volatile i32 %i1, i32 *%vptr
238 store volatile i32 %i3, i32 *%vptr
239 store volatile i32 %i4, i32 *%vptr
[all …]
Dframe-14.ll232 define void @f10(i32 *%vptr) {
248 %i0 = load volatile i32 , i32 *%vptr
249 %i1 = load volatile i32 , i32 *%vptr
250 %i3 = load volatile i32 , i32 *%vptr
251 %i4 = load volatile i32 , i32 *%vptr
252 %i5 = load volatile i32 , i32 *%vptr
259 store volatile i32 %i0, i32 *%vptr
260 store volatile i32 %i1, i32 *%vptr
261 store volatile i32 %i3, i32 *%vptr
262 store volatile i32 %i4, i32 *%vptr
[all …]
Dframe-16.ll222 define void @f10(i32 *%vptr, i8 %byte) {
236 %i0 = load volatile i32 , i32 *%vptr
237 %i1 = load volatile i32 , i32 *%vptr
238 %i4 = load volatile i32 , i32 *%vptr
239 %i5 = load volatile i32 , i32 *%vptr
246 store volatile i32 %i0, i32 *%vptr
247 store volatile i32 %i1, i32 *%vptr
248 store volatile i32 %i4, i32 *%vptr
249 store volatile i32 %i5, i32 *%vptr
257 define void @f11(i32 *%vptr, i8 %byte) {
[all …]
/external/grpc-grpc/test/core/util/
Dmemory_counters.cc31 static void* guard_realloc(void* vptr, size_t size);
32 static void guard_free(void* vptr);
56 static void* guard_realloc(void* vptr, size_t size) { in guard_realloc() argument
57 size_t* ptr = static_cast<size_t*>(vptr); in guard_realloc()
58 if (vptr == nullptr) { in guard_realloc()
62 guard_free(vptr); in guard_realloc()
75 static void guard_free(void* vptr) { in guard_free() argument
76 size_t* ptr = static_cast<size_t*>(vptr); in guard_free()
77 if (!vptr) return; in guard_free()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-shrink-to-fit.cpp19 std::vector<int> *vptr = &v; in f() local
20 std::vector<int>(*vptr).swap(*vptr); in f()
32 std::vector<int> *vptr = &v; in f() local
33 std::vector<int>(*vptr).swap(*vptr); in f()
/external/skia/src/core/
DSkVptr.h19 void* vptr; in SkVptr() local
20 memcpy(&vptr, (const void*)&object, sizeof(vptr)); in SkVptr()
21 return vptr; in SkVptr()
/external/skqp/src/core/
DSkVptr.h19 void* vptr; in SkVptr() local
20 memcpy(&vptr, (const void*)&object, sizeof(vptr)); in SkVptr()
21 return vptr; in SkVptr()
/external/libcups/cups/
Dppd-conflicts.c707 const char *vptr; /* Pointer into constraint value */ in ppd_load_constraints() local
851 for (i = 0, vptr = strchr(constattr->value, '*'); in ppd_load_constraints()
852 vptr; in ppd_load_constraints()
853 i ++, vptr = strchr(vptr + 1, '*')); in ppd_load_constraints()
881 for (i = 0, vptr = strchr(constattr->value, '*'); in ppd_load_constraints()
882 vptr; in ppd_load_constraints()
883 i ++, vptr = strchr(vptr, '*'), constptr ++) in ppd_load_constraints()
889 for (vptr ++, ptr = option; *vptr && !_cups_isspace(*vptr); vptr ++) in ppd_load_constraints()
891 *ptr++ = *vptr; in ppd_load_constraints()
895 while (_cups_isspace(*vptr)) in ppd_load_constraints()
[all …]
/external/skia/include/private/
DSkNx.h52 AI static SkNx Load(const void* vptr) { in Load()
53 auto ptr = (const char*)vptr; in Load()
56 AI void store(void* vptr) const { in store()
57 auto ptr = (char*)vptr; in store()
62 AI static void Load4(const void* vptr, SkNx* a, SkNx* b, SkNx* c, SkNx* d) { in Load4()
63 auto ptr = (const char*)vptr; in Load4()
73 AI static void Load3(const void* vptr, SkNx* a, SkNx* b, SkNx* c) { in Load3()
74 auto ptr = (const char*)vptr; in Load3()
83 AI static void Load2(const void* vptr, SkNx* a, SkNx* b) { in Load2()
84 auto ptr = (const char*)vptr; in Load2()
[all …]
/external/skqp/include/private/
DSkNx.h52 AI static SkNx Load(const void* vptr) { in Load()
53 auto ptr = (const char*)vptr; in Load()
56 AI void store(void* vptr) const { in store()
57 auto ptr = (char*)vptr; in store()
62 AI static void Load4(const void* vptr, SkNx* a, SkNx* b, SkNx* c, SkNx* d) { in Load4()
63 auto ptr = (const char*)vptr; in Load4()
73 AI static void Load3(const void* vptr, SkNx* a, SkNx* b, SkNx* c) { in Load3()
74 auto ptr = (const char*)vptr; in Load3()
83 AI static void Load2(const void* vptr, SkNx* a, SkNx* b) { in Load2()
84 auto ptr = (const char*)vptr; in Load2()
[all …]
/external/llvm-project/llvm/test/CodeGen/ARM/
Dcortex-a57-misched-vstm-wrback.ll19 define i32 @bar(double* %vptr, i32 %iv1, i32* %iptr) minsize {
21 %vp2 = getelementptr double, double* %vptr, i32 1
22 %vp3 = getelementptr double, double* %vptr, i32 2
24 %v1 = load double, double* %vptr, align 8
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mop.cc179 MemLoc vptr(&vptr_storage), val; in TEST() local
182 t1.VptrUpdate(vptr, val); in TEST()
183 t2.Read8(vptr); in TEST()
188 MemLoc vptr(&vptr_storage), val1, val2; in TEST() local
191 t1.VptrUpdate(vptr, val2); in TEST()
192 t2.Read8(vptr, true); in TEST()
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mop.cpp178 MemLoc vptr(&vptr_storage), val; in TEST() local
181 t1.VptrUpdate(vptr, val); in TEST()
182 t2.Read8(vptr); in TEST()
187 MemLoc vptr(&vptr_storage), val1, val2; in TEST() local
190 t1.VptrUpdate(vptr, val2); in TEST()
191 t2.Read8(vptr, true); in TEST()
/external/mesa3d/src/mesa/tnl/
Dt_vertex.c130 GLvector4f *vptr = VB->AttribPtr[a[j].attrib]; in choose_emit_func() local
131 a[j].inputstride = vptr->stride; in choose_emit_func()
132 a[j].inputsize = vptr->size; in choose_emit_func()
133 a[j].emit = a[j].insert[vptr->size - 1]; /* not always used */ in choose_emit_func()
408 register GLvector4f *vptr = VB->AttribPtr[a->attrib]; in adjust_input_ptrs() local
409 (a++)->inputptr += diff*vptr->stride; in adjust_input_ptrs()
422 GLvector4f *vptr = VB->AttribPtr[a[j].attrib]; in update_input_ptrs() local
425 assert(a[j].inputstride == vptr->stride); in update_input_ptrs()
426 assert(a[j].inputsize == vptr->size); in update_input_ptrs()
429 a[j].inputptr = ((GLubyte *)vptr->data) + start * vptr->stride; in update_input_ptrs()
/external/llvm-project/llvm/test/CodeGen/X86/
Dpr45378.ll35 %vptr = bitcast i64 * %ptr to <2 x i64> *
36 %vload = load <2 x i64>, <2 x i64> * %vptr, align 8
66 %vptr = bitcast i64 * %ptr to <2 x i64> *
67 %vload = load <2 x i64>, <2 x i64> * %vptr, align 8
103 %vptr = bitcast i64 * %ptr to <2 x i64> *
104 %vload = load <2 x i64>, <2 x i64> * %vptr, align 8
/external/clang/test/SemaOpenCL/
Dcl20-device-side-enqueue.cl12 void *vptr;
19 …enqueue_kernel(vptr, flags, ndrange, ^(void) { // expected-error{{illegal call to enqueue_kernel, …
23 …enqueue_kernel(default_queue, vptr, ndrange, ^(void) { // expected-error{{illegal call to enqueue_…
27 …enqueue_kernel(default_queue, flags, vptr, ^(void) { // expected-error{{illegal call to enqueue_ke…
31 …enqueue_kernel(default_queue, flags, ndrange, vptr); // expected-error{{illegal call to enqueue_ke…
42 …enqueue_kernel(default_queue, flags, ndrange, 1, vptr, &evt, ^(void) // expected-error{{illegal ca…
47 …enqueue_kernel(default_queue, flags, ndrange, 1, &event_wait_list, vptr, ^(void) // expected-error…
52 …enqueue_kernel(default_queue, flags, ndrange, 1, &event_wait_list, &evt, vptr); // expected-error{…
/external/vboot_reference/firmware/lib/
Dcrc8.c14 uint8_t Crc8(const void *vptr, int len) in Crc8() argument
16 const uint8_t *data = vptr; in Crc8()
/external/vboot_reference/firmware/2lib/
D2crc8.c9 uint8_t vb2_crc8(const void *vptr, uint32_t size) in vb2_crc8() argument
11 const uint8_t *data = vptr; in vb2_crc8()

12345