Searched refs:unlikely (Results 1 - 25 of 53) sorted by relevance

123

/openjdk9/jdk/src/java.desktop/share/native/libfontmanager/harfbuzz/
H A Dhb-face-private.hh69 if (unlikely (!reference_table_func))
73 if (unlikely (!blob))
81 if (unlikely (!upem))
88 if (unlikely (num_glyphs == (unsigned int) -1))
H A Dhb-set-private.hh169 if (unlikely (hb_object_is_inert (this)))
182 if (unlikely (in_error)) return;
183 if (unlikely (g == INVALID)) return;
184 if (unlikely (g > MAX_G)) return;
189 if (unlikely (in_error)) return;
196 if (unlikely (in_error)) return;
197 if (unlikely (g > MAX_G)) return;
202 if (unlikely (in_error)) return;
209 if (unlikely (g > MAX_G)) return false;
215 if (unlikely (firs
[all...]
H A Dhb-shaper.cc47 if (unlikely (static_shapers != all_shapers))
58 if (unlikely (!shapers))
68 if (unlikely (!shapers)) {
H A Dhb-ot-layout-gsub-table.hh100 if (unlikely (!c->extend_min (*this))) return_trace (false);
101 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (false);
132 if (unlikely (iter.get_coverage () >= count))
146 if (unlikely (iter.get_coverage () >= count))
171 if (unlikely (index >= substitute.len)) return_trace (false);
185 if (unlikely (!c->extend_min (*this))) return_trace (false);
186 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return_trace (false);
187 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (false);
217 if (unlikely (!c->extend_min (u.format))) return_trace (false);
242 if (unlikely (!
[all...]
H A Dhb-buffer.cc118 if (unlikely (in_error))
120 if (unlikely (size > max_len))
131 if (unlikely (_hb_unsigned_int_mul_overflows (size, sizeof (info[0]))))
138 if (unlikely (_hb_unsigned_int_mul_overflows (new_allocated, sizeof (info[0]))))
145 if (unlikely (!new_pos || !new_info))
165 if (unlikely (!ensure (out_len + num_out))) return false;
183 if (unlikely (!ensure (len + count))) return false;
219 if (unlikely (hb_object_is_inert (this)))
233 if (unlikely (hb_object_is_inert (this)))
264 if (unlikely (!ensur
[all...]
H A Dhb-object-private.hh131 if (unlikely (!obj))
147 return unlikely (obj->header.ref_count.is_inert ());
158 if (unlikely (!obj || hb_object_is_inert (obj)))
168 if (unlikely (!obj || hb_object_is_inert (obj)))
185 if (unlikely (!obj || hb_object_is_inert (obj)))
195 if (unlikely (!obj || hb_object_is_inert (obj)))
H A Dhb-unicode-private.hh81 if (unlikely (!a || !b)) return false;
109 if (unlikely (unicode == 0x1037u)) unicode = 0x103Au;
113 if (unlikely (unicode == 0x1A60u)) return 254;
117 if (unlikely (unicode == 0x0FC6u)) return 254;
119 if (unlikely (unicode == 0x0F39u)) return 127;
129 return unlikely (hb_in_ranges (unicode,
179 case 0x00: return unlikely (ch == 0x00ADu);
180 case 0x03: return unlikely (ch == 0x034Fu);
181 case 0x06: return unlikely (ch == 0x061Cu);
H A Dhb-open-type-private.hh328 if (unlikely (!c->start)) {
377 return unlikely (!base) ? &Null(Type) : CastP<Type> (base);
445 if (unlikely (this->ran_out_of_room || this->end - this->head < ptrdiff_t (size))) {
473 if (unlikely (!ret)) return NULL;
483 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL;
492 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL;
517 if (unlikely (i >= len)) return Type ();
523 if (unlikely (count > len))
793 if (unlikely (!offset)) return Null(Type);
807 if (unlikely (!
[all...]
H A Dhb-ft.cc85 if (unlikely (!ft_font))
178 if (unlikely (!g))
180 if (unlikely (ft_font->symbol) && unicode <= 0x00FFu)
210 if (unlikely (!g))
226 if (unlikely (FT_Get_Advance (ft_font->ft_face, glyph, ft_font->load_flags, &v)))
244 if (unlikely (FT_Get_Advance (ft_font->ft_face, glyph, ft_font->load_flags | FT_LOAD_VERTICAL_LAYOUT, &v)))
266 if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags)))
309 if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags)))
341 if (unlikely (FT_Load_Glyph (ft_face, glyph, ft_font->load_flags)))
344 if (unlikely (ft_fac
[all...]
H A Dhb-cache-private.hh58 if (unlikely ((key >> key_bits) || (value >> value_bits)))
H A Dhb-shape-plan.cc149 if (unlikely (!face))
151 if (unlikely (!props))
337 if (unlikely (!buffer->len))
343 if (unlikely (hb_object_is_inert (shape_plan)))
522 if (unlikely (!proposal.shaper_func))
544 if (unlikely (hb_object_is_inert (face)))
555 if (unlikely (!node))
H A Dhb-ot-layout-private.hh256 if (unlikely (unicode->is_default_ignorable (u)))
270 if (unlikely (hb_in_range (u, 0x180Bu, 0x180Du))) props |= UPROPS_MASK_FVS;
272 else if (unlikely (HB_UNICODE_GENERAL_CATEGORY_IS_NON_ENCLOSING_MARK_OR_MODIFIER_SYMBOL (gen_cat)))
297 if (unlikely (hb_in_range (u, 0x1F3FBu, 0x1F3FFu)))
330 if (unlikely (!_hb_glyph_info_is_unicode_mark (info)))
349 if (unlikely (!_hb_glyph_info_is_unicode_space (info)))
495 if (unlikely (!lig_id))
H A Dhb-ot-font.cc98 if (unlikely (this->num_advances * 4 > len))
104 if (unlikely (!this->num_advances))
120 if (unlikely (glyph >= this->num_metrics))
179 if (unlikely (glyph >= this->num_glyphs))
266 if (unlikely (image_offset > cbdt_len || cbdt_len - image_offset < image_length))
272 if (unlikely (image_length < OT::GlyphBitmapDataFormat17::min_size))
379 if (unlikely (symbol))
446 if (unlikely (!p))
449 if (unlikely (!p))
452 if (unlikely (!hb_atomic_ptr_cmpexc
[all...]
H A Dhb-open-file-private.hh79 if (unlikely (i >= numTables)) return Null(TableRecord);
178 if (unlikely (!u.header.version.sanitize (c))) return_trace (false);
243 if (unlikely (!u.tag.sanitize (c))) return_trace (false);
H A Dhb-shaper-private.hh92 if (unlikely (!data)) { \
94 if (unlikely (!data)) \
H A Dhb-coretext.cc52 if (unlikely (!cf_data))
125 if (unlikely (!blob_length))
132 if (unlikely (!cg_font))
144 if (unlikely (!ct_font)) {
214 if (unlikely (!data))
218 if (unlikely (!data->cg_font))
233 if (unlikely (!data->ct_font))
258 if (unlikely (!hb_coretext_shaper_face_data_ensure (face))) return NULL;
307 if (unlikely (!hb_coretext_shaper_face_data_ensure (face))) return NULL;
593 if (unlikely (!even
[all...]
H A Dhb-ot-layout-common-private.hh102 if (unlikely (i >= this->len)) return Null(Tag);
283 if (unlikely (!c->check_struct (this))) return_trace (false);
513 if (unlikely (!(c->check_struct (this) && lookupIndex.sanitize (c))))
528 if (unlikely (!featureParams.sanitize (c, this, closure ? closure->tag : HB_TAG_NONE)))
613 if (unlikely (flag & LookupFlag::UseMarkFilteringSet))
641 if (unlikely (!c->extend_min (*this))) return_trace (false);
644 if (unlikely (!subTable.serialize (c, num_subtables))) return_trace (false);
702 if (unlikely (!c->extend_min (*this))) return_trace (false);
704 if (unlikely (!c->extend (glyphArray))) return_trace (false);
771 if (unlikely (!
[all...]
H A Dhb-utf-private.hh71 if (unlikely (c < 0x0800u || hb_in_range (c, 0xD800u, 0xDFFFu)))
87 if (unlikely (!hb_in_range (c, 0x10000u, 0x10FFFFu)))
222 if (validate && unlikely (c >= 0xD800u && (c <= 0xDFFFu || c > 0x10FFFFu)))
234 if (validate && unlikely (c >= 0xD800u && (c <= 0xDFFFu || c > 0x10FFFFu)))
H A Dhb-common.cc130 if (unlikely (!str || !len || !*str))
262 if (unlikely (!lang))
352 if (unlikely (language == HB_LANGUAGE_INVALID)) {
377 if (unlikely (tag == HB_TAG_NONE))
H A Dhb-face.cc115 if (unlikely (!closure))
166 if (unlikely (!blob))
171 if (unlikely (!closure))
299 if (unlikely (hb_object_is_inert (face)))
H A Dhb-ot-shape-normalize.cc222 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
237 while (buffer->idx < end && unlikely (buffer->unicode->is_variation_selector (buffer->cur().codepoint)))
258 if (unlikely (buffer->unicode->is_variation_selector (buffer->info[i].codepoint))) {
292 if (unlikely (!buffer->len)) return;
395 if (unlikely (buffer->in_error))
H A Dhb-ot-shape-complex-arabic.cc262 if (unlikely (!arabic_plan))
299 if (unlikely (this_type == JOINING_TYPE_T))
311 if (unlikely (this_type == JOINING_TYPE_T)) {
331 if (unlikely (this_type == JOINING_TYPE_T))
348 if (unlikely (hb_in_range (info[i].codepoint, 0x180Bu, 0x180Du)))
403 if (unlikely (!fallback_plan))
407 if (unlikely (!hb_atomic_ptr_cmpexch (&(const_cast<arabic_shape_plan_t *> (arabic_plan))->fallback_plan, NULL, fallback_plan))) {
441 if (unlikely (_hb_glyph_info_multiplied (&info[i])))
586 if (unlikely (!buffer->ensure (count + extra_glyphs_needed)))
H A Dhb-ot-shape-complex-hangul.cc82 if (unlikely (!hangul_plan))
270 if (unlikely (buffer->in_error))
320 if (unlikely (buffer->in_error))
344 if (unlikely (buffer->in_error))
H A Dhb-ot-map.cc70 if (unlikely (!info)) return;
71 if (unlikely (!tag)) return;
111 if (unlikely (!lookup))
238 if (unlikely (!map))
H A Dhb-ot-cbdt-table.hh126 if (unlikely (offsetArrayZ[idx + 1] <= offsetArrayZ[idx]))
229 if (unlikely (!c->check_array (&indexSubtablesZ, indexSubtablesZ[0].static_size, count)))
232 if (unlikely (!indexSubtablesZ[i].sanitize (c, this)))

Completed in 79 milliseconds

123