Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 1653) sorted by relevance

12345678910>>...67

/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_ddr.c22 unsigned int data; in init_pll() local
24 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll()
25 data |= 0x1; in init_pll()
26 mmio_write_32((0xf7032000 + 0x000), data); in init_pll()
29 data = mmio_read_32((0xf7032000 + 0x000)); in init_pll()
30 } while (!(data & (1 << 28))); in init_pll()
32 data = mmio_read_32((0xf7800000 + 0x000)); in init_pll()
33 data &= ~0x007; in init_pll()
34 data |= 0x004; in init_pll()
35 mmio_write_32((0xf7800000 + 0x000), data); in init_pll()
[all …]
Dhikey_bl1_setup.c128 uint32_t data; in hikey_sp804_init() local
131 data = mmio_read_32(AO_SC_TIMER_EN0); in hikey_sp804_init()
132 while (data & 3) { in hikey_sp804_init()
133 data &= ~3; in hikey_sp804_init()
134 data |= 3 << 16; in hikey_sp804_init()
135 mmio_write_32(AO_SC_TIMER_EN0, data); in hikey_sp804_init()
136 data = mmio_read_32(AO_SC_TIMER_EN0); in hikey_sp804_init()
139 data = mmio_read_32(AO_SC_PERIPH_CLKSTAT4); in hikey_sp804_init()
140 while (!(data & PCLK_TIMER1) || !(data & PCLK_TIMER0)) { in hikey_sp804_init()
142 data = mmio_read_32(AO_SC_PERIPH_CLKSTAT4); in hikey_sp804_init()
[all …]
/device/google/contexthub/firmware/os/core/
Dprintf.c38 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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_audioop.py21 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 …]
Dtest_sort.py175 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 …]
Dtest_shlex.py15 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/
DUserString.py16 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 …]
DUserList.py7 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.py36 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 …]
Dweakref.py51 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 …]
DUserDict.py5 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/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/
Dregister.py193 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/
Dhisi-idt.py90 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/google/crosshatch/
Dinit.radio.sh6 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
12 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
13 chown radio.radio /data/vendor/radio/qcril_prebuilt.db
14 chmod 0660 /data/vendor/radio/qcril_prebuilt.db
19 if [ -f /data/vendor/radio/ver_info.txt ]; then
20 prev_version_info=`cat /data/vendor/radio/ver_info.txt`
27 rm -rf /data/vendor/radio/modem_config
[all …]
/device/google/bonito/
Dinit.radio.sh6 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
12 cp /vendor/radio/qcril_database/qcril.db /data/vendor/radio/qcril_prebuilt.db
13 chown radio.radio /data/vendor/radio/qcril_prebuilt.db
14 chmod 0660 /data/vendor/radio/qcril_prebuilt.db
19 if [ -f /data/vendor/radio/ver_info.txt ]; then
20 prev_version_info=`cat /data/vendor/radio/ver_info.txt`
27 rm -rf /data/vendor/radio/modem_config
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/cjkcodecs/
D_codecs_iso2022.c105 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.c105 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/
Dinit.radio.sh6 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/
Dplatform.c26 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/
DUserDict.py5 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 …]
Dweakref.py54 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/cuttlefish_common/common/vsoc/lib/
De2e_test_region_view.h32 return this->data().guest_self_register; in read_guest_self_register()
36 this->data()->guest_self_register = val; in write_guest_self_register()
41 &this->data()->guest_self_register); in signal_guest_self_register()
46 &this->data()->guest_self_register, expected_value); in wait_guest_self_register()
51 &this->data()->guest_to_host_signal); in signal_guest_to_host_register()
55 return this->pointer_to_region_offset(&this->data().guest_to_host_signal); in guest_to_host_signal_offset()
59 return this->pointer_to_region_offset(&this->data().host_to_guest_signal); in host_to_guest_signal_offset()
63 return const_cast<const char*>(this->data().data[index].guest_writable); in guest_string()
67 return const_cast<const char*>(this->data().data[index].host_writable); in host_string()
71 strcpy(const_cast<char*>(this->data()->data[index].guest_writable), in set_guest_string()
[all …]
/device/google/marlin/
Dinit.radio.sh6 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/
Dlevenberg_marquardt.c46 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/
Dmakelocalealias.py18 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 …]

12345678910>>...67