Home
last modified time | relevance | path

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

12345678910>>...26

/third_party/grpc/tools/codegen/core/
Dgen_static_metadata.py390 for i, elem in enumerate(all_strs):
408 for i, s2 in enumerate(all_strs):
439 for i, elem in enumerate(all_strs):
469 for i, elem in enumerate(all_strs):
477 for i, elem in enumerate(all_strs):
481 for idx, (a, b) in enumerate(all_elems):
497 for i, elem in enumerate(all_elems):
559 for i, elem in enumerate(all_strs):
561 for i, elem in enumerate(all_elems):
587 for i, elem in enumerate(all_elems):
[all …]
Dgen_stats_data.py74 for i, ab in enumerate(zip(mapped_bounds, mapped_bounds[1:])):
116 for i, vp in enumerate(static_tables):
286 for i, tbl in enumerate(static_tables):
348 for i, tbl in enumerate(static_tables):
456 for i, histogram in enumerate(inst_map['Histogram']):
/third_party/harfbuzz/src/
Dgen-ucd-table.py30 bmg = [int(v, 16) - int(u) if v else 0 for u,v in enumerate(u['bmg'] for u in ucd)]
36 dm = {i:tuple(int(v, 16) for v in u['dm'].split()) for i,u in enumerate(ucd)
38 ce = {i for i,u in enumerate(ucd) if u['Comp_Ex'] == 'Y'}
45 dm1_order = {v:i+1 for i,v in enumerate(dm1)}
60 dm2_order = {v[1]:i+l for i,v in enumerate(dm2)}
67 for i,v in enumerate(('Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu',
/third_party/skia/third_party/externals/harfbuzz/src/
Dgen-ucd-table.py30 bmg = [int(v, 16) - int(u) if v else 0 for u,v in enumerate(u['bmg'] for u in ucd)]
36 dm = {i:tuple(int(v, 16) for v in u['dm'].split()) for i,u in enumerate(ucd)
38 ce = {i for i,u in enumerate(ucd) if u['Comp_Ex'] == 'Y'}
45 dm1_order = {v:i+1 for i,v in enumerate(dm1)}
60 dm2_order = {v[1]:i+l for i,v in enumerate(dm2)}
67 for i,v in enumerate(('Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu',
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dgen-ucd-table.py22 bmg = [int(v, 16) - int(u) if v else 0 for u,v in enumerate(u['bmg'] for u in ucd)]
28 dm = {i:tuple(int(v, 16) for v in u['dm'].split()) for i,u in enumerate(ucd)
30 ce = {i for i,u in enumerate(ucd) if u['Comp_Ex'] == 'Y'}
35 dm1_order = {v:i+1 for i,v in enumerate(dm1)}
42 dm2_order = {v[1]:i+l for i,v in enumerate(dm2)}
/third_party/eudev/src/libudev/
Dlibudev-enumerate.c835 static int parent_add_child(struct udev_enumerate *enumerate, const char *path) in parent_add_child() argument
840 dev = udev_device_new_from_syspath(enumerate->udev, path); in parent_add_child()
844 if (!match_subsystem(enumerate, udev_device_get_subsystem(dev))) in parent_add_child()
846 if (!match_sysname(enumerate, udev_device_get_sysname(dev))) in parent_add_child()
848 if (!match_property(enumerate, dev)) in parent_add_child()
850 if (!match_sysattr(enumerate, dev)) in parent_add_child()
853 syspath_add(enumerate, udev_device_get_syspath(dev)); in parent_add_child()
861 static int parent_crawl_children(struct udev_enumerate *enumerate, const char *path, int maxdepth) in parent_crawl_children() argument
879 parent_add_child(enumerate, child); in parent_crawl_children()
881 parent_crawl_children(enumerate, child, maxdepth-1); in parent_crawl_children()
[all …]
/third_party/python/Lib/test/
Dtest_enumerate.py88 enum = enumerate
135 self.assertEqual(len(set(map(id, list(enumerate(self.seq))))), len(self.seq))
136 self.assertEqual(len(set(map(id, enumerate(self.seq)))), min(1,len(self.seq)))
150 class MyEnum(enumerate):
176 for data in ('abc', range(5), tuple(enumerate('abc')), A(),
256 for data in 'abc', range(5), tuple(enumerate('abc')), range(1,17,5):
270 enum = lambda self, i: enumerate(i, start=11)
276 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):
/third_party/python/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):
Dautomata.py36 for i, state in enumerate(todo):
55 for i, state in enumerate(todo):
307 for i, state_i in enumerate(self.states):
319 for i, state in enumerate(self.states):
327 for i, state in enumerate(self.states):
/third_party/python/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)
Dgenerate_token.py94 for value, name in enumerate(tok_names[:ERRORTOKEN + 1]):
174 for value, name in enumerate(tok_names):
202 for value, name in enumerate(tok_names[:ERRORTOKEN + 1]):
247 for value, name in enumerate(tok_names):
/third_party/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):
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_udev.c201 struct udev_enumerate *enumerate = NULL; in SDL_UDEV_Scan() local
209 enumerate = _this->udev_enumerate_new(_this->udev); in SDL_UDEV_Scan()
210 if (enumerate == NULL) { in SDL_UDEV_Scan()
216 _this->udev_enumerate_add_match_subsystem(enumerate, "input"); in SDL_UDEV_Scan()
217 _this->udev_enumerate_add_match_subsystem(enumerate, "sound"); in SDL_UDEV_Scan()
219 _this->udev_enumerate_scan_devices(enumerate); in SDL_UDEV_Scan()
220 devs = _this->udev_enumerate_get_list_entry(enumerate); in SDL_UDEV_Scan()
230 _this->udev_enumerate_unref(enumerate); in SDL_UDEV_Scan()
/third_party/python/Doc/tools/
Drstlint.py84 for lno, line in enumerate(lines):
98 for lno, line in enumerate(lines):
110 for lno, line in enumerate(lines):
126 for lno, line in enumerate(lines):
/third_party/glib/gio/
Dgsocketconnectable.c116 return (* iface->enumerate) (connectable); in g_socket_connectable_enumerate()
147 return (* iface->enumerate) (connectable); in g_socket_connectable_proxy_enumerate()
/third_party/pulseaudio/src/modules/
Dmodule-udev-detect.c695 struct udev_enumerate *enumerate = NULL; in pa__init() local
795 if (!(enumerate = udev_enumerate_new(u->udev))) { in pa__init()
800 if (udev_enumerate_add_match_subsystem(enumerate, "sound") < 0) { in pa__init()
805 if (udev_enumerate_scan_devices(enumerate) < 0) { in pa__init()
810 first = udev_enumerate_get_list_entry(enumerate); in pa__init()
814 udev_enumerate_unref(enumerate); in pa__init()
824 if (enumerate) in pa__init()
825 udev_enumerate_unref(enumerate); in pa__init()
/third_party/python/Lib/lib2to3/fixes/
Dfix_except.py31 for i, n in enumerate(nodes):
71 for i, stmt in enumerate(suite_stmts):
Dfix_metaclass.py55 for i, node in enumerate(cls_node.children):
76 for semi_ind, node in enumerate(stmt_node.children):
109 for i, simple_node in list(enumerate(node.children)):
/third_party/python/Lib/unittest/
Dutil.py128 for i, elem in enumerate(s):
136 for j, other_elem in enumerate(t):
144 for i, elem in enumerate(t):
/third_party/python/Lib/asyncio/
Dstaggered.py76 enum_coro_fns = enumerate(coro_fns)
126 for i, t in enumerate(running_tasks):
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_server_ssl_cert_config_test.py209 for i, call in enumerate(actual_calls):
236 for i, call in enumerate(actual_calls):
297 for i, call in enumerate(actual_calls):
323 for i, call in enumerate(actual_calls):
336 for i, call in enumerate(actual_calls):
449 for i, call in enumerate(actual_calls):
490 for i, call in enumerate(actual_calls):
/third_party/boost/libs/numeric/odeint/
Dfix-copyright.py41 for i, line in enumerate(content[:15]):
56 for i, line in enumerate(content):
/third_party/python/Lib/
Ddis.py167 for i_c in enumerate(co.co_consts):
171 for i_n in enumerate(co.co_names):
175 for i_n in enumerate(co.co_varnames):
179 for i_n in enumerate(co.co_freevars):
183 for i_n in enumerate(co.co_cellvars):
359 argrepr = ', '.join(s for i, s in enumerate(MAKE_FUNCTION_FLAGS)
/third_party/littlefs/scripts/
Dreadtree.py122 for i, dir in enumerate(dirs):
126 for j, mdir in enumerate(dir):
142 for k, line in enumerate(lines):

12345678910>>...26