/third_party/ltp/tools/sparse/sparse-src/validation/expand/ |
D | builtin-expect.c | 3 return __builtin_expect(a, 1); in flia() 8 return __builtin_expect(1L << 32 | 1, 1); in flic() 13 return __builtin_expect(a, 1); in fila() 18 return __builtin_expect(1L << 32 | 1, 1); in filc() 23 return __builtin_expect(0x80000000U, 1); in filu() 28 return __builtin_expect((int)0x80000000, 1); in fils() 33 return __builtin_expect(a, a); in fptr()
|
/third_party/mesa3d/include/android_stub/cutils/ |
D | 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 ))
|
/third_party/gettext/gettext-runtime/intl/ |
D | bindtextdom.c | 142 if (__builtin_expect (result != NULL, 1)) in gl_rwlock_define() 147 if (__builtin_expect (result != NULL, 1)) in gl_rwlock_define() 183 if (__builtin_expect (result != NULL, 1)) in gl_rwlock_define() 220 if (__builtin_expect (result != NULL, 1)) in gl_rwlock_define() 224 if (__builtin_expect (result != NULL, 1)) in gl_rwlock_define() 259 if (__builtin_expect (new_binding == NULL, 0)) in gl_rwlock_define() 287 if (__builtin_expect (result == NULL, 0)) in gl_rwlock_define() 292 if (__builtin_expect (result == NULL, 0)) in gl_rwlock_define() 321 if (__builtin_expect (result == NULL, 0)) in gl_rwlock_define() 342 if (__builtin_expect (result == NULL, 0)) in gl_rwlock_define() [all …]
|
D | dcigettext.c | 815 if (__builtin_expect (retval == (char *) -1, 0)) in gl_dcigettext() 829 if (__builtin_expect (retval == (char *) -1, 0)) in gl_dcigettext() 888 || __builtin_expect (*foundp != newp, 0)) in gl_dcigettext() 1137 if (__builtin_expect (new_conversions == NULL, 0)) in __libc_lock_define_initialized() 1150 if (__builtin_expect (encoding == NULL, 0)) in __libc_lock_define_initialized() 1187 if (__builtin_expect (nullentry == (char *) -1, 0)) in __libc_lock_define_initialized() 1225 if (__builtin_expect (r != __GCONV_OK, 0)) in __libc_lock_define_initialized() 1230 if (__builtin_expect (r != __GCONV_NULCONV, 1)) in __libc_lock_define_initialized() 1298 if (__builtin_expect (convd->conv_tab == NULL, 0)) in __libc_lock_define_initialized() 1314 if (__builtin_expect (convd->conv_tab == (char **) -1, 0)) in __libc_lock_define_initialized() [all …]
|
/third_party/iowow/src/ |
D | basedefs.h | 102 #define RCGO(rc__, label__) if (__builtin_expect((!!(rc__)), 0)) goto label__ 132 #define RCRET(rc__) if (__builtin_expect((!!(rc__)), 0)) return (rc__) 138 #define RCBREAK(rc__) if (__builtin_expect((!!(rc__)), 0)) break 144 #define RCONT(rc__) if (__builtin_expect((!!(rc__)), 0)) continue
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
D | optimization.h | 175 #if ABSL_HAVE_BUILTIN(__builtin_expect) || \ 177 #define ABSL_PREDICT_FALSE(x) (__builtin_expect(false || (x), false)) 178 #define ABSL_PREDICT_TRUE(x) (__builtin_expect(false || (x), true))
|
/third_party/abseil-cpp/absl/base/ |
D | optimization.h | 172 #if ABSL_HAVE_BUILTIN(__builtin_expect) || \ 174 #define ABSL_PREDICT_FALSE(x) (__builtin_expect(false || (x), false)) 175 #define ABSL_PREDICT_TRUE(x) (__builtin_expect(false || (x), true))
|
/third_party/boost/boost/config/compiler/ |
D | xlcpp_zos.hpp | 169 extern "builtin" long __builtin_expect(long, long); 171 #define BOOST_LIKELY(x) __builtin_expect((x) && true, 1) 172 #define BOOST_UNLIKELY(x) __builtin_expect((x) && true, 0)
|
D | xlcpp.hpp | 50 #if __has_builtin(__builtin_expect) 51 #define BOOST_LIKELY(x) __builtin_expect(x, 1) 52 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
|
D | clang.hpp | 73 #if __has_builtin(__builtin_expect) 74 #define BOOST_LIKELY(x) __builtin_expect(x, 1) 75 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
|
/third_party/musl/porting/linux/user/src/hook/ |
D | common_def.h | 7 #define __predict_true(exp) __builtin_expect((exp) != 0, 1) 8 #define __predict_false(exp) __builtin_expect((exp) != 0, 0)
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/ |
D | compiler.h | 35 #define likely(x) __builtin_expect(!!(x), 1) 36 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/third_party/libffi/include/ |
D | ffi_common.h | 144 #define __builtin_expect(x, expected_value) (x) macro 146 #define LIKELY(x) __builtin_expect(!!(x),1) 147 #define UNLIKELY(x) __builtin_expect((x)!=0,0)
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | crc32c_defs.h | 54 #define likely(x) __builtin_expect(!!(x), 1) 55 #define unlikely(x) __builtin_expect(!!(x), 0)
|
/third_party/gn/src/base/ |
D | compiler_specific.h | 44 #define UNLIKELY(x) __builtin_expect(!!(x), 0) 52 #define LIKELY(x) __builtin_expect(!!(x), 1)
|
/third_party/boost/libs/nowide/standalone/ |
D | config.hpp | 75 #define BOOST_LIKELY(x) __builtin_expect(x, 1) 76 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
|
/third_party/libunwind/include/ |
D | compiler.h | 49 # define likely(x) __builtin_expect ((x), 1) 50 # define unlikely(x) __builtin_expect ((x), 0)
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Compiler.h | 47 # define DAWN_LIKELY(x) __builtin_expect(!!(x), 1) 48 # define DAWN_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | platform.h | 103 # define ANGLE_LIKELY(x) __builtin_expect(!!(x), 1) 104 # define ANGLE_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Compiler.h | 47 # define DAWN_LIKELY(x) __builtin_expect(!!(x), 1) 48 # define DAWN_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/third_party/boost/boost/smart_ptr/detail/ |
D | sp_counted_base_snc_ps3.hpp | 57 if( __builtin_expect((compare_and_swap(pw, r, r + dv) == r), 1) ) in atomic_fetch_and_add() 89 if( __builtin_expect( ( compare_and_swap( pw, r, r + 1 ) == r ), 1 ) ) in atomic_conditional_increment()
|
D | sp_counted_base_gcc_sparc.hpp | 62 if( __builtin_expect((compare_and_swap(pw, r, r + dv) == r), 1) ) in atomic_fetch_and_add() 94 if( __builtin_expect( ( compare_and_swap( pw, r, r + 1 ) == r ), 1 ) ) in atomic_conditional_increment()
|
/third_party/jerryscript/jerry-core/include/ |
D | jerryscript-compiler.h | 44 #define JERRY_LIKELY(x) __builtin_expect(!!(x), 1) 45 #define JERRY_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | platform.h | 116 # define ANGLE_LIKELY(x) __builtin_expect(!!(x), 1) 117 # define ANGLE_UNLIKELY(x) __builtin_expect(!!(x), 0)
|
/third_party/mesa3d/src/util/ |
D | simple_mtx.h | 102 if (__builtin_expect(c != 0, 0)) { in simple_mtx_lock() 125 if (__builtin_expect(c != 1, 0)) { in simple_mtx_unlock()
|