/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-subset-plan.cc | 284 hb_subset_plan_t *plan) in _populate_unicodes_to_retain() argument 287 cmap.init (plan->source); in _populate_unicodes_to_retain() 304 plan->codepoint_to_glyph->set (cp, gid); in _populate_unicodes_to_retain() 318 plan->codepoint_to_glyph->set (cp_gid.first, cp_gid.second); in _populate_unicodes_to_retain() 327 if (gid >= plan->source->get_num_glyphs ()) in _populate_unicodes_to_retain() 329 plan->_glyphset_gsub->add (gid); in _populate_unicodes_to_retain() 333 + plan->codepoint_to_glyph->keys () | hb_sink (plan->unicodes); in _populate_unicodes_to_retain() 334 + plan->codepoint_to_glyph->values () | hb_sink (plan->_glyphset_gsub); in _populate_unicodes_to_retain() 340 _populate_gids_to_retain (hb_subset_plan_t* plan, in _populate_gids_to_retain() argument 349 glyf.init (plan->source); in _populate_gids_to_retain() [all …]
|
D | hb-subset.cc | 80 _plan_estimate_subset_table_size (hb_subset_plan_t *plan, unsigned table_len) in _plan_estimate_subset_table_size() argument 82 unsigned src_glyphs = plan->source->get_num_glyphs (); in _plan_estimate_subset_table_size() 83 unsigned dst_glyphs = plan->glyphset ()->get_population (); in _plan_estimate_subset_table_size() 158 _subset (hb_subset_plan_t *plan) in _subset() argument 160 hb_blob_t *source_blob = hb_sanitize_context_t ().reference_table<TableType> (plan->source); in _subset() 175 unsigned buf_size = _plan_estimate_subset_table_size (plan, source_blob->length); in _subset() 188 hb_subset_context_t c (source_blob, plan, &serializer, tag); in _subset() 212 result = plan->add_table (tag, dest_blob); in _subset() 237 _should_drop_table (hb_subset_plan_t *plan, hb_tag_t tag) in _should_drop_table() argument 239 if (plan->drop_tables->has (tag)) in _should_drop_table() [all …]
|
D | hb-ot-shape.cc | 97 hb_ot_shape_planner_t::compile (hb_ot_shape_plan_t &plan, in compile() argument 100 plan.props = props; in compile() 101 plan.shaper = shaper; in compile() 102 map.compile (plan.map, key); in compile() 105 aat_map.compile (plan.aat_map); in compile() 109 plan.frac_mask = plan.map.get_1_mask (HB_TAG ('f','r','a','c')); in compile() 110 plan.numr_mask = plan.map.get_1_mask (HB_TAG ('n','u','m','r')); in compile() 111 plan.dnom_mask = plan.map.get_1_mask (HB_TAG ('d','n','o','m')); in compile() 112 plan.has_frac = plan.frac_mask || (plan.numr_mask && plan.dnom_mask); in compile() 115 plan.rtlm_mask = plan.map.get_1_mask (HB_TAG ('r','t','l','m')); in compile() [all …]
|
D | hb-subset-cff1.cc | 402 void plan_subset_encoding (const OT::cff1::accelerator_subset_t &acc, hb_subset_plan_t *plan) in plan_subset_encoding() 411 plan->check_success (false); in plan_subset_encoding() 417 subset_enc_num_codes = plan->num_output_glyphs () - 1; in plan_subset_encoding() 419 for (glyph = 1; glyph < plan->num_output_glyphs (); glyph++) in plan_subset_encoding() 422 if (!plan->old_gid_for_new_gid (glyph, &old_glyph)) in plan_subset_encoding() 466 void plan_subset_charset (const OT::cff1::accelerator_subset_t &acc, hb_subset_plan_t *plan) in plan_subset_charset() 473 plan->check_success (false); in plan_subset_charset() 478 for (glyph = 1; glyph < plan->num_output_glyphs (); glyph++) in plan_subset_charset() 481 if (!plan->old_gid_for_new_gid (glyph, &old_glyph)) in plan_subset_charset() 501 size0 = Charset0::min_size + HBUINT16::static_size * (plan->num_output_glyphs () - 1); in plan_subset_charset() [all …]
|
D | hb-subset-cff2.cc | 261 hb_subset_plan_t *plan) in create() 265 drop_hints = plan->flags & HB_SUBSET_FLAGS_NO_HINTING; in create() 266 desubroutinize = plan->flags & HB_SUBSET_FLAGS_DESUBROUTINIZE; in create() 272 flattener(acc, plan); in create() 278 cff2_subr_subsetter_t subr_subsetter (acc, plan); in create() 305 if (unlikely (!hb_plan_subset_cff_fdselect (plan, in create() 340 cff2_subset_plan &plan, in _serialize_cff2() argument 346 if (unlikely (!private_dict_infos.resize (plan.subset_fdcount))) return false; in _serialize_cff2() 350 if (plan.fdmap.has (i)) in _serialize_cff2() 354 if (plan.subset_localsubrs[i].length > 0) in _serialize_cff2() [all …]
|
D | hb-ot-shape-complex-use.cc | 93 setup_syllables_use (const hb_ot_shape_plan_t *plan, 97 record_rphf_use (const hb_ot_shape_plan_t *plan, 101 record_pref_use (const hb_ot_shape_plan_t *plan, 105 reorder_use (const hb_ot_shape_plan_t *plan, 110 collect_features_use (hb_ot_shape_planner_t *plan) in collect_features_use() argument 112 hb_ot_map_builder_t *map = &plan->map; in collect_features_use() 156 data_create_use (const hb_ot_shape_plan_t *plan) in data_create_use() argument 162 use_plan->rphf_mask = plan->map.get_1_mask (HB_TAG('r','p','h','f')); in data_create_use() 164 if (has_arabic_joining (plan->props.script)) in data_create_use() 166 use_plan->arabic_plan = (arabic_shape_plan_t *) data_create_arabic (plan); in data_create_use() [all …]
|
D | hb-ot-shape-complex-khmer.cc | 83 setup_syllables_khmer (const hb_ot_shape_plan_t *plan, 87 reorder_khmer (const hb_ot_shape_plan_t *plan, 92 collect_features_khmer (hb_ot_shape_planner_t *plan) in collect_features_khmer() argument 94 hb_ot_map_builder_t *map = &plan->map; in collect_features_khmer() 124 override_features_khmer (hb_ot_shape_planner_t *plan) in override_features_khmer() argument 126 hb_ot_map_builder_t *map = &plan->map; in override_features_khmer() 149 data_create_khmer (const hb_ot_shape_plan_t *plan) in data_create_khmer() argument 157 0 : plan->map.get_1_mask (khmer_features[i].tag); in data_create_khmer() 169 setup_masks_khmer (const hb_ot_shape_plan_t *plan HB_UNUSED, in setup_masks_khmer() 185 setup_syllables_khmer (const hb_ot_shape_plan_t *plan HB_UNUSED, in setup_syllables_khmer() [all …]
|
D | hb-ot-hmtx-table.hh | 76 bool subset_update_header (hb_subset_plan_t *plan, in subset_update_header() 79 hb_blob_t *src_blob = hb_sanitize_context_t ().reference_table<H> (plan->source, H::tableTag); in subset_update_header() 91 bool result = plan->add_table (H::tableTag, dest_blob); in subset_update_header() 131 _mtx.init (c->plan->source); in subset() 132 unsigned num_advances = _mtx.num_advances_for_subset (c->plan); in subset() 135 + hb_range (c->plan->num_output_glyphs ()) in subset() 139 if (!c->plan->old_gid_for_new_gid (_, &old_gid)) in subset() 153 if (unlikely (!subset_update_header (c->plan, num_advances))) in subset() 259 unsigned int num_advances_for_subset (const hb_subset_plan_t *plan) const in num_advances_for_subset() 261 unsigned int num_advances = plan->num_output_glyphs (); in num_advances_for_subset() [all …]
|
D | hb-ot-shape-complex-indic.cc | 166 setup_syllables_indic (const hb_ot_shape_plan_t *plan, 170 initial_reordering_indic (const hb_ot_shape_plan_t *plan, 174 final_reordering_indic (const hb_ot_shape_plan_t *plan, 179 collect_features_indic (hb_ot_shape_planner_t *plan) in collect_features_indic() argument 181 hb_ot_map_builder_t *map = &plan->map; in collect_features_indic() 209 override_features_indic (hb_ot_shape_planner_t *plan) in override_features_indic() argument 211 plan->map.disable_feature (HB_TAG('l','i','g','a')); in override_features_indic() 256 data_create_indic (const hb_ot_shape_plan_t *plan) in data_create_indic() argument 264 if (plan->props.script == indic_configs[i].script) { in data_create_indic() 269 …indic_plan->is_old_spec = indic_plan->config->has_old_spec && ((plan->map.chosen_script[0] & 0x000… in data_create_indic() [all …]
|
D | hb-ot-shape-complex-arabic.cc | 165 arabic_fallback_shape (const hb_ot_shape_plan_t *plan, 170 record_stch (const hb_ot_shape_plan_t *plan, 175 collect_features_arabic (hb_ot_shape_planner_t *plan) in collect_features_arabic() argument 177 hb_ot_map_builder_t *map = &plan->map; in collect_features_arabic() 212 …bool has_fallback = plan->props.script == HB_SCRIPT_ARABIC && !FEATURE_IS_SYRIAC (arabic_features[… in collect_features_arabic() 223 if (plan->props.script == HB_SCRIPT_ARABIC) in collect_features_arabic() 260 data_create_arabic (const hb_ot_shape_plan_t *plan) in data_create_arabic() argument 266 arabic_plan->do_fallback = plan->props.script == HB_SCRIPT_ARABIC; in data_create_arabic() 267 arabic_plan->has_stch = !!plan->map.get_1_mask (HB_TAG ('s','t','c','h')); in data_create_arabic() 269 arabic_plan->mask_array[i] = plan->map.get_1_mask (arabic_features[i]); in data_create_arabic() [all …]
|
D | hb-ot-var-hvar-table.hh | 48 const hb_subset_plan_t *plan) in init() 60 …hb_codepoint_t gid = (hb_codepoint_t) hb_min (index_map.get_map_count (), plan->num_output_glyphs … in init() 70 if (!plan->old_gid_for_new_gid (gid - 1, &old_gid)) in init() 95 if (plan->old_gid_for_new_gid (gid, &old_gid)) in init() 117 const hb_subset_plan_t *plan) in remap() 132 if (plan->old_gid_for_new_gid (gid, &old_gid)) in remap() 168 const hb_subset_plan_t *plan) in init() 186 index_map_plans[0].init (*index_maps[0], outer_map, inner_sets, plan); in init() 189 retain_adv_map = plan->flags & HB_SUBSET_FLAGS_RETAIN_GIDS; in init() 191 for (hb_codepoint_t gid = 0; gid < plan->num_output_glyphs (); gid++) in init() [all …]
|
D | hb-ot-shape-complex-arabic-fallback.hh | 48 arabic_fallback_synthesize_lookup_single (const hb_ot_shape_plan_t *plan HB_UNUSED, in arabic_fallback_synthesize_lookup_single() 99 arabic_fallback_synthesize_lookup_ligature (const hb_ot_shape_plan_t *plan HB_UNUSED, in arabic_fallback_synthesize_lookup_ligature() 177 arabic_fallback_synthesize_lookup (const hb_ot_shape_plan_t *plan, in arabic_fallback_synthesize_lookup() argument 182 return arabic_fallback_synthesize_lookup_single (plan, font, feature_index); in arabic_fallback_synthesize_lookup() 184 return arabic_fallback_synthesize_lookup_ligature (plan, font); in arabic_fallback_synthesize_lookup() 219 const hb_ot_shape_plan_t *plan HB_UNUSED, in arabic_fallback_plan_init_win1256() 241 fallback_plan->mask_array[j] = plan->map.get_1_mask (manifest[i].tag); in arabic_fallback_plan_init_win1256() 264 const hb_ot_shape_plan_t *plan, in arabic_fallback_plan_init_unicode() argument 271 fallback_plan->mask_array[j] = plan->map.get_1_mask (arabic_fallback_features[i]); in arabic_fallback_plan_init_unicode() 274 fallback_plan->lookup_array[j] = arabic_fallback_synthesize_lookup (plan, font, i); in arabic_fallback_plan_init_unicode() [all …]
|
/third_party/openssl/test/recipes/ |
D | 20-test_dhparam.t | 20 plan skip_all => "DH is not supported in this build" 22 plan tests => 21; 91 plan tests => 4; 95 plan tests => 4; 99 plan tests => 4; 103 plan tests => 4; 107 plan tests => 4; 111 plan tests => 4; 115 plan tests => 4; 125 plan tests => 5; [all …]
|
D | 15-test_ecparam.t | 21 plan skip_all => "EC or EC2M isn't supported in this build" 28 plan tests => 12; 65 plan tests => scalar(@valid); 70 plan tests => scalar(@valid); 75 plan tests => scalar(@valid); 80 plan tests => scalar(@noncanon); 85 plan tests => scalar(@noncanon); 90 plan tests => scalar(@noncanon); 95 plan tests => scalar(@invalid); 100 plan tests => scalar(@invalid); [all …]
|
D | 80-test_ocsp.t | 22 plan skip_all => "OCSP is not supported by this OpenSSL build" 54 plan tests => 11; 57 plan tests => 7; 76 plan tests => 6; 93 plan tests => 6; 110 plan tests => 6; 127 plan tests => 6; 144 plan tests => 3; 155 plan tests => 6; 172 plan tests => 6; [all …]
|
D | 90-test_fipsload.t | 19 plan skip_all => 'Test is disabled with disabled fips' if disabled('fips'); 20 plan skip_all => 'Test only supported in a shared build' if disabled('shared'); 21 plan skip_all => 'Test is disabled on AIX' if config('target') =~ m|^aix|; 22 plan skip_all => 'Test is disabled on NonStop ia64' if config('target') =~ m|^nonstop-nse|; 23 plan skip_all => 'Test only supported in a dso build' if disabled('dso'); 24 plan skip_all => 'Test is disabled in an address sanitizer build' unless disabled('asan'); 26 plan tests => 1;
|
D | 70-test_sslskewith0p.t | 17 plan skip_all => "TLSProxy isn't usable on $^O" 20 plan skip_all => "$test_name needs the dynamic engine feature enabled" 23 plan skip_all => "dh is not supported by this OpenSSL build" 26 plan skip_all => "$test_name needs the sock feature enabled" 29 plan skip_all => "$test_name needs TLS enabled" 45 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 46 plan tests => 1;
|
D | 70-test_sslcertstatus.t | 17 plan skip_all => "TLSProxy isn't usable on $^O" 20 plan skip_all => "$test_name needs the dynamic engine feature enabled" 23 plan skip_all => "$test_name needs the sock feature enabled" 26 plan skip_all => "$test_name needs the ocsp feature enabled" 29 plan skip_all => "$test_name needs TLS enabled" 44 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 45 plan tests => 1;
|
D | 20-test_dgst.t | 20 plan tests => 13; 31 plan tests => 4; 63 plan tests => 5; 154 plan tests => 1; 169 plan tests => 2; 183 plan tests => 2; 197 plan tests => 2; 212 plan tests => 2; 226 plan tests => 1; 240 plan tests => 1;
|
D | 70-test_tls13alerts.t | 17 plan skip_all => "TLSProxy isn't usable on $^O" 20 plan skip_all => "$test_name needs the dynamic engine feature enabled" 23 plan skip_all => "$test_name needs the sock feature enabled" 26 plan skip_all => "$test_name needs TLS1.3 enabled" 41 $proxy->start() or plan skip_all => "Unable to start up Proxy for tests"; 42 plan tests => 1;
|
D | 95-test_external_gost_engine.t | 16 plan skip_all => "No external tests in this configuration" 18 plan skip_all => "GOST engine tests not available on Windows or VMS" 20 plan skip_all => "GOST engine tests only available in a shared build" 22 plan skip_all => "GOST engine tests not supported in out of tree builds" 25 plan tests => 1;
|
D | 95-test_external_pyca.t | 16 plan skip_all => "No external tests in this configuration" 18 plan skip_all => "PYCA tests not available on Windows or VMS" 20 plan skip_all => "PYCA Cryptography not available" 22 plan skip_all => "PYCA tests only available in a shared build" 25 plan tests => 1;
|
D | 90-test_shlibload.t | 21 plan skip_all => "Test only supported in a shared build" if disabled("shared"); 22 plan skip_all => "Test is disabled on AIX" if config('target') =~ m|^aix|; 23 plan skip_all => "Test is disabled on NonStop" if config('target') =~ m|^nonstop|; 24 plan skip_all => "Test only supported in a dso build" if disabled("dso"); 25 plan skip_all => "Test is disabled in an address sanitizer build" unless disabled("asan"); 27 plan tests => 10;
|
D | 25-test_req.t | 18 plan tests => 44; 58 plan tests => 3; 86 plan tests => 8; 142 plan tests => 12; 223 plan tests => 2; 243 plan tests => 2; 263 plan tests => 2; 283 plan tests => 2; 303 plan tests => 2; 316 plan tests => 4; [all …]
|
/third_party/cups-filters/fontembed/ |
D | embed.c | 74 ret->plan|=EMB_A_CLOSE_FONTFILE; in emb_new() 126 ret->plan|=EMB_A_T1_TO_CFF; in emb_new() 135 ret->plan|=EMB_A_CFF_TO_OTF; in emb_new() 142 ret->plan|=EMB_A_OTF_TO_CFF; in emb_new() 147 ret->plan|=EMB_A_MULTIBYTE; in emb_new() 160 ret->plan|=EMB_A_SUBSET; in emb_new() 164 if (ret->plan&EMB_A_SUBSET) { in emb_new() 206 if (emb->plan&EMB_A_SUBSET) { in emb_embed() 214 if (emb->plan&EMB_A_CFF_TO_OTF) { in emb_embed() 215 if (emb->plan&EMB_A_T1_TO_CFF) { in emb_embed() [all …]
|