Lines Matching full:_ctoi
48 def _ctoi(c):
56 def isascii(c): return _ctoi(c) <= 127 # ?
57 def isblank(c): return _ctoi(c) in (8,32)
58 def iscntrl(c): return _ctoi(c) <= 31
59 def isdigit(c): return _ctoi(c) >= 48 and _ctoi(c) <= 57
60 def isgraph(c): return _ctoi(c) >= 33 and _ctoi(c) <= 126
61 def islower(c): return _ctoi(c) >= 97 and _ctoi(c) <= 122
62 def isprint(c): return _ctoi(c) >= 32 and _ctoi(c) <= 126
63 def ispunct(c): return _ctoi(c) != 32 and not isalnum(c)
64 def isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)
65 def isupper(c): return _ctoi(c) >= 65 and _ctoi(c) <= 90
67 (_ctoi(c) >= 65 and _ctoi(c) <= 70) or (_ctoi(c) >= 97 and _ctoi(c) <= 102)
68 def isctrl(c): return _ctoi(c) < 32
69 def ismeta(c): return _ctoi(c) > 127
73 return chr(_ctoi(c) & 0x7f)
75 return _ctoi(c) & 0x7f
79 return chr(_ctoi(c) & 0x1f)
81 return _ctoi(c) & 0x1f
85 return chr(_ctoi(c) | 0x80)
87 return _ctoi(c) | 0x80
90 bits = _ctoi(c)