Lines Matching refs:subBundle
79 UResourceBundle *subRootBundle = NULL, *subBundle = NULL, *arr = NULL; in TestKeyInRootRecursive() local
90 subBundle = ures_getNextResource(currentBundle, NULL, &errorCode); in TestKeyInRootRecursive()
95 subBundleKey = ures_getKey(subBundle); in TestKeyInRootRecursive()
105 ures_close(subBundle); in TestKeyInRootRecursive()
108 if (ures_getType(subRootBundle) != ures_getType(subBundle)) { in TestKeyInRootRecursive()
115 ures_getType(subBundle)); in TestKeyInRootRecursive()
116 ures_close(subBundle); in TestKeyInRootRecursive()
119 else if (ures_getType(subBundle) == URES_INT_VECTOR) { in TestKeyInRootRecursive()
125 const int32_t *subBundleArr = ures_getIntVector(subBundle, &subBundleSize, &errorCode); in TestKeyInRootRecursive()
159 else if (ures_getType(subBundle) == URES_ARRAY) { in TestKeyInRootRecursive()
160 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode); in TestKeyInRootRecursive()
167 TestKeyInRootRecursive(subRootBundle, rootName, subBundle, locale); in TestKeyInRootRecursive()
174 if (minSize > ures_getSize(subBundle)) { in TestKeyInRootRecursive()
175 minSize = ures_getSize(subBundle); in TestKeyInRootRecursive()
180 && ures_getSize(subRootBundle) != ures_getSize(subBundle)) in TestKeyInRootRecursive()
188 ures_getSize(subBundle)); in TestKeyInRootRecursive()
202 … const UChar *localeStr = ures_getStringByIndex(subBundle,idx,&localeStrLen,&errorCode); in TestKeyInRootRecursive()
213 arr = ures_getByIndex(subBundle,idx,NULL,&errorCode); in TestKeyInRootRecursive()
332 else if (ures_getType(subBundle) == URES_STRING) { in TestKeyInRootRecursive()
334 const UChar *string = ures_getString(subBundle, &len, &errorCode); in TestKeyInRootRecursive()
419 else if (ures_getType(subBundle) == URES_TABLE) { in TestKeyInRootRecursive()
422 TestKeyInRootRecursive(subRootBundle, rootName, subBundle, locale); in TestKeyInRootRecursive()
428 else if (ures_getType(subBundle) == URES_BINARY || ures_getType(subBundle) == URES_INT) { in TestKeyInRootRecursive()
441 ures_getType(subBundle), in TestKeyInRootRecursive()
447 ures_close(subBundle); in TestKeyInRootRecursive()
1386 UResourceBundle *subBundle; in TestCurrencyList() local
1400 subBundle = ures_getNextResource(currencies, NULL, &errorCode); in TestCurrencyList()
1401 structISOCode = ures_getKey(subBundle); in TestCurrencyList()
1402 ures_close(subBundle); in TestCurrencyList()