Searched refs:itertools (Results 1 - 25 of 180) sorted by relevance

12345678

/prebuilts/gdb/darwin-x86/share/gdb/python/gdb/
H A Dframes.py22 import itertools namespace
115 return_iter = itertools.chain(glob, prog)
117 return_iter = itertools.chain(return_iter, objfile.frame_filters.values())
188 # the interface. Python 3.x moved the itertools.imap
190 if hasattr(itertools,"imap"):
191 frame_iterator = itertools.imap(FrameDecorator, frame_iterator)
217 # None if that is the case, to indicate to itertools.islice to
226 sliced = itertools.islice(frame_iterator, frame_low, frame_high)
H A DFrameIterator.py17 import itertools namespace
/prebuilts/gdb/linux-x86/share/gdb/python/gdb/
H A Dframes.py22 import itertools namespace
115 return_iter = itertools.chain(glob, prog)
117 return_iter = itertools.chain(return_iter, objfile.frame_filters.values())
188 # the interface. Python 3.x moved the itertools.imap
190 if hasattr(itertools,"imap"):
191 frame_iterator = itertools.imap(FrameDecorator, frame_iterator)
217 # None if that is the case, to indicate to itertools.islice to
226 sliced = itertools.islice(frame_iterator, frame_low, frame_high)
H A DFrameIterator.py17 import itertools namespace
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/
H A Dmlsrule.py19 import itertools namespace
92 for s, t in itertools.product(self.source.expand(), self.target.expand()):
H A Drbacrule.py19 import itertools namespace
105 for s, t in itertools.product(self.source.expand(), self.target.expand()):
135 for s, t in itertools.product(self.source.expand(), self.target.expand()):
H A Dterule.py19 import itertools namespace
114 for s, t in itertools.product(self.source.expand(), self.target.expand()):
182 for _, i in itertools.groupby(perms, key=lambda k, c=itertools.count(): k - next(c)):
208 return sum(1 for (_a, _b) in itertools.groupby(
209 sorted(self), key=lambda k, c=itertools.count(): k - next(c)))
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/
H A Dfixer_base.py8 import itertools namespace
31 numbers = itertools.count(1) # For new_name()
159 self.numbers = itertools.count(1)
H A Dbtm_matcher.py11 import itertools namespace
19 count = itertools.count()
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/
H A Dfixer_base.py8 import itertools namespace
31 numbers = itertools.count(1) # For new_name()
159 self.numbers = itertools.count(1)
H A Dbtm_matcher.py11 import itertools namespace
19 count = itertools.count()
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
H A Dfixer_base.py8 import itertools namespace
31 numbers = itertools.count(1) # For new_name()
159 self.numbers = itertools.count(1)
H A Dbtm_matcher.py11 import itertools namespace
19 count = itertools.count()
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
H A Dfixer_base.py8 import itertools namespace
31 numbers = itertools.count(1) # For new_name()
159 self.numbers = itertools.count(1)
H A Dbtm_matcher.py11 import itertools namespace
19 count = itertools.count()
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter
25 # We will assume that the itertools functions work, so provided
H A Dtest_xrange.py6 import itertools namespace
32 xs = itertools.islice(xs, limit)
33 ys = itertools.islice(ys, limit)
35 pairs = itertools.izip_longest(xs, ys, fillvalue=sentinel)
/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dtimeit.py59 import itertools namespace
62 itertools = None variable
188 if itertools:
189 it = itertools.repeat(None, number)
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter
25 # We will assume that the itertools functions work, so provided
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dtimeit.py59 import itertools namespace
62 itertools = None variable
188 if itertools:
189 it = itertools.repeat(None, number)
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter
25 # We will assume that the itertools functions work, so provided
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dtimeit.py59 import itertools namespace
62 itertools = None variable
188 if itertools:
189 it = itertools.repeat(None, number)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_future_builtins.py24 from itertools import imap, izip, ifilter
25 # We will assume that the itertools functions work, so provided
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dtimeit.py59 import itertools namespace
62 itertools = None variable
188 if itertools:
189 it = itertools.repeat(None, number)
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/
H A Ddta.py21 import itertools namespace
390 for s, t in itertools.product(rule.source.expand(), rule.target.expand()):
398 for s, t in itertools.product(rule.source.expand(), rule.target.expand()):
415 for s, t in itertools.product(
421 for s, t in itertools.product(rule.source.expand(), rule.target.expand()):
429 for s, t in itertools.product(rule.source.expand(), rule.target.expand()):

Completed in 903 milliseconds

12345678