Home
last modified time | relevance | path

Searched refs:unlikely (Results 1 – 25 of 628) sorted by relevance

12345678910>>...26

/external/elfutils/0.153/libdw/
Ddwarf_getsrclines.c92 if (unlikely (cudie == NULL in dwarf_getsrclines()
127 if (unlikely (linep + 4 > lineendp)) in dwarf_getsrclines()
137 if (unlikely (unit_length == DWARF3_LENGTH_64_BIT)) in dwarf_getsrclines()
139 if (unlikely (linep + 8 > lineendp)) in dwarf_getsrclines()
147 || unlikely (linep + unit_length > lineendp)) in dwarf_getsrclines()
153 if (unlikely (version < 2) || unlikely (version > 4)) in dwarf_getsrclines()
174 if (unlikely (lineendp - linep < 5)) in dwarf_getsrclines()
177 if (unlikely (max_ops_per_instr == 0)) in dwarf_getsrclines()
197 if (unlikely (lineendp - linep < opcode_base - 1)) in dwarf_getsrclines()
256 if (unlikely (linep >= lineendp)) in dwarf_getsrclines()
[all …]
Ddwarf_next_cfi.c77 || unlikely (off + 4 >= data->d_size))
96 if (unlikely (limit - bytes < 8))
104 if (unlikely ((uint64_t) (limit - bytes) < length)
105 || unlikely (length < offset_size + 1))
136 if (unlikely (entry->cie.CIE_id > (Dwarf_Off) pos)
137 || unlikely (pos <= (ptrdiff_t) offset_size))
148 if (version != 1 && (unlikely (version < 3) || unlikely (version > 4)))
154 if (unlikely (bytes == NULL))
163 if (unlikely (limit - bytes < 5))
168 if (unlikely (*bytes != address_size))
[all …]
/external/elfutils/0.153/libdwfl/
Dcore-file.c88 if (unlikely (offset < min) in elf_begin_rand()
89 || unlikely (offset >= (loff_t) parent->maximum_size)) in elf_begin_rand()
98 if (unlikely (parent->maximum_size - offset < sizeof h)) in elf_begin_rand()
104 else if (unlikely (pread_retry (parent->fildes, in elf_begin_rand()
115 if (unlikely (endp == h.ar_size) in elf_begin_rand()
116 || unlikely ((loff_t) parent->maximum_size - offset < size)) in elf_begin_rand()
120 if (unlikely ((loff_t) parent->maximum_size - offset < size)) in elf_begin_rand()
127 if (unlikely (offset == 0) in elf_begin_rand()
128 && unlikely (size == (loff_t) parent->maximum_size)) in elf_begin_rand()
146 if (unlikely (dwfl == NULL)) in dwfl_report_core_segments()
[all …]
Dsegment.c81 if (unlikely (naddr == NULL)) in insert()
84 if (unlikely (nsegndx == NULL)) in insert()
100 if (unlikely (dwfl->lookup_module == NULL)) in insert()
108 if (unlikely (i < dwfl->lookup_elts)) in insert()
185 if (unlikely (idx < 0)) in reify_segments()
188 if (unlikely (insert (dwfl, 0, start, end, -1))) in reify_segments()
196 if (unlikely (insert (dwfl, idx + 1, start, end, in reify_segments()
206 if (unlikely (insert (dwfl, idx + 1, start, end, -1))) in reify_segments()
216 if (unlikely (insert (dwfl, idx + 1, in reify_segments()
226 if (unlikely (dwfl->lookup_module == NULL)) in reify_segments()
[all …]
/external/elfutils/0.153/libelf/
Dgelf_update_rela.c71 if (unlikely (ndx < 0)) in gelf_update_rela()
77 if (unlikely (data_scn->d.d_type != ELF_T_RELA)) in gelf_update_rela()
93 if (unlikely (src->r_offset > 0xffffffffull) in gelf_update_rela()
94 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff) in gelf_update_rela()
95 || unlikely (GELF_R_TYPE (src->r_info) > 0xff) in gelf_update_rela()
96 || unlikely (src->r_addend < -0x80000000ll) in gelf_update_rela()
97 || unlikely (src->r_addend > 0x7fffffffll)) in gelf_update_rela()
104 if (unlikely ((ndx + 1) * sizeof (Elf32_Rela) > data_scn->d.d_size)) in gelf_update_rela()
120 if (unlikely ((ndx + 1) * sizeof (Elf64_Rela) > data_scn->d.d_size)) in gelf_update_rela()
Dgelf_update_symshndx.c80 if (unlikely (ndx < 0))
86 if (unlikely (symdata_scn->d.d_type != ELF_T_SYM))
102 if (unlikely ((ndx + 1) * sizeof (Elf32_Word) > shndxdata_scn->d.d_size))
111 else if (unlikely (srcshndx != 0))
123 if (unlikely (src->st_value > 0xffffffffull)
124 || unlikely (src->st_size > 0xffffffffull))
131 if (unlikely ((ndx + 1) * sizeof (Elf32_Sym) > symdata_scn->d.d_size))
154 if (unlikely ((ndx + 1) * sizeof (Elf64_Sym) > symdata_scn->d.d_size))
Dgelf_update_rel.c71 if (unlikely (ndx < 0)) in gelf_update_rel()
77 if (unlikely (data_scn->d.d_type != ELF_T_REL)) in gelf_update_rel()
93 if (unlikely (src->r_offset > 0xffffffffull) in gelf_update_rel()
94 || unlikely (GELF_R_SYM (src->r_info) > 0xffffff) in gelf_update_rel()
95 || unlikely (GELF_R_TYPE (src->r_info) > 0xff)) in gelf_update_rel()
102 if (unlikely ((ndx + 1) * sizeof (Elf32_Rel) > data_scn->d.d_size)) in gelf_update_rel()
117 if (unlikely ((ndx + 1) * sizeof (Elf64_Rel) > data_scn->d.d_size)) in gelf_update_rel()
Dgelf_update_dyn.c74 if (unlikely (ndx < 0))
80 if (unlikely (data_scn->d.d_type != ELF_T_DYN))
96 if (unlikely (src->d_tag < -0x80000000ll)
97 || unlikely (src->d_tag > 0x7fffffffll)
98 || unlikely (src->d_un.d_val > 0xffffffffull))
105 if (unlikely ((ndx + 1) * sizeof (Elf32_Dyn) > data_scn->d.d_size))
119 if (unlikely ((ndx + 1) * sizeof (Elf64_Dyn) > data_scn->d.d_size))
Delf_update.c70 if (unlikely (fstat (elf->fildes, &st) != 0)) in write_file()
84 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
98 if (unlikely (elf->map_address == MAP_FAILED)) in write_file()
126 && unlikely (ftruncate (elf->fildes, size) != 0)) in write_file()
136 && unlikely (st.st_mode & (S_ISUID | S_ISGID)) in write_file()
138 && unlikely (fchmod (elf->fildes, st.st_mode) != 0)) in write_file()
162 && unlikely (cmd != ELF_C_WRITE_MMAP))
205 && unlikely (elf->cmd != ELF_C_WRITE_MMAP))
210 else if (unlikely (elf->fildes == -1))
Dgelf_update_auxv.c73 if (unlikely (ndx < 0))
79 if (unlikely (data_scn->d.d_type != ELF_T_AUXV))
95 if (unlikely (src->a_type > 0xffffffffll)
96 || unlikely (src->a_un.a_val > 0xffffffffull))
103 if (unlikely ((ndx + 1) * sizeof (Elf32_auxv_t) > data_scn->d.d_size))
117 if (unlikely ((ndx + 1) * sizeof (Elf64_auxv_t) > data_scn->d.d_size))
Dgelf_update_phdr.c69 if (unlikely (elf->kind != ELF_K_ELF)) in gelf_update_phdr()
84 if (unlikely (src->p_offset > 0xffffffffull) in gelf_update_phdr()
85 || unlikely (src->p_vaddr > 0xffffffffull) in gelf_update_phdr()
86 || unlikely (src->p_paddr > 0xffffffffull) in gelf_update_phdr()
87 || unlikely (src->p_filesz > 0xffffffffull) in gelf_update_phdr()
88 || unlikely (src->p_memsz > 0xffffffffull) in gelf_update_phdr()
89 || unlikely (src->p_align > 0xffffffffull)) in gelf_update_phdr()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-set-private.hh159 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 …]
Dhb-buffer.cc86 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 …]
Dhb-open-type-private.hh304 if (unlikely (!c->start)) { in sanitize()
353 return unlikely (!base) ? &Null(Type) : CastP<Type> (base); in lock_instance()
421 if (unlikely (this->ran_out_of_room || this->end - this->head < ptrdiff_t (size))) { in allocate_size()
449 if (unlikely (!ret)) return NULL; in embed()
459 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend_min()
468 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend()
493 if (unlikely (i >= len)) return Type (); in operator []()
499 if (unlikely (count > len)) in advance()
698 if (unlikely (!offset)) return Null(Type); in operator ()()
711 if (unlikely (!c->check_struct (this))) return TRACE_RETURN (false); in sanitize()
[all …]
/external/harfbuzz_ng/src/
Dhb-set-private.hh159 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 …]
Dhb-buffer.cc86 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()
189 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 …]
Dhb-open-type-private.hh304 if (unlikely (!c->start)) { in sanitize()
353 return unlikely (!base) ? &Null(Type) : CastP<Type> (base); in lock_instance()
421 if (unlikely (this->ran_out_of_room || this->end - this->head < ptrdiff_t (size))) { in allocate_size()
449 if (unlikely (!ret)) return NULL; in embed()
459 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend_min()
468 if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - this->head))) return NULL; in extend()
493 if (unlikely (i >= len)) return Type (); in operator []()
499 if (unlikely (count > len)) in advance()
698 if (unlikely (!offset)) return Null(Type); in operator ()()
711 if (unlikely (!c->check_struct (this))) return TRACE_RETURN (false); in sanitize()
[all …]
/external/chromium_org/third_party/cython/src/Cython/Utility/
DOptimize.c19 if (unlikely(__Pyx_PyList_Append(L, x) < 0)) return -1; in __Pyx_PyObject_Append()
22 if (unlikely(!retval)) in __Pyx_PyObject_Append()
70 if (unlikely(!none)) in __Pyx_PyList_Extend()
162 if (unlikely(!value)) { in __Pyx_PyDict_GetItemDefault()
163 if (unlikely(PyErr_Occurred())) in __Pyx_PyDict_GetItemDefault()
172 if (unlikely(!value)) { in __Pyx_PyDict_GetItemDefault()
201 if (unlikely(!value)) return NULL;
209 if (unlikely(!value)) {
210 if (unlikely(PyErr_Occurred()))
212 if (unlikely(PyDict_SetItem(d, key, default_value) == -1))
[all …]
DStringTools.c78 if (unlikely(character == PyUnicode_READ(kind, udata, i))) return 1; in __Pyx_UnicodeContainsUCS4()
99 if (unlikely(high_val == pos[0]) & unlikely(low_val == pos[1])) return 1; in __Pyx_PyUnicodeBufferContainsUCS4()
106 if (unlikely(uchar == pos[0])) return 1; in __Pyx_PyUnicodeBufferContainsUCS4()
116 return unlikely(result < 0) ? result : (result == (eq == Py_EQ)); in __Pyx_PyUnicode_Contains()
155 if (unlikely(!owned_ref)) in __Pyx_PyUnicode_Equals()
161 if (unlikely(!owned_ref)) in __Pyx_PyUnicode_Equals()
174 if (unlikely(PyUnicode_READY(s1) < 0) || unlikely(PyUnicode_READY(s2) < 0)) in __Pyx_PyUnicode_Equals()
289 if (wraparound & unlikely(i < 0)) i += length; in __Pyx_GetItemInt_ByteArray_Fast()
319 if (wraparound & unlikely(i < 0)) i += length; in __Pyx_SetItemInt_ByteArray_Fast()
350 if (unlikely(__Pyx_PyUnicode_READY(ustring) < 0)) return (Py_UCS4)-1; in __Pyx_GetItemInt_Unicode_Fast()
[all …]
DObjectHandling.c71 if (unlikely(retval)) { in __Pyx_IternextUnpackEndCheck()
95 if (!is_tuple && unlikely(!PyTuple_Check(tuple))) { in __Pyx_unpack_tuple2()
98 if (unlikely(!iter)) goto bad; in __Pyx_unpack_tuple2()
101 value1 = iternext(iter); if (unlikely(!value1)) { index = 0; goto unpacking_failed; } in __Pyx_unpack_tuple2()
102 value2 = iternext(iter); if (unlikely(!value2)) { index = 1; goto unpacking_failed; } in __Pyx_unpack_tuple2()
103 if (!has_known_size && unlikely(__Pyx_IternextUnpackEndCheck(iternext(iter), 2))) goto bad; in __Pyx_unpack_tuple2()
106 if (!has_known_size && unlikely(PyTuple_GET_SIZE(tuple) != 2)) { in __Pyx_unpack_tuple2()
112 if (unlikely(!value1)) goto bad; in __Pyx_unpack_tuple2()
114 if (unlikely(!value2)) goto bad; in __Pyx_unpack_tuple2()
149 if (unlikely(!iternext)) {
[all …]
DPrinting.c80 if (unlikely(!$print_function)) { in __Pyx_Print()
87 if (unlikely(!kwargs)) in __Pyx_Print()
89 if (unlikely(PyDict_SetItem(kwargs, PYIDENT("file"), stream) < 0)) in __Pyx_Print()
93 if (unlikely(!end_string)) in __Pyx_Print()
102 if (unlikely(!$print_function_kwargs)) { in __Pyx_Print()
104 if (unlikely(!$print_function_kwargs)) in __Pyx_Print()
107 if (unlikely(!end_string)) in __Pyx_Print()
118 if (unlikely(kwargs) && (kwargs != $print_function_kwargs)) in __Pyx_Print()
169 if (unlikely(!arg_tuple)) in __Pyx_PrintOne()
/external/chromium_org/third_party/bintrees/bintrees/
Dcwalker.c198 #define __Pyx_PySequence_GetSlice(obj, a, b) (unlikely(!(obj)) ? \
202 #define __Pyx_PySequence_SetSlice(obj, a, b, value) (unlikely(!(obj)) ? \
206 #define __Pyx_PySequence_DelSlice(obj, a, b) (unlikely(!(obj)) ? \
321 #define unlikely(x) __builtin_expect(!!(x), 0) macro
324 #define unlikely(x) (x) macro
328 #define unlikely(x) (x) macro
574 if (unlikely(PyTuple_GET_SIZE(__pyx_args) > 0)) { in __pyx_pw_8bintrees_7cwalker_7cWalker_1__cinit__()
576 …if (unlikely(__pyx_kwds) && unlikely(PyDict_Size(__pyx_kwds) > 0) && unlikely(!__Pyx_CheckKeywordS… in __pyx_pw_8bintrees_7cwalker_7cWalker_1__cinit__()
692 …walker_cWalker *)__pyx_v_self->__pyx_vtab)->reset(__pyx_v_self, 0); if (unlikely(!__pyx_t_1)) {__p… in __pyx_f_8bintrees_7cwalker_7cWalker_set_tree()
724 if (unlikely(__pyx_skip_dispatch)) ; in __pyx_f_8bintrees_7cwalker_7cWalker_reset()
[all …]
Dqbintree.c198 #define __Pyx_PySequence_GetSlice(obj, a, b) (unlikely(!(obj)) ? \
202 #define __Pyx_PySequence_SetSlice(obj, a, b, value) (unlikely(!(obj)) ? \
206 #define __Pyx_PySequence_DelSlice(obj, a, b) (unlikely(!(obj)) ? \
321 #define unlikely(x) __builtin_expect(!!(x), 0) macro
324 #define unlikely(x) (x) macro
328 #define unlikely(x) (x) macro
536 if (unlikely(i < 0) && likely(m->sq_length)) { in __Pyx_GetItemInt_Fast()
538 if (unlikely(l < 0)) return NULL; in __Pyx_GetItemInt_Fast()
709 if (unlikely(__pyx_kwds)) { in __pyx_pw_8bintrees_8qbintree_11cBinaryTree_1__cinit__()
725 if (unlikely(kw_args > 0)) { in __pyx_pw_8bintrees_8qbintree_11cBinaryTree_1__cinit__()
[all …]
Dqavltree.c198 #define __Pyx_PySequence_GetSlice(obj, a, b) (unlikely(!(obj)) ? \
202 #define __Pyx_PySequence_SetSlice(obj, a, b, value) (unlikely(!(obj)) ? \
206 #define __Pyx_PySequence_DelSlice(obj, a, b) (unlikely(!(obj)) ? \
321 #define unlikely(x) __builtin_expect(!!(x), 0) macro
324 #define unlikely(x) (x) macro
328 #define unlikely(x) (x) macro
536 if (unlikely(i < 0) && likely(m->sq_length)) { in __Pyx_GetItemInt_Fast()
538 if (unlikely(l < 0)) return NULL; in __Pyx_GetItemInt_Fast()
709 if (unlikely(__pyx_kwds)) { in __pyx_pw_8bintrees_8qavltree_8cAVLTree_1__cinit__()
725 if (unlikely(kw_args > 0)) { in __pyx_pw_8bintrees_8qavltree_8cAVLTree_1__cinit__()
[all …]
Dqrbtree.c198 #define __Pyx_PySequence_GetSlice(obj, a, b) (unlikely(!(obj)) ? \
202 #define __Pyx_PySequence_SetSlice(obj, a, b, value) (unlikely(!(obj)) ? \
206 #define __Pyx_PySequence_DelSlice(obj, a, b) (unlikely(!(obj)) ? \
321 #define unlikely(x) __builtin_expect(!!(x), 0) macro
324 #define unlikely(x) (x) macro
328 #define unlikely(x) (x) macro
536 if (unlikely(i < 0) && likely(m->sq_length)) { in __Pyx_GetItemInt_Fast()
538 if (unlikely(l < 0)) return NULL; in __Pyx_GetItemInt_Fast()
709 if (unlikely(__pyx_kwds)) { in __pyx_pw_8bintrees_7qrbtree_7cRBTree_1__cinit__()
725 if (unlikely(kw_args > 0)) { in __pyx_pw_8bintrees_7qrbtree_7cRBTree_1__cinit__()
[all …]

12345678910>>...26