/external/fonttools/Tests/ |
D | agl_test.py | 8 self.assertEqual(agl.toUnicode("Lcommaaccent"), "Ļ") 9 self.assertEqual(agl.toUnicode("uni20AC0308"), "\u20AC\u0308") 10 self.assertEqual(agl.toUnicode("u1040C"), "\U0001040C") 11 self.assertEqual(agl.toUnicode("uniD801DC0C"), "") 12 self.assertEqual(agl.toUnicode("uni20ac"), "") 14 agl.toUnicode("Lcommaaccent_uni20AC0308_u1040C.alternate"), 16 self.assertEqual(agl.toUnicode("Lcommaaccent_uni013B_u013B"), "ĻĻĻ") 17 self.assertEqual(agl.toUnicode("foo"), "") 18 self.assertEqual(agl.toUnicode(".notdef"), "") 21 self.assertEqual(agl.toUnicode("longs_t"), "ſt") [all …]
|
/external/icu/android_icu4j/testing/src/com/android/icu/test/text/ |
D | ExtendedIDNATest.java | 75 assertEquals("", toUnicode("", 0)); in testConvertIDNToUnicode() 76 assertEquals("www.bcher.de", toUnicode("www.bcher.de", 0)); in testConvertIDNToUnicode() 77 assertEquals("www.b\u00FCcher.de", toUnicode("www.b\u00FCcher.de", 0)); in testConvertIDNToUnicode() 78 assertEquals("www.\u65E5\u672C\u5E73.jp", toUnicode("www.\u65E5\u672C\u5E73.jp", 0)); in testConvertIDNToUnicode() 80 toUnicode("www\uFF0Exn--gwtq9nb2a\uFF61jp", 0)); in testConvertIDNToUnicode() 81 assertEquals("www.\u65E5\u672C\u5E73.jp", toUnicode("www.xn--gwtq9nb2a.jp", 0)); in testConvertIDNToUnicode() 82 assertEquals("", toUnicode("", IDNA.ALLOW_UNASSIGNED)); in testConvertIDNToUnicode() 83 assertEquals("www.f\u00E4rgbolaget.nu", toUnicode( in testConvertIDNToUnicode() 85 assertEquals("www.r\u00E4ksm\u00F6rg\u00E5s\u3002nu", toUnicode( in testConvertIDNToUnicode() 91 toUnicode("www\uFF0Exn--gwtq9nb2a\uFF61jp", IDNA.USE_STD3_RULES)); in testConvertIDNToUnicode() [all …]
|
/external/fonttools/Lib/fontTools/varLib/instancer/ |
D | names.py | 212 getName(n, *platform).toUnicode() for n in ribbiNameIDs 216 getName(n, *platform).toUnicode() for n in axisValueNameIDs 225 subFamilyName = getName(elidedNameID, *platform).toUnicode() 227 typoSubFamilyName = getName(elidedNameID, *platform).toUnicode() 230 getName(n, *platform).toUnicode() for n in nonRibbiNameIDs 247 and englishRecord.toUnicode() in ("Regular", "Italic", "Bold", "Bold Italic") 277 currentFamilyName = currentFamilyName.toUnicode() 278 currentStyleName = currentStyleName.toUnicode() 330 family_prefix = family_prefix.toUnicode() 358 if nameRecord.toUnicode() in currentRecord.toUnicode(): [all …]
|
/external/fonttools/Tests/ttLib/tables/ |
D | _n_a_m_e_test.py | 40 self.assertEqual("Regular", table.getName(2, 1, 0, 0).toUnicode()) 41 self.assertEqual("Version 1.000", table.getName(5, 3, 1, 0x409).toUnicode()) 42 self.assertEqual("寬鬆", table.getName(276, 1, 2, 0x13).toUnicode()) 45 self.assertEqual("緊縮", table.getName(276, 1, 2, 0x13).toUnicode()) 331 self.assertEqual("Foo Bold", name.toUnicode()) 336 self.assertEqual("Foo Italic", name.toUnicode()) 341 self.assertEqual("Foo Italic"+chr(0x02DA), name.toUnicode()) 346 self.assertRaises(UnicodeDecodeError, name.toUnicode) 351 self.assertEqual(name.toUnicode(), "A") 433 self.assertEqual(name.toUnicode(), chr(0x2122)) [all …]
|
/external/icu/icu4c/source/test/testdata/ |
D | test2.ucm | 34 # toUnicode result is fallback direct 37 # toUnicode result is direct non-BMP code point 53 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
D | test3.ucm | 35 # toUnicode result is fallback direct 38 # toUnicode result is direct non-BMP code point 54 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
D | test1.ucm | 28 # toUnicode result is fallback direct 31 # toUnicode result is direct non-BMP code point
|
D | test4.ucm | 38 # toUnicode result is fallback direct 41 # toUnicode result is direct non-BMP code point 47 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
|
D | test1bmp.ucm | 30 # toUnicode result is fallback direct
|
/external/fonttools/Snippets/ |
D | rename-fonts.py | 50 return family_name_rec.toUnicode() 67 string = name_record.toUnicode() 101 if ps_family_name in rec.toUnicode():
|
/external/fonttools/Tests/varLib/instancer/ |
D | names_test.py | 35 (r.nameID, r.platformID, r.platEncID, r.langID): r.toUnicode() 158 assert nametable.getName(17, 3, 1, 0x409).toUnicode() == "Regular Condensed" 165 assert nametable.getName(17, 3, 1, 0x409).toUnicode() == "Condensed Regular"
|
/external/icu/icu4c/source/test/intltest/ |
D | testidna.h | 81 const char* toUnicodeName, TestFunc toUnicode); 113 const char* toUnicodeName, TestFunc toUnicode
|
D | uts46test.cpp | 1077 UnicodeString toUnicode = s16FromField(fields[1]); in idnaTestOneLine() local 1078 if (toUnicode.isEmpty()) { in idnaTestOneLine() 1079 toUnicode = source; in idnaTestOneLine() 1092 toAsciiN = toUnicode; in idnaTestOneLine() 1123 checkIdnaTestResult(fields[0][0], "toUnicodeNontrans", toUnicode, uN, in idnaTestOneLine()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _n_a_m_e.py | 109 unistr = name.toUnicode() 229 key = (name.toUnicode(), name.platformID, 419 def toUnicode(self, errors='strict'): member in NameRecord 483 toStr = toUnicode 487 unistr = self.toUnicode()
|
/external/fonttools/Doc/source/ |
D | agl.rst | 6 :members: toUnicode, UV2AGL, AGL2UV
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | UTS46Test.java | 878 String toUnicode = Utility.unescape(fields[1].trim()); in IdnaTest() local 879 if (toUnicode.isEmpty()) { in IdnaTest() 880 toUnicode = source; in IdnaTest() 893 toAsciiN = toUnicode; in IdnaTest() 924 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | UTS46Test.java | 881 String toUnicode = Utility.unescape(fields[1].trim()); in IdnaTest() local 882 if (toUnicode.isEmpty()) { in IdnaTest() 883 toUnicode = source; in IdnaTest() 896 toAsciiN = toUnicode; in IdnaTest() 927 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
|
/external/fonttools/Lib/fontTools/ |
D | agl.py | 5107 def toUnicode(glyph, isZapfDingbats=False): function
|
/external/icu/icu4c/source/common/ |
D | ucnv.cpp | 1272 UConverterToUnicode toUnicode; in _toUnicodeWithCallback() local 1295 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback() 1297 toUnicode=cnv->sharedData->impl->toUnicodeWithOffsets; in _toUnicodeWithCallback() 1298 if(toUnicode==NULL) { in _toUnicodeWithCallback() 1300 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback() 1349 toUnicode(pArgs, err); in _toUnicodeWithCallback()
|
D | ucnv_cnv.h | 242 UConverterToUnicode toUnicode; member
|
/external/icu/libicu/cts_headers/ |
D | ucnv_cnv.h | 242 UConverterToUnicode toUnicode; member
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | TestCldr.java | 191 static Transliterator toUnicode = Transliterator.getInstance("any-hex"); field in TestCldr 194 return "\u00AB" + in + "\u00BB (" + toUnicode.transliterate(in) + ")"; in showString()
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 395 std::unique_ptr<SkStreamAsset> toUnicode = in emit_subset_type0() local 401 fontDict.insertRef("ToUnicode", SkPDFStreamOut(nullptr, std::move(toUnicode), doc)); in emit_subset_type0()
|
/external/skqp/src/pdf/ |
D | SkPDFFont.cpp | 404 std::unique_ptr<SkStreamAsset> toUnicode = in emit_subset_type0() local 410 fontDict.insertRef("ToUnicode", SkPDFStreamOut(nullptr, std::move(toUnicode), doc)); in emit_subset_type0()
|
/external/libxml2/ |
D | encoding.c | 106 openIcuConverter(const char* name, int toUnicode) in openIcuConverter() argument 121 if (toUnicode) { in openIcuConverter() 1888 xmlUconvWrapper(uconv_t *cd, int toUnicode, unsigned char *out, int *outlen, in xmlUconvWrapper() argument 1899 if (toUnicode) { in xmlUconvWrapper()
|