Home
last modified time | relevance | path

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

1234

/external/icu4c/common/unicode/
Dures.h52 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
228 ures_countArrayItems(const UResourceBundle* resourceBundle,
240 ures_close(UResourceBundle* resourceBundle);
255 U_DEFINE_LOCAL_OPEN_POINTER(LocalUResourceBundlePointer, UResourceBundle, ures_close);
272 ures_getVersionNumber(const UResourceBundle* resourceBundle);
284 ures_getVersion(const UResourceBundle* resB,
[all …]
/external/icu4c/common/
Duresimp.h70 struct UResourceBundle { struct
90 U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB);
93 U_CFUNC const char* ures_getName(const UResourceBundle* resB);
95 U_CFUNC const char* ures_getPath(const UResourceBundle* resB);
107 U_CFUNC UResourceBundle *ures_copyResb(UResourceBundle *r, const UResourceBundle *original, UErrorC…
124 U_CAPI UResourceBundle* U_EXPORT2
126 UResourceBundle *fillIn, UErrorCode *status);
143 U_CAPI UResourceBundle* U_EXPORT2
144 ures_findSubResource(const UResourceBundle *resB,
146 UResourceBundle *fillIn, UErrorCode *status);
[all …]
Duresbund.c102 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, … in getFallbackData()
499 static void ures_setIsStackObject( UResourceBundle* resB, UBool state) { in ures_setIsStackObject()
509 static UBool ures_isStackObject(const UResourceBundle* resB) { in ures_isStackObject()
514 U_CFUNC void ures_initStackObject(UResourceBundle* resB) { in ures_initStackObject()
515 uprv_memset(resB, 0, sizeof(UResourceBundle)); in ures_initStackObject()
773 static void ures_appendResPath(UResourceBundle *resB, const char* toAdd, int32_t lenToAdd, UErrorCo… in ures_appendResPath()
803 static void ures_freeResPath(UResourceBundle *resB) { in ures_freeResPath()
812 ures_closeBundle(UResourceBundle* resB, UBool freeBundleObj) in ures_closeBundle()
829 uprv_memset(resB, -1, sizeof(UResourceBundle)); in ures_closeBundle()
836 ures_close(UResourceBundle* resB) in ures_close()
[all …]
Dresbund.cpp192 ResourceBundle::ResourceBundle(UResourceBundle *res, UErrorCode& err) in ResourceBundle()
291 UResourceBundle r; in getNext()
315 UResourceBundle r; in get()
333 UResourceBundle r; in get()
345 UResourceBundle r; in getWithFallback()
Dbrkiter.cpp58 UResourceBundle brkRulesStack; in buildInstance()
59 UResourceBundle brkNameStack; in buildInstance()
60 UResourceBundle *brkRules = &brkRulesStack; in buildInstance()
61 UResourceBundle *brkName = &brkNameStack; in buildInstance()
71 UResourceBundle *b = ures_open(U_ICUDATA_BRKITR, loc.getName(), &status); in buildInstance()
Ducat.c44 ures_close((UResourceBundle*) catd); /* may be NULL */ in u_catclose()
59 result = ures_getStringByKey((const UResourceBundle*) catd, in u_catgets()
Dicudataver.c26 UResourceBundle *icustdbundle = ures_openDirect(NULL, U_ICU_STD_BUNDLE, &status); in hasICUSTDBundle()
39 UResourceBundle *icudatares = NULL; in u_getDataVersion()
/external/icu4c/tools/ctestfw/unicode/
Dtestdata.h88 UResourceBundle *fData;
89 UResourceBundle *fHeaders;
90 UResourceBundle *fSettings;
91 UResourceBundle *fCases;
95 RBTestData(UResourceBundle *data, UResourceBundle *headers, UErrorCode& status);
Ddatamap.h113 RBDataMap(UResourceBundle *data, UErrorCode &status);
114 RBDataMap(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
117 void init(UResourceBundle *data, UErrorCode &status);
118 void init(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status);
Dtstdtmod.h99 UResourceBundle *getTestBundle(const char* bundleName, UErrorCode &status);
102 UResourceBundle *fModuleBundle;
103 UResourceBundle *fTestData;
104 UResourceBundle *fInfoRB;
/external/icu4c/i18n/
Dgregoimp.h317 UResourceBundle* getByKey(const char *key, UErrorCode& status);
331 UResourceBundle* getByKey2(const char *key, const char *subKey, UErrorCode& status);
345UResourceBundle* getByKey3(const char *key, const char *contextKey, const char *subKey, UErrorCode…
352 UResourceBundle *fFillin;
353 UResourceBundle *fOtherFillin;
354 UResourceBundle *fBundle;
355 UResourceBundle *fFallback;
Dulocdata.c40 UResourceBundle *bundle;
45 UResourceBundle *langBundle;
147 UResourceBundle *delimiterBundle; in ulocdata_getDelimiter()
192 UResourceBundle* bundle=NULL; in ulocdata_getMeasurementSystem()
193 UResourceBundle* measurement=NULL; in ulocdata_getMeasurementSystem()
215 UResourceBundle* bundle=NULL; in ulocdata_getPaperSize()
216 UResourceBundle* paperSizeBundle = NULL; in ulocdata_getPaperSize()
244 UResourceBundle *rb = NULL; in ulocdata_getCLDRVersion()
255 UResourceBundle *patternBundle; in ulocdata_getLocaleDisplayPattern()
303 UResourceBundle *separatorBundle; in ulocdata_getLocaleSeparator()
Dtimezone.cpp174 static int32_t findInStringArray(UResourceBundle* array, const UnicodeString& id, UErrorCode &statu… in findInStringArray()
222 static UResourceBundle* getZoneByName(const UResourceBundle* top, const UnicodeString& id, UResourc… in getZoneByName()
224 UResourceBundle *tmp = ures_getByKey(top, kNAMES, NULL, &status); in getZoneByName()
251 UResourceBundle* TimeZone::loadRule(const UResourceBundle* top, const UnicodeString& ruleid, UResou… in loadRule()
255 UResourceBundle *r = ures_getByKey(top, kRULES, oldbundle, &status); in loadRule()
270 static UResourceBundle* openOlsonResource(const UnicodeString& id, in openOlsonResource()
271 UResourceBundle& res, in openOlsonResource()
278 UResourceBundle *top = ures_openDirect(0, kZONEINFO, &ec); in openOlsonResource()
283 …U_DEBUG_TZ_MSG(("Loading zone '%s' (%s, size %d) - %s\n", buf, ures_getKey((UResourceBundle*)&res)… in openOlsonResource()
287 UResourceBundle *ares = ures_getByKey(top, kZONES, NULL, &ec); // dereference Zones section in openOlsonResource()
[all …]
Ducurr.cpp168 UResourceBundle* currencyData = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &ec); in _findMetaData()
169 UResourceBundle* currencyMeta = ures_getByKey(currencyData, CURRENCY_META, currencyData, &ec); in _findMetaData()
180 UResourceBundle* rb = ures_getByKey(currencyMeta, myUCharsToChars(buf, currency), NULL, &ec2); in _findMetaData()
437 UResourceBundle *rb = ures_openDirect(U_ICUDATA_CURR, CURRENCY_DATA, &localStatus); in ucurr_forLocale()
438 UResourceBundle *cm = ures_getByKey(rb, CURRENCY_MAP, rb, &localStatus); in ucurr_forLocale()
439 UResourceBundle *countryArray = ures_getByKey(rb, id, cm, &localStatus); in ucurr_forLocale()
440 UResourceBundle *currencyReq = ures_getByIndex(countryArray, 0, NULL, &localStatus); in ucurr_forLocale()
570 UResourceBundle* rb = ures_open(U_ICUDATA_CURR, loc, &ec2); in ucurr_getName()
650 UResourceBundle* rb = ures_open(U_ICUDATA_CURR, loc, &ec2); in ucurr_getPluralName()
756 UResourceBundle* rb = ures_open(U_ICUDATA_CURR, locale, &ec2); in getCurrencyNameCount()
[all …]
Ddcfmtsym.cpp196 UResourceBundle *resource = ures_open((char *)0, locStr, &status); in initialize()
197UResourceBundle *numberElementsRes = ures_getByKeyWithFallback(resource, gNumberElements, NULL, &s… in initialize()
237 UResourceBundle *nonLatnSymbols = NULL; in initialize()
243UResourceBundle *latnSymbols = ures_getByKeyWithFallback(numberElementsRes, gLatn, NULL, &status); in initialize()
326 UResourceBundle *currencyResource = ures_open(U_ICUDATA_CURR, locStr, &localStatus); in initialize()
327UResourceBundle *currency = ures_getByKeyWithFallback(currencyResource, "Currencies", NULL, &local… in initialize()
351 UResourceBundle *currencyResource = ures_open(U_ICUDATA_CURR, locStr, &localStatus); in initialize()
352 UResourceBundle *currencySpcRes = ures_getByKeyWithFallback(currencyResource, in initialize()
360 UResourceBundle *dataRes = ures_getByKeyWithFallback(currencySpcRes, in initialize()
Dnumsys.cpp113 UResourceBundle *resource = ures_open(NULL, inLocale.getName(), &status); in createInstance()
114 UResourceBundle *numberElementsRes = ures_getByKey(resource,gNumberElements,NULL,&status); in createInstance()
147 UResourceBundle *numberingSystemsInfo = NULL; in createInstanceByName()
148 UResourceBundle *nsTop, *nsCurrent; in createInstanceByName()
Dolsontz.h20 struct UResourceBundle;
123 OlsonTimeZone(const UResourceBundle* top,
124 const UResourceBundle* res,
/external/icu4c/tools/ctestfw/
Dtestdata.cpp53 RBTestData::RBTestData(UResourceBundle *data, UResourceBundle *headers, UErrorCode& status) in RBTestData()
61 UResourceBundle *currHeaders = ures_getByKey(data, "Headers", NULL, &intStatus); in RBTestData()
70 UResourceBundle *info = ures_getByKey(data, "Info", NULL, &intStatus); in RBTestData()
105 UResourceBundle *data = ures_getByIndex(fSettings, fCurrentSettings++, NULL, &intStatus); in nextSettings()
126 UResourceBundle *currCase = ures_getByIndex(fCases, fCurrentCase++, NULL, &intStatus); in nextCase()
Ddatamap.cpp51 RBDataMap::RBDataMap(UResourceBundle *data, UErrorCode &status) in RBDataMap()
61 RBDataMap::RBDataMap(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status) in RBDataMap()
69 void RBDataMap::init(UResourceBundle *data, UErrorCode &status) { in init()
72 UResourceBundle *t = NULL; in init()
80 void RBDataMap::init(UResourceBundle *headers, UResourceBundle *data, UErrorCode &status) in init()
84 UResourceBundle *t = NULL; in init()
Dtstdtmod.cpp159 UResourceBundle *DataFillIn = ures_getByIndex(fTestData, index, NULL, &status); in createTestData()
160 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
187 UResourceBundle *DataFillIn = ures_getByKey(fTestData, name, NULL, &status); in createTestData()
188 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
210 UResourceBundle*
214 UResourceBundle *testBundle = NULL; in getTestBundle()
/external/icu4c/test/cintltst/
Dcreststn.c256 UResourceBundle *r = NULL, *r2 = NULL; in TestErrorCodes()
340 UResourceBundle *he = NULL; in TestAliasConflict()
341 UResourceBundle *iw = NULL; in TestAliasConflict()
342 UResourceBundle *norway = NULL; in TestAliasConflict()
382 UResourceBundle* resB; in TestDecodedBundle()
459 UResourceBundle* theBundle = NULL; in TestNewTypes()
463 UResourceBundle* res = NULL; in TestNewTypes()
655 UResourceBundle* resB = NULL; in TestNewTypes()
761 UResourceBundle* theBundle = NULL; in TestEmptyTypes()
765 UResourceBundle* res = NULL; in TestEmptyTypes()
[all …]
Dcldrtest.c72 TestKeyInRootRecursive(UResourceBundle *root, const char *rootName, in TestKeyInRootRecursive()
73 UResourceBundle *currentBundle, const char *locale) { in TestKeyInRootRecursive()
75 UResourceBundle *subRootBundle = NULL, *subBundle = NULL, *arr = NULL; in TestKeyInRootRecursive()
155 UResourceBundle *subSubBundle = ures_getByIndex(subBundle, 0, NULL, &errorCode); in TestKeyInRootRecursive()
156 UResourceBundle *subSubRootBundle = ures_getByIndex(subRootBundle, 0, NULL, &errorCode); in TestKeyInRootRecursive()
447 testLCID(UResourceBundle *currentBundle, in testLCID()
487 UResourceBundle *root, *currentLocale; in TestLocaleStructure()
572 UResourceBundle *fromArray, const char *fromLocale, in compareArrays()
573 UResourceBundle *toArray, const char *toLocale, in compareArrays()
607 UResourceBundle *fromArray, *toArray; in compareConsistentCountryInfo()
[all …]
Dcrestst.c114 UResourceBundle *he = NULL; in TestAliasConflict()
115 UResourceBundle *iw = NULL; in TestAliasConflict()
156 UResourceBundle *test1 = 0, *test2 = 0; in TestConstruction1()
251 UResourceBundle* theBundle = NULL; in testTag()
423 UResourceBundle *fr_FR = NULL; in TestFallback()
424 UResourceBundle *subResource = NULL; in TestFallback()
472 UResourceBundle *idna_rules, *casing, *te_IN, *ne, *item; in TestOpenDirect()
650 UResourceBundle *res, *item; in TestTable32()
912 UResourceBundle *rb = NULL; in TestGetSize()
913 UResourceBundle *res = NULL; in TestGetSize()
[all …]
/external/icu4c/samples/uresb/
Duresb.c59 void printOutBundle(UFILE *out, UResourceBundle *resource, int32_t indent, UErrorCode *status);
78 UResourceBundle *bundle = NULL; in main()
221 void printOutBundle(UFILE *out, UResourceBundle *resource, int32_t indent, UErrorCode *status) { in printOutBundle()
324 UResourceBundle *t = NULL; in printOutBundle()
365 UResourceBundle *error = ures_open(currdir, locale, &status); in getErrorName()
367 UResourceBundle *errorcodes = ures_getByKey(error, "errorcodes", NULL, &status); in getErrorName()
/external/chromium/chrome/browser/ui/webui/options/chromeos/
Dsystem_settings_provider.cc126 inline void operator() (UResourceBundle* b) const { in operator ()()
136 static UResourceBundle *zone_bundle = NULL; in GetExemplarCity()
137 static UResourceBundle *zone_strings = NULL; in GetExemplarCity()
156 scoped_ptr_malloc<UResourceBundle, UResClose> zone_item( in GetExemplarCity()

1234