Home
last modified time | relevance | path

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

/external/icu4c/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/icu4c/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/icu4c/i18n/
Dtblcoll.cpp235 UErrorCode intStatus = U_ZERO_ERROR; in operator =() local
238 &intStatus); in operator =()
239 if (U_SUCCESS(intStatus)) { in operator =()
566 UErrorCode intStatus = U_ZERO_ERROR; in safeClone() local
569 &intStatus); in safeClone()
570 if (U_FAILURE(intStatus)) { in safeClone()
603 UErrorCode intStatus = U_ZERO_ERROR; in getStrength() local
605 &intStatus)); in getStrength()
611 UErrorCode intStatus = U_ZERO_ERROR; in setStrength() local
613 ucol_setAttribute(ucollator, UCOL_STRENGTH, strength, &intStatus); in setStrength()
Ducol_res.cpp177 UErrorCode intStatus = U_ZERO_ERROR; in ucol_open_internal() local
196 intStatus = U_ZERO_ERROR; in ucol_open_internal()
198 … UResourceBundle *defaultColl = ures_getByKeyWithFallback(collations, "default", NULL, &intStatus); in ucol_open_internal()
199 if(U_SUCCESS(intStatus)) { in ucol_open_internal()
201 const UChar *defaultKey = ures_getString(defaultColl, &defaultKeyLen, &intStatus); in ucol_open_internal()
232 intStatus = U_ZERO_ERROR; in ucol_open_internal()
234 binary = ures_getByKey(collElem, "%%CollationBin", NULL, &intStatus); in ucol_open_internal()
236 …if(intStatus == U_MISSING_RESOURCE_ERROR) { /* we didn't find the binary image, we should use the … in ucol_open_internal()
242 } else if(U_SUCCESS(intStatus)) { /* otherwise, we'll pick a collation data that exists */ in ucol_open_internal()
275 reorderRes = ures_getByKey(collElem, "%%ReorderCodes", NULL, &intStatus); in ucol_open_internal()
[all …]
/external/icu4c/tools/genrb/
Dparse.c899 UErrorCode intStatus = U_ZERO_ERROR; in addCollation()
914 … UCOL_OFF, UCOL_DEFAULT_STRENGTH,&parseError, importFromDataFile, &genrbdata, &intStatus); in addCollation()
916 if (U_SUCCESS(intStatus) && coll != NULL) in addCollation()
918 len = ucol_cloneBinary(coll, NULL, 0, &intStatus); in addCollation()
920 intStatus = U_ZERO_ERROR; in addCollation()
921 len = ucol_cloneBinary(coll, data, len, &intStatus); in addCollation()
933 if (U_SUCCESS(intStatus) && data != NULL) in addCollation()
940 …eorderCodes, USCRIPT_CODE_LIMIT + (UCOL_REORDER_CODE_LIMIT - UCOL_REORDER_CODE_FIRST), &intStatus); in addCollation()
941 if (U_SUCCESS(intStatus) && reorderCodeCount > 0) { in addCollation()
962 if(intStatus == U_FILE_ACCESS_ERROR) { in addCollation()
[all …]
/external/icu4c/common/
Duresbund.c520 UErrorCode intStatus = U_ZERO_ERROR; in entryOpen() local
562 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
623 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
624 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
662 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
665 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
698 if(intStatus != U_ZERO_ERROR) { in entryOpen()
699 *status = intStatus; in entryOpen()
942 UErrorCode intStatus = U_ZERO_ERROR; in init_resb_result() local
943 UResourceBundle *mainRes = ures_openDirect(path, locale, &intStatus); in init_resb_result()
[all …]