/system/extras/ext4_utils/ |
D | sha1.c | 71 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/ |
D | load_store.cpp | 109 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract() argument 122 if ((h == bits) && !l && (s != d.reg)) { in extract() 123 MOV(AL, 0, d.reg, s); // component = packed; in extract() 125 MOV(AL, 0, d.reg, reg_imm(s, LSR, l)); // component = packed >> l; in extract() 127 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; in extract() 129 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; in extract() 131 UBFX(AL, d.reg, s, l, maskLen); // component = (packed & mask) >> l; in extract() 137 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; in extract() 139 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; in extract() 141 MOV(AL, 0, d.reg, reg_imm(s, LSL, 32-h)); in extract() [all …]
|
D | blending.cpp | 473 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 …]
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 73 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 …]
|
D | buffer.cpp | 35 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/ |
D | metadata_parser_xml.py | 141 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/core/libutils/ |
D | primes.py | 29 d = 3 30 while d <= limit: 31 if n % d == 0: 33 d += 2
|
D | Unicode.cpp | 215 int d = 0; in strcmp16() local 218 d = (int)(ch = *s1++) - (int)*s2++; in strcmp16() 219 if ( d || !ch ) in strcmp16() 223 return d; in strcmp16() 229 int d = 0; in strncmp16() local 232 d = (int)(ch = *s1++) - (int)*s2++; in strncmp16() 233 if ( d || !ch ) in strncmp16() 237 return d; in strncmp16() 299 const int d = (int)*s1++ - (int)*s2++; in strzcmp16() local 300 if (d) { in strzcmp16() [all …]
|
/system/core/include/utils/ |
D | TypeHelpers.h | 151 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 …]
|
D | RefBase.h | 484 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) : s(s), d(d) { } in move_references() 497 memmove(d, s, n*sizeof(sp<TYPE>)); in move_references() 498 TYPE::renameRefs(n, Renamer(d, s)); in move_references() 503 void move_references(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_references() argument 506 wp<TYPE>* d; in move_references() local 510 TYPE::renameRefId(d[i].get_refs(), &s[i], &d[i]); in move_references() 513 Renamer(wp<TYPE>* d, wp<TYPE> const* s) : s(s), d(d) { } in move_references() [all …]
|
/system/extras/tests/audio/alsa/ |
D | pcmtest.cpp | 58 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/vold/ |
D | main.cpp | 109 static void do_coldboot(DIR *d, int lvl) in do_coldboot() argument 114 dfd = dirfd(d); in do_coldboot() 122 while((de = readdir(d))) { in do_coldboot() 147 DIR *d = opendir(path); in coldboot() local 148 if(d) { in coldboot() 149 do_coldboot(d, 0); in coldboot() 150 closedir(d); in coldboot()
|
/system/core/toolbox/ |
D | schedtop.c | 156 DIR *d; in add_threads() local 159 d = opendir(path); in add_threads() 160 if(d == 0) return; in add_threads() 161 while((de = readdir(d)) != 0){ in add_threads() 167 closedir(d); in add_threads() 193 static void update_table(DIR *d, uint32_t flags) in update_table() argument 198 rewinddir(d); in update_table() 199 while((de = readdir(d)) != 0){ in update_table() 271 DIR *d; in schedtop_main() local 312 d = opendir("/proc"); in schedtop_main() [all …]
|
D | ls.c | 98 static int show_total_size(const char *dirname, DIR *d, int flags) in show_total_size() argument 106 while ((de = readdir(d)) != 0) { in show_total_size() 119 rewinddir(d); in show_total_size() 127 rewinddir(d); in show_total_size() 339 DIR *d; in listdir() local 343 d = opendir(name); in listdir() 344 if(d == 0) { in listdir() 350 show_total_size(name, d, flags); in listdir() 353 while((de = readdir(d)) != 0){ in listdir() 367 rewinddir(d); in listdir() [all …]
|
D | ps.c | 226 DIR *d; in ps_threads() local 230 d = opendir(tmp); in ps_threads() 231 if(d == 0) return; in ps_threads() 233 while((de = readdir(d)) != 0){ in ps_threads() 240 closedir(d); in ps_threads() 245 DIR *d; in ps_main() local 251 d = opendir("/proc"); in ps_main() 252 if(d == 0) return -1; in ps_main() 289 while((de = readdir(d)) != 0){ in ps_main() 298 closedir(d); in ps_main()
|
/system/netd/server/ |
D | InterfaceController.cpp | 115 dirent* d; in setOnAllInterfaces() local 116 while ((d = readdir(dir))) { in setOnAllInterfaces() 117 if (d->d_type == DT_DIR && isInterfaceName(d->d_name)) { in setOnAllInterfaces() 118 writeIPv6ProcPath(d->d_name, filename, value); in setOnAllInterfaces()
|
D | PppController.cpp | 133 DIR *d = opendir("/sys/class/tty"); in updateTtyList() local 134 if (!d) { in updateTtyList() 140 while ((de = readdir(d))) { in updateTtyList() 147 closedir(d); in updateTtyList()
|
/system/core/libcutils/ |
D | memory.c | 69 char *d = dst; in strlcpy() local 76 if ((*d++ = *s++) == '\0') in strlcpy() 84 *d = '\0'; /* NUL-terminate dst */ in strlcpy()
|
/system/extras/f2fs_utils/ |
D | f2fs_sparseblock.c | 546 struct privdata *d = data; in copy_used() local 548 int pdone = (pos*100)/d->info->total_blocks; in copy_used() 549 if (pdone > d->done) { in copy_used() 550 d->done = pdone; in copy_used() 551 printf("Done with %d percent\n", d->done); in copy_used() 554 d->count++; in copy_used() 555 buf = d->buf; in copy_used() 556 if(read_structure_blk(d->infd, (unsigned long long)pos, d->buf, 1)) { in copy_used() 562 ret = lseek64(d->outfd, pos*F2FS_BLKSIZE, SEEK_SET); in copy_used() 568 ret = write(d->outfd, d->buf, F2FS_BLKSIZE); in copy_used() [all …]
|
/system/core/adb/ |
D | file_sync_service.h | 30 #define MKID(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((a) << 24)) argument 34 #define MKID(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24)) argument
|
/system/core/netcfg/ |
D | netcfg.c | 73 DIR *d; in dump_interfaces() local 76 d = opendir("/sys/class/net"); in dump_interfaces() 77 if(d == 0) return -1; in dump_interfaces() 79 while((de = readdir(d))) { in dump_interfaces() 83 closedir(d); in dump_interfaces()
|
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/ |
D | col32cb16blend_test.c | 70 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/extras/tests/sdcard/ |
D | plot_sdcard.py | 75 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/libpixelflinger/tests/arch-arm64/t32cb16blend/ |
D | t32cb16blend_test.c | 69 uint16_t d = *dst; in scanline_t32cb16blend_c() local 71 int dstR = (d>>11)&0x1f; in scanline_t32cb16blend_c() 72 int dstG = (d>>5)&0x3f; in scanline_t32cb16blend_c() 73 int dstB = (d)&0x1f; in scanline_t32cb16blend_c()
|
/system/extras/tests/mmc_tracepoints/ |
D | README | 4 adb shell echo 1 >/d/tracing/events/mmc/enable 5 adb shell echo 1 >/d/tracing/tracing_on 9 adb pull /d/tracing/trace 13 adb shell echo 0 >/d/tracing/tracing_enabled
|