Searched refs:aiter (Results 1 – 6 of 6) sorted by relevance
83 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument87 aiter->bund = bund; in ures_a_open()88 aiter->num = ures_getSize(aiter->bund); in ures_a_open()89 aiter->cursor = 0; in ures_a_open()91 aiter->entries = NULL; in ures_a_open()93 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()94 for(int i=0;i<aiter->num;i++) { in ures_a_open()95 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, NULL, status); in ures_a_open()96 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()98 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()[all …]
1470 aiter = I()1471 refs_before = sys.getrefcount(aiter)1474 async for i in aiter:1483 self.assertEqual(sys.getrefcount(aiter), refs_before)1493 aiter = I()1494 refs_before = sys.getrefcount(aiter)1497 async for i in aiter:1506 self.assertEqual(sys.getrefcount(aiter), refs_before)
59 PyObject *_PyAIterWrapper_New(PyObject *aiter);
1225 _PyAIterWrapper_New(PyObject *aiter) in _PyAIterWrapper_New() argument1232 Py_INCREF(aiter); in _PyAIterWrapper_New()1233 aw->ags_aiter = aiter; in _PyAIterWrapper_New()
1942 PyObject *aiter = TOP(); in _PyEval_EvalFrameDefault() local1943 PyTypeObject *type = Py_TYPE(aiter); in _PyEval_EvalFrameDefault()1945 if (PyAsyncGen_CheckExact(aiter)) { in _PyEval_EvalFrameDefault()1946 awaitable = type->tp_as_async->am_anext(aiter); in _PyEval_EvalFrameDefault()1956 next_iter = (*getter)(aiter); in _PyEval_EvalFrameDefault()
313 result = [i async for i in aiter() if i % 2]