Lines Matching refs:alt_index
26042 + unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift);
26044 + /* If alt_index is MAX_VALUE, randomize feature if it is the rand feature. */
26045 + if (alt_index == HB_OT_MAP_MAX_VALUE && c->random)
26050 + alt_index = c->random_number () % count + 1;
26053 + if (unlikely (alt_index > count || alt_index == 0)) return_trace (false);
26055 + c->replace_glyph (alternates[alt_index - 1]);
35447 - unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift);
35449 - /* If alt_index is MAX_VALUE, randomize feature if it is the rand feature. */
35450 - if (alt_index == HB_OT_MAP_MAX_VALUE && c->random)
35455 - alt_index = c->random_number () % count + 1;
35458 - if (unlikely (alt_index > count || alt_index == 0)) return_trace (false);
35460 - c->replace_glyph (alternates[alt_index - 1]);