• Home
  • Raw
  • Download

Lines Matching refs:table_index

36 			  unsigned int  table_index,  in add_lookups()  argument
45 table_lookup_count = hb_ot_layout_table_get_lookup_count (face, table_tags[table_index]); in add_lookups()
51 table_tags[table_index], in add_lookups()
60 hb_ot_map_t::lookup_map_t *lookup = lookups[table_index].push (); in add_lookups()
90 for (unsigned int table_index = 0; table_index < 2; table_index++) { in hb_ot_map_builder_t() local
91 hb_tag_t table_tag = table_tags[table_index]; in hb_ot_map_builder_t()
92 …cript[table_index] = (bool) hb_ot_layout_table_choose_script (face, table_tag, script_tags, &scrip… in hb_ot_map_builder_t()
93 …ipt_find_language (face, table_tag, script_index[table_index], language_tag, &language_index[table… in hb_ot_map_builder_t()
113 void hb_ot_map_t::collect_lookups (unsigned int table_index, hb_set_t *lookups_out) const in collect_lookups() argument
115 for (unsigned int i = 0; i < lookups[table_index].len; i++) in collect_lookups()
116 hb_set_add (lookups_out, lookups[table_index][i].index); in collect_lookups()
119 void hb_ot_map_builder_t::add_pause (unsigned int table_index, hb_ot_map_t::pause_func_t pause_func) in add_pause() argument
121 stage_info_t *s = stages[table_index].push (); in add_pause()
123 s->index = current_stage[table_index]; in add_pause()
127 current_stage[table_index]++; in add_pause()
143 for (unsigned int table_index = 0; table_index < 2; table_index++) in compile() local
145 m.chosen_script[table_index] = chosen_script[table_index]; in compile()
146 m.found_script[table_index] = found_script[table_index]; in compile()
149 table_tags[table_index], in compile()
150 script_index[table_index], in compile()
151 language_index[table_index], in compile()
152 &required_feature_index[table_index], in compile()
153 &required_feature_tag[table_index]); in compile()
204 for (unsigned int table_index = 0; table_index < 2; table_index++) in compile() local
206 if (required_feature_tag[table_index] == info->tag) in compile()
207 required_feature_stage[table_index] = info->stage[table_index]; in compile()
210 table_tags[table_index], in compile()
211 script_index[table_index], in compile()
212 language_index[table_index], in compile()
214 &feature_index[table_index]); in compile()
218 for (unsigned int table_index = 0; table_index < 2; table_index++) in compile() local
221 table_tags[table_index], in compile()
223 &feature_index[table_index]); in compile()
260 for (unsigned int table_index = 0; table_index < 2; table_index++) in compile() local
266 for (unsigned stage = 0; stage < current_stage[table_index]; stage++) in compile()
268 if (required_feature_index[table_index] != HB_OT_LAYOUT_NO_FEATURE_INDEX && in compile()
269 required_feature_stage[table_index] == stage) in compile()
270 m.add_lookups (face, table_index, in compile()
271 required_feature_index[table_index], in compile()
276 if (m.features[i].stage[table_index] == stage) in compile()
277 m.add_lookups (face, table_index, in compile()
278 m.features[i].index[table_index], in compile()
283 if (last_num_lookups < m.lookups[table_index].len) in compile()
285 m.lookups[table_index].qsort (last_num_lookups, m.lookups[table_index].len); in compile()
288 for (unsigned int i = j + 1; i < m.lookups[table_index].len; i++) in compile()
289 if (m.lookups[table_index][i].index != m.lookups[table_index][j].index) in compile()
290 m.lookups[table_index][++j] = m.lookups[table_index][i]; in compile()
293 m.lookups[table_index][j].mask |= m.lookups[table_index][i].mask; in compile()
294 m.lookups[table_index][j].auto_zwj &= m.lookups[table_index][i].auto_zwj; in compile()
296 m.lookups[table_index].shrink (j + 1); in compile()
299 last_num_lookups = m.lookups[table_index].len; in compile()
301 … if (stage_index < stages[table_index].len && stages[table_index][stage_index].index == stage) { in compile()
302 hb_ot_map_t::stage_map_t *stage_map = m.stages[table_index].push (); in compile()
305 stage_map->pause_func = stages[table_index][stage_index].pause_func; in compile()