/external/elfutils/src/libdw/ |
D | dwarf_getsrclines.c | 98 if (unlikely (linep + 4 > lineendp)) in read_srclines() 107 if (unlikely (unit_length == DWARF3_LENGTH_64_BIT)) in read_srclines() 109 if (unlikely (linep + 8 > lineendp)) in read_srclines() 116 if (unlikely (unit_length > (size_t) (lineendp - linep) in read_srclines() 123 if (unlikely (version < 2) || unlikely (version > 4)) in read_srclines() 144 if (unlikely (lineendp - linep < 5)) in read_srclines() 147 if (unlikely (max_ops_per_instr == 0)) in read_srclines() 167 if (unlikely (lineendp - linep < opcode_base - 1)) in read_srclines() 226 if (unlikely (linep >= lineendp)) in read_srclines() 243 if (unlikely (linep >= lineendp)) in read_srclines() [all …]
|
D | dwarf_next_cfi.c | 56 || unlikely (off + 4 >= data->d_size)) 75 if (unlikely (limit - bytes < 8)) 83 if (unlikely ((uint64_t) (limit - bytes) < length) 84 || unlikely (length < offset_size + 1)) 115 if (unlikely (entry->cie.CIE_id > (Dwarf_Off) pos) 116 || unlikely (pos <= (ptrdiff_t) offset_size)) 127 if (version != 1 && (unlikely (version < 3) || unlikely (version > 4))) 133 if (unlikely (bytes == NULL)) 142 if (unlikely (limit - bytes < 5)) 147 if (unlikely (*bytes != address_size)) [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() 128 if (unlikely (abbrevp == DWARF_END_ABBREV)) 154 if (unlikely (code >= endp)) /* Truncated section. */ 156 if (unlikely (*code == 0x80)) 161 if (unlikely (*code == '\0'))
|
D | dwarf_begin_elf.c | 90 if (unlikely (shdr->sh_type == SHT_NOBITS)) in check_section() 125 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section() 143 if (unlikely (result->sectiondata[cnt] != NULL)) in check_section() 154 if (unlikely (data->d_size < 4 + 8) in check_section() 155 || unlikely (memcmp (data->d_buf, "ZLIB", 4) != 0)) in check_section() 165 if (unlikely (sizeof (Elf_Data) + size < size)) in check_section() 169 if (unlikely (zdata == NULL)) in check_section() 191 if (unlikely (zrc != Z_STREAM_END)) in check_section() 201 if (unlikely (zrc != Z_OK) || unlikely (z.avail_out != 0)) in check_section() 229 && unlikely (result->sectiondata[IDX_debug_info] == NULL)) in valid_p() [all …]
|
D | memory-access.h | 117 (unlikely ((Dbg)->other_byte_order) \ 121 (unlikely ((Dbg)->other_byte_order) \ 128 (unlikely ((Dbg)->other_byte_order) \ 132 (unlikely ((Dbg)->other_byte_order) \ 139 (unlikely ((Dbg)->other_byte_order) \ 143 (unlikely ((Dbg)->other_byte_order) \ 177 if (unlikely (other_byte_order)) in read_2ubyte_unaligned_1() 185 if (unlikely (other_byte_order)) in read_2sbyte_unaligned_1() 200 if (unlikely (other_byte_order)) in read_4ubyte_unaligned_1() 208 if (unlikely (other_byte_order)) in read_4sbyte_unaligned_1() [all …]
|
D | dwarf_getlocation.c | 126 if (unlikely (found == NULL)) 327 if (unlikely (data >= end_data)) in __libdw_intern_expression() 338 if (unlikely (data >= end_data)) in __libdw_intern_expression() 346 if (unlikely (data + 2 > end_data)) in __libdw_intern_expression() 356 if (unlikely (data + 2 > end_data)) in __libdw_intern_expression() 363 if (unlikely (data + 4 > end_data)) in __libdw_intern_expression() 372 if (unlikely (data + 4 > end_data)) in __libdw_intern_expression() 379 if (unlikely (data + 8 > end_data)) in __libdw_intern_expression() 386 if (unlikely (data + 8 > end_data)) in __libdw_intern_expression() 409 if (unlikely (data >= end_data)) in __libdw_intern_expression() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-set-private.hh | 159 if (unlikely (hb_object_is_inert (this))) in clear() 172 if (unlikely (in_error)) return; in add() 173 if (unlikely (g == INVALID)) return; in add() 174 if (unlikely (g > MAX_G)) return; in add() 179 if (unlikely (in_error)) return; in add_range() 186 if (unlikely (in_error)) return; in del() 187 if (unlikely (g > MAX_G)) return; in del() 192 if (unlikely (in_error)) return; in del_range() 199 if (unlikely (g > MAX_G)) return false; in has() 205 if (unlikely (first > MAX_G)) return false; in intersects() [all …]
|
D | hb-buffer.cc | 86 if (unlikely (in_error)) in enlarge() 94 if (unlikely (_hb_unsigned_int_mul_overflows (size, sizeof (info[0])))) in enlarge() 101 if (unlikely (_hb_unsigned_int_mul_overflows (new_allocated, sizeof (info[0])))) in enlarge() 108 if (unlikely (!new_pos || !new_info)) in enlarge() 128 if (unlikely (!ensure (out_len + num_out))) return false; in make_room_for() 146 if (unlikely (!ensure (len + count))) return false; in shift_forward() 176 if (unlikely (hb_object_is_inert (this))) in reset() 190 if (unlikely (hb_object_is_inert (this))) in clear() 220 if (unlikely (!ensure (len + 1))) return; in add() 235 if (unlikely (!ensure (len + 1))) return; in add_info() [all …]
|
D | hb-ot-layout-gsub-table.hh | 94 if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false); in serialize() 95 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETUR… in serialize() 156 if (unlikely (index >= substitute.len)) return TRACE_RETURN (false); in apply() 170 if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false); in serialize() 171 if (unlikely (!substitute.serialize (c, substitutes, num_glyphs))) return TRACE_RETURN (false); in serialize() 172 …if (unlikely (!coverage.serialize (c, this).serialize (c, glyphs, num_glyphs))) return TRACE_RETUR… in serialize() 201 if (unlikely (!c->extend_min (u.format))) return TRACE_RETURN (false); in serialize() 283 if (unlikely (!count)) return TRACE_RETURN (false); in apply() 287 if (unlikely (count == 1)) in apply() 310 if (unlikely (!c->extend_min (*this))) return TRACE_RETURN (false); in serialize() [all …]
|
D | hb-open-type-private.hh | 307 if (unlikely (!c->start)) { in sanitize() 356 return unlikely (!base) ? &Null(Type) : CastP<Type> (base); in lock_instance() 424 if (unlikely (this->ran_out_of_room || this->end - this->head < ptrdiff_t (size))) { in allocate_size() 452 if (unlikely (!ret)) return NULL; in embed() 462 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend_min() 471 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend() 496 if (unlikely (i >= len)) return Type (); in operator []() 502 if (unlikely (count > len)) in advance() 746 if (unlikely (!offset)) return Null(Type); in operator ()() 759 if (unlikely (!c->check_struct (this))) return TRACE_RETURN (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() 127 return unlikely (hb_in_ranges (unicode, in is_variation_selector() 177 case 0x00: return unlikely (ch == 0x00ADu); in is_default_ignorable() 178 case 0x03: return unlikely (ch == 0x034Fu); in is_default_ignorable() 179 case 0x06: return unlikely (ch == 0x061Cu); in is_default_ignorable()
|
D | hb-uniscribe.cc | 241 if (unlikely (!funcs)) in hb_uniscribe_shaper_get_funcs() 244 if (unlikely (!funcs)) in hb_uniscribe_shaper_get_funcs() 437 if (unlikely (!data)) in _hb_uniscribe_shaper_face_data_create() 441 if (unlikely (!data->funcs)) in _hb_uniscribe_shaper_face_data_create() 448 if (unlikely (!hb_blob_get_length (blob))) in _hb_uniscribe_shaper_face_data_create() 452 if (unlikely (!blob)) in _hb_uniscribe_shaper_face_data_create() 462 if (unlikely (!data->fh)) in _hb_uniscribe_shaper_face_data_create() 510 if (unlikely (!hb_uniscribe_shaper_face_data_ensure (font->face))) return NULL; in _hb_uniscribe_shaper_font_data_create() 513 if (unlikely (!data)) in _hb_uniscribe_shaper_font_data_create() 518 if (unlikely (!populate_log_font (&data->log_font, font))) { in _hb_uniscribe_shaper_font_data_create() [all …]
|
/external/elfutils/src/libdwfl/ |
D | core-file.c | 67 if (unlikely (offset < min) in elf_begin_rand() 68 || unlikely (offset >= (loff_t) parent->maximum_size)) in elf_begin_rand() 77 if (unlikely (parent->maximum_size - offset < sizeof h)) in elf_begin_rand() 83 else if (unlikely (pread_retry (parent->fildes, in elf_begin_rand() 94 if (unlikely (endp == h.ar_size) in elf_begin_rand() 95 || unlikely ((loff_t) parent->maximum_size - offset < size)) in elf_begin_rand() 99 if (unlikely ((loff_t) parent->maximum_size - offset < size)) in elf_begin_rand() 106 if (unlikely (offset == 0) in elf_begin_rand() 107 && unlikely (size == (loff_t) parent->maximum_size)) in elf_begin_rand() 125 if (unlikely (dwfl == NULL)) in dwfl_report_core_segments() [all …]
|
D | segment.c | 62 if (unlikely (naddr == NULL)) in insert() 65 if (unlikely (nsegndx == NULL)) in insert() 81 if (unlikely (dwfl->lookup_module == NULL)) in insert() 89 if (unlikely (i < dwfl->lookup_elts)) in insert() 166 if (unlikely (idx < 0)) in reify_segments() 169 if (unlikely (insert (dwfl, 0, start, end, -1))) in reify_segments() 177 if (unlikely (insert (dwfl, idx + 1, start, end, in reify_segments() 187 if (unlikely (insert (dwfl, idx + 1, start, end, -1))) in reify_segments() 197 if (unlikely (insert (dwfl, idx + 1, in reify_segments() 207 if (unlikely (dwfl->lookup_module == NULL)) in reify_segments() [all …]
|
D | relocate.c | 58 && unlikely (elf_getshdrstrndx (elf, shstrndx) < 0)) in __libdwfl_relocate_value() 62 if (unlikely (name == NULL)) in __libdwfl_relocate_value() 79 && unlikely (! gelf_update_shdr (refscn, refshdr))) in __libdwfl_relocate_value() 134 if (unlikely (cache->symdata == NULL)) in relocate_getsym() 139 if (unlikely (cache->symxndxdata == NULL)) in relocate_getsym() 151 if (unlikely (mod->symfile == NULL) in relocate_getsym() 152 && unlikely (INTUSE(dwfl_module_getsymtab) (mod) < 0)) in relocate_getsym() 166 if (unlikely (gelf_getsymshndx (cache->symdata, cache->symxndxdata, in relocate_getsym() 209 if (unlikely (symtab->symstrdata == NULL in resolve_symbol() 213 if (unlikely (sym->st_name >= symtab->symstrdata->d_size)) in resolve_symbol() [all …]
|
/external/elfutils/src/libelf/ |
D | elf_update.c | 49 if (unlikely (fstat (elf->fildes, &st) != 0)) in write_file() 63 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 74 if (unlikely (elf->map_address == MAP_FAILED)) in write_file() 101 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file() 111 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) in write_file() 113 && unlikely (fchmod (elf->fildes, st.st_mode) != 0)) in write_file() 137 && unlikely (cmd != ELF_C_WRITE_MMAP)) 180 && unlikely (elf->cmd != ELF_C_WRITE_MMAP)) 185 else if (unlikely (elf->fildes == -1))
|
D | gelf_update_auxv.c | 52 if (unlikely (ndx < 0)) 58 if (unlikely (data_scn->d.d_type != ELF_T_AUXV)) 74 if (unlikely (src->a_type > 0xffffffffll) 75 || unlikely (src->a_un.a_val > 0xffffffffull)) 82 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size)) 96 if (unlikely ((ndx + 1) * sizeof (Elf64_auxv_t) > data_scn->d.d_size))
|
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 | 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() 88 || unlikely (ehdr->e_version >= EV_NUM)) in ELFW() 94 if (unlikely (shnum >= SHN_LORESERVE)) in ELFW() 103 if (unlikely (ehdr->e_ehsize != elf_typesize (LIBELFBITS, ELF_T_EHDR, 1))) in ELFW() 140 && unlikely (ehdr->e_type != ET_CORE)) in __elfw2() 147 if (unlikely (__elf_getphdrnum_rdlock (elf, &phnum) != 0)) in __elfw2() 270 if (unlikely (data->d_version == EV_NONE) in __elfw2() 271 || unlikely (data->d_version >= EV_NUM)) in __elfw2() [all …]
|
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 | 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 | elf_getshdrstrndx.c | 55 if (unlikely (elf->kind != ELF_K_ELF)) 74 if (unlikely (elf->state.elf.ehdr == NULL)) 89 if (unlikely (num == SHN_XINDEX)) 95 if (unlikely (elf->state.elf32.scns.cnt == 0)) 120 if (unlikely (elf->maximum_size - offset 139 if (unlikely (pread_retry (elf->fildes, &shdr_mem, 156 if (unlikely (elf->state.elf64.scns.cnt == 0)) 181 if (unlikely (elf->maximum_size - offset 200 if (unlikely (pread_retry (elf->fildes, &shdr_mem,
|
/external/jemalloc/src/ |
D | jemalloc.c | 206 if (unlikely(opt_utrace)) { \ 254 if (config_fill && unlikely(opt_quarantine)) in malloc_thread_init() 262 if (unlikely(malloc_init_state == malloc_init_uninitialized)) in malloc_init_a0() 271 if (unlikely(!malloc_initialized()) && malloc_init_hard()) in malloc_init() 295 if (unlikely(malloc_init_a0())) in a0ialloc() 332 if (unlikely(size == 0)) in bootstrap_malloc() 344 if (unlikely(num_size == 0)) { in bootstrap_calloc() 356 if (unlikely(ptr == NULL)) in bootstrap_free() 845 if (config_fill && unlikely(in_valgrind)) { 853 if (config_tcache && unlikely(in_valgrind)) [all …]
|
/external/jemalloc/include/jemalloc/internal/ |
D | tcache.h | 240 if (unlikely(tcache == NULL) && tsd_nominal(tsd)) { in tcache_get() 257 if (unlikely(tcache->ev_cnt == TCACHE_GC_INCR)) in tcache_event() 266 if (unlikely(tbin->ncached == 0)) { in tcache_alloc_easy() 271 if (unlikely((int)tbin->ncached < tbin->low_water)) in tcache_alloc_easy() 291 if (unlikely(ret == NULL)) { in tcache_alloc_small() 300 if (unlikely(opt_junk_alloc)) { in tcache_alloc_small() 303 } else if (unlikely(opt_zero)) in tcache_alloc_small() 307 if (config_fill && unlikely(opt_junk_alloc)) { in tcache_alloc_small() 337 if (unlikely(ret == NULL)) { in tcache_alloc_large() 356 if (unlikely(opt_junk_alloc)) in tcache_alloc_large() [all …]
|
D | valgrind.h | 17 if (unlikely(in_valgrind)) \ 21 if (unlikely(in_valgrind)) \ 25 if (unlikely(in_valgrind)) \ 34 if (unlikely(in_valgrind && cond)) \ 40 if (unlikely(in_valgrind)) { \ 76 if (unlikely(in_valgrind)) \
|