Home
last modified time | relevance | path

Searched refs:izip (Results 1 – 25 of 42) 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.rs15 use crate::it::izip;
43 let mut zip = izip!(2..3); in izip_macro()
47 let mut zip = izip!(0..3, 0..2, 0..2i8); in izip_macro()
54 let mut zip = izip!(0..3, 0..2, 0..2i8, &xs); in izip_macro()
60 let _zip1: iter::Zip<_, _> = izip!(1.., 2..); in izip2()
61 let _zip2: iter::Zip<_, _> = izip!(1.., 2.., ); in izip2()
66 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 …]
/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.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`.
/external/rust/crates/itertools/
DCHANGELOG.md76 …- The return type of the `izip!(x, y)` macro with exactly two arguments is now the usual `Iterator…
112 - Faster `izip!()` by @krdln
113izip!()` is now a wrapper for repeated regular `.zip()` and a single `.map()`. This means it optim…
116 …- Many lovable features are still there without std, like `izip!()` or `.format()` or `.merge()`, …
118 - Removed deprecated constructor `Zip::new` — use `izip!()` or `multizip()`
/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/rust/crates/criterion-plot/src/
Dfilledcurve.rs136 let data = Matrix::new(izip!(x, y1, y2), (x_factor, y_factor, y_factor)); in plot()
Dcandlestick.rs144 izip!(x, box_min, whisker_min, whisker_high, box_high), in plot()
Dcurve.rs266 let data = Matrix::new(izip!(x, y), (x_factor, y_factor)); in plot()
Derrorbar.rs263 izip!(x, y, length, height), in plot()
/external/autotest/tko/
Dutils_unittest.py38 for int_t, str_t in itertools.izip(int_times, str_times):
/external/rust/crates/itertools/src/
Dlib.rs310 macro_rules! izip { macro
320 $crate::izip!(@closure ($p, b) => ( $($tup)*, b ) $( , $tail )*)
330 $crate::izip!($first)
336 $crate::izip!($first)
341 $crate::izip!(@closure a => (a) $( , $rest )*)
/external/perfetto/
DPRESUBMIT.py206 for old_line, new_line in itertools.izip(f.OldContents(),
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py123 pixels = itertools.izip(pixels1, pixels2)
/external/autotest/tko/parsers/test/
Dscenario_base.py160 for pair in itertools.izip(itertools.count(), obj)]
/external/rust/crates/grpcio-sys/grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py146 for lsum, line in itertools.izip(self.lines, call_stack_builder.lines):

12