Home
last modified time | relevance | path

Searched refs:hb_blob_get_empty (Results 1 – 25 of 39) sorted by relevance

12

/aosp_15_r20/external/harfbuzz_ng/test/api/
H A Dtest-blob.c53 g_assert (hb_blob_is_immutable (hb_blob_get_empty ())); in test_blob_empty()
54 g_assert (hb_blob_get_empty () != NULL); in test_blob_empty()
55 g_assert (hb_blob_get_empty () == hb_blob_create (NULL, 0, HB_MEMORY_MODE_READONLY, NULL, NULL)); in test_blob_empty()
56 …g_assert (hb_blob_get_empty () == hb_blob_create ("asdf", 0, HB_MEMORY_MODE_READONLY, NULL, NULL)); in test_blob_empty()
57 g_assert (hb_blob_get_empty () == hb_blob_create (NULL, -1, HB_MEMORY_MODE_READONLY, NULL, NULL)); in test_blob_empty()
58 …g_assert (hb_blob_get_empty () == hb_blob_create ("asdfg", -1, HB_MEMORY_MODE_READONLY, NULL, NULL… in test_blob_empty()
60 blob = hb_blob_get_empty (); in test_blob_empty()
61 g_assert (blob == hb_blob_get_empty ()); in test_blob_empty()
H A Dtest-font.c43 created_from_empty = hb_face_create (hb_blob_get_empty (), 0); in test_face_empty()
49 …(hb_face_reference_table (hb_face_get_empty (), HB_TAG ('h','e','a','d')) == hb_blob_get_empty ()); in test_face_empty()
67 g_assert (hb_face_reference_table (face, HB_TAG ('h','e','a','d')) == hb_blob_get_empty ()); in test_face_create()
91 return hb_blob_get_empty (); in get_table()
106 g_assert (hb_face_reference_table (face, HB_TAG ('h','e','a','d')) == hb_blob_get_empty ()); in test_face_createfortables()
109 g_assert (blob != hb_blob_get_empty ()); in test_face_createfortables()
H A Dtest-instance-cff2.c58 == hb_blob_get_empty ()); in test_instance_cff2()
/aosp_15_r20/external/harfbuzz_ng/src/
H A Dhb-blob.cc79 return hb_blob_get_empty (); in hb_blob_create()
84 return likely (blob) ? blob : hb_blob_get_empty (); in hb_blob_create()
176 return hb_blob_get_empty (); in hb_blob_create_sub_blob()
208 if (unlikely (blob == hb_blob_get_empty ())) in hb_blob_copy_writable_or_fail()
226 hb_blob_get_empty () in hb_blob_get_empty() function
615 return likely (blob) ? blob : hb_blob_get_empty (); in hb_blob_create_from_file()
H A Dhb-face.hh81 return hb_blob_get_empty (); in reference_table()
85 return hb_blob_get_empty (); in reference_table()
H A Dhb-face.cc241 blob = hb_blob_get_empty (); in hb_face_create()
484 return hb_blob_get_empty (); in hb_face_reference_table()
H A Dtest-gpos-size-params.cc33 #define hb_blob_create_from_file_or_fail(x) hb_blob_get_empty ()
H A Dtest-gsub-would-substitute.cc37 #define hb_blob_create_from_file_or_fail(x) hb_blob_get_empty ()
H A Dtest-ot-name.cc31 #define hb_blob_create_from_file_or_fail(x) hb_blob_get_empty ()
H A Dtest-ot-meta.cc29 #define hb_blob_create_from_file_or_fail(x) hb_blob_get_empty ()
H A Dtest-ot-glyphname.cc31 #define hb_blob_create_from_file_or_fail(x) hb_blob_get_empty ()
H A Dhb-gdi.cc66 return hb_blob_get_empty (); in _hb_gdi_reference_table()
H A Dtest.cc34 #define hb_blob_create_from_file_or_fail(x) hb_blob_get_empty ()
H A Dtest-buffer-serialize.cc36 #define hb_blob_create_from_file_or_fail(x) hb_blob_get_empty ()
H A Dhb-blob.h121 hb_blob_get_empty (void);
H A Dhb-ot-color.cc351 hb_blob_t *blob = hb_blob_get_empty (); in hb_ot_color_glyph_reference_png()
H A Dhb-kern.hh56 OT::hb_ot_apply_context_t c (1, font, buffer, hb_blob_get_empty ()); in kern()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Color/sbix/
H A Dsbix.hh100 if (unlikely (!ppem)) return hb_blob_get_empty (); /* To get Null() object out of the way. */ in get_glyph_blob()
112 return hb_blob_get_empty (); in get_glyph_blob()
127 return hb_blob_get_empty (); in get_glyph_blob()
131 return hb_blob_get_empty (); in get_glyph_blob()
244 if (blob == hb_blob_get_empty ()) in paint_glyph()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Color/CBDT/
H A DCBDT.hh901 return hb_blob_get_empty (); in reference_png()
905 return hb_blob_get_empty (); in reference_png()
909 return hb_blob_get_empty (); in reference_png()
916 return hb_blob_get_empty (); in reference_png()
925 return hb_blob_get_empty (); in reference_png()
934 return hb_blob_get_empty (); in reference_png()
940 default: return hb_blob_get_empty (); /* TODO: Support other image formats. */ in reference_png()
952 if (unlikely (blob == hb_blob_get_empty ())) in paint_glyph()
/aosp_15_r20/external/harfbuzz_ng/util/
H A Dhb-fc.cc107 face = hb_face_create (hb_blob_get_empty (), 0); in hb_fc_font_create()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Color/svg/
H A Dsvg.hh104 if (blob == hb_blob_get_empty ()) in paint_glyph()
/aosp_15_r20/external/harfbuzz_ng/src/OT/Layout/GPOS/
H A DSinglePosFormat1.hh160 bool has_fvar = (blob != hb_blob_get_empty ()); in subset()
H A DSinglePosFormat2.hh155 bool has_fvar = (blob != hb_blob_get_empty ()); in compute_effective_format()
H A DPairPosFormat1.hh149 bool has_fvar = (blob != hb_blob_get_empty ()); in subset()
/aosp_15_r20/external/harfbuzz_ng/src/graph/
H A Dserialize.hh230 if (!size) return hb_blob_get_empty (); in serialize()

12