Lines Matching refs:idx
86 def get_abbr(idx):
87 # Gets a string starting at idx and running until the next \x00
94 # Where the idx to abbr mapping should be:
97 if idx not in abbr_vals:
98 span_end = abbr_chars.find(b"\x00", idx)
99 abbr_vals[idx] = abbr_chars[idx:span_end].decode()
101 return abbr_vals[idx]
103 abbr = tuple(get_abbr(idx) for idx in abbrind)