/third_party/lz4/tests/ |
D | test-lz4-list.py | 42 for i, filename in enumerate(test_list_files): 43 for i, line in enumerate(execute(f"{LZ4} --list -m {filename}", print_output=True)): 50 for i, nvinfo in enumerate(self.nvinfo_list): 100 for i, line in enumerate(lines): 120 for i, filename in enumerate(test_list_SM_lz4f): 122 for i, line in enumerate(output): 133 for i, filename in enumerate(concat_file_list): 142 for i, vinfo in enumerate(self.vinfo_list): 147 for i, frame_info in enumerate(vinfo.frame_list): 151 for i, frame_info in enumerate(self.cvinfo.frame_list): [all …]
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_dispatch_table_gen.py | 640 for idx, s in enumerate(self.sorted_strings): 673 for i, e in enumerate(e for e in device_entrypoints if not e.alias): 677 for i, e in enumerate(device_entrypoints): 682 for i, e in enumerate(e for e in physical_device_entrypoints if not e.alias): 686 for i, e in enumerate(physical_device_entrypoints): 691 for i, e in enumerate(e for e in instance_entrypoints if not e.alias): 695 for i, e in enumerate(instance_entrypoints):
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | gen_disasm.py | 35 mask = sum([(y << x) for x, y in enumerate(reserved)]) 136 for i, (_, vals) in enumerate(desc.get('derived', [])): 137 for j, val in enumerate(vals): 174 for j, expr in enumerate(vals): 207 for (i, deriveds), ctx in zip(enumerate(forward), itertools.product(*mod_vals)): 214 for j, ((x, width), y) in enumerate(derived): 259 for j, key in enumerate(keys): 276 for i, order in enumerate(backwards): 327 for i, (pos, mask) in enumerate(srcs):
|
D | bi_packer.c.py | 40 for i, src in enumerate(sources): 63 none_indices = [i for i, x in enumerate(noned_target) if x != None] 170 for i, expr in enumerate(exprs): 243 imm_map[mod] = { x: y for y, x in enumerate(opts) } 245 for i, st in enumerate(states): 275 for i, l in enumerate(maps): 291 for i, (_, st) in enumerate(states):
|
/third_party/mesa3d/src/gallium/frontends/clover/util/ |
D | tuple.hpp | 40 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<
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | gen-ucd-table.py | 30 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/astc-encoder/Test/ |
D | astc_test_result_plot.py | 125 mtsm = [x/mts2[i] for i, x in enumerate(mts1)] 126 psnrm = [x - psnr2[i] for i, x in enumerate(psnr1)] 166 for i, row in enumerate(chartRows): 167 for j, col in enumerate(chartCols): 201 for k, series in enumerate(blockSizes): 220 for i, row in enumerate(chartRows): 221 for j, col in enumerate(chartCols):
|
D | astc_image_info.py | 52 for i, image in enumerate(args.images): 101 for i, image in enumerate(args.images): 112 for j, channel in enumerate(img.getbands()):
|
/third_party/python/Lib/test/ |
D | test_enumerate.py | 88 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)
|
D | test_linecache.py | 60 for index, line in enumerate(fp): 120 for index, line in enumerate(file): 163 for index, line in enumerate(source): 174 for index, line in enumerate(source_list): 180 for index, line in enumerate(source):
|
/third_party/python/Doc/tools/ |
D | rstlint.py | 85 for lno, line in enumerate(lines): 99 for lno, line in enumerate(lines): 111 for lno, line in enumerate(lines): 127 for lno, line in enumerate(lines): 194 for lno, line in enumerate(hide_comments(hide_literal_blocks(lines))): 196 for token_no, token in enumerate(tokens):
|
/third_party/protobuf/objectivec/DevTools/ |
D | pddm_tests.py | 118 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/python/Tools/scripts/ |
D | generate_token.py | 94 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):
|
D | analyze_dxp.py | 90 for op, count in enumerate(inst_list) 109 for op1, op1profile in enumerate(profile[:-1]) 110 for op2, count in enumerate(op1profile)
|
/third_party/pulseaudio/src/modules/ |
D | module-udev-detect.c | 695 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/rust/crates/unicode-width/scripts/ |
D | unicode.py | 272 for (i, existing) in enumerate(self.indexed): 435 for (i, table) in enumerate(tables): 445 for (j, byte) in enumerate(byte_array): 489 tables = make_tables(TABLE_CFGS, enumerate(width_map)) 493 for (i, table) in enumerate(tables):
|
/third_party/rust/crates/clap/src/util/ |
D | flat_map.rs | 20 for (index, existing) in self.keys.iter().enumerate() { in insert() 71 .enumerate() in remove_entry() 83 for (index, existing) in self.keys.iter().enumerate() { in entry() 96 for (index, existing) in self.keys.iter().enumerate() { in get() 109 for (index, existing) in self.keys.iter().enumerate() { in get_mut()
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
D | sliceslice.rs | 53 for (i, searcher) in searchers.iter().enumerate() { in search_short_haystack() 79 for (i, searcher) in searchers.iter().enumerate() { in search_short_haystack() 97 for (i, needle) in needles.iter().enumerate() { in search_short_haystack() 124 for (i, searcher) in searchers.iter().enumerate() { in search_short_haystack()
|
/third_party/astc-encoder/Test/testlib/ |
D | image.py | 338 for i, channel in enumerate(channels): 350 for i, channel in enumerate(channels): 361 for i, channel in enumerate(channels): 373 for i, channel in enumerate(channels):
|
/third_party/python/Lib/ |
D | dis.py | 167 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): 362 argrepr = ', '.join(s for i, s in enumerate(MAKE_FUNCTION_FLAGS)
|
/third_party/python/Lib/unittest/ |
D | util.py | 128 for i, elem in enumerate(s): 136 for j, other_elem in enumerate(t): 144 for i, elem in enumerate(t):
|
/third_party/ltp/testcases/kernel/mce-test/lib/ |
D | soft-inject.sh | 130 enumerate) 131 enumerate
|
/third_party/python/Lib/lib2to3/fixes/ |
D | fix_except.py | 31 for i, n in enumerate(nodes): 71 for i, stmt in enumerate(suite_stmts):
|
D | fix_metaclass.py | 55 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/littlefs/scripts/ |
D | readtree.py | 122 for i, dir in enumerate(dirs): 126 for j, mdir in enumerate(dir): 142 for k, line in enumerate(lines):
|