Home
last modified time | relevance | path

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

12

/external/rust/crates/itertools/tests/
Dmacros_hygiene.rs10 let _ = itertools::izip!(0..6); in izip_hygiene()
11 let _ = itertools::izip!(0..6, 0..9); in izip_hygiene()
12 let _ = itertools::izip!(0..6, 0..9, 0..12); in izip_hygiene()
Dtest_core.rs17 use crate::it::izip;
46 let mut zip = izip!(2..3); in izip_macro()
50 let mut zip = izip!(0..3, 0..2, 0..2i8); in izip_macro()
57 let mut zip = izip!(0..3, 0..2, 0..2i8, &xs); in izip_macro()
63 let _zip1: iter::Zip<_, _> = izip!(1.., 2..); in izip2()
64 let _zip2: iter::Zip<_, _> = izip!(1.., 2.., ); in izip2()
69 let mut zip: iter::Map<iter::Zip<_, _>, _> = izip!(0..3, 0..2, 0..2i8); in izip3()
/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/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/icu/tools/
Dziputil.py18 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/chromium-trace/catapult/common/lab/
Dcommits.py32 return itertools.izip(a, b)
/external/libvpx/test/android/
Dget_files.py107 for filename, sha in itertools.izip(file_names, file_shas):
/external/rust/crates/itertools/
DCHANGELOG.md137 …- The return type of the `izip!(x, y)` macro with exactly two arguments is now the usual `Iterator…
173 - Faster `izip!()` by @krdln
174izip!()` is now a wrapper for repeated regular `.zip()` and a single `.map()`. This means it optim…
177 …- Many lovable features are still there without std, like `izip!()` or `.format()` or `.merge()`, …
179 - Removed deprecated constructor `Zip::new` — use `izip!()` or `multizip()`
/external/rust/crates/criterion-plot/src/
Dfilledcurve.rs139 let data = Matrix::new(izip!(x, y1, y2), (x_factor, y_factor, y_factor)); in plot()
Dcandlestick.rs147 izip!(x, box_min, whisker_min, whisker_high, box_high), in plot()
Dcurve.rs269 let data = Matrix::new(izip!(x, y), (x_factor, y_factor)); in plot()
Derrorbar.rs266 izip!(x, y, length, height), in plot()
/external/rust/crates/itertools/src/
Dlib.rs319 macro_rules! izip { macro
329 $crate::izip!(@closure ($p, b) => ( $($tup)*, b ) $( , $tail )*)
339 $crate::izip!($first)
345 $crate::izip!($first)
350 $crate::izip!(@closure a => (a) $( , $rest )*)
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py123 pixels = itertools.izip(pixels1, pixels2)
/external/grpc-grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py146 for lsum, line in itertools.izip(self.lines, call_stack_builder.lines):
/external/python/cpython3/Doc/library/
D2to3.rst294 Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and
300 Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and

12