Home
last modified time | relevance | path

Searched refs:unichr (Results 1 – 25 of 88) sorted by relevance

1234

/external/llvm-project/lldb/third_party/Python/module/progress/
Dprogress.py24 light_block = six.unichr(0x2591).encode("utf-8")
25 solid_block = six.unichr(0x2588).encode("utf-8")
26 solid_right_arrow = six.unichr(0x25BA).encode("utf-8")
32 fill=six.unichr(0x25C9).encode("utf-8"),
33 blank=six.unichr(0x25CC).encode("utf-8"),
34 marker=six.unichr(0x25CE).encode("utf-8"),
94 fill=six.unichr(0x25C9).encode("utf-8"),
95 blank=six.unichr(0x25CC).encode("utf-8"),
96 marker=six.unichr(0x25CE).encode("utf-8"),
132 fill=six.unichr(0x25C9).encode("utf-8"),
[all …]
/external/python/cpython2/Doc/library/
Dunicodedata.rst33 .. 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.py18 unichr = chr variable
23 unichr = unichr variable
D__init__.py13 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/
Dstep-04-generate-java-literals.py36 hi.append(unichr(cntr))
43 hi.append(unichr(cntr))
45 hi.append(unichr(cntr))
/external/libchrome/third_party/jinja2/
D_compat.py21 unichr = chr variable
50 unichr = unichr variable
/external/python/cpython2/Tools/unicode/
Dmkstringprep.py8 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:
Dcomparecodecs.py18 u = unichr(i)
Dgencodec.py35 UNI_UNDEFINED = unichr(0xFFFE)
237 mapchar = unichr(mapvalue)
/external/python/cpython2/Lib/test/
Dtest_unicodedata.py28 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()
Dtest_normalization.py36 return u"".join([unichr(x) for x in data])
88 X = unichr(c)
Dtest_multibytecodec.py48 data = 100 * unichr(0xdc00)
235 myunichr = unichr
237 myunichr = lambda x: unichr(0xD7C0+(x>>10)) + unichr(0xDC00+(x&0x3FF))
Dtest_re.py482 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 …]
Dtest_fnmatch.py92 self.check_match(u'test'+unichr(0x20ac), u'te*'+unichr(0x20ac))
Dtest_codecmaps_jp.py22 supmaps.append((chr(i), unichr(i+0xfec0)))
Dtest_builtin.py257 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 …]
/external/python/cpython2/Tools/pybench/
DUnicode.py317 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/harfbuzz_ng/test/shaping/
Dhb_test_tools.py19 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/
Dtest_scanstring.py103 surrogates = unichr(0xd834) + unichr(0xdd20)
/external/python/cpython2/Lib/test/support/
D__init__.py629 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/python/cpython2/Demo/scripts/
Dfind-uname.py27 unicode_names.append((ix, unicodedata.name(unichr(ix))))
/external/llvm-project/lldb/examples/summaries/cocoa/
DCFString.py15 unichr
17 unichr = chr variable
108 pystr = pystr + unichr(value)
/external/capstone/suite/
Dtest_corpus.py116 fout.write(unichr(mc_modes[(arch, mode)]))
/external/python/cpython2/Doc/howto/
Dunicode.rst284 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/misc/
Dpy23.py56 unichr = chr variable

1234