Searched defs:unicodedata (Results 26 - 35 of 35) sorted by relevance

12

/external/python/cpython3/Lib/test/
H A Dtest_codeccallbacks.py5 import unicodedata namespace
123 l.append(unicodedata.name(c, "0x%x" % ord(c)))
H A Dtest_inspect.py18 import unicodedata namespace
553 # unicodedata is not an external module, or on pypy.
554 @unittest.skipIf(not hasattr(unicodedata, '__file__') or
555 unicodedata.__file__.endswith('.py'),
556 "unicodedata is not an external binary module")
558 self.assertRaises(OSError, inspect.getsource, unicodedata)
559 self.assertRaises(OSError, inspect.findsource, unicodedata)
/external/scapy/scapy/tools/
H A DUTscapy.py225 import json, unicodedata namespace
/external/python/cpython2/Lib/test/
H A Dtest_inspect.py21 import unicodedata namespace
23 unicodedata = None variable
409 not hasattr(unicodedata, '__file__') or
410 unicodedata.__file__[-4:] in (".pyc", ".pyo"),
411 "unicodedata is not an external binary module")
413 self.assertRaises(IOError, inspect.getsource, unicodedata)
414 self.assertRaises(IOError, inspect.findsource, unicodedata)
/external/python/cpython3/Tools/gdb/
H A Dlibpython.py1129 import unicodedata namespace
1130 return unicodedata.category(char) not in ("C", "Z")
/external/compiler-rt/lib/sanitizer_common/scripts/
H A Dcpplint.py87 import unicodedata namespace
2782 for uc in unicodedata.normalize('NFC', line):
2783 if unicodedata.east_asian_width(uc) in ('W', 'F'):
2785 elif not unicodedata.combining(uc):
/external/google-styleguide/cpplint/
H A Dcpplint.py53 import unicodedata namespace
4285 for uc in unicodedata.normalize('NFC', line):
4286 if unicodedata.east_asian_width(uc) in ('W', 'F'):
4288 elif not unicodedata.combining(uc):
/external/libvpx/libvpx/tools/
H A Dcpplint.py53 import unicodedata namespace
3338 for uc in unicodedata.normalize('NFC', line):
3339 if unicodedata.east_asian_width(uc) in ('W', 'F'):
3341 elif not unicodedata.combining(uc):
/external/selinux/python/sepolicy/sepolicy/
H A Dgui.py44 import unicodedata namespace
/external/python/cpython3/Lib/test/support/
H A D__init__.py850 import unicodedata namespace
851 TESTFN_UNICODE = unicodedata.normalize('NFD', TESTFN_UNICODE)

Completed in 553 milliseconds

12