Home
last modified time | relevance | path

Searched refs:resB (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/common/
Duresbund.cpp106 UResourceDataEntry *resB = resBundle->fData; in getFallbackData() local
110 if(resB != NULL) { in getFallbackData()
111 if(resB->fBogus == U_ZERO_ERROR) { /* if this resource is real, */ in getFallbackData()
112 …*res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); /* try to get … in getFallbackData()
116 … while(*res == RES_BOGUS && resB->fParent != NULL) { /* Otherwise, we'll look in parents */ in getFallbackData()
117 resB = resB->fParent; in getFallbackData()
118 if(resB->fBogus == U_ZERO_ERROR) { in getFallbackData()
120 … *res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); in getFallbackData()
127 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData()
133 *realData = resB; in getFallbackData()
[all …]
Duresimp.h92 U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB);
95 U_CFUNC const char* ures_getName(const UResourceBundle* resB);
97 U_CFUNC const char* ures_getPath(const UResourceBundle* resB);
146 ures_findSubResource(const UResourceBundle *resB,
199 ures_getByKeyWithFallback(const UResourceBundle *resB,
220 ures_getStringByKeyWithFallback(const UResourceBundle *resB,
233 ures_getVersionByKey(const UResourceBundle *resB,
Duscript.c53 UResourceBundle* resB = ures_open(NULL,nameOrAbbrOrLocale,&localErrorCode); in uscript_getCode() local
55 UResourceBundle* resD = ures_getByKey(resB,kLocaleScript,NULL,&localErrorCode); in uscript_getCode()
70 ures_close(resB); in uscript_getCode()
79 ures_close(resB); in uscript_getCode()
/external/chromium_org/third_party/icu/source/common/
Duresbund.cpp106 UResourceDataEntry *resB = resBundle->fData; in getFallbackData() local
110 if(resB != NULL) { in getFallbackData()
111 if(resB->fBogus == U_ZERO_ERROR) { /* if this resource is real, */ in getFallbackData()
112 …*res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); /* try to get … in getFallbackData()
116 … while(*res == RES_BOGUS && resB->fParent != NULL) { /* Otherwise, we'll look in parents */ in getFallbackData()
117 resB = resB->fParent; in getFallbackData()
118 if(resB->fBogus == U_ZERO_ERROR) { in getFallbackData()
120 … *res = res_getTableItemByKey(&(resB->fData), resB->fData.rootRes, &indexR, resTag); in getFallbackData()
127 …if(uprv_strcmp(resB->fName, uloc_getDefault())==0 || uprv_strcmp(resB->fName, kRootLocaleName)==0)… in getFallbackData()
133 *realData = resB; in getFallbackData()
[all …]
Duresimp.h92 U_CAPI void U_EXPORT2 ures_initStackObject(UResourceBundle* resB);
95 U_CFUNC const char* ures_getName(const UResourceBundle* resB);
97 U_CFUNC const char* ures_getPath(const UResourceBundle* resB);
146 ures_findSubResource(const UResourceBundle *resB,
199 ures_getByKeyWithFallback(const UResourceBundle *resB,
220 ures_getStringByKeyWithFallback(const UResourceBundle *resB,
233 ures_getVersionByKey(const UResourceBundle *resB,
Duscript.c53 UResourceBundle* resB = ures_open(NULL,nameOrAbbrOrLocale,&localErrorCode); in uscript_getCode() local
55 UResourceBundle* resD = ures_getByKey(resB,kLocaleScript,NULL,&localErrorCode); in uscript_getCode()
70 ures_close(resB); in uscript_getCode()
79 ures_close(resB); in uscript_getCode()
/external/chromium_org/third_party/icu/source/common/unicode/
Dures.h288 ures_getVersion(const UResourceBundle* resB,
421 ures_getUTF8String(const UResourceBundle *resB,
687 ures_getUTF8StringByIndex(const UResourceBundle *resB,
724 ures_getStringByKey(const UResourceBundle *resB,
780 ures_getUTF8StringByKey(const UResourceBundle *resB,
802 ures_getUnicodeString(const UResourceBundle *resB, in ures_getUnicodeString() argument
806 const UChar *r = ures_getString(resB, &len, status); in ures_getUnicodeString()
821 ures_getNextUnicodeString(UResourceBundle *resB, in ures_getNextUnicodeString() argument
826 const UChar* r = ures_getNextString(resB, &len, key, status); in ures_getNextUnicodeString()
840 ures_getUnicodeStringByIndex(const UResourceBundle *resB, in ures_getUnicodeStringByIndex() argument
[all …]
/external/icu/icu4c/source/common/unicode/
Dures.h289 ures_getVersion(const UResourceBundle* resB,
422 ures_getUTF8String(const UResourceBundle *resB,
688 ures_getUTF8StringByIndex(const UResourceBundle *resB,
725 ures_getStringByKey(const UResourceBundle *resB,
781 ures_getUTF8StringByKey(const UResourceBundle *resB,
803 ures_getUnicodeString(const UResourceBundle *resB, in ures_getUnicodeString() argument
807 const UChar *r = ures_getString(resB, &len, status); in ures_getUnicodeString()
822 ures_getNextUnicodeString(UResourceBundle *resB, in ures_getNextUnicodeString() argument
827 const UChar* r = ures_getNextString(resB, &len, key, status); in ures_getNextUnicodeString()
841 ures_getUnicodeStringByIndex(const UResourceBundle *resB, in ures_getUnicodeStringByIndex() argument
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c377 UResourceBundle* resB; in TestDecodedBundle() local
427 resB = ures_open(testdatapath, "iscii", &error); in TestDecodedBundle()
428 srcFromRes=tres_getString(resB,-1,"str",&len,&error); in TestDecodedBundle()
435 ures_close(resB); in TestDecodedBundle()
450 ures_close(resB); in TestDecodedBundle()
650 UResourceBundle* resB = NULL; in TestNewTypes() local
655 resB = ures_getByKey(theBundle, "collations", resB, &status); in TestNewTypes()
656 resB = ures_getByKey(resB, "standard", resB, &status); in TestNewTypes()
657 str = tres_getString(resB,-1,"Sequence",&strLength,&status); in TestNewTypes()
663 ures_close(resB); in TestNewTypes()
[all …]
Dcreststn.h28 tres_getString(const UResourceBundle *resB,
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcreststn.c375 UResourceBundle* resB; in TestDecodedBundle() local
425 resB = ures_open(testdatapath, "iscii", &error); in TestDecodedBundle()
426 srcFromRes=tres_getString(resB,-1,"str",&len,&error); in TestDecodedBundle()
433 ures_close(resB); in TestDecodedBundle()
448 ures_close(resB); in TestDecodedBundle()
648 UResourceBundle* resB = NULL; in TestNewTypes() local
653 resB = ures_getByKey(theBundle, "collations", resB, &status); in TestNewTypes()
654 resB = ures_getByKey(resB, "standard", resB, &status); in TestNewTypes()
655 str = tres_getString(resB,-1,"Sequence",&strLength,&status); in TestNewTypes()
661 ures_close(resB); in TestNewTypes()
[all …]
Dcreststn.h28 tres_getString(const UResourceBundle *resB,