| /third_party/elfutils/libdw/ |
| H A D | dwarf_getsrclines.c | 128 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 (lineend in read_srclines() [all...] |
| H A D | dwarf_next_cfi.c | 55 || 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 (limi in dwarf_next_cfi() [all...] |
| H A D | encoded-value.h | 94 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 (*resul in read_encoded_value() [all...] |
| H A D | dwarf_formblock.c | 50 if (unlikely (endp - datap < 1)) in dwarf_formblock() 57 if (unlikely (endp - datap < 2)) in dwarf_formblock() 64 if (unlikely (endp - datap < 4)) in dwarf_formblock() 72 if (unlikely (endp - datap < 1)) in dwarf_formblock() 82 if (unlikely (endp - datap < 16)) in dwarf_formblock() 93 if (unlikely (return_block->length > (size_t) (endp - return_block->data))) in dwarf_formblock()
|
| /third_party/mesa3d/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_emit.c | 133 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(dirt in emit_pre_halti5_state() [all...] |
| /third_party/elfutils/libdwfl/ |
| H A D | relocate.c | 65 && 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 (sy in resolve_symbol() [all...] |
| H A D | core-file.c | 64 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 (dwf in dwfl_report_core_segments() [all...] |
| H A D | segment.c | 67 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 (dwf in reify_segments() [all...] |
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-buffer-deserialize-text.hh | 472 { 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 (!buffe in _hb_buffer_deserialize_text() [all...] |
| H A D | hb-ot-cff1-table.hh | 177 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 (! in sanitize() [all...] |
| H A D | hb-ot-shape-complex-indic.hh | 330 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 ( in set_indic_properties() [all...] |
| H A D | hb-serialize.hh | 217 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() 267 /* Set share to false when an object is unlikely sharable with others 274 if (unlikely (!obj)) return 0; in pop_pack() 275 if (unlikely (in_error())) return 0; in pop_pack() 308 if (unlikely (!propagate_erro in pop_pack() [all...] |
| H A D | hb-buffer-deserialize-json.hh | 552 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 (!buffe in _hb_buffer_deserialize_json() [all...] |
| H A D | hb-ot-hmtx-table.hh | 83 if (unlikely (!dest_blob)) { in subset_update_header() 111 if (unlikely (!c->embed<LongMetric> (&lm))) return; in serialize() 116 if (unlikely (!sb)) return; in serialize() 128 if (unlikely (!table_prime)) return_trace (false); in subset() 149 if (unlikely (c->serializer->in_error ())) in subset() 153 if (unlikely (!subset_update_header (c->plan, num_advances))) in subset() 174 if (unlikely (num_advances * 4 > len)) in init() 180 if (unlikely (!num_advances)) in init() 201 if (unlikely (glyph >= num_metrics)) in get_side_bearing() 213 if (unlikely (glyp in get_side_bearing() [all...] |
| H A D | hb-ot-color-cbdt-table.hh | 69 if (unlikely (!cbdt_prime->alloc (new_len))) return false; in _copy_data_to_cbdt() 167 if (unlikely (offsetArrayZ[idx + 1] <= offsetArrayZ[idx])) in get_image_data() 252 if (unlikely (!u.format1.add_offset (c, local_offset, size))) in fill_missing_glyphs() 261 if (unlikely (!u.format3.add_offset (c, local_offset, size))) in fill_missing_glyphs() 284 if (unlikely (!get_image_data (idx, &offset, &length, &format))) return_trace (false); in copy_glyph_at_idx() 285 if (unlikely (offset > cbdt_length || cbdt_length - offset < length)) return_trace (false); in copy_glyph_at_idx() 289 if (unlikely (!_copy_data_to_cbdt (cbdt_prime, cbdt + offset, length))) return_trace (false); in copy_glyph_at_idx() 386 if (unlikely (!subtable)) return_trace (false); in add_new_subtable() 387 if (unlikely (!c->serializer->extend_min (subtable))) return_trace (false); in add_new_subtable() 412 if (unlikely (!subtabl in add_new_subtable() [all...] |
| H A D | hb-blob.cc | 208 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 (!fil in hb_blob_create_from_file_or_fail() [all...] |
| H A D | hb-ot-cff2-table.hh | 58 if (unlikely (!dest)) return_trace (false); in serialize() 91 if (unlikely (!c->check_struct (this))) in sanitize() 126 if (unlikely (!dest)) return_trace (false); in serialize() 182 if (unlikely (env.in_error ())) return; in process_op() 219 if (unlikely (env.in_error ())) return; in process_op() 318 if (unlikely (env.in_error ())) return; in process_op() 360 if (unlikely (env.in_error ())) return; in process_op() 419 if (unlikely (!topDictStr.sanitize (&sc))) { fini (); return; } in init() 423 if (unlikely (!top_interp.interpret (topDict))) { fini (); return; } in init() 432 if (((varStore != &Null (CFF2VariationStore)) && unlikely (!varStor in init() [all...] |
| H A D | hb-open-type.hh | 309 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_null (); 314 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap (); 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_arra in copy() [all...] |
| H A D | hb-bit-set-invertible.hh | 98 void add (hb_codepoint_t g) { unlikely (inverted) ? s.del (g) : s.add (g); } in add() 100 { return unlikely (inverted) ? (s.del_range (a, b), true) : s.add_range (a, b); } in add_range() 116 void del (hb_codepoint_t g) { unlikely (inverted) ? s.add (g) : s.del (g); } in del() 118 { unlikely (inverted) ? (void) s.add_range (a, b) : s.del_range (a, b); } in del_range() 165 if (unlikely (inverted != larger_set.inverted)) in is_subset() 168 return unlikely (inverted) ? larger_set.s.is_subset (s) : s.is_subset (larger_set.s); in is_subset() 180 if (unlikely (inverted)) in union_() 187 if (unlikely (inverted)) in union_() 199 if (unlikely (inverted)) in intersect() 206 if (unlikely (inverte in intersect() [all...] |
| H A D | hb-ot-layout-gsub-table.hh | 68 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs() 103 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize() 104 if (unlikely (!coverage.serialize_serialize (c, glyphs))) return_trace (false); in serialize() 172 if (unlikely (!(this+coverage).collect_coverage (c->input))) return; in collect_glyphs() 190 if (unlikely (index >= substitute.len)) return_trace (false); in apply() 212 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize() 213 if (unlikely (!substitute.serialize (c, substitutes))) return_trace (false); in serialize() 214 if (unlikely (!coverage.serialize_serialize (c, glyphs))) return_trace (false); in serialize() 265 if (unlikely (!c->extend_min (u.format))) return_trace (false); in serialize() 291 if (unlikely (! in dispatch() [all...] |
| H A D | hb-ot-cff-common.hh | 110 if (unlikely (!dest)) return_trace (false); in serialize() 123 if (unlikely (!dest)) return_trace (false); in serialize() 129 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize() 132 if (unlikely (!c->allocate_size<HBUINT8> (offSize_ * (byteArray.length + 1)))) in serialize() 150 if (unlikely (!dest)) return_trace (false); in serialize() 180 if (unlikely (!dest)) return_trace (false); in serialize() 217 if (unlikely (!c->extend_min (this))) return_trace (false); in serialize_header() 220 if (unlikely (!c->allocate_size<HBUINT8> (off_size * (it.len () + 1)))) in serialize_header() 261 if (unlikely ((offset_at (index + 1) < offset_at (index)) || in length_at() 274 if (unlikely (inde in operator []() [all...] |
| /third_party/mesa3d/src/util/ |
| H A D | ralloc.c | 119 if (unlikely(block == NULL)) in ralloc_size() 190 if (unlikely(ptr == NULL)) in reralloc_size() 200 if (unlikely(ptr == NULL)) in rerzalloc_size() 304 if (unlikely(ptr == NULL)) in ralloc_steal() 320 if (unlikely(old_ctx == NULL)) in ralloc_adopt() 327 if (unlikely(old_info->child == NULL)) in ralloc_adopt() 349 if (unlikely(ptr == NULL)) in ralloc_parent() 369 if (unlikely(str == NULL)) in ralloc_strdup() 385 if (unlikely(str == NULL)) in ralloc_strndup() 405 if (unlikely(bot in cat() [all...] |
| /third_party/elfutils/libelf/ |
| H A D | elf_update.c | 48 if (unlikely (fstat (elf->fildes, &st) != 0)) in write_file() 62 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 73 if (unlikely (elf->map_address == MAP_FAILED)) in write_file() 96 if (unlikely (posix_fallocate (elf->fildes, 0, size) != 0)) in write_file() 142 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 152 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) in write_file() 154 && unlikely (fchmod (elf->fildes, st.st_mode) != 0)) in write_file() 176 && unlikely (cmd != ELF_C_WRITE_MMAP)) in elf_update() 219 && unlikely (elf->cmd != ELF_C_WRITE_MMAP)) in elf_update() 224 else if (unlikely (el in elf_update() [all...] |
| H A D | gelf_update_auxv.c | 49 if (unlikely (ndx < 0)) in gelf_update_auxv() 55 if (unlikely (data_scn->d.d_type != ELF_T_AUXV)) in gelf_update_auxv() 71 if (unlikely (src->a_type > 0xffffffffll) in gelf_update_auxv() 72 || unlikely (src->a_un.a_val > 0xffffffffull)) in gelf_update_auxv() 79 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size)) in gelf_update_auxv() 93 if (unlikely ((ndx + 1) * sizeof (Elf64_auxv_t) > data_scn->d.d_size)) in gelf_update_auxv()
|
| /third_party/mesa3d/src/intel/vulkan/ |
| H A D | anv_measure.h | 59 if (unlikely(device->physical->measure_device.config)) \ 63 if (unlikely(cmd_buffer->measure)) \ 67 if (unlikely(cmd_buffer->measure)) \ 71 if (unlikely(cmd_buffer->measure)) \ 75 if (unlikely(cmd_buffer->measure)) \ 79 if (unlikely(primary->measure)) \
|