Searched refs:notNFC (Results 1 - 2 of 2) sorted by relevance

/external/chromium/third_party/icu/source/test/cintltst/
H A Dcnormtst.c575 static const UChar notNFC[][8]={ /* strings that are not in NFC */ local
594 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
600 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode);
614 (void)unorm_isNormalized(notNFC[0]+2, -2, UNORM_NFC, &errorCode);
620 for(i=0; i<LENGTHOF(notNFC); ++i) {
622 if(unorm_isNormalized(notNFC[i], -1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
623 log_err("error: isNormalized(notNFC[%d], NFC) is wrong (%s)\n", i, u_errorName(errorCode));
626 if(unorm_isNormalized(notNFC[i], -1, UNORM_NFKC, &errorCode) || U_FAILURE(errorCode)) {
627 log_err("error: isNormalized(notNFC[%d], NFKC) is wrong (%s)\n", i, u_errorName(errorCode));
/external/icu4c/test/cintltst/
H A Dcnormtst.c574 static const UChar notNFC[][8]={ /* strings that are not in NFC */ local
593 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
599 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode);
613 (void)unorm_isNormalized(notNFC[0]+2, -2, UNORM_NFC, &errorCode);
619 for(i=0; i<LENGTHOF(notNFC); ++i) {
621 if(unorm_isNormalized(notNFC[i], -1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) {
622 log_data_err("error: isNormalized(notNFC[%d], NFC) is wrong (%s) - (Are you missing data?)\n", i, u_errorName(errorCode));
625 if(unorm_isNormalized(notNFC[i], -1, UNORM_NFKC, &errorCode) || U_FAILURE(errorCode)) {
626 log_data_err("error: isNormalized(notNFC[%d], NFKC) is wrong (%s) - (Are you missing data?)\n", i, u_errorName(errorCode));

Completed in 16 milliseconds