Lines Matching refs:start
94 for start, end in EMOJI_ZERO_WIDTH:
95 for cp in range(start, end + 1):
100 start, end = REGIONAL_INDICATORS
101 for cp in range(start, end + 1):
153 for start, end in EMOJI_RANGES:
154 for cp in range(start, end + 1):
170 start = points[0]
171 prev = start
175 ranges.append((start, prev))
176 start = cp
180 ranges.append((start, prev))
204 for start, end in ranges:
206 bmp_ranges.append((start, end))
207 elif start > 0xFFFF:
208 non_bmp_ranges.append((start, end))
211 bmp_ranges.append((start, 0xFFFF))
221 def get_code_point_comment(start, end): argument
223 start_char_desc = unicodedata.name(chr(start))
224 if start == end:
230 if start == end:
251 for start, end in zero_width_bmp:
252 comment = get_code_point_comment(start, end)
262 for start, end in zero_width_non_bmp:
263 comment = get_code_point_comment(start, end)
273 for start, end in double_width_bmp:
274 comment = get_code_point_comment(start, end)
284 for start, end in double_width_non_bmp:
285 comment = get_code_point_comment(start, end)
302 zero_width_count = sum(end - start + 1 for start, end in zero_width_ranges)
303 double_width_count = sum(end - start + 1 for start, end in double_width_ranges)