/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()
|
D | diskmbr.h | 67 void dos_partition_dec(void const *pp, struct dos_partition *d); 68 void dos_partition_enc(void *pp, struct dos_partition *d);
|
/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 | 483 void GGLAssembler::mul_factor( component_t& d, in mul_factor() argument 554 MOV(AL, 0, d.reg, reg_imm(vreg, LSR, vshift)); in mul_factor() 555 vreg = d.reg; in mul_factor() 558 MOV(AL, 0, d.reg, reg_imm(vreg, LSR, fshift)); in mul_factor() 559 freg = d.reg; in mul_factor() 561 if (smulw) SMULW(AL, xy, d.reg, vreg, freg); in mul_factor() 562 else SMUL(AL, xy, d.reg, vreg, freg); in mul_factor() 565 d.h = ms; in mul_factor() 567 d.l = 0; in mul_factor() 569 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 …]
|
D | texturing.cpp | 697 int d = scratches.obtain(); in filter8() local 712 SMULBB(AL, d, pixel, u); in filter8() 719 SMLABB(AL, d, pixel, u, d); in filter8() 726 SMLABB(AL, d, pixel, u, d); in filter8() 731 SMLABB(AL, texel.reg, pixel, u, d); in filter8() 802 int d = scratches.obtain(); in filter16() local 821 MUL(AL, 0, d, pixel, u); in filter16() 836 MLA(AL, 0, d, pixel, u, d); in filter16() 850 MLA(AL, 0, d, pixel, u, d); in filter16() 858 MLA(AL, 0, texel.reg, pixel, u, d); in filter16() [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 | 129 int validate_memcpy(char* s, char* d, size_t size); 214 char* d = dst + 1024; in memcpy_test() local 217 nb += validate_memcpy(s, d, size); in memcpy_test() 219 nb += validate_memcpy(s+o, d, size); in memcpy_test() 220 nb += validate_memcpy(s, d+o, size); in memcpy_test() 221 nb += validate_memcpy(s+o, d+o, size); in memcpy_test() 233 int validate_memcpy(char* s, char* d, size_t size) in validate_memcpy() argument 236 memset(d-4, 0x55, size+8); in validate_memcpy() 237 memcpy(s, d, size); in validate_memcpy() 238 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 | 156 DIR *d; in ps_threads() local 160 d = opendir(tmp); in ps_threads() 161 if(d == 0) return; in ps_threads() 163 while((de = readdir(d)) != 0){ in ps_threads() 170 closedir(d); in ps_threads() 175 DIR *d; in ps_main() local 181 d = opendir("/proc"); in ps_main() 182 if(d == 0) return -1; in ps_main() 202 while((de = readdir(d)) != 0){ in ps_main() 211 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 | 161 DIR *d; in listdir() local 164 d = opendir(name); in listdir() 165 if(d == 0) { in listdir() 170 while((de = readdir(d)) != 0){ in listdir() 182 rewinddir(d); in listdir() 184 while ((de = readdir(d)) != 0) { in listdir() 207 closedir(d); in listdir() 218 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/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/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/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/sh/ |
D | cd.c | 83 char *p, *d; in cdcmd() local 107 d = stalloc(strlen(curdir) + strlen(argptr[1]) + 1); in cdcmd() 108 memcpy(d, curdir, p - curdir); in cdcmd() 109 strcpy(d + (p - curdir), argptr[1]); in cdcmd() 110 strcat(d, p + strlen(dest)); in cdcmd() 111 dest = d; in cdcmd()
|
/system/core/include/private/pixelflinger/ |
D | ggl_fixed.h | 89 GGLfixed gglFastDivx(GGLfixed n, GGLfixed d) CONST; 251 int32_t gglDivQ(GGLfixed n, GGLfixed d, int32_t i) CONST; 253 inline int32_t gglDivQ16(GGLfixed n, GGLfixed d) CONST; 254 inline int32_t gglDivQ16(GGLfixed n, GGLfixed d) { in gglDivQ16() argument 255 return gglDivQ(n, d, 16); in gglDivQ16() 258 inline int32_t gglDivx(GGLfixed n, GGLfixed d) CONST; 259 inline int32_t gglDivx(GGLfixed n, GGLfixed d) { in gglDivx() argument 260 return gglDivQ(n, d, 16); in gglDivx()
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
D | Makefile | 71 DEPS = $(SRCS:%.c=%.d) 159 %.d: %.c 163 %.d: %.cpp 181 @rm -f $(SUPPL_OBJS) $(SUPPL_OBJS:.c=.d) $(OUTPUT_DIR)/wlan_suppl $(SUPPL_TARGET)
|