/external/elfutils/tests/ |
D | run-annobingroup.sh | 33 [ 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 …]
|
/external/elfutils/libdw/ |
D | dwarf_getsrclines.c | 126 if (unlikely (new_line->line.field != state->field)) \ in add_new_line() 197 if (unlikely (linep + 4 > lineendp)) in read_srclines() 206 if (unlikely (unit_length == DWARF3_LENGTH_64_BIT)) in read_srclines() 208 if (unlikely (linep + 8 > lineendp)) in read_srclines() 215 if (unlikely (unit_length > (size_t) (lineendp - linep))) in read_srclines() 223 if (unlikely (version < 2) || unlikely (version > 5)) in read_srclines() 263 if (unlikely ((size_t) (lineendp - linep) < 1)) in read_srclines() 266 if (unlikely (max_ops_per_instr == 0)) in read_srclines() 290 if (unlikely (lineendp - linep < opcode_base - 1)) in read_srclines() 376 if (unlikely (dirarray == NULL)) in read_srclines() [all …]
|
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 (limit - bytes < 5)) in dwarf_next_cfi() 154 if (unlikely (*bytes != address_size)) in dwarf_next_cfi() [all …]
|
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 (*result < cache->frame_vaddr)) in read_encoded_value() [all …]
|
D | dwarf_getlocation.c | 132 if (unlikely (len != op->number)) in store_implicit_value() 137 if (unlikely (tsearch (block, cache, loc_compare) == NULL)) in store_implicit_value() 151 if (unlikely (found == NULL)) in dwarf_getlocation_implicit_value() 276 if (unlikely (ll == NULL)) \ in __libdw_intern_expression() 312 if (unlikely (data + 4 > end_data)) in __libdw_intern_expression() 319 if (unlikely (data + 8 > end_data)) in __libdw_intern_expression() 382 if (unlikely (data >= end_data)) in __libdw_intern_expression() 402 if (unlikely (data >= end_data)) in __libdw_intern_expression() 410 if (unlikely (data + 2 > end_data)) in __libdw_intern_expression() 420 if (unlikely (data + 2 > end_data)) in __libdw_intern_expression() [all …]
|
/external/u-boot/include/linux/ |
D | bug.h | 14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) 18 if (unlikely(__ret_warn_on)) \ 20 unlikely(__ret_warn_on); \ 25 if (unlikely(__ret_warn_on)) \ 27 unlikely(__ret_warn_on); \ 34 if (unlikely(__ret_warn_once && !__warned)) { \ 38 unlikely(__ret_warn_once); \ 45 if (unlikely(__ret_warn_once && !__warned)) { \ 49 unlikely(__ret_warn_once); \
|
/external/jemalloc_new/include/jemalloc/internal/ |
D | tcache_inlines.h | 36 if (unlikely(ticker_tick(&tcache->gc_ticker))) { in tcache_event() 53 if (unlikely(!tcache_success)) { in tcache_alloc_small() 56 if (unlikely(arena == NULL)) { in tcache_alloc_small() 72 if (config_prof || (slow_path && config_fill) || unlikely(zero)) { in tcache_alloc_small() 79 if (unlikely(opt_junk_alloc)) { in tcache_alloc_small() 82 } else if (unlikely(opt_zero)) { in tcache_alloc_small() 87 if (slow_path && config_fill && unlikely(opt_junk_alloc)) { in tcache_alloc_small() 116 if (unlikely(!tcache_success)) { in tcache_alloc_large() 122 if (unlikely(arena == NULL)) { in tcache_alloc_large() 135 unlikely(zero)) { in tcache_alloc_large() [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_emit.c | 133 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_halti5_only_state() 141 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) { in emit_halti5_only_state() 146 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_halti5_only_state() 164 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state() 167 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state() 172 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state() 177 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state() 180 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in emit_pre_halti5_state() 185 if (unlikely(dirty & (ETNA_DIRTY_FRAMEBUFFER))) { in emit_pre_halti5_state() 194 if (unlikely(dirty & (ETNA_DIRTY_SHADER | ETNA_DIRTY_FRAMEBUFFER))) { in emit_pre_halti5_state() [all …]
|
/external/elfutils/libdwfl/ |
D | core-file.c | 69 if (unlikely (offset < min) in elf_begin_rand() 70 || unlikely (offset >= (off_t) parent->maximum_size)) in elf_begin_rand() 79 if (unlikely (parent->maximum_size - offset < sizeof h)) in elf_begin_rand() 85 else if (unlikely (pread_retry (parent->fildes, in elf_begin_rand() 96 if (unlikely (endp == h.ar_size) in elf_begin_rand() 97 || unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand() 101 if (unlikely ((off_t) parent->maximum_size - offset < size)) in elf_begin_rand() 108 if (unlikely (offset == 0) in elf_begin_rand() 109 && unlikely (size == (off_t) parent->maximum_size)) in elf_begin_rand() 127 if (unlikely (dwfl == NULL)) in dwfl_report_core_segments() [all …]
|
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 (dwfl->lookup_module == NULL)) in reify_segments() [all …]
|
D | relocate.c | 63 && unlikely (elf_getshdrstrndx (elf, shstrndx) < 0)) in __libdwfl_relocate_value() 67 if (unlikely (name == NULL)) in __libdwfl_relocate_value() 84 && unlikely (! gelf_update_shdr (refscn, refshdr))) in __libdwfl_relocate_value() 147 if (unlikely (cache->symdata == NULL)) in relocate_getsym() 152 if (unlikely (cache->symxndxdata == NULL)) in relocate_getsym() 165 if (unlikely (mod->symfile == NULL) in relocate_getsym() 166 && unlikely (INTUSE(dwfl_module_getsymtab) (mod) < 0)) in relocate_getsym() 180 if (unlikely (gelf_getsymshndx (cache->symdata, cache->symxndxdata, in relocate_getsym() 248 if (unlikely (symtab->symstrdata == NULL in resolve_symbol() 252 if (unlikely (sym->st_name >= symtab->symstrdata->d_size)) in resolve_symbol() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-open-type.hh | 260 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_null (); in operator ()() 265 if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap (); in operator ()() 290 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize_shallow() 291 if (unlikely (this->is_null ())) return_trace (true); in sanitize_shallow() 292 if (unlikely (!c->check_range (base, *this))) return_trace (false); in sanitize_shallow() 364 if (unlikely (p < arrayZ)) return Null (Type); /* Overflowed. */ in operator []() 371 if (unlikely (p < arrayZ)) return Crap (Type); /* Overflowed. */ in operator []() 400 if (unlikely (!sanitize_shallow (c, count))) return_trace (false); in sanitize() 416 if (unlikely (!sanitize_shallow (c, count))) return_trace (false); in sanitize() 418 if (unlikely (!arrayZ[i].sanitize (c, base))) in sanitize() [all …]
|
D | hb-ot-layout-gsub-table.hh | 63 if (unlikely (!(this+coverage).add_coverage (c->input))) return; in collect_glyphs() 101 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 102 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize() 154 if (unlikely (iter.get_coverage () >= count)) in closure() 164 if (unlikely (!(this+coverage).add_coverage (c->input))) return; in collect_glyphs() 168 if (unlikely (iter.get_coverage () >= count)) in collect_glyphs() 188 if (unlikely (index >= substitute.len)) return_trace (false); in apply() 200 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 201 if (unlikely (!substitute.serialize (c, substitutes))) return_trace (false); in serialize() 202 if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs))) return_trace (false); in serialize() [all …]
|
D | hb-blob.cc | 173 if (unlikely (blob == hb_blob_get_empty ())) in hb_blob_copy_writable_or_fail() 459 if (unlikely (!new_data)) in try_make_writable() 538 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file() 541 if (unlikely (fd == -1)) goto fail_without_close; in hb_blob_create_from_file() 544 if (unlikely (fstat (fd, &st) == -1)) goto fail; in hb_blob_create_from_file() 550 if (unlikely (file->contents == MAP_FAILED)) goto fail; in hb_blob_create_from_file() 565 if (unlikely (!file)) return hb_blob_get_empty (); in hb_blob_create_from_file() 570 if (unlikely (wchar_file_name == nullptr)) goto fail_without_close; in hb_blob_create_from_file() 591 if (unlikely (fd == INVALID_HANDLE_VALUE)) goto fail_without_close; in hb_blob_create_from_file() 604 if (unlikely (file->mapping == nullptr)) goto fail; in hb_blob_create_from_file() [all …]
|
D | hb-ot-cff1-table.hh | 171 if (unlikely (!c->check_struct (this))) in sanitize() 174 if (unlikely (fmt > 1)) in sanitize() 176 if (unlikely (!((fmt == 0)? u.format0.sanitize (c): u.format1.sanitize (c)))) in sanitize() 187 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 201 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 206 if (unlikely (fmt0 == nullptr)) return_trace (false); in serialize() 214 if (unlikely (!((glyph <= 0x100) && (code <= 0x100)))) in serialize() 221 if (unlikely (fmt1 == nullptr)) return_trace (false); in serialize() 225 if (unlikely (!((code_ranges[i].code <= 0xFF) && (code_ranges[i].glyph <= 0xFF)))) in serialize() 234 if (unlikely (suppData == nullptr)) return_trace (false); in serialize() [all …]
|
D | hb-ot-shape-complex-indic.hh | 327 if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x0953u, 0x0954u))) in set_indic_properties() 330 else if (unlikely (hb_in_ranges<hb_codepoint_t> (u, 0x0A72u, 0x0A73u, in set_indic_properties() 335 else if (unlikely (hb_in_range<hb_codepoint_t> (u, 0x1CE2u, 0x1CE8u))) in set_indic_properties() 340 else if (unlikely (u == 0x1CEDu)) in set_indic_properties() 343 else if (unlikely (hb_in_ranges<hb_codepoint_t> (u, 0xA8F2u, 0xA8F7u, in set_indic_properties() 350 else if (unlikely (u == 0x0A51u)) in set_indic_properties() 359 else if (unlikely (u == 0x11301u || u == 0x11303u)) cat = OT_SM; in set_indic_properties() 360 else if (unlikely (u == 0x1133cu)) cat = OT_N; in set_indic_properties() 362 …else if (unlikely (u == 0x0AFBu)) cat = OT_N; /* https://github.com/harfbuzz/harfbuzz/issues/552 */ in set_indic_properties() 364 …else if (unlikely (u == 0x0980u)) cat = OT_PLACEHOLDER; /* https://github.com/harfbuzz/harfbuzz/is… in set_indic_properties() [all …]
|
D | hb-ot-cff-common.hh | 113 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 126 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 132 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 135 if (!unlikely (c->allocate_size<HBUINT8> (offSize_ * (byteArray.len + 1)))) in serialize() 152 if (unlikely (dest == nullptr || in serialize() 276 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 279 if (!unlikely (c->allocate_size<HBUINT8> (offSize_ * (dataArrayLen + 1)))) in serialize() 296 if (unlikely (dest == nullptr || in serialize() 337 if (unlikely (!opszr.serialize (c, dictval[i], param))) in serialize() 375 if (unlikely (p == nullptr)) return_trace (false); in serialize_int_op() [all …]
|
D | hb-ot-cff2-table.hh | 71 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 126 if (unlikely (dest == nullptr)) return_trace (false); in serialize() 202 if (unlikely (env.in_error ())) return; in process_op() 239 if (unlikely (env.in_error ())) return; in process_op() 349 if (unlikely (env.in_error ())) return; in process_op() 391 if (unlikely (env.in_error ())) return; in process_op() 442 if (unlikely (!topDictStr.sanitize (&sc))) { fini (); return; } in init() 446 if (unlikely (!top_interp.interpret (topDict))) { fini (); return; } in init() 455 if (((varStore != &Null(CFF2VariationStore)) && unlikely (!varStore->sanitize (&sc))) || in init() 456 (charStrings == &Null(CFF2CharStrings)) || unlikely (!charStrings->sanitize (&sc)) || in init() [all …]
|
D | hb-buffer-deserialize-text.hh | 425 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 437 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 449 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 461 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 473 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 502 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 514 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 526 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 538 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text() 550 if (unlikely (!buffer->successful)) in _hb_buffer_deserialize_glyphs_text()
|
/external/jemalloc/include/jemalloc/internal/ |
D | tcache.h | 248 if (unlikely(tcache == NULL) && tsd_nominal(tsd)) { in tcache_get() 263 if (unlikely(ticker_tick(&tcache->gc_ticker))) in tcache_event() 272 if (unlikely(tbin->ncached == 0)) { in tcache_alloc_easy() 288 if (unlikely((int)tbin->ncached < tbin->low_water)) in tcache_alloc_easy() 307 if (unlikely(!tcache_success)) { in tcache_alloc_small() 310 if (unlikely(arena == NULL)) in tcache_alloc_small() 324 if (config_prof || (slow_path && config_fill) || unlikely(zero)) { in tcache_alloc_small() 331 if (unlikely(opt_junk_alloc)) { in tcache_alloc_small() 334 } else if (unlikely(opt_zero)) in tcache_alloc_small() 338 if (slow_path && config_fill && unlikely(opt_junk_alloc)) { in tcache_alloc_small() [all …]
|
/external/elfutils/libelf/ |
D | elf_update.c | 50 if (unlikely (fstat (elf->fildes, &st) != 0)) in write_file() 64 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 75 if (unlikely (elf->map_address == MAP_FAILED)) in write_file() 98 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 (elf->fildes == -1)) in elf_update()
|
D | gelf_update_phdr.c | 48 if (unlikely (elf->kind != ELF_K_ELF)) in gelf_update_phdr() 63 if (unlikely (src->p_offset > 0xffffffffull) in gelf_update_phdr() 64 || unlikely (src->p_vaddr > 0xffffffffull) in gelf_update_phdr() 65 || unlikely (src->p_paddr > 0xffffffffull) in gelf_update_phdr() 66 || unlikely (src->p_filesz > 0xffffffffull) in gelf_update_phdr() 67 || unlikely (src->p_memsz > 0xffffffffull) in gelf_update_phdr() 68 || unlikely (src->p_align > 0xffffffffull)) in gelf_update_phdr()
|
D | elf_getshdrstrndx.c | 53 if (unlikely (elf->kind != ELF_K_ELF)) in elf_getshdrstrndx() 72 if (unlikely (elf->state.elf.ehdr == NULL)) in elf_getshdrstrndx() 87 if (unlikely (num == SHN_XINDEX)) in elf_getshdrstrndx() 93 if (unlikely (elf->state.elf32.scns.cnt == 0)) in elf_getshdrstrndx() 118 if (unlikely (elf->maximum_size - offset in elf_getshdrstrndx() 138 if (unlikely ((r = pread_retry (elf->fildes, &shdr_mem, in elf_getshdrstrndx() 158 if (unlikely (elf->state.elf64.scns.cnt == 0)) in elf_getshdrstrndx() 183 if (unlikely (elf->maximum_size - offset in elf_getshdrstrndx() 203 if (unlikely ((r = pread_retry (elf->fildes, &shdr_mem, in elf_getshdrstrndx()
|
/external/mesa3d/src/util/ |
D | ralloc.c | 125 if (unlikely(block == NULL)) in ralloc_size() 195 if (unlikely(ptr == NULL)) in reralloc_size() 284 if (unlikely(ptr == NULL)) in ralloc_steal() 300 if (unlikely(old_ctx == NULL)) in ralloc_adopt() 307 if (unlikely(old_info->child == NULL)) in ralloc_adopt() 329 if (unlikely(ptr == NULL)) in ralloc_parent() 349 if (unlikely(str == NULL)) in ralloc_strdup() 365 if (unlikely(str == NULL)) in ralloc_strndup() 385 if (unlikely(both == NULL)) in cat() 416 if (unlikely(both == NULL)) in ralloc_str_append() [all …]
|
/external/jemalloc/src/ |
D | jemalloc.c | 252 if (unlikely(opt_utrace)) { \ 300 if (config_fill && unlikely(opt_quarantine)) in malloc_thread_init() 308 if (unlikely(malloc_init_state == malloc_init_uninitialized)) in malloc_init_a0() 317 if (unlikely(!malloc_initialized()) && malloc_init_hard()) in malloc_init() 333 if (unlikely(malloc_init_a0())) in a0ialloc() 378 if (unlikely(size == 0)) in bootstrap_malloc() 390 if (unlikely(num_size == 0)) { in bootstrap_calloc() 402 if (unlikely(ptr == NULL)) in bootstrap_free() 954 if (config_fill && unlikely(in_valgrind)) { 962 if (config_tcache && unlikely(in_valgrind)) [all …]
|