Lines Matching refs:itertools
172 import itertools
642 a = array(fmt, itertools.chain(*rows))
1221 a,t = itertools.tee(a)
1632 return itertools.imap(asvalues, rows)
1918 raw = array('B', itertools.chain(*raw))
1922 pixels = itertools.imap(lambda *row: array(arraycode, row),
1954 pixel = array(arraycode, itertools.chain(*pixel))
2035 yield array('B', itertools.chain(*row))
2062 itertools.chain(*map(operator.add, row, opa)))
2301 itertools
2305 itertools = _dummy_itertools() variable
2309 itertools.imap = _itertools_imap
2314 itertools.chain = _itertools_chain
2523 self.assertEqual(list(itertools.chain(*pixels)),
2572 flat = map(lambda row: itertools.chain(*row), boxed)
2683 self.assertEqual(list(itertools.chain(*pixels)), flat)
2774 w.write_packed(o, [itertools.chain([0x0a], [0xaa]),
2775 itertools.chain([0x0f], [0xff])])
2868 import itertools
2870 i = itertools.islice(itertools.count(10), 20)
2871 i = itertools.imap(lambda x: [x, x, x], i)