/external/python/cpython2/Lib/ |
D | heapq.py | 132 from itertools import islice, count, imap, izip, tee, chain 425 it = izip(iterable, count()) # decorate 431 it = izip(imap(key, in1), count(), in2) # decorate 463 it = izip(iterable, count(0,-1)) # decorate 469 it = izip(imap(key, in1), count(0,-1), in2) # decorate
|
D | filecmp.py | 14 from itertools import ifilter, ifilterfalse, imap, izip 132 a = dict(izip(imap(os.path.normcase, self.left_list), self.left_list)) 133 b = dict(izip(imap(os.path.normcase, self.right_list), self.right_list))
|
/external/python/cpython2/Lib/test/ |
D | test_future_builtins.py | 24 from itertools import imap, izip, ifilter 28 self.assertEqual(zip, izip)
|
D | test_itertools.py | 563 ans = [(x,y) for x, y in izip('abc',count())] 565 self.assertEqual(list(izip('abc', range(6))), zip('abc', range(6))) 566 self.assertEqual(list(izip('abcdef', range(3))), zip('abcdef', range(3))) 567 self.assertEqual(take(3,izip('abcdef', count())), zip('abcdef', range(3))) 568 self.assertEqual(list(izip('abcdef')), zip('abcdef')) 569 self.assertEqual(list(izip()), zip()) 570 self.assertRaises(TypeError, izip, 3) 571 self.assertRaises(TypeError, izip, range(3), 3) 572 self.assertEqual([tuple(list(pair)) for pair in izip('abc', 'def')], 574 self.assertEqual([pair for pair in izip('abc', 'def')], [all …]
|
/external/libchrome/third_party/jinja2/ |
D | _compat.py | 42 izip = zip variable 66 from itertools import imap, izip, ifilter
|
D | nodes.py | 20 from jinja2._compat import izip, with_metaclass, text_type, PY2 140 for name, arg in izip(self.fields, fields):
|
/external/python/cpython2/Tools/scripts/ |
D | texcheck.py | 28 from itertools import izip, count, islice 117 for lineno, line in izip(count(startline), islice(source, startline-1, None)):
|
/external/v8/tools/gcmole/ |
D | parallel.py | 40 for filename, result in itertools.izip(
|
/external/icu/tools/ |
D | ziputil.py | 20 import itertools.izip as zip
|
/external/python/cpython2/Doc/library/ |
D | itertools.rst | 62 :func:`izip` p, q, ... (p[0], q[0]), (p[1], q[1]), ... … 226 return (d for d, s in izip(data, selectors) if s) 235 Also, used with :func:`izip` to add sequence numbers. Equivalent to:: 420 for i, element in izip(xrange(start), iterable): 430 for i, element in izip(xrange(i + 1, stop), iterable): 440 .. function:: izip(*iterables) 446 def izip(*iterables): 447 # izip('ABCD', 'xy') --> Ax By 458 using ``izip(*[iter(s)]*n)``. 460 :func:`izip` should only be used with unequal length inputs when you don't [all …]
|
D | future_builtins.rst | 66 Works like :func:`itertools.izip`.
|
D | 2to3.rst | 295 Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and 301 Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and
|
/external/python/rsa/rsa/ |
D | _compat.py | 46 zip = itertools.izip
|
/external/chromium-trace/catapult/common/lab/ |
D | commits.py | 32 return itertools.izip(a, b)
|
/external/libvpx/libvpx/test/android/ |
D | get_files.py | 107 for filename, sha in itertools.izip(file_names, file_shas):
|
/external/toolchain-utils/android_bench_suite/ |
D | fix_skia_results.py | 117 for sample, app in itertools.izip(samples, results):
|
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/ |
D | offset_token.py | 15 return itertools.izip(a, b)
|
/external/perfetto/ |
D | PRESUBMIT.py | 155 in itertools.izip(f.OldContents(), f.NewContents())):
|
/external/nos/test/system-test-harness/src/test-data/NIST-CAVP/ |
D | nist2h.py | 105 return ''.join([b2 + b1 for b1, b2 in itertools.izip(w, w)])
|
/external/autotest/tko/ |
D | utils_unittest.py | 38 for int_t, str_t in itertools.izip(int_times, str_times):
|
/external/noto-fonts/scripts/ |
D | color_emoji_image_diff.py | 123 pixels = itertools.izip(pixels1, pixels2)
|
/external/autotest/scheduler/ |
D | drone_utility.py | 555 for marked, info in itertools.izip(dark_marks, proc_infos): 638 return (dict(itertools.izip(_PS_ARGS, line_components))
|
/external/grpc-grpc/tools/profiling/latency_profile/ |
D | profile_analyzer.py | 146 for lsum, line in itertools.izip(self.lines, call_stack_builder.lines):
|
/external/autotest/tko/parsers/test/ |
D | scenario_base.py | 160 for pair in itertools.izip(itertools.count(), obj)]
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 263 from itertools import izip as zip
|