Home
last modified time | relevance | path

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

12345

/third_party/ltp/tools/sparse/sparse-src/validation/expand/
Dbuiltin-expect.c3 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/
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 ))
/third_party/gettext/gettext-runtime/intl/
Dbindtextdom.c142 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 …]
Ddcigettext.c815 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/
Dbasedefs.h102 #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/
Doptimization.h175 #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/
Doptimization.h172 #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/
Dxlcpp_zos.hpp169 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)
Dxlcpp.hpp50 #if __has_builtin(__builtin_expect)
51 #define BOOST_LIKELY(x) __builtin_expect(x, 1)
52 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
Dclang.hpp73 #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/
Dcommon_def.h7 #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/
Dcompiler.h35 #define likely(x) __builtin_expect(!!(x), 1)
36 #define unlikely(x) __builtin_expect(!!(x), 0)
/third_party/libffi/include/
Dffi_common.h144 #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/
Dcrc32c_defs.h54 #define likely(x) __builtin_expect(!!(x), 1)
55 #define unlikely(x) __builtin_expect(!!(x), 0)
/third_party/gn/src/base/
Dcompiler_specific.h44 #define UNLIKELY(x) __builtin_expect(!!(x), 0)
52 #define LIKELY(x) __builtin_expect(!!(x), 1)
/third_party/boost/libs/nowide/standalone/
Dconfig.hpp75 #define BOOST_LIKELY(x) __builtin_expect(x, 1)
76 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
/third_party/libunwind/include/
Dcompiler.h49 # 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/
DCompiler.h47 # 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/
Dplatform.h103 # 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/
DCompiler.h47 # define DAWN_LIKELY(x) __builtin_expect(!!(x), 1)
48 # define DAWN_UNLIKELY(x) __builtin_expect(!!(x), 0)
/third_party/boost/boost/smart_ptr/detail/
Dsp_counted_base_snc_ps3.hpp57 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()
Dsp_counted_base_gcc_sparc.hpp62 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/
Djerryscript-compiler.h44 #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/
Dplatform.h116 # define ANGLE_LIKELY(x) __builtin_expect(!!(x), 1)
117 # define ANGLE_UNLIKELY(x) __builtin_expect(!!(x), 0)
/third_party/mesa3d/src/util/
Dsimple_mtx.h102 if (__builtin_expect(c != 0, 0)) { in simple_mtx_lock()
125 if (__builtin_expect(c != 1, 0)) { in simple_mtx_unlock()

12345