Lines Matching refs:pErrorCode
314 unorm2_getNFCInstance(UErrorCode *pErrorCode) { in unorm2_getNFCInstance() argument
315 return (const UNormalizer2 *)Normalizer2::getNFCInstance(*pErrorCode); in unorm2_getNFCInstance()
319 unorm2_getNFDInstance(UErrorCode *pErrorCode) { in unorm2_getNFDInstance() argument
320 return (const UNormalizer2 *)Normalizer2::getNFDInstance(*pErrorCode); in unorm2_getNFDInstance()
332 UErrorCode *pErrorCode) { in unorm2_normalize() argument
333 if(U_FAILURE(*pErrorCode)) { in unorm2_normalize()
340 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_normalize()
351 if(buffer.init(length, *pErrorCode)) { in unorm2_normalize()
352 n2wi->normalize(src, length>=0 ? src+length : NULL, buffer, *pErrorCode); in unorm2_normalize()
356 n2->normalize(srcString, destString, *pErrorCode); in unorm2_normalize()
359 return destString.extract(dest, capacity, *pErrorCode); in unorm2_normalize()
367 UErrorCode *pErrorCode) { in normalizeSecondAndAppend() argument
368 if(U_FAILURE(*pErrorCode)) { in normalizeSecondAndAppend()
376 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in normalizeSecondAndAppend()
390 if(buffer.init(firstLength+secondLength+1, *pErrorCode)) { // destCapacity>=-1 in normalizeSecondAndAppend()
392 doNormalize, safeMiddle, buffer, *pErrorCode); in normalizeSecondAndAppend()
395 if(U_FAILURE(*pErrorCode) || firstString.length()>firstCapacity) { in normalizeSecondAndAppend()
409 n2->normalizeSecondAndAppend(firstString, secondString, *pErrorCode); in normalizeSecondAndAppend()
411 n2->append(firstString, secondString, *pErrorCode); in normalizeSecondAndAppend()
415 return firstString.extract(first, firstCapacity, *pErrorCode); in normalizeSecondAndAppend()
422 UErrorCode *pErrorCode) { in unorm2_normalizeSecondAndAppend() argument
426 TRUE, pErrorCode); in unorm2_normalizeSecondAndAppend()
433 UErrorCode *pErrorCode) { in unorm2_append() argument
437 FALSE, pErrorCode); in unorm2_append()
443 UErrorCode *pErrorCode) { in unorm2_getDecomposition() argument
444 if(U_FAILURE(*pErrorCode)) { in unorm2_getDecomposition()
448 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_getDecomposition()
453 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getDecomposition()
462 UErrorCode *pErrorCode) { in unorm2_getRawDecomposition() argument
463 if(U_FAILURE(*pErrorCode)) { in unorm2_getRawDecomposition()
467 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_getRawDecomposition()
472 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getRawDecomposition()
491 UErrorCode *pErrorCode) { in unorm2_isNormalized() argument
492 if(U_FAILURE(*pErrorCode)) { in unorm2_isNormalized()
496 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_isNormalized()
500 return ((const Normalizer2 *)norm2)->isNormalized(sString, *pErrorCode); in unorm2_isNormalized()
506 UErrorCode *pErrorCode) { in unorm2_quickCheck() argument
507 if(U_FAILURE(*pErrorCode)) { in unorm2_quickCheck()
511 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_quickCheck()
515 return ((const Normalizer2 *)norm2)->quickCheck(sString, *pErrorCode); in unorm2_quickCheck()
521 UErrorCode *pErrorCode) { in unorm2_spanQuickCheckYes() argument
522 if(U_FAILURE(*pErrorCode)) { in unorm2_spanQuickCheckYes()
526 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_spanQuickCheckYes()
530 return ((const Normalizer2 *)norm2)->spanQuickCheckYes(sString, *pErrorCode); in unorm2_spanQuickCheckYes()