Home
last modified time | relevance | path

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

12345678910>>...15

/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…
125 …if (count > 20) { // expected-warning {{capturing 'self' strongly in this block is likely to lead …
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/llvm/docs/
DBranchWeightMetadata.rst86 comparison value. If it is equal to 1 (true), the condition is likely to be
87 true, in other case condition is likely to be false. For example:
92 // This block is likely to be taken.
100 case is assumed to be likely taken.
108 case 5: // This case is likely to be taken.
/external/elfutils/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))
Delf32_getphdr.c79 if (likely (result != NULL))
91 if (likely (result == NULL))
168 else if (likely (elf->fildes != -1))
248 if (likely (result != NULL))
Dgelf_getsymshndx.c80 || (likely (shndxdata_scn != NULL)
91 if (likely (shndxdata_scn != NULL))
Delf32_checksum.c111 if (!likely (same_byte_order))
167 if (likely (same_byte_order) || data->d_type == ELF_T_BYTE)
/external/elfutils/libdwfl/
Ddwfl_module_register_names.c77 for (int regno = 0; regno < nregs && likely (result == 0); ++regno)
92 if (likely (len > 0))
Ddwfl_module_getsrc.c62 if (likely (error == DWFL_E_NOERROR)) in dwfl_module_getsrc()
64 if (likely (error == DWFL_E_NOERROR)) in dwfl_module_getsrc()
Ddwfl_module_build_id.c118 if (likely (phdr != NULL) && phdr->p_type == PT_NOTE) in __libdwfl_find_build_id()
132 if (likely (shdr != NULL) && shdr->sh_type == SHT_NOTE) in __libdwfl_find_build_id()
/external/elfutils/libasm/
Dasm_newscn_ingrp.c46 if (likely (result != NULL))
65 if (likely (! ctx->textp))
Dasm_abort.c46 if (likely (! ctx->textp))
/external/e2fsprogs/e2fsck/
Dcrc32defs.h59 #define likely(x) __builtin_expect(!!(x), 1) macro
62 #define likely(x) (x) macro
/external/elfutils/lib/
Deu-config.h151 # define likely(e) debugpred__ (e,1) macro
154 #ifndef likely
156 # define likely(expr) __builtin_expect (!!(expr), 1) macro
/external/harfbuzz_ng/src/
Dhb-ot-shape-normalize.cc144 if (likely (b)) { in decompose()
162 if (likely (b)) { in decompose()
228 if (likely (buffer->idx < end)) { in handle_variation_selector_cluster()
253 if (likely (c->buffer->idx + 1 == end)) in decompose_cluster()
Dhb-private.hh151 #define likely(expr) (__builtin_expect (_HB_BOOLEAN_EXPR(expr), 1)) macro
154 #define likely(expr) (expr) macro
231 return likely (number) ? (sizeof (unsigned int) * 8 - __builtin_clz (number)) : 0; in _hb_bit_storage()
247 return likely (number) ? __builtin_ctz (number) : 0; in _hb_ctz()
295 if (likely (len < allocated)) in push()
308 if (likely (!overflows)) { in push()
414 if (likely (item)) in replace_or_insert()
455 if (likely (item)) in find_or_insert()
Dhb-open-type-private.hh229 …return TRACE_RETURN (likely (this->start <= p && p <= this->end && (unsigned int) (this->end - p) … in check_range()
243 return TRACE_RETURN (likely (!overflows && this->check_range (base, record_size * len))); in check_array()
249 return likely (this->check_range (obj, obj->min_size)); in check_struct()
569 return TRACE_RETURN (likely (c->check_struct (this))); in sanitize()
595 return TRACE_RETURN (likely (c->check_struct (this))); in sanitize()
708 return TRACE_RETURN (likely (obj.sanitize (c)) || neuter (c)); in sanitize()
717 return TRACE_RETURN (likely (obj.sanitize (c, user_data)) || neuter (c)); in sanitize()
955 if (likely (count < 32)) { in search()
Dhb-utf-private.hh128 if (text < end && ((l = *text), likely (hb_in_range<hb_codepoint_t> (l, 0xdc00, 0xdfff)))) in hb_utf_next()
152 … if (start < text && ((h = *(text - 1)), likely (hb_in_range<hb_codepoint_t> (h, 0xd800, 0xdbff)))) in hb_utf_prev()
Dhb-ot-layout-gpos-table.hh112 …if (likely (horizontal)) glyph_pos.x_advance += font->em_scale_x (get_short (values++)); else valu… in apply_value()
443 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false); in apply()
488 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false); in apply()
490 if (likely (index >= valueCount)) return TRACE_RETURN (false); in apply()
666 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false); in apply()
738 if (likely (index == NOT_COVERED)) return TRACE_RETURN (false); in apply()
943 if (likely (HB_DIRECTION_IS_HORIZONTAL (c->direction))) in apply()
949 if (likely (HB_DIRECTION_IS_HORIZONTAL (c->direction))) in apply()
1029 if (likely (mark_index == NOT_COVERED)) return TRACE_RETURN (false); in apply()
1133 if (likely (mark_index == NOT_COVERED)) return TRACE_RETURN (false); in apply()
[all …]
/external/kernel-headers/original/asm-mips/
Duaccess.h112 likely(__access_ok((unsigned long)(addr), (size), __access_mask))
238 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \
326 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \
625 if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && \
/external/qemu/
Dosdep.h20 #ifndef likely
25 #define likely(x) __builtin_expect(!!(x), 1) macro

12345678910>>...15