Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 800) sorted by relevance

12345678910>>...32

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/
DDict.py86 d = {}
90 d['abc'] = 1
91 d['def'] = 2
92 d['ghi'] = 3
93 d['jkl'] = 4
94 d['mno'] = 5
95 d['pqr'] = 6
97 d['abc']
98 d['def']
99 d['ghi']
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
Derrnomodule.c32 _inscode(PyObject *d, PyObject *de, char *name, int code) in _inscode() argument
43 PyDict_SetItem(d, u, v); in _inscode()
68 PyObject *m, *d, *de; in initerrno() local
72 d = PyModule_GetDict(m); in initerrno()
74 if (!d || !de || PyDict_SetItemString(d, "errorcode", de) < 0) in initerrno()
78 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code) in initerrno() argument
86 inscode(d, ds, de, "ENODEV", ENODEV, "No such device"); in initerrno()
89 inscode(d, ds, de, "ENOCSI", ENOCSI, "No CSI structure available"); in initerrno()
92 inscode(d, ds, de, "EHOSTUNREACH", EHOSTUNREACH, "No route to host"); in initerrno()
95 inscode(d, ds, de, "EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host"); in initerrno()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
Derrnomodule.c31 _inscode(PyObject *d, PyObject *de, char *name, int code) in _inscode() argument
42 PyDict_SetItem(d, u, v); in _inscode()
67 PyObject *m, *d, *de; in initerrno() local
71 d = PyModule_GetDict(m); in initerrno()
73 if (!d || !de || PyDict_SetItemString(d, "errorcode", de) < 0) in initerrno()
77 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code) in initerrno() argument
85 inscode(d, ds, de, "ENODEV", ENODEV, "No such device"); in initerrno()
88 inscode(d, ds, de, "ENOCSI", ENOCSI, "No CSI structure available"); in initerrno()
91 inscode(d, ds, de, "EHOSTUNREACH", EHOSTUNREACH, "No route to host"); in initerrno()
94 inscode(d, ds, de, "EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host"); in initerrno()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Derrnomodule.c32 _inscode(PyObject *d, PyObject *de, char *name, int code) in _inscode() argument
43 PyDict_SetItem(d, u, v); in _inscode()
68 PyObject *m, *d, *de; in initerrno() local
72 d = PyModule_GetDict(m); in initerrno()
74 if (!d || !de || PyDict_SetItemString(d, "errorcode", de) < 0) in initerrno()
78 #define inscode(d, ds, de, name, code, comment) _inscode(d, de, name, code) in initerrno() argument
86 inscode(d, ds, de, "ENODEV", ENODEV, "No such device"); in initerrno()
89 inscode(d, ds, de, "ENOCSI", ENOCSI, "No CSI structure available"); in initerrno()
92 inscode(d, ds, de, "EHOSTUNREACH", EHOSTUNREACH, "No route to host"); in initerrno()
95 inscode(d, ds, de, "EHOSTUNREACH", WSAEHOSTUNREACH, "No route to host"); in initerrno()
[all …]
Dmd5.c137 c = pms->abcd[2], d = pms->abcd[3]; in md5_process() local
204 #define SET(a, b, c, d, k, s, Ti)\ in md5_process() argument
205 t = a + F(b,c,d) + X[k] + Ti;\ in md5_process()
208 SET(a, b, c, d, 0, 7, T1); in md5_process()
209 SET(d, a, b, c, 1, 12, T2); in md5_process()
210 SET(c, d, a, b, 2, 17, T3); in md5_process()
211 SET(b, c, d, a, 3, 22, T4); in md5_process()
212 SET(a, b, c, d, 4, 7, T5); in md5_process()
213 SET(d, a, b, c, 5, 12, T6); in md5_process()
214 SET(c, d, a, b, 6, 17, T7); in md5_process()
[all …]
Dfcntlmodule.c424 ins(PyObject* d, char* symbol, long value) in ins() argument
427 if (!v || PyDict_SetItemString(d, symbol, v) < 0) in ins()
434 #define INS(x) if (ins(d, #x, (long)x)) return -1
437 all_ins(PyObject* d) in all_ins() argument
439 if (ins(d, "LOCK_SH", (long)LOCK_SH)) return -1; in all_ins()
440 if (ins(d, "LOCK_EX", (long)LOCK_EX)) return -1; in all_ins()
441 if (ins(d, "LOCK_NB", (long)LOCK_NB)) return -1; in all_ins()
442 if (ins(d, "LOCK_UN", (long)LOCK_UN)) return -1; in all_ins()
445 if (ins(d, "LOCK_MAND", (long)LOCK_MAND)) return -1; in all_ins()
448 if (ins(d, "LOCK_READ", (long)LOCK_READ)) return -1; in all_ins()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_deque.py31 d = deque(xrange(-5125, -5000))
32 d.__init__(xrange(200))
34 d.append(i)
36 d.appendleft(i)
37 self.assertEqual(list(d), range(-200, 400))
38 self.assertEqual(len(d), 600)
40 left = [d.popleft() for i in xrange(250)]
42 self.assertEqual(list(d), range(50, 400))
44 right = [d.pop() for i in xrange(250)]
47 self.assertEqual(list(d), range(50, 150))
[all …]
Dtest_dict.py32 d = {}
33 self.assertEqual(d.keys(), [])
34 d = {'a': 1, 'b': 2}
35 k = d.keys()
36 self.assertTrue(d.has_key('a'))
37 self.assertTrue(d.has_key('b'))
39 self.assertRaises(TypeError, d.keys, None)
42 d = {}
43 self.assertEqual(d.values(), [])
44 d = {1:2}
[all …]
Dmapping_tests.py47 d = self._full_mapping(self.reference)
48 if d is p:
52 self.assertEqual(d[key], value)
54 self.assertRaises(KeyError, lambda:d[knownkey])
57 self.assertEqual(len(d), len(self.reference))
60 self.assertIn(k, d)
62 self.assertNotIn(k, d)
66 self.assertTrue(d.has_key(k))
68 self.assertFalse(d.has_key(k))
71 self.assertEqual(cmp(d,d), 0)
[all …]
Dtest_compile.py117 d = D()
118 exec 'z = a' in g, d
119 self.assertEqual(d['z'], 12)
265 d = -281474976710656 # 1 << 48
383 d = str_map()
385 d[1] = 1
386 self.assertEqual(d[1], 1)
387 d[1] += 1
388 self.assertEqual(d[1], 2)
389 del d[1]
[all …]
Dtest_decimal.py426 d = Decimal(45)
427 self.assertEqual(str(d), '45')
430 d = Decimal(500000123)
431 self.assertEqual(str(d), '500000123')
434 d = Decimal(-45)
435 self.assertEqual(str(d), '-45')
438 d = Decimal(0)
439 self.assertEqual(str(d), '0')
471 d = Decimal( (0, (0,), 0) )
472 self.assertEqual(str(d), '0')
[all …]
Dtest_dbm.py9 self.d = dbm.open(self.filename, 'c')
10 self.d.close()
17 self.d = dbm.open(self.filename, 'c')
18 self.assertEqual(self.d.keys(), [])
21 self.d[k] = v
22 self.assertEqual(sorted(self.d.keys()), sorted(k for (k, v) in a))
24 self.assertIn(k, self.d)
25 self.assertEqual(self.d[k], v)
26 self.assertNotIn('xxx', self.d)
27 self.assertRaises(KeyError, lambda: self.d['xxx'])
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/pcm_proc/
Dxa-pcm.c116 static XA_ERRORCODE xa_pcm_do_execute_copy(XAPcmCodec *d) in xa_pcm_do_execute_copy() argument
118 u32 n = d->insize; in xa_pcm_do_execute_copy()
119 u8 k = d->in_channels; in xa_pcm_do_execute_copy()
120 u32 length = n * k * (d->in_pcm_width == 16 ? 2 : 4); in xa_pcm_do_execute_copy()
121 s16 *input = d->input, *output = d->output; in xa_pcm_do_execute_copy()
123 TRACE(PROCESS, _b("Copy PCM%d %p to %p (%u samples)"), d->in_pcm_width, input, output, n); in xa_pcm_do_execute_copy()
132 d->consumed = length; in xa_pcm_do_execute_copy()
133 d->produced = length; in xa_pcm_do_execute_copy()
136 d->insize = 0; in xa_pcm_do_execute_copy()
143 static XA_ERRORCODE xa_pcm_do_execute_pcm16_chmap(XAPcmCodec *d) in xa_pcm_do_execute_pcm16_chmap() argument
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/mixer/
Dxa-mixer.c109 static inline void xa_mixer_preinit(XAPcmMixer *d) in xa_mixer_preinit() argument
114 memset(d, 0, sizeof(*d)); in xa_mixer_preinit()
117 d->pcm_width = 16, d->channels = 2, d->frame_size = 512; in xa_mixer_preinit()
122 d->volume[i] = ((1 << 12) << 16) | (1 << 12); in xa_mixer_preinit()
127 static XA_ERRORCODE xa_mixer_do_execute_stereo_16bit(XAPcmMixer *d) in xa_mixer_do_execute_stereo_16bit() argument
129 s16 *output = d->output; in xa_mixer_do_execute_stereo_16bit()
138 t32 = d->volume[XA_MIXER_MAX_TRACK_NUMBER]; in xa_mixer_do_execute_stereo_16bit()
144 u32 n = d->input_length[j]; in xa_mixer_do_execute_stereo_16bit()
150 b[j] = d->scratch; in xa_mixer_do_execute_stereo_16bit()
155 s32 k = (s32)(d->buffer_size - n); in xa_mixer_do_execute_stereo_16bit()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dmd5.c137 c = pms->abcd[2], d = pms->abcd[3]; in md5_process() local
204 #define SET(a, b, c, d, k, s, Ti)\ in md5_process() argument
205 t = a + F(b,c,d) + X[k] + Ti;\ in md5_process()
208 SET(a, b, c, d, 0, 7, T1); in md5_process()
209 SET(d, a, b, c, 1, 12, T2); in md5_process()
210 SET(c, d, a, b, 2, 17, T3); in md5_process()
211 SET(b, c, d, a, 3, 22, T4); in md5_process()
212 SET(a, b, c, d, 4, 7, T5); in md5_process()
213 SET(d, a, b, c, 5, 12, T6); in md5_process()
214 SET(c, d, a, b, 6, 17, T7); in md5_process()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Ddutree.py8 total, d = None, {}
18 total, d = store(size, comps, total, d)
20 display(total, d)
25 def store(size, comps, total, d): argument
27 return size, d
28 if not d.has_key(comps[0]):
29 d[comps[0]] = None, {}
30 t1, d1 = d[comps[0]]
31 d[comps[0]] = store(size, comps[1:], t1, d1)
32 return total, d
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dprintgrammar.c33 dfa *d; in printnonterminals() local
38 d = g->g_dfa; in printnonterminals()
39 for (i = g->g_ndfas; --i >= 0; d++) in printnonterminals()
40 fprintf(fp, "#define %s %d\n", d->d_name, d->d_type); in printnonterminals()
44 printarcs(int i, dfa *d, FILE *fp) in printarcs() argument
50 s = d->d_state; in printarcs()
51 for (j = 0; j < d->d_nstates; j++, s++) { in printarcs()
65 dfa *d; in printstates() local
68 d = g->g_dfa; in printstates()
69 for (i = 0; i < g->g_ndfas; i++, d++) { in printstates()
[all …]
Dfirstsets.c17 dfa *d; in addfirstsets() local
22 d = &g->g_dfa[i]; in addfirstsets()
23 if (d->d_first == NULL) in addfirstsets()
24 calcfirstset(g, d); in addfirstsets()
29 calcfirstset(grammar *g, dfa *d) in calcfirstset() argument
44 printf("Calculate FIRST set for '%s'\n", d->d_name); in calcfirstset()
48 if (d->d_first == dummy) { in calcfirstset()
49 fprintf(stderr, "Left-recursion for '%s'\n", d->d_name); in calcfirstset()
52 if (d->d_first != NULL) { in calcfirstset()
54 d->d_name); in calcfirstset()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Dmath_private.h72 #define EXTRACT_WORDS(ix0,ix1,d) \ argument
75 ew_u.value = (d); \
82 #define GET_HIGH_WORD(i,d) \ argument
85 gh_u.value = (d); \
91 #define GET_LOW_WORD(i,d) \ argument
94 gl_u.value = (d); \
100 #define INSERT_WORDS(d,ix0,ix1) \ argument
105 (d) = iw_u.value; \
110 #define SET_HIGH_WORD(d,v) \ argument
113 sh_u.value = (d); \
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Ddtoa.c87 (d, mode, ndigits, decpt, sign, rve) in dtoa()
88 double d; int mode, ndigits, *decpt, *sign; char **rve; in dtoa()
90 (double d, int mode, int ndigits, int *decpt, int *sign, char **rve)
154 if (word0(d) & Sign_bit) {
157 word0(d) &= ~Sign_bit; /* clear sign bit */
164 if ((word0(d) & Exp_mask) == Exp_mask)
166 if (word0(d) == 0x8000)
172 if (!word1(d) && !(word0(d) & 0xfffff))
179 dval(d) += 0; /* normalize */
181 if (!dval(d)) {
[all …]
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b071d��dog_hb.c:ADSP:Malloc failed�dog_hb.c:ADSP:System shutdown signal received���dog_hb.c:ADSP:Pong …
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/
Dudivmoddi4.c73 udwords d; in __udivmoddi4() local
74 d.all = b; in __udivmoddi4()
87 if (d.high == 0) in __udivmoddi4()
93 *rem = n.low % d.low; in __udivmoddi4()
94 return n.low / d.low; in __udivmoddi4()
104 if (d.low == 0) in __udivmoddi4()
106 if (d.high == 0) in __udivmoddi4()
112 *rem = n.high % d.low; in __udivmoddi4()
113 return n.high / d.low; in __udivmoddi4()
123 r.high = n.high % d.high; in __udivmoddi4()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dfirstsets.c17 dfa *d; in addfirstsets() local
22 d = &g->g_dfa[i]; in addfirstsets()
23 if (d->d_first == NULL) in addfirstsets()
24 calcfirstset(g, d); in addfirstsets()
29 calcfirstset(grammar *g, dfa *d) in calcfirstset() argument
44 printf("Calculate FIRST set for '%s'\n", d->d_name); in calcfirstset()
48 if (d->d_first == dummy) { in calcfirstset()
49 fprintf(stderr, "Left-recursion for '%s'\n", d->d_name); in calcfirstset()
52 if (d->d_first != NULL) { in calcfirstset()
54 d->d_name); in calcfirstset()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DEmulatedCamera2.cpp190 EmulatedCamera2 *getInstance(const camera2_device_t *d) { in getInstance() argument
191 const EmulatedCamera2 *cec = static_cast<const EmulatedCamera2 *>(d); in getInstance()
196 const camera2_device_t *d, in set_request_queue_src_ops() argument
198 EmulatedCamera2 *ec = getInstance(d); in set_request_queue_src_ops()
203 int EmulatedCamera2::notify_request_queue_not_empty(const camera2_device_t *d) { in notify_request_queue_not_empty() argument
204 EmulatedCamera2 *ec = getInstance(d); in notify_request_queue_not_empty()
209 const camera2_device_t *d, in set_frame_queue_dst_ops() argument
211 EmulatedCamera2 *ec = getInstance(d); in set_frame_queue_dst_ops()
216 int EmulatedCamera2::get_in_progress_count(const camera2_device_t *d) { in get_in_progress_count() argument
217 EmulatedCamera2 *ec = getInstance(d); in get_in_progress_count()
[all …]
/device/google/cuttlefish_kernel/5.4-x86_64/
DSystem.map7 000000000000a000 d entry_stack_storage
8 000000000000b000 d exception_stacks
12 0000000000010020 d mce_banks_array
25 0000000000011000 d saved_epb
26 0000000000011004 d menu_devices
27 0000000000011068 d cpu_loops_per_jiffy
29 0000000000012380 d pmc_prev_left
30 0000000000012580 d perf_nmi_tstamp
31 0000000000013000 d bts_ctx
32 0000000000016000 d insn_buffer
[all …]

12345678910>>...32