Lines Matching refs:pErrorCode
263 unorm2_getNFCInstance(UErrorCode *pErrorCode) { in unorm2_getNFCInstance() argument
264 return (const UNormalizer2 *)Normalizer2::getNFCInstance(*pErrorCode); in unorm2_getNFCInstance()
268 unorm2_getNFDInstance(UErrorCode *pErrorCode) { in unorm2_getNFDInstance() argument
269 return (const UNormalizer2 *)Normalizer2::getNFDInstance(*pErrorCode); in unorm2_getNFDInstance()
281 UErrorCode *pErrorCode) { in unorm2_normalize() argument
282 if(U_FAILURE(*pErrorCode)) { in unorm2_normalize()
289 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_normalize()
300 if(buffer.init(length, *pErrorCode)) { in unorm2_normalize()
301 n2wi->normalize(src, length>=0 ? src+length : NULL, buffer, *pErrorCode); in unorm2_normalize()
305 n2->normalize(srcString, destString, *pErrorCode); in unorm2_normalize()
308 return destString.extract(dest, capacity, *pErrorCode); in unorm2_normalize()
316 UErrorCode *pErrorCode) { in normalizeSecondAndAppend() argument
317 if(U_FAILURE(*pErrorCode)) { in normalizeSecondAndAppend()
325 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in normalizeSecondAndAppend()
339 if(buffer.init(firstLength+secondLength+1, *pErrorCode)) { // destCapacity>=-1 in normalizeSecondAndAppend()
341 doNormalize, safeMiddle, buffer, *pErrorCode); in normalizeSecondAndAppend()
344 if(U_FAILURE(*pErrorCode) || firstString.length()>firstCapacity) { in normalizeSecondAndAppend()
358 n2->normalizeSecondAndAppend(firstString, secondString, *pErrorCode); in normalizeSecondAndAppend()
360 n2->append(firstString, secondString, *pErrorCode); in normalizeSecondAndAppend()
364 return firstString.extract(first, firstCapacity, *pErrorCode); in normalizeSecondAndAppend()
371 UErrorCode *pErrorCode) { in unorm2_normalizeSecondAndAppend() argument
375 TRUE, pErrorCode); in unorm2_normalizeSecondAndAppend()
382 UErrorCode *pErrorCode) { in unorm2_append() argument
386 FALSE, pErrorCode); in unorm2_append()
392 UErrorCode *pErrorCode) { in unorm2_getDecomposition() argument
393 if(U_FAILURE(*pErrorCode)) { in unorm2_getDecomposition()
397 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_getDecomposition()
402 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getDecomposition()
411 UErrorCode *pErrorCode) { in unorm2_getRawDecomposition() argument
412 if(U_FAILURE(*pErrorCode)) { in unorm2_getRawDecomposition()
416 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_getRawDecomposition()
421 return destString.extract(decomposition, capacity, *pErrorCode); in unorm2_getRawDecomposition()
440 UErrorCode *pErrorCode) { in unorm2_isNormalized() argument
441 if(U_FAILURE(*pErrorCode)) { in unorm2_isNormalized()
445 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_isNormalized()
449 return ((const Normalizer2 *)norm2)->isNormalized(sString, *pErrorCode); in unorm2_isNormalized()
455 UErrorCode *pErrorCode) { in unorm2_quickCheck() argument
456 if(U_FAILURE(*pErrorCode)) { in unorm2_quickCheck()
460 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_quickCheck()
464 return ((const Normalizer2 *)norm2)->quickCheck(sString, *pErrorCode); in unorm2_quickCheck()
470 UErrorCode *pErrorCode) { in unorm2_spanQuickCheckYes() argument
471 if(U_FAILURE(*pErrorCode)) { in unorm2_spanQuickCheckYes()
475 *pErrorCode=U_ILLEGAL_ARGUMENT_ERROR; in unorm2_spanQuickCheckYes()
479 return ((const Normalizer2 *)norm2)->spanQuickCheckYes(sString, *pErrorCode); in unorm2_spanQuickCheckYes()