Lines Matching refs:pErrorCode
204 setCommonICUDataPointer(const void *pData, UBool /*warn*/, UErrorCode *pErrorCode) {
208 udata_checkCommonData(&tData, pErrorCode);
209 return setCommonICUData(&tData, FALSE, pErrorCode);
406 UErrorCode *pErrorCode);
407 const char *next(UErrorCode *pErrorCode);
437 UErrorCode *pErrorCode)
451 packageStub.append(U_FILE_SEP_CHAR, *pErrorCode).append(pkg, *pErrorCode);
465 itemPath.append(item, (int32_t)(basename-item), *pErrorCode);
503 const char *UDataPathIterator::next(UErrorCode *pErrorCode)
505 if(U_FAILURE(*pErrorCode)) {
554 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode);
591 pathBuffer.append(U_FILE_SEP_CHAR, *pErrorCode);
595 pathBuffer.append(packageStub.data()+1, packageStub.length()-1, *pErrorCode);
599 pathBuffer.append(suffix, *pErrorCode);
652 UErrorCode *pErrorCode)
658 if (U_FAILURE(*pErrorCode)) {
691 setCommonICUDataPointer(uprv_getICUData_collation(), FALSE, pErrorCode);
694 setCommonICUDataPointer(uprv_getICUData_conversion(), FALSE, pErrorCode);
697 setCommonICUDataPointer(&U_ICUDATA_ENTRY_POINT, FALSE, pErrorCode);
720 *pErrorCode=U_FILE_ACCESS_ERROR;
738 UDataPathIterator iter(u_getDataDirectory(), inBasename, path, ".dat", TRUE, pErrorCode);
740 while((UDataMemory_isLoaded(&tData)==FALSE) && (pathBuffer = iter.next(pErrorCode)) != NULL)
764 *pErrorCode=U_FILE_ACCESS_ERROR;
769 udata_checkCommonData(&tData, pErrorCode);
775 return udata_cacheDataItem(inBasename, &tData, pErrorCode);
857 udata_setCommonData(const void *data, UErrorCode *pErrorCode) {
860 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
865 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
872 udata_checkCommonData(&dataMemory, pErrorCode);
873 if (U_FAILURE(*pErrorCode)) {return;}
877 setCommonICUData(&dataMemory, TRUE, pErrorCode);
962 UErrorCode *pErrorCode)
970 UDataPathIterator iter(dataPath, pkgName, path, tocEntryPathSuffix, FALSE, pErrorCode);
972 while((pathBuffer = iter.next(pErrorCode)))
979 pEntryData = checkDataItem(dataMemory.pHeader, isAcceptable, context, type, name, subErrorCode, pErrorCode);
997 if (U_FAILURE(*pErrorCode)) {
1020 UErrorCode *pErrorCode)
1049 pEntryData = checkDataItem(pHeader, isAcceptable, context, type, name, subErrorCode, pErrorCode);
1053 if (U_FAILURE(*pErrorCode)) {
1124 UErrorCode *pErrorCode)
1153 altSepPath.append(path, *pErrorCode);
1174 pkgName.append(U_ICUDATA_NAME, *pErrorCode);
1183 pkgName.append(pkg+1, *pErrorCode);
1185 pkgName.append(path, *pErrorCode);
1190 treeName.append(treeChar+1, *pErrorCode); /* following '-' */
1192 pkgName.append(U_ICUDATA_NAME, *pErrorCode);
1194 pkgName.append(path, (int32_t)(treeChar-path), *pErrorCode);
1205 pkgName.append(U_ICUDATA_NAME, *pErrorCode);
1207 pkgName.append(path, *pErrorCode);
1223 tocEntryName.append(pkgName, *pErrorCode);
1224 tocEntryPath.append(pkgName, *pErrorCode);
1228 tocEntryName.append(U_TREE_ENTRY_SEP_CHAR, *pErrorCode).append(treeName, *pErrorCode);
1229 tocEntryPath.append(U_FILE_SEP_CHAR, *pErrorCode).append(treeName, *pErrorCode);
1232 tocEntryName.append(U_TREE_ENTRY_SEP_CHAR, *pErrorCode).append(name, *pErrorCode);
1233 tocEntryPath.append(U_FILE_SEP_CHAR, *pErrorCode).append(name, *pErrorCode);
1235 tocEntryName.append(".", *pErrorCode).append(type, *pErrorCode);
1236 tocEntryPath.append(".", *pErrorCode).append(type, *pErrorCode);
1259 const char *tzFilesDir = u_getTimeZoneFilesDirectory(pErrorCode);
1265 /* path */ "", type, name, isAcceptable, context, &subErrorCode, pErrorCode);
1266 if((retVal != NULL) || U_FAILURE(*pErrorCode)) {
1280 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode);
1281 if((retVal != NULL) || U_FAILURE(*pErrorCode)) {
1295 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode);
1296 if((retVal != NULL) || U_FAILURE(*pErrorCode)) {
1310 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode);
1311 if((retVal != NULL) || U_FAILURE(*pErrorCode)) {
1325 path, type, name, isAcceptable, context, &subErrorCode, pErrorCode);
1326 if((retVal != NULL) || U_FAILURE(*pErrorCode)) {
1332 if(U_SUCCESS(*pErrorCode)) {
1335 *pErrorCode=U_FILE_ACCESS_ERROR;
1338 *pErrorCode=subErrorCode;
1350 UErrorCode *pErrorCode) {
1356 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1359 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1362 return doOpenChoice(path, type, name, NULL, NULL, pErrorCode);
1371 UErrorCode *pErrorCode) {
1376 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
1379 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
1382 return doOpenChoice(path, type, name, isAcceptable, context, pErrorCode);