Home
last modified time | relevance | path

Searched refs:__builtin_expect (Results 1 – 25 of 29) sorted by relevance

12

/hardware/google/gfxstream/guest/mesa/include/android_stub/cutils/
Dcompiler.h25 # 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 ))
/hardware/google/aemu/base/
DTracing.cpp62 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true ))
63 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false ))
65 # define CC_LIKELY( exp ) (__builtin_expect( !!(exp), 1 ))
66 # define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_fbupdate.h25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true ))
26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
Dhwc_utils.h36 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true ))
37 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
/hardware/google/aemu/base/include/aemu/base/synchronization/
DLock.h274 # define SEQLOCK_LIKELY( exp ) (__builtin_expect( !!(exp), true ))
275 # define SEQLOCK_UNLIKELY( exp ) (__builtin_expect( !!(exp), false ))
277 # define SEQLOCK_LIKELY( exp ) (__builtin_expect( !!(exp), 1 ))
278 # define SEQLOCK_UNLIKELY( exp ) (__builtin_expect( !!(exp), 0 ))
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXfuncproto.h103 # define _X_LIKELY(x) __builtin_expect(!!(x), 1)
104 # define _X_UNLIKELY(x) __builtin_expect(!!(x), 0)
/hardware/google/gfxstream/guest/mesa/src/util/
Dsimple_mtx.h110 if (__builtin_expect(c != 0, 0)) { in simple_mtx_lock()
133 if (__builtin_expect(c != 1, 0)) { in simple_mtx_unlock()
Dmacros.h60 # define __builtin_expect(x, y) (x) macro
65 # define likely(x) __builtin_expect(!!(x), 1)
66 # define unlikely(x) __builtin_expect(!!(x), 0)
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_fbupdate.h25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true ))
26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
Dhwc_utils.h38 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true ))
39 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_fbupdate.h25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true ))
26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_fbupdate.h25 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true ))
26 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/rpc_inc/
Ddebug.h62 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/inc/
Ddebug.h50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/loc_api/libloc_api-rpc/inc/
Ddebug.h50 if (__builtin_expect (cond, 0)) { \
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/inc/
Ddebug.h50 if (__builtin_expect (cond, 0)) { \
/hardware/google/gfxstream/guest/mesa/include/android_stub/log/
Dlog_radio.h40 #define __predict_false(exp) __builtin_expect((exp) != 0, 0)
Dlog_system.h38 #define __predict_false(exp) __builtin_expect((exp) != 0, 0)
Dlog_main.h79 #define __predict_false(exp) __builtin_expect((exp) != 0, 0)
/hardware/qcom/display/msm8994/liboverlay/
DmdpWrapper.h50 #define LIKELY( exp ) (__builtin_expect( (exp) != 0, true ))
51 #define UNLIKELY( exp ) (__builtin_expect( (exp) != 0, false ))
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DShareGroup.cpp319 #define CC_LIKELY( exp ) (__builtin_expect( !!(exp), true ))
320 #define CC_UNLIKELY( exp ) (__builtin_expect( !!(exp), false ))

12