Home
last modified time | relevance | path

Searched refs:fcd (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_cgi.py139 fcd = cgi.FormContentDict(env)
144 self.assertEqual(len(expect), len(fcd))
145 self.assertItemsEqual(expect.keys(), fcd.keys())
146 self.assertItemsEqual(expect.values(), fcd.values())
147 self.assertItemsEqual(expect.items(), fcd.items())
148 self.assertEqual(fcd.get("nonexistent field", "default"), "default")
155 self.assertTrue(fcd.has_key(key))
156 self.assertItemsEqual(fcd[key], expect[key])
157 self.assertEqual(fcd.get(key, "default"), fcd[key])
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DConformanceTest.java157 String out,fcd; in checkConformance() local
219 fcd=Normalizer.normalize(field[0], Normalizer.FCD); in checkConformance()
220 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD,options)) { in checkConformance()
226 char[] fcd2 = new char[ fcd.length() * 2 ]; in checkConformance()
228 …int fcdLen = Normalizer.normalize(src, 0, src.length, fcd2, fcd.length(), fcd2.length,Normalizer.F… in checkConformance()
229 if(fcdLen != fcd.length()){ in checkConformance()
233 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD, options)) { in checkConformance()
256 out=Normalizer.normalize(fcd, Normalizer.NFD); in checkConformance()
DBasicTest.java2914 Normalizer2 fcd = Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.FCD); in TestFCD() local
2915 assertTrue("fcd.hasBoundaryAfter(space)", fcd.hasBoundaryAfter(' ')); in TestFCD()
2916 assertFalse("fcd.hasBoundaryAfter(ä)", fcd.hasBoundaryAfter('ä')); in TestFCD()
2917 assertTrue("fcd.isInert(space)", fcd.isInert(' ')); in TestFCD()
2918 assertFalse("fcd.isInert(ä)", fcd.isInert('ä')); in TestFCD()
2921 Norm2AllModes.FCDNormalizer2 impl = (Norm2AllModes.FCDNormalizer2)fcd; in TestFCD()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DConformanceTest.java160 String out,fcd; in checkConformance() local
222 fcd=Normalizer.normalize(field[0], Normalizer.FCD); in checkConformance()
223 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD,options)) { in checkConformance()
229 char[] fcd2 = new char[ fcd.length() * 2 ]; in checkConformance()
231 …int fcdLen = Normalizer.normalize(src, 0, src.length, fcd2, fcd.length(), fcd2.length,Normalizer.F… in checkConformance()
232 if(fcdLen != fcd.length()){ in checkConformance()
236 if(Normalizer.NO == Normalizer.quickCheck(fcd, Normalizer.FCD, options)) { in checkConformance()
259 out=Normalizer.normalize(fcd, Normalizer.NFD); in checkConformance()
DBasicTest.java2917 Normalizer2 fcd = Normalizer2.getInstance(null, "nfc", Normalizer2.Mode.FCD); in TestFCD() local
2918 assertTrue("fcd.hasBoundaryAfter(space)", fcd.hasBoundaryAfter(' ')); in TestFCD()
2919 assertFalse("fcd.hasBoundaryAfter(ä)", fcd.hasBoundaryAfter('ä')); in TestFCD()
2920 assertTrue("fcd.isInert(space)", fcd.isInert(' ')); in TestFCD()
2921 assertFalse("fcd.isInert(ä)", fcd.isInert('ä')); in TestFCD()
2924 Norm2AllModes.FCDNormalizer2 impl = (Norm2AllModes.FCDNormalizer2)fcd; in TestFCD()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNorm2AllModes.java306 fcd=new FCDNormalizer2(ni); in Norm2AllModes()
313 public final FCDNormalizer2 fcd; field in Norm2AllModes
382 return getNFCInstance().fcd; in getFCDNormalizer2()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNorm2AllModes.java287 fcd=new FCDNormalizer2(ni); in Norm2AllModes()
294 public final FCDNormalizer2 fcd; field in Norm2AllModes
363 return getNFCInstance().fcd; in getFCDNormalizer2()
/external/icu/icu4c/source/test/intltest/
Dnormconf.cpp312 UnicodeString out, fcd; in checkConformance() local
389 Normalizer::normalize(field[0], UNORM_FCD, options, fcd, status); in checkConformance()
390 if(UNORM_NO == Normalizer::quickCheck(fcd, UNORM_FCD, options, status)) { in checkConformance()
403 Normalizer::normalize(fcd, UNORM_NFD, options, out, status); in checkConformance()
Dcollationtest.cpp61 : fcd(NULL), nfd(NULL), in CollationTest()
125 const Normalizer2 *fcd, *nfd; member in CollationTest
1312 if(U_FAILURE(errorCode) || !fcd->isNormalized(s, errorCode)) { return TRUE; } in needsNormalization()
1810 fcd = Normalizer2Factory::getFCDInstance(errorCode); in TestDataDriven()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNormalizer2.java206 case FCD: return all2Modes.fcd; in getInstance()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNormalizer2.java197 case FCD: return all2Modes.fcd; in getInstance()
/external/icu/icu4c/source/common/
Dloadednormalizer2impl.cpp231 return allModes!=NULL ? &allModes->fcd : NULL; in getFCDInstance()
332 return &allModes->fcd; in getInstance()
Dnorm2allmodes.h346 : impl(i), comp(*i, false), decomp(*i), fcd(*i), fcc(*i, true) {} in Norm2AllModes()
362 FCDNormalizer2 fcd; member
Dnormalizer2.cpp276 return allModes!=NULL ? &allModes->fcd : NULL; in getFCDInstance()
/external/icu/libicu/cts_headers/
Dnorm2allmodes.h346 : impl(i), comp(*i, false), decomp(*i), fcd(*i), fcc(*i, true) {} in Norm2AllModes()
362 FCDNormalizer2 fcd; member
Dcollationbuilder.h295 const Normalizer2 &nfd, &fcd; variable
/external/icu/icu4c/source/test/cintltst/
Dcnormtst.c1165 fcd[]={ in TestNextPrevious() local
1207 …_testIter(src, UPRV_LENGTHOF(src), &iter, UNORM_FCD, TRUE, fcd, UPRV_LENGTHOF(fcd), fcdIndexes, si… in TestNextPrevious()
1218 …_testIter(src, UPRV_LENGTHOF(src), &iter, UNORM_FCD, FALSE, fcd, UPRV_LENGTHOF(fcd), fcdIndexes, s… in TestNextPrevious()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java45 fcd = Norm2AllModes.getFCDNormalizer2(); in CollationBuilder()
1043 assert(fcd.isNormalized(newString));
1069 return fcd.isNormalized(s);
1495 private Normalizer2 nfd, fcd; field in CollationBuilder
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java41 fcd = Norm2AllModes.getFCDNormalizer2(); in CollationBuilder()
1039 assert(fcd.isNormalized(newString));
1065 return fcd.isNormalized(s);
1491 private Normalizer2 nfd, fcd; field in CollationBuilder
/external/icu/icu4c/source/i18n/
Dcollationbuilder.h295 const Normalizer2 &nfd, &fcd; variable
Dcollationbuilder.cpp203 fcd(*Normalizer2Factory::getFCDInstance(errorCode)), in CollationBuilder()
1297 U_ASSERT(fcd.isNormalized(newString, errorCode)); in mergeCompositeIntoString()
1317 return U_SUCCESS(errorCode) && fcd.isNormalized(s, errorCode); in isFCD()
Dusearch.cpp1300 uint16_t fcd = getFCD(text, &temp, result); in getPreviousBaseOffset() local
1301 if ((fcd >> SECOND_LAST_BYTE_SHIFT_) == 0) { in getPreviousBaseOffset()
1302 if (fcd & LAST_BYTE_MASK_) { in getPreviousBaseOffset()
/external/icu/icu4c/source/data/misc/
DkeyTypeData.txt480 fcd{""}
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java61 Normalizer2 fcd, nfd; field in CollationTest
1365 if (!fcd.isNormalized(s)) {
1656 fcd = Norm2AllModes.getFCDNormalizer2();
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java64 Normalizer2 fcd, nfd; field in CollationTest
1368 if (!fcd.isNormalized(s)) {
1659 fcd = Norm2AllModes.getFCDNormalizer2();

12