Lines Matching refs:pErrorCode
39 UErrorCode *pErrorCode) { in udata_create() argument
46 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_create()
49 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in udata_create()
56 *pErrorCode=U_MEMORY_ALLOCATION_ERROR; in udata_create()
81 *pErrorCode = U_BUFFER_OVERFLOW_ERROR; in udata_create()
105 *pErrorCode=U_FILE_ACCESS_ERROR; in udata_create()
144 udata_finish(UNewDataMemory *pData, UErrorCode *pErrorCode) { in udata_finish() argument
147 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) { in udata_finish()
156 *pErrorCode=U_FILE_ACCESS_ERROR; in udata_finish()
184 udata_createDummy(const char *dir, const char *type, const char *name, UErrorCode *pErrorCode) { in udata_createDummy() argument
185 if(U_SUCCESS(*pErrorCode)) { in udata_createDummy()
186 udata_finish(udata_create(dir, type, name, &dummyDataInfo, NULL, pErrorCode), pErrorCode); in udata_createDummy()
187 if(U_FAILURE(*pErrorCode)) { in udata_createDummy()
189 u_errorName(*pErrorCode), dir, name, type); in udata_createDummy()
190 exit(*pErrorCode); in udata_createDummy()