/external/fonttools/Tests/ |
D | unicodedata_test.py | 12 assert unicodedata.script(unichr(0)) == "Zyyy" 13 assert unicodedata.script(unichr(0x0378)) == "Zzzz" 14 assert unicodedata.script(unichr(0x10FFFF)) == "Zzzz" 17 assert unicodedata.script(unichr(0x1E918)) == 'Adlm' 18 assert unicodedata.script(unichr(0x1170D)) == 'Ahom' 19 assert unicodedata.script(unichr(0x145A0)) == 'Hluw' 20 assert unicodedata.script(unichr(0x0607)) == 'Arab' 21 assert unicodedata.script(unichr(0x056C)) == 'Armn' 22 assert unicodedata.script(unichr(0x10B27)) == 'Avst' 23 assert unicodedata.script(unichr(0x1B41)) == 'Bali' [all …]
|
/external/fonttools/Lib/fontTools/encodings/ |
D | codecs.py | 75 b"\xFC": unichr(0x007C), 76 b"\x7E": unichr(0x007E), 77 b"\x80": unichr(0x005C), 78 b"\xA0": unichr(0x00A0), 79 b"\xFD": unichr(0x00A9), 80 b"\xFE": unichr(0x2122), 81 b"\xFF": unichr(0x2026), 84 b"\x80": unichr(0x005C), 85 b"\xA0": unichr(0x00A0), 86 b"\xFD": unichr(0x00A9), [all …]
|
/external/fonttools/Tests/encodings/ |
D | codecs_test.py | 10 unichr(0x78)+unichr(0x2122)+unichr(0x00A9)+unichr(0x79)) 14 (unichr(0x78)+unichr(0x2122)+unichr(0x00A9)+unichr(0x79)).encode("x_mac_japanese_ttx")) 18 unichr(0x5C)) 22 unichr(0x78)+unichr(0x02DA))
|
/external/python/cpython2/Doc/library/ |
D | unicodedata.rst | 33 .. function:: name(unichr[, default]) 35 Returns the name assigned to the Unicode character *unichr* as a string. If no 40 .. function:: decimal(unichr[, default]) 42 Returns the decimal value assigned to the Unicode character *unichr* as integer. 47 .. function:: digit(unichr[, default]) 49 Returns the digit value assigned to the Unicode character *unichr* as integer. 54 .. function:: numeric(unichr[, default]) 56 Returns the numeric value assigned to the Unicode character *unichr* as float. 61 .. function:: category(unichr) 63 Returns the general category assigned to the Unicode character *unichr* as [all …]
|
/external/libchrome/third_party/markupsafe/ |
D | _compat.py | 18 unichr = chr variable 23 unichr = unichr variable
|
D | __init__.py | 13 unichr, PY2 134 return unichr(HTML_ENTITIES[name]) 137 return unichr(int(name[2:], 16)) 139 return unichr(int(name[1:]))
|
/external/brotli/scripts/dictionary/ |
D | step-04-generate-java-literals.py | 36 hi.append(unichr(cntr)) 43 hi.append(unichr(cntr)) 45 hi.append(unichr(cntr))
|
/external/python/cpython2/Lib/test/ |
D | test_unicodedata.py | 28 char = unichr(i) 89 char = unichr(i) 260 c = unichr(i) 273 c = unichr(i) 300 if u"\x00" in unichr(c).lower()+unichr(c).upper()+unichr(c).title() 313 lines = (unichr(i) + u'A').splitlines()
|
D | test_re.py | 482 unichr(0x2222)).group(1), unichr(0x2222)) 484 unichr(0x2222), re.UNICODE).group(1), unichr(0x2222)) 485 r = u'[%s]' % u''.join(map(unichr, range(256, 2**16, 255))) 486 self.assertEqual(re.match(r, unichr(0xff01), re.UNICODE).group(), unichr(0xff01)) 680 p = u''.join(unichr(i) for i in range(256)) 710 self.assertMatch(u'.%s+.' % re.escape(unichr(0x2620)), s, 802 pat=u"["+re.escape(unichr(0x2039))+u"]" 920 unichr(0x0037), # '\N{DIGIT SEVEN}', category 'Nd' 921 unichr(0x0e58), # '\N{THAI DIGIT SIX}', category 'Nd' 922 unichr(0xff10), # '\N{FULLWIDTH DIGIT ZERO}', category 'Nd' [all …]
|
D | test_multibytecodec.py | 48 data = 100 * unichr(0xdc00) 235 myunichr = unichr 237 myunichr = lambda x: unichr(0xD7C0+(x>>10)) + unichr(0xDC00+(x&0x3FF))
|
D | test_normalization.py | 36 return u"".join([unichr(x) for x in data]) 88 X = unichr(c)
|
D | test_fnmatch.py | 92 self.check_match(u'test'+unichr(0x20ac), u'te*'+unichr(0x20ac))
|
D | test_codecmaps_jp.py | 22 supmaps.append((chr(i), unichr(i+0xfec0)))
|
/external/python/cpython2/Tools/unicode/ |
D | mkstringprep.py | 8 if unicodedata.category(unichr(i)) in cats: 13 if unicodedata.bidirectional(unichr(i)) in cats: 176 if map(ord, unichr(k).lower()) != v: 177 b3_exceptions[k] = u"".join(map(unichr,v)) 217 if map(ord, map_table_b2(unichr(k))) != v:
|
D | comparecodecs.py | 18 u = unichr(i)
|
/external/libchrome/third_party/jinja2/ |
D | _compat.py | 21 unichr = chr variable 50 unichr = unichr variable
|
/external/fonttools/Lib/fontTools/ |
D | agl.py | 786 return unichr(uchar) 856 return ''.join([unichr(c) for c in chars]) 874 return unichr(value)
|
/external/python/cpython2/Tools/pybench/ |
D | Unicode.py | 317 s = join(map(unichr,range(20)),'') 318 t = join(map(unichr,range(100)),'') 319 u = join(map(unichr,range(500)),'') 320 v = join(map(unichr,range(1000)),'') 374 s = join(map(unichr,range(20)),'') 375 t = join(map(unichr,range(100)),'') 376 u = join(map(unichr,range(500)),'') 377 v = join(map(unichr,range(1000)),'')
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 32 unichr = unichr variable 37 _narrow_unichr = unichr 39 def unichr(i): function 102 unichr = chr variable
|
/external/harfbuzz_ng/test/shaping/ |
D | hb_test_tools.py | 19 unichr = unichr variable 24 _narrow_unichr = unichr 26 def unichr(i): function 77 unichr = chr variable 473 s = u''.join (unichr (x) for x in Unicode.parse (s)) 511 s = [unichr (int (x, 16)) for x in re.split ('[, \n]', s) if len (x)]
|
/external/python/cpython2/Lib/json/tests/ |
D | test_scanstring.py | 103 surrogates = unichr(0xd834) + unichr(0xdd20)
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 629 unichr(0x00E6), 631 unichr(0x0130), 633 unichr(0x0141), 635 unichr(0x03C6), 637 unichr(0x041A), 639 unichr(0x05D0), 641 unichr(0x060C), 643 unichr(0x062A), 645 unichr(0x0E01), 652 unichr(0x00A0), [all …]
|
/external/fonttools/Tests/ttLib/tables/ |
D | T_S_I__1_test.py | 4 from fontTools.misc.py23 import unichr, tobytes 39 font.glyphOrder = [unichr(i) for i in range(ch, ch+n)]
|
/external/python/cpython2/Demo/scripts/ |
D | find-uname.py | 27 unicode_names.append((ix, unicodedata.name(unichr(ix))))
|
/external/fonttools/Tests/misc/ |
D | encodingTools_test.py | 23 self.assertEqual(decoded, unichr(0x2122))
|