Home
last modified time | relevance | path

Searched refs:UResourceBundle (Results 1 – 25 of 247) 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/libandroidicu/include/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/icu4c/source/common/
Duresimp.h64 struct UResourceBundle { struct
87 U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB);
124 UResourceBundle* getAlias() { return &bundle; } in getAlias()
126 UResourceBundle& ref() { return bundle; } in ref()
127 const UResourceBundle& ref() const { return bundle; } in ref()
136 UResourceBundle bundle;
151 U_CAPI UResourceBundle* U_EXPORT2
155 U_CFUNC const char* ures_getName(const UResourceBundle* resB);
157 U_CFUNC const char* ures_getPath(const UResourceBundle* resB);
169 U_CFUNC UResourceBundle *ures_copyResb(UResourceBundle *r, const UResourceBundle *original, UErrorC…
[all …]
Duresbund.cpp110 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()
886 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath()
916 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath()
925 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle()
942 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle()
949 ures_close(UResourceBundle* resB) in ures_close()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java39 import com.ibm.icu.util.UResourceBundle;
94UResourceBundle 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()
125UResourceBundle bundle = UResourceBundle.getBundleInstance("com/ibm/icu/dev/data/testdata", ULocal… in TestJB3879()
136UResourceBundle 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/
DICUResourceBundleTest.java40 import android.icu.util.UResourceBundle;
97UResourceBundle 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()
128UResourceBundle bundle = UResourceBundle.getBundleInstance("android/icu/dev/data/testdata", ULocal… in TestJB3879()
139UResourceBundle 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/android_icu4j/src/main/java/android/icu/util/
DUResourceBundle.java97 public abstract class UResourceBundle extends ResourceBundle { class
110 public static UResourceBundle getBundleInstance(String baseName, String localeName){ in getBundleInstance()
126 public static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance()
146 protected static UResourceBundle getBundleInstance(String baseName, String localeName, in getBundleInstance()
157 public UResourceBundle() { in UResourceBundle() method in UResourceBundle
167 public static UResourceBundle getBundleInstance(ULocale locale) { in getBundleInstance()
182 public static UResourceBundle getBundleInstance(String baseName) { in getBundleInstance()
202 public static UResourceBundle getBundleInstance(String baseName, Locale locale) { in getBundleInstance()
223 public static UResourceBundle getBundleInstance(String baseName, ULocale locale) { in getBundleInstance()
244 public static UResourceBundle getBundleInstance(String baseName, Locale locale, in getBundleInstance()
[all …]
DLocaleData.java230 … ld.bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in getInstance()
231 …ld.langBundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_LANG_BASE_NAME, l… in getInstance()
299 …private static UResourceBundle measurementTypeBundleForLocale(ULocale locale, String measurementTy… in measurementTypeBundleForLocale()
301 UResourceBundle measTypeBundle = null; in measurementTypeBundleForLocale()
304 UResourceBundle rb = UResourceBundle.getBundleInstance( in measurementTypeBundleForLocale()
308 UResourceBundle measurementData = rb.get("measurementData"); in measurementTypeBundleForLocale()
309 UResourceBundle measDataBundle = null; in measurementTypeBundleForLocale()
355 UResourceBundle sysBundle = measurementTypeBundleForLocale(locale, MEASUREMENT_SYSTEM); in getMeasurementSystem()
403 UResourceBundle obj = measurementTypeBundleForLocale(locale, PAPER_SIZE); in getPaperSize()
446UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, … in getCLDRVersion()
[all …]
DRegion.java157 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/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.java160 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/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;
226 UResourceBundle res = openOlsonResource(null, id); in countEquivalentIDs()
229 UResourceBundle links = res.get("links"); in countEquivalentIDs()
260 UResourceBundle res = openOlsonResource(null, id); in getEquivalentID()
264 UResourceBundle links = res.get("links"); in getEquivalentID()
291 UResourceBundle top = UResourceBundle.getBundleInstance( in getZoneIDs()
372UResourceBundle top = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, in getCanonicalCLDRID()
374 UResourceBundle zones = top.get(kZONES); in getCanonicalCLDRID()
375 UResourceBundle zone = zones.get(zoneIdx); in getCanonicalCLDRID()
376 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/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/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/text/
DNumberingSystem.java23 import android.icu.util.UResourceBundle;
167 … 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()
256UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in getAvailableNames()
257 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames()
258 UResourceBundle temp; in getAvailableNames()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberingSystem.java22 import com.ibm.icu.util.UResourceBundle;
175 … rb = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, locale); in lookupInstanceByLocale()
239UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in lookupInstanceByName()
240 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in lookupInstanceByName()
241 UResourceBundle nsTop = nsCurrent.get(name); in lookupInstanceByName()
244 UResourceBundle nsRadixBundle = nsTop.get("radix"); in lookupInstanceByName()
245 UResourceBundle nsAlgBundle = nsTop.get("algorithmic"); in lookupInstanceByName()
267UResourceBundle numberingSystemsInfo = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, "n… in getAvailableNames()
268 UResourceBundle nsCurrent = numberingSystemsInfo.get("numberingSystems"); in getAvailableNames()
269 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);
Ddatamap.h115 RBDataMap(UResourceBundle *data, UErrorCode &status);
116 RBDataMap(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
119 void init(UResourceBundle *data, UErrorCode &status);
120 void init(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
/external/icu/icu4c/source/i18n/
Dulocdata.cpp44 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