Home
last modified time | relevance | path

Searched refs:unlikely (Results 1 – 25 of 1198) sorted by relevance

12345678910>>...48

/third_party/elfutils/tests/
Drun-annobingroup.sh33 [ 7] .gnu.build.attributes..text.unlikely
34 [ 8] .rela.gnu.build.attributes..text.unlikely
35 [ 9] .text.unlikely
43 [ 7] .gnu.build.attributes..text.unlikely
44 [ 8] .rela.gnu.build.attributes..text.unlikely
45 [ 9] .text.unlikely
51 [ 7] .gnu.build.attributes..text.unlikely
52 [ 8] .rela.gnu.build.attributes..text.unlikely
53 [ 9] .text.unlikely
61 [ 7] .gnu.build.attributes..text.unlikely
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_emit.c133 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_halti5_only_state()
142 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) { in emit_halti5_only_state()
147 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_halti5_only_state()
167 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state()
170 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state()
175 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state()
180 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state()
183 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state()
188 if (unlikely(dirty & (ETNA_DIRTY_FRAMEBUFFER))) { in emit_pre_halti5_state()
197 if (unlikely(dirty & (ETNA_DIRTY_SHADER | ETNA_DIRTY_FRAMEBUFFER))) { in emit_pre_halti5_state()
[all …]
/third_party/elfutils/libdw/
Ddwarf_getsrclines.c128 if (unlikely (new_line->line.field != state->field)) \ in add_new_line()
203 if (unlikely (linep + 4 > lineendp)) in read_srclines()
212 if (unlikely (unit_length == DWARF3_LENGTH_64_BIT)) in read_srclines()
214 if (unlikely (linep + 8 > lineendp)) in read_srclines()
221 if (unlikely (unit_length > (size_t) (lineendp - linep))) in read_srclines()
229 if (unlikely (version < 2) || unlikely (version > 5)) in read_srclines()
269 if (unlikely ((size_t) (lineendp - linep) < 1)) in read_srclines()
272 if (unlikely (max_ops_per_instr == 0)) in read_srclines()
296 if (unlikely (lineendp - linep < opcode_base - 1)) in read_srclines()
382 if (unlikely (dirarray == NULL)) in read_srclines()
[all …]
Ddwarf_next_cfi.c55 || unlikely (off + 4 >= data->d_size)) in dwarf_next_cfi()
75 if (unlikely (limit - bytes < 8)) in dwarf_next_cfi()
90 if (unlikely ((uint64_t) (limit - bytes) < length) in dwarf_next_cfi()
91 || unlikely (length < offset_size + 1)) in dwarf_next_cfi()
122 if (unlikely (entry->cie.CIE_id > (Dwarf_Off) pos) in dwarf_next_cfi()
123 || unlikely (pos <= (ptrdiff_t) offset_size)) in dwarf_next_cfi()
134 if (version != 1 && (unlikely (version < 3) || unlikely (version > 4))) in dwarf_next_cfi()
140 if (unlikely (bytes == NULL)) in dwarf_next_cfi()
149 if (unlikely (limit - bytes < 5)) in dwarf_next_cfi()
154 if (unlikely (*bytes != address_size)) in dwarf_next_cfi()
[all …]
Dencoded-value.h94 if (unlikely (*addrp + 4 > endp)) in __libdw_cfi_read_address_inc()
104 if (unlikely (*addrp + 8 > endp)) in __libdw_cfi_read_address_inc()
141 if (unlikely (size == 0)) in read_encoded_value()
161 if (unlikely (*p + 2 > endp)) in read_encoded_value()
171 if (unlikely (*p + 2 > endp)) in read_encoded_value()
177 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0)) in read_encoded_value()
182 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0)) in read_encoded_value()
189 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 8, &value) != 0)) in read_encoded_value()
194 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 0, &value) != 0)) in read_encoded_value()
215 if (unlikely (*result < cache->frame_vaddr)) in read_encoded_value()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-buffer-deserialize-text.hh472 { if (unlikely (!buffer->ensure_glyphs ())) return false; } in _hb_buffer_deserialize_text()
476 { if (unlikely (!buffer->ensure_unicode ())) return false; } in _hb_buffer_deserialize_text()
525 { if (unlikely (!buffer->ensure_glyphs ())) return false; } in _hb_buffer_deserialize_text()
533 { if (unlikely (!buffer->ensure_unicode ())) return false; } in _hb_buffer_deserialize_text()
547 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
559 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
571 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
583 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
595 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
607 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
[all …]
Dhb-serialize.hh217 if (unlikely (!current)) return; in end_serialize()
218 if (unlikely (in_error())) in end_serialize()
241 if (unlikely (in_error ())) return start_embed<Type> (); in push()
244 if (unlikely (!obj)) in push()
258 if (unlikely (!obj)) return; in pop_discard()
259 if (unlikely (in_error())) return; in pop_discard()
274 if (unlikely (!obj)) return 0; in pop_pack()
275 if (unlikely (in_error())) return 0; in pop_pack()
308 if (unlikely (!propagate_error (packed))) in pop_pack()
328 if (unlikely (in_error () && !only_overflow ())) return; in revert()
[all …]
Dhb-blob.cc208 if (unlikely (blob == hb_blob_get_empty ())) in hb_blob_copy_writable_or_fail()
477 if (unlikely (!length)) in try_make_writable()
495 if (unlikely (!new_data)) in try_make_writable()
571 if (unlikely (!rsrc_name)) return -1; in _open_resource_fork()
634 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file_or_fail()
637 if (unlikely (fd == -1)) goto fail_without_close; in hb_blob_create_from_file_or_fail()
640 if (unlikely (fstat (fd, &st) == -1)) goto fail; in hb_blob_create_from_file_or_fail()
645 if (unlikely (file->length == 0)) in hb_blob_create_from_file_or_fail()
659 if (unlikely (file->contents == MAP_FAILED)) goto fail; in hb_blob_create_from_file_or_fail()
674 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file_or_fail()
[all …]
Dhb-open-type.hh309 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_null (); in operator ()()
314 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap (); in operator ()()
401 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize_shallow()
402 if (unlikely (this->is_null ())) return_trace (true); in sanitize_shallow()
403 … if (unlikely ((const char *) base + (unsigned) *this < (const char *) base)) return_trace (false); in sanitize_shallow()
452 if (unlikely (p < arrayZ)) return Null (Type); /* Overflowed. */ in operator []()
459 if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ in operator []()
491 if (unlikely (!c->extend (this, items_len))) return_trace (false); in serialize()
500 if (unlikely (!serialize (c, count))) return_trace (false); in serialize()
512 if (unlikely (!as_array (count).copy (c))) return_trace (nullptr); in copy()
[all …]
Dhb-ot-cff1-table.hh177 if (unlikely (!dest)) return_trace (false); in serialize()
191 if (unlikely (!dest)) return_trace (false); in serialize()
197 if (unlikely (!fmt0)) return_trace (false); in serialize()
205 if (unlikely (!((glyph <= 0x100) && (code <= 0x100)))) in serialize()
214 if (unlikely (!fmt1)) return_trace (false); in serialize()
218 if (unlikely (!((code_ranges[i].code <= 0xFF) && (code_ranges[i].glyph <= 0xFF)))) in serialize()
231 if (unlikely (!suppData)) return_trace (false); in serialize()
279 if (unlikely (!c->check_struct (this))) in sanitize()
284 case 0: if (unlikely (!u.format0.sanitize (c))) { return_trace (false); } break; in sanitize()
285 case 1: if (unlikely (!u.format1.sanitize (c))) { return_trace (false); } break; in sanitize()
[all …]
Dhb-buffer-deserialize-json.hh552 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_json()
566 { if (unlikely (!buffer->ensure_glyphs ())) return false; } in _hb_buffer_deserialize_json()
570 { if (unlikely (!buffer->ensure_unicode ())) return false; } in _hb_buffer_deserialize_json()
612 { if (unlikely (!buffer->ensure_glyphs ())) return false; } in _hb_buffer_deserialize_json()
620 { if (unlikely (!buffer->ensure_unicode ())) return false; } in _hb_buffer_deserialize_json()
634 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_json()
646 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_json()
658 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_json()
670 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_json()
682 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_json()
[all …]
Dhb-ot-shape-complex-indic.hh330 if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x0953u, 0x0954u))) in set_indic_properties()
333 else if (unlikely (hb_in_ranges<hb_codepoint_t> (u, 0x0A72u, 0x0A73u, in set_indic_properties()
338 else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x1CE2u, 0x1CE8u))) in set_indic_properties()
343 else if (unlikely (u == 0x1CEDu)) in set_indic_properties()
346 else if (unlikely (hb_in_ranges<hb_codepoint_t> (u, 0xA8F2u, 0xA8F7u, in set_indic_properties()
353 else if (unlikely (u == 0x0A51u)) in set_indic_properties()
362 else if (unlikely (u == 0x11301u || u == 0x11303u)) cat = OT_SM; in set_indic_properties()
363 else if (unlikely (u == 0x1133Bu || u == 0x1133Cu)) cat = OT_N; in set_indic_properties()
365 …else if (unlikely (u == 0x0AFBu)) cat = OT_N; /* https://github.com/harfbuzz/harfbuzz/issues/552 */ in set_indic_properties()
366 …else if (unlikely (u == 0x0B55u)) cat = OT_N; /* https://github.com/harfbuzz/harfbuzz/issues/2849 … in set_indic_properties()
[all …]
/third_party/elfutils/libdwfl/
Dsegment.c67 if (unlikely (naddr == NULL)) in insert()
70 if (unlikely (nsegndx == NULL)) in insert()
86 if (unlikely (dwfl->lookup_module == NULL)) in insert()
94 if (unlikely (i < dwfl->lookup_elts)) in insert()
171 if (unlikely (idx < 0)) in reify_segments()
174 if (unlikely (insert (dwfl, 0, start, end, -1))) in reify_segments()
182 if (unlikely (insert (dwfl, idx + 1, start, end, in reify_segments()
192 if (unlikely (insert (dwfl, idx + 1, start, end, -1))) in reify_segments()
202 if (unlikely (insert (dwfl, idx + 1, in reify_segments()
212 if (unlikely (dwfl->lookup_module == NULL)) in reify_segments()
[all …]
Dcore-file.c64 if (unlikely (offset < min) in elf_begin_rand()
65 || unlikely (offset >= (off_t) parent->maximum_size)) in elf_begin_rand()
80 if (unlikely (parent->maximum_size - offset < sizeof (struct ar_hdr))) in elf_begin_rand()
86 else if (unlikely (pread_retry (parent->fildes, in elf_begin_rand()
97 if (unlikely (endp == ar_size) in elf_begin_rand()
98 || unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand()
102 if (unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand()
109 if (unlikely (offset == 0) in elf_begin_rand()
110 && unlikely (size == (off_t) parent->maximum_size)) in elf_begin_rand()
128 if (unlikely (dwfl == NULL)) in dwfl_report_core_segments()
[all …]
Drelocate.c65 && unlikely (elf_getshdrstrndx (elf, shstrndx) < 0)) in __libdwfl_relocate_value()
69 if (unlikely (name == NULL)) in __libdwfl_relocate_value()
86 && unlikely (! gelf_update_shdr (refscn, refshdr))) in __libdwfl_relocate_value()
149 if (unlikely (cache->symdata == NULL)) in relocate_getsym()
154 if (unlikely (cache->symxndxdata == NULL)) in relocate_getsym()
167 if (unlikely (mod->symfile == NULL) in relocate_getsym()
168 && unlikely (INTUSE(dwfl_module_getsymtab) (mod) < 0)) in relocate_getsym()
182 if (unlikely (gelf_getsymshndx (cache->symdata, cache->symxndxdata, in relocate_getsym()
250 if (unlikely (symtab->symstrdata == NULL in resolve_symbol()
254 if (unlikely (sym->st_name >= symtab->symstrdata->d_size)) in resolve_symbol()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-open-type.hh273 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_null (); in operator ()()
278 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap (); in operator ()()
349 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize_shallow()
350 if (unlikely (this->is_null ())) return_trace (true); in sanitize_shallow()
351 if (unlikely (!c->check_range (base, *this))) return_trace (false); in sanitize_shallow()
398 if (unlikely (p < arrayZ)) return Null (Type); /* Overflowed. */ in operator []()
405 if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ in operator []()
434 if (unlikely (!c->extend (*this, items_len))) return_trace (false); in serialize()
443 if (unlikely (!serialize (c, count))) return_trace (false); in serialize()
455 if (unlikely (!as_array (count).copy (c))) return_trace (nullptr); in copy()
[all …]
Dhb-ot-layout-gsub-table.hh61 if (unlikely (!(this+coverage).add_coverage (c->input))) return; in collect_glyphs()
96 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize()
97 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize()
156 if (unlikely (!(this+coverage).add_coverage (c->input))) return; in collect_glyphs()
174 if (unlikely (index >= substitute.len)) return_trace (false); in apply()
196 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize()
197 if (unlikely (!substitute.serialize (c, substitutes))) return_trace (false); in serialize()
198 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize()
248 if (unlikely (!c->extend_min (u.format))) return_trace (false); in serialize()
275 … if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ()); in dispatch()
[all …]
Dhb-ot-cff1-table.hh169 if (unlikely (!c->check_struct (this))) in sanitize()
172 if (unlikely (fmt > 1)) in sanitize()
174 if (unlikely (!((fmt == 0)? u.format0.sanitize (c): u.format1.sanitize (c)))) in sanitize()
185 if (unlikely (dest == nullptr)) return_trace (false); in serialize()
199 if (unlikely (dest == nullptr)) return_trace (false); in serialize()
204 if (unlikely (fmt0 == nullptr)) return_trace (false); in serialize()
212 if (unlikely (!((glyph <= 0x100) && (code <= 0x100)))) in serialize()
219 if (unlikely (fmt1 == nullptr)) return_trace (false); in serialize()
223 if (unlikely (!((code_ranges[i].code <= 0xFF) && (code_ranges[i].glyph <= 0xFF)))) in serialize()
232 if (unlikely (suppData == nullptr)) return_trace (false); in serialize()
[all …]
Dhb-blob.cc185 if (unlikely (blob == hb_blob_get_empty ())) in hb_blob_copy_writable_or_fail()
471 if (unlikely (!new_data)) in try_make_writable()
550 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file()
553 if (unlikely (fd == -1)) goto fail_without_close; in hb_blob_create_from_file()
556 if (unlikely (fstat (fd, &st) == -1)) goto fail; in hb_blob_create_from_file()
562 if (unlikely (file->contents == MAP_FAILED)) goto fail; in hb_blob_create_from_file()
577 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file()
582 if (unlikely (wchar_file_name == nullptr)) goto fail_without_close; in hb_blob_create_from_file()
603 if (unlikely (fd == INVALID_HANDLE_VALUE)) goto fail_without_close; in hb_blob_create_from_file()
616 if (unlikely (file->mapping == nullptr)) goto fail; in hb_blob_create_from_file()
[all …]
/third_party/harfbuzz/src/
Dhb-blob.cc169 if (unlikely (blob == hb_blob_get_empty ())) in hb_blob_copy_writable_or_fail()
438 if (unlikely (!length)) in try_make_writable()
456 if (unlikely (!new_data)) in try_make_writable()
532 if (unlikely (!rsrc_name)) return -1; in _open_resource_fork()
575 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file()
578 if (unlikely (fd == -1)) goto fail_without_close; in hb_blob_create_from_file()
581 if (unlikely (fstat (fd, &st) == -1)) goto fail; in hb_blob_create_from_file()
586 if (unlikely (file->length == 0)) in hb_blob_create_from_file()
600 if (unlikely (file->contents == MAP_FAILED)) goto fail; in hb_blob_create_from_file()
615 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file()
[all …]
Dhb-buffer-deserialize-text.hh271 if (unlikely (!buffer->ensure_glyphs ())) return false; } in _hb_buffer_deserialize_text()
281 if (unlikely (!buffer->ensure_unicode ())) return false; } in _hb_buffer_deserialize_text()
386 if (unlikely (!buffer->ensure_glyphs ())) return false; } in _hb_buffer_deserialize_text()
404 if (unlikely (!buffer->ensure_unicode ())) return false; } in _hb_buffer_deserialize_text()
428 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
450 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
472 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
494 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
516 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
538 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_text()
[all …]
Dhb-open-type.hh309 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_null (); in operator ()()
314 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap (); in operator ()()
388 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize_shallow()
389 if (unlikely (this->is_null ())) return_trace (true); in sanitize_shallow()
390 … if (unlikely ((const char *) base + (unsigned) *this < (const char *) base)) return_trace (false); in sanitize_shallow()
439 if (unlikely (p < arrayZ)) return Null (Type); /* Overflowed. */ in operator []()
446 if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ in operator []()
476 if (unlikely (!c->extend (*this, items_len))) return_trace (false); in serialize()
485 if (unlikely (!serialize (c, count))) return_trace (false); in serialize()
497 if (unlikely (!as_array (count).copy (c))) return_trace (nullptr); in copy()
[all …]
Dhb-ot-cff1-table.hh177 if (unlikely (!dest)) return_trace (false); in serialize()
191 if (unlikely (!dest)) return_trace (false); in serialize()
197 if (unlikely (!fmt0)) return_trace (false); in serialize()
205 if (unlikely (!((glyph <= 0x100) && (code <= 0x100)))) in serialize()
214 if (unlikely (!fmt1)) return_trace (false); in serialize()
218 if (unlikely (!((code_ranges[i].code <= 0xFF) && (code_ranges[i].glyph <= 0xFF)))) in serialize()
231 if (unlikely (!suppData)) return_trace (false); in serialize()
279 if (unlikely (!c->check_struct (this))) in sanitize()
284 case 0: if (unlikely (!u.format0.sanitize (c))) { return_trace (false); } break; in sanitize()
285 case 1: if (unlikely (!u.format1.sanitize (c))) { return_trace (false); } break; in sanitize()
[all …]
Dhb-ot-shape-complex-indic.hh330 if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x0953u, 0x0954u))) in set_indic_properties()
333 else if (unlikely (hb_in_ranges<hb_codepoint_t> (u, 0x0A72u, 0x0A73u, in set_indic_properties()
338 else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x1CE2u, 0x1CE8u))) in set_indic_properties()
343 else if (unlikely (u == 0x1CEDu)) in set_indic_properties()
346 else if (unlikely (hb_in_ranges<hb_codepoint_t> (u, 0xA8F2u, 0xA8F7u, in set_indic_properties()
353 else if (unlikely (u == 0x0A51u)) in set_indic_properties()
362 else if (unlikely (u == 0x11301u || u == 0x11303u)) cat = OT_SM; in set_indic_properties()
363 else if (unlikely (u == 0x1133Bu || u == 0x1133Cu)) cat = OT_N; in set_indic_properties()
365 …else if (unlikely (u == 0x0AFBu)) cat = OT_N; /* https://github.com/harfbuzz/harfbuzz/issues/552 */ in set_indic_properties()
366 …else if (unlikely (u == 0x0B55u)) cat = OT_N; /* https://github.com/harfbuzz/harfbuzz/issues/2849 … in set_indic_properties()
[all …]
Dhb-serialize.hh210 if (unlikely (!current)) return; in end_serialize()
211 if (unlikely (in_error())) in end_serialize()
234 if (unlikely (in_error ())) return start_embed<Type> (); in push()
237 if (unlikely (!obj)) in push()
251 if (unlikely (!obj)) return; in pop_discard()
252 if (unlikely (in_error())) return; in pop_discard()
267 if (unlikely (!obj)) return 0; in pop_pack()
268 if (unlikely (in_error())) return 0; in pop_pack()
301 if (unlikely (!propagate_error (packed))) in pop_pack()
320 if (unlikely (in_error ())) return; in revert()
[all …]

12345678910>>...48