Lines Matching full:extended
13 extended = set()
18 extended.add(c)
19 extended = sorted(extended)
20 return bytes(base), extended
48 def insertion_unsort(str, extended): argument
53 for c in extended:
118 base, extended = segregate(text)
119 deltas = insertion_unsort(text, extended)
120 extended = generate_integers(len(base), deltas)
122 return base + b"-" + extended
123 return extended
127 def decode_generalized_number(extended, extpos, bias, errors): argument
134 char = ord(extended[extpos])
145 raise UnicodeError("Invalid extended code point '%s'"
146 % extended[extpos-1])
157 def insertion_sort(base, extended, errors): argument
163 while extpos < len(extended):
164 newpos, delta = decode_generalized_number(extended, extpos,
190 extended = str(text, "ascii").upper()
193 extended = str(text[pos+1:], "ascii").upper()
194 return insertion_sort(base, extended, errors)