• Home
  • Raw
  • Download

Lines Matching refs:input

43   hb_subset_input_t *input = hb_object_create<hb_subset_input_t>();  in hb_subset_input_create_or_fail()  local
45 if (unlikely (!input)) in hb_subset_input_create_or_fail()
48 for (auto& set : input->sets_iter ()) in hb_subset_input_create_or_fail()
51 input->axes_location = hb_hashmap_create<hb_tag_t, float> (); in hb_subset_input_create_or_fail()
53 input->name_table_overrides = hb_hashmap_create<hb_ot_name_record_ids_t, hb_bytes_t> (); in hb_subset_input_create_or_fail()
56 if (!input->axes_location || in hb_subset_input_create_or_fail()
58 !input->name_table_overrides || in hb_subset_input_create_or_fail()
60 input->in_error ()) in hb_subset_input_create_or_fail()
62 hb_subset_input_destroy (input); in hb_subset_input_create_or_fail()
66 input->flags = HB_SUBSET_FLAGS_DEFAULT; in hb_subset_input_create_or_fail()
68 hb_set_add_range (input->sets.name_ids, 0, 6); in hb_subset_input_create_or_fail()
69 hb_set_add (input->sets.name_languages, 0x0409); in hb_subset_input_create_or_fail()
95 input->sets.drop_tables->add_array (default_drop_tables, ARRAY_LENGTH (default_drop_tables)); in hb_subset_input_create_or_fail()
108 input->sets.no_subset_tables->add_array (default_no_subset_tables, in hb_subset_input_create_or_fail()
211input->sets.layout_features->add_array (default_layout_features, ARRAY_LENGTH (default_layout_feat… in hb_subset_input_create_or_fail()
213 input->sets.layout_scripts->invert (); // Default to all scripts. in hb_subset_input_create_or_fail()
215 if (input->in_error ()) in hb_subset_input_create_or_fail()
217 hb_subset_input_destroy (input); in hb_subset_input_create_or_fail()
220 return input; in hb_subset_input_create_or_fail()
234 hb_subset_input_reference (hb_subset_input_t *input) in hb_subset_input_reference() argument
236 return hb_object_reference (input); in hb_subset_input_reference()
249 hb_subset_input_destroy (hb_subset_input_t *input) in hb_subset_input_destroy() argument
251 if (!hb_object_destroy (input)) return; in hb_subset_input_destroy()
253 for (hb_set_t* set : input->sets_iter ()) in hb_subset_input_destroy()
256 hb_hashmap_destroy (input->axes_location); in hb_subset_input_destroy()
259 if (input->name_table_overrides) in hb_subset_input_destroy()
261 for (auto _ : *input->name_table_overrides) in hb_subset_input_destroy()
264 hb_hashmap_destroy (input->name_table_overrides); in hb_subset_input_destroy()
267 hb_free (input); in hb_subset_input_destroy()
283 hb_subset_input_unicode_set (hb_subset_input_t *input) in hb_subset_input_unicode_set() argument
285 return input->sets.unicodes; in hb_subset_input_unicode_set()
300 hb_subset_input_glyph_set (hb_subset_input_t *input) in hb_subset_input_glyph_set() argument
302 return input->sets.glyphs; in hb_subset_input_glyph_set()
317 hb_subset_input_set (hb_subset_input_t *input, hb_subset_sets_t set_type) in hb_subset_input_set() argument
319 return input->sets_iter () [set_type]; in hb_subset_input_set()
333 hb_subset_input_get_flags (hb_subset_input_t *input) in hb_subset_input_get_flags() argument
335 return (hb_subset_flags_t) input->flags; in hb_subset_input_get_flags()
349 hb_subset_input_set_flags (hb_subset_input_t *input, in hb_subset_input_set_flags() argument
352 input->flags = (hb_subset_flags_t) value; in hb_subset_input_set_flags()
370 hb_subset_input_set_user_data (hb_subset_input_t *input, in hb_subset_input_set_user_data() argument
376 return hb_object_set_user_data (input, key, data, destroy, replace); in hb_subset_input_set_user_data()
392 hb_subset_input_get_user_data (const hb_subset_input_t *input, in hb_subset_input_get_user_data() argument
395 return hb_object_get_user_data (input, key); in hb_subset_input_get_user_data()
414 hb_subset_input_pin_axis_to_default (hb_subset_input_t *input, in hb_subset_input_pin_axis_to_default() argument
422 return input->axes_location->set (axis_tag, axis_info.default_value); in hb_subset_input_pin_axis_to_default()
441 hb_subset_input_pin_axis_location (hb_subset_input_t *input, in hb_subset_input_pin_axis_location() argument
451 return input->axes_location->set (axis_tag, val); in hb_subset_input_pin_axis_location()
479 hb_subset_input_t* input = hb_subset_input_create_or_fail (); in hb_subset_preprocess() local
480 if (!input) in hb_subset_preprocess()
483 hb_set_clear (hb_subset_input_set(input, HB_SUBSET_SETS_UNICODE)); in hb_subset_preprocess()
484 hb_set_invert (hb_subset_input_set(input, HB_SUBSET_SETS_UNICODE)); in hb_subset_preprocess()
486 hb_set_clear (hb_subset_input_set(input, HB_SUBSET_SETS_GLYPH_INDEX)); in hb_subset_preprocess()
487 hb_set_invert (hb_subset_input_set(input, HB_SUBSET_SETS_GLYPH_INDEX)); in hb_subset_preprocess()
489 hb_set_clear (hb_subset_input_set(input, in hb_subset_preprocess()
491 hb_set_invert (hb_subset_input_set(input, in hb_subset_preprocess()
494 hb_set_clear (hb_subset_input_set(input, in hb_subset_preprocess()
496 hb_set_invert (hb_subset_input_set(input, in hb_subset_preprocess()
499 hb_set_clear (hb_subset_input_set(input, in hb_subset_preprocess()
501 hb_set_invert (hb_subset_input_set(input, in hb_subset_preprocess()
504 hb_set_clear (hb_subset_input_set(input, in hb_subset_preprocess()
506 hb_set_invert (hb_subset_input_set(input, in hb_subset_preprocess()
509 hb_subset_input_set_flags(input, in hb_subset_preprocess()
514 input->attach_accelerator_data = true; in hb_subset_preprocess()
519 input->force_long_loca = true; in hb_subset_preprocess()
521 hb_face_t* new_source = hb_subset_or_fail (source, input); in hb_subset_preprocess()
522 hb_subset_input_destroy (input); in hb_subset_preprocess()
553 hb_subset_input_override_name_table (hb_subset_input_t *input, in hb_subset_input_override_name_table() argument
596input->name_table_overrides->set (hb_ot_name_record_ids_t (platform_id, encoding_id, language_id, … in hb_subset_input_override_name_table()