Home
last modified time | relevance | path

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

12345678910>>...36

/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()
97 udev_enumerate_unref(enumerate); in gpio_switch_list_for_each()
Dcras_udev.c355 struct udev_enumerate *enumerate = udev_enumerate_new(data->udev); in enumerate_devices() local
359 udev_enumerate_add_match_subsystem(enumerate, subsystem); in enumerate_devices()
360 udev_enumerate_scan_devices(enumerate); in enumerate_devices()
361 dl = udev_enumerate_get_list_entry(enumerate); in enumerate_devices()
371 udev_enumerate_unref(enumerate); in enumerate_devices()
/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/mesa3d/src/gallium/state_trackers/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/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/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/tensorflow/tensorflow/contrib/lite/tools/
Dvisualize.py157 for idx, d in enumerate(data["operator_codes"]):
212 for op_index, op in enumerate(g["operators"]):
213 for tensor_input_position, tensor_index in enumerate(op["inputs"]):
234 for tensor_index, tensor in enumerate(g["tensors"]):
273 for idx, tensor in enumerate(items):
331 for subgraph_idx, g in enumerate(data["subgraphs"]):
/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(), range(1,17,5):
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)
Dtest_linecache.py59 for index, line in enumerate(fp):
119 for index, line in enumerate(file):
162 for index, line in enumerate(source):
173 for index, line in enumerate(source_list):
179 for index, line in enumerate(source):
/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/tensorflow/tensorflow/python/ops/
Dspecial_math_ops.py212 i for i, a in enumerate(temp_axis_labels)
278 for i, sym_list in enumerate([t0_axis_labels, t1_axis_labels]):
297 for i, sym_list in enumerate(axis_labels)
300 for i, axes_str in enumerate(axis_labels):
379 none_indices = [i for i, d in enumerate(shape) if d is None]
442 for i, (input_, axes_) in enumerate(zip(inputs, idx_in)):
468 for j, ax in enumerate(sorted(idx_all, key=axis_order.get)):
470 for i, idx in enumerate(idx_in):
/external/libmojo/third_party/catapult/devil/devil/utils/
Dcmd_helper_test.py91 for num, line in enumerate(
97 for num, line in enumerate(
103 for num, line in enumerate(
109 for num, line in enumerate(
/external/vulkan-validation-layers/demos/smoke/
DHelpers.h39 inline VkResult enumerate(const char *layer, std::vector<VkExtensionProperties> &exts) { in enumerate() function
47 inline VkResult enumerate(VkPhysicalDevice phy, const char *layer, std::vector<VkExtensionPropertie… in enumerate() function
55 inline VkResult enumerate(VkInstance instance, std::vector<VkPhysicalDevice> &phys) { in enumerate() function
63 inline VkResult enumerate(std::vector<VkLayerProperties> &layer_props) { in enumerate() function
/external/protobuf/objectivec/DevTools/
Dpddm_tests.py118 for idx, (input_str, expected_prefix) in enumerate(test_list, 1):
173 for idx, (input_str, expected_prefix) in enumerate(test_list, 1):
223 for idx, (input_str, expected) in enumerate(test_list, 1):
267 for idx, (input_str, expected_err) in enumerate(test_list, 1):
350 for idx, (input_str, line_counts) in enumerate(test_list, 1):
357 for idx2, (sec, expected) in enumerate(zip(sf._sections, line_counts), 1):
385 for idx, (input_str, expected_err) in enumerate(test_list, 1):
/external/tensorflow/tensorflow/python/training/
Doptimizer_test.py39 for i, dtype in enumerate([dtypes.half, dtypes.float32, dtypes.float64]):
132 for i, dtype in enumerate([dtypes.half, dtypes.float32, dtypes.float64]):
150 for i, dtype in enumerate([dtypes.half, dtypes.float32, dtypes.float64]):
166 for i, dtype in enumerate([dtypes.half, dtypes.float32, dtypes.float64]):
180 for i, dtype in enumerate([dtypes.half, dtypes.float32, dtypes.float64]):
195 for j, gv in enumerate(grads_and_vars)
199 for j, gv in enumerate(grads_and_vars)
/external/toolchain-utils/crosperf/
Dmachine_image_manager.py142 for idx, dut in enumerate(self.duts_):
148 for ol, l in enumerate(self.labels_):
273 for i, _ in enumerate(self.labels_):
281 for j, _ in enumerate(self.duts_):
/external/python/cpython2/Tools/scripts/
Danalyze_dxp.py91 for op, count in enumerate(inst_list)
110 for op1, op1profile in enumerate(profile[:-1])
111 for op2, count in enumerate(op1profile)
/external/python/cpython3/Tools/scripts/
Danalyze_dxp.py90 for op, count in enumerate(inst_list)
109 for op1, op1profile in enumerate(profile[:-1])
110 for op2, count in enumerate(op1profile)
/external/python/cpython3/Doc/tools/
Drstlint.py83 for lno, line in enumerate(lines):
97 for lno, line in enumerate(lines):
109 for lno, line in enumerate(lines):
125 for lno, line in enumerate(lines):
/external/python/cpython2/Doc/tools/
Drstlint.py83 for lno, line in enumerate(lines):
97 for lno, line in enumerate(lines):
109 for lno, line in enumerate(lines):
125 for lno, line in enumerate(lines):
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper_test.py213 for num, line in enumerate(
221 for num, line in enumerate(
229 for num, line in enumerate(
238 for num, line in enumerate(
253 for num, line in enumerate(
/external/clang/utils/
Dtoken-delta.py83 for i,S in enumerate(sets):
154 for i,(file,tokens) in enumerate(self.tokenLists):
170 for i,(file,_) in enumerate(self.tokenLists):
188 for i,(file,_) in enumerate(self.tokenLists)]),
208 for i,(file,tokens) in enumerate(self.tokenLists)
/external/tensorflow/tensorflow/contrib/data/python/kernel_tests/
Dinterleave_dataset_op_test.py198 for index, (expected, produced) in enumerate(
209 for index, (expected, produced) in enumerate(
221 for index, (expected, produced) in enumerate(
316 for i, expected_element in enumerate(
360 for i, expected_element in enumerate(
402 for i, expected_element in enumerate(
447 for i, expected_element in enumerate(
535 for i, expected_element in enumerate(
601 for i, expected_element in enumerate(
721 for i, expected_element in enumerate(
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dedit_distance_op_test.py128 hypothesis_indices = ([[0, i] for i, _ in enumerate("algorithm")] +
129 [[1, i] for i, _ in enumerate("altruistic")])
132 truth_indices = ([[0, i] for i, _ in enumerate("altruistic")] +
133 [[1, i] for i, _ in enumerate("algorithm")])

12345678910>>...36