/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | ResourceModule.java | 21 import android.icu.util.UResourceBundle; 75 UResourceBundle res; 76 UResourceBundle info; 77 UResourceBundle defaultHeader; 78 UResourceBundle testData; 82 res = (UResourceBundle) UResourceBundle.getBundleInstance(baseName, localeName, in ResourceModule() 84 info = getFromTable(res, INFO, UResourceBundle.TABLE); in ResourceModule() 85 testData = getFromTable(res, TEST_DATA, UResourceBundle.TABLE); in ResourceModule() 89 …defaultHeader = getFromTable(info, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING… in ResourceModule() 109 protected Object prepareNext(UResourceBundle nextRes) throws DataModuleFormatError { in getTestDataIterator() [all …]
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | ResourceModule.java | 20 import com.ibm.icu.util.UResourceBundle; 74 UResourceBundle res; 75 UResourceBundle info; 76 UResourceBundle defaultHeader; 77 UResourceBundle testData; 81 res = (UResourceBundle) UResourceBundle.getBundleInstance(baseName, localeName, in ResourceModule() 83 info = getFromTable(res, INFO, UResourceBundle.TABLE); in ResourceModule() 84 testData = getFromTable(res, TEST_DATA, UResourceBundle.TABLE); in ResourceModule() 88 …defaultHeader = getFromTable(info, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING… in ResourceModule() 108 protected Object prepareNext(UResourceBundle nextRes) throws DataModuleFormatError { in getTestDataIterator() [all …]
|
/external/icu/libandroidicu/include/unicode/ |
D | ures.h | 54 struct UResourceBundle; 59 typedef struct UResourceBundle UResourceBundle; typedef 166 U_STABLE UResourceBundle* U_EXPORT2 189 U_STABLE UResourceBundle* U_EXPORT2 212 U_STABLE UResourceBundle* U_EXPORT2 235 ures_countArrayItems(const UResourceBundle* resourceBundle, 249 ures_close(UResourceBundle* resourceBundle); 264 U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close); 282 ures_getVersionNumber(const UResourceBundle* resourceBundle); 295 ures_getVersion(const UResourceBundle* resB, [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | ures.h | 54 struct UResourceBundle; 59 typedef struct UResourceBundle UResourceBundle; typedef 166 U_STABLE UResourceBundle* U_EXPORT2 189 U_STABLE UResourceBundle* U_EXPORT2 212 U_STABLE UResourceBundle* U_EXPORT2 235 ures_countArrayItems(const UResourceBundle* resourceBundle, 249 ures_close(UResourceBundle* resourceBundle); 264 U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close); 282 ures_getVersionNumber(const UResourceBundle* resourceBundle); 295 ures_getVersion(const UResourceBundle* resB, [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 39 import com.ibm.icu.util.UResourceBundle; 94 …UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper() 102 bundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "bogus"); in TestResourceBundleWrapper() 103 if(bundle instanceof UResourceBundle && bundle.getULocale().getName().equals("en_US")){ in TestResourceBundleWrapper() 110 bundle = UResourceBundle.getBundleInstance("bogus", "bogus"); in TestResourceBundleWrapper() 125 …UResourceBundle bundle = UResourceBundle.getBundleInstance("com/ibm/icu/dev/data/testdata", ULocal… in TestJB3879() 136 … UResourceBundle bundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "en_US_POSIX"); in TestOpen() 142 UResourceBundle obj = bundle.get("NumberElements").get("latn").get("patterns"); in TestOpen() 146 if(type == UResourceBundle.TABLE){ in TestOpen() 147 UResourceBundle sub; in TestOpen() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 40 import android.icu.util.UResourceBundle; 97 …UResourceBundle bundle = UResourceBundle.getBundleInstance("android.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper() 105 bundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "bogus"); in TestResourceBundleWrapper() 106 if(bundle instanceof UResourceBundle && bundle.getULocale().getName().equals("en_US")){ in TestResourceBundleWrapper() 113 bundle = UResourceBundle.getBundleInstance("bogus", "bogus"); in TestResourceBundleWrapper() 128 …UResourceBundle bundle = UResourceBundle.getBundleInstance("android/icu/dev/data/testdata", ULocal… in TestJB3879() 139 … UResourceBundle bundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "en_US_POSIX"); in TestOpen() 145 UResourceBundle obj = bundle.get("NumberElements").get("latn").get("patterns"); in TestOpen() 149 if(type == UResourceBundle.TABLE){ in TestOpen() 150 UResourceBundle sub; in TestOpen() [all …]
|
/external/icu/icu4c/source/common/ |
D | uresimp.h | 63 struct UResourceBundle { struct 83 U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB); 93 U_CAPI UResourceBundle* U_EXPORT2 97 U_CFUNC const char* ures_getName(const UResourceBundle* resB); 99 U_CFUNC const char* ures_getPath(const UResourceBundle* resB); 111 U_CFUNC UResourceBundle *ures_copyResb(UResourceBundle *r, const UResourceBundle *original, UErrorC… 128 U_CAPI UResourceBundle* U_EXPORT2 130 UResourceBundle *fillIn, UErrorCode *status); 147 U_CAPI UResourceBundle* U_EXPORT2 148 ures_findSubResource(const UResourceBundle *resB, [all …]
|
D | uresbund.cpp | 108 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, … in getFallbackData() 495 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) { in ures_setIsStackObject() 505 static UBool ures_isStackObject(const UResourceBundle* resB) { in ures_isStackObject() 510 U_CFUNC void ures_initStackObject(UResourceBundle* resB) { in ures_initStackObject() 511 uprv_memset(resB, 0, sizeof(UResourceBundle)); in ures_initStackObject() 877 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath() 907 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath() 916 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle() 933 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle() 940 ures_close(UResourceBundle* resB) in ures_close() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UResourceBundle.java | 95 public abstract class UResourceBundle extends ResourceBundle { class 109 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() 126 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 147 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 158 public UResourceBundle() { in UResourceBundle() method in UResourceBundle 169 public static UResourceBundle getBundleInstance(ULocale locale) { in getBundleInstance() 185 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() 205 public static UResourceBundle getBundleInstance(String baseName, Locale locale) { in getBundleInstance() 225 public static UResourceBundle getBundleInstance(String baseName, ULocale locale) { in getBundleInstance() 247 public static UResourceBundle getBundleInstance(String baseName, Locale locale, in getBundleInstance() [all …]
|
D | LocaleData.java | 227 … ld.bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in getInstance() 228 …ld.langBundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_LANG_BASE_NAME, l… in getInstance() 300 …private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementTy… in measurementTypeBundleForLocale() 302 UResourceBundle measTypeBundle = null; in measurementTypeBundleForLocale() 305 UResourceBundle rb = UResourceBundle.getBundleInstance( in measurementTypeBundleForLocale() 309 UResourceBundle measurementData = rb.get("measurementData"); in measurementTypeBundleForLocale() 310 UResourceBundle measDataBundle = null; in measurementTypeBundleForLocale() 361 UResourceBundle sysBundle = measurementTypeBundleForLocale(locale, MEASUREMENT_SYSTEM); in getMeasurementSystem() 413 UResourceBundle obj = measurementTypeBundleForLocale(locale, PAPER_SIZE); in getPaperSize() 457 …UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, … in getCLDRVersion() [all …]
|
D | Region.java | 160 UResourceBundle metadataAlias = null; in loadRegionData() 161 UResourceBundle territoryAlias = null; in loadRegionData() 162 UResourceBundle codeMappings = null; in loadRegionData() 163 UResourceBundle idValidity = null; in loadRegionData() 164 UResourceBundle regionList = null; in loadRegionData() 165 UResourceBundle regionRegular = null; in loadRegionData() 166 UResourceBundle regionMacro = null; in loadRegionData() 167 UResourceBundle regionUnknown = null; in loadRegionData() 168 UResourceBundle worldContainment = null; in loadRegionData() 169 UResourceBundle territoryContainment = null; in loadRegionData() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | UResourceBundle.java | 96 public abstract class UResourceBundle extends ResourceBundle { class 109 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() 125 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 145 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 155 public UResourceBundle() { in UResourceBundle() method in UResourceBundle 165 public static UResourceBundle getBundleInstance(ULocale locale) { in getBundleInstance() 180 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() 199 public static UResourceBundle getBundleInstance(String baseName, Locale locale) { in getBundleInstance() 219 public static UResourceBundle getBundleInstance(String baseName, ULocale locale) { in getBundleInstance() 240 public static UResourceBundle getBundleInstance(String baseName, Locale locale, in getBundleInstance() [all …]
|
D | LocaleData.java | 225 … ld.bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in getInstance() 226 …ld.langBundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_LANG_BASE_NAME, l… in getInstance() 294 …private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementTy… in measurementTypeBundleForLocale() 296 UResourceBundle measTypeBundle = null; in measurementTypeBundleForLocale() 299 UResourceBundle rb = UResourceBundle.getBundleInstance( in measurementTypeBundleForLocale() 303 UResourceBundle measurementData = rb.get("measurementData"); in measurementTypeBundleForLocale() 304 UResourceBundle measDataBundle = null; in measurementTypeBundleForLocale() 350 UResourceBundle sysBundle = measurementTypeBundleForLocale(locale, MEASUREMENT_SYSTEM); in getMeasurementSystem() 398 UResourceBundle obj = measurementTypeBundleForLocale(locale, PAPER_SIZE); in getPaperSize() 441 …UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, … in getCLDRVersion() [all …]
|
D | Region.java | 157 UResourceBundle metadataAlias = null; in loadRegionData() 158 UResourceBundle territoryAlias = null; in loadRegionData() 159 UResourceBundle codeMappings = null; in loadRegionData() 160 UResourceBundle idValidity = null; in loadRegionData() 161 UResourceBundle regionList = null; in loadRegionData() 162 UResourceBundle regionRegular = null; in loadRegionData() 163 UResourceBundle regionMacro = null; in loadRegionData() 164 UResourceBundle regionUnknown = null; in loadRegionData() 165 UResourceBundle worldContainment = null; in loadRegionData() 166 UResourceBundle territoryContainment = null; in loadRegionData() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ZoneMeta.java | 29 import android.icu.util.UResourceBundle; 225 UResourceBundle res = openOlsonResource(null, id); in countEquivalentIDs() 228 UResourceBundle links = res.get("links"); in countEquivalentIDs() 259 UResourceBundle res = openOlsonResource(null, id); in getEquivalentID() 263 UResourceBundle links = res.get("links"); in getEquivalentID() 290 UResourceBundle top = UResourceBundle.getBundleInstance( in getZoneIDs() 370 … UResourceBundle top = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, in getCanonicalCLDRID() 372 UResourceBundle zones = top.get(kZONES); in getCanonicalCLDRID() 373 UResourceBundle zone = zones.get(zoneIdx); in getCanonicalCLDRID() 374 if (zone.getType() == UResourceBundle.INT) { in getCanonicalCLDRID() [all …]
|
D | ICUResourceBundleImpl.java | 17 import android.icu.util.UResourceBundle; 37 UResourceBundle requested) { in createBundleObject() 159 …protected UResourceBundle createBundleObject(int index, String resKey, HashMap<String, String> ali… in createBundleObject() 160 UResourceBundle requested) { in createBundleObject() 199 protected UResourceBundle handleGet(String indexStr, HashMap<String, String> aliasesVisited, in handleGet() 200 UResourceBundle requested) { in handleGet() 205 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet() 206 UResourceBundle requested) { in handleGet() 233 protected UResourceBundle handleGet(String resKey, HashMap<String, String> aliasesVisited, in handleGet() 234 UResourceBundle requested) { in handleGet() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ZoneMeta.java | 28 import com.ibm.icu.util.UResourceBundle; 224 UResourceBundle res = openOlsonResource(null, id); in countEquivalentIDs() 227 UResourceBundle links = res.get("links"); in countEquivalentIDs() 258 UResourceBundle res = openOlsonResource(null, id); in getEquivalentID() 262 UResourceBundle links = res.get("links"); in getEquivalentID() 289 UResourceBundle top = UResourceBundle.getBundleInstance( in getZoneIDs() 369 … UResourceBundle top = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, in getCanonicalCLDRID() 371 UResourceBundle zones = top.get(kZONES); in getCanonicalCLDRID() 372 UResourceBundle zone = zones.get(zoneIdx); in getCanonicalCLDRID() 373 if (zone.getType() == UResourceBundle.INT) { in getCanonicalCLDRID() [all …]
|
D | ICUResourceBundleImpl.java | 16 import com.ibm.icu.util.UResourceBundle; 36 UResourceBundle requested) { in createBundleObject() 158 …protected UResourceBundle createBundleObject(int index, String resKey, HashMap<String, String> ali… in createBundleObject() 159 UResourceBundle requested) { in createBundleObject() 198 protected UResourceBundle handleGet(String indexStr, HashMap<String, String> aliasesVisited, in handleGet() 199 UResourceBundle requested) { in handleGet() 204 protected UResourceBundle handleGet(int index, HashMap<String, String> aliasesVisited, in handleGet() 205 UResourceBundle requested) { in handleGet() 232 protected UResourceBundle handleGet(String resKey, HashMap<String, String> aliasesVisited, in handleGet() 233 UResourceBundle requested) { in handleGet() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationLoader.java | 27 import com.ibm.icu.util.UResourceBundle; 46 UResourceBundle rootBundle = UResourceBundle.getBundleInstance( in loadRootRules() 83 UResourceBundle bundle = UResourceBundle.getBundleInstance( in loadRules() 85 UResourceBundle data = ((ICUResourceBundle)bundle).getWithFallback( in loadRules() 91 private static final UResourceBundle findWithFallback(UResourceBundle table, String entryName) { in findWithFallback() 108 UResourceBundle bundle = null; in loadTailoring() 128 UResourceBundle collations; in loadTailoring() 159 UResourceBundle data = findWithFallback(collations, type); in loadTailoring() 202 UResourceBundle binary = data.get("%%CollationBin"); in loadTailoring() 231 UResourceBundle actualBundle = UResourceBundle.getBundleInstance( in loadTailoring()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationLoader.java | 28 import android.icu.util.UResourceBundle; 48 UResourceBundle rootBundle = UResourceBundle.getBundleInstance( in loadRootRules() 85 UResourceBundle bundle = UResourceBundle.getBundleInstance( in loadRules() 87 UResourceBundle data = ((ICUResourceBundle)bundle).getWithFallback( in loadRules() 93 private static final UResourceBundle findWithFallback(UResourceBundle table, String entryName) { in findWithFallback() 110 UResourceBundle bundle = null; in loadTailoring() 130 UResourceBundle collations; in loadTailoring() 161 UResourceBundle data = findWithFallback(collations, type); in loadTailoring() 204 UResourceBundle binary = data.get("%%CollationBin"); in loadTailoring() 233 UResourceBundle actualBundle = UResourceBundle.getBundleInstance( in loadTailoring()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberingSystem.java | 23 import android.icu.util.UResourceBundle; 167 … rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in lookupInstanceByLocale() 228 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in lookupInstanceByName() 229 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in lookupInstanceByName() 230 UResourceBundle nsTop = nsCurrent.get(name); in lookupInstanceByName() 233 UResourceBundle nsRadixBundle = nsTop.get("radix"); in lookupInstanceByName() 234 UResourceBundle nsAlgBundle = nsTop.get("algorithmic"); in lookupInstanceByName() 253 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in getAvailableNames() 254 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames() 255 UResourceBundle temp; in getAvailableNames()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberingSystem.java | 22 import com.ibm.icu.util.UResourceBundle; 175 … rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in lookupInstanceByLocale() 238 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in lookupInstanceByName() 239 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in lookupInstanceByName() 240 UResourceBundle nsTop = nsCurrent.get(name); in lookupInstanceByName() 243 UResourceBundle nsRadixBundle = nsTop.get("radix"); in lookupInstanceByName() 244 UResourceBundle nsAlgBundle = nsTop.get("algorithmic"); in lookupInstanceByName() 264 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in getAvailableNames() 265 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames() 266 UResourceBundle temp; in getAvailableNames()
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
D | testdata.h | 90 UResourceBundle *fData; 91 UResourceBundle *fHeaders; 92 UResourceBundle *fSettings; 93 UResourceBundle *fCases; 97 RBTestData(UResourceBundle *data, UResourceBundle *headers, UErrorCode& status);
|
/external/icu/icu4c/source/i18n/ |
D | ulocdata.cpp | 44 UResourceBundle *bundle; 49 UResourceBundle *langBundle; 152 UResourceBundle *delimiterBundle; in ulocdata_getDelimiter() 194 static UResourceBundle * measurementTypeBundleForLocale(const char *localeID, const char *measureme… in measurementTypeBundleForLocale() 196 UResourceBundle *rb; in measurementTypeBundleForLocale() 197 UResourceBundle *measTypeBundle = NULL; in measurementTypeBundleForLocale() 204 UResourceBundle *measDataBundle = ures_getByKey(rb, region, NULL, status); in measurementTypeBundleForLocale() 225 UResourceBundle* measurement=NULL; in ulocdata_getMeasurementSystem() 243 UResourceBundle* paperSizeBundle = NULL; in ulocdata_getPaperSize() 269 UResourceBundle *rb = NULL; in ulocdata_getCLDRVersion() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
D | KeyTypeData.java | 26 import android.icu.util.UResourceBundle; 218 UResourceBundle keyTypeDataRes = ICUResourceBundle.getBundleInstance( in initFromResourceBundle() 227 UResourceBundle keyMapRes = keyTypeDataRes.get("keyMap"); in initFromResourceBundle() 228 UResourceBundle typeMapRes = keyTypeDataRes.get("typeMap"); in initFromResourceBundle() 231 UResourceBundle typeAliasRes = null; in initFromResourceBundle() 232 UResourceBundle bcpTypeAliasRes = null; in initFromResourceBundle() 251 UResourceBundle keyMapEntry = keyMapItr.next(); in initFromResourceBundle() 269 UResourceBundle typeAliasResByKey = null; in initFromResourceBundle() 279 UResourceBundle typeAliasDataEntry = typeAliasResItr.next(); in initFromResourceBundle() 298 UResourceBundle bcpTypeAliasResByKey = null; in initFromResourceBundle() [all …]
|