/external/python/cpython2/Lib/test/ |
D | test_future_builtins.py | 24 from itertools import imap, izip, ifilter 29 self.assertEqual(filter, ifilter)
|
D | test_itertools.py | 541 self.assertEqual(list(ifilter(isEven, range(6))), [0,2,4]) 542 self.assertEqual(list(ifilter(None, [0,1,0,2,0])), [1,2]) 543 self.assertEqual(list(ifilter(bool, [0,1,0,2,0])), [1,2]) 544 self.assertEqual(take(4, ifilter(isEven, count())), [0,2,4,6]) 545 self.assertRaises(TypeError, ifilter) 546 self.assertRaises(TypeError, ifilter, lambda x:x) 547 self.assertRaises(TypeError, ifilter, lambda x:x, range(6), 7) 548 self.assertRaises(TypeError, ifilter, isEven, 3) 549 self.assertRaises(TypeError, ifilter(range(6), range(6)).next) 1001 for f in (ifilter, ifilterfalse, imap, takewhile, dropwhile, starmap): [all …]
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
D | PowerMonitor.java | 42 IntentFilter ifilter = new IntentFilter(Intent.ACTION_BATTERY_CHANGED); in create() local 43 Intent batteryStatusIntent = context.registerReceiver(null, ifilter); in create()
|
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | constant_resolver.py | 7 from itertools import ifilter 17 field = next(ifilter(lambda field: field.name == named_value.name,
|
/external/libmojo/third_party/jinja2/ |
D | _compat.py | 39 ifilter = filter variable 65 from itertools import imap, izip, ifilter
|
D | environment.py | 30 from jinja2._compat import imap, ifilter, string_types, iteritems, \ 719 x = ifilter(filter_func, x)
|
/external/python/cpython2/Lib/ |
D | sets.py | 57 from itertools import ifilter, ifilterfalse 216 common = ifilter(big._data.__contains__, little) 484 for elt in ifilter(data.__contains__, other):
|
D | filecmp.py | 14 from itertools import ifilter, ifilterfalse, imap, izip 134 self.common = map(a.__getitem__, ifilter(b.__contains__, a))
|
/external/autotest/server/cros/network/ |
D | rf_switch_client_box.py | 70 labels_list = list(itertools.ifilter(
|
/external/python/cpython2/Doc/library/ |
D | future_builtins.rst | 41 Works like :func:`itertools.ifilter`.
|
D | itertools.rst | 55 :func:`ifilter` pred, seq elements of seq where pred(elem) is true … 344 .. function:: ifilter(predicate, iterable) 350 def ifilter(predicate, iterable): 351 # ifilter(lambda x: x%2, range(10)) --> 1 3 5 7 9
|
D | 2to3.rst | 302 Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and 308 Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and
|
D | functions.rst | 495 See :func:`itertools.ifilter` and :func:`itertools.ifilterfalse` for iterator
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encoder.c | 4151 INTERP_FILTER ifilter; local 4158 for (ifilter = EIGHTTAP; ifilter <= EIGHTTAP_SHARP; ++ifilter) 4159 ref_total[ref] += cpi->interp_filter_selected[ref][ifilter]; 4161 for (ifilter = EIGHTTAP; ifilter <= EIGHTTAP_SHARP; ++ifilter) { 4163 cpi->interp_filter_selected[LAST_FRAME][ifilter] == 0) && 4165 cpi->interp_filter_selected[GOLDEN_FRAME][ifilter] * 50 < 4168 cpi->interp_filter_selected[ALTREF_FRAME][ifilter] * 50 < 4170 mask |= 1 << ifilter;
|
/external/python/cpython3/Doc/library/ |
D | 2to3.rst | 302 Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and 308 Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and
|
/external/python/cpython2/Doc/howto/ |
D | functional.rst | 661 :func:`itertools.ifilter`, that returns an iterator and can therefore handle 983 ``itertools.ifilter(predicate, iter)`` returns all the elements for which the 989 itertools.ifilter(is_even, itertools.count()) =>
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.3.rst | 1345 languages. For example, ``itertools.ifilter(predicate, iterator)`` returns all
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 1345 languages. For example, ``itertools.ifilter(predicate, iterator)`` returns all
|
/external/python/cpython3/Misc/ |
D | HISTORY | 17027 - Code for itertools ifilter(), imap(), and izip() moved to bultins
|