Home
last modified time | relevance | path

Searched refs:BOOST_LIKELY (Results 1 – 25 of 70) sorted by relevance

123

/third_party/boost/boost/fiber/future/
Dfuture.hpp50 if ( BOOST_LIKELY( this != & other) ) { in operator =()
57 if ( BOOST_LIKELY( this != & other) ) { in operator =()
135 if ( BOOST_LIKELY( this != & other) ) { in operator =()
184 if ( BOOST_LIKELY( this != & other) ) { in operator =()
235 if ( BOOST_LIKELY( this != & other) ) { in operator =()
288 if ( BOOST_LIKELY( this != & other) ) { in operator =()
295 if ( BOOST_LIKELY( this != & other) ) { in operator =()
347 if ( BOOST_LIKELY( this != & other) ) { in operator =()
354 if ( BOOST_LIKELY( this != & other) ) { in operator =()
410 if ( BOOST_LIKELY( this != & other) ) { in operator =()
[all …]
/third_party/boost/libs/atomic/src/
Dlock_pool.cpp177 if (BOOST_LIKELY(m_header != NULL)) in find()
262 if (BOOST_LIKELY(pthread_mutex_trylock(&m_mutex) == 0)) in long_lock()
349 if (BOOST_LIKELY((prev_state & mutex_bits::locked) == 0u)) in long_lock()
352 …if (BOOST_LIKELY(futex_operations::compare_exchange_strong(m_mutex, prev_state, new_state, boost::… in long_lock()
368 if (BOOST_LIKELY((prev_state & mutex_bits::locked) == 0u)) in lock_slow_path()
371 …if (BOOST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::me… in lock_slow_path()
377 …if (BOOST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::me… in lock_slow_path()
394 …if (BOOST_LIKELY(futex_operations::compare_exchange_weak(m_mutex, prev_state, new_state, boost::me… in unlock()
428 if (BOOST_LIKELY(err != EINTR)) in wait()
442 if (BOOST_LIKELY(m_waiter_count > 0u)) in notify_one()
[all …]
Dwait_ops_windows.cpp66 if (BOOST_LIKELY(kernel_base != NULL)) in initialize_wait_functions()
69 if (BOOST_LIKELY(woa != NULL)) in initialize_wait_functions()
74 if (BOOST_LIKELY(wbas != NULL && wbaa != NULL)) in initialize_wait_functions()
/third_party/boost/libs/nowide/standalone/
Dconfig.hpp75 #define BOOST_LIKELY(x) __builtin_expect(x, 1) macro
78 #if !defined(BOOST_LIKELY)
79 #define BOOST_LIKELY(x) x macro
/third_party/boost/boost/atomic/detail/
Dwait_ops_windows.hpp57 …if (BOOST_LIKELY(once_flag_operations::load(wait_functions_once_flag.m_flag, boost::memory_order_a… in ensure_wait_functions_initialized()
82 if (BOOST_LIKELY(atomics::detail::wait_on_address != NULL)) in wait()
103 if (BOOST_LIKELY(atomics::detail::wake_by_address_single != NULL)) in notify_one()
113 if (BOOST_LIKELY(atomics::detail::wake_by_address_all != NULL)) in notify_all()
Dops_gcc_x86_dcas.hpp56 if (BOOST_LIKELY((((uint32_t)&storage) & 0x00000007) == 0u)) in store()
126 if (BOOST_LIKELY((((uint32_t)&storage) & 0x00000007) == 0u)) in load()
/third_party/boost/libs/filesystem/src/
Derror_handling.hpp63 if (BOOST_LIKELY(!error_num)) in error()
78 if (BOOST_LIKELY(!error_num)) in error()
93 if (BOOST_LIKELY(!error_num)) in error()
/third_party/boost/boost/geometry/core/
Dassert.hpp33 #define BOOST_GEOMETRY_ASSERT(expr) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::geometry::assertio…
34 #define BOOST_GEOMETRY_ASSERT_MSG(expr, msg) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::geometry:…
/third_party/boost/boost/log/utility/manipulators/
Dauto_newline.hpp46 if (BOOST_LIKELY(strm.good())) in operator <<()
49 if (BOOST_LIKELY(!!str)) in operator <<()
Drange.hpp69 if (BOOST_LIKELY(it != end)) in output()
118 if (BOOST_LIKELY(strm.good())) in operator <<()
Ddump.hpp131 if (BOOST_LIKELY(strm.good())) in operator <<()
158 if (BOOST_LIKELY(strm.good())) in operator <<()
/third_party/boost/boost/
Dassert.hpp53 #define BOOST_ASSERT(expr) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed(#expr, BOO…
54 #define BOOST_ASSERT_MSG(expr, msg) (BOOST_LIKELY(!!(expr))? ((void)0): ::boost::assertion_failed_m…
/third_party/boost/boost/fiber/
Dfss.hpp41 if ( BOOST_LIKELY( nullptr != fn) ) { in operator ()()
94 if ( BOOST_LIKELY( c != t) ) { in reset()
Doperations.hpp55 if ( BOOST_LIKELY( nullptr == props) ) { in properties()
/third_party/boost/libs/log/src/
Dtext_multifile_backend.cpp90 if (BOOST_LIKELY(!m_pImpl->m_FileNameComposer.empty())) in consume()
95 if (BOOST_LIKELY(m_pImpl->m_File.is_open())) in consume()
Dtrivial.cpp71 if (BOOST_LIKELY(static_cast< unsigned int >(lvl) < names_count))
122 if (BOOST_LIKELY(strm.good())) in operator >>()
Dtext_ostream_backend.cpp124 if (BOOST_LIKELY(strm->good())) in consume()
145 if (BOOST_LIKELY(strm->good())) in flush()
Dcode_conversion.cpp241 if (BOOST_LIKELY(len > 0)) in utf8_to_utf16()
247 if (BOOST_LIKELY(len > 0)) in utf8_to_utf16()
274 if (BOOST_LIKELY(len > 0)) in utf16_to_utf8()
280 if (BOOST_LIKELY(len > 0)) in utf16_to_utf8()
Dcore.cpp317 if (BOOST_LIKELY(m_enabled.load(boost::memory_order_relaxed))) in open_record()
319 if (BOOST_LIKELY(m_enabled)) in open_record()
329 if (BOOST_LIKELY(m_enabled.load(boost::memory_order_relaxed))) in open_record()
638 if (BOOST_LIKELY(!m_impl->m_sinks.empty())) in flush()
/third_party/boost/boost/log/detail/
Dattachable_sstream_buf.hpp182 if (BOOST_LIKELY(n <= left)) in append()
208 if (BOOST_LIKELY(n <= left)) in append()
231 if (BOOST_LIKELY(m_storage_state.storage->size() < m_storage_state.max_size)) in push_back()
/third_party/boost/libs/container/src/
Dpool_resource.cpp246 if(BOOST_LIKELY((0 != m_pool_data))){ in pool_count()
266 if(BOOST_LIKELY((m_pool_data && pool_idx < m_pool_count))){ in pool_next_blocks_per_chunk()
279 if(BOOST_LIKELY((m_pool_data && pool_idx < m_pool_count))){ in pool_cached_blocks()
/third_party/boost/libs/config/test/
Dhelper_macro_test.cpp25 if(BOOST_LIKELY(i)) return i; in test_unreachable()
/third_party/boost/boost/config/compiler/
Dxlcpp_zos.hpp171 #define BOOST_LIKELY(x) __builtin_expect((x) && true, 1) macro
/third_party/boost/boost/log/
Dtrivial.hpp72 if (BOOST_LIKELY(!!str)) in operator <<()
/third_party/boost/boost/container/detail/
Dcopy_move_algo.hpp180 if(BOOST_LIKELY(beg_raw != end_raw && dest_raw && beg_raw)){ in memmove()
195 if(BOOST_LIKELY(n)){ in memmove_n()
209 if(BOOST_LIKELY(n)){ in memmove_n_source()
224 if(BOOST_LIKELY(n)){ in memmove_n_source_dest()
590 if (BOOST_LIKELY(n)){ in uninitialized_value_init_alloc_n()
897 if (BOOST_LIKELY(n)){ in move_backward()

123