Lines Matching refs:proposal
401 const hb_shape_plan_proposal_t *proposal) in hb_shape_plan_user_features_match() argument
403 if (proposal->num_user_features != shape_plan->num_user_features) in hb_shape_plan_user_features_match()
405 for (unsigned int i = 0, n = proposal->num_user_features; i < n; i++) in hb_shape_plan_user_features_match()
406 if (proposal->user_features[i].tag != shape_plan->user_features[i].tag || in hb_shape_plan_user_features_match()
407 proposal->user_features[i].value != shape_plan->user_features[i].value || in hb_shape_plan_user_features_match()
408 proposal->user_features[i].start != shape_plan->user_features[i].start || in hb_shape_plan_user_features_match()
409 proposal->user_features[i].end != shape_plan->user_features[i].end) in hb_shape_plan_user_features_match()
416 const hb_shape_plan_proposal_t *proposal) in hb_shape_plan_coords_match() argument
418 if (proposal->num_coords != shape_plan->num_coords) in hb_shape_plan_coords_match()
420 for (unsigned int i = 0, n = proposal->num_coords; i < n; i++) in hb_shape_plan_coords_match()
421 if (proposal->coords[i] != shape_plan->coords[i]) in hb_shape_plan_coords_match()
428 const hb_shape_plan_proposal_t *proposal) in hb_shape_plan_matches() argument
430 return hb_segment_properties_equal (&shape_plan->props, &proposal->props) && in hb_shape_plan_matches()
431 hb_shape_plan_user_features_match (shape_plan, proposal) && in hb_shape_plan_matches()
432 hb_shape_plan_coords_match (shape_plan, proposal) && in hb_shape_plan_matches()
433 ((shape_plan->default_shaper_list && proposal->shaper_list == NULL) || in hb_shape_plan_matches()
434 (shape_plan->shaper_func == proposal->shaper_func)); in hb_shape_plan_matches()
498 hb_shape_plan_proposal_t proposal = { in hb_shape_plan_create_cached2() local
516 proposal.shaper_func = _hb_##shaper##_shape; \ in hb_shape_plan_create_cached2()
522 if (unlikely (!proposal.shaper_func)) in hb_shape_plan_create_cached2()
530 if (hb_shape_plan_matches (node->shape_plan, &proposal)) in hb_shape_plan_create_cached2()