Home
last modified time | relevance | path

Searched refs:hb_blob_t (Results 1 – 25 of 72) sorted by relevance

123

/external/harfbuzz_ng/src/
Dhb-blob.h65 typedef struct hb_blob_t hb_blob_t; typedef
67 HB_EXTERN hb_blob_t *
80 HB_EXTERN hb_blob_t *
81 hb_blob_create_sub_blob (hb_blob_t *parent,
85 HB_EXTERN hb_blob_t *
86 hb_blob_copy_writable_or_fail (hb_blob_t *blob);
88 HB_EXTERN hb_blob_t *
91 HB_EXTERN hb_blob_t *
92 hb_blob_reference (hb_blob_t *blob);
95 hb_blob_destroy (hb_blob_t *blob);
[all …]
Dhb-blob.cc72 hb_blob_t *
79 hb_blob_t *blob; in hb_blob_create()
83 !(blob = hb_object_create<hb_blob_t> ())) { in hb_blob_create()
110 hb_blob_destroy ((hb_blob_t *) data); in _hb_blob_destroy()
133 hb_blob_t *
134 hb_blob_create_sub_blob (hb_blob_t *parent, in hb_blob_create_sub_blob()
138 hb_blob_t *blob; in hb_blob_create_sub_blob()
164 hb_blob_t *
165 hb_blob_copy_writable_or_fail (hb_blob_t *blob) in hb_blob_copy_writable_or_fail()
190 hb_blob_t *
[all …]
Dhb-blob.hh39 struct hb_blob_t struct
86 hb_blob_ptr_t (hb_blob_t *b_ = nullptr) : b (b_) {} in hb_blob_ptr_t() argument
87 hb_blob_t * operator = (hb_blob_t *b_) { return b = b_; } in operator =()
93 hb_blob_t * get_blob () const { return b.get_raw (); } in get_blob()
97 hb_nonnull_ptr_t<hb_blob_t> b;
Dhb-face.cc62 hb_face_count (hb_blob_t *blob) in hb_face_count()
69hb_blob_t *sanitized = hb_sanitize_context_t ().sanitize_blob<OT::OpenTypeFontFile> (hb_blob_refer… in hb_face_count()
136 hb_blob_t *blob;
141 _hb_face_for_data_closure_create (hb_blob_t *blob, unsigned int index) in _hb_face_for_data_closure_create()
164 static hb_blob_t *
178 hb_blob_t *blob = hb_blob_create_sub_blob (data->blob, base_offset + table.offset, table.length); in _hb_face_for_data_reference_table()
195 hb_face_create (hb_blob_t *blob, in hb_face_create()
366 hb_blob_t *
383 hb_blob_t *
599 hb_blob_t *blob;
[all …]
Dhb-face.h42 hb_face_count (hb_blob_t *blob);
52 hb_face_create (hb_blob_t *blob,
55 typedef hb_blob_t * (*hb_reference_table_func_t) (hb_face_t *face, hb_tag_t tag, void *user_data);
90 HB_EXTERN hb_blob_t *
94 HB_EXTERN hb_blob_t *
153 hb_blob_t *blob);
Dhb-machinery.hh248 void init (hb_blob_t *b) in init()
400 hb_blob_t *sanitize_blob (hb_blob_t *blob) in sanitize_blob()
467 hb_blob_t *reference_table (const hb_face_t *face, hb_tag_t tableTag = Type::tableTag) in reference_table()
480 hb_blob_t *blob;
643 hb_blob_t *copy_blob () const in copy_blob()
888 hb_blob_t>
890 static hb_blob_t *create (hb_face_t *face) in create()
892 static void destroy (hb_blob_t *p) { hb_blob_destroy (p); } in destroy()
894 static const hb_blob_t *get_null () in get_null()
897 static const T* convert (const hb_blob_t *blob) in convert()
[all …]
Dhb-ot-color-svg-table.hh46 hb_blob_t *reference_blob (hb_blob_t *svg_blob, unsigned int index_offset) const in reference_blob()
86 hb_blob_t *reference_blob_for_glyph (hb_codepoint_t glyph_id) const in reference_blob_for_glyph()
Dhb-subset-glyf.cc231 hb_blob_t **glyf_prime /* OUT */, in _hb_subset_glyf_and_loca()
232 hb_blob_t **loca_prime /* OUT */) in _hb_subset_glyf_and_loca()
291 hb_blob_t **glyf_prime, /* OUT */ in hb_subset_glyf_and_loca()
292 hb_blob_t **loca_prime /* OUT */) in hb_subset_glyf_and_loca()
294 hb_blob_t *glyf_blob = hb_sanitize_context_t ().reference_table<OT::glyf> (plan->source); in hb_subset_glyf_and_loca()
Dhb-ot-color.cc247 hb_blob_t *
287 hb_blob_t *
290 hb_blob_t *blob = hb_blob_get_empty (); in hb_ot_color_glyph_reference_png()
Dhb-subset-glyf.hh37 hb_blob_t **glyf_prime /* OUT */,
38 hb_blob_t **loca_prime /* OUT */);
Dhb-ot-color-sbix-table.hh72 hb_blob_t *get_glyph_blob (unsigned int glyph_id, in get_glyph_blob()
73 hb_blob_t *sbix_blob, in get_glyph_blob()
158 hb_blob_t *reference_png (hb_font_t *font, in reference_png()
233 hb_blob_t *blob = reference_png (font, glyph, &x_offset, &y_offset, &strike_ppem); in get_png_extents()
Dtest-ot-color.cc49 hb_blob_t *blob = hb_ot_color_glyph_reference_svg (face, glyph_id); in svg_dump()
83 hb_blob_t *blob = hb_ot_color_glyph_reference_png (font, sample_glyph_id); in png_dump()
96 hb_blob_t *blob = hb_ot_color_glyph_reference_png (font, sample_glyph_id); in png_dump()
103 hb_blob_t *blob = hb_ot_color_glyph_reference_png (font, glyph_id); in png_dump()
289 hb_blob_t *blob = hb_blob_create_from_file (argv[1]); in main()
Dhb-subset.cc67 hb_blob_t *source_blob = hb_sanitize_context_t ().reference_table<TableType> (plan->source); in _subset2()
99 hb_blob_t *dest_blob = serializer.copy_blob (); in _subset2()
122 hb_blob_t *source_blob = hb_sanitize_context_t ().reference_table<TableType> (plan->source); in _subset()
203 hb_blob_t *source_table = hb_face_reference_table (plan->source, tag); in _subset_table()
Dhb-face.hh70 hb_blob_t *reference_table (hb_tag_t tag) const in reference_table()
72 hb_blob_t *blob; in reference_table()
Dhb-ot-hmtx-table.hh71 hb_blob_t *src_blob = hb_sanitize_context_t ().reference_table<H> (plan->source, H::tableTag); in subset_update_header()
72 hb_blob_t *dest_blob = hb_blob_copy_writable_or_fail (src_blob); in subset_update_header()
175 hb_blob_t *result = hb_blob_create ((const char *)dest, in subset()
203 hb_blob_t *_hea_blob = hb_sanitize_context_t().reference_table<H> (face); in init()
Dhb-ot-color.h123 HB_EXTERN hb_blob_t *
133 HB_EXTERN hb_blob_t *
Dhb-subset-plan.hh81 hb_blob_t *contents) in add_table()
83 hb_blob_t *source_blob = source->reference_table (tag); in add_table()
Dhb-aat-layout.cc153 hb_blob_t *blob) : in hb_aat_apply_context_t()
226 hb_blob_t *morx_blob = font->face->table.morx.get_blob (); in hb_aat_layout_substitute()
235 hb_blob_t *mort_blob = font->face->table.mort.get_blob (); in hb_aat_layout_substitute()
286 hb_blob_t *kerx_blob = font->face->table.kerx.get_blob (); in hb_aat_layout_position()
289 hb_blob_t *ankr_blob = font->face->table.ankr.get_blob ();; in hb_aat_layout_position()
Dhb-ot-maxp-table.hh99 hb_blob_t *maxp_blob = hb_sanitize_context_t().reference_table<maxp> (plan->source); in subset()
100 hb_blob_t *maxp_prime_blob = hb_blob_copy_writable_or_fail (maxp_blob); in subset()
Dhb-ot-glyf-table.hh86 hb_blob_t *glyf_prime = nullptr; in subset()
87 hb_blob_t *loca_prime = nullptr; in subset()
107 hb_blob_t *head_blob = hb_sanitize_context_t ().reference_table<head> (plan->source); in _add_head_and_set_loca_version()
108 hb_blob_t *head_prime_blob = hb_blob_copy_writable_or_fail (head_blob); in _add_head_and_set_loca_version()
/external/harfbuzz_ng/test/api/
Dtest-font.c61 hb_blob_t *blob; in test_face_create()
85 static hb_blob_t *
98 hb_blob_t *blob; in test_face_createfortables()
157 hb_blob_t *blob; in _test_fontfuncs_nil()
262 hb_blob_t *blob; in test_fontfuncs_subclassing()
394 hb_blob_t *blob; in test_fontfuncs_parallels()
464 hb_blob_t *blob; in test_font_properties()
Dtest-subset-vmtx.c34 hb_blob_t *vhea_blob = hb_face_reference_table (face, HB_TAG ('v','h','e','a')); in check_num_vmetrics()
35 hb_blob_t *vmtx_blob = hb_face_reference_table (face, HB_TAG ('v','m','t','x')); in check_num_vmetrics()
Dtest-blob.c48 hb_blob_t *blob; in test_blob_empty()
94 hb_blob_t *blob;
208 hb_blob_t *b = fixture->blob; in test_blob()
267 hb_blob_t *b = fixture->blob; in test_blob_subblob()
Dhb-test.h170 static inline void hb_test_assert_blobs_equal (hb_blob_t *expected_blob, hb_blob_t *actual_blob) in hb_test_assert_blobs_equal()
289 hb_blob_t *blob = hb_blob_create_from_file (path); in hb_test_open_font_file()
/external/harfbuzz_ng/util/
Dhb-subset.cc65 write_file (const char *output_file, hb_blob_t *blob) { in write_file()
99 hb_blob_t *result = hb_face_reference_blob (new_face); in finish()

123