Home
last modified time | relevance | path

Searched refs:dptr (Results 1 – 25 of 49) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_query.c110 uint8_t *dptr = (uint8_t *)((char *)pData + (stride * (i - firstQuery))); in lvp_GetQueryPoolResults() local
132 *(uint64_t *)dptr = pstats[i]; in lvp_GetQueryPoolResults()
133 dptr += 8; in lvp_GetQueryPoolResults()
136 *(uint64_t *)dptr = result.so_statistics.num_primitives_written; in lvp_GetQueryPoolResults()
137 dptr += 8; in lvp_GetQueryPoolResults()
138 *(uint64_t *)dptr = result.so_statistics.primitives_storage_needed; in lvp_GetQueryPoolResults()
139 dptr += 8; in lvp_GetQueryPoolResults()
141 *(uint64_t *)dptr = result.u64; in lvp_GetQueryPoolResults()
142 dptr += 8; in lvp_GetQueryPoolResults()
146 dptr += 16; in lvp_GetQueryPoolResults()
[all …]
/third_party/lwip/src/netif/ppp/
Dmultilink.c211 key.dptr = bundle_id; in mp_join_bundle()
214 if (pid.dptr != NULL) { in mp_join_bundle()
217 if (rec.dptr != NULL && rec.dsize > 0) { in mp_join_bundle()
219 rec.dptr[rec.dsize-1] = 0; in mp_join_bundle()
221 parse_num(rec.dptr, "IFNAME=ppp", &unit); in mp_join_bundle()
223 if (!parse_num(rec.dptr, "PPPD_PID=", &pppd_pid) in mp_join_bundle()
227 free(rec.dptr); in mp_join_bundle()
229 free(pid.dptr); in mp_join_bundle()
293 key.dptr = blinks_id; in mp_bundle_terminated()
311 key.dptr = blinks_id; in make_bundle_links()
[all …]
/third_party/iptables/
Dbackport-libxtables-Register-only-the-highest-revision-extension.patch26 struct xtables_match **dptr;
34 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) {
35 ptr = *dptr;
36 *dptr = (*dptr)->next;
46 struct xtables_target **dptr;
53 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) {
54 ptr = *dptr;
55 *dptr = (*dptr)->next;
/third_party/pulseaudio/src/pulsecore/
Ddatabase-gdbm.c39 to->dptr = from->data; in datum_to_gdbm()
49 to->data = from->dptr; in datum_from_gdbm()
110 return gdbm_data.dptr ? in pa_database_get()
144 while (gdbm_key.dptr) { in pa_database_clear()
151 free(gdbm_key.dptr); in pa_database_clear()
168 while (gdbm_key.dptr) { in pa_database_size()
174 free(gdbm_key.dptr); in pa_database_size()
189 if (!gdbm_key.dptr) in pa_database_first()
195 if (!gdbm_data.dptr) { in pa_database_first()
196 free(gdbm_key.dptr); in pa_database_first()
[all …]
Ddatabase-tdb.c44 to->dptr = from->data; in datum_to_tdb()
54 to->data = from->dptr; in datum_from_tdb()
136 return tdb_data.dptr ? in pa_database_get()
179 while (tdb_key.dptr) { in pa_database_size()
185 free(tdb_key.dptr); in pa_database_size()
200 if (!tdb_key.dptr) in pa_database_first()
206 if (!tdb_data.dptr) { in pa_database_first()
207 free(tdb_key.dptr); in pa_database_first()
227 if (!tdb_key.dptr) in pa_database_next()
233 if (!tdb_data.dptr) { in pa_database_next()
[all …]
/third_party/python/Modules/
D_dbmmodule.c119 for ( key=dbm_firstkey(dp->di_dbm); key.dptr; in dbm_length()
134 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size)) { in dbm_subscript()
141 if ( drec.dptr == 0 ) { in dbm_subscript()
150 return PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in dbm_subscript()
159 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
186 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
247 for (key = dbm_firstkey(self->di_dbm); key.dptr; in _dbm_dbm_keys_impl()
249 item = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _dbm_dbm_keys_impl()
279 key.dptr = (char *)PyUnicode_AsUTF8AndSize(arg, &size); in dbm_contains()
281 if (key.dptr == NULL) in dbm_contains()
[all …]
D_gdbmmodule.c147 okey.dptr=NULL; in gdbm_length()
150 for (key = gdbm_firstkey(dp->di_dbm); key.dptr; in gdbm_length()
154 free(okey.dptr); in gdbm_length()
171 if (!PyArg_Parse(o, "s#", &d->dptr, &size)) { in parse_datum()
201 if (drec.dptr == 0) { in gdbm_subscript()
205 v = PyBytes_FromStringAndSize(drec.dptr, drec.dsize); in gdbm_subscript()
206 free(drec.dptr); in gdbm_subscript()
354 while (key.dptr) { in _gdbm_gdbm_keys_impl()
355 item = PyBytes_FromStringAndSize(key.dptr, key.dsize); in _gdbm_gdbm_keys_impl()
357 free(key.dptr); in _gdbm_gdbm_keys_impl()
[all …]
/third_party/musl/src/crypt/
Dcrypt_blowfish.c376 unsigned char *dptr = (unsigned char *)dst; in BF_decode() local
377 unsigned char *end = dptr + size; in BF_decode()
384 *dptr++ = (c1 << 2) | ((c2 & 0x30) >> 4); in BF_decode()
385 if (dptr >= end) break; in BF_decode()
388 *dptr++ = ((c2 & 0x0F) << 4) | ((c3 & 0x3C) >> 2); in BF_decode()
389 if (dptr >= end) break; in BF_decode()
392 *dptr++ = ((c3 & 0x03) << 6) | c4; in BF_decode()
393 } while (dptr < end); in BF_decode()
402 unsigned char *dptr = (unsigned char *)dst; in BF_encode() local
407 *dptr++ = BF_itoa64[c1 >> 2]; in BF_encode()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudaloader.c72 CUresult (CUDAAPI * CuMemAlloc) (CUdeviceptr * dptr, unsigned int bytesize);
73 CUresult (CUDAAPI * CuMemAllocPitch) (CUdeviceptr * dptr, size_t * pPitch,
80 CUresult (CUDAAPI * CuMemFree) (CUdeviceptr dptr);
327 CuMemAlloc (CUdeviceptr * dptr, unsigned int bytesize) in CuMemAlloc() argument
331 return gst_cuda_vtable.CuMemAlloc (dptr, bytesize); in CuMemAlloc()
335 CuMemAllocPitch (CUdeviceptr * dptr, size_t * pPitch, size_t WidthInBytes, in CuMemAllocPitch() argument
340 return gst_cuda_vtable.CuMemAllocPitch (dptr, pPitch, WidthInBytes, Height, in CuMemAllocPitch()
369 CuMemFree (CUdeviceptr dptr) in CuMemFree() argument
373 return gst_cuda_vtable.CuMemFree (dptr); in CuMemFree()
Dgstcudaloader.h74 CUresult CUDAAPI CuMemAlloc (CUdeviceptr * dptr,
77 CUresult CUDAAPI CuMemAllocPitch (CUdeviceptr * dptr,
90 CUresult CUDAAPI CuMemFree (CUdeviceptr dptr);
Dgstnvdec.c1141 guintptr dptr; in copy_video_frame_to_gl_textures() local
1180 dispinfo->picture_index, &dptr, &pitch, &proc_params))) { in copy_video_frame_to_gl_textures()
1214 mcpy2d.srcDevice = dptr + (i * pitch * GST_VIDEO_INFO_HEIGHT (info)); in copy_video_frame_to_gl_textures()
1231 if (!gst_cuda_result (CuvidUnmapVideoFrame (nvdec->decoder, dptr))) in copy_video_frame_to_gl_textures()
1262 guintptr dptr; in gst_nvdec_copy_device_to_memory() local
1304 dispinfo->picture_index, &dptr, &pitch, &params))) { in gst_nvdec_copy_device_to_memory()
1316 copy_params.srcDevice = dptr + (i * pitch * GST_VIDEO_INFO_HEIGHT (info)); in gst_nvdec_copy_device_to_memory()
1330 CuvidUnmapVideoFrame (nvdec->decoder, dptr); in gst_nvdec_copy_device_to_memory()
1343 if (!gst_cuda_result (CuvidUnmapVideoFrame (nvdec->decoder, dptr))) in gst_nvdec_copy_device_to_memory()
/third_party/alsa-lib/src/pcm/
Dpcm_route.c935 snd_pcm_route_ttable_dst_t *dptr; in route_load_ttable() local
950 dptr = calloc(dused, sizeof(*params->dsts)); in route_load_ttable()
951 if (!dptr) in route_load_ttable()
953 params->dsts = dptr; in route_load_ttable()
981 dptr->att = att; in route_load_ttable()
982 dptr->nsrcs = nsrcs; in route_load_ttable()
984 dptr->func = snd_pcm_route_convert1_zero; in route_load_ttable()
986 dptr->func = snd_pcm_route_convert1_many; in route_load_ttable()
988 dptr->srcs = calloc((unsigned int) nsrcs, sizeof(*srcs)); in route_load_ttable()
989 if (!dptr->srcs) in route_load_ttable()
[all …]
/third_party/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp517 SkPMColor* dptr = dst; in morph() local
526 *dptr = _mm_cvtsi128_si32(extreme); in morph()
527 dptr += dstStrideY; in morph()
550 SkPMColor* dptr = dst;
558 *dptr = vget_lane_u32(vreinterpret_u32_u8(extreme), 0);
559 dptr += dstStrideY;
582 SkPMColor* dptr = dst;
604 *dptr = SkPackARGB32(A, R, G, B);
605 dptr += dstStrideY;
DSkMagnifierImageFilter.cpp234 SkColor* dptr = dst.getAddr32(0, 0); in onFilterImage() local
268 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
269 dptr++; in onFilterImage()
DSkAlphaThresholdImageFilter.cpp264 SkColor* dptr = dst.getAddr32(0, 0); in onFilterImage() local
296 dptr[y * dstWidth + x] = outputColor; in onFilterImage()
/third_party/ffmpeg/libavcodec/
Dflashsvenc.c68 static int copy_region_enc(uint8_t *sptr, uint8_t *dptr, int dx, int dy, in copy_region_enc() argument
81 dptr[j] = nsptr[j]; in copy_region_enc()
83 dptr += w * 3; in copy_region_enc()
/third_party/flutter/skia/src/effects/imagefilters/
DSkMagnifierImageFilter.cpp175 SkColor* dptr = dst.getAddr32(0, 0); in onFilterImage() local
207 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage()
208 dptr++; in onFilterImage()
DSkMorphologyImageFilter.cpp635 SkPMColor* dptr = dst; in morph() local
644 *dptr = _mm_cvtsi128_si32(extreme); in morph()
645 dptr += dstStrideY; in morph()
668 SkPMColor* dptr = dst;
676 *dptr = vget_lane_u32(vreinterpret_u32_u8(extreme), 0);
677 dptr += dstStrideY;
700 SkPMColor* dptr = dst;
722 *dptr = SkPackARGB32(A, R, G, B);
723 dptr += dstStrideY;
/third_party/skia/modules/canvaskit/
Dparticles_bindings.cpp147 WASMPointerU32 dptr, in EMSCRIPTEN_BINDINGS()
157 const auto assetDatas = reinterpret_cast<uint8_t**>(dptr); in EMSCRIPTEN_BINDINGS()
/third_party/ffmpeg/libavfilter/
Daf_asoftclip.c116 void **dptr, const void **sptr, in filter_flt() argument
127 float *dst = dptr[c]; in filter_flt()
208 void **dptr, const void **sptr, in filter_dbl() argument
219 double *dst = dptr[c]; in filter_dbl()
/third_party/musl/libc-test/src/api/
Dndbm.c13 F(void*, dptr) in f()
/third_party/flutter/skia/modules/canvaskit/
Dskottie_bindings.cpp218 uintptr_t /* uint8_t** */ dptr, in EMSCRIPTEN_BINDINGS()
222 const auto assetDatas = reinterpret_cast<uint8_t**>(dptr); in EMSCRIPTEN_BINDINGS()
/third_party/skia/src/core/
DSkVMBlitter.cpp723 void* dptr = fDevice.writable_addr(x,y); in blitMask() local
730 program->eval(w, fUniforms.buf.data(), dptr, sprite, mptr + 1*plane in blitMask()
734 program->eval(w, fUniforms.buf.data(), dptr, mptr + 1*plane in blitMask()
740 program->eval(w, fUniforms.buf.data(), dptr, sprite, mptr); in blitMask()
742 program->eval(w, fUniforms.buf.data(), dptr, mptr); in blitMask()
/third_party/python/Objects/
Dmemoryobject.c333 char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, in copy_base() argument
339 if (dptr + size < sptr || sptr + size < dptr) in copy_base()
340 memcpy(dptr, sptr, size); /* no overlapping */ in copy_base()
342 memmove(dptr, sptr, size); in copy_base()
351 for (i=0, p=mem; i < shape[0]; p+=itemsize, dptr+=dstrides[0], i++) { in copy_base()
352 char *xdptr = ADJUST_PTR(dptr, dsuboffsets, 0); in copy_base()
363 char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, in copy_rec() argument
373 dptr, dstrides, dsuboffsets, in copy_rec()
379 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec()
380 char *xdptr = ADJUST_PTR(dptr, dsuboffsets, 0); in copy_rec()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_win32.c413 char *dptr = image->ppvBits; in wsi_win32_queue_present() local
416 memcpy(dptr, ptr, chain->extent.width * 4); in wsi_win32_queue_present()
417 dptr += image->bmp_row_pitch; in wsi_win32_queue_present()

12