Lines Matching refs:delta
59 delta = (curlen+1) * (char - oldchar)
64 delta += index - oldindex
65 result.append(delta-1)
67 delta = 0
93 def adapt(delta, first, numchars): argument
95 delta //= 700
97 delta //= 2
98 delta += delta // numchars
101 while delta > 455:
102 delta = delta // 35 # base - tmin
104 bias = divisions + (36 * delta // (delta + 38))
113 for points, delta in enumerate(deltas):
114 s = generate_generalized_integer(delta, bias)
116 bias = adapt(delta, points==0, baselen+points+1)
167 newpos, delta = decode_generalized_number(extended, extpos,
169 if delta is None:
173 pos += delta+1
181 bias = adapt(delta, (extpos == 0), len(base))