Searched refs:imap (Results 1 - 25 of 57) sorted by relevance

123

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter namespace
27 self.assertEqual(map, imap)
H A Dtest_itertools.py718 self.assertEqual(list(imap(operator.pow, range(3), range(1,7))),
720 self.assertEqual(list(imap(None, 'abc', range(5))),
722 self.assertEqual(list(imap(None, 'abc', count())),
724 self.assertEqual(take(2,imap(None, 'abc', count())),
726 self.assertEqual(list(imap(operator.pow, [])), [])
727 self.assertRaises(TypeError, imap)
728 self.assertRaises(TypeError, imap, operator.neg)
729 self.assertRaises(TypeError, imap(10, range(5)).next)
730 self.assertRaises(ValueError, imap(errfunc, [4], [5]).next)
731 self.assertRaises(TypeError, imap(onear
[all...]
H A Dseq_tests.py82 from itertools import chain, imap namespace
85 return chain(imap(lambda x:x, iterfunc(IterGen(Sequence(seqn)))))
H A Dtest_heapq.py313 from itertools import chain, imap namespace
316 return chain(imap(lambda x:x, R(Ig(G(seqn)))))
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter namespace
27 self.assertEqual(map, imap)
H A Dtest_itertools.py718 self.assertEqual(list(imap(operator.pow, range(3), range(1,7))),
720 self.assertEqual(list(imap(None, 'abc', range(5))),
722 self.assertEqual(list(imap(None, 'abc', count())),
724 self.assertEqual(take(2,imap(None, 'abc', count())),
726 self.assertEqual(list(imap(operator.pow, [])), [])
727 self.assertRaises(TypeError, imap)
728 self.assertRaises(TypeError, imap, operator.neg)
729 self.assertRaises(TypeError, imap(10, range(5)).next)
730 self.assertRaises(ValueError, imap(errfunc, [4], [5]).next)
731 self.assertRaises(TypeError, imap(onear
[all...]
H A Dseq_tests.py82 from itertools import chain, imap namespace
85 return chain(imap(lambda x:x, iterfunc(IterGen(Sequence(seqn)))))
H A Dtest_heapq.py313 from itertools import chain, imap namespace
316 return chain(imap(lambda x:x, R(Ig(G(seqn)))))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter namespace
27 self.assertEqual(map, imap)
H A Dtest_itertools.py718 self.assertEqual(list(imap(operator.pow, range(3), range(1,7))),
720 self.assertEqual(list(imap(None, 'abc', range(5))),
722 self.assertEqual(list(imap(None, 'abc', count())),
724 self.assertEqual(take(2,imap(None, 'abc', count())),
726 self.assertEqual(list(imap(operator.pow, [])), [])
727 self.assertRaises(TypeError, imap)
728 self.assertRaises(TypeError, imap, operator.neg)
729 self.assertRaises(TypeError, imap(10, range(5)).next)
730 self.assertRaises(ValueError, imap(errfunc, [4], [5]).next)
731 self.assertRaises(TypeError, imap(onear
[all...]
H A Dseq_tests.py82 from itertools import chain, imap namespace
85 return chain(imap(lambda x:x, iterfunc(IterGen(Sequence(seqn)))))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter namespace
27 self.assertEqual(map, imap)
H A Dtest_itertools.py718 self.assertEqual(list(imap(operator.pow, range(3), range(1,7))),
720 self.assertEqual(list(imap(None, 'abc', range(5))),
722 self.assertEqual(list(imap(None, 'abc', count())),
724 self.assertEqual(take(2,imap(None, 'abc', count())),
726 self.assertEqual(list(imap(operator.pow, [])), [])
727 self.assertRaises(TypeError, imap)
728 self.assertRaises(TypeError, imap, operator.neg)
729 self.assertRaises(TypeError, imap(10, range(5)).next)
730 self.assertRaises(ValueError, imap(errfunc, [4], [5]).next)
731 self.assertRaises(TypeError, imap(onear
[all...]
/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/
H A Dframes.py188 # the interface. Python 3.x moved the itertools.imap
190 if hasattr(itertools,"imap"):
191 frame_iterator = itertools.imap(FrameDecorator, frame_iterator)
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/
H A Dframes.py188 # the interface. Python 3.x moved the itertools.imap
190 if hasattr(itertools,"imap"):
191 frame_iterator = itertools.imap(FrameDecorator, frame_iterator)
/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dheapq.py132 from itertools import islice, count, imap, izip, tee, chain namespace
426 it = izip(imap(key, in1), count(), in2) # decorate
464 it = izip(imap(key, in1), count(0,-1), in2) # decorate
H A Dfilecmp.py14 from itertools import ifilter, ifilterfalse, imap, izip namespace
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))
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dheapq.py132 from itertools import islice, count, imap, izip, tee, chain namespace
426 it = izip(imap(key, in1), count(), in2) # decorate
464 it = izip(imap(key, in1), count(0,-1), in2) # decorate
H A Dfilecmp.py14 from itertools import ifilter, ifilterfalse, imap, izip namespace
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))
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dheapq.py132 from itertools import islice, count, imap, izip, tee, chain namespace
426 it = izip(imap(key, in1), count(), in2) # decorate
464 it = izip(imap(key, in1), count(0,-1), in2) # decorate
H A Dfilecmp.py14 from itertools import ifilter, ifilterfalse, imap, izip namespace
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))
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dheapq.py132 from itertools import islice, count, imap, izip, tee, chain namespace
426 it = izip(imap(key, in1), count(), in2) # decorate
464 it = izip(imap(key, in1), count(0,-1), in2) # decorate
H A Dfilecmp.py14 from itertools import ifilter, ifilterfalse, imap, izip namespace
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))
/prebuilts/gdb/darwin-x86/share/pretty-printers/libstdcxx/gcc-4.9/
H A Dprinters.py43 imap = map variable
64 from itertools import imap, izip namespace
754 counter = imap (self.format_count, itertools.count())
789 counter = imap (self.format_count, itertools.count())
792 data = self.flatten (imap (self.format_one, Tr1HashtableIterator (self.hashtable())))
795 data = self.flatten (imap (self.format_one, StdHashtableIterator (self.hashtable())))
/prebuilts/gdb/linux-x86/share/pretty-printers/libstdcxx/gcc-4.9/
H A Dprinters.py43 imap = map variable
64 from itertools import imap, izip namespace
754 counter = imap (self.format_count, itertools.count())
789 counter = imap (self.format_count, itertools.count())
792 data = self.flatten (imap (self.format_one, Tr1HashtableIterator (self.hashtable())))
795 data = self.flatten (imap (self.format_one, StdHashtableIterator (self.hashtable())))

Completed in 532 milliseconds

123