/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) 1006 for f in (ifilter, ifilterfalse, imap, takewhile, dropwhile, starmap): [all …]
|
/external/libchrome/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/yapf/yapf/yapflib/ |
D | py3compat.py | 36 ifilter = filter variable 64 from itertools import ifilter
|
/external/libchrome/third_party/jinja2/ |
D | _compat.py | 40 ifilter = filter variable 66 from itertools import imap, izip, ifilter
|
D | environment.py | 31 from jinja2._compat import imap, ifilter, string_types, iteritems, \ 757 x = list(ifilter(filter_func, x))
|
/external/libchrome/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/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/python/google-api-python-client/ |
D | samples-index.py | 80 matches = itertools.ifilter(lambda x: x.startswith(name + ":"), lines)
|
/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 | 295 Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and 301 Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and
|
D | functions.rst | 496 See :func:`itertools.ifilter` and :func:`itertools.ifilterfalse` for iterator
|
/external/yapf/yapftests/ |
D | comment_splicer_test.py | 41 py3compat.ifilter(lambda c: pytree_utils.NodeName(c) == name,
|
/external/libaom/libaom/av1/encoder/ |
D | encoder.c | 5187 InterpFilter ifilter) { in get_interp_filter_selected() argument 5190 return buf->interp_filter_selected[ifilter]; in get_interp_filter_selected() 5202 for (InterpFilter ifilter = EIGHTTAP_REGULAR; ifilter <= MULTITAP_SHARP; in setup_interp_filter_search_mask() local 5203 ++ifilter) { in setup_interp_filter_search_mask() 5204 ref_total[ref] += get_interp_filter_selected(cm, ref, ifilter); in setup_interp_filter_search_mask() 5211 for (InterpFilter ifilter = EIGHTTAP_REGULAR; ifilter <= MULTITAP_SHARP; in setup_interp_filter_search_mask() local 5212 ++ifilter) { in setup_interp_filter_search_mask() 5213 int last_score = get_interp_filter_selected(cm, LAST_FRAME, ifilter) * 30; in setup_interp_filter_search_mask() 5216 get_interp_filter_selected(cm, LAST2_FRAME, ifilter) * 20 + in setup_interp_filter_search_mask() 5217 get_interp_filter_selected(cm, LAST3_FRAME, ifilter) * 20 + in setup_interp_filter_search_mask() [all …]
|
/external/python/cpython3/Doc/library/ |
D | 2to3.rst | 294 Removes imports of :func:`itertools.ifilter`, :func:`itertools.izip`, and 300 Changes usage of :func:`itertools.ifilter`, :func:`itertools.izip`, and
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encoder.c | 4670 INTERP_FILTER ifilter; local 4677 for (ifilter = EIGHTTAP; ifilter <= EIGHTTAP_SHARP; ++ifilter) 4678 ref_total[ref] += cpi->interp_filter_selected[ref][ifilter]; 4680 for (ifilter = EIGHTTAP; ifilter <= EIGHTTAP_SHARP; ++ifilter) { 4682 cpi->interp_filter_selected[LAST_FRAME][ifilter] == 0) && 4684 cpi->interp_filter_selected[GOLDEN_FRAME][ifilter] * 50 < 4687 cpi->interp_filter_selected[ALTREF_FRAME][ifilter] * 50 < 4689 mask |= 1 << ifilter;
|
/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/six/documentation/ |
D | index.rst | 580 | ``filter`` | :func:`py2:itertools.ifilter` | :func:`py3:filter` …
|
/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
|