/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-mips.h | 95 } while (__builtin_expect(status == 0, 0)); 131 } while (__builtin_expect(status == 0, 0)); 149 } while (__builtin_expect(status == 0, 0)); 178 } while (__builtin_expect(status == 0, 0)); 195 } while (__builtin_expect(status == 0, 0));
|
atomic-arm.h | 94 } while (__builtin_expect(status != 0, 0)); 128 } while (__builtin_expect(status != 0, 0)); 155 } while (__builtin_expect(status != 0, 0)); 172 } 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)
|
/bionic/libc/arch-mips/bionic/ |
memmove.c | 38 if (__builtin_expect((q + n < p) || (q >= p + n), 1)) {
|
/external/oprofile/module/ |
compat.h | 51 #define likely(a) __builtin_expect((a), 1) 58 #define unlikely(a) __builtin_expect((a), 0)
|
/external/valgrind/main/VEX/priv/ |
main_util.h | 46 #define LIKELY(x) __builtin_expect(!!(x), 1) 47 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/bionic/libc/bionic/ |
memmove.c | 39 if (__builtin_expect(((q < p) && ((size_t)(p - q) >= n))
|
memmem.c | 40 if (__builtin_expect((m > 1), 1)) {
|
/bionic/libc/private/ |
bionic_atomic_arm.h | 149 } while (__builtin_expect(status != 0, 0)); 167 } while (__builtin_expect(status != 0, 0)); 188 } while (__builtin_expect(status != 0, 0)); 209 } while (__builtin_expect(status != 0, 0));
|
/bionic/libc/arch-arm/generic/bionic/ |
strlen.c | 52 if (__builtin_expect(*u.b++ == 0, 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))
|
/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...] |
/development/tools/yuv420sp2rgb/ |
debug.h | 7 #define unlikely(expr) __builtin_expect (expr, 0) 8 #define likely(expr) __builtin_expect (expr, 1)
|
/external/e2fsprogs/e2fsck/ |
crc32defs.h | 59 #define likely(x) __builtin_expect(!!(x), 1) 60 #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 ))
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_fbupdate.h | 25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true )) 26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xfuncproto.h | 104 # define _X_LIKELY(x) __builtin_expect(!!(x), 1) 105 # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xfuncproto.h | 104 # define _X_LIKELY(x) __builtin_expect(!!(x), 1) 105 # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xfuncproto.h | 104 # define _X_LIKELY(x) __builtin_expect(!!(x), 1) 105 # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/ |
pool_allocator.h | 201 if (__builtin_expect(__n != 0, true)) 203 if (__builtin_expect(__n > this->max_size(), false)) 226 if (__builtin_expect(__result == 0, 0)) 233 if (__builtin_expect(__ret == 0, 0)) 244 if (__builtin_expect(__n != 0 && __p != 0, true))
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/ |
pool_allocator.h | 201 if (__builtin_expect(__n != 0, true)) 203 if (__builtin_expect(__n > this->max_size(), false)) 226 if (__builtin_expect(__result == 0, 0)) 233 if (__builtin_expect(__ret == 0, 0)) 244 if (__builtin_expect(__n != 0 && __p != 0, true))
|