/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/cutils/ |
compiler.h | 16 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true )) 17 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) 19 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), 1 )) 20 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
|
/external/skia/experimental/AndroidPathRenderer/cutils/ |
compiler.h | 16 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true )) 17 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) 19 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), 1 )) 20 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
|
/external/oprofile/m4/ |
builtinexpect.m4 | 4 AC_MSG_CHECKING([whether __builtin_expect is understood]) 9 if (__builtin_expect(i, 0)) { }
|
/external/clang/test/CodeGen/ |
builtin-expect.c | 8 if (__builtin_expect (x, y())) 17 (void) __builtin_expect((isigprocmask(), 0), bar()); 27 if (__builtin_expect (x, 1)) 35 switch(__builtin_expect(x, 5)) {
|
/system/core/include/cutils/ |
compiler.h | 25 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true )) 26 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false )) 28 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), 1 )) 29 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
|
atomic-arm.h | 85 } while (__builtin_expect(status != 0, 0)); 119 } while (__builtin_expect(status != 0, 0)); 146 } while (__builtin_expect(status != 0, 0)); 163 } while (__builtin_expect(status != 0, 0));
|
atomic-mips.h | 87 } while (__builtin_expect(status == 0, 0)); 124 } while (__builtin_expect(status == 0, 0)); 153 } while (__builtin_expect(status == 0, 0)); 170 } while (__builtin_expect(status == 0, 0));
|
atomic-mips64.h | 80 } while (__builtin_expect(status == 0, 0)); 116 } while (__builtin_expect(status == 0, 0)); 145 } while (__builtin_expect(status == 0, 0)); 162 } while (__builtin_expect(status == 0, 0));
|
atomic-arm64.h | 116 } while (__builtin_expect(status != 0, 0)); 140 } while (__builtin_expect(status != 0, 0)); 152 } while (__builtin_expect(status != 0, 0));
|
atomic-x86.h | 130 } while (__builtin_expect(status != 0, 0)); 141 } while (__builtin_expect(status != 0, 0));
|
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
u_compiler.h | 43 # define likely(x) __builtin_expect(!!(x), 1) 44 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/mesa3d/src/mapi/mapi/ |
u_compiler.h | 43 # define likely(x) __builtin_expect(!!(x), 1) 44 # define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/fio/compiler/ |
compiler.h | 23 #define fio_unlikely(x) __builtin_expect(!!(x), 0)
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
indirect.c | 56 # define __builtin_expect(x, y) x macro 189 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 201 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 213 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 225 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 237 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 249 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 261 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 273 if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } 284 if (__builtin_expect(dpy != NULL, 1)) [all...] |
/external/oprofile/module/ |
compat.h | 51 #define likely(a) __builtin_expect((a), 1) 58 #define unlikely(a) __builtin_expect((a), 0)
|
/external/e2fsprogs/intl/ |
bindtextdom.c | 156 if (__builtin_expect (result != NULL, 1)) 161 if (__builtin_expect (result != NULL, 1)) 194 if (__builtin_expect (result != NULL, 1)) 198 if (__builtin_expect (result != NULL, 1)) 227 if (__builtin_expect (new_binding == NULL, 0)) 248 if (__builtin_expect (result == NULL, 0)) 253 if (__builtin_expect (result == NULL, 0)) 279 if (__builtin_expect (result == NULL, 0)) 284 if (__builtin_expect (result == NULL, 0))
|
/bionic/libc/private/ |
bionic_atomic_arm.h | 46 } while (__builtin_expect(status != 0, 0)); 60 } while (__builtin_expect(status != 0, 0)); 75 } while (__builtin_expect(status != 0, 0));
|
/external/clang/test/Sema/ |
constant-builtins.c | 19 //int h2 = __builtin_expect(0, 0);
|
/development/tools/yuv420sp2rgb/ |
debug.h | 7 #define unlikely(expr) __builtin_expect (expr, 0) 8 #define likely(expr) __builtin_expect (expr, 1)
|
/external/e2fsprogs/lib/ext2fs/ |
crc32c_defs.h | 46 #define likely(x) __builtin_expect(!!(x), 1) 47 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/llvm/docs/ |
BranchWeightMetadata.rst | 18 `__builtin_expect`_ instruction. 72 .. _\__builtin_expect: 77 ``__builtin_expect(long exp, long c)`` instruction provides branch prediction 92 if (__builtin_expect(x > 0, 1)) { 105 switch (__builtin_expect(x, 5)) {
|
/external/e2fsprogs/e2fsck/ |
crc32defs.h | 59 #define likely(x) __builtin_expect(!!(x), 1) 60 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/external/libunwind/include/ |
compiler.h | 51 # define likely(x) __builtin_expect ((x), 1) 52 # define unlikely(x) __builtin_expect ((x), 0)
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|