Lines Matching full:extended
14 extended = {}
19 extended[c] = 1
20 extended = extended.keys()
21 extended.sort()
22 return "".join(base).encode("ascii"),extended
50 def insertion_unsort(str, extended): argument
55 for c in extended:
120 base, extended = segregate(text)
122 deltas = insertion_unsort(text, extended)
123 extended = generate_integers(len(base), deltas)
125 return base + "-" + extended
126 return extended
130 def decode_generalized_number(extended, extpos, bias, errors): argument
137 char = ord(extended[extpos])
148 raise UnicodeError("Invalid extended code point '%s'"
149 % extended[extpos])
160 def insertion_sort(base, extended, errors): argument
166 while extpos < len(extended):
167 newpos, delta = decode_generalized_number(extended, extpos,
189 extended = text
192 extended = text[pos+1:]
194 extended = extended.upper()
195 return insertion_sort(base, extended, errors)