Home
last modified time | relevance | path

Searched refs:likely (Results 1 – 25 of 544) sorted by relevance

12345678910>>...22

/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-utf-private.hh57 if (likely (text < end && in next()
69 if (likely (1 < end - text && in next()
84 if (likely (2 < end - text && in next()
119 if (likely (next (text, end, unicode, replacement) == end)) in prev()
147 if (likely (!hb_in_range (c, 0xD800u, 0xDFFFu))) in next()
153 if (likely (hb_in_range (c, 0xD800u, 0xDBFFu))) in next()
157 if (text < end && ((l = *text), likely (hb_in_range (l, 0xDC00u, 0xDFFFu)))) in next()
180 if (likely (!hb_in_range (c, 0xD800u, 0xDFFFu))) in prev()
186 if (likely (start < text && hb_in_range (c, 0xDC00u, 0xDFFFu))) in prev()
189 if (likely (next (text, end, unicode, replacement) == end)) in prev()
/external/harfbuzz_ng/src/
Dhb-utf-private.hh57 if (likely (text < end && in next()
69 if (likely (1 < end - text && in next()
84 if (likely (2 < end - text && in next()
119 if (likely (next (text, end, unicode, replacement) == end)) in prev()
147 if (likely (!hb_in_range (c, 0xD800u, 0xDFFFu))) in next()
153 if (likely (hb_in_range (c, 0xD800u, 0xDBFFu))) in next()
157 if (text < end && ((l = *text), likely (hb_in_range (l, 0xDC00u, 0xDFFFu)))) in next()
180 if (likely (!hb_in_range (c, 0xD800u, 0xDFFFu))) in prev()
186 if (likely (start < text && hb_in_range (c, 0xDC00u, 0xDFFFu))) in prev()
189 if (likely (next (text, end, unicode, replacement) == end)) in prev()
/external/chromium_org/third_party/cython/src/Cython/Utility/
DOptimize.c18 if (likely(PyList_CheckExact(L))) { in __Pyx_PyObject_Append()
35 if (likely(L->allocated > len) & likely(len > (L->allocated >> 1))) { in __Pyx_PyList_Append()
53 if (likely(L->allocated > len)) { in __Pyx_ListComp_Append()
102 if (likely(PyList_GET_SIZE(L) > (((PyListObject*)L)->allocated >> 1))) { in __Pyx_PyList_Pop()
134 if (likely(size > (((PyListObject*)L)->allocated >> 1))) { in __Pyx_PyList_PopIndex()
139 if (likely(0 <= cix && cix < size)) { in __Pyx_PyList_PopIndex()
253 is_dict = is_dict || likely(PyDict_CheckExact(iterable));
375 (likely(PyFloat_CheckExact(obj)) ? PyFloat_AS_DOUBLE(obj) : \
376 likely(PyInt_CheckExact(obj)) ? \
380 ((likely(PyFloat_CheckExact(obj))) ? \
[all …]
DObjectHandling.c158 if (likely(next))
197 …if (likely(exc_type == PyExc_StopIteration) || PyErr_GivenExceptionMatches(exc_type, PyExc_StopIte…
215 if (likely(PyErr_ExceptionMatches(PyExc_StopIteration))) {
235 if (likely(args))
285 if ((!boundscheck) || likely((0 <= i) & (i < Py{{type}}_GET_SIZE(o)))) {
301 Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o);
302 if ((!boundscheck) || (likely((n >= 0) & (n < PyList_GET_SIZE(o))))) {
309 Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o);
310 if ((!boundscheck) || likely((n >= 0) & (n < PyTuple_GET_SIZE(o)))) {
318 if (likely(m && m->sq_item)) {
[all …]
DFunctionArguments.c23 if (likely(Py_TYPE(obj) == type)) return 1; in __Pyx_ArgTypeTest()
25 … else if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1; in __Pyx_ArgTypeTest()
29 if (likely(PyObject_TypeCheck(obj, type))) return 1; in __Pyx_ArgTypeTest()
209 if (likely(PyString_CheckExact(key)) || likely(PyString_Check(key))) { in __Pyx_ParseOptionalKeywords()
233 if (likely(PyUnicode_Check(key))) { in __Pyx_ParseOptionalKeywords()
DTypeConversion.c8 likely(v < (type)PY_SSIZE_T_MAX || \
10 (!is_signed || likely(v > (type)PY_SSIZE_T_MIN || \
13 (is_signed || likely(v < (type)PY_SSIZE_T_MAX || \
293 if (likely(PyInt_CheckExact(b)))
296 if (likely(PyLong_CheckExact(b))) {
382 if (likely(length == 1)) {
387 if (likely(length == 1)) {
539 if (likely(PyInt_Check(x))) {
553 if (likely(PyLong_Check(x))) {
601 if (likely(v) && !PyLong_Check(v)) {
[all …]
/external/libunwind/src/x86_64/
DGtrace.c92 if (likely(frames != NULL)) in trace_cache_buckets()
183 if (likely (pthread_once != NULL)) in trace_cache_get()
245 if (likely(dwarf_put (d, d->loc[UNW_X86_64_RIP], rip) >= 0) in trace_init_addr()
246 && likely(dwarf_put (d, d->loc[UNW_X86_64_RBP], rbp) >= 0) in trace_init_addr()
247 && likely(dwarf_put (d, d->loc[UNW_X86_64_RSP], rsp) >= 0) in trace_init_addr()
248 && likely((ret = unw_step (cursor)) >= 0)) in trace_init_addr()
296 if (likely(addr == rip)) in trace_lookup()
303 if (likely(! addr)) in trace_lookup()
482 if (likely(ret >= 0) && likely(f->rbp_cfa_offset != -1)) in tdep_trace()
496 if (likely(ret >= 0)) in tdep_trace()
[all …]
/external/elfutils/0.153/libdw/
Dcfi.c71 if (likely (copy != NULL)) in duplicate_frame_state()
94 if (likely (ok)) break; \ in execute_cfi()
162 if (likely (!read_encoded_value (cache, cie->fde_encoding, in execute_cfi()
295 if (unlikely (abi_cfi) && likely (opcode == DW_CFA_restore)) in execute_cfi()
407 if (likely (result == DWARF_E_NOERROR)) in execute_cfi()
420 if (likely (cie->initial_state != NULL)) in cie_cache_initial_state()
439 if (likely (cache->ebl != (void *) -1l) in cie_cache_initial_state()
466 && likely (result == DWARF_E_NOERROR)) in cie_cache_initial_state()
472 if (likely (result == DWARF_E_NOERROR)) in cie_cache_initial_state()
489 if (likely (result == DWARF_E_NOERROR)) in __libdw_frame_at_address()
[all …]
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/
Du_compiler.h41 #ifndef likely
43 # define likely(x) __builtin_expect(!!(x), 1) macro
46 # define likely(x) (x) macro
Du_current.h72 return (likely(u_current_table) ? in u_current_get()
83 return likely(u_current_user) ? u_current_user : u_current_get_user_internal(); in u_current_get_user()
/external/mesa3d/src/mapi/mapi/
Du_compiler.h41 #ifndef likely
43 # define likely(x) __builtin_expect(!!(x), 1) macro
46 # define likely(x) (x) macro
Du_current.h72 return (likely(u_current_table) ? in u_current_get()
83 return likely(u_current_user) ? u_current_user : u_current_get_user_internal(); in u_current_get_user()
/external/oprofile/module/
Dcompat.h49 #ifndef likely
51 #define likely(a) __builtin_expect((a), 1) macro
53 #define likely(a) (a) macro
/external/clang/test/SemaObjC/
Dwarn-retain-cycle.m12 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to…
14 …^{ [x actNow]; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to …
17 …^{ [x actNow]; }]; // expected-warning {{capturing 'x' strongly in this block is likely to lead to…
31 …ctNow; }; // expected-warning {{capturing 'x' strongly in this block is likely to lead to a retai…
74 …ner; }; // expected-warning {{capturing 'self' strongly in this block is likely to lead to a retai…
94 …test2_helper(x); // expected-warning {{capturing 'self' strongly in this block is likely to lead t…
126 …doSomething(count); // expected-warning {{capturing 'self' strongly in this block is likely to lea…
149 …b1(); // expected-warning{{capturing 'b1' strongly in this block is likely to lead to a retain cyc…
154 …b2(); // expected-warning{{capturing 'b2' strongly in this block is likely to lead to a retain cyc…
170 …[obj actNow]; // expected-warning{{capturing 'obj' strongly in this block is likely to lead to a r…
[all …]
/external/libunwind/include/
Dcompiler.h51 # define likely(x) __builtin_expect ((x), 1) macro
54 # define likely(x) (x) macro
68 # define likely(x) (x) macro
/external/llvm/docs/
DBranchWeightMetadata.rst87 comparison value. If it is equal to 1 (true), the condition is likely to be
88 true, in other case condition is likely to be false. For example:
93 // This block is likely to be taken.
101 case is assumed to be likely taken.
109 case 5: // This case is likely to be taken.
/external/elfutils/0.153/libelf/
Delf_flagshdr.c78 if (likely (cmd == ELF_C_SET))
80 else if (likely (cmd == ELF_C_CLR))
Delf_flagscn.c78 if (likely (cmd == ELF_C_SET))
80 else if (likely (cmd == ELF_C_CLR))
Delf_flagphdr.c78 if (likely (cmd == ELF_C_SET))
80 else if (likely (cmd == ELF_C_CLR))
Delf_flagelf.c78 if (likely (cmd == ELF_C_SET))
81 else if (likely (cmd == ELF_C_CLR))
Delf_flagdata.c81 if (likely (cmd == ELF_C_SET))
83 else if (likely (cmd == ELF_C_CLR))
/external/e2fsprogs/lib/ext2fs/
Dcrc32c_defs.h46 #define likely(x) __builtin_expect(!!(x), 1) macro
49 #define likely(x) (x) macro
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/
Dp_compiler.h304 #ifndef likely
306 # define likely(x) __builtin_expect(!!(x), 1) macro
309 # define likely(x) (x) macro
/external/mesa3d/src/gallium/include/pipe/
Dp_compiler.h304 #ifndef likely
306 # define likely(x) __builtin_expect(!!(x), 1) macro
309 # define likely(x) (x) macro
/external/elfutils/0.153/libdwfl/
Ddwfl_module_register_names.c77 for (int regno = 0; regno < nregs && likely (result == 0); ++regno)
92 if (likely (len > 0))

12345678910>>...22