Home
last modified time | relevance | path

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

123

/external/syslinux/com32/sysdump/
Ddmi.c44 static bool is_old_dmi(size_t dptr) in is_old_dmi() argument
46 const struct dmi_header *dmi = (void *)dptr; in is_old_dmi()
53 static bool is_smbios(size_t dptr) in is_smbios() argument
55 const struct smbios_header *smb = (void *)dptr; in is_smbios()
59 is_old_dmi(dptr+16); in is_smbios()
62 static void dump_smbios(struct upload_backend *be, size_t dptr) in dump_smbios() argument
64 const struct smbios_header *smb = (void *)dptr; in dump_smbios()
69 dptr, smb->dmi.tbladdr); in dump_smbios()
84 static void dump_old_dmi(struct upload_backend *be, size_t dptr) in dump_old_dmi() argument
86 const struct dmi_header *dmi = (void *)dptr; in dump_old_dmi()
[all …]
/external/skia/src/opts/
DSkBlurImageFilter_opts.h69 *dptr = repack(result);
80 vst1_lane_u32(dptr + 0, px2, 0); \
81 vst1_lane_u32(dptr + width, px2, 1); \
83 vst1_u8((uint8_t*)dptr, vmovn_u16(resultPixels)); \
125 SkPMColor* dptr = *dst; in box_blur_double() local
135 dptr += dstStrideX; in box_blur_double()
139 dptr += dstStrideX; in box_blur_double()
145 dptr += dstStrideX; in box_blur_double()
153 dptr += dstStrideX; in box_blur_double()
157 dptr += dstStrideX; in box_blur_double()
[all …]
DSkMorphologyImageFilter_opts.h31 SkPMColor* dptr = dst; in morph() local
40 *dptr = _mm_cvtsi128_si32(extreme); in morph()
41 dptr += dstStrideY; in morph()
64 SkPMColor* dptr = dst; in morph() local
72 *dptr = vget_lane_u32(vreinterpret_u32_u8(extreme), 0); in morph()
73 dptr += dstStrideY; in morph()
96 SkPMColor* dptr = dst; in morph() local
118 *dptr = SkPackARGB32(A, R, G, B); in morph()
119 dptr += dstStrideY; in morph()
/external/syslinux/core/
Ddmi.c81 static bool is_old_dmi(size_t dptr) in is_old_dmi() argument
83 const struct dmi_header *dmi = (void *)dptr; in is_old_dmi()
90 static bool is_smbios(size_t dptr) in is_smbios() argument
92 const struct smbios_header *smb = (void *)dptr; in is_smbios()
96 is_old_dmi(dptr+16); in is_smbios()
104 size_t dptr; in dmi_find_header() local
107 for (dptr = 0xf0000 ; dptr < 0x100000 ; dptr += 16) { in dmi_find_header()
108 if (is_smbios(dptr)) { in dmi_find_header()
109 dmi = (const struct dmi_header *)(dptr + 16); in dmi_find_header()
111 } else if (is_old_dmi(dptr)) { in dmi_find_header()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dtdbtool.c216 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 …]
Dtdb.c1184 data.dptr = offset + (unsigned char *)tdb->map_ptr; in tdb_parse_data()
1188 if (!(data.dptr = tdb_alloc_read(tdb, offset, len))) { in tdb_parse_data()
1193 free(data.dptr); in tdb_parse_data()
2579 key.dptr = (unsigned char *)&rec_ptr; in seen_insert()
2777 key.dptr = tdb_alloc_read(tdb, tl->off + sizeof(rec), in tdb_traverse_internal()
2779 if (!key.dptr) { in tdb_traverse_internal()
2788 dbuf.dptr = key.dptr + rec.key_len; in tdb_traverse_internal()
2794 SAFE_FREE(key.dptr); in tdb_traverse_internal()
2804 SAFE_FREE(key.dptr); in tdb_traverse_internal()
2807 SAFE_FREE(key.dptr); in tdb_traverse_internal()
[all …]
Dicount.c420 key.dptr = (unsigned char *) &ino; in set_inode_count()
422 data.dptr = (unsigned char *) &count; in set_inode_count()
452 key.dptr = (unsigned char *) &ino; in get_inode_count()
456 if (data.dptr == NULL) { in get_inode_count()
461 *count = *((__u32 *) data.dptr); in get_inode_count()
462 free(data.dptr); in get_inode_count()
/external/tcpdump/
Dprint-ospf.c824 register const u_char *dptr; in ospf_decode_lls() local
848 dptr = (u_char *)op + length2; in ospf_decode_lls()
852 dptr = dptr + op->ospf_authdata[3]; in ospf_decode_lls()
859 ND_TCHECK2(*dptr, 2); in ospf_decode_lls()
860 ND_PRINT((ndo, "\n\t LLS: checksum: 0x%04x", (u_int)EXTRACT_16BITS(dptr))); in ospf_decode_lls()
862 dptr += 2; in ospf_decode_lls()
863 ND_TCHECK2(*dptr, 2); in ospf_decode_lls()
864 length2 = EXTRACT_16BITS(dptr); in ospf_decode_lls()
867 dptr += 2; in ospf_decode_lls()
868 ND_TCHECK(*dptr); in ospf_decode_lls()
[all …]
/external/e2fsprogs/e2fsck/
Ddirinfo.c222 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()
308 key.dptr = (unsigned char *) &dir->ino; in e2fsck_put_dir_info()
310 data.dptr = (unsigned char *) &buf; in e2fsck_put_dir_info()
370 free(iter->tdb_iter.dptr); in e2fsck_dir_info_iter_end()
389 if (iter->tdb_iter.dptr == 0) in e2fsck_dir_info_iter()
393 if (!data.dptr) { in e2fsck_dir_info_iter()
398 buf = (struct dir_info_ent *) data.dptr; in e2fsck_dir_info_iter()
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll8 @dptr = external global double
115 ; CHECK: dptr
122 %double0 = load volatile double , double *@dptr
125 %double1 = load volatile double , double *@dptr
128 %double2 = load volatile double , double *@dptr
131 %double3 = load volatile double , double *@dptr
134 %double4 = load volatile double , double *@dptr
137 %double5 = load volatile double , double *@dptr
140 %double6 = load volatile double , double *@dptr
143 %double7 = load volatile double , double *@dptr
[all …]
/external/opencv/cv/src/
Dcvsegmentation.cpp338 #define cdiff(ofs0) (tab[c0-dptr[ofs0]+255] + \ in cvPyrMeanShiftFiltering()
339 tab[c1-dptr[(ofs0)+1]+255] + tab[c2-dptr[(ofs0)+2]+255] >= isr22) in cvPyrMeanShiftFiltering()
405 uchar* dptr; in cvPyrMeanShiftFiltering() local
415 dptr = dst_pyramid[level+1]->data.ptr + dstep + cn; in cvPyrMeanShiftFiltering()
422 … for( i = 1; i < size1.height-1; i++, dptr += dstep - (size1.width-2)*3, mask += mstep*2 ) in cvPyrMeanShiftFiltering()
424 for( j = 1; j < size1.width-1; j++, dptr += cn ) in cvPyrMeanShiftFiltering()
426 int c0 = dptr[0], c1 = dptr[1], c2 = dptr[2]; in cvPyrMeanShiftFiltering()
436 dptr = dst_pyramid[level]->data.ptr; in cvPyrMeanShiftFiltering()
440 dptr += dstep - size.width*3, in cvPyrMeanShiftFiltering()
443 for( j = 0; j < size.width; j++, sptr += 3, dptr += 3 ) in cvPyrMeanShiftFiltering()
[all …]
Dcvstereobm.cpp140 uchar* dptr = dst->data.ptr + dst->step*y; in icvPrefilter() local
157 dptr[0] = tab[val + OFS]; in icvPrefilter()
163 dptr[x] = tab[val + OFS]; in icvPrefilter()
168 dptr[x] = tab[val + OFS]; in icvPrefilter()
201 short* dptr = disp->data.s; in icvFindStereoCorrespondenceBM_SSE2() local
203 int dstep = disp->step/sizeof(dptr[0]); in icvFindStereoCorrespondenceBM_SSE2()
244 dptr[y*dstep + x] = FILTERED; in icvFindStereoCorrespondenceBM_SSE2()
246 dptr[y*dstep + x] = FILTERED; in icvFindStereoCorrespondenceBM_SSE2()
248 dptr += lofs; in icvFindStereoCorrespondenceBM_SSE2()
250 for( x = 0; x < width1; x++, dptr++ ) in icvFindStereoCorrespondenceBM_SSE2()
[all …]
Dcvkdtree.cpp85 uchar* dptr = d->data.ptr; in find_nn() local
97 typename __treetype::scalar_type* dj = (typename __treetype::scalar_type*) dptr; in find_nn()
111 dptr += d->step; in find_nn()
Dcvimgwarp.cpp1830 uchar* dptr = (uchar*)(dst->data.ptr + dst->step*y); in icvRemapFixedPt_8u() local
1892 _mm_storel_epi64( (__m128i*)(dptr + x), v0 ); in icvRemapFixedPt_8u()
1902 dptr[x] = fv0; in icvRemapFixedPt_8u()
1908 dptr[x] = (uchar)((sptr[0]*a[0] + sptr[1]*a[1] + sptr[sstep]*a[2] + in icvRemapFixedPt_8u()
1921 dptr[x*3] = fv0; dptr[x*3+1] = fv1; dptr[x*3+2] = fv2; in icvRemapFixedPt_8u()
1934 dptr[x*3] = (uchar)v0; dptr[x*3+1] = (uchar)v1; dptr[x*3+2] = (uchar)v2; in icvRemapFixedPt_8u()
1947 dptr[x*4] = fv0; dptr[x*4+1] = fv1; in icvRemapFixedPt_8u()
1948 dptr[x*4+2] = fv2; dptr[x*4+3] = fv3; in icvRemapFixedPt_8u()
1959 dptr[x*4] = (uchar)v0; dptr[x*4+1] = (uchar)v1; in icvRemapFixedPt_8u()
1964 dptr[x*4+2] = (uchar)v0; dptr[x*4+3] = (uchar)v1; in icvRemapFixedPt_8u()
/external/skia/src/effects/
DSkBlurMask.cpp92 uint8_t* dptr = dst + y * dst_y_stride; in boxBlur() local
96 *dptr = 0; in boxBlur()
97 dptr += dst_x_stride; in boxBlur()
101 *dptr = (sum * scale + half) >> 24; \ in boxBlur()
102 dptr += dst_x_stride; in boxBlur()
130 *dptr = (sum * scale + half) >> 24; \ in boxBlur()
131 dptr += dst_x_stride; in boxBlur()
159 *dptr = (sum * scale + half) >> 24; \ in boxBlur()
161 dptr += dst_x_stride; in boxBlur()
189 *dptr = (sum * scale + half) >> 24; \ in boxBlur()
[all …]
/external/clang/test/CodeGenCXX/
Dfunction-template-specialization.cpp25 void test2(int *iptr, double *dptr, int diff) { in test2() argument
29 dptr = next(dptr, diff); in test2()
/external/ltp/testcases/kernel/syscalls/readdir/
Dreaddir01.c155 struct dirent *dptr; in main() local
215 while ((dptr = readdir(test_dir)) != 0) { in main()
216 if (strcmp(dptr->d_name, ".") in main()
217 && strcmp(dptr->d_name, "..")) in main()
Dreaddir02.c67 struct dirent *dptr; in main() local
86 dptr = readdir(test_dir); in main()
94 if (dptr != NULL) { in main()
/external/libedit/src/
Del.c536 const Char *dptr; in el_source() local
562 dptr = ct_decode_string(ptr, &el->el_scratch); in el_source()
563 if (!dptr) in el_source()
565 if (len > 0 && dptr[len - 1] == '\n') in el_source()
569 while (*dptr != '\0' && Isspace(*dptr)) in el_source()
570 dptr++; in el_source()
571 if (*dptr == '#') in el_source()
573 if ((error = parse_line(el, dptr)) == -1) in el_source()
/external/syslinux/com32/libupload/
Dupload_srec.c18 const uint8_t *dptr = data; in write_srecord() local
34 csum += dptr[i]; in write_srecord()
39 p += sprintf(p, "%02X", dptr[i]); in write_srecord()
/external/clang/test/SemaCXX/
Dbuiltin-ptrtomember-overload.cpp28 int test(D d, DPtr dptr) { in test() argument
29 return d->*dptr; in test()
/external/iptables/libxtables/
Dxtables.c620 struct xtables_match **dptr; in xtables_find_match() local
637 for (dptr = &xtables_pending_matches; *dptr; ) { in xtables_find_match()
638 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) { in xtables_find_match()
639 ptr = *dptr; in xtables_find_match()
640 *dptr = (*dptr)->next; in xtables_find_match()
644 dptr = &((*dptr)->next); in xtables_find_match()
715 struct xtables_target **dptr; in xtables_find_target() local
727 for (dptr = &xtables_pending_targets; *dptr; ) { in xtables_find_target()
728 if (extension_cmp(name, (*dptr)->name, (*dptr)->family)) { in xtables_find_target()
729 ptr = *dptr; in xtables_find_target()
[all …]
/external/opencv/cxcore/src/
Dcxutils.cpp721 float* dptr = d->data.fl; in cvNormalize() local
747 dptr[i] = (float)(sptr[i]*norm); in cvNormalize()
754 double* dptr = d->data.db; in cvNormalize() local
780 dptr[i] = sptr[i]*norm; in cvNormalize()
1116 uchar* dptr = dst ? dst->data.ptr : 0; in cvSort() local
1130 dptr += dstep*(src->rows - 1); in cvSort()
1146 icvShuffle1D( tsrc, tidx, dptr + i*elemSize, dstep, len, elemSize ); in cvSort()
1152 icvCopy1D( tsrc, 1, dptr + i*elemSize, dstep, len, elemSize ); in cvSort()
1170 uchar* dptr = dst->data.ptr + i*dstep; in cvSort() local
1171 uchar* ptr = flags & CV_SORT_DESCENDING ? tsrc : dptr; in cvSort()
[all …]
/external/selinux/libselinux/src/
Dlabel.c250 char *dptr = NULL; in selabel_sub_key() local
254 dptr = selabel_sub(rec->dist_subs, ptr); in selabel_sub_key()
255 if (dptr) { in selabel_sub_key()
257 ptr = dptr; in selabel_sub_key()
/external/ppp/pppd/
Dmain.c2189 key.dptr = PPPD_LOCK_KEY; in lock_db()
2190 key.dsize = strlen(key.dptr); in lock_db()
2203 key.dptr = PPPD_LOCK_KEY; in unlock_db()
2204 key.dsize = strlen(key.dptr); in unlock_db()
2232 key.dptr = db_key; in update_db_entry()
2234 dbuf.dptr = vbuf; in update_db_entry()
2253 key.dptr = (char *) str;
2255 dbuf.dptr = db_key;
2270 key.dptr = (char *) str;
2285 key.dptr = db_key; in cleanup_db()

123