Lines Matching refs:delta
57 delta = (curlen+1) * (char - oldchar)
62 delta += index - oldindex
63 result.append(delta-1)
65 delta = 0
91 def adapt(delta, first, numchars): argument
93 delta //= 700
95 delta //= 2
96 delta += delta // numchars
99 while delta > 455:
100 delta = delta // 35 # base - tmin
102 bias = divisions + (36 * delta // (delta + 38))
111 for points, delta in enumerate(deltas):
112 s = generate_generalized_integer(delta, bias)
114 bias = adapt(delta, points==0, baselen+points+1)
164 newpos, delta = decode_generalized_number(extended, extpos,
166 if delta is None:
170 pos += delta+1
178 bias = adapt(delta, (extpos == 0), len(base))