Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 102) sorted by relevance

12345

/system/extras/ext4_utils/
Dsha1.c71 void do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
72 void do_R2(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
73 void do_R3(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
74 void do_R4(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *);
83 do_R01(u_int32_t *a, u_int32_t *b, u_int32_t *c, u_int32_t *d, u_int32_t *e, CHAR64LONG16 *block) in do_R01() argument
85 nR0(a,b,c,d,e, 0); nR0(e,a,b,c,d, 1); nR0(d,e,a,b,c, 2); nR0(c,d,e,a,b, 3); in do_R01()
86 nR0(b,c,d,e,a, 4); nR0(a,b,c,d,e, 5); nR0(e,a,b,c,d, 6); nR0(d,e,a,b,c, 7); in do_R01()
87 nR0(c,d,e,a,b, 8); nR0(b,c,d,e,a, 9); nR0(a,b,c,d,e,10); nR0(e,a,b,c,d,11); in do_R01()
88 nR0(d,e,a,b,c,12); nR0(c,d,e,a,b,13); nR0(b,c,d,e,a,14); nR0(a,b,c,d,e,15); in do_R01()
89 nR1(e,a,b,c,d,16); nR1(d,e,a,b,c,17); nR1(c,d,e,a,b,18); nR1(b,c,d,e,a,19); in do_R01()
[all …]
/system/core/libpixelflinger/codeflinger/
Dload_store.cpp105 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract() argument
119 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; in extract()
121 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; in extract()
123 MOV(AL, 0, d.reg, reg_imm(s, LSL, 32-h)); in extract()
127 s = d.reg; in extract()
131 MOV(AL, 0, d.reg, reg_imm(s, LSR, l)); // component = packed >> l; in extract()
132 s = d.reg; in extract()
135 if (s != d.reg) { in extract()
136 MOV(AL, 0, d.reg, s); in extract()
139 d.s = maskLen; in extract()
[all …]
Dblending.cpp473 void GGLAssembler::mul_factor( component_t& d, in mul_factor() argument
544 MOV(AL, 0, d.reg, reg_imm(vreg, LSR, vshift)); in mul_factor()
545 vreg = d.reg; in mul_factor()
548 MOV(AL, 0, d.reg, reg_imm(vreg, LSR, fshift)); in mul_factor()
549 freg = d.reg; in mul_factor()
551 if (smulw) SMULW(AL, xy, d.reg, vreg, freg); in mul_factor()
552 else SMUL(AL, xy, d.reg, vreg, freg); in mul_factor()
555 d.h = ms; in mul_factor()
557 d.l = 0; in mul_factor()
559 d.l = fs; in mul_factor()
[all …]
DGGLAssembler.cpp830 pixel_t d(mDstPixel); in build_logic_op() local
833 case GGL_AND: AND(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op()
834 case GGL_AND_REVERSE: BIC(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op()
836 case GGL_AND_INVERTED: BIC(AL, 0, pixel.reg, d.reg, s.reg); break; in build_logic_op()
837 case GGL_NOOP: MOV(AL, 0, pixel.reg, d.reg); break; in build_logic_op()
838 case GGL_XOR: EOR(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op()
839 case GGL_OR: ORR(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op()
840 case GGL_NOR: ORR(AL, 0, pixel.reg, s.reg, d.reg); in build_logic_op()
842 case GGL_EQUIV: EOR(AL, 0, pixel.reg, s.reg, d.reg); in build_logic_op()
844 case GGL_INVERT: MVN(AL, 0, pixel.reg, d.reg); break; in build_logic_op()
[all …]
/system/core/libpixelflinger/
Dfixed.cpp73 GGLfixed gglFastDivx(GGLfixed n, GGLfixed d) in gglFastDivx() argument
75 if ((d>>24) && ((d>>24)+1)) { in gglFastDivx()
77 d >>= 8; in gglFastDivx()
79 return gglMulx(n, gglRecip(d)); in gglFastDivx()
174 int32_t gglDivQ(GGLfixed n, GGLfixed d, int32_t i) in gglDivQ() argument
177 const int32_t ds = n^d; in gglDivQ()
179 if (d<0) d = -d; in gglDivQ()
180 int nd = gglClz(d) - gglClz(n); in gglDivQ()
182 if (nd > 0) d <<= nd; in gglDivQ()
193 n -= d; in gglDivQ()
[all …]
Dbuffer.cpp35 static uint32_t logic_op(int op, uint32_t s, uint32_t d);
202 uint32_t d = 0; in write_pixel() local
204 case 1: d = *data; break; in write_pixel()
205 case 2: d = *(uint16_t*)data; break; in write_pixel()
206 case 3: d = (data[2]<<16)|(data[1]<<8)|data[0]; break; in write_pixel()
207 case 4: d = GGL_RGBA_TO_HOST(*(uint32_t*)data); break; in write_pixel()
210 v = logic_op(c->state.logic_op.opcode, v, d); in write_pixel()
213 v |= (d & ~mask); in write_pixel()
228 static uint32_t logic_op(int op, uint32_t s, uint32_t d) in logic_op() argument
232 case GGL_AND: return s & d; in logic_op()
[all …]
/system/media/camera/docs/
Dmetadata_parser_xml.py141 d = {
151 d = {
164 entry_dict = dict(d.items() + d2.items() + d3.items())
170 d = {}
175 d['visibility'] = entry.get('visibility')
180 d['synthetic'] = entry.get('synthetic') == 'true'
185 d['hwlevel'] = entry.get('hwlevel')
190 d['deprecated'] = entry.get('deprecated') == 'true'
195 d['optional'] = entry.get('optional') == 'true'
200 d['type_name'] = entry.get('typedef')
[all …]
/system/bt/osi/src/
Dcompat.c69 char *d = dst; in strlcpy() local
76 if ((*d++ = *s++) == '\0') in strlcpy()
84 *d = '\0'; /* NUL-terminate dst */ in strlcpy()
104 char *d = dst; in strlcat() local
110 while (n-- != 0 && *d != '\0') in strlcat()
111 d++; in strlcat()
112 dlen = d - dst; in strlcat()
120 *d++ = *s; in strlcat()
127 *d = '\0'; in strlcat()
/system/bt/embdrv/sbc/decoder/srce/
Ddequant.c146 OI_UINT32 d; in OI_SBC_Dequant() local
156 d = (raw * 2) + 1; in OI_SBC_Dequant()
157 d *= dequant_long_scaled[bits]; in OI_SBC_Dequant()
158 result = d - SBC_DEQUANT_LONG_SCALED_OFFSET; in OI_SBC_Dequant()
185 OI_UINT32 d; in OI_SBC_Dequant_Unscaled() local
201 d = (raw * 2) + 1; in OI_SBC_Dequant_Unscaled()
202 d *= dequant_long_unscaled[bits]; in OI_SBC_Dequant_Unscaled()
203 result = d - 0x80000000; in OI_SBC_Dequant_Unscaled()
/system/core/libpixelflinger/codeflinger/tinyutils/
DTypeHelpers.h138 void copy_type(TYPE* d, const TYPE* s, size_t n) {
141 new(d) TYPE(*s);
142 d++, s++;
145 memcpy(d,s,n*sizeof(TYPE));
150 void assign_type(TYPE* d, const TYPE* s, size_t n) {
153 *d++ = *s++;
156 memcpy(d,s,n*sizeof(TYPE));
175 void move_forward_type(TYPE* d, const TYPE* s, size_t n = 1) {
177 d += n;
180 --d, --s;
[all …]
/system/bt/stack/smp/
Daes.c303 # define block_copy_nn(d, s, l) memcpy(d, s, l) argument
304 # define block_copy(d, s) memcpy(d, s, N_BLOCK) argument
306 # define block_copy_nn(d, s, l) copy_block_nn(d, s, l) argument
307 # define block_copy(d, s) copy_block(d, s) argument
311 static void copy_block( void *d, const void *s ) in copy_block() argument
314 ((uint_32t*)d)[ 0] = ((uint_32t*)s)[ 0]; in copy_block()
315 ((uint_32t*)d)[ 1] = ((uint_32t*)s)[ 1]; in copy_block()
316 ((uint_32t*)d)[ 2] = ((uint_32t*)s)[ 2]; in copy_block()
317 ((uint_32t*)d)[ 3] = ((uint_32t*)s)[ 3]; in copy_block()
319 ((uint_8t*)d)[ 0] = ((uint_8t*)s)[ 0]; in copy_block()
[all …]
/system/core/libutils/
Dprimes.py29 d = 3
30 while d <= limit:
31 if n % d == 0:
33 d += 2
DUnicode.cpp209 int d = 0; in strcmp16() local
212 d = (int)(ch = *s1++) - (int)*s2++; in strcmp16()
213 if ( d || !ch ) in strcmp16()
217 return d; in strcmp16()
223 int d = 0; in strncmp16() local
226 d = (int)(ch = *s1++) - (int)*s2++; in strncmp16()
227 if ( d || !ch ) in strncmp16()
231 return d; in strncmp16()
293 const int d = (int)*s1++ - (int)*s2++; in strzcmp16() local
294 if (d) { in strzcmp16()
[all …]
/system/core/include/utils/
DTypeHelpers.h151 void copy_type(TYPE* d, const TYPE* s, size_t n) {
154 new(d) TYPE(*s);
155 d++, s++;
158 memcpy(d,s,n*sizeof(TYPE));
177 void move_forward_type(TYPE* d, const TYPE* s, size_t n = 1) {
181 memmove(d,s,n*sizeof(TYPE));
183 d += n;
186 --d, --s;
188 new(d) TYPE(*s);
190 *d = *s;
[all …]
DRefBase.h484 void move_references(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_references() argument
487 sp<TYPE>* d; in move_references() local
491 TYPE::renameRefId(d[i].get(), &s[i], &d[i]); in move_references()
494 Renamer(sp<TYPE>* d, sp<TYPE> const* s) : d(d), s(s) { } in move_references()
498 memmove(d, s, n*sizeof(sp<TYPE>)); in move_references()
499 TYPE::renameRefs(n, Renamer(d, s)); in move_references()
504 void move_references(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_references() argument
507 wp<TYPE>* d; in move_references() local
511 TYPE::renameRefId(d[i].get_refs(), &s[i], &d[i]); in move_references()
514 Renamer(wp<TYPE>* d, wp<TYPE> const* s) : d(d), s(s) { } in move_references()
[all …]
/system/extras/tests/audio/alsa/
Dpcmtest.cpp58 DIR *d; in getPcmNodes() local
62 d = opendir(kSoundDir); in getPcmNodes()
63 if (d == 0) in getPcmNodes()
65 while ((de = readdir(d)) != NULL) { in getPcmNodes()
71 closedir(d); in getPcmNodes()
77 DIR *d; in getSndDev() local
81 d = opendir(kSoundDir); in getSndDev()
82 if (d == 0) in getSndDev()
88 while ((de = readdir(d)) != NULL) { in getSndDev()
126 closedir(d); in getSndDev()
/system/extras/f2fs_utils/
Df2fs_sparseblock.c557 struct privdata *d = data; in copy_used() local
559 int pdone = (pos * 100) / d->info->total_blocks; in copy_used()
560 if (pdone > d->done) { in copy_used()
561 d->done = pdone; in copy_used()
562 printf("Done with %d percent\n", d->done); in copy_used()
565 d->count++; in copy_used()
566 buf = d->buf; in copy_used()
567 if(read_structure_blk(d->infd, (unsigned long long)pos, d->buf, 1)) { in copy_used()
573 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET); in copy_used()
579 ret = write(d->outfd, d->buf, F2FS_BLKSIZE); in copy_used()
[all …]
/system/core/libcutils/
Dstrlcpy.c35 char *d = dst; in strlcpy() local
42 if ((*d++ = *s++) == '\0') in strlcpy()
50 *d = '\0'; /* NUL-terminate dst */ in strlcpy()
/system/extras/tests/sdcard/
Dplot_sdcard.py75 for t, d in izip(self.time, self.data):
76 accum += d
215 d = Gnuplot.Data(x, dataset.data,
219 d = Gnuplot.Data(x, dataset.data,
222 gp.replot(d)
251 d = Gnuplot.Data(x, dataset.data,
255 d = Gnuplot.Data(x, dataset.data,
258 gp.replot(d)
278 d = Gnuplot.Data(x, dataset.data,
281 gp.replot(d)
/system/core/toolbox/
Dps.c246 DIR *d; in ps_threads() local
250 d = opendir(tmp); in ps_threads()
251 if(d == 0) return; in ps_threads()
253 while((de = readdir(d)) != 0){ in ps_threads()
260 closedir(d); in ps_threads()
265 DIR *d; in ps_main() local
271 d = opendir("/proc"); in ps_main()
272 if(d == 0) return -1; in ps_main()
314 while((de = readdir(d)) != 0){ in ps_main()
323 closedir(d); in ps_main()
Dls.c194 static int show_total_size(const char *dirname, DIR *d, int flags) in show_total_size() argument
202 while ((de = readdir(d)) != 0) { in show_total_size()
215 rewinddir(d); in show_total_size()
223 rewinddir(d); in show_total_size()
435 DIR *d; in listdir() local
439 d = opendir(name); in listdir()
440 if(d == 0) { in listdir()
446 show_total_size(name, d, flags); in listdir()
449 while((de = readdir(d)) != 0){ in listdir()
463 rewinddir(d); in listdir()
[all …]
/system/vold/
Dmain.cpp167 static void do_coldboot(DIR *d, int lvl) { in do_coldboot() argument
171 dfd = dirfd(d); in do_coldboot()
179 while((de = readdir(d))) { in do_coldboot()
203 DIR *d = opendir(path); in coldboot() local
204 if(d) { in coldboot()
205 do_coldboot(d, 0); in coldboot()
206 closedir(d); in coldboot()
/system/netd/server/
DInterfaceController.cpp69 dirent* d; in setOnAllInterfaces() local
70 while ((d = readdir(dir))) { in setOnAllInterfaces()
71 if ((d->d_type != DT_DIR) || !isInterfaceName(d->d_name)) { in setOnAllInterfaces()
74 writeValueToPath(dirname, d->d_name, basename, value); in setOnAllInterfaces()
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/
Dcol32cb16blend_test.c70 uint16_t d = *dst; in scanline_col32cb16blend_c() local
71 int dstR = (d>>11)&0x1f; in scanline_col32cb16blend_c()
72 int dstG = (d>>5)&0x3f; in scanline_col32cb16blend_c()
73 int dstB = (d)&0x1f; in scanline_col32cb16blend_c()
/system/core/logcat/
Dlogcat.cpp55 log_device_t(const char* d, bool b) { in log_device_t()
56 device = d; in log_device_t()
619 log_device_t* d = new log_device_t(name, binary); in main() local
622 dev->next = d; in main()
623 dev = d; in main()
625 devices = dev = d; in main()
961 log_device_t* d; in main() local
982 for(d = devices; d; d = d->next) { in main()
983 if (android_name_to_log_id(d->device) == log_msg.id()) { in main()
987 if (!d) { in main()
[all …]

12345