Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddtptngen.cpp83 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
87 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 …]