Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Ddtptngen.cpp77 static void ures_a_open(UResourceBundleAIterator *aiter, UResourceBundle *bund, UErrorCode *status)… in ures_a_open() argument
81 aiter->bund = bund; in ures_a_open()
82 aiter->num = ures_getSize(aiter->bund); in ures_a_open()
83 aiter->cursor = 0; in ures_a_open()
85 aiter->entries = NULL; in ures_a_open()
87 aiter->entries = (UResAEntry*)uprv_malloc(sizeof(UResAEntry)*aiter->num); in ures_a_open()
88 for(int i=0;i<aiter->num;i++) { in ures_a_open()
89 aiter->entries[i].item = ures_getByIndex(aiter->bund, i, NULL, status); in ures_a_open()
90 const char *akey = ures_getKey(aiter->entries[i].item); in ures_a_open()
92 aiter->entries[i].key = (UChar*)uprv_malloc(len*sizeof(UChar)); in ures_a_open()
[all …]