Home
last modified time | relevance | path

Searched refs:quickCheck (Results 1 – 25 of 38) sorted by relevance

12

/external/syzkaller/vendor/golang.org/x/text/unicode/norm/
Dmaketables.go152 quickCheck [MNumberOfModes]QCResult // index: MComposed or MDecomposed member
166 fmt.Fprintf(buf, " quickCheck[C]: %v\n", f.quickCheck[MComposed])
167 fmt.Fprintf(buf, " quickCheck[D]: %v\n", f.quickCheck[MDecomposed])
429 f.quickCheck[MDecomposed] = QCNo
431 f.quickCheck[MDecomposed] = QCNo
433 f.quickCheck[MDecomposed] = QCYes
437 f.quickCheck[MComposed] = QCNo
439 f.quickCheck[MComposed] = QCYes
444 f.quickCheck[MComposed] = QCMaybe
449 f.quickCheck[MComposed] = QCMaybe
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java415 if (Normalizer.quickCheck(String.valueOf(CPNFD[count]), in TestQuickCheckResultNO()
422 if (Normalizer.quickCheck(String.valueOf(CPNFC[count]), in TestQuickCheckResultNO()
429 if (Normalizer.quickCheck(String.valueOf(CPNFKD[count]), in TestQuickCheckResultNO()
436 if (Normalizer.quickCheck(String.valueOf(CPNFKC[count]), in TestQuickCheckResultNO()
444 if (Normalizer.quickCheck(String.valueOf(CPNFKC[count]), in TestQuickCheckResultNO()
473 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFD,0) in TestQuickCheckResultYES()
480 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFC,0) in TestQuickCheckResultYES()
487 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKD,0) in TestQuickCheckResultYES()
494 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC,0) in TestQuickCheckResultYES()
502 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC) in TestQuickCheckResultYES()
[all …]
DConformanceTest.java175 if(Normalizer.NO == Normalizer.quickCheck(field[1], Normalizer.NFC,options)) { in checkConformance()
179 if(Normalizer.NO == Normalizer.quickCheck(field[2], Normalizer.NFD,options)) { in checkConformance()
183 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,options)) { in checkConformance()
187 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.NFKD,options)) { in checkConformance()
220 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD,options)) { in checkConformance()
233 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD, options)) { in checkConformance()
237 if(Normalizer.NO == Normalizer.quickCheck(field[2], Normalizer.FCD, options)) { in checkConformance()
242 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.FCD, options)) { in checkConformance()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java418 if (Normalizer.quickCheck(String.valueOf(CPNFD[count]), in TestQuickCheckResultNO()
425 if (Normalizer.quickCheck(String.valueOf(CPNFC[count]), in TestQuickCheckResultNO()
432 if (Normalizer.quickCheck(String.valueOf(CPNFKD[count]), in TestQuickCheckResultNO()
439 if (Normalizer.quickCheck(String.valueOf(CPNFKC[count]), in TestQuickCheckResultNO()
447 if (Normalizer.quickCheck(String.valueOf(CPNFKC[count]), in TestQuickCheckResultNO()
476 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFD,0) in TestQuickCheckResultYES()
483 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFC,0) in TestQuickCheckResultYES()
490 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKD,0) in TestQuickCheckResultYES()
497 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC,0) in TestQuickCheckResultYES()
505 if (Normalizer.quickCheck(String.valueOf(cp), Normalizer.NFKC) in TestQuickCheckResultYES()
[all …]
DConformanceTest.java178 if(Normalizer.NO == Normalizer.quickCheck(field[1], Normalizer.NFC,options)) { in checkConformance()
182 if(Normalizer.NO == Normalizer.quickCheck(field[2], Normalizer.NFD,options)) { in checkConformance()
186 if(Normalizer.NO == Normalizer.quickCheck(field[3], Normalizer.NFKC,options)) { in checkConformance()
190 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.NFKD,options)) { in checkConformance()
223 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD,options)) { in checkConformance()
236 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD, options)) { in checkConformance()
240 if(Normalizer.NO == Normalizer.quickCheck(field[2], Normalizer.FCD, options)) { in checkConformance()
245 if(Normalizer.NO == Normalizer.quickCheck(field[4], Normalizer.FCD, options)) { in checkConformance()
/external/icu/icu4c/source/common/unicode/
Dnormlzr.h289 quickCheck(const UnicodeString &source, UNormalizationMode mode, UErrorCode &status);
305quickCheck(const UnicodeString &source, UNormalizationMode mode, int32_t options, UErrorCode &stat…
780 Normalizer::quickCheck(const UnicodeString& source, in quickCheck() function
783 return quickCheck(source, mode, 0, status); in quickCheck()
Dnormalizer2.h416 quickCheck(const UnicodeString &s, UErrorCode &errorCode) const = 0;
705 quickCheck(const UnicodeString &s, UErrorCode &errorCode) const U_OVERRIDE;
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DNormalizerPerformanceTest.java297 Normalizer.quickCheck(NFDFileLines[i], Normalizer.NFC,0);
315 Normalizer.quickCheck(NFCFileLines[i], Normalizer.NFC,0);
333 Normalizer.quickCheck(fileLines[i], Normalizer.NFC,0);
351 Normalizer.quickCheck(NFDFileLines[i], Normalizer.NFD,0);
369 Normalizer.quickCheck(NFCFileLines[i], Normalizer.NFD,0);
387 Normalizer.quickCheck(fileLines[i], Normalizer.NFD,0);
405 Normalizer.quickCheck(NFDFileLines[i], Normalizer.FCD,0);
423 Normalizer.quickCheck(NFCFileLines[i], Normalizer.FCD,0);
441 Normalizer.quickCheck(fileLines[i], Normalizer.FCD,0);
/external/icu/icu4c/source/test/intltest/
Dnormconf.cpp327 if(UNORM_NO == Normalizer::quickCheck(field[1], UNORM_NFC, options, status)) { in checkConformance()
331 if(UNORM_NO == Normalizer::quickCheck(field[2], UNORM_NFD, options, status)) { in checkConformance()
335 if(UNORM_NO == Normalizer::quickCheck(field[3], UNORM_NFKC, options, status)) { in checkConformance()
339 if(UNORM_NO == Normalizer::quickCheck(field[4], UNORM_NFKD, options, status)) { in checkConformance()
390 if(UNORM_NO == Normalizer::quickCheck(fcd, UNORM_FCD, options, status)) { in checkConformance()
394 if(UNORM_NO == Normalizer::quickCheck(field[2], UNORM_FCD, options, status)) { in checkConformance()
398 if(UNORM_NO == Normalizer::quickCheck(field[4], UNORM_FCD, options, status)) { in checkConformance()
Dtstnorm.cpp909 if( UNORM_YES==Normalizer::quickCheck(s1, UNORM_FCD, normOptions, errorCode) && in _norm_compare()
910 UNORM_YES==Normalizer::quickCheck(s2, UNORM_FCD, normOptions, errorCode)) { in _norm_compare()
1292 qcResult=Normalizer::quickCheck(s, UNORM_FCD, errorCode); in countFoldFCDExceptions()
1316 if(isNFD && UNORM_YES!=Normalizer::quickCheck(s, UNORM_NFD, errorCode)) { in countFoldFCDExceptions()
1686 assertEquals("soft hyphen QC=No", UNORM_NO, n2->quickCheck(sh, errorCode)); in TestLowMappingToEmpty_D()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer.java984 public static QuickCheckResult quickCheck(String source, Mode mode) { in quickCheck() method in Normalizer
985 return quickCheck(source, mode, 0); in quickCheck()
1010 public static QuickCheckResult quickCheck(String source, Mode mode, int options) { in quickCheck() method in Normalizer
1011 return mode.getNormalizer2(options).quickCheck(source); in quickCheck()
1029 public static QuickCheckResult quickCheck(char[] source, Mode mode, int options) { in quickCheck() method in Normalizer
1030 return quickCheck(source, 0, source.length, mode, options); in quickCheck()
1058 public static QuickCheckResult quickCheck(char[] source,int start, in quickCheck() method in Normalizer
1061 return mode.getNormalizer2(options).quickCheck(srcBuffer); in quickCheck()
DFilteredNormalizer2.java138 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { in quickCheck() method in FilteredNormalizer2
147 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
DNormalizer2.java348 public abstract Normalizer.QuickCheckResult quickCheck(CharSequence s); in quickCheck() method in Normalizer2
DCjkBreakEngine.java102 … boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || in divideUpDictionaryRange()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer.java955 public static QuickCheckResult quickCheck(String source, Mode mode) { in quickCheck() method in Normalizer
956 return quickCheck(source, mode, 0); in quickCheck()
980 public static QuickCheckResult quickCheck(String source, Mode mode, int options) { in quickCheck() method in Normalizer
981 return mode.getNormalizer2(options).quickCheck(source); in quickCheck()
998 public static QuickCheckResult quickCheck(char[] source, Mode mode, int options) { in quickCheck() method in Normalizer
999 return quickCheck(source, 0, source.length, mode, options); in quickCheck()
1026 public static QuickCheckResult quickCheck(char[] source,int start, in quickCheck() method in Normalizer
1029 return mode.getNormalizer2(options).quickCheck(srcBuffer); in quickCheck()
DFilteredNormalizer2.java148 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { in quickCheck() method in FilteredNormalizer2
157 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
DNormalizer2.java370 public abstract Normalizer.QuickCheckResult quickCheck(CharSequence s); in quickCheck() method in Normalizer2
DCjkBreakEngine.java101 … boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || in divideUpDictionaryRange()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNorm2AllModes.java76 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { return Normalizer.YES; } in quickCheck() method in Norm2AllModes.NoopNormalizer2
166 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { in quickCheck() method in Norm2AllModes.Normalizer2WithImpl
235 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { in quickCheck() method in Norm2AllModes.ComposeNormalizer2
/external/icu/icu4c/source/common/
Dnormlzr.cpp179 Normalizer::quickCheck(const UnicodeString& source, in quickCheck() function in Normalizer
186 quickCheck(source, status); in quickCheck()
188 return n2->quickCheck(source, status); in quickCheck()
Dfilterednormalizer2.cpp273 FilteredNormalizer2::quickCheck(const UnicodeString &s, UErrorCode &errorCode) const { in quickCheck() function in FilteredNormalizer2
286 norm2.quickCheck(s.tempSubStringBetween(prevSpanLimit, spanLimit), errorCode); in quickCheck()
Dnorm2allmodes.h164 quickCheck(const UnicodeString &s, UErrorCode &errorCode) const { in quickCheck() function
282 quickCheck(const UnicodeString &s, UErrorCode &errorCode) const U_OVERRIDE { in quickCheck() function
Dnormalizer2.cpp157 quickCheck(const UnicodeString &, UErrorCode &) const U_OVERRIDE { in quickCheck() function in NoopNormalizer2
515 return ((const Normalizer2 *)norm2)->quickCheck(sString, *pErrorCode); in unorm2_quickCheck()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNorm2AllModes.java69 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { return Normalizer.YES; } in quickCheck() method in Norm2AllModes.NoopNormalizer2
156 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { in quickCheck() method in Norm2AllModes.Normalizer2WithImpl
219 public Normalizer.QuickCheckResult quickCheck(CharSequence s) { in quickCheck() method in Norm2AllModes.ComposeNormalizer2
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DStringSearch.java878 if (Normalizer.quickCheck(textstr, Normalizer.NFD, 0) == Normalizer.NO) { in checkIdentical()
882 if (Normalizer.quickCheck(patternstr, Normalizer.NFD, 0) == Normalizer.NO) { in checkIdentical()

12