Home
last modified time | relevance | path

Searched refs:intStatus (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/icu/source/tools/ctestfw/
Dtestdata.cpp60 UErrorCode intStatus = U_ZERO_ERROR; in RBTestData() local
61 UResourceBundle *currHeaders = ures_getByKey(data, "Headers", NULL, &intStatus); in RBTestData()
62 if(intStatus == U_ZERO_ERROR) { in RBTestData()
66 intStatus = U_ZERO_ERROR; in RBTestData()
68 fSettings = ures_getByKey(data, "Settings", NULL, &intStatus); in RBTestData()
70 UResourceBundle *info = ures_getByKey(data, "Info", NULL, &intStatus); in RBTestData()
71 if(U_SUCCESS(intStatus)) { in RBTestData()
74 intStatus = U_ZERO_ERROR; in RBTestData()
104 UErrorCode intStatus = U_ZERO_ERROR; in nextSettings() local
105 UResourceBundle *data = ures_getByIndex(fSettings, fCurrentSettings++, NULL, &intStatus); in nextSettings()
[all …]
Dtstdtmod.cpp155 UErrorCode intStatus = U_ZERO_ERROR; in createTestData() local
160 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
183 UErrorCode intStatus = U_ZERO_ERROR; in createTestData() local
188 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
/external/icu/icu4c/source/tools/ctestfw/
Dtestdata.cpp60 UErrorCode intStatus = U_ZERO_ERROR; in RBTestData() local
61 UResourceBundle *currHeaders = ures_getByKey(data, "Headers", NULL, &intStatus); in RBTestData()
62 if(intStatus == U_ZERO_ERROR) { in RBTestData()
66 intStatus = U_ZERO_ERROR; in RBTestData()
68 fSettings = ures_getByKey(data, "Settings", NULL, &intStatus); in RBTestData()
70 UResourceBundle *info = ures_getByKey(data, "Info", NULL, &intStatus); in RBTestData()
71 if(U_SUCCESS(intStatus)) { in RBTestData()
74 intStatus = U_ZERO_ERROR; in RBTestData()
104 UErrorCode intStatus = U_ZERO_ERROR; in nextSettings() local
105 UResourceBundle *data = ures_getByIndex(fSettings, fCurrentSettings++, NULL, &intStatus); in nextSettings()
[all …]
Dtstdtmod.cpp155 UErrorCode intStatus = U_ZERO_ERROR; in createTestData() local
160 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
183 UErrorCode intStatus = U_ZERO_ERROR; in createTestData() local
188 UResourceBundle *headers = ures_getByKey(fInfoRB, "Headers", NULL, &intStatus); in createTestData()
/external/chromium_org/third_party/icu/source/test/intltest/
Ddadrcoll.cpp174 UErrorCode intStatus = U_ZERO_ERROR; in processTest() local
177 intStatus = U_ZERO_ERROR; in processTest()
179 testSetting = settings->getString("TestLocale", intStatus); in processTest()
180 if(U_SUCCESS(intStatus)) { in processTest()
192 intStatus = U_ZERO_ERROR; in processTest()
193 testSetting = settings->getString("Rules", intStatus); in processTest()
194 if(U_SUCCESS(intStatus)) { in processTest()
213 cloneSize = rbc->cloneBinary(NULL, 0, intStatus); in processTest()
214 intStatus = U_ZERO_ERROR; in processTest()
216 cloneSize = rbc->cloneBinary(cloneBuf, cloneSize, intStatus); in processTest()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Ducol_res.cpp170 UErrorCode intStatus = U_ZERO_ERROR; in ucol_open_internal() local
189 intStatus = U_ZERO_ERROR; in ucol_open_internal()
191 … UResourceBundle *defaultColl = ures_getByKeyWithFallback(collations, "default", NULL, &intStatus); in ucol_open_internal()
192 if(U_SUCCESS(intStatus)) { in ucol_open_internal()
194 const UChar *defaultKey = ures_getString(defaultColl, &defaultKeyLen, &intStatus); in ucol_open_internal()
225 intStatus = U_ZERO_ERROR; in ucol_open_internal()
227 binary = ures_getByKey(collElem, "%%CollationBin", NULL, &intStatus); in ucol_open_internal()
229 …if(intStatus == U_MISSING_RESOURCE_ERROR) { /* we didn't find the binary image, we should use the … in ucol_open_internal()
235 } else if(U_SUCCESS(intStatus)) { /* otherwise, we'll pick a collation data that exists */ in ucol_open_internal()
268 reorderRes = ures_getByKey(collElem, "%%ReorderCodes", NULL, &intStatus); in ucol_open_internal()
[all …]
Dcoll.cpp846 UErrorCode intStatus = U_ZERO_ERROR; in getStrength() local
847 return (ECollationStrength)getAttribute(UCOL_STRENGTH, intStatus); in getStrength()
852 UErrorCode intStatus = U_ZERO_ERROR; in setStrength() local
853 setAttribute(UCOL_STRENGTH, (UColAttributeValue)newStrength, intStatus); in setStrength()
Dtblcoll.cpp211 UErrorCode intStatus = U_ZERO_ERROR; in operator =() local
212 UCollator *ucol = ucol_safeClone(that.ucollator, NULL, NULL, &intStatus); in operator =()
213 if (U_FAILURE(intStatus)) { return *this; } in operator =()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp989 UErrorCode intStatus = U_ZERO_ERROR; in addCollation() local
993 const icu::CollationTailoring *base = icu::CollationRoot::getRoot(intStatus); in addCollation()
994 if(U_FAILURE(intStatus)) { in addCollation()
995 error(line, "failed to load root collator (ucadata.icu) - %s", u_errorName(intStatus)); in addCollation()
999 icu::CollationBuilder builder(base, intStatus); in addCollation()
1004 builder.parseAndBuild(rules, version, &importer, &parseError, intStatus)); in addCollation()
1005 if(U_FAILURE(intStatus)) { in addCollation()
1010 (long)parseError.offset, u_errorName(intStatus), reason); in addCollation()
1019 *status = intStatus; in addCollation()
1036 *t, *t->settings, indexes, dest, capacity, intStatus); in addCollation()
[all …]
/external/chromium_org/third_party/icu/source/tools/genrb/
Dparse.cpp929 UErrorCode intStatus = U_ZERO_ERROR; in addCollation()
932 … UCOL_OFF, UCOL_DEFAULT_STRENGTH,&parseError, importFromDataFile, &genrbdata, &intStatus); in addCollation()
934 if (U_SUCCESS(intStatus) && coll != NULL) in addCollation()
936 len = ucol_cloneBinary(coll, NULL, 0, &intStatus); in addCollation()
938 intStatus = U_ZERO_ERROR; in addCollation()
939 len = ucol_cloneBinary(coll, data, len, &intStatus); in addCollation()
950 if (U_SUCCESS(intStatus) && data != NULL) in addCollation()
957 …eorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &intStatus); in addCollation()
958 if (U_SUCCESS(intStatus) && reorderCodeCount > 0) { in addCollation()
979 if(intStatus == U_FILE_ACCESS_ERROR) { in addCollation()
[all …]
/external/icu/icu4c/source/i18n/
Dcoll.cpp919 UErrorCode intStatus = U_ZERO_ERROR; in getStrength() local
920 return (ECollationStrength)getAttribute(UCOL_STRENGTH, intStatus); in getStrength()
925 UErrorCode intStatus = U_ZERO_ERROR; in setStrength() local
926 setAttribute(UCOL_STRENGTH, (UColAttributeValue)newStrength, intStatus); in setStrength()
/external/icu/icu4c/source/common/
Duresbund.cpp505 UErrorCode intStatus = U_ZERO_ERROR; in entryOpen() local
546 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
607 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
608 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
646 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
649 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
682 if(intStatus != U_ZERO_ERROR) { in entryOpen()
683 *status = intStatus; in entryOpen()
926 UErrorCode intStatus = U_ZERO_ERROR; in init_resb_result() local
927 UResourceBundle *mainRes = ures_openDirect(path, locale, &intStatus); in init_resb_result()
[all …]
/external/chromium_org/third_party/icu/source/common/
Duresbund.cpp505 UErrorCode intStatus = U_ZERO_ERROR; in entryOpen() local
546 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
607 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
608 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
646 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
649 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
682 if(intStatus != U_ZERO_ERROR) { in entryOpen()
683 *status = intStatus; in entryOpen()
926 UErrorCode intStatus = U_ZERO_ERROR; in init_resb_result() local
927 UResourceBundle *mainRes = ures_openDirect(path, locale, &intStatus); in init_resb_result()
[all …]