Home
last modified time | relevance | path

Searched refs:aiter (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/icu-small/source/i18n/
Ddtptngen.cpp85 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
89 aiter->bund = bund; in ures_a_open()
90 aiter->num = ures_getSize(aiter->bund); in ures_a_open()
91 aiter->cursor = 0; in ures_a_open()
93 aiter->entries = nullptr; in ures_a_open()
95 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()
96 for(int i=0;i<aiter->num;i++) { in ures_a_open()
97 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, nullptr, status); in ures_a_open()
98 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()
100 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddtptngen.cpp84 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
88 aiter->bund = bund; in ures_a_open()
89 aiter->num = ures_getSize(aiter->bund); in ures_a_open()
90 aiter->cursor = 0; in ures_a_open()
92 aiter->entries = nullptr; in ures_a_open()
94 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()
95 for(int i=0;i<aiter->num;i++) { in ures_a_open()
96 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, nullptr, status); in ures_a_open()
97 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()
99 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Ddtptngen.cpp85 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
89 aiter->bund = bund; in ures_a_open()
90 aiter->num = ures_getSize(aiter->bund); in ures_a_open()
91 aiter->cursor = 0; in ures_a_open()
93 aiter->entries = nullptr; in ures_a_open()
95 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()
96 for(int i=0;i<aiter->num;i++) { in ures_a_open()
97 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, nullptr, status); in ures_a_open()
98 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()
100 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()
[all …]
/third_party/icu/icu4c/source/i18n/
Ddtptngen.cpp85 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
89 aiter->bund = bund; in ures_a_open()
90 aiter->num = ures_getSize(aiter->bund); in ures_a_open()
91 aiter->cursor = 0; in ures_a_open()
93 aiter->entries = nullptr; in ures_a_open()
95 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()
96 for(int i=0;i<aiter->num;i++) { in ures_a_open()
97 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, nullptr, status); in ures_a_open()
98 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()
100 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()
[all …]
/third_party/python/Lib/test/
Dtest_asyncgen.py514 return [i async for i in aiter(g)]
526 ait = aiter(g)
538 applied_once = aiter(gen())
539 applied_twice = aiter(applied_once)
748 await aiter()
750 await aiter(gen(), 1)
752 await aiter(1)
Dtest_coroutines.py1577 aiter = I()
1578 refs_before = sys.getrefcount(aiter)
1581 async for i in aiter:
1590 self.assertEqual(sys.getrefcount(aiter), refs_before)
1600 aiter = I()
1601 refs_before = sys.getrefcount(aiter)
1604 async for i in aiter:
1613 self.assertEqual(sys.getrefcount(aiter), refs_before)
/third_party/python/Python/
Dceval.c2493 PyObject *aiter = TOP(); in _PyEval_EvalFrameDefault() local
2494 PyTypeObject *type = Py_TYPE(aiter); in _PyEval_EvalFrameDefault()
2496 if (PyAsyncGen_CheckExact(aiter)) { in _PyEval_EvalFrameDefault()
2497 awaitable = type->tp_as_async->am_anext(aiter); in _PyEval_EvalFrameDefault()
2507 next_iter = (*getter)(aiter); in _PyEval_EvalFrameDefault()
/third_party/python/Doc/c-api/
Dobject.rst363 This is the equivalent to the Python expression ``aiter(o)``. Takes an
/third_party/python/Misc/NEWS.d/
D3.10.0a7.rst727 Add builtins.aiter and builtins.anext. Patch by Joshua Bronson (@jab),
/third_party/python/Doc/library/
Dfunctions.rst15 | | :func:`aiter` | | :func:`eval` | | |func-list|_ | | :func:`repr` …
64 .. function:: aiter(async_iterable)
69 Note: Unlike :func:`iter`, :func:`aiter` has no 2-argument variant.
/third_party/python/Doc/whatsnew/
D3.6.rst313 result = [i async for i in aiter() if i % 2]
D3.10.rst840 * Two new builtin functions -- :func:`aiter` and :func:`anext` have been added