/third_party/skia/third_party/externals/harfbuzz/test/api/ |
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() [all …]
|
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, 0xDA); in test_subset_cmap_non_consecutive_glyphs() [all …]
|
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() [all …]
|
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() [all …]
|
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, &cp)); in test_collect_unicodes_format12_notdef() [all …]
|
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() [all …]
|
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, 0x39); in test_subset_cbdt_keep_one() [all …]
|
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() [all …]
|
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 = hb_subset_input_unicode_set (input); in test_subset_hdmx_invalid() local [all …]
|
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() [all …]
|
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() [all …]
|
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() [all …]
|
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 …e_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, 0x8F38); in test_subset_vmtx_noop() [all …]
|
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()
|
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()
|
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, 'a'); in test_subset_crash() [all …]
|
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()
|
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 …e_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()
|
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()
|
/third_party/node/test/fixtures/wpt/encoding/resources/ |
D | encode-href-common.js | 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[x].expected
|
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/python/Lib/test/ |
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/test/subset/ |
D | repack_test.py | 13 self.codepoints = set () 20 return ",".join (self.codepoints) 36 self.codepoints.add (line)
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-os2-table.hh | 189 void _update_unicode_ranges (const hb_set_t *codepoints, in _update_unicode_ranges() 197 while (codepoints->next (&cp)) { 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/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DecodeUtf8Test.java | 313 fail("Failure: Expected (" + codepoints(expected) + ") Actual (" + codepoints(actual) + ")"); in assertDecode() 317 private List<String> codepoints(String str) { in codepoints() method in DecodeUtf8Test 318 List<String> codepoints = new ArrayList<String>(); in codepoints() local 320 codepoints.add(Long.toHexString(str.charAt(i))); in codepoints() 322 return codepoints; in codepoints()
|