/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/ |
D | pll.c | 44 unsigned int data; in init_pll() local 46 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll() 47 data |= 0x1; in init_pll() 48 mmio_write_32((0xf7032000 + 0x000), data); in init_pll() 51 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll() 52 } while (!(data & (1 << 28))); in init_pll() 54 data = mmio_read_32((0xf7800000 + 0x000)); in init_pll() 55 data &= ~0x007; in init_pll() 56 data |= 0x004; in init_pll() 57 mmio_write_32((0xf7800000 + 0x000), data); in init_pll() [all …]
|
D | bl1_plat_setup.c | 180 static inline char hex2str(unsigned int data) in hex2str() argument 182 data &= 0xf; in hex2str() 183 if ((data >= 0) && (data <= 9)) in hex2str() 184 return (char)(data + 0x30); in hex2str() 185 return (char)(data - 10 + 0x41); in hex2str() 188 static uint64_t rand(unsigned int data) in rand() argument 192 quotient = data / 127773; in rand() 193 remainder = data % 127773; in rand() 202 unsigned int data, t; in generate_serialno() local 205 data = mmio_read_32(AO_SC_SYSTEST_SLICER_CNT0); in generate_serialno() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | printf.c | 38 static uint32_t StrPrvPrintfEx_number(printf_write_c putc_, struct PrintfData *data, bool *bail) in StrPrvPrintfEx_number() argument 48 if (data->fieldWidth > sizeof(buf) - 1) in StrPrvPrintfEx_number() 49 data->fieldWidth = sizeof(buf) - 1; in StrPrvPrintfEx_number() 51 if (data->precision > sizeof(buf) - 1) in StrPrvPrintfEx_number() 52 data->precision = sizeof(buf) - 1; in StrPrvPrintfEx_number() 57 if (data->flags & FLAG_IS_SIGNED) { in StrPrvPrintfEx_number() 59 if (((int64_t)data->number) < 0) { in StrPrvPrintfEx_number() 61 data->posChar = '-'; in StrPrvPrintfEx_number() 62 data->number = -data->number; in StrPrvPrintfEx_number() 67 if (data->base == 8) { in StrPrvPrintfEx_number() [all …]
|
/device/google/dragon/audio/hal/ |
D | cras_dsp_mod_builtin.c | 58 module->data = calloc(4, sizeof(float*)); in invert_lr_instantiate() 66 ports = (float **)module->data; in invert_lr_connect_port() 74 float **ports = (float **)module->data; in invert_lr_run() 84 free(module->data); in invert_lr_deinstantiate() 104 module->data = calloc(4, sizeof(float*)); in mix_stereo_instantiate() 112 ports = (float **)module->data; in mix_stereo_connect_port() 121 float **ports = (float **)module->data; in mix_stereo_run() 132 free(module->data); in mix_stereo_deinstantiate() 159 struct eq_data *data; in eq_instantiate() local 161 module->data = calloc(1, sizeof(struct eq_data)); in eq_instantiate() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_audioop.py | 21 data = [gendata1(), gendata2(), gendata4()] variable 33 self.assertEqual(audioop.max(data[0], 1), 2) 34 self.assertEqual(audioop.max(data[1], 2), 2) 35 self.assertEqual(audioop.max(data[2], 4), 2) 38 self.assertEqual(audioop.minmax(data[0], 1), (0, 2)) 39 self.assertEqual(audioop.minmax(data[1], 2), (0, 2)) 40 self.assertEqual(audioop.minmax(data[2], 4), (0, 2)) 43 self.assertEqual(audioop.maxpp(data[0], 1), 0) 44 self.assertEqual(audioop.maxpp(data[1], 2), 0) 45 self.assertEqual(audioop.maxpp(data[2], 4), 0) [all …]
|
D | test_sort.py | 175 data = 'The quick Brown fox Jumped over The lazy Dog'.split() 176 copy = data[:] 177 random.shuffle(data) 178 data.sort(key=str.lower) 182 data = 'The quick Brown fox Jumped over The lazy Dog'.split() 183 self.assertRaises(TypeError, data.sort, None, lambda x,y: 0) 186 data = [(random.randrange(100), i) for i in xrange(200)] 187 copy = data[:] 188 data.sort(key=lambda x: x[0]) # sort on the random first field 190 self.assertEqual(data, copy) # should get the same result [all …]
|
D | test_shlex.py | 15 data = r"""x|x| variable 144 self.data = [x.split("|")[:-1] 145 for x in data.splitlines()] 148 for item in self.data: 153 def splitTest(self, data, comments): argument 154 for i in range(len(data)): 155 l = shlex.split(data[i][0], comments=comments) 156 self.assertEqual(l, data[i][1:], 158 (data[i][0], l, data[i][1:])) 175 for i in range(len(self.data)): [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | UserString.py | 16 self.data = seq 18 self.data = seq.data[:] 20 self.data = str(seq) 21 def __str__(self): return str(self.data) 22 def __repr__(self): return repr(self.data) 23 def __int__(self): return int(self.data) 24 def __long__(self): return long(self.data) 25 def __float__(self): return float(self.data) 26 def __complex__(self): return complex(self.data) 27 def __hash__(self): return hash(self.data) [all …]
|
D | UserList.py | 7 self.data = [] 10 if type(initlist) == type(self.data): 11 self.data[:] = initlist 13 self.data[:] = initlist.data[:] 15 self.data = list(initlist) 16 def __repr__(self): return repr(self.data) 17 def __lt__(self, other): return self.data < self.__cast(other) 18 def __le__(self, other): return self.data <= self.__cast(other) 19 def __eq__(self, other): return self.data == self.__cast(other) 20 def __ne__(self, other): return self.data != self.__cast(other) [all …]
|
D | _weakrefset.py | 36 def __init__(self, data=None): argument 37 self.data = set() 44 self.data.discard(item) 49 if data is not None: 50 self.update(data) 54 discard = self.data.discard 60 for itemref in self.data: 66 return sum(x() is not None for x in self.data) 73 return wr in self.data 84 self.data.add(ref(item, self._remove)) [all …]
|
D | weakref.py | 51 del self.data[wr.key] 56 o = self.data[key]() 64 o = self.data[key]() 71 o = self.data[key]() 80 self.data[key] = KeyedRef(value, self._remove, key) 84 for key, wr in self.data.items(): 95 for key, wr in self.data.items(): 103 wr = self.data[key] 116 for key, wr in self.data.items(): 123 for wr in self.data.itervalues(): [all …]
|
D | UserDict.py | 5 self.data = {} 10 def __repr__(self): return repr(self.data) 13 return cmp(self.data, dict.data) 15 return cmp(self.data, dict) 17 def __len__(self): return len(self.data) 19 if key in self.data: 20 return self.data[key] 24 def __setitem__(self, key, item): self.data[key] = item 25 def __delitem__(self, key): del self.data[key] 26 def clear(self): self.data.clear() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/drivers/ |
D | sp804_timer.c | 42 unsigned int data; in hi6220_timer_init() local 46 data = mmio_read_32(AO_SC_TIMER_EN0); in hi6220_timer_init() 47 while (data & 3) { in hi6220_timer_init() 48 data &= ~3; in hi6220_timer_init() 49 data |= 3 << 16; in hi6220_timer_init() 50 mmio_write_32(AO_SC_TIMER_EN0, data); in hi6220_timer_init() 51 data = mmio_read_32(AO_SC_TIMER_EN0); in hi6220_timer_init() 54 data = mmio_read_32(AO_SC_PERIPH_CLKSTAT4); in hi6220_timer_init() 55 while (!(data & PCLK_TIMER1) || !(data & PCLK_TIMER0)) { in hi6220_timer_init() 57 data = mmio_read_32(AO_SC_PERIPH_CLKSTAT4); in hi6220_timer_init() [all …]
|
D | dw_mmc.c | 64 static inline int mmc_state(unsigned int data) in mmc_state() argument 66 return ((data & MMC_STATUS_CURRENT_STATE_MASK) >> in mmc_state() 72 unsigned int data; in wait_data_ready() local 75 data = mmio_read_32(MMC0_RINTSTS); in wait_data_ready() 76 if (data & (MMC_INT_DCRC | MMC_INT_DRT | MMC_INT_SBE | in wait_data_ready() 78 NOTICE("unwanted interrupts:0x%x\n", data); in wait_data_ready() 81 if (data & MMC_INT_DTO) in wait_data_ready() 91 unsigned int data; in update_mmc0_clock() local 94 data = BIT_CMD_WAIT_PRVDATA_COMPLETE | BIT_CMD_UPDATE_CLOCK_ONLY | in update_mmc0_clock() 96 mmio_write_32(MMC0_CMD, data); in update_mmc0_clock() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
D | register.py | 193 data = {':action': 'user'} 194 data['name'] = data['password'] = data['email'] = '' 195 data['confirm'] = None 196 while not data['name']: 197 data['name'] = raw_input('Username: ') 198 while data['password'] != data['confirm']: 199 while not data['password']: 200 data['password'] = getpass.getpass('Password: ') 201 while not data['confirm']: 202 data['confirm'] = getpass.getpass(' Confirm: ') [all …]
|
/device/linaro/hikey/installer/hikey/ |
D | hisi-idt.py | 90 def calc_crc(self, data, crc=0): argument 91 for char in data: 101 def sendframe(self, data, loop): argument 104 self.s.write(data) 118 data = array.array('B', self.startframe[self.chip]).tostring() 119 crc = self.calc_crc(data) 120 data += chr((crc >> 8)&0xff) 121 data += chr(crc&0xff) 122 self.sendframe(data,10000) 135 data = array.array('B', self.headframe[self.chip]).tostring() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/ |
D | _codecs_iso2022.c | 105 typedef ucs4_t (*iso2022_decode_func)(const unsigned char *data); 106 typedef DBCHAR (*iso2022_encode_func)(const ucs4_t *data, Py_ssize_t *length); 581 ksx1001_decoder(const unsigned char *data) in ksx1001_decoder() argument 584 TRYMAP_DEC(ksx1001, u, data[0], data[1]) in ksx1001_decoder() 591 ksx1001_encoder(const ucs4_t *data, Py_ssize_t *length) in ksx1001_encoder() argument 595 if (*data < 0x10000) { in ksx1001_encoder() 596 TRYMAP_ENC(cp949, coded, *data) in ksx1001_encoder() 617 jisx0208_decoder(const unsigned char *data) in jisx0208_decoder() argument 620 if (data[0] == 0x21 && data[1] == 0x40) /* F/W REVERSE SOLIDUS */ in jisx0208_decoder() 622 else TRYMAP_DEC(jisx0208, u, data[0], data[1]) in jisx0208_decoder() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/cjkcodecs/ |
D | _codecs_iso2022.c | 105 typedef ucs4_t (*iso2022_decode_func)(const unsigned char *data); 106 typedef DBCHAR (*iso2022_encode_func)(const ucs4_t *data, Py_ssize_t *length); 581 ksx1001_decoder(const unsigned char *data) in ksx1001_decoder() argument 584 TRYMAP_DEC(ksx1001, u, data[0], data[1]) in ksx1001_decoder() 591 ksx1001_encoder(const ucs4_t *data, Py_ssize_t *length) in ksx1001_encoder() argument 595 if (*data < 0x10000) { in ksx1001_encoder() 596 TRYMAP_ENC(cp949, coded, *data) in ksx1001_encoder() 617 jisx0208_decoder(const unsigned char *data) in jisx0208_decoder() argument 620 if (data[0] == 0x21 && data[1] == 0x40) /* F/W REVERSE SOLIDUS */ in jisx0208_decoder() 622 else TRYMAP_DEC(jisx0208, u, data[0], data[1]) in jisx0208_decoder() [all …]
|
/device/google/wahoo/ |
D | init.radio.sh | 6 if [ -f /vendor/radio/qcril_database/qcril.db -a ! -f /data/vendor/radio/qcril.db ]; then 7 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril.db 8 chown -h radio.radio /data/vendor/radio/qcril.db 10 echo 1 > /data/vendor/radio/db_check_done 15 if [ -f /data/vendor/radio/ver_info.txt ]; then 16 prev_version_info=`cat /data/vendor/radio/ver_info.txt` 23 rm -rf /data/vendor/radio/modem_config 24 mkdir /data/vendor/radio/modem_config 25 chmod 770 /data/vendor/radio/modem_config 26 cp -r /firmware/image/modem_pr/mcfg/configs/* /data/vendor/radio/modem_config [all …]
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/ |
D | platform.c | 26 uint32_t data ); 31 uint32_t *data ); 51 uint32_t data; in Rd32() local 58 SimMmio32Read( 1, addr, &data); in Rd32() 60 data = *PTR32(addr); in Rd32() 74 data = pciread32(0, 0, 0, SB_DATA_REG); in Rd32() 84 data = pciread32(0, 0, 0, SB_DATA_REG); in Rd32() 93 DPF(D_REGRD, "RD32 %03X %08X %08X\n", unit, addr, data); in Rd32() 95 return data; in Rd32() 104 uint32_t data) in Wr32() argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | UserDict.py | 5 self.data = {} 10 def __repr__(self): return repr(self.data) 13 return cmp(self.data, dict.data) 15 return cmp(self.data, dict) 17 def __len__(self): return len(self.data) 19 if key in self.data: 20 return self.data[key] 24 def __setitem__(self, key, item): self.data[key] = item 25 def __delitem__(self, key): del self.data[key] 26 def clear(self): self.data.clear() [all …]
|
D | weakref.py | 54 del self.data[wr.key] 63 d = self.data 70 o = self.data[key]() 79 del self.data[key] 83 o = self.data[key]() 90 o = self.data[key]() 101 self.data[key] = KeyedRef(value, self._remove, key) 106 self.data.clear() 110 for key, wr in self.data.items(): 121 for key, wr in self.data.items(): [all …]
|
/device/google/marlin/ |
D | init.radio.sh | 6 if [ -f /vendor/qcril.db -a ! -f /data/misc/radio/qcril.db ]; then 7 cp /vendor/qcril.db /data/misc/radio/qcril.db 8 chown -h radio.radio /data/misc/radio/qcril.db 10 echo 1 > /data/misc/radio/db_check_done 15 if [ -f /data/misc/radio/ver_info.txt ]; then 16 prev_version_info=`cat /data/misc/radio/ver_info.txt` 23 rm -rf /data/misc/radio/modem_config 24 rm /data/misc/radio/ver_info.txt 25 mkdir /data/misc/radio/modem_config 26 chmod 770 /data/misc/radio/modem_config [all …]
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | levenberg_marquardt.c | 46 void lmSolverSetData(struct LmSolver *solver, struct LmData *data) { in lmSolverSetData() argument 48 ASSERT_NOT_NULL(data); in lmSolverSetData() 49 solver->data = data; in lmSolverSetData() 69 ASSERT_NOT_NULL(solver->data); in lmSolverSolve() 73 struct LmData *data = solver->data; in lmSolverSolve() local 81 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve() 83 meas_dim, data->residual, in lmSolverSolve() 84 data->gradient, in lmSolverSolve() 85 data->hessian)) { in lmSolverSolve() 91 matMaxDiagonalElement(data->hessian, state_dim); in lmSolverSolve() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/i18n/ |
D | makelocalealias.py | 18 data = {} 44 data[locale] = alias 45 return data 47 def pprint(data): argument 49 items = data.items() 54 def print_differences(data, olddata): argument 59 if not data.has_key(k): 61 elif olddata[k] != data[k]: 63 (k, olddata[k], data[k]) 67 data = locale.locale_alias.copy() variable [all …]
|