/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-buffer-serialize.cc | 148 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_glyphs_json() 151 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_glyphs_json() 156 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"dx\":%d,\"dy\":%d", in _hb_buffer_serialize_glyphs_json() 159 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"ax\":%d,\"ay\":%d", in _hb_buffer_serialize_glyphs_json() 166 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"fl\":%u", info[i].mask & HB_GLYPH_FLAG_DEFINED)); in _hb_buffer_serialize_glyphs_json() 173 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"xb\":%d,\"yb\":%d", in _hb_buffer_serialize_glyphs_json() 175 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"w\":%d,\"h\":%d", in _hb_buffer_serialize_glyphs_json() 230 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint)); in _hb_buffer_serialize_unicode_json() 233 p += hb_max (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), ",\"cl\":%u", info[i].cluster)); in _hb_buffer_serialize_unicode_json() 292 p += hb_max ( in _hb_buffer_serialize_glyphs_text() [all...] |
H A D | test-algs.cc | 66 assert (8 == hb_max (8, 1)); in main() 83 auto M0 = hb_partial<2> (hb_max, 0); in main()
|
H A D | hb-ot-glyf-table.hh | 481 extents->y_bearing = font->em_scale_y (hb_max (yMin, yMax)); in get_extents() 482 extents->width = font->em_scale_x (hb_max (xMin, xMax) - hb_min (xMin, xMax)); in get_extents() 483 extents->height = font->em_scale_y (hb_min (yMin, yMax) - hb_max (yMin, yMax)); in get_extents() 929 num_glyphs = hb_max (1u, loca_table.get_length () / (short_offset ? 2 : 4)) - 1; in init() 986 max_x = hb_max (max_x, p.x); in add() 987 max_y = hb_max (max_y, p.y); in add()
|
H A D | hb-aat-layout-common.hh | 582 num_entries = hb_max (num_entries, *(p - 1) + 1u); in sanitize() 603 num_entries = hb_max (num_entries, *p + 1u); in sanitize() 618 max_state = hb_max (max_state, newState); in sanitize()
|
H A D | hb-ot-var-gvar-table.hh | 134 else if (!v || v < hb_min (0, peak) || v > hb_max (0, peak)) return 0.f; in calculate_scalar() 221 var_data_bytes.check_range (current_tuple, hb_max (current_tuple->get_data_size (), current_tuple->get_size (axis_count))) && in is_valid() 524 else if (target_val >= hb_max (prev_val, next_val)) in infer_delta()
|
H A D | hb-ot-hdmx-table.hh | 60 | hb_reduce (hb_max, 0u); in serialize()
|
H A D | hb-ot-color-cbdt-table.hh | 779 unsigned int requested_ppem = hb_max (font->x_ppem, font->y_ppem); in choose_strike() 783 unsigned int best_ppem = hb_max (sizeTables[0].ppemX, sizeTables[0].ppemY); in choose_strike() 787 unsigned int ppem = hb_max (sizeTables[i].ppemX, sizeTables[i].ppemY); in choose_strike()
|
H A D | hb-ot-var-fvar-table.hh | 142 max = hb_max (default_, maxValue / 65536.f); in get_coordinates()
|
H A D | hb-ot-color-sbix-table.hh | 242 unsigned int requested_ppem = hb_max (font->x_ppem, font->y_ppem); in choose_strike()
|
H A D | hb-ot-map.cc | 210 feature_infos[j].max_value = hb_max (feature_infos[j].max_value, feature_infos[i].max_value); in compile()
|
H A D | hb-ot-tag.cc | 230 return strncmp (a, b, hb_max (da, db)); in cmp()
|
H A D | hb-subset-plan.cc | 441 | hb_reduce (hb_max, 0u) in _create_old_gid_to_new_gid_map()
|
H A D | hb-aat-layout-morx-table.hh | 351 num_lookups = hb_max (num_lookups, 1u + data.markIndex); in sanitize() 353 num_lookups = hb_max (num_lookups, 1u + data.currentIndex); in sanitize()
|
H A D | hb-algs.hh | 530 HB_FUNCOBJ (hb_max); 535 (hb_min (hb_max (std::forward<T> (x), std::forward<T2> (min)), std::forward<T3> (max)))
|
H A D | hb-ot-shape-complex-indic.cc | 790 max = hb_max (max, j); in initial_reordering_consonant_syllable() 795 buffer->merge_clusters (hb_max (base, min), max + 1); in initial_reordering_consonant_syllable()
|
H A D | hb-ot-shape.cc | 1161 c->buffer->max_len = hb_max (c->buffer->len * HB_BUFFER_MAX_LEN_FACTOR, in hb_ot_shape_internal() 1166 c->buffer->max_ops = hb_max (c->buffer->len * HB_BUFFER_MAX_OPS_FACTOR, in hb_ot_shape_internal()
|
H A D | hb-aat-layout-kerx-table.hh | 252 unsigned int tuple_count = hb_max (1u, table->header.tuple_count ()); in transition()
|
H A D | hb-repacker.hh | 118 hb_min (hb_max(distance + distance_modifier (), 0), 0x7FFFFFFFFF); in modified_distance()
|
H A D | hb-open-type.hh | 984 entrySelector = hb_max (1u, hb_bit_storage (v)) - 1; in operator =()
|
H A D | hb-ot-layout-gsubgpos.hh | 547 stop = (unsigned) hb_max ((int) stop, (int) idx - HB_MAX_CONTEXT_LENGTH); in prev() 1441 delta = hb_max (delta, (int) next - (int) count); in apply_lookup()
|
H A D | hb-ot-cmap-table.hh | 292 this->entrySelector = hb_max (1u, hb_bit_storage (segcount)) - 1; in serialize()
|
H A D | hb-ot-layout-gsub-table.hh | 963 unsigned int component_count = (unsigned) hb_max ((int) component_count_list[i] - 1, 0); in serialize()
|
H A D | hb-ot-layout-common.hh | 1943 | hb_reduce (hb_max, 0u); in serialize()
|