/external/elfutils/libdw/ |
D | dwarf_getsrclines.c | 127 if (unlikely (new_line->line.field != state->field)) \ in add_new_line() 207 if (unlikely (linep + 4 > lineendp)) in read_srclines() 216 if (unlikely (unit_length == DWARF3_LENGTH_64_BIT)) in read_srclines() 218 if (unlikely (linep + 8 > lineendp)) in read_srclines() 225 if (unlikely (unit_length > (size_t) (lineendp - linep) in read_srclines() 232 if (unlikely (version < 2) || unlikely (version > 4)) in read_srclines() 253 if (unlikely (lineendp - linep < 5)) in read_srclines() 256 if (unlikely (max_ops_per_instr == 0)) in read_srclines() 276 if (unlikely (lineendp - linep < opcode_base - 1)) in read_srclines() 304 if (unlikely (dirarray == NULL)) in read_srclines() [all …]
|
D | dwarf_next_cfi.c | 55 || unlikely (off + 4 >= data->d_size)) in dwarf_next_cfi() 74 if (unlikely (limit - bytes < 8)) in dwarf_next_cfi() 82 if (unlikely ((uint64_t) (limit - bytes) < length) in dwarf_next_cfi() 83 || unlikely (length < offset_size + 1)) in dwarf_next_cfi() 114 if (unlikely (entry->cie.CIE_id > (Dwarf_Off) pos) in dwarf_next_cfi() 115 || unlikely (pos <= (ptrdiff_t) offset_size)) in dwarf_next_cfi() 126 if (version != 1 && (unlikely (version < 3) || unlikely (version > 4))) in dwarf_next_cfi() 132 if (unlikely (bytes == NULL)) in dwarf_next_cfi() 141 if (unlikely (limit - bytes < 5)) in dwarf_next_cfi() 146 if (unlikely (*bytes != address_size)) in dwarf_next_cfi() [all …]
|
D | encoded-value.h | 93 if (unlikely (*addrp + 4 > endp)) in __libdw_cfi_read_address_inc() 103 if (unlikely (*addrp + 8 > endp)) in __libdw_cfi_read_address_inc() 140 if (unlikely (size == 0)) in read_encoded_value() 160 if (unlikely (*p + 2 > endp)) in read_encoded_value() 170 if (unlikely (*p + 2 > endp)) in read_encoded_value() 176 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0)) in read_encoded_value() 181 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 4, &value) != 0)) in read_encoded_value() 188 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 8, &value) != 0)) in read_encoded_value() 193 if (unlikely (__libdw_cfi_read_address_inc (cache, p, 0, &value) != 0)) in read_encoded_value() 214 if (unlikely (*result < cache->frame_vaddr)) in read_encoded_value() [all …]
|
D | dwarf_child.c | 51 if (unlikely (abbrevp == DWARF_END_ABBREV)) in __libdw_find_attr() 67 if (unlikely (attrp >= endp)) in __libdw_find_attr() 72 if (unlikely (attrp >= endp)) in __libdw_find_attr() 96 if (unlikely (len == (size_t) -1l)) in __libdw_find_attr() 126 if (unlikely (abbrevp == DWARF_END_ABBREV)) in dwarf_child() 152 if (unlikely (code >= endp)) /* Truncated section. */ in dwarf_child() 154 if (unlikely (*code == 0x80)) in dwarf_child() 159 if (unlikely (*code == '\0')) in dwarf_child()
|
D | dwarf_getlocation.c | 124 if (unlikely (found == NULL)) in dwarf_getlocation_implicit_value() 247 if (unlikely (ll == NULL)) \ in __libdw_intern_expression() 283 if (unlikely (data + 4 > end_data)) in __libdw_intern_expression() 290 if (unlikely (data + 8 > end_data)) in __libdw_intern_expression() 352 if (unlikely (data >= end_data)) in __libdw_intern_expression() 372 if (unlikely (data >= end_data)) in __libdw_intern_expression() 380 if (unlikely (data + 2 > end_data)) in __libdw_intern_expression() 390 if (unlikely (data + 2 > end_data)) in __libdw_intern_expression() 397 if (unlikely (data + 4 > end_data)) in __libdw_intern_expression() 406 if (unlikely (data + 4 > end_data)) in __libdw_intern_expression() [all …]
|
D | memory-access.h | 132 (unlikely ((Dbg)->other_byte_order) \ 136 (unlikely ((Dbg)->other_byte_order) \ 143 (unlikely ((Dbg)->other_byte_order) \ 147 (unlikely ((Dbg)->other_byte_order) \ 154 (unlikely ((Dbg)->other_byte_order) \ 158 (unlikely ((Dbg)->other_byte_order) \ 192 if (unlikely (other_byte_order)) in read_2ubyte_unaligned_1() 200 if (unlikely (other_byte_order)) in read_2sbyte_unaligned_1() 215 if (unlikely (other_byte_order)) in read_4ubyte_unaligned_1() 223 if (unlikely (other_byte_order)) in read_4sbyte_unaligned_1() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-set-private.hh | 169 if (unlikely (hb_object_is_inert (this))) in clear() 182 if (unlikely (in_error)) return; in add() 183 if (unlikely (g == INVALID)) return; in add() 184 if (unlikely (g > MAX_G)) return; in add() 189 if (unlikely (in_error)) return; in add_range() 196 if (unlikely (in_error)) return; in del() 197 if (unlikely (g > MAX_G)) return; in del() 202 if (unlikely (in_error)) return; in del_range() 209 if (unlikely (g > MAX_G)) return false; in has() 215 if (unlikely (first > MAX_G)) return false; in intersects() [all …]
|
D | hb-ot-layout-gsub-table.hh | 100 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 101 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize() 132 if (unlikely (iter.get_coverage () >= count)) in closure() 146 if (unlikely (iter.get_coverage () >= count)) in collect_glyphs() 171 if (unlikely (index >= substitute.len)) return_trace (false); in apply() 185 if (unlikely (!c->extend_min (*this))) return_trace (false); in serialize() 186 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return_trace (false); in serialize() 187 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return_trace (fals… in serialize() 217 if (unlikely (!c->extend_min (u.format))) return_trace (false); in serialize() 242 … if (unlikely (!c->may_dispatch (this, &u.format))) return_trace (c->no_dispatch_return_value ()); in dispatch() [all …]
|
D | hb-buffer.cc | 118 if (unlikely (in_error)) in enlarge() 120 if (unlikely (size > max_len)) in enlarge() 131 if (unlikely (_hb_unsigned_int_mul_overflows (size, sizeof (info[0])))) in enlarge() 138 if (unlikely (_hb_unsigned_int_mul_overflows (new_allocated, sizeof (info[0])))) in enlarge() 145 if (unlikely (!new_pos || !new_info)) in enlarge() 165 if (unlikely (!ensure (out_len + num_out))) return false; in make_room_for() 183 if (unlikely (!ensure (len + count))) return false; in shift_forward() 219 if (unlikely (hb_object_is_inert (this))) in reset() 233 if (unlikely (hb_object_is_inert (this))) in clear() 264 if (unlikely (!ensure (len + 1))) return; in add() [all …]
|
D | hb-open-type-private.hh | 329 if (unlikely (!c->start)) { in sanitize() 378 return unlikely (!base) ? &Null(Type) : CastP<Type> (base); in lock_instance() 446 if (unlikely (this->ran_out_of_room || this->end - this->head < ptrdiff_t (size))) { in allocate_size() 474 if (unlikely (!ret)) return NULL; in embed() 484 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend_min() 493 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend() 518 if (unlikely (i >= len)) return Type (); in operator []() 524 if (unlikely (count > len)) in advance() 794 if (unlikely (!offset)) return Null(Type); in operator ()() 808 if (unlikely (!c->check_struct (this))) return_trace (false); in sanitize() [all …]
|
D | hb-unicode-private.hh | 81 if (unlikely (!a || !b)) return false; in compose() 109 if (unlikely (unicode == 0x1037u)) unicode = 0x103Au; in modified_combining_class() 113 if (unlikely (unicode == 0x1A60u)) return 254; in modified_combining_class() 117 if (unlikely (unicode == 0x0FC6u)) return 254; in modified_combining_class() 119 if (unlikely (unicode == 0x0F39u)) return 127; in modified_combining_class() 129 return unlikely (hb_in_ranges (unicode, in is_variation_selector() 179 case 0x00: return unlikely (ch == 0x00ADu); in is_default_ignorable() 180 case 0x03: return unlikely (ch == 0x034Fu); in is_default_ignorable() 181 case 0x06: return unlikely (ch == 0x061Cu); in is_default_ignorable()
|
/external/elfutils/libdwfl/ |
D | core-file.c | 70 if (unlikely (offset < min) in elf_begin_rand() 71 || unlikely (offset >= (off_t) parent->maximum_size)) in elf_begin_rand() 80 if (unlikely (parent->maximum_size - offset < sizeof h)) in elf_begin_rand() 86 else if (unlikely (pread_retry (parent->fildes, in elf_begin_rand() 97 if (unlikely (endp == h.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 …]
|
D | segment.c | 63 if (unlikely (naddr == NULL)) in insert() 66 if (unlikely (nsegndx == NULL)) in insert() 82 if (unlikely (dwfl->lookup_module == NULL)) in insert() 90 if (unlikely (i < dwfl->lookup_elts)) in insert() 167 if (unlikely (idx < 0)) in reify_segments() 170 if (unlikely (insert (dwfl, 0, start, end, -1))) in reify_segments() 178 if (unlikely (insert (dwfl, idx + 1, start, end, in reify_segments() 188 if (unlikely (insert (dwfl, idx + 1, start, end, -1))) in reify_segments() 198 if (unlikely (insert (dwfl, idx + 1, in reify_segments() 208 if (unlikely (dwfl->lookup_module == NULL)) in reify_segments() [all …]
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_emit.c | 291 if (unlikely(dirty & (ETNA_DIRTY_BLEND))) { in etna_emit_state() 300 if (unlikely(dirty & (ETNA_DIRTY_TEXTURE_CACHES))) in etna_emit_state() 302 if (unlikely(dirty & (ETNA_DIRTY_FRAMEBUFFER))) /* Framebuffer config changed? */ in etna_emit_state() 314 if (unlikely(dirty & (ETNA_DIRTY_FRAMEBUFFER))) { in etna_emit_state() 366 if (unlikely(dirty & (ETNA_DIRTY_FRAMEBUFFER | ETNA_DIRTY_SAMPLE_MASK))) { in etna_emit_state() 394 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in etna_emit_state() 397 if (unlikely(dirty & (ETNA_DIRTY_SHADER | ETNA_DIRTY_RASTERIZER))) { in etna_emit_state() 406 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) { in etna_emit_state() 410 if (unlikely(dirty & (ETNA_DIRTY_SHADER))) { in etna_emit_state() 415 if (unlikely(dirty & (ETNA_DIRTY_VERTEX_ELEMENTS | ETNA_DIRTY_SHADER))) { in etna_emit_state() [all …]
|
/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() 95 && unlikely (posix_fallocate (elf->fildes, 0, size) != 0)) in write_file() 124 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 134 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) in write_file() 136 && unlikely (fchmod (elf->fildes, st.st_mode) != 0)) in write_file() 158 && unlikely (cmd != ELF_C_WRITE_MMAP)) in elf_update() 201 && unlikely (elf->cmd != ELF_C_WRITE_MMAP)) in elf_update() 206 else if (unlikely (elf->fildes == -1)) in elf_update()
|
D | elf32_updatenull.c | 66 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE)) in ELFW() 72 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM)) in ELFW() 87 if (unlikely (ehdr->e_version == EV_NONE)) in ELFW() 92 else if (unlikely (ehdr->e_version >= EV_NUM)) in ELFW() 98 if (unlikely (shnum >= SHN_LORESERVE)) in ELFW() 107 if (unlikely (ehdr->e_ehsize != elf_typesize (LIBELFBITS, ELF_T_EHDR, 1))) in ELFW() 152 && unlikely (ehdr->e_type != ET_CORE)) in __elfw2() 159 if (unlikely (__elf_getphdrnum_rdlock (elf, &phnum) != 0)) in __elfw2() 217 if (unlikely (! powerof2 (sh_align))) in __elfw2() 287 if (unlikely (data->d_version == EV_NONE) in __elfw2() [all …]
|
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()
|
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 | gelf_update_shdr.c | 63 if (unlikely (src->sh_flags > 0xffffffffull) in gelf_update_shdr() 64 || unlikely (src->sh_addr > 0xffffffffull) in gelf_update_shdr() 65 || unlikely (src->sh_offset > 0xffffffffull) in gelf_update_shdr() 66 || unlikely (src->sh_size > 0xffffffffull) in gelf_update_shdr() 67 || unlikely (src->sh_addralign > 0xffffffffull) in gelf_update_shdr() 68 || unlikely (src->sh_entsize > 0xffffffffull)) in gelf_update_shdr()
|
D | gelf_update_rela.c | 50 if (unlikely (data_scn->d.d_type != ELF_T_RELA)) in gelf_update_rela() 66 if (unlikely (src->r_offset > 0xffffffffull) in gelf_update_rela() 67 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff) in gelf_update_rela() 68 || unlikely (GELF_R_TYPE (src->r_info) > 0xff) in gelf_update_rela() 69 || unlikely (src->r_addend < -0x80000000ll) in gelf_update_rela() 70 || unlikely (src->r_addend > 0x7fffffffll)) in gelf_update_rela()
|
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() 137 if (unlikely (pread_retry (elf->fildes, &shdr_mem, in elf_getshdrstrndx() 154 if (unlikely (elf->state.elf64.scns.cnt == 0)) in elf_getshdrstrndx() 179 if (unlikely (elf->maximum_size - offset in elf_getshdrstrndx() 198 if (unlikely (pread_retry (elf->fildes, &shdr_mem, in elf_getshdrstrndx()
|
D | elf32_updatefile.c | 144 if (unlikely (change_bo)) in __elfw2() 171 if (unlikely (__elf_getphdrnum_rdlock (elf, &phnum) != 0)) in __elfw2() 190 if (unlikely (change_bo)) in __elfw2() 228 if (unlikely (shnum > SIZE_MAX / sizeof (Elf_Scn *))) in __elfw2() 233 if (unlikely (scns == NULL)) in __elfw2() 270 if (unlikely (p == NULL)) in __elfw2() 296 if (unlikely (p == NULL)) in __elfw2() 357 if (unlikely (change_bo)) in __elfw2() 425 if (unlikely (change_bo)) in __elfw2() 482 if (unlikely (fill_len > filled) && filled < FILLBUFSIZE) in fill() [all …]
|
/external/mesa3d/src/util/ |
D | ralloc.c | 130 if (unlikely(block == NULL)) in ralloc_size() 200 if (unlikely(ptr == NULL)) in reralloc_size() 289 if (unlikely(ptr == NULL)) in ralloc_steal() 305 if (unlikely(old_ctx == NULL)) in ralloc_adopt() 312 if (unlikely(old_info->child == NULL)) in ralloc_adopt() 332 if (unlikely(ptr == NULL)) in ralloc_parent() 350 if (unlikely(autofree_context == NULL)) { in ralloc_autofree_context() 370 if (unlikely(str == NULL)) in ralloc_strdup() 386 if (unlikely(str == NULL)) in ralloc_strndup() 406 if (unlikely(both == NULL)) in cat() [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 …]
|