| /third_party/skia/third_party/externals/harfbuzz/test/api/ |
| H A D | test-subset-cff1.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_cff1_noop() local 39 hb_set_add (codepoints, 'a'); in test_subset_cff1_noop() 40 hb_set_add (codepoints, 'b'); in test_subset_cff1_noop() 41 hb_set_add (codepoints, 'c'); in test_subset_cff1_noop() 42 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_cff1_noop() 43 hb_set_destroy (codepoints); in test_subset_cff1_noop() 57 hb_set_t *codepoints = hb_set_create (); in test_subset_cff1() local 59 hb_set_add (codepoints, 'a'); in test_subset_cff1() 60 hb_set_add (codepoints, 'c'); in test_subset_cff1() 61 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_cff1() 77 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_strip_hints() local 100 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_desubr() local 123 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_desubr_strip_hints() local 147 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_j() local 167 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_j_strip_hints() local 190 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_j_desubr() local 213 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_j_desubr_strip_hints() local 237 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_expert() local 259 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_seac() local 277 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_dotsection() local 299 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_retaingids() local 322 hb_set_t *codepoints = hb_set_create (); test_subset_cff1_j_retaingids() local [all...] |
| H A D | test-subset-cmap.c | 38 hb_set_t *codepoints = hb_set_create (); in test_subset_cmap() local 40 hb_set_add (codepoints, 97); in test_subset_cmap() 41 hb_set_add (codepoints, 99); in test_subset_cmap() 42 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_cmap() 43 hb_set_destroy (codepoints); in test_subset_cmap() 57 hb_set_t *codepoints = hb_set_create (); in test_subset_cmap_non_consecutive_glyphs() local 59 hb_set_add (codepoints, 0xD7); in test_subset_cmap_non_consecutive_glyphs() 60 hb_set_add (codepoints, 0xD8); in test_subset_cmap_non_consecutive_glyphs() 61 hb_set_add (codepoints, 0xD9); in test_subset_cmap_non_consecutive_glyphs() 62 hb_set_add (codepoints, in test_subset_cmap_non_consecutive_glyphs() 79 hb_set_t *codepoints = hb_set_create(); test_subset_cmap_noop() local 99 hb_set_t *codepoints = hb_set_create (); test_subset_cmap4_no_exceeding_maximum_codepoint() local 122 hb_set_t *codepoints = hb_set_create (); test_subset_cmap_empty_tables() local 141 hb_set_t *codepoints = hb_set_create (); test_subset_cmap_noto_color_emoji_noop() local 163 hb_set_t *codepoints = hb_set_create (); test_subset_cmap_noto_color_emoji_non_consecutive_glyphs() local [all...] |
| H A D | test-subset-hvar.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_map_HVAR_noop() local 39 hb_set_add (codepoints, 'a'); in test_subset_map_HVAR_noop() 40 hb_set_add (codepoints, 'b'); in test_subset_map_HVAR_noop() 41 hb_set_add (codepoints, 'c'); in test_subset_map_HVAR_noop() 42 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_map_HVAR_noop() 43 hb_set_destroy (codepoints); in test_subset_map_HVAR_noop() 57 hb_set_t *codepoints = hb_set_create (); in test_subset_map_HVAR() local 59 hb_set_add (codepoints, 'a'); in test_subset_map_HVAR() 60 hb_set_add (codepoints, 'c'); in test_subset_map_HVAR() 61 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_map_HVAR() 77 hb_set_t *codepoints = hb_set_create (); test_subset_map_HVAR_retaingids() local 99 hb_set_t *codepoints = hb_set_create (); test_subset_map_modHVAR() local 118 hb_set_t *codepoints = hb_set_create (); test_subset_identity_HVAR_noop() local 138 hb_set_t *codepoints = hb_set_create (); test_subset_identity_HVAR() local 158 hb_set_t *codepoints = hb_set_create (); test_subset_identity_HVAR_retaingids() local [all...] |
| H A D | test-subset-glyf.c | 66 hb_set_t *codepoints = hb_set_create(); in test_subset_glyf() local 68 hb_set_add (codepoints, 97); in test_subset_glyf() 69 hb_set_add (codepoints, 99); in test_subset_glyf() 70 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_glyf() 71 hb_set_destroy (codepoints); in test_subset_glyf() 88 hb_set_t *codepoints = hb_set_create(); in test_subset_glyf_set_overlaps_flag() local 90 hb_set_add (codepoints, 32); in test_subset_glyf_set_overlaps_flag() 91 hb_set_add (codepoints, 98); in test_subset_glyf_set_overlaps_flag() 92 hb_set_add (codepoints, 508); in test_subset_glyf_set_overlaps_flag() 94 hb_subset_input_t* input = hb_subset_test_create_input (codepoints); in test_subset_glyf_set_overlaps_flag() 136 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_with_components() local 159 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_with_gsub() local 188 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_without_gsub() local 214 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_noop() local 236 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_strip_hints_simple() local 261 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_strip_hints_composite() local 285 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_strip_hints_invalid() local 317 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_retain_gids() local 342 hb_set_t *codepoints = hb_set_create(); test_subset_glyf_retain_gids_truncates() local [all...] |
| H A D | test-subset-cff2.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_cff2_noop() local 39 hb_set_add (codepoints, 'a'); in test_subset_cff2_noop() 40 hb_set_add (codepoints, 'b'); in test_subset_cff2_noop() 41 hb_set_add (codepoints, 'c'); in test_subset_cff2_noop() 42 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_cff2_noop() 43 hb_set_destroy (codepoints); in test_subset_cff2_noop() 57 hb_set_t *codepoints = hb_set_create (); in test_subset_cff2() local 59 hb_set_add (codepoints, 'a'); in test_subset_cff2() 60 hb_set_add (codepoints, 'c'); in test_subset_cff2() 61 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_cff2() 77 hb_set_t *codepoints = hb_set_create (); test_subset_cff2_strip_hints() local 100 hb_set_t *codepoints = hb_set_create (); test_subset_cff2_desubr() local 123 hb_set_t *codepoints = hb_set_create (); test_subset_cff2_desubr_strip_hints() local 147 hb_set_t *codepoints = hb_set_create (); test_subset_cff2_retaingids() local [all...] |
| H A D | test-subset-cbdt.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_cbdt_noop() local 39 hb_set_add (codepoints, 0x38); in test_subset_cbdt_noop() 40 hb_set_add (codepoints, 0x39); in test_subset_cbdt_noop() 41 hb_set_add (codepoints, 0xAE); in test_subset_cbdt_noop() 42 hb_set_add (codepoints, 0x2049); in test_subset_cbdt_noop() 43 hb_set_add (codepoints, 0x20E3); in test_subset_cbdt_noop() 44 face_subset = hb_subset_test_create_subset (face, hb_subset_test_create_input (codepoints)); in test_subset_cbdt_noop() 45 hb_set_destroy (codepoints); in test_subset_cbdt_noop() 60 hb_set_t *codepoints = hb_set_create (); in test_subset_cbdt_keep_one() local 62 hb_set_add (codepoints, in test_subset_cbdt_keep_one() 80 hb_set_t *codepoints = hb_set_create (); test_subset_cbdt_keep_one_last_subtable() local 100 hb_set_t *codepoints = hb_set_create (); test_subset_cbdt_keep_multiple_subtables() local 122 hb_set_t *codepoints = hb_set_create (); test_subset_cbdt_index_format_3() local [all...] |
| H A D | test-collect-unicodes.c | 34 hb_set_t *codepoints = hb_set_create(); in test_collect_unicodes_format4() local 37 hb_face_collect_unicodes (face, codepoints); in test_collect_unicodes_format4() 40 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 42 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 44 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 46 g_assert (!hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4() 48 hb_set_destroy (codepoints); in test_collect_unicodes_format4() 56 hb_set_t *codepoints = hb_set_create(); in test_collect_unicodes_format12_notdef() local 59 hb_face_collect_unicodes (face, codepoints); in test_collect_unicodes_format12_notdef() 62 g_assert (hb_set_next (codepoints, in test_collect_unicodes_format12_notdef() 77 hb_set_t *codepoints = hb_set_create(); test_collect_unicodes_format12() local 99 hb_set_t *codepoints = hb_set_create(); test_collect_unicodes() local [all...] |
| H A D | test-subset-hmtx.c | 53 hb_set_t *codepoints = hb_set_create (); in test_subset_hmtx_simple_subset() local 55 hb_set_add (codepoints, 'a'); in test_subset_hmtx_simple_subset() 56 hb_set_add (codepoints, 'c'); in test_subset_hmtx_simple_subset() 57 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_hmtx_simple_subset() 58 hb_set_destroy (codepoints); in test_subset_hmtx_simple_subset() 75 hb_set_t *codepoints = hb_set_create (); in test_subset_hmtx_monospace() local 77 hb_set_add (codepoints, 'a'); in test_subset_hmtx_monospace() 78 hb_set_add (codepoints, 'c'); in test_subset_hmtx_monospace() 79 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_hmtx_monospace() 80 hb_set_destroy (codepoints); in test_subset_hmtx_monospace() 97 hb_set_t *codepoints = hb_set_create (); test_subset_hmtx_keep_num_metrics() local 118 hb_set_t *codepoints = hb_set_create (); test_subset_hmtx_decrease_num_metrics() local 138 hb_set_t *codepoints = hb_set_create(); test_subset_hmtx_noop() local 160 hb_set_t *codepoints = hb_subset_input_unicode_set (input); test_subset_invalid_hmtx() local [all...] |
| H A D | test-subset-colr.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_colr_noop() local 39 hb_set_add (codepoints, '2'); in test_subset_colr_noop() 40 hb_set_add (codepoints, 0x3297); in test_subset_colr_noop() 41 hb_set_add (codepoints, 0x3299); in test_subset_colr_noop() 42 face_subset = hb_subset_test_create_subset (face, hb_subset_test_create_input (codepoints)); in test_subset_colr_noop() 43 hb_set_destroy (codepoints); in test_subset_colr_noop() 57 hb_set_t *codepoints = hb_set_create (); in test_subset_colr_keep_one_colr_glyph() local 59 hb_set_add (codepoints, 0x3297); in test_subset_colr_keep_one_colr_glyph() 60 face_subset = hb_subset_test_create_subset (face, hb_subset_test_create_input (codepoints)); in test_subset_colr_keep_one_colr_glyph() 61 hb_set_destroy (codepoints); in test_subset_colr_keep_one_colr_glyph() 76 hb_set_t *codepoints = hb_set_create (); test_subset_colr_keep_mixed_glyph() local 96 hb_set_t *codepoints = hb_set_create (); test_subset_colr_keep_no_colr_glyph() local [all...] |
| H A D | test-subset-hdmx.c | 39 hb_set_t *codepoints = hb_set_create (); in test_subset_hdmx_simple_subset() local 41 hb_set_add (codepoints, 'a'); in test_subset_hdmx_simple_subset() 42 hb_set_add (codepoints, 'c'); in test_subset_hdmx_simple_subset() 43 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_hdmx_simple_subset() 44 hb_set_destroy (codepoints); in test_subset_hdmx_simple_subset() 59 hb_set_t *codepoints = hb_set_create (); in test_subset_hdmx_multiple_device_records() local 61 hb_set_add (codepoints, 'a'); in test_subset_hdmx_multiple_device_records() 62 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_hdmx_multiple_device_records() 63 hb_set_destroy (codepoints); in test_subset_hdmx_multiple_device_records() 78 hb_set_t *codepoints in test_subset_hdmx_invalid() local 98 hb_set_t *codepoints = hb_set_create(); test_subset_hdmx_noop() local [all...] |
| H A D | test-subset-gvar.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_gvar_noop() local 39 hb_set_add (codepoints, 'a'); in test_subset_gvar_noop() 40 hb_set_add (codepoints, 'b'); in test_subset_gvar_noop() 41 hb_set_add (codepoints, 'c'); in test_subset_gvar_noop() 42 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_gvar_noop() 43 hb_set_destroy (codepoints); in test_subset_gvar_noop() 57 hb_set_t *codepoints = hb_set_create (); in test_subset_gvar() local 59 hb_set_add (codepoints, 'a'); in test_subset_gvar() 60 hb_set_add (codepoints, 'c'); in test_subset_gvar() 61 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_gvar() 77 hb_set_t *codepoints = hb_set_create (); test_subset_gvar_retaingids() local [all...] |
| H A D | test-subset-vvar.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_VVAR_noop() local 39 hb_set_add (codepoints, 'a'); in test_subset_VVAR_noop() 40 hb_set_add (codepoints, 'b'); in test_subset_VVAR_noop() 41 hb_set_add (codepoints, 'c'); in test_subset_VVAR_noop() 42 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_VVAR_noop() 43 hb_set_destroy (codepoints); in test_subset_VVAR_noop() 57 hb_set_t *codepoints = hb_set_create (); in test_subset_VVAR() local 59 hb_set_add (codepoints, 'a'); in test_subset_VVAR() 60 hb_set_add (codepoints, 'c'); in test_subset_VVAR() 61 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_VVAR() 77 hb_set_t *codepoints = hb_set_create (); test_subset_VVAR_retaingids() local [all...] |
| H A D | test-subset-vmtx.c | 53 hb_set_t *codepoints = hb_set_create (); in test_subset_vmtx_simple_subset() local 54 hb_set_add (codepoints, 0x660E); in test_subset_vmtx_simple_subset() 56 face_full_subset = hb_subset_test_create_subset (face_full, hb_subset_test_create_input (codepoints)); in test_subset_vmtx_simple_subset() 57 hb_set_destroy (codepoints); in test_subset_vmtx_simple_subset() 73 hb_set_t *codepoints = hb_set_create(); in test_subset_vmtx_noop() local 74 hb_set_add (codepoints, 0x660E); in test_subset_vmtx_noop() 75 hb_set_add (codepoints, 0x6975); in test_subset_vmtx_noop() 76 hb_set_add (codepoints, 0x73E0); in test_subset_vmtx_noop() 77 hb_set_add (codepoints, 0x5EA6); in test_subset_vmtx_noop() 78 hb_set_add (codepoints, in test_subset_vmtx_noop() [all...] |
| H A D | test-subset-gpos.c | 38 hb_set_t *codepoints = hb_set_create (); in test_subset_gpos_lookup_subtable() local 40 hb_set_add (codepoints, 'a'); in test_subset_gpos_lookup_subtable() 41 hb_set_add (codepoints, 'w'); in test_subset_gpos_lookup_subtable() 43 hb_subset_input_t *input = hb_subset_test_create_input (codepoints); in test_subset_gpos_lookup_subtable() 49 hb_set_destroy (codepoints); in test_subset_gpos_lookup_subtable() 64 hb_set_t *codepoints = hb_set_create (); in test_subset_gpos_pairpos1_vf() local 66 hb_set_add (codepoints, 'W'); in test_subset_gpos_pairpos1_vf() 67 hb_set_add (codepoints, 'A'); in test_subset_gpos_pairpos1_vf() 69 hb_subset_input_t *input = hb_subset_test_create_input (codepoints); in test_subset_gpos_pairpos1_vf() 75 hb_set_destroy (codepoints); in test_subset_gpos_pairpos1_vf() [all...] |
| H A D | test-subset-sbix.c | 37 hb_set_t *codepoints = hb_set_create (); in test_subset_sbix_noop() local 39 hb_set_add (codepoints, 88); in test_subset_sbix_noop() 40 hb_set_add (codepoints, 89); in test_subset_sbix_noop() 41 face_XY_subset = hb_subset_test_create_subset (face_XY, hb_subset_test_create_input (codepoints)); in test_subset_sbix_noop() 42 hb_set_destroy (codepoints); in test_subset_sbix_noop() 56 hb_set_t *codepoints = hb_set_create (); in test_subset_sbix_keep_one() local 58 hb_set_add (codepoints, 88); in test_subset_sbix_keep_one() 59 face_X_subset = hb_subset_test_create_subset (face_XY, hb_subset_test_create_input (codepoints)); in test_subset_sbix_keep_one() 60 hb_set_destroy (codepoints); in test_subset_sbix_keep_one() 69 // TODO: add a test that doesn't use contiguous codepoints [all...] |
| H A D | test-subset.c | 38 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in test_subset_32_tables() local 41 hb_set_add (codepoints, 'a'); in test_subset_32_tables() 42 hb_set_add (codepoints, 'b'); in test_subset_32_tables() 43 hb_set_add (codepoints, 'c'); in test_subset_32_tables() 60 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in test_subset_no_inf_loop() local 63 hb_set_add (codepoints, 'a'); in test_subset_no_inf_loop() 64 hb_set_add (codepoints, 'b'); in test_subset_no_inf_loop() 65 hb_set_add (codepoints, 'c'); in test_subset_no_inf_loop() 81 hb_set_t *codepoints = hb_subset_input_unicode_set (input); in test_subset_crash() local 84 hb_set_add (codepoints, ' in test_subset_crash() [all...] |
| H A D | test-subset-drop-tables.c | 37 hb_set_t *codepoints = hb_set_create(); in test_subset_drop_tables() local 38 hb_set_add (codepoints, 97); in test_subset_drop_tables() 39 hb_set_add (codepoints, 99); in test_subset_drop_tables() 40 hb_subset_input_t *input = hb_subset_test_create_input (codepoints); in test_subset_drop_tables() 43 hb_set_destroy (codepoints); in test_subset_drop_tables()
|
| H A D | test-subset-os2.c | 37 hb_set_t *codepoints = hb_set_create(); in test_subset_os2() local 39 hb_set_add (codepoints, 98); in test_subset_os2() 40 face_abc_subset = hb_subset_test_create_subset (face_abc, hb_subset_test_create_input (codepoints)); in test_subset_os2() 41 hb_set_destroy (codepoints); in test_subset_os2()
|
| H A D | test-subset-post.c | 39 hb_set_t *codepoints = hb_set_create (); in test_post_drops_glyph_names() local 40 hb_set_add (codepoints, 0x660E); in test_post_drops_glyph_names() 42 face_full_subset = hb_subset_test_create_subset (face_full, hb_subset_test_create_input (codepoints)); in test_post_drops_glyph_names() 43 hb_set_destroy (codepoints); in test_post_drops_glyph_names()
|
| /third_party/node/test/fixtures/wpt/encoding/resources/ |
| H A D | encode-href-common.js | 20 // set up a simple array of unicode codepoints that are not encoded 21 var codepoints = []; variable 32 codepoints.push(item); 41 for (var x = 0; x < codepoints.length; x++) { 43 String.fromCodePoint(codepoints[x].cp), 44 codepoints[x].expected, 45 codepoints[x].desc + 47 codepoints[x].cp.toString(16).toUpperCase() + 49 String.fromCodePoint(codepoints[x].cp) + 51 codepoints[ [all...] |
| H A D | encode-form-common.js | 23 codepoints = []; 33 codepoints.push(item); 46 for (i = 0; i < codepoints.length; i++) { 55 item.cp = codepoints[i].cp; 56 item.expected = codepoints[i].expected; 57 item.desc = codepoints[i].desc;
|
| /third_party/skia/third_party/externals/harfbuzz/test/subset/ |
| H A D | repack_test.py | 7 # codepoints in the subset. 13 self.codepoints = set () 20 return ",".join (self.codepoints) 36 self.codepoints.add (line)
|
| /third_party/python/Lib/test/ |
| H A D | test_ucn.py | 167 for seqname, codepoints in sequences: 168 self.assertEqual(unicodedata.lookup(seqname), codepoints) 191 seqname, codepoints = line.split(';') 192 codepoints = ''.join(chr(int(cp, 16)) for cp in codepoints.split()) 193 self.assertEqual(unicodedata.lookup(seqname), codepoints)
|
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-ot-os2-table.hh | 178 * iterating all codepoints in each subtable, which is not efficient */ in subset() 189 void _update_unicode_ranges (const hb_set_t *codepoints, in _update_unicode_ranges() 197 while (codepoints->next (&cp)) { in _update_unicode_ranges() 210 the non-BMP codepoints here */ in _update_unicode_ranges() 219 static void find_min_and_max_codepoint (const hb_set_t *codepoints, in find_min_and_max_codepoint() 223 *min_cp = hb_min (0xFFFFu, codepoints->get_min ()); in find_min_and_max_codepoint() 224 *max_cp = hb_min (0xFFFFu, codepoints->get_max ()); in find_min_and_max_codepoint()
|
| /third_party/skia/experimental/tools/ |
| H A D | generate-unicode-test-txt | 11 # def codepoints(): 25 # for i in codepoints(): 62 def codepoints(): function 78 for i in codepoints():
|