Home | History | Annotate | Download | only in curses

Lines Matching refs:_ctoi

48 def _ctoi(c):
56 def isascii(c): return 0 <= _ctoi(c) <= 127 # ?
57 def isblank(c): return _ctoi(c) in (9, 32)
58 def iscntrl(c): return 0 <= _ctoi(c) <= 31 or _ctoi(c) == 127
59 def isdigit(c): return 48 <= _ctoi(c) <= 57
60 def isgraph(c): return 33 <= _ctoi(c) <= 126
61 def islower(c): return 97 <= _ctoi(c) <= 122
62 def isprint(c): return 32 <= _ctoi(c) <= 126
64 def isspace(c): return _ctoi(c) in (9, 10, 11, 12, 13, 32)
65 def isupper(c): return 65 <= _ctoi(c) <= 90
67 (65 <= _ctoi(c) <= 70) or (97 <= _ctoi(c) <= 102)
68 def isctrl(c): return 0 <= _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)