/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/libmojo/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/python/cpython2/Lib/test/ |
D | test_unicodedata.py | 28 char = unichr(i) 89 char = unichr(i) 247 c = unichr(i) 260 c = unichr(i) 287 if u"\x00" in unichr(c).lower()+unichr(c).upper()+unichr(c).title() 300 lines = (unichr(i) + u'A').splitlines()
|
D | test_support.py | 614 unichr(0x00E6), 616 unichr(0x0130), 618 unichr(0x0141), 620 unichr(0x03C6), 622 unichr(0x041A), 624 unichr(0x05D0), 626 unichr(0x060C), 628 unichr(0x062A), 630 unichr(0x0E01), 637 unichr(0x00A0), [all …]
|
D | test_re.py | 436 unichr(0x2222)).group(1), unichr(0x2222)) 438 unichr(0x2222), re.UNICODE).group(1), unichr(0x2222)) 439 r = u'[%s]' % u''.join(map(unichr, range(256, 2**16, 255))) 440 self.assertEqual(re.match(r, unichr(0xff01), re.UNICODE).group(), unichr(0xff01)) 634 p = u''.join(unichr(i) for i in range(256)) 664 self.assertMatch(u'.%s+.' % re.escape(unichr(0x2620)), s, 756 pat=u"["+re.escape(unichr(0x2039))+u"]" 874 unichr(0x0037), # '\N{DIGIT SEVEN}', category 'Nd' 875 unichr(0x0e58), # '\N{THAI DIGIT SIX}', category 'Nd' 876 unichr(0xff10), # '\N{FULLWIDTH DIGIT ZERO}', category 'Nd' [all …]
|
D | test_normalization.py | 36 return u"".join([unichr(x) for x in data]) 88 X = unichr(c)
|
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_codecmaps_jp.py | 22 supmaps.append((chr(i), unichr(i+0xfec0)))
|
D | test_builtin.py | 257 self.assertRaises(TypeError, compile, unichr(0), 'f', 'exec') 519 return unichr(ord(unicode.__getitem__(self, index))+1) 568 self.assertRaises(UnicodeError, getattr, sys, unichr(sys.maxunicode)) 576 self.assertRaises(UnicodeError, hasattr, sys, unichr(sys.maxunicode)) 946 self.assertEqual(ord(unichr(sys.maxunicode)), sys.maxunicode) 1370 self.assertEqual(unichr(32), unicode(' ')) 1371 self.assertEqual(unichr(65), unicode('A')) 1372 self.assertEqual(unichr(97), unicode('a')) 1374 unichr(sys.maxunicode), 1377 self.assertRaises(ValueError, unichr, sys.maxunicode+1) [all …]
|
D | test_codecs.py | 2003 self.assertEqual(encode(unichr(b)), (chr(b), 1)) 2009 self.assertEqual(decode(chr(b) + '0'), (unichr(b) + u'0', 2)) 2020 check(unichr(b), '\\x%02x' % b) 2022 check(unichr(b), '\\x%02x' % b) 2053 check('\\' + chr(b), u'\\' + unichr(b)) 2080 self.assertEqual(encode(unichr(b)), (chr(b), 1)) 2085 self.assertEqual(decode(chr(b) + '0'), (unichr(b) + u'0', 2)) 2092 check(u'\\' + unichr(b), '\\' + chr(b)) 2101 check('\\' + chr(b), u'\\' + unichr(b))
|
/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)
|
D | gencodec.py | 35 UNI_UNDEFINED = unichr(0xFFFE) 237 mapchar = unichr(mapvalue)
|
/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/libmojo/third_party/jinja2/ |
D | _compat.py | 21 unichr = chr variable 50 unichr = unichr variable
|
D | _stringdefs.py | 16 from jinja2._compat import unichr 111 c = unichr(code)
|
/external/harfbuzz_ng/test/shaping/ |
D | hb_test_tools.py | 11 unichr = unichr variable 16 _narrow_unichr = unichr 18 def unichr(i): function 47 unichr = chr variable 458 s = u''.join (unichr (x) for x in Unicode.parse (s)) 496 s = [unichr (int (x, 16)) for x in re.split ('[, \n]', s) if len (x)]
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 16 unichr 20 unichr = chr variable
|
/external/python/cpython2/Lib/json/tests/ |
D | test_scanstring.py | 103 surrogates = unichr(0xd834) + unichr(0xdd20)
|
/external/python/cpython2/Demo/scripts/ |
D | find-uname.py | 27 unicode_names.append((ix, unicodedata.name(unichr(ix))))
|
/external/fonttools/Lib/fontTools/ |
D | unicode.py | 35 return unicodedata.name(unichr(charCode))
|
/external/python/cpython2/Doc/howto/ |
D | unicode.rst | 284 One-character Unicode strings can also be created with the :func:`unichr` 290 >>> unichr(40960) 334 >>> u = unichr(40960) + u'abcd' + unichr(1972) 352 >>> u = unichr(40960) + u'abcd' + unichr(1972) # Assemble a string 399 can also assemble strings using the :func:`unichr` built-in function, but this is 464 u = unichr(233) + unichr(0x0bf2) + unichr(3972) + unichr(6000) + unichr(13231) 734 - [ ] unichr()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | M_E_T_A_.py | 250 uString = uString + unichr(eval('0x' + valStr)) 252 uString = uString + unichr(byteord(string[i]))
|
/external/chromium-trace/catapult/devil/devil/android/perf/ |
D | thermal_throttle.py | 102 degree_symbol = unichr(0x00B0)
|