Home
last modified time | relevance | path

Searched refs:code_point (Results 1 – 10 of 10) sorted by relevance

/localedata/unicode-gen/
A Dunicode_utils.py259 return (to_lower(code_point) != code_point
269 return (to_upper(code_point) != code_point
306 return (code_point >= 0x0030 and code_point <= 0x0039)
430 if (to_upper(code_point) != code_point
440 if (to_lower(code_point) != code_point
450 if ((is_lower(code_point) or is_upper(code_point))
456 if (is_alpha(code_point) and is_cntrl(code_point)):
459 if (is_alpha(code_point) and is_digit(code_point)):
462 if (is_alpha(code_point) and is_punct(code_point)):
465 if (is_alpha(code_point) and is_space(code_point)):
[all …]
A Dctype_compatibility.py290 for code_point in range(0, 0x110000):
294 and code_point != ctype_dict2['toupper'][code_point]
309 and code_point != ctype_dict2['tolower'][code_point]
329 'cp': hex(code_point)
339 'cp': hex(code_point)
347 'cp': hex(code_point)
355 'cp': hex(code_point)
363 'cp': hex(code_point)
374 'cp': hex(code_point)
382 'cp': hex(code_point)
[all …]
A Dgen_translit_combining.py88 def is_combining_remove(code_point): argument
100 if not unicode_utils.is_combining(code_point):
102 name = unicode_utils.UNICODE_ATTRIBUTES[code_point]['name']
181 def canonical_decompose(code_point): argument
203 name = unicode_utils.UNICODE_ATTRIBUTES[code_point]['name']
215 code_point]['decomposition']
338 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
340 if is_combining_remove(code_point):
343 unicode_utils.ucs_symbol(code_point)))
352 if special_decompose([code_point]) != [code_point]:
[all …]
A Dgen_translit_compat.py87 def compatibility_decompose(code_point): argument
115 code_point]['decomposition']
159 def special_ligature_decompose(code_point): argument
220 if code_point in special_ligature_decompose_dict:
221 return special_ligature_decompose_dict[code_point]
223 return [code_point]
232 if special_decompose([code_point]) != [code_point]:
256 unicode_utils.ucs_symbol(code_point)))
268 if decomposed_code_points[0] != code_point:
271 unicode_utils.ucs_symbol(code_point)))
[all …]
A Dgen_unicode_ctype.py45 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
46 if is_class_function(code_point):
48 and cp_ranges[-1][-1] == code_point - 1):
50 cp_ranges[-1].append(code_point)
52 cp_ranges[-1][-1] = code_point
54 cp_ranges.append([code_point])
107 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
108 mapped = map_function(code_point)
109 if code_point != mapped:
113 + unicode_utils.ucs_symbol(code_point) \
A Dgen_translit_cjk_compat.py116 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
117 name = unicode_utils.UNICODE_ATTRIBUTES[code_point]['name']
119 code_point]['decomposition']
144 unicode_utils.ucs_symbol(code_point)))
156 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
157 name = unicode_utils.UNICODE_ATTRIBUTES[code_point]['name']
159 code_point]['decomposition']
166 code_point, name, decomposition))
170 unicode_utils.ucs_symbol(code_point)))
A Dgen_translit_circle.py89 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
90 name = unicode_utils.UNICODE_ATTRIBUTES[code_point]['name']
92 code_point]['decomposition']
99 unicode_utils.ucs_symbol(code_point)))
A Dgen_translit_font.py89 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
90 name = unicode_utils.UNICODE_ATTRIBUTES[code_point]['name']
92 code_point]['decomposition']
99 unicode_utils.ucs_symbol(code_point)))
A Dgen_translit_fraction.py109 for code_point in sorted(unicode_utils.UNICODE_ATTRIBUTES):
110 name = unicode_utils.UNICODE_ATTRIBUTES[code_point]['name']
112 code_point]['decomposition']
140 unicode_utils.ucs_symbol(code_point)))
A Dutf8_gen.py170 def convert_to_hex(code_point): argument
184 if code_point in surrogates:
185 return surrogates[code_point]
187 '/x{:02x}'.format(c) for c in chr(code_point).encode('UTF-8')

Completed in 13 milliseconds