Lines Matching refs:pErrorCode
70 UErrorCode *pErrorCode){ in _strToWCS() argument
85 conv = u_getDefaultConverter(pErrorCode); in _strToWCS()
87 if(U_FAILURE(*pErrorCode)){ in _strToWCS()
99 *pErrorCode = U_ZERO_ERROR; in _strToWCS()
102 …v_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCode); in _strToWCS()
106 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR){ in _strToWCS()
128 if(U_FAILURE(*pErrorCode)){ in _strToWCS()
169 *pErrorCode = U_INVALID_CHAR_FOUND; in _strToWCS()
216 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in _strToWCS()
223 u_terminateWChars(dest,destCapacity,count,pErrorCode); in _strToWCS()
237 UErrorCode *pErrorCode){ in u_strToWCS() argument
240 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)){ in u_strToWCS()
247 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR; in u_strToWCS()
263 u_terminateUChars((UChar *)dest,destCapacity,srcLength,pErrorCode); in u_strToWCS()
270 src, srcLength, pErrorCode); in u_strToWCS()
274 return _strToWCS(dest,destCapacity,pDestLength,src,srcLength, pErrorCode); in u_strToWCS()
288 UErrorCode *pErrorCode) in _strFromWCS() argument
321 *pErrorCode = U_ILLEGAL_CHAR_FOUND; in _strFromWCS()
373 *pErrorCode = U_ILLEGAL_CHAR_FOUND; in _strFromWCS()
394 *pErrorCode = U_MEMORY_ALLOCATION_ERROR; in _strFromWCS()
437 conv= u_getDefaultConverter(pErrorCode); in _strFromWCS()
439 if(U_FAILURE(*pErrorCode)|| conv==NULL){ in _strFromWCS()
445 *pErrorCode = U_ZERO_ERROR; in _strFromWCS()
448 …,&pTarget,pTargetLimit,(const char**)&pCSrc,pCSrcLimit,NULL,(UBool)(pCSrc==pCSrcLimit),pErrorCode); in _strFromWCS()
453 if(*pErrorCode==U_BUFFER_OVERFLOW_ERROR){ in _strFromWCS()
467 u_terminateUChars(dest,destCapacity,count,pErrorCode); in _strFromWCS()
491 UErrorCode *pErrorCode) in u_strFromWCS() argument
495 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)){ in u_strFromWCS()
502 *pErrorCode = U_ILLEGAL_ARGUMENT_ERROR; in u_strFromWCS()
518 u_terminateUChars(dest,destCapacity,srcLength,pErrorCode); in u_strFromWCS()
525 (UChar32*)src, srcLength, pErrorCode); in u_strFromWCS()
529 return _strFromWCS(dest,destCapacity,pDestLength,src,srcLength,pErrorCode); in u_strFromWCS()