Home
last modified time | relevance | path

Searched refs:izip (Results 1 – 25 of 42) sorted by relevance

12

/external/python/cpython2/Lib/
Dheapq.py132 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
Dfilecmp.py14 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/
Dtest_future_builtins.py24 from itertools import imap, izip, ifilter
28 self.assertEqual(zip, izip)
Dtest_itertools.py563 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.py42 izip = zip variable
66 from itertools import imap, izip, ifilter
Dnodes.py20 from jinja2._compat import izip, with_metaclass, text_type, PY2
140 for name, arg in izip(self.fields, fields):
/external/python/cpython2/Tools/scripts/
Dtexcheck.py28 from itertools import izip, count, islice
117 for lineno, line in izip(count(startline), islice(source, startline-1, None)):
/external/v8/tools/gcmole/
Dparallel.py40 for filename, result in itertools.izip(
/external/icu/tools/
Dziputil.py20 import itertools.izip as zip
/external/python/cpython2/Doc/library/
Ditertools.rst62 :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 …]
Dfuture_builtins.rst66 Works like :func:`itertools.izip`.
D2to3.rst295 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.py46 zip = itertools.izip
/external/chromium-trace/catapult/common/lab/
Dcommits.py32 return itertools.izip(a, b)
/external/libvpx/libvpx/test/android/
Dget_files.py107 for filename, sha in itertools.izip(file_names, file_shas):
/external/toolchain-utils/android_bench_suite/
Dfix_skia_results.py117 for sample, app in itertools.izip(samples, results):
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
Doffset_token.py15 return itertools.izip(a, b)
/external/perfetto/
DPRESUBMIT.py155 in itertools.izip(f.OldContents(), f.NewContents())):
/external/nos/test/system-test-harness/src/test-data/NIST-CAVP/
Dnist2h.py105 return ''.join([b2 + b1 for b1, b2 in itertools.izip(w, w)])
/external/autotest/tko/
Dutils_unittest.py38 for int_t, str_t in itertools.izip(int_times, str_times):
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py123 pixels = itertools.izip(pixels1, pixels2)
/external/autotest/scheduler/
Ddrone_utility.py555 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/
Dprofile_analyzer.py146 for lsum, line in itertools.izip(self.lines, call_stack_builder.lines):
/external/autotest/tko/parsers/test/
Dscenario_base.py160 for pair in itertools.izip(itertools.count(), obj)]
/external/fonttools/Lib/fontTools/misc/
Dpy23.py263 from itertools import izip as zip

12