• Home
  • Raw
  • Download

Lines Matching refs:code

12 def in_table_a1(code):  argument
13 if unicodedata.category(code) != 'Cn': return False
14 c = ord(code)
20 def in_table_b1(code): argument
21 return ord(code) in b1_set
189 def map_table_b3(code): argument
190 r = b3_exceptions.get(ord(code))
192 return code.lower()
206 def in_table_c11(code): argument
207 return code == " "
210 def in_table_c12(code): argument
211 return unicodedata.category(code) == "Zs" and code != " "
213 def in_table_c11_c12(code): argument
214 return unicodedata.category(code) == "Zs"
217 def in_table_c21(code): argument
218 return ord(code) < 128 and unicodedata.category(code) == "Cc"
221 def in_table_c22(code): argument
222 c = ord(code)
224 if unicodedata.category(code) == "Cc": return True
227 def in_table_c21_c22(code): argument
228 return unicodedata.category(code) == "Cc" or \
229 ord(code) in c22_specials
232 def in_table_c3(code): argument
233 return unicodedata.category(code) == "Co"
236 def in_table_c4(code): argument
237 c = ord(code)
240 return (ord(code) & 0xFFFF) in (0xFFFE, 0xFFFF)
243 def in_table_c5(code): argument
244 return unicodedata.category(code) == "Cs"
248 def in_table_c6(code): argument
249 return ord(code) in c6_set
253 def in_table_c7(code): argument
254 return ord(code) in c7_set
258 def in_table_c8(code): argument
259 return ord(code) in c8_set
263 def in_table_c9(code): argument
264 return ord(code) in c9_set
267 def in_table_d1(code): argument
268 return unicodedata.bidirectional(code) in ("R","AL")
271 def in_table_d2(code): argument
272 return unicodedata.bidirectional(code) == "L"