/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
NormalizerRegressionTests.java | 23 logln("Normalized: " + Normalizer.isNormalized(tamil, Normalizer.NFC, 0)); 41 logln("Normalized: " + Normalizer.isNormalized(sample, Normalizer.NFC, 0)); 46 logln("Normalized: " + Normalizer.isNormalized(sample2, Normalizer.NFC, 0));
|
ConformanceTest.java | 34 normalizer = new Normalizer("", Normalizer.NFC, 0); 143 * c2 == NFC(c1) == NFC(c2) == NFC(c3) 159 out = Normalizer.normalize(field[i], Normalizer.NFC, options); 162 out = iterativeNorm(field[i], Normalizer.NFC, buf, +1,options); 165 out = iterativeNorm(field[i], Normalizer.NFC, buf, -1,options); 168 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFC, buf, +1,options); 171 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFC, buf, -1,options); 189 cross(field[2] /*NFD String*/, field[1]/*NFC String*/, Normalizer.NFC) [all...] |
TestDeprecatedNormalizerAPI.java | 34 Normalizer norm = new Normalizer(iter, Normalizer.NFC,0); 38 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0); 58 Normalizer.normalize(s,Normalizer.NFC,0);
|
BasicTest.java | 124 staticTest(Normalizer.NFC, hangulCanon, 2); 129 Normalizer norm = new Normalizer("", Normalizer.NFC,0); 137 norm.setMode(Normalizer.NFC); 186 Normalizer norm = new Normalizer("", Normalizer.NFC,0); 188 staticTest(Normalizer.NFC, canonTests, 2); 189 composeTest(Normalizer.NFC, canonTests, 2); 218 staticTest(Normalizer.NFC, canon, 2); 241 staticTest(Normalizer.NFC, compose, 1); 275 String c = Normalizer.normalize(b, Normalizer.NFC); 421 Normalizer.NFC,0) !=Normalizer.NO 2804 Normalizer2 nfc = Normalizer2.getNFCInstance(); local [all...] |
NormalizationMonkeyTest.java | 61 //NFC 63 icuNorm = Normalizer.normalize(source, Normalizer.NFC); 67 errln("NFC: Unicode sample output => " + uncodeNorm + "; icu4j output=> " + icuNorm);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
NormalizerRegressionTests.java | 22 logln("Normalized: " + Normalizer.isNormalized(tamil, Normalizer.NFC, 0)); 40 logln("Normalized: " + Normalizer.isNormalized(sample, Normalizer.NFC, 0)); 45 logln("Normalized: " + Normalizer.isNormalized(sample2, Normalizer.NFC, 0));
|
ConformanceTest.java | 33 normalizer = new Normalizer("", Normalizer.NFC, 0); 142 * c2 == NFC(c1) == NFC(c2) == NFC(c3) 158 out = Normalizer.normalize(field[i], Normalizer.NFC, options); 161 out = iterativeNorm(field[i], Normalizer.NFC, buf, +1,options); 164 out = iterativeNorm(field[i], Normalizer.NFC, buf, -1,options); 167 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFC, buf, +1,options); 170 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFC, buf, -1,options); 188 cross(field[2] /*NFD String*/, field[1]/*NFC String*/, Normalizer.NFC) [all...] |
TestDeprecatedNormalizerAPI.java | 33 Normalizer norm = new Normalizer(iter, Normalizer.NFC,0); 37 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0); 57 Normalizer.normalize(s,Normalizer.NFC,0);
|
BasicTest.java | 123 staticTest(Normalizer.NFC, hangulCanon, 2); 128 Normalizer norm = new Normalizer("", Normalizer.NFC,0); 136 norm.setMode(Normalizer.NFC); 185 Normalizer norm = new Normalizer("", Normalizer.NFC,0); 187 staticTest(Normalizer.NFC, canonTests, 2); 188 composeTest(Normalizer.NFC, canonTests, 2); 217 staticTest(Normalizer.NFC, canon, 2); 240 staticTest(Normalizer.NFC, compose, 1); 274 String c = Normalizer.normalize(b, Normalizer.NFC); 420 Normalizer.NFC,0) !=Normalizer.NO 2803 Normalizer2 nfc = Normalizer2.getNFCInstance(); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
NormalizerTest.java | 26 assertEquals(src, Normalizer.normalize(src, Normalizer.Form.NFC)); 40 assertEquals("\u00e9", Normalizer.normalize("\u0065\u0301", Normalizer.Form.NFC)); 46 Normalizer.normalize(null, Normalizer.Form.NFC); 57 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC)); 63 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC)); 69 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC)); 75 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC)); 81 Normalizer.isNormalized(null, Normalizer.Form.NFC);
|
/packages/apps/Nfc/nci/jni/ |
Android.mk | 1 VOB_COMPONENTS := system/nfc/src 3 NFC := $(VOB_COMPONENTS)/nfc 22 $(NFC)/include \ 23 $(NFC)/brcm \ 24 $(NFC)/int \
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
NormalizerTest.java | 33 assertEquals(Form.NFC, forms[1]); 49 assertEquals(Form.NFC, Form.valueOf("NFC")); 62 Form.valueOf("nfc"); 69 Form.valueOf("NFC "); 81 assertTrue(Normalizer.isNormalized(src, Form.NFC)); 87 assertFalse(Normalizer.isNormalized(src, Form.NFC)); 93 assertTrue(Normalizer.isNormalized(src, Form.NFC)); 99 assertTrue(Normalizer.isNormalized(src, Form.NFC)); 105 assertTrue(Normalizer.isNormalized(src, Form.NFC)); [all...] |
/libcore/ojluni/src/main/java/java/text/ |
Normalizer.java | 99 * The W3C generally recommends to exchange texts in NFC. 102 * character encodings the Unicode text needs to be normalized to NFC. 131 NFC(android.icu.text.Normalizer.NFC), 157 * {@link java.text.Normalizer.Form#NFC}, 174 * {@link java.text.Normalizer.Form#NFC},
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_normalization.py | 19 def NFC(str):
20 return normalize("NFC", str)
71 self.assertTrue(c2 == NFC(c1) == NFC(c2) == NFC(c3), line)
72 self.assertTrue(c4 == NFC(c4) == NFC(c5), line)
91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
95 normalize('NFC', u'\ud55c\uae00')
|
/external/python/cpython2/Lib/test/ |
test_normalization.py | 19 def NFC(str): 20 return normalize("NFC", str) 71 self.assertTrue(c2 == NFC(c1) == NFC(c2) == NFC(c3), line) 72 self.assertTrue(c4 == NFC(c4) == NFC(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c) 95 normalize('NFC', u'\ud55c\uae00')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_normalization.py | 19 def NFC(str): 20 return normalize("NFC", str) 71 self.assertTrue(c2 == NFC(c1) == NFC(c2) == NFC(c3), line) 72 self.assertTrue(c4 == NFC(c4) == NFC(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c) 95 normalize('NFC', u'\ud55c\uae00')
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_normalization.py | 19 def NFC(str): 20 return normalize("NFC", str) 71 self.assertTrue(c2 == NFC(c1) == NFC(c2) == NFC(c3), line) 72 self.assertTrue(c4 == NFC(c4) == NFC(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c) 95 normalize('NFC', u'\ud55c\uae00')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_normalization.py | 19 def NFC(str): 20 return normalize("NFC", str) 71 self.assertTrue(c2 == NFC(c1) == NFC(c2) == NFC(c3), line) 72 self.assertTrue(c4 == NFC(c4) == NFC(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c) 95 normalize('NFC', u'\ud55c\uae00')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_normalization.py | 19 def NFC(str): 20 return normalize("NFC", str) 71 self.assertTrue(c2 == NFC(c1) == NFC(c2) == NFC(c3), line) 72 self.assertTrue(c4 == NFC(c4) == NFC(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c) 95 normalize('NFC', u'\ud55c\uae00')
|
/packages/apps/Nfc/src/com/android/nfc/ |
NfcPermissions.java | 1 package com.android.nfc; 10 * NFC ADMIN permission - only for system apps 16 * Regular NFC permission 18 static final String NFC_PERMISSION = android.Manifest.permission.NFC; 19 private static final String NFC_PERM_ERROR = "NFC permission required";
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
SourceTargetUtility.java | 25 static Normalizer2 NFC = Normalizer2.getNFCInstance(); 36 // if (NFC == null) { 37 // NFC = Normalizer2.getInstance(null, "nfc", Mode.COMPOSE); 39 // String d = NFC.getDecomposition(i); 43 // String s = NFC.normalize(d); 74 String d = NFC.getDecomposition(i);
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
SourceTargetUtility.java | 24 static Normalizer2 NFC = Normalizer2.getNFCInstance(); 35 // if (NFC == null) { 36 // NFC = Normalizer2.getInstance(null, "nfc", Mode.COMPOSE); 38 // String d = NFC.getDecomposition(i); 42 // String s = NFC.normalize(d); 73 String d = NFC.getDecomposition(i);
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
NormalizerPerformanceTest.java | 27 NFCFileLines = normalizeInput(fileLines, Normalizer.NFC); 30 // Test NFC Performance 35 Normalizer.normalize(NFDFileLines[i], Normalizer.NFC); 53 Normalizer.normalize(NFCFileLines[i], Normalizer.NFC); 71 Normalizer.normalize(fileLines[i], Normalizer.NFC); 140 // Test NFC Performance 297 Normalizer.quickCheck(NFDFileLines[i], Normalizer.NFC,0); 315 Normalizer.quickCheck(NFCFileLines[i], Normalizer.NFC,0); 333 Normalizer.quickCheck(fileLines[i], Normalizer.NFC,0); 460 Normalizer.isNormalized(NFDFileLines[i], Normalizer.NFC, 0) [all...] |
/frameworks/base/packages/Osu/src/com/android/anqp/eap/ |
Credential.java | 17 NFC,
|
/compatibility/cdd/7_hardware-compatibility/ |
7_4_data-connectivity.md | 234 Communications (NFC). 235 * [C-0-1] MUST implement `android.nfc.NdefMessage` and 236 `android.nfc.NdefRecord` APIs even if they do not include support for NFC or 237 declare the `android.hardware.nfc` feature as the classes represent a 241 If device implementations include NFC hardware and plan to make it available to 244 * [C-1-1] MUST report the `android.hardware.nfc` feature from the 247 * MUST be capable of reading and writing NDEF messages via the following NFC 249 * [C-1-2] MUST be capable of acting as an NFC Forum reader/writer 250 (as defined by the NFC Forum technical specificatio [all...] |