Home
last modified time | relevance | path

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

12345678910>>...18

/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DResourceModule.java21 import ohos.global.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 …]
/third_party/node/deps/icu-small/source/common/unicode/
Dures.h57 struct UResourceBundle;
62 typedef struct UResourceBundle UResourceBundle; typedef
169 U_CAPI UResourceBundle* U_EXPORT2
192 U_CAPI UResourceBundle* U_EXPORT2
215 U_CAPI UResourceBundle* U_EXPORT2
238 ures_countArrayItems(const UResourceBundle* resourceBundle,
252 ures_close(UResourceBundle* resourceBundle);
267 U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close);
285 ures_getVersionNumber(const UResourceBundle* resourceBundle);
298 ures_getVersion(const UResourceBundle* resB,
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dures.h57 struct UResourceBundle;
62 typedef struct UResourceBundle UResourceBundle; typedef
169 U_CAPI UResourceBundle* U_EXPORT2
192 U_CAPI UResourceBundle* U_EXPORT2
215 U_CAPI UResourceBundle* U_EXPORT2
238 ures_countArrayItems(const UResourceBundle* resourceBundle,
252 ures_close(UResourceBundle* resourceBundle);
267 U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close);
285 ures_getVersionNumber(const UResourceBundle* resourceBundle);
298 ures_getVersion(const UResourceBundle* resB,
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dures.h57 struct UResourceBundle;
62 typedef struct UResourceBundle UResourceBundle; typedef
169 U_CAPI UResourceBundle* U_EXPORT2
192 U_CAPI UResourceBundle* U_EXPORT2
215 U_CAPI UResourceBundle* U_EXPORT2
238 ures_countArrayItems(const UResourceBundle* resourceBundle,
252 ures_close(UResourceBundle* resourceBundle);
267 U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close);
285 ures_getVersionNumber(const UResourceBundle* resourceBundle);
298 ures_getVersion(const UResourceBundle* resB,
[all …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/node/deps/icu-small/source/common/
Duresimp.h63 U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB);
67 struct UResourceBundle { struct
130 UResourceBundle* getAlias() { return &bundle; } in getAlias()
132 UResourceBundle& ref() { return bundle; } in ref()
133 const UResourceBundle& ref() const { return bundle; } in ref()
142 UResourceBundle bundle;
157 U_CAPI UResourceBundle* U_EXPORT2
161 U_CFUNC const char* ures_getName(const UResourceBundle* resB);
163 U_CFUNC const char* ures_getPath(const UResourceBundle* resB);
172 U_CFUNC UResourceBundle *ures_copyResb(UResourceBundle *r, const UResourceBundle *original, UErrorC…
[all …]
Duresbund.cpp120 const UResourceBundle *resBundle, in getFallbackData()
505 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) { in ures_setIsStackObject()
515 static UBool ures_isStackObject(const UResourceBundle* resB) { in ures_isStackObject()
520 U_CFUNC void ures_initStackObject(UResourceBundle* resB) { in ures_initStackObject()
521 uprv_memset(resB, 0, sizeof(UResourceBundle)); in ures_initStackObject()
909 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath()
939 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath()
948 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle()
965 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle()
972 ures_close(UResourceBundle* resB) in ures_close()
[all …]
/third_party/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.cpp119 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, … in getFallbackData()
504 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) { in ures_setIsStackObject()
514 static UBool ures_isStackObject(const UResourceBundle* resB) { in ures_isStackObject()
519 U_CFUNC void ures_initStackObject(UResourceBundle* resB) { in ures_initStackObject()
520 uprv_memset(resB, 0, sizeof(UResourceBundle)); in ures_initStackObject()
895 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath()
925 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath()
934 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle()
951 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle()
958 ures_close(UResourceBundle* resB) in ures_close()
[all …]
/third_party/skia/third_party/externals/icu/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.cpp119 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, … in getFallbackData()
504 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) { in ures_setIsStackObject()
514 static UBool ures_isStackObject(const UResourceBundle* resB) { in ures_isStackObject()
519 U_CFUNC void ures_initStackObject(UResourceBundle* resB) { in ures_initStackObject()
520 uprv_memset(resB, 0, sizeof(UResourceBundle)); in ures_initStackObject()
895 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath()
925 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath()
934 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle()
951 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle()
958 ures_close(UResourceBundle* resB) in ures_close()
[all …]
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DICUResourceBundleTest.java40 import ohos.global.icu.util.UResourceBundle;
97UResourceBundle bundle = UResourceBundle.getBundleInstance("ohos.global.icu.impl.data.HolidayBundl… 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("ohos/global/icu/dev/data/testdata", UL… 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 …]
/third_party/flutter/skia/third_party/externals/icu/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()
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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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.java225 … 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()
441UResourceBundle supplementalDataBundle = UResourceBundle.getBundleInstance(ICUData.ICU_BASE_NAME, … in getCLDRVersion()
[all …]
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DZoneMeta.java29 import ohos.global.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 …]
/third_party/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 …]
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationLoader.java28 import ohos.global.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()
/third_party/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()

12345678910>>...18