Home
last modified time | relevance | path

Searched refs:UNORM_NFC (Results 1 – 15 of 15) sorted by relevance

/external/icu/icu4c/source/test/perf/normperf/
Dnormperf.cpp154 normalizeInput(&NFCFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFC, options); in NormalizerPerformanceTest()
169 NFCBuffer = normalizeInput(NFCBufferLen,src,srcLen,UNORM_NFC, options); in NormalizerPerformanceTest()
330 …func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_NFD_Text()
333 …unc = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_NFD_Text()
339 …func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_NFC_Text()
342 …unc = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_NFC_Text()
348 …ction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_Orig_Text()
351 …ion* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_Orig_Text()
415 …nc = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_NFC, options,uselen); in TestIsNormalized_NFC_NFD_Text()
418 …c = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); in TestIsNormalized_NFC_NFD_Text()
[all …]
Dnormperf.h266 return unorm_normalize(src,srcLen,UNORM_NFC, options,dest,dstLen,status); in ICUNormNFC()
/external/icu/icu4c/source/test/cintltst/
Dcnormtst.c175 int32_t expIndex= (mode==UNORM_NFC || mode==UNORM_NFKC) ? 2 : 1; in TestNormCases()
221 TestNormCases(UNORM_NFC, canonTests, UPRV_LENGTHOF(canonTests)); in TestCanonDecompCompose()
302 UNORM_NFC, in TestNull()
347 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) != in TestQuickCheckResultNO()
392 if (unorm_quickCheck(&cp, 1, UNORM_NFC, &error) != in TestQuickCheckResultYES()
420 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) in TestQuickCheckResultYES()
457 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) != in TestQuickCheckResultMAYBE()
490 if (unorm_quickCheck(c, u_strlen(c), UNORM_NFC, &error) == in TestQuickCheckStringResult()
557 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) { in TestIsNormalized()
563 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode); in TestIsNormalized()
[all …]
Dcallcoll.c959 unorm_normalize(Y, -1, UNORM_NFC, 0, Z, 20, &status); in TestJB1401()
Dcmsccoll.c606 …nfcSize = unorm_normalize(comp, len, UNORM_NFC, 0, t[noCases]->NFC, NORM_BUFFER_TEST_LEN, &status); in TestComposeDecompose()
/external/icu/icu4c/source/test/intltest/
Dtstnrapi.cpp28 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI()
151 Normalizer::normalize(s, UNORM_NFC, 0, s, status); in TestNormalizerAPI()
163 Normalizer::concatenate(s, s, s, UNORM_NFC, 0, status); in TestNormalizerAPI()
Dnormconf.cpp40 normalizer(UnicodeString(), UNORM_NFC) { in NormalizerConformanceTest()
318 pass &= checkNorm(UNORM_NFC, options, nfc, field[i], field[1], fieldNum); in checkConformance()
327 if(UNORM_NO == Normalizer::quickCheck(field[1], UNORM_NFC, options, status)) { in checkConformance()
346 result = Normalizer::isNormalized(field[1], UNORM_NFC, status); in checkConformance()
348 result = Normalizer::isNormalized(field[1], UNORM_NFC, options, status); in checkConformance()
359 if(Normalizer::isNormalized(field[0], UNORM_NFC, options, status)) { in checkConformance()
484 Edits *editsPtr = (mode == UNORM_NFC || mode == UNORM_NFKC) ? &edits : nullptr; in checkNorm()
Dtstnorm.cpp176 norm->setMode(UNORM_NFC); in TestPrevious()
204 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestCanonCompose()
207 staticTest(UNORM_NFC, 0, canonTests, in TestCanonCompose()
229 staticTest(UNORM_NFC, 0, hangulCanon, ARRAY_LENGTH(hangulCanon), 2); in TestHangulCompose()
234 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestHangulCompose()
240 norm->setMode(UNORM_NFC); in TestHangulCompose()
285 staticTest(UNORM_NFC, 0, compose, ARRAY_LENGTH(compose), 1); in TestTibetan()
323 Normalizer::normalize(b, UNORM_NFC, 0, c, status); in TestCompositionExclusion()
481 staticTest(UNORM_NFC, 0, data, ARRAY_LENGTH(data), 1); in TestVerisign()
837 case 'C': mode=UNORM_NFC; break; in TestConcatenate()
[all …]
Dtranstst.cpp3426 Normalizer::normalize(source, UNORM_NFC, 0, target, ec); in TestSpecialCases()
/external/icu/icu4c/source/common/unicode/
Dunorm.h146 UNORM_NFC = 4, enumerator
148 UNORM_DEFAULT = UNORM_NFC,
/external/icu/libandroidicu/include/unicode/
Dunorm.h146 UNORM_NFC = 4, enumerator
148 UNORM_DEFAULT = UNORM_NFC,
/external/icu/icu4c/source/test/perf/utrie2perf/
Dutrie2perf.cpp180 UNORM_NFC, 0, in ToNFC()
195 UNORM_NFC, 0, in call()
/external/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp352 case UNORM_NFC: in getInstance()
Dnormlzr.cpp167 normalize(source, compat ? UNORM_NFKC : UNORM_NFC, options, result, status); in compose()
/external/icu/icu4c/source/i18n/
Drbt_pars.cpp1248 pragmaNormalizeRules(UNORM_NFC); in parsePragma()