Home
last modified time | relevance | path

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

12

/external/chromium/third_party/icu/source/test/cintltst/
Dcnormtst.c211 neededLen= unorm_normalize(source, u_strlen(source), UNORM_NFC, 0, NULL, 0, &status); in TestCanonDecompCompose()
217 unorm_normalize(source, u_strlen(source), UNORM_NFC, 0, result, resLen, &status); in TestCanonDecompCompose()
339 UNORM_NFC, in TestNull()
384 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) != in TestQuickCheckResultNO()
429 if (unorm_quickCheck(&cp, 1, UNORM_NFC, &error) != in TestQuickCheckResultYES()
457 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) in TestQuickCheckResultYES()
494 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) != in TestQuickCheckResultMAYBE()
527 if (unorm_quickCheck(c, u_strlen(c), UNORM_NFC, &error) == in TestQuickCheckStringResult()
594 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) { in TestIsNormalized()
600 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode); in TestIsNormalized()
[all …]
/external/icu4c/test/cintltst/
Dcnormtst.c210 neededLen= unorm_normalize(source, u_strlen(source), UNORM_NFC, 0, NULL, 0, &status); in TestCanonDecompCompose()
216 unorm_normalize(source, u_strlen(source), UNORM_NFC, 0, result, resLen, &status); in TestCanonDecompCompose()
338 UNORM_NFC, in TestNull()
383 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) != in TestQuickCheckResultNO()
428 if (unorm_quickCheck(&cp, 1, UNORM_NFC, &error) != in TestQuickCheckResultYES()
456 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) in TestQuickCheckResultYES()
493 if (unorm_quickCheck(&(CPNFC[count]), 1, UNORM_NFC, &error) != in TestQuickCheckResultMAYBE()
526 if (unorm_quickCheck(c, u_strlen(c), UNORM_NFC, &error) == in TestQuickCheckStringResult()
593 if(!unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode) || U_FAILURE(errorCode)) { in TestIsNormalized()
599 (void)unorm_isNormalized(notNFC[0]+2, 1, UNORM_NFC, &errorCode); in TestIsNormalized()
[all …]
/external/icu4c/test/perf/normperf/
Dnormperf.cpp151 normalizeInput(&NFCFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFC, options); in NormalizerPerformanceTest()
166 NFCBuffer = normalizeInput(NFCBufferLen,src,srcLen,UNORM_NFC, options); in NormalizerPerformanceTest()
327 …func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_NFD_Text()
330 …unc = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_NFD_Text()
336 …func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_NFC_Text()
339 …unc = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_NFC_Text()
345 …ction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_Orig_Text()
348 …ion* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_Orig_Text()
412 …nc = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_NFC, options,uselen); in TestIsNormalized_NFC_NFD_Text()
415 …c = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); in TestIsNormalized_NFC_NFD_Text()
[all …]
Dnormperf.h262 return unorm_normalize(src,srcLen,UNORM_NFC, options,dest,dstLen,status); in ICUNormNFC()
/external/chromium/third_party/icu/source/test/perf/normperf/
Dnormperf.cpp151 normalizeInput(&NFCFileLines[i],filelines[i].name,filelines[i].len,UNORM_NFC, options); in NormalizerPerformanceTest()
166 NFCBuffer = normalizeInput(NFCBufferLen,src,srcLen,UNORM_NFC, options); in NormalizerPerformanceTest()
327 …func = new QuickCheckPerfFunction(ICUQuickCheck,NFDFileLines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_NFD_Text()
330 …unc = new QuickCheckPerfFunction(ICUQuickCheck,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_NFD_Text()
336 …func = new QuickCheckPerfFunction(ICUQuickCheck,NFCFileLines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_NFC_Text()
339 …unc = new QuickCheckPerfFunction(ICUQuickCheck,NFCBuffer, NFCBufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_NFC_Text()
345 …ction* func = new QuickCheckPerfFunction(ICUQuickCheck,lines, numLines, UNORM_NFC, options,uselen); in TestQC_NFC_Orig_Text()
348 …ion* func = new QuickCheckPerfFunction(ICUQuickCheck,buffer, bufferLen, UNORM_NFC, options,uselen); in TestQC_NFC_Orig_Text()
412 …nc = new QuickCheckPerfFunction(ICUIsNormalized,NFDFileLines, numLines, UNORM_NFC, options,uselen); in TestIsNormalized_NFC_NFD_Text()
415 …c = new QuickCheckPerfFunction(ICUIsNormalized,NFDBuffer, NFDBufferLen, UNORM_NFC, options,uselen); in TestIsNormalized_NFC_NFD_Text()
[all …]
/external/chromium/third_party/icu/source/test/intltest/
Dnormconf.cpp45 normalizer(UnicodeString(), UNORM_NFC) {} in NormalizerConformanceTest()
308 Normalizer::normalize(field[i], UNORM_NFC, options, out, status); in checkConformance()
310 iterativeNorm(field[i], UNORM_NFC, options, out, +1); in checkConformance()
312 iterativeNorm(field[i], UNORM_NFC, options, out, -1); in checkConformance()
339 if(UNORM_NO == Normalizer::quickCheck(field[1], UNORM_NFC, options, status)) { in checkConformance()
358 result = Normalizer::isNormalized(field[1], UNORM_NFC, status); in checkConformance()
360 result = Normalizer::isNormalized(field[1], UNORM_NFC, options, status); in checkConformance()
366 if(field[0]!=field[1] && Normalizer::isNormalized(field[0], UNORM_NFC, options, status)) { in checkConformance()
Dtstnorm.cpp168 norm->setMode(UNORM_NFC); in TestPrevious()
196 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestCanonCompose()
199 staticTest(UNORM_NFC, 0, canonTests, in TestCanonCompose()
221 staticTest(UNORM_NFC, 0, hangulCanon, ARRAY_LENGTH(hangulCanon), 2); in TestHangulCompose()
226 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestHangulCompose()
232 norm->setMode(UNORM_NFC); in TestHangulCompose()
277 staticTest(UNORM_NFC, 0, compose, ARRAY_LENGTH(compose), 1); in TestTibetan()
314 Normalizer::normalize(b, UNORM_NFC, 0, c, status); in TestCompositionExclusion()
464 staticTest(UNORM_NFC, 0, data, ARRAY_LENGTH(data), 1); in TestVerisign()
822 case 'C': mode=UNORM_NFC; break; in TestConcatenate()
[all …]
Dtstnrapi.cpp27 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI()
150 Normalizer::normalize(s, UNORM_NFC, 0, s, status); in TestNormalizerAPI()
162 Normalizer::concatenate(s, s, s, UNORM_NFC, 0, status); in TestNormalizerAPI()
/external/icu4c/test/intltest/
Dnormconf.cpp46 normalizer(UnicodeString(), UNORM_NFC) {} in NormalizerConformanceTest()
309 Normalizer::normalize(field[i], UNORM_NFC, options, out, status); in checkConformance()
314 iterativeNorm(field[i], UNORM_NFC, options, out, +1); in checkConformance()
316 iterativeNorm(field[i], UNORM_NFC, options, out, -1); in checkConformance()
356 if(UNORM_NO == Normalizer::quickCheck(field[1], UNORM_NFC, options, status)) { in checkConformance()
375 result = Normalizer::isNormalized(field[1], UNORM_NFC, status); in checkConformance()
377 result = Normalizer::isNormalized(field[1], UNORM_NFC, options, status); in checkConformance()
383 if(field[0]!=field[1] && Normalizer::isNormalized(field[0], UNORM_NFC, options, status)) { in checkConformance()
Dtstnrapi.cpp26 Normalizer norm(iter, UNORM_NFC); in TestNormalizerAPI()
149 Normalizer::normalize(s, UNORM_NFC, 0, s, status); in TestNormalizerAPI()
161 Normalizer::concatenate(s, s, s, UNORM_NFC, 0, status); in TestNormalizerAPI()
Dtstnorm.cpp171 norm->setMode(UNORM_NFC); in TestPrevious()
199 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestCanonCompose()
202 staticTest(UNORM_NFC, 0, canonTests, in TestCanonCompose()
224 staticTest(UNORM_NFC, 0, hangulCanon, ARRAY_LENGTH(hangulCanon), 2); in TestHangulCompose()
229 Normalizer* norm = new Normalizer("", UNORM_NFC); in TestHangulCompose()
235 norm->setMode(UNORM_NFC); in TestHangulCompose()
280 staticTest(UNORM_NFC, 0, compose, ARRAY_LENGTH(compose), 1); in TestTibetan()
317 Normalizer::normalize(b, UNORM_NFC, 0, c, status); in TestCompositionExclusion()
475 staticTest(UNORM_NFC, 0, data, ARRAY_LENGTH(data), 1); in TestVerisign()
805 case 'C': mode=UNORM_NFC; break; in TestConcatenate()
[all …]
/external/webkit/WebCore/platform/text/
DTextEncoding.cpp101 if (unorm_quickCheck(source, sourceLength, UNORM_NFC, &err) != UNORM_YES) { in encode()
104 …int32_t normalizedLength = unorm_normalize(source, length, UNORM_NFC, 0, normalizedCharacters.data… in encode()
108 …normalizedLength = unorm_normalize(source, length, UNORM_NFC, 0, normalizedCharacters.data(), norm… in encode()
/external/icu4c/common/unicode/
Dunorm.h141 UNORM_NFC = 4, enumerator
143 UNORM_DEFAULT = UNORM_NFC,
/external/chromium/third_party/icu/public/common/unicode/
Dunorm.h135 UNORM_NFC = 4, enumerator
137 UNORM_DEFAULT = UNORM_NFC,
/external/webkit/WebCore/icu/unicode/
Dunorm.h135 UNORM_NFC = 4, enumerator
137 UNORM_DEFAULT = UNORM_NFC,
/external/webkit/JavaScriptCore/icu/unicode/
Dunorm.h135 UNORM_NFC = 4, enumerator
137 UNORM_DEFAULT = UNORM_NFC,
/external/webkit/WebKit/mac/icu/unicode/
Dunorm.h135 UNORM_NFC = 4, enumerator
137 UNORM_DEFAULT = UNORM_NFC,
/external/chromium/third_party/icu/source/test/perf/utrie2perf/
Dutrie2perf.cpp178 UNORM_NFC, 0, in ToNFC()
193 UNORM_NFC, 0, in call()
/external/icu4c/test/perf/utrie2perf/
Dutrie2perf.cpp178 UNORM_NFC, 0, in ToNFC()
193 UNORM_NFC, 0, in call()
/external/chromium/third_party/icu/source/i18n/
Dnortrans.cpp35 _create, integerToken(UNORM_NFC)); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
Ducol_elm.cpp804 NFCbufLen = unorm_normalize(element->cPoints, element->cSize, UNORM_NFC, 0, in uprv_uca_unsafeCPAddCCNZ()
1258 …composed->prefixSize = unorm_normalize(element->prefix, element->prefixSize, UNORM_NFC, 0, compose… in uprv_uca_addAnElement()
1726 compLen = unorm_normalize(data, len, UNORM_NFC, 0, comp, 256, status); in uprv_uca_addFCD4AccentedContractions()
1788 compLen = unorm_normalize(newDecomp, newDecLen, UNORM_NFC, 0, in uprv_uca_addMultiCMContractions()
1867 len = unorm_normalize(decomp, decompLen, UNORM_NFC, 0, comp, 256, status); in uprv_uca_addTailCanonicalClosures()
1886 len = unorm_normalize(decomp, decompLen, UNORM_NFC, 0, comp, 256, status); in uprv_uca_addTailCanonicalClosures()
/external/webkit/WebCore/platform/graphics/
DWidthIterator.cpp235 UNORM_NFC, UNORM_UNICODE_3_2, &normalizedCharacters[0], 2, &uStatus); in normalizeVoicingMarks()
/external/icu4c/i18n/
Ducol_elm.cpp805 NFCbufLen = unorm_normalize(element->cPoints, element->cSize, UNORM_NFC, 0, in uprv_uca_unsafeCPAddCCNZ()
1259 …composed->prefixSize = unorm_normalize(element->prefix, element->prefixSize, UNORM_NFC, 0, compose… in uprv_uca_addAnElement()
1730 compLen = unorm_normalize(data, len, UNORM_NFC, 0, comp, 256, status); in uprv_uca_addFCD4AccentedContractions()
1792 compLen = unorm_normalize(newDecomp, newDecLen, UNORM_NFC, 0, in uprv_uca_addMultiCMContractions()
1871 len = unorm_normalize(decomp, decompLen, UNORM_NFC, 0, comp, 256, status); in uprv_uca_addTailCanonicalClosures()
1890 len = unorm_normalize(decomp, decompLen, UNORM_NFC, 0, comp, 256, status); in uprv_uca_addTailCanonicalClosures()
/external/chromium/third_party/icu/source/common/
Dunorm.cpp1135 case UNORM_NFC:
1155 if(mode<UNORM_NFC) {
3053 case UNORM_NFC:
3279 case UNORM_NFC:
3566 case UNORM_NFC:
3819 case UNORM_NFC:
/external/icu4c/common/
Dnormlzr.cpp160 normalize(source, compat ? UNORM_NFKC : UNORM_NFC, options, result, status); in compose()

12