Searched refs:unlikely (Results 26 - 50 of 440) sorted by relevance

1234567891011>>

/external/libunwind/src/mi/
H A Dbacktrace.c42 if (unlikely (unw_init_local (&cursor, uc) < 0))
66 if (unlikely (unw_init_local (&cursor, &uc) < 0))
69 if (unlikely (tdep_trace (&cursor, buffer, &n) < 0))
/external/elfutils/libdw/
H A Ddwarf_formflag.c50 if (unlikely (attr->form != DW_FORM_flag))
H A Ddwarf_haschildren.c43 if (unlikely (abbrevp == DWARF_END_ABBREV))
H A Ddwarf_siblingof.c75 if (unlikely (__libdw_formref (&sibattr, &offset) != 0))
83 if (unlikely (offset >= size || offset <= die_off))
92 else if (unlikely (addr == NULL)
93 || unlikely (this_die.abbrev == DWARF_END_ABBREV))
H A Dlibdw_form.c70 if (unlikely ((size_t) (endp - startp) < 1))
76 if (unlikely ((size_t) (endp - startp) < 2))
82 if (unlikely ((size_t) (endp - startp) < 4))
97 if (unlikely (endstrp == NULL))
124 if (unlikely (result > (size_t) (endp - startp)))
H A Ddwarf_formstring.c53 if (unlikely (dbg_ret == NULL))
60 if (unlikely (attrp->form != DW_FORM_strp
H A Ddwarf_formaddr.c44 if (unlikely (attr->form != DW_FORM_addr))
/external/elfutils/libelf/
H A Dgelf_getnote.c46 if (unlikely (data->d_type != ELF_T_NHDR))
61 if (unlikely (offset > data->d_size
76 if (unlikely (offset > data->d_size
84 if (unlikely (offset > data->d_size
H A Dgelf_update_dyn.c50 if (unlikely (data_scn->d.d_type != ELF_T_DYN))
66 if (unlikely (src->d_tag < -0x80000000ll)
67 || unlikely (src->d_tag > 0x7fffffffll)
68 || unlikely (src->d_un.d_val > 0xffffffffull))
H A Dgelf_update_ehdr.c48 if (unlikely (elf->kind != ELF_K_ELF))
69 if (unlikely (src->e_entry > 0xffffffffull)
70 || unlikely (src->e_phoff > 0xffffffffull)
71 || unlikely (src->e_shoff > 0xffffffffull))
H A Dgelf_update_rel.c50 if (unlikely (data_scn->d.d_type != ELF_T_REL))
66 if (unlikely (src->r_offset > 0xffffffffull)
67 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff)
68 || unlikely (GELF_R_TYPE (src->r_info) > 0xff))
H A Dgelf_update_phdr.c48 if (unlikely (elf->kind != ELF_K_ELF))
63 if (unlikely (src->p_offset > 0xffffffffull)
64 || unlikely (src->p_vaddr > 0xffffffffull)
65 || unlikely (src->p_paddr > 0xffffffffull)
66 || unlikely (src->p_filesz > 0xffffffffull)
67 || unlikely (src->p_memsz > 0xffffffffull)
68 || unlikely (src->p_align > 0xffffffffull))
H A Delf_update.c50 if (unlikely (fstat (elf->fildes, &st) != 0))
64 && unlikely (ftruncate (elf->fildes, size) != 0))
75 if (unlikely (elf->map_address == MAP_FAILED))
95 && unlikely (posix_fallocate (elf->fildes, 0, size) != 0))
124 && unlikely (ftruncate (elf->fildes, size) != 0))
134 && unlikely (st.st_mode & (S_ISUID | S_ISGID))
136 && unlikely (fchmod (elf->fildes, st.st_mode) != 0))
158 && unlikely (cmd != ELF_C_WRITE_MMAP))
201 && unlikely (elf->cmd != ELF_C_WRITE_MMAP))
206 else if (unlikely (el
[all...]
H A Dgelf_update_symshndx.c55 if (unlikely (symdata_scn->d.d_type != ELF_T_SYM))
71 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size))
80 else if (unlikely (srcshndx != 0))
92 if (unlikely (src->st_value > 0xffffffffull)
93 || unlikely (src->st_size > 0xffffffffull))
H A Delf_getshdrstrndx.c53 if (unlikely (elf->kind != ELF_K_ELF))
72 if (unlikely (elf->state.elf.ehdr == NULL))
87 if (unlikely (num == SHN_XINDEX))
93 if (unlikely (elf->state.elf32.scns.cnt == 0))
118 if (unlikely (elf->maximum_size - offset
137 if (unlikely (pread_retry (elf->fildes, &shdr_mem,
154 if (unlikely (elf->state.elf64.scns.cnt == 0))
179 if (unlikely (elf->maximum_size - offset
198 if (unlikely (pread_retry (elf->fildes, &shdr_mem,
H A Delf_getphdrnum.c44 if (unlikely (elf->state.elf64.ehdr == NULL))
91 if (unlikely (off == 0))
97 if (unlikely (off >= elf->maximum_size))
106 if (unlikely (*dst > SIZE_MAX / phdr_size))
113 if (unlikely (elf->maximum_size - off < *dst * phdr_size))
127 if (unlikely (elf->kind != ELF_K_ELF))
/external/harfbuzz_ng/src/
H A Dhb-set-private.hh169 if (unlikely (hb_object_is_inert (this)))
182 if (unlikely (in_error)) return;
183 if (unlikely (g == INVALID)) return;
184 if (unlikely (g > MAX_G)) return;
189 if (unlikely (in_error)) return;
196 if (unlikely (in_error)) return;
197 if (unlikely (g > MAX_G)) return;
202 if (unlikely (in_error)) return;
209 if (unlikely (g > MAX_G)) return false;
215 if (unlikely (firs
[all...]
/external/elfutils/libdwfl/
H A Dsegment.c63 if (unlikely (naddr == NULL))
66 if (unlikely (nsegndx == NULL))
82 if (unlikely (dwfl->lookup_module == NULL))
90 if (unlikely (i < dwfl->lookup_elts))
167 if (unlikely (idx < 0))
170 if (unlikely (insert (dwfl, 0, start, end, -1)))
178 if (unlikely (insert (dwfl, idx + 1, start, end,
188 if (unlikely (insert (dwfl, idx + 1, start, end, -1)))
198 if (unlikely (insert (dwfl, idx + 1,
208 if (unlikely (dwf
[all...]
H A Ddwfl_getmodules.c67 if (unlikely ((size_t) offset - 1 > dwfl->lookup_elts))
71 if (unlikely (m == NULL))
H A Ddwfl_module_return_value_location.c50 if (unlikely (nops < 0))
/external/jemalloc/include/jemalloc/internal/
H A Dvalgrind.h17 if (unlikely(in_valgrind)) \
21 if (unlikely(in_valgrind)) \
25 if (unlikely(in_valgrind)) \
34 if (unlikely(in_valgrind && cond)) { \
53 if (unlikely(in_valgrind)) { \
92 if (unlikely(in_valgrind)) \
/external/e2fsprogs/lib/ext2fs/
H A Dcrc32c_defs.h55 #define unlikely(x) __builtin_expect(!!(x), 0) macro
58 #define unlikely(x) (x) macro
/external/elfutils/libasm/
H A Dasm_adduleb128.c46 if (asmscn->type == SHT_NOBITS && unlikely (num != 0))
52 if (unlikely (asmscn->ctx->textp))
/external/elfutils/lib/
H A Dlist.h38 if (unlikely ((first) == NULL)) \
62 if (unlikely (_elem->next == _elem)) \
68 if (unlikely (first == _elem)) \
90 if (unlikely ((first) == NULL)) \
/external/libunwind/src/x86_64/
H A DGinit_local.c46 if (unlikely (!tdep_init_done))

Completed in 341 milliseconds

1234567891011>>