Home
last modified time | relevance | path

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

12

/third_party/node/deps/cares/src/lib/
Dares_parse_naptr_reply.c42 const unsigned char *aptr, *vptr; in ares_parse_naptr_reply() local
132 vptr = aptr; in ares_parse_naptr_reply()
133 naptr_curr->order = DNS__16BIT(vptr); in ares_parse_naptr_reply()
134 vptr += sizeof(unsigned short); in ares_parse_naptr_reply()
135 naptr_curr->preference = DNS__16BIT(vptr); in ares_parse_naptr_reply()
136 vptr += sizeof(unsigned short); in ares_parse_naptr_reply()
138 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->flags, &len); in ares_parse_naptr_reply()
141 vptr += len; in ares_parse_naptr_reply()
143 status = ares_expand_string(vptr, abuf, alen, &naptr_curr->service, &len); in ares_parse_naptr_reply()
146 vptr += len; in ares_parse_naptr_reply()
[all …]
Dares_parse_srv_reply.c42 const unsigned char *aptr, *vptr; in ares_parse_srv_reply() local
130 vptr = aptr; in ares_parse_srv_reply()
131 srv_curr->priority = DNS__16BIT(vptr); in ares_parse_srv_reply()
132 vptr += sizeof(unsigned short); in ares_parse_srv_reply()
133 srv_curr->weight = DNS__16BIT(vptr); in ares_parse_srv_reply()
134 vptr += sizeof(unsigned short); in ares_parse_srv_reply()
135 srv_curr->port = DNS__16BIT(vptr); in ares_parse_srv_reply()
136 vptr += sizeof(unsigned short); in ares_parse_srv_reply()
138 status = ares_expand_name (vptr, abuf, alen, &srv_curr->host, &len); in ares_parse_srv_reply()
Dares_parse_uri_reply.c47 const unsigned char *aptr, *vptr; in ares_parse_uri_reply() local
140 vptr = aptr; in ares_parse_uri_reply()
141 uri_curr->priority = DNS__16BIT(vptr); in ares_parse_uri_reply()
142 vptr += sizeof(unsigned short); in ares_parse_uri_reply()
143 uri_curr->weight = DNS__16BIT(vptr); in ares_parse_uri_reply()
144 vptr += sizeof(unsigned short); in ares_parse_uri_reply()
151 uri_curr->uri = strncpy(uri_curr->uri, (const char *)vptr, rr_len-4); in ares_parse_uri_reply()
Dares_parse_mx_reply.c42 const unsigned char *aptr, *vptr; in ares_parse_mx_reply() local
130 vptr = aptr; in ares_parse_mx_reply()
131 mx_curr->priority = DNS__16BIT(vptr); in ares_parse_mx_reply()
132 vptr += sizeof(unsigned short); in ares_parse_mx_reply()
134 status = ares_expand_name (vptr, abuf, alen, &mx_curr->host, &len); in ares_parse_mx_reply()
/third_party/flutter/glfw/examples/
Dparticles.c397 Vertex* vptr; in draw_particles() local
473 vptr = vertex_array; in draw_particles()
498 vptr->s = 0.f; in draw_particles()
499 vptr->t = 0.f; in draw_particles()
500 vptr->rgba = rgba; in draw_particles()
501 vptr->x = pptr->x + quad_lower_left.x; in draw_particles()
502 vptr->y = pptr->y + quad_lower_left.y; in draw_particles()
503 vptr->z = pptr->z + quad_lower_left.z; in draw_particles()
504 vptr ++; in draw_particles()
507 vptr->s = 1.f; in draw_particles()
[all …]
/third_party/flutter/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()
/third_party/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()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dvalue_graph_binder.cc41 if (auto vptr = node->cast<ValueNodePtr>(); value_nodes.count(vptr) == 0) { in Run() local
42 auto new_node = kernel_graph->NewValueNode(vptr); in Run()
43 mng->Replace(vptr, new_node); in Run()
/third_party/flutter/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 …]
/third_party/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 …]
/third_party/ffmpeg/libavfilter/
Dvf_colorcorrect.c46 float v = vptr[x] * imax - .5f; \
69 uint8_t *vptr = frame->data[2] + slice_start * vlinesize; in colorcorrect_slice8() local
82 vptr[x] = av_clip_uint8((nv + 0.5f) * max); in colorcorrect_slice8()
87 vptr += vlinesize; in colorcorrect_slice8()
109 uint16_t *vptr = (uint16_t *)frame->data[2] + slice_start * vlinesize; in colorcorrect_slice16() local
122 vptr[x] = av_clip_uintp2_c((nv + 0.5f) * max, depth); in colorcorrect_slice16()
127 vptr += vlinesize; in colorcorrect_slice16()
Dvf_monochrome.c72 float v = vptr[cx] * imax - .5f; \
105 uint8_t *vptr = frame->data[2] + cy * vlinesize; in monochrome_slice8() local
144 uint16_t *vptr = (uint16_t *)frame->data[2] + cy * vlinesize; in monochrome_slice16() local
175 uint8_t *vptr = frame->data[2] + y * vlinesize; in clear_slice8() local
178 memset(vptr, half, width); in clear_slice8()
201 uint16_t *vptr = (uint16_t *)frame->data[2] + y * vlinesize; in clear_slice16() local
205 vptr[x] = half; in clear_slice16()
Dvf_colorize.c105 uint8_t *vptr = frame->data[2] + slice_start * vlinesize; in colorize_slice8() local
112 vptr[x] = v; in colorize_slice8()
116 vptr += vlinesize; in colorize_slice8()
133 uint16_t *vptr = (uint16_t *)frame->data[2] + slice_start * vlinesize; in colorize_slice16() local
140 vptr[x] = v; in colorize_slice16()
144 vptr += vlinesize; in colorize_slice16()
/third_party/boost/libs/serialization/test/
Dtest_private_ctor.cpp53 const V *vptr = & v; in test_main() local
56 oa << vptr; in test_main()
63 BOOST_CHECK(*vptr == *vptr1); in test_main()
/third_party/ejdb/src/jbl/
Djbl_json.c298 char *vptr = iwpool_alloc(len + 1, ctx->pool); in _jbl_parse_value() local
299 if (!vptr) { in _jbl_parse_value()
303 if ((len != _jbl_unescape_json_string(p, vptr, len, &p, &ctx->rc)) || ctx->rc) { in _jbl_parse_value()
309 vptr[len] = '\0'; in _jbl_parse_value()
310 node->vptr = vptr; in _jbl_parse_value()
314 node->vptr = ""; in _jbl_parse_value()
461 rc = _jbl_write_string(node->vptr, node->vsize, pt, op, pf); in _jbl_node_as_json()
506 n->vptr = iwpool_strndup(pool, src->vptr, src->vsize, &rc); in _jbl_clone_node_struct()
507 if (!n->vptr) { in _jbl_clone_node_struct()
/third_party/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()
/third_party/ltp/tools/sparse/sparse-src/validation/
Dbuiltin-atomic-clear.c1 void foo(void *ptr, _Bool *bptr, volatile void *vptr, volatile _Bool *vbptr, int mo) in foo() argument
5 __atomic_clear(vptr, mo); in foo()
/third_party/pcre2/pcre2/maint/
Dutf8.c130 long unsigned int *vptr, int *lenptr) in utf82ord() argument
148 *vptr = c; in utf82ord()
187 *vptr = d; in utf82ord()
/third_party/ejdb/src/tests/
Dejdb_test4.c88 CU_ASSERT_NSTRING_EQUAL(n->vptr, "Leonardo Da Vinci", n->vsize); in ejdb_test4_1()
119 CU_ASSERT_NSTRING_EQUAL(n->vptr, "Leonardo Da Vinci", n->vsize); in ejdb_test4_1()
183 n2->vptr = "b"; in ejdb_test4_2()
201 CU_ASSERT_STRING_EQUAL(n2->vptr, "b"); in ejdb_test4_2()
/third_party/libsnd/src/
Dogg_vorbis.c99 static int vorbis_rnull (SF_PRIVATE *psf, int samples, void *vptr, int off , int channels, float **…
546 vorbis_rnull (SF_PRIVATE *UNUSED (psf), int samples, void *UNUSED (vptr), int UNUSED (off) , int ch… in vorbis_rnull() argument
552 vorbis_rshort (SF_PRIVATE *psf, int samples, void *vptr, int off, int channels, float **pcm) in vorbis_rshort() argument
554 short *ptr = (short*) vptr + off ; in vorbis_rshort()
573 vorbis_rint (SF_PRIVATE *psf, int samples, void *vptr, int off, int channels, float **pcm) in vorbis_rint() argument
575 int *ptr = (int*) vptr + off ; in vorbis_rint()
595 vorbis_rfloat (SF_PRIVATE *UNUSED (psf), int samples, void *vptr, int off, int channels, float **pc… in vorbis_rfloat() argument
597 float *ptr = (float*) vptr + off ; in vorbis_rfloat()
606 vorbis_rdouble (SF_PRIVATE *UNUSED (psf), int samples, void *vptr, int off, int channels, float **p… in vorbis_rdouble() argument
608 double *ptr = (double*) vptr + off ; in vorbis_rdouble()
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstvideobalance.c211 guint8 *uptr, *vptr; in gst_video_balance_planar_yuv() local
215 vptr = vdata + y * vstride; in gst_video_balance_planar_yuv()
219 v1 = *vptr; in gst_video_balance_planar_yuv()
222 *vptr++ = tablev[u1][v1]; in gst_video_balance_planar_yuv()
323 guint8 *uptr, *vptr; in gst_video_balance_packed_yuv() local
327 vptr = vdata + y * stride; in gst_video_balance_packed_yuv()
331 v1 = *vptr; in gst_video_balance_packed_yuv()
334 *vptr = tablev[u1][v1]; in gst_video_balance_packed_yuv()
337 vptr += voff; in gst_video_balance_packed_yuv()
/third_party/mesa3d/src/intel/compiler/
Dbrw_clip_tri.c462 struct brw_indirect vptr = brw_indirect(1, 0); in brw_clip_tri_emit_polygon() local
464 brw_MOV(p, get_addr_reg(vptr), brw_address(c->reg.inlist)); in brw_clip_tri_emit_polygon()
465 brw_MOV(p, get_addr_reg(v0), deref_1uw(vptr, 0)); in brw_clip_tri_emit_polygon()
471 brw_ADD(p, get_addr_reg(vptr), get_addr_reg(vptr), brw_imm_uw(2)); in brw_clip_tri_emit_polygon()
472 brw_MOV(p, get_addr_reg(v0), deref_1uw(vptr, 0)); in brw_clip_tri_emit_polygon()
479 brw_ADD(p, get_addr_reg(vptr), get_addr_reg(vptr), brw_imm_uw(2)); in brw_clip_tri_emit_polygon()
480 brw_MOV(p, get_addr_reg(v0), deref_1uw(vptr, 0)); in brw_clip_tri_emit_polygon()
/third_party/boost/boost/histogram/axis/
Dtraits.hpp83 [](auto* vptr) { in get_if() argument
85 auto ptp = variant2::get_if<TP>(vptr); in get_if()
88 [](auto* vptr) { return variant2::get_if<T>(vptr); }, &(v->impl)); in get_if() argument
/third_party/libxml2/
Duri.c2182 xmlChar *bptr, *uptr, *vptr; in xmlBuildRelativeURI() local
2318 vptr = val; in xmlBuildRelativeURI()
2323 *vptr++ = '.'; in xmlBuildRelativeURI()
2324 *vptr++ = '.'; in xmlBuildRelativeURI()
2325 *vptr++ = '/'; in xmlBuildRelativeURI()
2331 if ((vptr > val) && (len > 0) && in xmlBuildRelativeURI()
2332 (uptr[0] == '/') && (vptr[-1] == '/')) { in xmlBuildRelativeURI()
2333 memcpy (vptr, uptr + 1, len - 1); in xmlBuildRelativeURI()
2334 vptr[len - 2] = 0; in xmlBuildRelativeURI()
2336 memcpy (vptr, uptr, len); in xmlBuildRelativeURI()
[all …]
/third_party/gettext/gnulib-local/lib/libxml/
Duri.c2201 xmlChar *bptr, *uptr, *vptr; in xmlBuildRelativeURI() local
2337 vptr = val; in xmlBuildRelativeURI()
2342 *vptr++ = '.'; in xmlBuildRelativeURI()
2343 *vptr++ = '.'; in xmlBuildRelativeURI()
2344 *vptr++ = '/'; in xmlBuildRelativeURI()
2350 if ((vptr > val) && (len > 0) && in xmlBuildRelativeURI()
2351 (uptr[0] == '/') && (vptr[-1] == '/')) { in xmlBuildRelativeURI()
2352 memcpy (vptr, uptr + 1, len - 1); in xmlBuildRelativeURI()
2353 vptr[len - 2] = 0; in xmlBuildRelativeURI()
2355 memcpy (vptr, uptr, len); in xmlBuildRelativeURI()
[all …]

12