Home
last modified time | relevance | path

Searched refs:hb_max (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-buffer-serialize.cc148 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 Dtest-algs.cc66 assert (8 == hb_max (8, 1)); in main()
83 auto M0 = hb_partial<2> (hb_max, 0); in main()
H A Dhb-ot-glyf-table.hh481 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 Dhb-aat-layout-common.hh582 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 Dhb-ot-var-gvar-table.hh134 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 Dhb-ot-hdmx-table.hh60 | hb_reduce (hb_max, 0u); in serialize()
H A Dhb-ot-color-cbdt-table.hh779 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 Dhb-ot-var-fvar-table.hh142 max = hb_max (default_, maxValue / 65536.f); in get_coordinates()
H A Dhb-ot-color-sbix-table.hh242 unsigned int requested_ppem = hb_max (font->x_ppem, font->y_ppem); in choose_strike()
H A Dhb-ot-map.cc210 feature_infos[j].max_value = hb_max (feature_infos[j].max_value, feature_infos[i].max_value); in compile()
H A Dhb-ot-tag.cc230 return strncmp (a, b, hb_max (da, db)); in cmp()
H A Dhb-subset-plan.cc441 | hb_reduce (hb_max, 0u) in _create_old_gid_to_new_gid_map()
H A Dhb-aat-layout-morx-table.hh351 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 Dhb-algs.hh530 HB_FUNCOBJ (hb_max);
535 (hb_min (hb_max (std::forward<T> (x), std::forward<T2> (min)), std::forward<T3> (max)))
H A Dhb-ot-shape-complex-indic.cc790 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 Dhb-ot-shape.cc1161 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 Dhb-aat-layout-kerx-table.hh252 unsigned int tuple_count = hb_max (1u, table->header.tuple_count ()); in transition()
H A Dhb-repacker.hh118 hb_min (hb_max(distance + distance_modifier (), 0), 0x7FFFFFFFFF); in modified_distance()
H A Dhb-open-type.hh984 entrySelector = hb_max (1u, hb_bit_storage (v)) - 1; in operator =()
H A Dhb-ot-layout-gsubgpos.hh547 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 Dhb-ot-cmap-table.hh292 this->entrySelector = hb_max (1u, hb_bit_storage (segcount)) - 1; in serialize()
H A Dhb-ot-layout-gsub-table.hh963 unsigned int component_count = (unsigned) hb_max ((int) component_count_list[i] - 1, 0); in serialize()
H A Dhb-ot-layout-common.hh1943 | hb_reduce (hb_max, 0u); in serialize()

Completed in 40 milliseconds