Lines Matching refs:lookups
52 hb_ot_map_t::lookup_map_t *lookup = lookups[table_index].push ();
114 lookups[table_index][i].index,
115 lookups[table_index][i].mask,
116 lookups[table_index][i].auto_zwj);
124 for (; i < lookups[table_index].len; i++)
125 hb_ot_layout_substitute_lookup (font, buffer, lookups[table_index][i].index,
126 lookups[table_index][i].mask,
127 lookups[table_index][i].auto_zwj);
138 hb_ot_layout_position_lookup (font, buffer, lookups[table_index][i].index,
139 lookups[table_index][i].mask,
140 lookups[table_index][i].auto_zwj);
146 for (; i < lookups[table_index].len; i++)
147 hb_ot_layout_position_lookup (font, buffer, lookups[table_index][i].index,
148 lookups[table_index][i].mask,
149 lookups[table_index][i].auto_zwj);
154 for (unsigned int i = 0; i < lookups[table_index].len; i++)
155 hb_set_add (lookups_out, lookups[table_index][i].index);
291 /* Sort lookups and merge duplicates */
292 if (last_num_lookups < m.lookups[table_index].len)
294 m.lookups[table_index].sort (last_num_lookups, m.lookups[table_index].len);
297 for (unsigned int i = j + 1; i < m.lookups[table_index].len; i++)
298 if (m.lookups[table_index][i].index != m.lookups[table_index][j].index)
299 m.lookups[table_index][++j] = m.lookups[table_index][i];
302 m.lookups[table_index][j].mask |= m.lookups[table_index][i].mask;
303 m.lookups[table_index][j].auto_zwj &= m.lookups[table_index][i].auto_zwj;
305 m.lookups[table_index].shrink (j + 1);
308 last_num_lookups = m.lookups[table_index].len;