Home
last modified time | relevance | path

Searched refs:izip (Results 1 – 25 of 28) 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 …]
Dtest_ast.py218 for i, o in itertools.izip(input, output):
/external/libmojo/third_party/jinja2/
D_compat.py41 izip = zip variable
65 from itertools import imap, izip, ifilter
Dnodes.py19 from jinja2._compat import next, izip, with_metaclass, text_type, \
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/chromium-trace/catapult/common/lab/
Dcommits.py32 return itertools.izip(a, b)
/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::
428 .. function:: izip(*iterables)
434 def izip(*iterables):
435 # izip('ABCD', 'xy') --> Ax By
446 using ``izip(*[iter(s)]*n)``.
448 :func:`izip` should only be used with unequal length inputs when you don't
581 invariant function parameters. Also used with :func:`izip` to create constant
738 return izip(a, b)
Dfuture_builtins.rst66 Works like :func:`itertools.izip`.
D2to3.rst302 Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and
308 Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
Doffset_token.py15 return itertools.izip(a, b)
/external/libvpx/libvpx/test/android/
Dget_files.py107 for filename, sha in itertools.izip(file_names, file_shas):
/external/autotest/tko/
Dutils_unittest.py38 for int_t, str_t in itertools.izip(int_times, str_times):
/external/autotest/scheduler/
Ddrone_utility.py587 for marked, info in itertools.izip(dark_marks, proc_infos):
670 return (dict(itertools.izip(_PS_ARGS, line_components))
Dscheduler_models.py255 for field, row_value in itertools.izip(self._fields, row):
276 for field, value in itertools.izip(self._fields, row):
/external/parameter-framework/upstream/tools/xmlGenerator/
DEddParser.py37 from itertools import izip
116 self.options = dict(izip(optionNames, options))
/external/autotest/tko/parsers/test/
Dscenario_base.py160 for pair in itertools.izip(itertools.count(), obj)]
/external/v8/tools/release/
Dreleases.py99 for cr_from, cr_to in itertools.izip(
/external/python/cpython2/Doc/howto/
Dfunctional.rst896 ``itertools.izip(iterA, iterB, ...)`` takes one element from each iterable and
899 itertools.izip(['a', 'b', 'c'], (1, 2, 3)) =>
912 itertools.izip(['a', 'b'], (1, 2, 3)) =>
/external/autotest/server/
Dserver_job.py672 for result, machine in itertools.izip(results, machines):
/external/libmojo/third_party/catapult/devil/devil/android/
Ddevice_utils.py2172 return dict(itertools.izip(SMAPS_COLUMNS, (int(n) for n in split_totals)))
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py2380 return dict(itertools.izip(SMAPS_COLUMNS, (int(n) for n in split_totals)))

12