Home
last modified time | relevance | path

Searched refs:enumerate (Results 1 – 25 of 1811) sorted by relevance

12345678910>>...73

/external/adhd/cras/src/server/
Dcras_gpio_jack.c63 struct udev_enumerate *enumerate; in gpio_switch_list_for_each() local
72 enumerate = udev_enumerate_new(udev); in gpio_switch_list_for_each()
73 udev_enumerate_add_match_subsystem(enumerate, "input"); in gpio_switch_list_for_each()
74 udev_enumerate_scan_devices(enumerate); in gpio_switch_list_for_each()
75 dl = udev_enumerate_get_list_entry(enumerate); in gpio_switch_list_for_each()
98 udev_enumerate_unref(enumerate); in gpio_switch_list_for_each()
/external/tensorflow/tensorflow/python/kernel_tests/random/
Dstateless_random_ops_test.py268 for seed_id, seed in enumerate(SEEDS)
269 for case_id, case in enumerate(float_cases()))
281 for seed_id, seed in enumerate(SEEDS)
282 for case_id, case in enumerate(int_cases()))
294 for seed_id, seed in enumerate(SEEDS)
295 for case_id, case in enumerate(multinomial_cases()))
306 for seed_id, seed in enumerate(SEEDS)
307 for case_id, case in enumerate(gamma_cases()))
322 for seed_id, seed in enumerate(SEEDS)
323 for case_id, case in enumerate(gamma_cases()))
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/
Dgen_static_metadata.py392 for i, elem in enumerate(all_strs):
410 for i, s2 in enumerate(all_strs):
441 for i, elem in enumerate(all_strs):
471 for i, elem in enumerate(all_strs):
479 for i, elem in enumerate(all_strs):
483 for idx, (a, b) in enumerate(all_elems):
499 for i, elem in enumerate(all_elems):
561 for i, elem in enumerate(all_strs):
563 for i, elem in enumerate(all_elems):
589 for i, elem in enumerate(all_elems):
[all …]
/external/lz4/tests/
Dtest-lz4-list.py39 …for i, line in enumerate(execute("{} --list -m {}/test_list_*.lz4".format(LZ4, TEMP), print_output…
46 for i, nvinfo in enumerate(self.nvinfo_list):
96 for i, line in enumerate(lines):
116 for i, line in enumerate(output):
127 for i, filename in enumerate(concat_file_list):
136 for i, vinfo in enumerate(self.vinfo_list):
141 for i, frame_info in enumerate(vinfo.frame_list):
145 for i, frame_info in enumerate(self.cvinfo.frame_list):
154 for i, frame_info in enumerate(self.cvinfo.frame_list):
161 for i, frame_info in enumerate(self.cvinfo.frame_list):
[all …]
/external/mesa3d/src/gallium/frontends/clover/util/
Dtuple.hpp40 struct enumerate { struct
41 typedef typename enumerate<N-1, N-1, Is...>::type
46 struct enumerate<0, Is...> { struct
52 typename E = typename enumerate<std::tuple_size<
84 typename E = typename enumerate<std::tuple_size<
/external/llvm/utils/
Dshuffle_fuzz.py114 for i, shuffles in enumerate(shuffle_tree):
116 for j, s in enumerate(shuffles):
129 for i, s in enumerate(shuffles)]
160 for i, shuffles in enumerate(shuffle_tree):
161 for j, s in enumerate(shuffles):
174 for i, r in enumerate(result):
218 for i, r in enumerate(result):
/external/llvm-project/llvm/utils/
Dshuffle_fuzz.py116 for i, shuffles in enumerate(shuffle_tree):
118 for j, s in enumerate(shuffles):
131 for i, s in enumerate(shuffles)]
162 for i, shuffles in enumerate(shuffle_tree):
163 for j, s in enumerate(shuffles):
176 for i, r in enumerate(result):
220 for i, r in enumerate(result):
/external/fmtlib/support/
Dcompute-powers.py17 for i, exp in enumerate(range(min_exponent, max_exponent + 1, step)):
41 for i, fp in enumerate(powers):
47 for i, fp in enumerate(powers):
53 max([x.e - powers[i - 1].e for i, x in enumerate(powers)][1:]))
/external/mesa3d/src/panfrost/bifrost/
Dgen_disasm.py35 mask = sum([(y << x) for x, y in enumerate(reserved)])
132 for i, (_, vals) in enumerate(desc.get('derived', [])):
133 for j, val in enumerate(vals):
170 for j, expr in enumerate(vals):
203 for (i, deriveds), ctx in zip(enumerate(forward), itertools.product(*mod_vals)):
210 for j, ((x, width), y) in enumerate(derived):
255 for j, key in enumerate(keys):
272 for i, order in enumerate(backwards):
323 for i, (pos, mask) in enumerate(srcs):
/external/tensorflow/tensorflow/python/framework/
Dauto_control_deps_utils.py42 for input_index, t in enumerate(func_graph.inputs):
66 return [i for i, t in enumerate(op.inputs) if t.dtype == dtypes.resource]
76 for i, t in enumerate(op.inputs):
116 for i, t in enumerate(op.inputs):
169 for i, t in enumerate(op.inputs):
/external/grpc-grpc/tools/codegen/core/
Dgen_static_metadata.py423 for i, elem in enumerate(all_strs):
440 for i, elem in enumerate(all_strs):
464 for i, elem in enumerate(all_strs):
474 for i, elem in enumerate(all_strs):
484 for i, elem in enumerate(all_strs):
486 for i, elem in enumerate(all_elems):
495 for i, elem in enumerate(all_elems):
527 for i, s2 in enumerate(all_strs):
533 for i, m2 in enumerate(all_elems):
589 for i, k in enumerate(elem_keys):
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Dwrite.py119 ) for idx, (port, time) in enumerate(benched['times']))
124 for idx, (port, _) in enumerate(names):
143 for idx, row in enumerate(rows):
159 for idx, (version, tables) in enumerate(pythons):
173 for idx, row in enumerate(table):
189 for j, col in enumerate(row)
241 for idx, (version, import_notes, result) in enumerate(results):
263 for idx, (port, time) in enumerate(single['times']):
/external/tensorflow/tensorflow/lite/tools/
Dvisualize.py235 for idx, d in enumerate(data["operator_codes"]):
296 for op_index, op in enumerate(g["operators"]):
298 for tensor_input_position, tensor_index in enumerate(op["inputs"]):
306 for tensor_output_position, tensor_index in enumerate(op["outputs"]):
322 for tensor_index, tensor in enumerate(g["tensors"]):
363 for idx, tensor in enumerate(items):
459 for idx, d in enumerate(data["operator_codes"]):
462 for subgraph_idx, g in enumerate(data["subgraphs"]):
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
Dwrite.py118 ) for idx, (port, time) in enumerate(benched['times']))
123 for idx, (port, _) in enumerate(names):
142 for idx, row in enumerate(rows):
158 for idx, (version, tables) in enumerate(pythons):
172 for idx, row in enumerate(table):
188 for j, col in enumerate(row)
240 for idx, (version, import_notes, result) in enumerate(results):
262 for idx, (port, time) in enumerate(single['times']):
/external/llvm-project/llvm/utils/TableGen/GlobalISel/
DGIMatchTree.cpp73 for (const auto &Child : enumerate(Children)) { in writeDOTGraphEdges()
92 for (auto &P : enumerate(MatchDag.predicates())) { in GIMatchTreeBuilderLeafInfo()
98 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in GIMatchTreeBuilderLeafInfo()
103 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in GIMatchTreeBuilderLeafInfo()
138 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in declareInstr()
141 for (auto &DepsFor : enumerate(UnsatisfiedPredDepsForPred)) { in declareInstr()
161 for (auto &E : enumerate(MatchDag.edges())) { in declareOperand()
172 for (auto &Dep : enumerate(MatchDag.predicate_edges())) { in declareOperand()
175 for (auto &DepsFor : enumerate(UnsatisfiedPredDepsForPred)) { in declareOperand()
344 for (auto &C : enumerate(TreeNode->children())) { in runStep()
[all …]
/external/libbrillo/brillo/udev/
Dudev.cc91 udev_enumerate* enumerate = udev_enumerate_new(udev_); in CreateEnumerate() local
92 if (enumerate) { in CreateEnumerate()
93 auto enumerate_to_return = std::make_unique<UdevEnumerate>(enumerate); in CreateEnumerate()
98 udev_enumerate_unref(enumerate); in CreateEnumerate()
/external/fonttools/Tests/varLib/
Dinterpolate_layout_test.py180 for i, path in enumerate(ttx_paths):
209 for i, path in enumerate(ttx_paths):
243 for i, path in enumerate(ttx_paths):
278 for i, path in enumerate(ttx_paths):
307 for i, path in enumerate(ttx_paths):
341 for i, path in enumerate(ttx_paths):
376 for i, path in enumerate(ttx_paths):
405 for i, path in enumerate(ttx_paths):
439 for i, path in enumerate(ttx_paths):
474 for i, path in enumerate(ttx_paths):
[all …]
/external/harfbuzz_ng/src/
Dgen-ucd-table.py27 bmg = [int(v, 16) - int(u) if v else 0 for u,v in enumerate(u['bmg'] for u in ucd)]
33 dm = {i:tuple(int(v, 16) for v in u['dm'].split()) for i,u in enumerate(ucd)
35 ce = {i for i,u in enumerate(ucd) if u['Comp_Ex'] == 'Y'}
42 dm1_order = {v:i+1 for i,v in enumerate(dm1)}
57 dm2_order = {v[1]:i+l for i,v in enumerate(dm2)}
64 for i,v in enumerate(('Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu',
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/train/
Ddata_prepare.py55 for idx, line in enumerate(lines): # pylint: disable=unused-variable,redefined-outer-name
73 for idx, line in enumerate(lines):
145 … for idx, item in enumerate(data_to_write): # pylint: disable=unused-variable,redefined-outer-name
153 for idx1, folder in enumerate(folders):
154 for idx2, name in enumerate(names):
/external/python/cpython2/Lib/test/
Dtest_linecache.py58 for index, line in enumerate(open(filename)):
64 for index, line in enumerate(open(filename)):
106 for index, line in enumerate(source):
117 for index, line in enumerate(source_list):
123 for index, line in enumerate(source):
Dtest_enumerate.py66 enum = enumerate
110 self.assertEqual(len(set(map(id, list(enumerate(self.seq))))), len(self.seq))
111 self.assertEqual(len(set(map(id, enumerate(self.seq)))), min(1,len(self.seq)))
113 class MyEnum(enumerate):
139 for data in 'abc', range(5), tuple(enumerate('abc')), A(), xrange(1,17,5):
231 enum = lambda self, i: enumerate(i, start=11)
237 enum = lambda self, i: enumerate(i, start=sys.maxint+1)
/external/python/cpython3/Lib/test/
Dtest_enumerate.py87 enum = enumerate
134 self.assertEqual(len(set(map(id, list(enumerate(self.seq))))), len(self.seq))
135 self.assertEqual(len(set(map(id, enumerate(self.seq)))), min(1,len(self.seq)))
137 class MyEnum(enumerate):
163 for data in ('abc', range(5), tuple(enumerate('abc')), A(),
243 for data in 'abc', range(5), tuple(enumerate('abc')), range(1,17,5):
257 enum = lambda self, i: enumerate(i, start=11)
263 enum = lambda self, i: enumerate(i, start=sys.maxsize+1)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dtf_record_writer_test.py70 for i, r in enumerate(tf_record.tf_record_iterator(self._outputFilename())):
78 for i, r in enumerate(
87 for i, r in enumerate(
120 for i, r in enumerate(tf_record.tf_record_iterator(self._outputFilename())):
135 dataset = dataset.enumerate()
144 for j, r in enumerate(tf_record.tf_record_iterator(shard_filename)):
/external/python/cpython3/Parser/pgen/
Dgrammar.py96 for dfaindex, dfa_elem in enumerate(self.dfas.items()):
117 for dfaindex, dfa in enumerate(self.states):
124 for stateindex, state in enumerate(dfa):
134 for stateindex, state in enumerate(states):
/external/fonttools/Lib/fontTools/misc/
Dsymfont.py27 tuple(c * t**i * (1-t)**(n-i) for i,c in enumerate(coeffs))
28 for n,coeffs in enumerate(BinomialCoefficient))
31 tuple(sum(P[i][j]*bernstein for i,bernstein in enumerate(bernsteins))
33 for n,bernsteins in enumerate(BernsteinPolynomial))
35 sum(C[i]*bernstein for i,bernstein in enumerate(bernsteins))
36 for n,bernsteins in enumerate(BernsteinPolynomial))

12345678910>>...73