Home
last modified time | relevance | path

Searched refs:UResourceBundle (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DResourceModule.java20 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/android_icu4j/src/main/tests/android/icu/dev/test/
DResourceModule.java21 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/icu4c/source/common/unicode/
Dures.h54 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/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUResourceBundleTest.java38 import android.icu.util.UResourceBundle;
92UResourceBundle bundle = UResourceBundle.getBundleInstance("android.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper()
100 bundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "bogus"); in TestResourceBundleWrapper()
101 if(bundle instanceof UResourceBundle && bundle.getULocale().getName().equals("en_US")){ in TestResourceBundleWrapper()
108 bundle = UResourceBundle.getBundleInstance("bogus", "bogus"); in TestResourceBundleWrapper()
123UResourceBundle bundle = UResourceBundle.getBundleInstance("android/icu/dev/data/testdata", ULocal… in TestJB3879()
134UResourceBundle bundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "en_US_POSIX"); in TestOpen()
140 UResourceBundle obj = bundle.get("NumberElements").get("latn").get("patterns"); in TestOpen()
144 if(type == UResourceBundle.TABLE){ in TestOpen()
145 UResourceBundle sub; in TestOpen()
[all …]
DTestDefaultPackageLoading.jpp14 import com.ibm.icu.util.UResourceBundle;
29 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en");
40 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te");
51UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge");
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java37 import com.ibm.icu.util.UResourceBundle;
91UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper()
99 bundle = UResourceBundle.getBundleInstance(ICUData.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()
122UResourceBundle bundle = UResourceBundle.getBundleInstance("com/ibm/icu/dev/data/testdata", ULocal… in TestJB3879()
133UResourceBundle bundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "en_US_POSIX"); in TestOpen()
139 UResourceBundle obj = bundle.get("NumberElements").get("latn").get("patterns"); in TestOpen()
143 if(type == UResourceBundle.TABLE){ in TestOpen()
144 UResourceBundle sub; in TestOpen()
[all …]
DTestDefaultPackageLoading.jpp14 import com.ibm.icu.util.UResourceBundle;
29 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en");
40 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te");
51UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge");
/external/icu/icu4c/source/common/
Duresimp.h63 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 …]
Duresbund.cpp108 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, … in getFallbackData()
490 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) { in ures_setIsStackObject()
500 static UBool ures_isStackObject(const UResourceBundle* resB) { in ures_isStackObject()
505 U_CFUNC void ures_initStackObject(UResourceBundle* resB) { in ures_initStackObject()
506 uprv_memset(resB, 0, sizeof(UResourceBundle)); in ures_initStackObject()
846 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath()
876 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath()
885 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle()
902 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle()
909 ures_close(UResourceBundle* resB) in ures_close()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundle.java95 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 …]
DLocaleData.java227 … 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()
457UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, … in getCLDRVersion()
[all …]
DRegion.java159 UResourceBundle metadataAlias = null; in loadRegionData()
160 UResourceBundle territoryAlias = null; in loadRegionData()
161 UResourceBundle codeMappings = null; in loadRegionData()
162 UResourceBundle idValidity = null; in loadRegionData()
163 UResourceBundle regionList = null; in loadRegionData()
164 UResourceBundle regionRegular = null; in loadRegionData()
165 UResourceBundle regionMacro = null; in loadRegionData()
166 UResourceBundle regionUnknown = null; in loadRegionData()
167 UResourceBundle worldContainment = null; in loadRegionData()
168 UResourceBundle territoryContainment = null; in loadRegionData()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUResourceBundle.java96 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()
218 public static UResourceBundle getBundleInstance(String baseName, ULocale locale) { in getBundleInstance()
239 public static UResourceBundle getBundleInstance(String baseName, Locale locale, in getBundleInstance()
[all …]
DLocaleData.java216 … ld.bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in getInstance()
217 …ld.langBundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_LANG_BASE_NAME, l… in getInstance()
285 …private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementTy… in measurementTypeBundleForLocale()
287 UResourceBundle measTypeBundle = null; in measurementTypeBundleForLocale()
290 UResourceBundle rb = UResourceBundle.getBundleInstance( in measurementTypeBundleForLocale()
294 UResourceBundle measurementData = rb.get("measurementData"); in measurementTypeBundleForLocale()
295 UResourceBundle measDataBundle = null; in measurementTypeBundleForLocale()
341 UResourceBundle sysBundle = measurementTypeBundleForLocale(locale, MEASUREMENT_SYSTEM); in getMeasurementSystem()
389 UResourceBundle obj = measurementTypeBundleForLocale(locale, PAPER_SIZE); in getPaperSize()
430UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, … in getCLDRVersion()
[all …]
DRegion.java151 UResourceBundle metadataAlias = null; in loadRegionData()
152 UResourceBundle territoryAlias = null; in loadRegionData()
153 UResourceBundle codeMappings = null; in loadRegionData()
154 UResourceBundle idValidity = null; in loadRegionData()
155 UResourceBundle regionList = null; in loadRegionData()
156 UResourceBundle regionRegular = null; in loadRegionData()
157 UResourceBundle regionMacro = null; in loadRegionData()
158 UResourceBundle regionUnknown = null; in loadRegionData()
159 UResourceBundle worldContainment = null; in loadRegionData()
160 UResourceBundle territoryContainment = null; in loadRegionData()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DZoneMeta.java28 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()
369UResourceBundle 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 …]
DICUResourceBundleImpl.java16 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/android_icu4j/src/main/java/android/icu/impl/
DZoneMeta.java29 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()
370UResourceBundle 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 …]
DICUResourceBundleImpl.java17 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/collate/src/com/ibm/icu/impl/coll/
DCollationLoader.java27 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/
DCollationLoader.java28 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/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberingSystem.java22 import com.ibm.icu.util.UResourceBundle;
166 … rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in lookupInstanceByLocale()
229UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in lookupInstanceByName()
230 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in lookupInstanceByName()
231 UResourceBundle nsTop = nsCurrent.get(name); in lookupInstanceByName()
234 UResourceBundle nsRadixBundle = nsTop.get("radix"); in lookupInstanceByName()
235 UResourceBundle nsAlgBundle = nsTop.get("algorithmic"); in lookupInstanceByName()
255UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in getAvailableNames()
256 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames()
257 UResourceBundle temp; in getAvailableNames()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberingSystem.java23 import android.icu.util.UResourceBundle;
161 … rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in lookupInstanceByLocale()
222UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in lookupInstanceByName()
223 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in lookupInstanceByName()
224 UResourceBundle nsTop = nsCurrent.get(name); in lookupInstanceByName()
227 UResourceBundle nsRadixBundle = nsTop.get("radix"); in lookupInstanceByName()
228 UResourceBundle nsAlgBundle = nsTop.get("algorithmic"); in lookupInstanceByName()
247UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in getAvailableNames()
248 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames()
249 UResourceBundle temp; in getAvailableNames()
/external/icu/icu4c/source/tools/ctestfw/unicode/
Dtestdata.h90 UResourceBundle *fData;
91 UResourceBundle *fHeaders;
92 UResourceBundle *fSettings;
93 UResourceBundle *fCases;
97 RBTestData(UResourceBundle *data, UResourceBundle *headers, UErrorCode& status);
/external/icu/icu4c/source/i18n/
Dulocdata.c44 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 …]

12345678910