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