• Home
  • Raw
  • Download

Lines Matching refs:pErrorCode

212 setCommonICUDataPointer(const void *pData, UBool /*warn*/, UErrorCode *pErrorCode) {  in setCommonICUDataPointer()  argument
216 udata_checkCommonData(&tData, pErrorCode); in setCommonICUDataPointer()
217 return setCommonICUData(&tData, FALSE, pErrorCode); in setCommonICUDataPointer()
414 UErrorCode *pErrorCode);
415 const char *next(UErrorCode *pErrorCode);
448 UErrorCode *pErrorCode) in UDataPathIterator() argument
462 packageStub.append(U_FILE_SEP_CHAR, *pErrorCode).append(pkg, *pErrorCode); in UDataPathIterator()
476 itemPath.append(item, (int32_t)(basename-item), *pErrorCode); in UDataPathIterator()
514 const char *UDataPathIterator::next(UErrorCode *pErrorCode) in next() argument
516 if(U_FAILURE(*pErrorCode)) { in next()
565 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); in next()
602 pathBuffer.append(U_FILE_SEP_CHAR, *pErrorCode); in next()
606 pathBuffer.append(packageStub.data()+1, packageStub.length()-1, *pErrorCode); in next()
613 pathBuffer.ensureEndsWithFileSeparator(*pErrorCode); in next()
615 pathBuffer.append(suffix, *pErrorCode); in next()
670 UErrorCode *pErrorCode) in openCommonData() argument
676 if (U_FAILURE(*pErrorCode)) { in openCommonData()
718 setCommonICUDataPointer(&U_ICUDATA_ENTRY_POINT, FALSE, pErrorCode); in openCommonData()
742 if (U_SUCCESS(*pErrorCode)) { in openCommonData()
743 *pErrorCode=U_FILE_ACCESS_ERROR; in openCommonData()
751 UDataMemory *dataToReturn = udata_findCachedData(inBasename, *pErrorCode); in openCommonData()
752 if (dataToReturn != NULL || U_FAILURE(*pErrorCode)) { in openCommonData()
760 UDataPathIterator iter(u_getDataDirectory(), inBasename, path, ".dat", TRUE, pErrorCode); in openCommonData()
762 while ((UDataMemory_isLoaded(&tData)==FALSE) && (pathBuffer = iter.next(pErrorCode)) != NULL) in openCommonData()
767 uprv_mapFile(&tData, pathBuffer, pErrorCode); in openCommonData()
772 if (U_FAILURE(*pErrorCode)) { in openCommonData()
783 uprv_mapFile(&tData, ourPathBuffer, pErrorCode); in openCommonData()
787 if (U_FAILURE(*pErrorCode)) { in openCommonData()
792 *pErrorCode=U_FILE_ACCESS_ERROR; in openCommonData()
797 udata_checkCommonData(&tData, pErrorCode); in openCommonData()
803 return udata_cacheDataItem(inBasename, &tData, pErrorCode); in openCommonData()
885 udata_setCommonData(const void *data, UErrorCode *pErrorCode) { in udata_setCommonData() argument
888 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_setCommonData()
893 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_setCommonData()
900 udata_checkCommonData(&dataMemory, pErrorCode); in udata_setCommonData()
901 if (U_FAILURE(*pErrorCode)) {return;} in udata_setCommonData()
905 setCommonICUData(&dataMemory, TRUE, pErrorCode); in udata_setCommonData()
990 UErrorCode *pErrorCode) in doLoadFromIndividualFiles() argument
998 UDataPathIterator iter(dataPath, pkgName, path, tocEntryPathSuffix, FALSE, pErrorCode); in doLoadFromIndividualFiles()
1000 while ((pathBuffer = iter.next(pErrorCode)) != NULL) in doLoadFromIndividualFiles()
1005 if (uprv_mapFile(&dataMemory, pathBuffer, pErrorCode)) in doLoadFromIndividualFiles()
1007 …a = checkDataItem(dataMemory.pHeader, isAcceptable, context, type, name, subErrorCode, pErrorCode); in doLoadFromIndividualFiles()
1025 if (U_FAILURE(*pErrorCode)) { in doLoadFromIndividualFiles()
1048 UErrorCode *pErrorCode) in doLoadFromCommonData() argument
1077 … pEntryData = checkDataItem(pHeader, isAcceptable, context, type, name, subErrorCode, pErrorCode); in doLoadFromCommonData()
1081 if (U_FAILURE(*pErrorCode)) { in doLoadFromCommonData()
1092 *pErrorCode = *subErrorCode; in doLoadFromCommonData()
1157 UErrorCode *pErrorCode) in doOpenChoice() argument
1186 altSepPath.append(path, *pErrorCode); in doOpenChoice()
1207 pkgName.append(U_ICUDATA_NAME, *pErrorCode); in doOpenChoice()
1216 pkgName.append(pkg+1, *pErrorCode); in doOpenChoice()
1218 pkgName.append(path, *pErrorCode); in doOpenChoice()
1223 treeName.append(treeChar+1, *pErrorCode); /* following '-' */ in doOpenChoice()
1225 pkgName.append(U_ICUDATA_NAME, *pErrorCode); in doOpenChoice()
1227 pkgName.append(path, (int32_t)(treeChar-path), *pErrorCode); in doOpenChoice()
1238 pkgName.append(U_ICUDATA_NAME, *pErrorCode); in doOpenChoice()
1240 pkgName.append(path, *pErrorCode); in doOpenChoice()
1256 tocEntryName.append(pkgName, *pErrorCode); in doOpenChoice()
1257 tocEntryPath.append(pkgName, *pErrorCode); in doOpenChoice()
1261 tocEntryName.append(U_TREE_ENTRY_SEP_CHAR, *pErrorCode).append(treeName, *pErrorCode); in doOpenChoice()
1262 tocEntryPath.append(U_FILE_SEP_CHAR, *pErrorCode).append(treeName, *pErrorCode); in doOpenChoice()
1265 tocEntryName.append(U_TREE_ENTRY_SEP_CHAR, *pErrorCode).append(name, *pErrorCode); in doOpenChoice()
1266 tocEntryPath.append(U_FILE_SEP_CHAR, *pErrorCode).append(name, *pErrorCode); in doOpenChoice()
1268 tocEntryName.append(".", *pErrorCode).append(type, *pErrorCode); in doOpenChoice()
1269 tocEntryPath.append(".", *pErrorCode).append(type, *pErrorCode); in doOpenChoice()
1298 const char *tzFilesDir = u_getTimeZoneFilesDirectory(pErrorCode); in doOpenChoice()
1304 … /* path */ "", type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1305 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1319 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1320 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1334 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1335 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1349 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1350 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1364 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode); in doOpenChoice()
1365 if((retVal != NULL) || U_FAILURE(*pErrorCode)) { in doOpenChoice()
1371 if(U_SUCCESS(*pErrorCode)) { in doOpenChoice()
1374 *pErrorCode=U_FILE_ACCESS_ERROR; in doOpenChoice()
1377 *pErrorCode=subErrorCode; in doOpenChoice()
1389 UErrorCode *pErrorCode) { in udata_open() argument
1395 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_open()
1398 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_open()
1401 return doOpenChoice(path, type, name, NULL, NULL, pErrorCode); in udata_open()
1410 UErrorCode *pErrorCode) { in udata_openChoice() argument
1415 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_openChoice()
1418 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_openChoice()
1421 return doOpenChoice(path, type, name, isAcceptable, context, pErrorCode); in udata_openChoice()