Lines Matching refs:pErrorCode
198 setCommonICUDataPointer(const void *pData, UBool /*warn*/, UErrorCode *pErrorCode) { in setCommonICUDataPointer() argument
202 udata_checkCommonData(&tData, pErrorCode); in setCommonICUDataPointer()
203 return setCommonICUData(&tData, FALSE, pErrorCode); in setCommonICUDataPointer()
416 UErrorCode *pErrorCode);
417 const char *next(UErrorCode *pErrorCode);
447 UErrorCode *pErrorCode) in UDataPathIterator() argument
461 packageStub.append(U_FILE_SEP_CHAR, *pErrorCode).append(pkg, *pErrorCode); in UDataPathIterator()
475 itemPath.append(item, (int32_t)(basename-item), *pErrorCode); in UDataPathIterator()
513 const char *UDataPathIterator::next(UErrorCode *pErrorCode) in next() argument
515 if(U_FAILURE(*pErrorCode)) { in next()
564 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
601 pathBuffer.append(U_FILE_SEP_CHAR, *pErrorCode); in next()
605 pathBuffer.append(packageStub.data()+1, packageStub.length()-1, *pErrorCode); in next()
609 pathBuffer.append(suffix, *pErrorCode); in next()
662 UErrorCode *pErrorCode) in openCommonData() argument
668 if (U_FAILURE(*pErrorCode)) { in openCommonData()
702 setCommonICUDataPointer(&U_ICUDATA_ENTRY_POINT, FALSE, pErrorCode); in openCommonData()
723 *pErrorCode=U_FILE_ACCESS_ERROR; in openCommonData()
741 UDataPathIterator iter(u_getDataDirectory(), inBasename, path, ".dat", TRUE, pErrorCode); in openCommonData()
743 while((UDataMemory_isLoaded(&tData)==FALSE) && (pathBuffer = iter.next(pErrorCode)) != NULL) in openCommonData()
767 *pErrorCode=U_FILE_ACCESS_ERROR; in openCommonData()
772 udata_checkCommonData(&tData, pErrorCode); in openCommonData()
778 return udata_cacheDataItem(inBasename, &tData, pErrorCode); in openCommonData()
860 udata_setCommonData(const void *data, UErrorCode *pErrorCode) { in udata_setCommonData() argument
863 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_setCommonData()
868 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_setCommonData()
875 udata_checkCommonData(&dataMemory, pErrorCode); in udata_setCommonData()
876 if (U_FAILURE(*pErrorCode)) {return;} in udata_setCommonData()
880 setCommonICUData(&dataMemory, TRUE, pErrorCode); in udata_setCommonData()
965 UErrorCode *pErrorCode) in doLoadFromIndividualFiles() argument
973 UDataPathIterator iter(dataPath, pkgName, path, tocEntryPathSuffix, FALSE, pErrorCode); in doLoadFromIndividualFiles()
975 while((pathBuffer = iter.next(pErrorCode))) in doLoadFromIndividualFiles()
982 …a = checkDataItem(dataMemory.pHeader, isAcceptable, context, type, name, subErrorCode, pErrorCode); in doLoadFromIndividualFiles()
1000 if (U_FAILURE(*pErrorCode)) { in doLoadFromIndividualFiles()
1023 UErrorCode *pErrorCode) in doLoadFromCommonData() argument
1052 … pEntryData = checkDataItem(pHeader, isAcceptable, context, type, name, subErrorCode, pErrorCode); in doLoadFromCommonData()
1056 if (U_FAILURE(*pErrorCode)) { in doLoadFromCommonData()
1116 UErrorCode *pErrorCode) in doOpenChoice() argument
1145 altSepPath.append(path, *pErrorCode); in doOpenChoice()
1166 pkgName.append(U_ICUDATA_NAME, *pErrorCode); in doOpenChoice()
1175 pkgName.append(pkg+1, *pErrorCode); in doOpenChoice()
1177 pkgName.append(path, *pErrorCode); in doOpenChoice()
1182 treeName.append(treeChar+1, *pErrorCode); /* following '-' */ in doOpenChoice()
1184 pkgName.append(U_ICUDATA_NAME, *pErrorCode); in doOpenChoice()
1186 pkgName.append(path, (int32_t)(treeChar-path), *pErrorCode); in doOpenChoice()
1197 pkgName.append(U_ICUDATA_NAME, *pErrorCode); in doOpenChoice()
1199 pkgName.append(path, *pErrorCode); in doOpenChoice()
1215 tocEntryName.append(pkgName, *pErrorCode); in doOpenChoice()
1216 tocEntryPath.append(pkgName, *pErrorCode); in doOpenChoice()
1220 tocEntryName.append(U_TREE_ENTRY_SEP_CHAR, *pErrorCode).append(treeName, *pErrorCode); in doOpenChoice()
1221 tocEntryPath.append(U_FILE_SEP_CHAR, *pErrorCode).append(treeName, *pErrorCode); in doOpenChoice()
1224 tocEntryName.append(U_TREE_ENTRY_SEP_CHAR, *pErrorCode).append(name, *pErrorCode); in doOpenChoice()
1225 tocEntryPath.append(U_FILE_SEP_CHAR, *pErrorCode).append(name, *pErrorCode); in doOpenChoice()
1227 tocEntryName.append(".", *pErrorCode).append(type, *pErrorCode); in doOpenChoice()
1228 tocEntryPath.append(".", *pErrorCode).append(type, *pErrorCode); in doOpenChoice()
1257 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1258 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1272 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1273 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1287 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1288 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1302 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1303 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1309 if(U_SUCCESS(*pErrorCode)) { in doOpenChoice()
1312 *pErrorCode=U_FILE_ACCESS_ERROR; in doOpenChoice()
1315 *pErrorCode=subErrorCode; in doOpenChoice()
1327 UErrorCode *pErrorCode) { in udata_open() argument
1333 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_open()
1336 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_open()
1339 return doOpenChoice(path, type, name, NULL, NULL, pErrorCode); in udata_open()
1348 UErrorCode *pErrorCode) { in udata_openChoice() argument
1353 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_openChoice()
1356 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_openChoice()
1359 return doOpenChoice(path, type, name, isAcceptable, context, pErrorCode); in udata_openChoice()