Lines Matching refs:index
118 static inline u16 make_pair(size_t offset, size_t len, size_t index)
120 return ((offset - 1) << (12 - index)) |
121 ((len - 3) & (((1 << (12 - index)) - 1)));
124 static inline size_t parse_pair(u16 pair, size_t *offset, size_t index)
126 *offset = 1 + (pair >> (12 - index));
127 return 3 + (pair & ((1 << (12 - index)) - 1));
233 size_t index = 0;
239 /* Correct index */
240 while (unc + s_max_off[index] < up)
241 index += 1;
262 length = parse_pair(pair, &offset, index);