/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | ResourceModule.java | 19 import android.icu.util.UResourceBundle; 73 UResourceBundle res; 74 UResourceBundle info; 75 UResourceBundle defaultHeader; 76 UResourceBundle testData; 80 res = (UResourceBundle) UResourceBundle.getBundleInstance(baseName, localeName, in ResourceModule() 82 info = getFromTable(res, INFO, UResourceBundle.TABLE); in ResourceModule() 83 testData = getFromTable(res, TEST_DATA, UResourceBundle.TABLE); in ResourceModule() 87 …defaultHeader = getFromTable(info, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING… in ResourceModule() 107 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 | 18 import com.ibm.icu.util.UResourceBundle; 72 UResourceBundle res; 73 UResourceBundle info; 74 UResourceBundle defaultHeader; 75 UResourceBundle testData; 79 res = (UResourceBundle) UResourceBundle.getBundleInstance(baseName, localeName, in ResourceModule() 81 info = getFromTable(res, INFO, UResourceBundle.TABLE); in ResourceModule() 82 testData = getFromTable(res, TEST_DATA, UResourceBundle.TABLE); in ResourceModule() 86 …defaultHeader = getFromTable(info, HEADER, new int[]{UResourceBundle.ARRAY, UResourceBundle.STRING… in ResourceModule() 106 protected Object prepareNext(UResourceBundle nextRes) throws DataModuleFormatError { in getTestDataIterator() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | ures.h | 52 struct UResourceBundle; 57 typedef struct UResourceBundle UResourceBundle; typedef 160 U_STABLE UResourceBundle* U_EXPORT2 183 U_STABLE UResourceBundle* U_EXPORT2 206 U_STABLE UResourceBundle* U_EXPORT2 229 ures_countArrayItems(const UResourceBundle* resourceBundle, 243 ures_close(UResourceBundle* resourceBundle); 258 U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close); 276 ures_getVersionNumber(const UResourceBundle* resourceBundle); 289 ures_getVersion(const UResourceBundle* resB, [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 32 import android.icu.util.UResourceBundle; 91 …UResourceBundle bundle = UResourceBundle.getBundleInstance("android.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper() 99 bundle = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, "bogus"); in TestResourceBundleWrapper() 100 if(bundle instanceof UResourceBundle && bundle.getULocale().getName().equals("en_US")){ in TestResourceBundleWrapper() 107 bundle = UResourceBundle.getBundleInstance("bogus", "bogus"); in TestResourceBundleWrapper() 121 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance("android/icu/dev/data… in TestJB3879() 131 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU… in TestOpen() 137 UResourceBundle obj = bundle.get("NumberElements").get("latn").get("patterns"); in TestOpen() 141 if(type == UResourceBundle.TABLE){ in TestOpen() 142 UResourceBundle sub; in TestOpen() [all …]
|
D | TestDefaultPackageLoading.jpp | 10 import com.ibm.icu.util.UResourceBundle; 25 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en"); 36 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te"); 47 …UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 31 import com.ibm.icu.util.UResourceBundle; 87 …UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper() 95 bundle = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, "bogus"); in TestResourceBundleWrapper() 96 if(bundle instanceof UResourceBundle && bundle.getULocale().getName().equals("en_US")){ in TestResourceBundleWrapper() 103 bundle = UResourceBundle.getBundleInstance("bogus", "bogus"); in TestResourceBundleWrapper() 117 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance("com/ibm/icu/dev/data… in TestJB3879() 127 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU… in TestOpen() 133 UResourceBundle obj = bundle.get("NumberElements").get("latn").get("patterns"); in TestOpen() 137 if(type == UResourceBundle.TABLE){ in TestOpen() 138 UResourceBundle sub; in TestOpen() [all …]
|
D | TestDefaultPackageLoading.jpp | 10 import com.ibm.icu.util.UResourceBundle; 25 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en"); 36 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te"); 47 …UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge");
|
/external/icu/icu4c/source/common/ |
D | uresimp.h | 61 struct UResourceBundle { struct 81 U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB); 91 U_CAPI UResourceBundle* U_EXPORT2 95 U_CFUNC const char* ures_getName(const UResourceBundle* resB); 97 U_CFUNC const char* ures_getPath(const UResourceBundle* resB); 109 U_CFUNC UResourceBundle *ures_copyResb(UResourceBundle *r, const UResourceBundle *original, UErrorC… 126 U_CAPI UResourceBundle* U_EXPORT2 128 UResourceBundle *fillIn, UErrorCode *status); 145 U_CAPI UResourceBundle* U_EXPORT2 146 ures_findSubResource(const UResourceBundle *resB, [all …]
|
D | uresbund.cpp | 106 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, … in getFallbackData() 488 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) { in ures_setIsStackObject() 498 static UBool ures_isStackObject(const UResourceBundle* resB) { in ures_isStackObject() 503 U_CFUNC void ures_initStackObject(UResourceBundle* resB) { in ures_initStackObject() 504 uprv_memset(resB, 0, sizeof(UResourceBundle)); in ures_initStackObject() 844 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath() 874 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath() 883 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle() 900 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle() 907 ures_close(UResourceBundle* resB) in ures_close() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UResourceBundle.java | 94 public abstract class UResourceBundle extends ResourceBundle { class 107 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() 123 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 143 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 154 public UResourceBundle() { in UResourceBundle() method in UResourceBundle 165 public static UResourceBundle getBundleInstance(ULocale locale) { in getBundleInstance() 181 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() 201 public static UResourceBundle getBundleInstance(String baseName, Locale locale) { in getBundleInstance() 221 public static UResourceBundle getBundleInstance(String baseName, ULocale locale) { in getBundleInstance() 243 public static UResourceBundle getBundleInstance(String baseName, Locale locale, in getBundleInstance() [all …]
|
D | LocaleData.java | 222 …ld.bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, … in getInstance() 223 …ld.langBundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_LANG_BA… in getInstance() 295 …private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementTy… in measurementTypeBundleForLocale() 297 UResourceBundle measTypeBundle = null; in measurementTypeBundleForLocale() 301 UResourceBundle rb = UResourceBundle.getBundleInstance( in measurementTypeBundleForLocale() 305 UResourceBundle measurementData = rb.get("measurementData"); in measurementTypeBundleForLocale() 306 UResourceBundle measDataBundle = null; in measurementTypeBundleForLocale() 364 UResourceBundle sysBundle = measurementTypeBundleForLocale(locale, MEASUREMENT_SYSTEM); in getMeasurementSystem() 420 UResourceBundle obj = measurementTypeBundleForLocale(locale, PAPER_SIZE); in getPaperSize() 464 …UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_B… in getCLDRVersion() [all …]
|
D | Region.java | 156 UResourceBundle metadataAlias = null; in loadRegionData() 157 UResourceBundle territoryAlias = null; in loadRegionData() 158 UResourceBundle codeMappings = null; in loadRegionData() 159 UResourceBundle idValidity = null; in loadRegionData() 160 UResourceBundle regionList = null; in loadRegionData() 161 UResourceBundle regionRegular = null; in loadRegionData() 162 UResourceBundle regionMacro = null; in loadRegionData() 163 UResourceBundle regionUnknown = null; in loadRegionData() 164 UResourceBundle worldContainment = null; in loadRegionData() 165 UResourceBundle territoryContainment = null; in loadRegionData() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | UResourceBundle.java | 95 public abstract class UResourceBundle extends ResourceBundle { class 107 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance() 122 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 141 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance() 151 public UResourceBundle() { in UResourceBundle() method in UResourceBundle 161 public static UResourceBundle getBundleInstance(ULocale locale) { in getBundleInstance() 176 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance() 195 public static UResourceBundle getBundleInstance(String baseName, Locale locale) { in getBundleInstance() 214 public static UResourceBundle getBundleInstance(String baseName, ULocale locale) { in getBundleInstance() 235 public static UResourceBundle getBundleInstance(String baseName, Locale locale, in getBundleInstance() [all …]
|
D | LocaleData.java | 209 …ld.bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, … in getInstance() 210 …ld.langBundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_LANG_BA… in getInstance() 278 …private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementTy… in measurementTypeBundleForLocale() 280 UResourceBundle measTypeBundle = null; in measurementTypeBundleForLocale() 284 UResourceBundle rb = UResourceBundle.getBundleInstance( in measurementTypeBundleForLocale() 288 UResourceBundle measurementData = rb.get("measurementData"); in measurementTypeBundleForLocale() 289 UResourceBundle measDataBundle = null; in measurementTypeBundleForLocale() 342 UResourceBundle sysBundle = measurementTypeBundleForLocale(locale, MEASUREMENT_SYSTEM); in getMeasurementSystem() 394 UResourceBundle obj = measurementTypeBundleForLocale(locale, PAPER_SIZE); in getPaperSize() 435 …UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_B… in getCLDRVersion() [all …]
|
D | Region.java | 148 UResourceBundle metadataAlias = null; in loadRegionData() 149 UResourceBundle territoryAlias = null; in loadRegionData() 150 UResourceBundle codeMappings = null; in loadRegionData() 151 UResourceBundle idValidity = null; in loadRegionData() 152 UResourceBundle regionList = null; in loadRegionData() 153 UResourceBundle regionRegular = null; in loadRegionData() 154 UResourceBundle regionMacro = null; in loadRegionData() 155 UResourceBundle regionUnknown = null; in loadRegionData() 156 UResourceBundle worldContainment = null; in loadRegionData() 157 UResourceBundle territoryContainment = null; in loadRegionData() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ZoneMeta.java | 27 import android.icu.util.UResourceBundle; 223 UResourceBundle res = openOlsonResource(null, id); in countEquivalentIDs() 226 UResourceBundle links = res.get("links"); in countEquivalentIDs() 257 UResourceBundle res = openOlsonResource(null, id); in getEquivalentID() 261 UResourceBundle links = res.get("links"); in getEquivalentID() 288 UResourceBundle top = UResourceBundle.getBundleInstance( in getZoneIDs() 368 … UResourceBundle top = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, in getCanonicalCLDRID() 370 UResourceBundle zones = top.get(kZONES); in getCanonicalCLDRID() 371 UResourceBundle zone = zones.get(zoneIdx); in getCanonicalCLDRID() 372 if (zone.getType() == UResourceBundle.INT) { in getCanonicalCLDRID() [all …]
|
D | CalendarData.java | 14 import android.icu.util.UResourceBundle; 30 …this((ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, loc), t… in CalendarData() 149 UResourceBundle patResource = iter.next(); in getDateTimePatterns() 152 case UResourceBundle.STRING: in getDateTimePatterns() 155 case UResourceBundle.ARRAY: in getDateTimePatterns() 213 UResourceBundle patResource = iter.next(); in getOverrides() 216 case UResourceBundle.STRING: in getOverrides() 219 case UResourceBundle.ARRAY: in getOverrides()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ZoneMeta.java | 26 import com.ibm.icu.util.UResourceBundle; 222 UResourceBundle res = openOlsonResource(null, id); in countEquivalentIDs() 225 UResourceBundle links = res.get("links"); in countEquivalentIDs() 256 UResourceBundle res = openOlsonResource(null, id); in getEquivalentID() 260 UResourceBundle links = res.get("links"); in getEquivalentID() 287 UResourceBundle top = UResourceBundle.getBundleInstance( in getZoneIDs() 367 … UResourceBundle top = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, in getCanonicalCLDRID() 369 UResourceBundle zones = top.get(kZONES); in getCanonicalCLDRID() 370 UResourceBundle zone = zones.get(zoneIdx); in getCanonicalCLDRID() 371 if (zone.getType() == UResourceBundle.INT) { in getCanonicalCLDRID() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationLoader.java | 25 import android.icu.util.UResourceBundle; 45 UResourceBundle rootBundle = UResourceBundle.getBundleInstance( in loadRootRules() 82 UResourceBundle bundle = UResourceBundle.getBundleInstance( in loadRules() 84 UResourceBundle data = ((ICUResourceBundle)bundle).getWithFallback( in loadRules() 90 private static final UResourceBundle findWithFallback(UResourceBundle table, String entryName) { in findWithFallback() 107 UResourceBundle bundle = null; in loadTailoring() 127 UResourceBundle collations; in loadTailoring() 158 UResourceBundle data = findWithFallback(collations, type); in loadTailoring() 201 UResourceBundle binary = data.get("%%CollationBin"); in loadTailoring() 230 UResourceBundle actualBundle = UResourceBundle.getBundleInstance( in loadTailoring()
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationLoader.java | 24 import com.ibm.icu.util.UResourceBundle; 43 UResourceBundle rootBundle = UResourceBundle.getBundleInstance( in loadRootRules() 80 UResourceBundle bundle = UResourceBundle.getBundleInstance( in loadRules() 82 UResourceBundle data = ((ICUResourceBundle)bundle).getWithFallback( in loadRules() 88 private static final UResourceBundle findWithFallback(UResourceBundle table, String entryName) { in findWithFallback() 105 UResourceBundle bundle = null; in loadTailoring() 125 UResourceBundle collations; in loadTailoring() 156 UResourceBundle data = findWithFallback(collations, type); in loadTailoring() 199 UResourceBundle binary = data.get("%%CollationBin"); in loadTailoring() 228 UResourceBundle actualBundle = UResourceBundle.getBundleInstance( in loadTailoring()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NumberingSystem.java | 21 import android.icu.util.UResourceBundle; 151 …ICUResourceBundle rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_… in getInstance() 208 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BAS… in getInstanceByName() 209 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getInstanceByName() 210 UResourceBundle nsTop = nsCurrent.get(name); in getInstanceByName() 213 UResourceBundle nsRadixBundle = nsTop.get("radix"); in getInstanceByName() 214 UResourceBundle nsAlgBundle = nsTop.get("algorithmic"); in getInstanceByName() 235 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BAS… in getAvailableNames() 236 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames() 237 UResourceBundle temp; in getAvailableNames()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | NumberingSystem.java | 20 import com.ibm.icu.util.UResourceBundle; 156 …ICUResourceBundle rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_… in getInstance() 215 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BAS… in getInstanceByName() 216 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getInstanceByName() 217 UResourceBundle nsTop = nsCurrent.get(name); in getInstanceByName() 220 UResourceBundle nsRadixBundle = nsTop.get("radix"); in getInstanceByName() 221 UResourceBundle nsAlgBundle = nsTop.get("algorithmic"); in getInstanceByName() 243 …UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BAS… in getAvailableNames() 244 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames() 245 UResourceBundle temp; in getAvailableNames()
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
D | testdata.h | 88 UResourceBundle *fData; 89 UResourceBundle *fHeaders; 90 UResourceBundle *fSettings; 91 UResourceBundle *fCases; 95 RBTestData(UResourceBundle *data, UResourceBundle *headers, UErrorCode& status);
|
/external/icu/icu4c/source/i18n/ |
D | compactdecimalformat.cpp | 150 static UResourceBundle* tryGetDecimalFallback(const UResourceBundle* numberSystemResource, const ch… 151 static UResourceBundle* tryGetByKeyWithFallback(const UResourceBundle* rb, const char* path, UResou… 152 static UBool isRoot(const UResourceBundle* rb, UErrorCode& status); 153 static void initCDFLocaleStyleData(const UResourceBundle* decimalFormatBundle, CDFLocaleStyleData* … 154 static void populatePower10(const UResourceBundle* power10Bundle, CDFLocaleStyleData* result, UErro… 543 UResourceBundle* rb = ures_open(NULL, inLocale.getName(), &status); in initCDFLocaleData() 549 UResourceBundle* shortDataFillIn = NULL; in initCDFLocaleData() 550 UResourceBundle* longDataFillIn = NULL; in initCDFLocaleData() 551 UResourceBundle* shortData = NULL; in initCDFLocaleData() 552 UResourceBundle* longData = NULL; in initCDFLocaleData() [all …]
|
D | ulocdata.c | 41 UResourceBundle *bundle; 46 UResourceBundle *langBundle; 149 UResourceBundle *delimiterBundle; in ulocdata_getDelimiter() 191 static UResourceBundle * measurementTypeBundleForLocale(const char *localeID, const char *measureme… in measurementTypeBundleForLocale() 194 UResourceBundle *rb; in measurementTypeBundleForLocale() 195 UResourceBundle *measTypeBundle = NULL; in measurementTypeBundleForLocale() 206 UResourceBundle *measDataBundle = ures_getByKey(rb, region, NULL, status); in measurementTypeBundleForLocale() 227 UResourceBundle* measurement=NULL; in ulocdata_getMeasurementSystem() 245 UResourceBundle* paperSizeBundle = NULL; in ulocdata_getPaperSize() 271 UResourceBundle *rb = NULL; in ulocdata_getCLDRVersion() [all …]
|