Home
last modified time | relevance | path

Searched refs:plan (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/external/harfbuzz_ng/src/
Dhb-subset-plan.cc93 _populate_gids_to_retain (hb_subset_plan_t* plan, in _populate_gids_to_retain() argument
101 cmap.init (plan->source); in _populate_gids_to_retain()
102 glyf.init (plan->source); in _populate_gids_to_retain()
103 cff.init (plan->source); in _populate_gids_to_retain()
105 plan->_glyphset_gsub->add (0); // Not-def in _populate_gids_to_retain()
106 hb_set_union (plan->_glyphset_gsub, input_glyphs_to_retain); in _populate_gids_to_retain()
117 plan->unicodes->add (cp); in _populate_gids_to_retain()
118 plan->codepoint_to_glyph->set (cp, gid); in _populate_gids_to_retain()
119 plan->_glyphset_gsub->add (gid); in _populate_gids_to_retain()
122 _cmap_closure (plan->source, plan->unicodes, plan->_glyphset_gsub); in _populate_gids_to_retain()
[all …]
Dhb-subset.cc51 _plan_estimate_subset_table_size (hb_subset_plan_t *plan,
54 _plan_estimate_subset_table_size (hb_subset_plan_t *plan, in _plan_estimate_subset_table_size() argument
57 unsigned int src_glyphs = plan->source->get_num_glyphs (); in _plan_estimate_subset_table_size()
58 unsigned int dst_glyphs = plan->glyphset ()->get_population (); in _plan_estimate_subset_table_size()
68 _subset2 (hb_subset_plan_t *plan) in _subset2() argument
71 hb_blob_t *source_blob = hb_sanitize_context_t ().reference_table<TableType> (plan->source); in _subset2()
80 unsigned int buf_size = _plan_estimate_subset_table_size (plan, source_blob->length); in _subset2()
91 hb_subset_context_t c (plan, &serializer); in _subset2()
115 result = c.plan->add_table (tag, dest_blob); in _subset2()
134 _subset (hb_subset_plan_t *plan) in _subset() argument
[all …]
Dhb-ot-shape.cc103 hb_ot_shape_planner_t::compile (hb_ot_shape_plan_t &plan, in compile() argument
106 plan.props = props; in compile()
107 plan.shaper = shaper; in compile()
108 map.compile (plan.map, key); in compile()
111 aat_map.compile (plan.aat_map); in compile()
115 plan.frac_mask = plan.map.get_1_mask (HB_TAG ('f','r','a','c')); in compile()
116 plan.numr_mask = plan.map.get_1_mask (HB_TAG ('n','u','m','r')); in compile()
117 plan.dnom_mask = plan.map.get_1_mask (HB_TAG ('d','n','o','m')); in compile()
118 plan.has_frac = plan.frac_mask || (plan.numr_mask && plan.dnom_mask); in compile()
121 plan.rtlm_mask = plan.map.get_1_mask (HB_TAG ('r','t','l','m')); in compile()
[all …]
Dhb-subset-cff2.cc275 hb_subset_plan_t *plan) in create()
280 drop_hints = plan->drop_hints; in create()
281 desubroutinize = plan->desubroutinize; in create()
297 flattener(acc, plan); in create()
306 cff2_subr_subsetter_t subr_subsetter (acc, plan); in create()
361 if (unlikely (!hb_plan_subset_cff_fdselect (plan, in create()
394 …2CharStrings::calculate_serialized_size (offsets.charStringsInfo.offSize, plan->num_output_glyphs … in create()
410 if (!plan->desubroutinize && has_localsubrs) in create()
442 static inline bool _write_cff2 (const cff2_subset_plan &plan, in _write_cff2() argument
462 cff2->topDictSize = plan.offsets.topDictInfo.size; in _write_cff2()
[all …]
Dhb-subset-cff1.cc469 …signed int plan_subset_encoding (const OT::cff1::accelerator_subset_t &acc, hb_subset_plan_t *plan) in plan_subset_encoding()
480 subset_enc_num_codes = plan->num_output_glyphs () - 1; in plan_subset_encoding()
482 for (glyph = 1; glyph < plan->num_output_glyphs (); glyph++) in plan_subset_encoding()
485 if (!plan->old_gid_for_new_gid (glyph, &old_glyph)) in plan_subset_encoding()
535 …nsigned int plan_subset_charset (const OT::cff1::accelerator_subset_t &acc, hb_subset_plan_t *plan) in plan_subset_charset()
542 for (glyph = 1; glyph < plan->num_output_glyphs (); glyph++) in plan_subset_charset()
545 if (!plan->old_gid_for_new_gid (glyph, &old_glyph)) in plan_subset_charset()
565 size0 = Charset0::min_size + HBUINT16::static_size * (plan->num_output_glyphs () - 1); in plan_subset_charset()
580 subset_charset_format? subset_charset_ranges.length: plan->num_output_glyphs ()); in plan_subset_charset()
606 hb_subset_plan_t *plan) in create()
[all …]
Dhb-ot-shape-complex-use.cc93 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()
190 data_create_use (const hb_ot_shape_plan_t *plan) in data_create_use() argument
196 use_plan->rphf_mask = plan->map.get_1_mask (HB_TAG('r','p','h','f')); in data_create_use()
198 if (has_arabic_joining (plan->props.script)) in data_create_use()
200 use_plan->arabic_plan = (arabic_shape_plan_t *) data_create_arabic (plan); in data_create_use()
[all …]
Dhb-ot-shape-complex-khmer.cc81 setup_syllables_khmer (const hb_ot_shape_plan_t *plan,
85 reorder_khmer (const hb_ot_shape_plan_t *plan,
90 collect_features_khmer (hb_ot_shape_planner_t *plan) in collect_features_khmer() argument
92 hb_ot_map_builder_t *map = &plan->map; in collect_features_khmer()
122 override_features_khmer (hb_ot_shape_planner_t *plan) in override_features_khmer() argument
124 hb_ot_map_builder_t *map = &plan->map; in override_features_khmer()
170 data_create_khmer (const hb_ot_shape_plan_t *plan) in data_create_khmer() argument
178 khmer_plan->pref.init (&plan->map, HB_TAG('p','r','e','f'), true); in data_create_khmer()
182 0 : plan->map.get_1_mask (khmer_features[i].tag); in data_create_khmer()
203 setup_masks_khmer (const hb_ot_shape_plan_t *plan HB_UNUSED, in setup_masks_khmer()
[all …]
Dhb-ot-hmtx-table.hh76 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()
133 _mtx.init (c->plan->source); in subset()
134 unsigned num_advances = _mtx.num_advances_for_subset (c->plan); in subset()
137 + hb_range (c->plan->num_output_glyphs ()) in subset()
141 if (!c->plan->old_gid_for_new_gid (_, &old_gid)) in subset()
155 if (unlikely (!subset_update_header (c->plan, num_advances))) in subset()
261 unsigned int num_advances_for_subset (const hb_subset_plan_t *plan) const in num_advances_for_subset()
263 unsigned int num_advances = plan->num_output_glyphs (); in num_advances_for_subset()
[all …]
Dhb-ot-shape-complex-indic.cc164 setup_syllables_indic (const hb_ot_shape_plan_t *plan,
168 initial_reordering_indic (const hb_ot_shape_plan_t *plan,
172 final_reordering_indic (const hb_ot_shape_plan_t *plan,
177 collect_features_indic (hb_ot_shape_planner_t *plan) in collect_features_indic() argument
179 hb_ot_map_builder_t *map = &plan->map; in collect_features_indic()
210 override_features_indic (hb_ot_shape_planner_t *plan) in override_features_indic() argument
212 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 …]
Dhb-ot-shape-complex-myanmar.cc64 setup_syllables_myanmar (const hb_ot_shape_plan_t *plan,
68 reorder_myanmar (const hb_ot_shape_plan_t *plan,
73 collect_features_myanmar (hb_ot_shape_planner_t *plan) in collect_features_myanmar() argument
75 hb_ot_map_builder_t *map = &plan->map; in collect_features_myanmar()
101 override_features_myanmar (hb_ot_shape_planner_t *plan) in override_features_myanmar() argument
103 plan->map.disable_feature (HB_TAG('l','i','g','a')); in override_features_myanmar()
118 setup_masks_myanmar (const hb_ot_shape_plan_t *plan HB_UNUSED, in setup_masks_myanmar()
135 setup_syllables_myanmar (const hb_ot_shape_plan_t *plan HB_UNUSED, in setup_syllables_myanmar()
255 reorder_syllable_myanmar (const hb_ot_shape_plan_t *plan HB_UNUSED, in reorder_syllable_myanmar()
275 insert_dotted_circles_myanmar (const hb_ot_shape_plan_t *plan HB_UNUSED, in insert_dotted_circles_myanmar()
[all …]
Dhb-ot-shape-complex-arabic.cc165 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()
262 data_create_arabic (const hb_ot_shape_plan_t *plan) in data_create_arabic() argument
268 arabic_plan->do_fallback = plan->props.script == HB_SCRIPT_ARABIC; in data_create_arabic()
269 arabic_plan->has_stch = !!plan->map.get_1_mask (HB_TAG ('s','t','c','h')); in data_create_arabic()
271 arabic_plan->mask_array[i] = plan->map.get_1_mask (arabic_features[i]); in data_create_arabic()
[all …]
Dhb-ot-shape-complex-arabic-fallback.hh48 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 …]
Dhb-ot-shape-fallback.hh35 HB_INTERNAL void _hb_ot_shape_fallback_mark_position (const hb_ot_shape_plan_t *plan,
40 …TERNAL void _hb_ot_shape_fallback_mark_position_recategorize_marks (const hb_ot_shape_plan_t *plan,
45 HB_INTERNAL void _hb_ot_shape_fallback_kern (const hb_ot_shape_plan_t *plan,
49 HB_INTERNAL void _hb_ot_shape_fallback_spaces (const hb_ot_shape_plan_t *plan,
Dhb-ot-shape-fallback.cc169 _hb_ot_shape_fallback_mark_position_recategorize_marks (const hb_ot_shape_plan_t *plan HB_UNUSED, in _hb_ot_shape_fallback_mark_position_recategorize_marks()
209 position_mark (const hb_ot_shape_plan_t *plan HB_UNUSED, in position_mark()
316 position_around_base (const hb_ot_shape_plan_t *plan, in position_around_base() argument
373 if (HB_DIRECTION_IS_HORIZONTAL (plan->props.direction)) in position_around_base()
374 horiz_dir = plan->props.direction; in position_around_base()
376 horiz_dir = hb_script_get_horizontal_direction (plan->props.script); in position_around_base()
393 position_mark (plan, font, buffer, cluster_extents, i, this_combining_class); in position_around_base()
412 position_cluster (const hb_ot_shape_plan_t *plan, in position_cluster() argument
433 position_around_base (plan, font, buffer, i, j, adjust_offsets_when_zeroing); in position_cluster()
440 _hb_ot_shape_fallback_mark_position (const hb_ot_shape_plan_t *plan, in _hb_ot_shape_fallback_mark_position() argument
[all …]
Dhb-ot-shape-complex.hh73 void (*collect_features) (hb_ot_shape_planner_t *plan);
81 void (*override_features) (hb_ot_shape_planner_t *plan);
89 void *(*data_create) (const hb_ot_shape_plan_t *plan);
105 void (*preprocess_text) (const hb_ot_shape_plan_t *plan,
114 void (*postprocess_glyphs) (const hb_ot_shape_plan_t *plan,
145 void (*setup_masks) (const hb_ot_shape_plan_t *plan,
160 void (*reorder_marks) (const hb_ot_shape_plan_t *plan,
Dhb-subset-cff-common.hh290 : acc (acc_), plan (plan_) {} in subr_flattener_t()
294 if (!flat_charstrings.resize (plan->num_output_glyphs ())) in flatten()
296 for (unsigned int i = 0; i < plan->num_output_glyphs (); i++) in flatten()
298 for (unsigned int i = 0; i < plan->num_output_glyphs (); i++) in flatten()
301 if (!plan->old_gid_for_new_gid (i, &glyph)) in flatten()
313 flatten_param_t param = { flat_charstrings[i], plan->drop_hints }; in flatten()
321 const hb_subset_plan_t *plan; member
612 : acc (acc_), plan (plan_) in subr_subsetter_t()
647 parsed_charstrings.init (plan->num_output_glyphs ()); in subset()
658 for (unsigned int i = 0; i < plan->num_output_glyphs (); i++) in subset()
[all …]
Dhb-ot-shape-normalize.cc285 _hb_ot_shape_normalize (const hb_ot_shape_plan_t *plan, in _hb_ot_shape_normalize() argument
293 hb_ot_shape_normalization_mode_t mode = plan->shaper->normalization_preference; in _hb_ot_shape_normalize()
296 if (plan->has_gpos_mark) in _hb_ot_shape_normalize()
305 plan, in _hb_ot_shape_normalize()
309 plan->shaper->decompose ? plan->shaper->decompose : decompose_unicode, in _hb_ot_shape_normalize()
310 plan->shaper->compose ? plan->shaper->compose : compose_unicode in _hb_ot_shape_normalize()
397 if (plan->shaper->reorder_marks) in _hb_ot_shape_normalize()
398 plan->shaper->reorder_marks (plan, buffer, i, end); in _hb_ot_shape_normalize()
Dhb-ot-shape-complex-hangul.cc58 collect_features_hangul (hb_ot_shape_planner_t *plan) in collect_features_hangul() argument
60 hb_ot_map_builder_t *map = &plan->map; in collect_features_hangul()
67 override_features_hangul (hb_ot_shape_planner_t *plan) in override_features_hangul() argument
72 plan->map.disable_feature (HB_TAG('c','a','l','t')); in override_features_hangul()
81 data_create_hangul (const hb_ot_shape_plan_t *plan) in data_create_hangul() argument
88 hangul_plan->mask_array[i] = plan->map.get_1_mask (hangul_features[i]); in data_create_hangul()
133 preprocess_text_hangul (const hb_ot_shape_plan_t *plan HB_UNUSED, in preprocess_text_hangul()
402 setup_masks_hangul (const hb_ot_shape_plan_t *plan, in setup_masks_hangul() argument
406 const hangul_shape_plan_t *hangul_plan = (const hangul_shape_plan_t *) plan->data; in setup_masks_hangul()
Dhb-aat-layout.hh60 hb_aat_layout_substitute (const hb_ot_shape_plan_t *plan,
71 hb_aat_layout_position (const hb_ot_shape_plan_t *plan,
76 hb_aat_layout_track (const hb_ot_shape_plan_t *plan,
Dhb-aat-layout.cc53 plan (plan_), in hb_aat_apply_context_t()
226 hb_aat_layout_substitute (const hb_ot_shape_plan_t *plan, in hb_aat_layout_substitute() argument
234 AAT::hb_aat_apply_context_t c (plan, font, buffer, morx_blob); in hb_aat_layout_substitute()
243 AAT::hb_aat_apply_context_t c (plan, font, buffer, mort_blob); in hb_aat_layout_substitute()
286 hb_aat_layout_position (const hb_ot_shape_plan_t *plan, in hb_aat_layout_position() argument
293 AAT::hb_aat_apply_context_t c (plan, font, buffer, kerx_blob); in hb_aat_layout_position()
313 hb_aat_layout_track (const hb_ot_shape_plan_t *plan, in hb_aat_layout_track() argument
319 AAT::hb_aat_apply_context_t c (plan, font, buffer); in hb_aat_layout_track()
Dhb-ot-glyf-table.hh93 _add_loca_and_head (hb_subset_plan_t * plan, Iterator padded_offsets) in _add_loca_and_head()
118 bool result = plan->add_table (HB_OT_TAG_loca, loca_blob) in _add_loca_and_head()
119 && _add_head_and_set_loca_version (plan, use_short_loca); in _add_loca_and_head()
148 const hb_subset_plan_t *plan) in serialize()
151 for (const auto &_ : it) _.serialize (c, plan); in serialize()
166 _populate_subset_glyphs (c->plan, &glyphs); in subset()
168 glyf_prime->serialize (c->serializer, hb_iter (glyphs), c->plan); in subset()
176 return_trace (c->serializer->check_success (_add_loca_and_head (c->plan, in subset()
182 _populate_subset_glyphs (const hb_subset_plan_t *plan, in _populate_subset_glyphs()
186 glyf.init (plan->source); in _populate_subset_glyphs()
[all …]
/external/apache-http/src/org/apache/http/conn/routing/
DBasicRouteDirector.java69 public int nextStep(RouteInfo plan, RouteInfo fact) { in nextStep() argument
70 if (plan == null) { in nextStep()
78 step = firstStep(plan); in nextStep()
79 else if (plan.getHopCount() > 1) in nextStep()
80 step = proxiedStep(plan, fact); in nextStep()
82 step = directStep(plan, fact); in nextStep()
96 protected int firstStep(RouteInfo plan) { in firstStep() argument
98 return (plan.getHopCount() > 1) ? in firstStep()
112 protected int directStep(RouteInfo plan, RouteInfo fact) { in directStep() argument
116 if (!plan.getTargetHost().equals(fact.getTargetHost())) in directStep()
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcufft_10_0.inc4 cufftResult CUFFTAPI cufftPlan1d(cufftHandle *plan, int nx, cufftType type,
9 return func_ptr(plan, nx, type, batch);
12 cufftResult CUFFTAPI cufftPlan2d(cufftHandle *plan, int nx, int ny,
17 return func_ptr(plan, nx, ny, type);
20 cufftResult CUFFTAPI cufftPlan3d(cufftHandle *plan, int nx, int ny, int nz,
26 return func_ptr(plan, nx, ny, nz, type);
29 cufftResult CUFFTAPI cufftPlanMany(cufftHandle *plan, int rank, int *n,
37 return func_ptr(plan, rank, n, inembed, istride, idist, onembed, ostride,
41 cufftResult CUFFTAPI cufftMakePlan1d(cufftHandle plan, int nx, cufftType type,
47 return func_ptr(plan, nx, type, batch, workSize);
[all …]
Dcuda_fft.cc64 bool SetStream(GpuExecutor *parent, cufftHandle plan, Stream *stream) { in SetStream() argument
66 auto ret = cufftSetStream(plan, AsGpuStreamValue(stream)); in SetStream()
443 Stream *stream, fft::Plan *plan, ScratchAllocator *scratch_allocator) { in UpdatePlanWithScratchAllocator() argument
444 CUDAFftPlan *cuda_fft_plan = dynamic_cast<CUDAFftPlan *>(plan); in UpdatePlanWithScratchAllocator()
454 bool CUDAFft::DoFftInternal(Stream *stream, fft::Plan *plan, FuncT cufftExec, in DoFftInternal() argument
457 CUDAFftPlan *cuda_fft_plan = dynamic_cast<CUDAFftPlan *>(plan); in DoFftInternal()
481 bool CUDAFft::DoFftWithDirectionInternal(Stream *stream, fft::Plan *plan, in DoFftWithDirectionInternal() argument
485 CUDAFftPlan *cuda_fft_plan = dynamic_cast<CUDAFftPlan *>(plan); in DoFftWithDirectionInternal()
511 bool CUDAFft::DoFft(Stream *stream, fft::Plan *plan, \
514 return DoFftWithDirectionInternal(stream, plan, cufftExec##__fft_type1, \
[all …]
/external/tensorflow/tensorflow/stream_executor/
Dfft.h176 Stream *stream, Plan *plan, ScratchAllocator *scratch_allocator) = 0;
180 virtual bool DoFft(Stream *stream, Plan *plan,
183 virtual bool DoFft(Stream *stream, Plan *plan,
188 virtual bool DoFft(Stream *stream, Plan *plan,
191 virtual bool DoFft(Stream *stream, Plan *plan,
196 virtual bool DoFft(Stream *stream, Plan *plan,
199 virtual bool DoFft(Stream *stream, Plan *plan,
244 void UpdatePlanWithScratchAllocator(Stream *stream, fft::Plan *plan, \
247 bool DoFft(Stream *stream, fft::Plan *plan, \
250 bool DoFft(Stream *stream, fft::Plan *plan, \
[all …]

12345678910>>...12