/system/core/vold/ |
D | geom_mbr_enc.c | 59 dos_partition_dec(void const *pp, struct dos_partition *d) in dos_partition_dec() argument 63 d->dp_flag = p[0]; in dos_partition_dec() 64 d->dp_shd = p[1]; in dos_partition_dec() 65 d->dp_ssect = p[2]; in dos_partition_dec() 66 d->dp_scyl = p[3]; in dos_partition_dec() 67 d->dp_typ = p[4]; in dos_partition_dec() 68 d->dp_ehd = p[5]; in dos_partition_dec() 69 d->dp_esect = p[6]; in dos_partition_dec() 70 d->dp_ecyl = p[7]; in dos_partition_dec() 71 d->dp_start = le32dec(p + 8); in dos_partition_dec() [all …]
|
D | mmc.c | 42 DIR *d; in mmc_bootstrap() local 45 if (!(d = opendir(SYSFS_CLASS_MMC_PATH))) { in mmc_bootstrap() 51 while ((de = readdir(d))) { in mmc_bootstrap() 64 closedir(d); in mmc_bootstrap() 71 DIR *d; in mmc_bootstrap_controller() local 77 if (!(d = opendir(sysfs_path))) { in mmc_bootstrap_controller() 82 while ((de = readdir(d))) { in mmc_bootstrap_controller() 101 closedir(d); in mmc_bootstrap_controller() 190 DIR *d; in mmc_bootstrap_block() local 199 if (!(d = opendir(blockdir_path))) { in mmc_bootstrap_block() [all …]
|
D | switch.c | 34 DIR *d; in switch_bootstrap() local 37 if (!(d = opendir(SYSFS_CLASS_SWITCH_PATH))) { in switch_bootstrap() 43 while ((de = readdir(d))) { in switch_bootstrap() 56 closedir(d); in switch_bootstrap()
|
/system/core/libacc/tests/data/ |
D | otcc-ansi.c | 2 int d, z, C, h, P, K, ac, q, G, v, Q, R, D, L, W, M; variable 37 if (d == 536) { in ad() 40 *(int*) d = 1; in ad() 41 *(int*) (d + 4) = D; in ad() 53 d = h; in ad() 61 if (isdigit(d)) { in ad() 63 d = 2; in ad() 66 d = strstr(R, M - 1) - R; in ad() 68 d = d * 8 + 256; in ad() 69 if (d > 536) { in ad() [all …]
|
D | array.c | 13 double d[3]; variable 25 d[0] = 1; in testGlobalDouble() 26 d[1] = 2; in testGlobalDouble() 27 d[2] = d[0] + d[1]; in testGlobalDouble() 28 printf("globalDouble: %g\n", d[2]); in testGlobalDouble() 33 double d[3]; in testLocalDouble() local 37 d[0] = 1.0; in testLocalDouble() 38 d[1] = 2.0; in testLocalDouble() 39 d[2] = d[0] + d[1]; in testLocalDouble() 41 printf("localDouble: %g %g\n", d[2], m[2]); in testLocalDouble()
|
D | otcc-noinclude.c | 14 #define u d!= 19 F d,z,C,h,P,K,ac,q,G,v,Q,R,D,L,W,M; variable 48 a d b 536){ 51 k d=1; 52 k(d t)=D; 64 d=h; 72 a isdigit(d)){ 74 d=2; 78 d=strstr(R,M-1)-R; 80 d=d*8+256; [all …]
|
D | otcc.c | 14 #define u d!= 19 F d,z,C,h,P,K,ac,q,G,v,Q,R,D,L,W,M; variable 48 a d b 536){ 51 k d=1; 52 k(d t)=D; 64 d=h; 72 a isdigit(d)){ 74 d=2; 78 d=strstr(R,M-1)-R; 80 d=d*8+256; [all …]
|
D | flops.c | 110 int branch(double d) { in branch() argument 111 if (d) { in branch() 121 void testpassi(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k, int l) { in testpassi() argument 122 printf("testpassi: %d %d %d %d %d %d %d %d %d %d %d %d\n", a, b, c, d, e, f, g, h, i, j, k, l); in testpassi() 125 void testpassf(float a, float b, float c, float d, float e, float f, float g, float h, float i, flo… in testpassf() argument 126 printf("testpassf: %g %g %g %g %g %g %g %g %g %g %g %g\n", a, b, c, d, e, f, g, h, i, j, k, l); in testpassf() 129 void testpassd(double a, double b, double c, double d, double e, double f, double g, double h, doub… in testpassd() argument 130 printf("testpassd: %g %g %g %g %g %g %g %g %g %g %g %g\n", a, b, c, d, e, f, g, h, i, j, k, l); in testpassd() 133 void testpassidf(int i, double d, float f) { in testpassidf() argument 134 printf("testpassidf: %d %g %g\n", i, d, f); in testpassidf()
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
D | bluetooth.h | 42 #define htobs(d) (d) argument 43 #define htobl(d) (d) argument 44 #define btohs(d) (d) argument 45 #define btohl(d) (d) argument 47 #define htobs(d) bswap_16(d) argument 48 #define htobl(d) bswap_32(d) argument 49 #define btohs(d) bswap_16(d) argument 50 #define btohl(d) bswap_32(d) argument
|
/system/core/libpixelflinger/codeflinger/ |
D | load_store.cpp | 106 void GGLAssembler::extract(integer_t& d, int s, int h, int l, int bits) in extract() argument 116 AND(AL, 0, d.reg, s, imm(mask)); // component = packed & mask; in extract() 118 BIC(AL, 0, d.reg, s, imm(~mask)); // component = packed & mask; in extract() 120 MOV(AL, 0, d.reg, reg_imm(s, LSL, 32-h)); in extract() 124 s = d.reg; in extract() 128 MOV(AL, 0, d.reg, reg_imm(s, LSR, l)); // component = packed >> l; in extract() 129 s = d.reg; in extract() 132 if (s != d.reg) { in extract() 133 MOV(AL, 0, d.reg, s); in extract() 136 d.s = maskLen; 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 …]
|
D | GGLAssembler.cpp | 827 pixel_t d(mDstPixel); in build_logic_op() local 830 case GGL_AND: AND(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op() 831 case GGL_AND_REVERSE: BIC(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op() 833 case GGL_AND_INVERTED: BIC(AL, 0, pixel.reg, d.reg, s.reg); break; in build_logic_op() 834 case GGL_NOOP: MOV(AL, 0, pixel.reg, d.reg); break; in build_logic_op() 835 case GGL_XOR: EOR(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op() 836 case GGL_OR: ORR(AL, 0, pixel.reg, s.reg, d.reg); break; in build_logic_op() 837 case GGL_NOR: ORR(AL, 0, pixel.reg, s.reg, d.reg); in build_logic_op() 839 case GGL_EQUIV: EOR(AL, 0, pixel.reg, s.reg, d.reg); in build_logic_op() 841 case GGL_INVERT: MVN(AL, 0, pixel.reg, d.reg); break; in build_logic_op() [all …]
|
D | GGLAssembler.h | 351 void base_offset(const pointer_t& d, const pointer_t& b, const reg_t& o); 373 void extract(integer_t& d, const pixel_t& s, int component); 374 void extract(component_t& d, const pixel_t& s, int component); 375 void extract(integer_t& d, int s, int h, int l, int bits=32); 376 void expand(integer_t& d, const integer_t& s, int dbits); 377 void expand(integer_t& d, const component_t& s, int dbits); 378 void expand(component_t& d, const component_t& s, int dbits); 379 void downshift(pixel_t& d, int component, component_t s, const reg_t& dither); 382 void mul_factor( component_t& d, 386 void mul_factor_add( component_t& d, [all …]
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 72 GGLfixed gglFastDivx(GGLfixed n, GGLfixed d) in gglFastDivx() argument 74 if ((d>>24) && ((d>>24)+1)) { in gglFastDivx() 76 d >>= 8; in gglFastDivx() 78 return gglMulx(n, gglRecip(d)); in gglFastDivx() 173 int32_t gglDivQ(GGLfixed n, GGLfixed d, int32_t i) in gglDivQ() argument 176 const int32_t ds = n^d; in gglDivQ() 178 if (d<0) d = -d; in gglDivQ() 179 int nd = gglClz(d) - gglClz(n); in gglDivQ() 181 if (nd > 0) d <<= nd; in gglDivQ() 192 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/extras/tests/memtest/ |
D | memtest.cpp | 132 int validate_memcpy(char* s, char* d, size_t size); 217 char* d = dst + 1024; in memcpy_test() local 220 nb += validate_memcpy(s, d, size); in memcpy_test() 222 nb += validate_memcpy(s+o, d, size); in memcpy_test() 223 nb += validate_memcpy(s, d+o, size); in memcpy_test() 224 nb += validate_memcpy(s+o, d+o, size); in memcpy_test() 236 int validate_memcpy(char* s, char* d, size_t size) in validate_memcpy() argument 239 memset(d-4, 0x55, size+8); in validate_memcpy() 240 MEMCPY(s, d, size); in validate_memcpy() 241 if (memcmp(s,d,size)) { in validate_memcpy() [all …]
|
/system/core/libpixelflinger/tinyutils/ |
D | TypeHelpers.h | 128 void copy_type(TYPE* d, const TYPE* s, size_t n) { 131 new(d) TYPE(*s); 132 d++, s++; 135 memcpy(d,s,n*sizeof(TYPE)); 140 void assign_type(TYPE* d, const TYPE* s, size_t n) { 143 *d++ = *s++; 146 memcpy(d,s,n*sizeof(TYPE)); 165 void move_forward_type(TYPE* d, const TYPE* s, size_t n = 1) { 167 d += n; 170 --d, --s; [all …]
|
/system/wlan/ti/sta_dk_4_0_4_32/pform/linux/inc/ |
D | ioctl_init.h | 69 #define IS_CONFIG_MGR_STARTED(d) (((tiwlan_net_dev_t *) (d)->priv)->started) argument 70 #define TEST_CONFIG_MGR_STARTED(d) if( !IS_CONFIG_MGR_STARTED(d)) {\ argument
|
/system/core/toolbox/ |
D | ps.c | 173 DIR *d; in ps_threads() local 177 d = opendir(tmp); in ps_threads() 178 if(d == 0) return; in ps_threads() 180 while((de = readdir(d)) != 0){ in ps_threads() 187 closedir(d); in ps_threads() 192 DIR *d; in ps_main() local 198 d = opendir("/proc"); in ps_main() 199 if(d == 0) return -1; in ps_main() 222 while((de = readdir(d)) != 0){ in ps_main() 231 closedir(d); in ps_main()
|
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() 272 DIR *d; in schedtop_main() local 316 d = opendir("/proc"); in schedtop_main() [all …]
|
D | ls.c | 199 DIR *d; in listdir() local 202 d = opendir(name); in listdir() 203 if(d == 0) { in listdir() 208 while((de = readdir(d)) != 0){ in listdir() 216 rewinddir(d); in listdir() 218 while ((de = readdir(d)) != 0) { in listdir() 243 closedir(d); in listdir() 254 closedir(d); in listdir()
|
/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 | 75 DIR *d; in dump_interfaces() local 78 d = opendir("/sys/class/net"); in dump_interfaces() 79 if(d == 0) return -1; in dump_interfaces() 81 while((de = readdir(d))) { in dump_interfaces() 85 closedir(d); in dump_interfaces()
|
/system/core/libcutils/ |
D | memory.c | 65 char *d = dst; in strlcpy() local 72 if ((*d++ = *s++) == '\0') in strlcpy() 80 *d = '\0'; /* NUL-terminate dst */ in strlcpy()
|
/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)
|