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 =()
540 UErrorCode intStatus = U_ZERO_ERROR; in safeClone() local
543 &intStatus); in safeClone()
544 if (U_FAILURE(intStatus)) { in safeClone()
577 UErrorCode intStatus = U_ZERO_ERROR; in getStrength() local
579 &intStatus)); in getStrength()
585 UErrorCode intStatus = U_ZERO_ERROR; in setStrength() local
587 ucol_setAttribute(ucollator, UCOL_STRENGTH, strength, &intStatus); in setStrength()
Ducol_res.cpp175 UErrorCode intStatus = U_ZERO_ERROR; in ucol_open_internal() local
194 intStatus = U_ZERO_ERROR; in ucol_open_internal()
196 … UResourceBundle *defaultColl = ures_getByKeyWithFallback(collations, "default", NULL, &intStatus); in ucol_open_internal()
197 if(U_SUCCESS(intStatus)) { in ucol_open_internal()
199 const UChar *defaultKey = ures_getString(defaultColl, &defaultKeyLen, &intStatus); in ucol_open_internal()
230 intStatus = U_ZERO_ERROR; in ucol_open_internal()
232 binary = ures_getByKey(collElem, "%%CollationBin", NULL, &intStatus); in ucol_open_internal()
234 …if(intStatus == U_MISSING_RESOURCE_ERROR) { /* we didn't find the binary image, we should use the … in ucol_open_internal()
240 } else if(U_SUCCESS(intStatus)) { /* otherwise, we'll pick a collation data that exists */ in ucol_open_internal()
273 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.c517 UErrorCode intStatus = U_ZERO_ERROR; in entryOpen() local
556 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
617 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
618 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
645 r = findFirstExisting(path, name, &isRoot, &hasChopped, &isDefault, &intStatus); in entryOpen()
648 intStatus = U_USING_DEFAULT_WARNING; in entryOpen()
681 if(intStatus != U_ZERO_ERROR) { in entryOpen()
682 *status = intStatus; in entryOpen()
925 UErrorCode intStatus = U_ZERO_ERROR; in init_resb_result() local
926 UResourceBundle *mainRes = ures_openDirect(path, locale, &intStatus); in init_resb_result()
[all …]