/third_party/boost/libs/log/src/posix/ |
D | ipc_sync_wrappers.hpp | 58 if (BOOST_UNLIKELY(err != 0)) in pthread_mutex_attributes() 79 if (BOOST_UNLIKELY(err != 0)) in pthread_condition_variable_attributes() 113 if (BOOST_UNLIKELY(err != 0)) in interprocess_mutex() 116 if (BOOST_UNLIKELY(err != 0)) in interprocess_mutex() 120 if (BOOST_UNLIKELY(err != 0)) in interprocess_mutex() 125 if (BOOST_UNLIKELY(err != 0)) in interprocess_mutex() 138 if (BOOST_UNLIKELY(err == EOWNERDEAD)) in lock() 141 if (BOOST_UNLIKELY(err != 0)) in lock() 154 if (BOOST_UNLIKELY(err != 0)) in recover() 172 if (BOOST_UNLIKELY(err != 0)) in interprocess_condition_variable() [all …]
|
/third_party/boost/libs/log/src/ |
D | event.cpp | 110 else if (BOOST_UNLIKELY(err != EINTR)) in wait() 125 …if (BOOST_UNLIKELY(::syscall(BOOST_LOG_SYS_FUTEX, &m_state.value(), BOOST_LOG_FUTEX_WAKE, 1, NULL,… in set_signalled() 138 if (BOOST_UNLIKELY(sem_init(&m_semaphore, 0, 0) != 0)) 160 if (BOOST_UNLIKELY(err != EINTR)) 176 if (BOOST_UNLIKELY(sem_post(&m_semaphore) != 0)) 191 if (BOOST_UNLIKELY(!m_event)) 210 if (BOOST_UNLIKELY(WaitForSingleObject(m_event, INFINITE) != 0)) 224 if (BOOST_UNLIKELY(SetEvent(m_event) == 0))
|
D | thread_specific.cpp | 39 if (BOOST_UNLIKELY(m_Key == TLS_OUT_OF_INDEXES)) in thread_specific_base() 95 if (BOOST_UNLIKELY(res != 0)) 113 if (BOOST_UNLIKELY(res != 0)) 148 if (BOOST_UNLIKELY(res != 0)) 163 if (BOOST_UNLIKELY(res != 0)) 184 if (BOOST_UNLIKELY(res != 0)) 204 if (BOOST_UNLIKELY(res != 0)) 227 if (BOOST_UNLIKELY(res != 0)) 242 if (BOOST_UNLIKELY(res != 0))
|
/third_party/boost/boost/fiber/future/ |
D | future.hpp | 69 if ( BOOST_UNLIKELY( ! valid() ) ) { in get_exception_ptr() 76 if ( BOOST_UNLIKELY( ! valid() ) ) { in wait() 84 if ( BOOST_UNLIKELY( ! valid() ) ) { in wait_for() 92 if ( BOOST_UNLIKELY( ! valid() ) ) { in wait_until() 144 if ( BOOST_UNLIKELY( ! base_type::valid() ) ) { in get() 193 if ( BOOST_UNLIKELY( ! base_type::valid() ) ) { in get() 245 if ( BOOST_UNLIKELY( ! base_type::valid() ) ) { in get() 307 if ( BOOST_UNLIKELY( ! valid() ) ) { in get() 366 if ( BOOST_UNLIKELY( ! valid() ) ) { in get() 432 if ( BOOST_UNLIKELY( ! valid() ) ) { in get() [all …]
|
D | promise.hpp | 79 if ( BOOST_UNLIKELY( obtained_) ) { in get_future() 82 if ( BOOST_UNLIKELY( ! future_) ) { in get_future() 95 if ( BOOST_UNLIKELY( ! future_) ) { in set_exception() 124 if ( BOOST_UNLIKELY( ! base_type::future_) ) { in set_value() 131 if ( BOOST_UNLIKELY( ! base_type::future_) ) { in set_value() 165 if ( BOOST_UNLIKELY( ! base_type::future_) ) { in set_value() 200 if ( BOOST_UNLIKELY( ! base_type::future_) ) { in set_value()
|
D | packaged_task.hpp | 109 if ( BOOST_UNLIKELY( ! valid() ) ) { in get_future() 118 if ( BOOST_UNLIKELY( ! valid() ) ) { in operator ()() 125 if ( BOOST_UNLIKELY( ! valid() ) ) { in reset()
|
/third_party/boost/libs/log/src/windows/ |
D | mapped_shared_memory.cpp | 79 if (BOOST_UNLIKELY(h == NULL || err != ERROR_SUCCESS)) in create() 111 if (BOOST_UNLIKELY(h == NULL)) in create_or_open() 150 if (BOOST_UNLIKELY(h == NULL)) in open() 185 if (BOOST_UNLIKELY(m_mapped_address == NULL)) in map() 206 if (BOOST_UNLIKELY(query_section == NULL)) in obtain_size() 210 if (BOOST_UNLIKELY(ntdll == NULL)) in obtain_size() 217 if (BOOST_UNLIKELY(query_section == NULL)) in obtain_size() 235 if (BOOST_UNLIKELY(err != 0u)) in obtain_size()
|
D | ipc_sync_wrappers.hpp | 70 if (BOOST_UNLIKELY(!boost::winapi::SetEvent(m_event.get()))) in set() 84 if (BOOST_UNLIKELY(!boost::winapi::ResetEvent(m_event.get()))) in reset() 94 if (BOOST_UNLIKELY(retval != boost::winapi::wait_object_0)) in wait() 110 else if (BOOST_UNLIKELY(retval != boost::winapi::wait_object_0)) in wait() 154 …if (BOOST_UNLIKELY(!boost::winapi::ReleaseSemaphore(m_sem.get(), static_cast< boost::winapi::LONG_… in post() 169 if (BOOST_UNLIKELY(retval != boost::winapi::wait_object_0)) in wait() 185 else if (BOOST_UNLIKELY(retval != boost::winapi::wait_object_0)) in wait() 303 if (BOOST_UNLIKELY(!try_lock())) in lock()
|
D | ipc_sync_wrappers.cpp | 75 if (BOOST_UNLIKELY(h == NULL)) in create() 123 if (BOOST_UNLIKELY(h == NULL)) in open() 176 if (BOOST_UNLIKELY(h == NULL)) in open() 217 if (BOOST_UNLIKELY(err != 0u)) in is_semaphore_zero_count_nt_query_semaphore() 234 else if (BOOST_UNLIKELY(retval != boost::winapi::wait_object_0)) in is_semaphore_zero_count_emulated() 313 if (BOOST_UNLIKELY((old_state & waiter_count_mask) == waiter_count_mask)) in mark_waiting_and_try_lock() 353 if (BOOST_UNLIKELY(waiters >= ((std::numeric_limits< int32_t >::max)() - 1))) in wait() 372 if (BOOST_UNLIKELY(retval == boost::winapi::WAIT_FAILED_)) in wait()
|
/third_party/boost/libs/filesystem/src/ |
D | unique_path.cpp | 125 if (BOOST_UNLIKELY(n < 0)) in system_crypt_random() 159 if (BOOST_UNLIKELY(n == -1)) in system_crypt_random() 182 if (BOOST_UNLIKELY(status != 0)) in system_crypt_random() 193 if (BOOST_UNLIKELY(status != 0)) in system_crypt_random() 200 …if (BOOST_UNLIKELY(!boost::winapi::CryptAcquireContextW(&handle, NULL, NULL, boost::winapi::PROV_R… in system_crypt_random() 211 if (BOOST_UNLIKELY(!gen_ok)) in system_crypt_random() 216 if (BOOST_UNLIKELY(!gen_ok)) in system_crypt_random()
|
D | directory.cpp | 230 if (BOOST_UNLIKELY(!storage)) in readdir_r_simulator() 240 if (BOOST_UNLIKELY(!storage)) in readdir_r_simulator() 263 if (BOOST_UNLIKELY(err != 0)) in dir_itr_increment() 418 if (BOOST_UNLIKELY(::closedir(h) != 0)) in dir_itr_close() 456 if (BOOST_UNLIKELY(!imp)) in directory_iterator_construct() 531 …if (BOOST_UNLIKELY(!!increment_ec)) // happens if filesystem is corrupt, such as on a damaged opt… in directory_iterator_increment() 598 if (BOOST_UNLIKELY(!imp)) in recursive_directory_iterator_construct() 669 if (BOOST_UNLIKELY(!!increment_ec)) in recursive_directory_iterator_pop() 748 if (BOOST_UNLIKELY(!!ec)) in recursive_directory_iterator_push_directory() 764 …if (BOOST_UNLIKELY((imp->m_stack.size() - 1u) >= static_cast< std::size_t >((std::numeric_limits< … in recursive_directory_iterator_push_directory() [all …]
|
D | operations.cpp | 389 if (BOOST_UNLIKELY(!buf.get())) in copy_file_data_read_write() 397 if (BOOST_UNLIKELY(sz_read < 0)) in copy_file_data_read_write() 410 if (BOOST_UNLIKELY(sz < 0)) in copy_file_data_read_write() 444 if (BOOST_UNLIKELY(sz < 0)) in copy_file_data_sendfile() 479 if (BOOST_UNLIKELY(sz < 0)) in copy_file_data_copy_file_range() 502 if (BOOST_UNLIKELY(::uname(&system_info) < 0)) in copy_file_data_initializer() 507 if (BOOST_UNLIKELY(count < 3)) in copy_file_data_initializer() 1148 if (BOOST_UNLIKELY(infile.fd < 0)) in copy_file() 1163 if (BOOST_UNLIKELY(::fstat(infile.fd, &from_stat) != 0)) in copy_file() 1170 if (BOOST_UNLIKELY(!S_ISREG(from_stat.st_mode))) in copy_file() [all …]
|
/third_party/boost/libs/nowide/standalone/ |
D | config.hpp | 76 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0) macro 81 #if !defined(BOOST_UNLIKELY) 82 #define BOOST_UNLIKELY(x) x macro
|
/third_party/boost/libs/fiber/src/ |
D | fiber.cpp | 46 if ( BOOST_UNLIKELY( context::active()->get_id() == get_id() ) ) { in join() 50 if ( BOOST_UNLIKELY( ! joinable() ) ) { in join() 60 if ( BOOST_UNLIKELY( ! joinable() ) ) { in detach()
|
D | mutex.cpp | 29 if ( BOOST_UNLIKELY( active_ctx == owner_) ) { in lock() 50 if ( BOOST_UNLIKELY( active_ctx == owner_) ) { in try_lock() 68 if ( BOOST_UNLIKELY( active_ctx != owner_) ) { in unlock()
|
D | timed_mutex.cpp | 55 if ( BOOST_UNLIKELY( active_ctx == owner_) ) { in lock() 77 if ( BOOST_UNLIKELY( active_ctx == owner_) ) { in try_lock() 95 if ( BOOST_UNLIKELY( active_ctx != owner_) ) { in unlock()
|
/third_party/boost/boost/container/ |
D | adaptive_pool.hpp | 155 if(BOOST_UNLIKELY(count > size_type(-1)/(2u*sizeof(T)))) in allocate() 191 if(BOOST_UNLIKELY(!ret && !(command & BOOST_CONTAINER_NOTHROW_ALLOCATION))) in allocation_command() 261 if(BOOST_UNLIKELY(!dlmalloc_multialloc_nodes in allocate_many() 281 if(BOOST_UNLIKELY(!dlmalloc_multialloc_arrays in allocate_many() 328 if(BOOST_UNLIKELY(limit_size > this->max_size() || preferred_size > this->max_size())){ in priv_allocation_command() 465 if(BOOST_UNLIKELY(count > size_type(-1)/(2u*sizeof(T)))) in allocate() 495 if(BOOST_UNLIKELY(!ret && !(command & BOOST_CONTAINER_NOTHROW_ALLOCATION))) in allocation_command() 538 if(BOOST_UNLIKELY(!dlmalloc_multialloc_nodes in allocate_many() 549 if(BOOST_UNLIKELY(!dlmalloc_multialloc_arrays in allocate_many() 588 if(BOOST_UNLIKELY(limit_size > this->max_size() || preferred_size > this->max_size())){ in priv_allocation_command()
|
D | node_allocator.hpp | 147 if(BOOST_UNLIKELY(count > this->max_size())) in allocate() 158 if(BOOST_UNLIKELY(!ret)) in allocate() 194 if(BOOST_UNLIKELY(!ret && !(command & BOOST_CONTAINER_NOTHROW_ALLOCATION))) in allocation_command() 261 …if(BOOST_UNLIKELY(!dlmalloc_multialloc_nodes(n_elements, elem_size*sizeof(T), BOOST_CONTAINER_DL_M… in allocate_many() 277 if(BOOST_UNLIKELY(BOOST_CONTAINER_MEMCHAIN_EMPTY(&ch))){ in allocate_many()
|
/third_party/boost/boost/fiber/ |
D | unbuffered_channel.hpp | 159 if ( BOOST_UNLIKELY( is_closed() ) ) { in push() 192 if ( BOOST_UNLIKELY( is_closed() ) ) { in push() 210 if ( BOOST_UNLIKELY( is_closed() ) ) { in push() 242 if ( BOOST_UNLIKELY( is_closed() ) ) { in push() 277 if ( BOOST_UNLIKELY( is_closed() ) ) { in push_wait_until() 317 if ( BOOST_UNLIKELY( is_closed() ) ) { in push_wait_until() 344 if ( BOOST_UNLIKELY( is_closed() ) ) { in push_wait_until() 383 if ( BOOST_UNLIKELY( is_closed() ) ) { in push_wait_until() 439 if ( BOOST_UNLIKELY( is_closed() ) ) { in pop() 490 if ( BOOST_UNLIKELY( is_closed() ) ) { in value_pop() [all …]
|
D | buffered_channel.hpp | 67 if ( BOOST_UNLIKELY( 2 > capacity_ || 0 != ( capacity_ & (capacity_ - 1) ) ) ) { 126 if ( BOOST_UNLIKELY( is_closed_() ) ) { in try_push() 159 if ( BOOST_UNLIKELY( is_closed_() ) ) { in try_push() 193 if ( BOOST_UNLIKELY( is_closed_() ) ) { in push() 232 if ( BOOST_UNLIKELY( is_closed_() ) ) { in push() 288 if ( BOOST_UNLIKELY( is_closed_() ) ) { in push_wait_until() 336 if ( BOOST_UNLIKELY( is_closed_() ) ) { in push_wait_until() 414 if ( BOOST_UNLIKELY( is_closed_() ) ) { in pop() 453 if ( BOOST_UNLIKELY( is_closed_() ) ) { in value_pop() 504 if ( BOOST_UNLIKELY( is_closed_() ) ) { in pop_wait_until()
|
/third_party/boost/boost/log/detail/ |
D | adaptive_mutex.hpp | 179 if (BOOST_UNLIKELY(err != 0)) in adaptive_mutex() 193 if (BOOST_UNLIKELY(err != EBUSY)) in try_lock() 201 if (BOOST_UNLIKELY(err != 0)) in lock()
|
/third_party/boost/libs/fiber/src/numa/windows/ |
D | topology.cpp | 41 if ( BOOST_UNLIKELY( ERROR_INSUFFICIENT_BUFFER != ::GetLastError() ) ) { in procinfo_iterator() 47 if ( BOOST_UNLIKELY( nullptr == buffer_) ) { in procinfo_iterator() 50 … if ( BOOST_UNLIKELY( ! ::GetLogicalProcessorInformationEx( relship, buffer_, & length_) ) ) { in procinfo_iterator()
|
/third_party/boost/boost/fiber/future/detail/ |
D | shared_state.hpp | 65 if ( BOOST_UNLIKELY( ready_) ) { in set_exception_() 164 if ( BOOST_UNLIKELY( ready_) ) { in set_value_() 173 if ( BOOST_UNLIKELY( ready_) ) { in set_value_() 226 if ( BOOST_UNLIKELY( ready_) ) { in set_value_() 269 if ( BOOST_UNLIKELY( ready_) ) { in set_value_()
|
/third_party/boost/boost/context/ |
D | continuation_ucontext.hpp | 90 if ( BOOST_UNLIKELY( 0 != ::getcontext( & uctx) ) ) { in activation_record() 301 if ( BOOST_UNLIKELY( 0 != ::getcontext( & record->uctx) ) ) { in create_context1() 336 if ( BOOST_UNLIKELY( 0 != ::getcontext( & record->uctx) ) ) { in create_context2() 389 if ( BOOST_UNLIKELY( nullptr != ptr_) && ! ptr_->main_ctx) { in ~continuation() 424 if ( BOOST_UNLIKELY( detail::activation_record::current()->force_unwind) ) { in resume() 426 } else if ( BOOST_UNLIKELY( nullptr != detail::activation_record::current()->ontop) ) { in resume() 447 if ( BOOST_UNLIKELY( detail::activation_record::current()->force_unwind) ) { in resume_with() 449 } else if ( BOOST_UNLIKELY( nullptr != detail::activation_record::current()->ontop) ) { in resume_with()
|
D | fiber_ucontext.hpp | 90 if ( BOOST_UNLIKELY( 0 != ::getcontext( & uctx) ) ) { in fiber_activation_record() 301 if ( BOOST_UNLIKELY( 0 != ::getcontext( & record->uctx) ) ) { in create_fiber1() 336 if ( BOOST_UNLIKELY( 0 != ::getcontext( & record->uctx) ) ) { in create_fiber2() 413 if ( BOOST_UNLIKELY( nullptr != ptr_) && ! ptr_->main_ctx) { in ~fiber() 445 if ( BOOST_UNLIKELY( detail::fiber_activation_record::current()->force_unwind) ) { in resume() 447 … } else if ( BOOST_UNLIKELY( nullptr != detail::fiber_activation_record::current()->ontop) ) { in resume() 464 if ( BOOST_UNLIKELY( detail::fiber_activation_record::current()->force_unwind) ) { in resume_with() 466 … } else if ( BOOST_UNLIKELY( nullptr != detail::fiber_activation_record::current()->ontop) ) { in resume_with()
|