/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_query.c | 107 uint8_t *dptr = (uint8_t *)((char *)pData + (stride * (i - firstQuery))); in lvp_GetQueryPoolResults() local 129 *(uint64_t *)dptr = pstats[i]; in lvp_GetQueryPoolResults() 130 dptr += 8; in lvp_GetQueryPoolResults() 133 *(uint64_t *)dptr = result.so_statistics.num_primitives_written; in lvp_GetQueryPoolResults() 134 dptr += 8; in lvp_GetQueryPoolResults() 135 *(uint64_t *)dptr = result.so_statistics.primitives_storage_needed; in lvp_GetQueryPoolResults() 136 dptr += 8; in lvp_GetQueryPoolResults() 138 *(uint64_t *)dptr = result.u64; in lvp_GetQueryPoolResults() 139 dptr += 8; in lvp_GetQueryPoolResults() 143 dptr += 16; in lvp_GetQueryPoolResults() [all …]
|
/third_party/lwip/src/netif/ppp/ |
D | multilink.c | 211 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/pulseaudio/src/pulsecore/ |
D | database-gdbm.c | 39 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 …]
|
D | database-tdb.c | 44 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.c | 119 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.c | 147 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/ |
D | crypt_blowfish.c | 376 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/e2fsprogs/lib/ext2fs/ |
D | tdbtool.c | 216 key.dptr = (unsigned char *)keyname; in insert_tdb() 218 dbuf.dptr = (unsigned char *)data; in insert_tdb() 240 key.dptr = (unsigned char *)keyname; in store_tdb() 242 dbuf.dptr = (unsigned char *)data; in store_tdb() 262 key.dptr = (unsigned char *)keyname; in show_tdb() 266 if (!dbuf.dptr) { in show_tdb() 273 free( dbuf.dptr ); in show_tdb() 287 key.dptr = (unsigned char *)keyname; in delete_tdb() 310 key.dptr = (unsigned char *)keyname; in move_rec() 314 if (!dbuf.dptr) { in move_rec() [all …]
|
D | tdb.c | 1190 data.dptr = offset + (unsigned char *)tdb->map_ptr; in tdb_parse_data() 1194 if (!(data.dptr = tdb_alloc_read(tdb, offset, len))) { in tdb_parse_data() 1199 free(data.dptr); in tdb_parse_data() 2591 key.dptr = (unsigned char *)&rec_ptr; in seen_insert() 2789 key.dptr = tdb_alloc_read(tdb, tl->off + sizeof(rec), in tdb_traverse_internal() 2791 if (!key.dptr) { in tdb_traverse_internal() 2800 dbuf.dptr = key.dptr + rec.key_len; in tdb_traverse_internal() 2806 SAFE_FREE(key.dptr); in tdb_traverse_internal() 2816 SAFE_FREE(key.dptr); in tdb_traverse_internal() 2819 SAFE_FREE(key.dptr); in tdb_traverse_internal() [all …]
|
D | icount.c | 440 key.dptr = (unsigned char *) &ino; in set_inode_count() 442 data.dptr = (unsigned char *) &count; in set_inode_count() 477 key.dptr = (unsigned char *) &ino; in get_inode_count() 481 if (data.dptr == NULL) { in get_inode_count() 486 *count = *((__u32 *) data.dptr); in get_inode_count() 487 free(data.dptr); in get_inode_count()
|
/third_party/e2fsprogs/e2fsck/ |
D | dirinfo.c | 222 key.dptr = (unsigned char *) &ino; in e2fsck_get_dir_info() 226 if (!data.dptr) { in e2fsck_get_dir_info() 233 buf = (struct dir_info_ent *) data.dptr; in e2fsck_get_dir_info() 240 free(data.dptr); in e2fsck_get_dir_info() 309 key.dptr = (unsigned char *) &dir->ino; in e2fsck_put_dir_info() 311 data.dptr = (unsigned char *) &buf; in e2fsck_put_dir_info() 373 free(iter->tdb_iter.dptr); in e2fsck_dir_info_iter_end() 392 if (iter->tdb_iter.dptr == 0) in e2fsck_dir_info_iter() 396 if (!data.dptr) { in e2fsck_dir_info_iter() 401 buf = (struct dir_info_ent *) data.dptr; in e2fsck_dir_info_iter() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstcudaloader.c | 72 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()
|
D | gstcudaloader.h | 74 CUresult CUDAAPI CuMemAlloc (CUdeviceptr * dptr, 77 CUresult CUDAAPI CuMemAllocPitch (CUdeviceptr * dptr, 90 CUresult CUDAAPI CuMemFree (CUdeviceptr dptr);
|
/third_party/iptables/libxtables/ |
D | xtables.c | 668 struct xtables_match **dptr; in xtables_find_match() local 685 for (dptr = &xtables_pending_matches; *dptr; ) { in xtables_find_match() 686 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) { in xtables_find_match() 687 ptr = *dptr; in xtables_find_match() 688 *dptr = (*dptr)->next; in xtables_find_match() 695 *dptr = ptr; in xtables_find_match() 697 dptr = &((*dptr)->next); in xtables_find_match() 789 struct xtables_target **dptr; in xtables_find_target() local 801 for (dptr = &xtables_pending_targets; *dptr; ) { in xtables_find_target() 802 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) { in xtables_find_target() [all …]
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_route.c | 935 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/ |
D | SkMorphologyImageFilter.cpp | 517 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;
|
D | SkMagnifierImageFilter.cpp | 234 SkColor* dptr = dst.getAddr32(0, 0); in onFilterImage() local 268 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage() 269 dptr++; in onFilterImage()
|
/third_party/flutter/skia/src/effects/imagefilters/ |
D | SkMagnifierImageFilter.cpp | 175 SkColor* dptr = dst.getAddr32(0, 0); in onFilterImage() local 207 *dptr = *inputBM.getAddr32(x_val, y_val); in onFilterImage() 208 dptr++; in onFilterImage()
|
D | SkMorphologyImageFilter.cpp | 635 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/ffmpeg/libavcodec/ |
D | flashsvenc.c | 68 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/skia/modules/canvaskit/ |
D | particles_bindings.cpp | 147 WASMPointerU32 dptr, in EMSCRIPTEN_BINDINGS() 157 const auto assetDatas = reinterpret_cast<uint8_t**>(dptr); in EMSCRIPTEN_BINDINGS()
|
/third_party/ffmpeg/libavfilter/ |
D | af_asoftclip.c | 116 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/ |
D | ndbm.c | 13 F(void*, dptr) in f()
|
/third_party/flutter/skia/modules/canvaskit/ |
D | skottie_bindings.cpp | 218 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/ |
D | SkVMBlitter.cpp | 723 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()
|