Lines Matching refs:wtable
242 def remove_from_wtable(wtable, val): argument
244 while wtable:
245 if wtable[0][1] < val:
246 wtable_out.append(wtable.pop(0))
247 elif wtable[0][0] > val:
250 (wt_lo, wt_hi, width, width_cjk) = wtable.pop(0)
260 if wtable:
261 wtable_out.extend(wtable)
266 def optimize_width_table(wtable): argument
268 w_this = wtable.pop(0)
269 while wtable:
270 if w_this[1] == wtable[0][0] - 1 and w_this[2:3] == wtable[0][2:3]:
271 w_tmp = wtable.pop(0)
275 w_this = wtable.pop(0)