Lines Matching defs:table_index

36 			  unsigned int  table_index,
45 table_lookup_count = hb_ot_layout_table_get_lookup_count (face, table_tags[table_index]);
51 table_tags[table_index],
60 hb_ot_map_t::lookup_map_t *lookup = lookups[table_index].push ();
90 for (unsigned int table_index = 0; table_index < 2; table_index++) {
91 hb_tag_t table_tag = table_tags[table_index];
92 found_script[table_index] = hb_ot_layout_table_choose_script (face, table_tag, script_tags, &script_index[table_index], &chosen_script[table_index]);
93 hb_ot_layout_script_find_language (face, table_tag, script_index[table_index], language_tag, &language_index[table_index]);
113 void hb_ot_map_t::collect_lookups (unsigned int table_index, hb_set_t *lookups_out) const
115 for (unsigned int i = 0; i < lookups[table_index].len; i++)
116 hb_set_add (lookups_out, lookups[table_index][i].index);
119 void hb_ot_map_builder_t::add_pause (unsigned int table_index, hb_ot_map_t::pause_func_t pause_func)
121 stage_info_t *s = stages[table_index].push ();
123 s->index = current_stage[table_index];
127 current_stage[table_index]++;
143 for (unsigned int table_index = 0; table_index < 2; table_index++)
145 m.chosen_script[table_index] = chosen_script[table_index];
146 m.found_script[table_index] = found_script[table_index];
149 table_tags[table_index],
150 script_index[table_index],
151 language_index[table_index],
152 &required_feature_index[table_index],
153 &required_feature_tag[table_index]);
204 for (unsigned int table_index = 0; table_index < 2; table_index++)
206 if (required_feature_tag[table_index] == info->tag)
208 required_feature_stage[table_index] = info->stage[table_index];
213 table_tags[table_index],
214 script_index[table_index],
215 language_index[table_index],
217 &feature_index[table_index]);
253 for (unsigned int table_index = 0; table_index < 2; table_index++)
259 for (unsigned stage = 0; stage < current_stage[table_index]; stage++)
261 if (required_feature_index[table_index] != HB_OT_LAYOUT_NO_FEATURE_INDEX &&
262 required_feature_stage[table_index] == stage)
263 m.add_lookups (face, table_index,
264 required_feature_index[table_index],
269 if (m.features[i].stage[table_index] == stage)
270 m.add_lookups (face, table_index,
271 m.features[i].index[table_index],
276 if (last_num_lookups < m.lookups[table_index].len)
278 m.lookups[table_index].qsort (last_num_lookups, m.lookups[table_index].len);
281 for (unsigned int i = j + 1; i < m.lookups[table_index].len; i++)
282 if (m.lookups[table_index][i].index != m.lookups[table_index][j].index)
283 m.lookups[table_index][++j] = m.lookups[table_index][i];
286 m.lookups[table_index][j].mask |= m.lookups[table_index][i].mask;
287 m.lookups[table_index][j].auto_zwj &= m.lookups[table_index][i].auto_zwj;
289 m.lookups[table_index].shrink (j + 1);
292 last_num_lookups = m.lookups[table_index].len;
294 if (stage_index < stages[table_index].len && stages[table_index][stage_index].index == stage) {
295 hb_ot_map_t::stage_map_t *stage_map = m.stages[table_index].push ();
298 stage_map->pause_func = stages[table_index][stage_index].pause_func;