Home | History | Annotate | Download | only in common

Lines Matching refs:pErrorCode

558 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode) {
559 if(pErrorCode==NULL || U_FAILURE(*pErrorCode)) {
563 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR;
572 const Normalizer2 *nfkc=Normalizer2::getNFKCInstance(*pErrorCode);
574 if(U_FAILURE(*pErrorCode)) {
584 return u_terminateUChars(dest, destCapacity, 0, pErrorCode); // c does not change at all under CaseFolding+NFKC
594 UnicodeString kc1=nfkc->normalize(folded1String, *pErrorCode);
597 UnicodeString kc2=nfkc->normalize(folded2String.foldCase(), *pErrorCode);
599 if(U_FAILURE(*pErrorCode) || kc1==kc2) {
600 return u_terminateUChars(dest, destCapacity, 0, pErrorCode);
602 return kc2.extract(dest, destCapacity, *pErrorCode);