Home
last modified time | relevance | path

Searched refs:is_not_empty (Results 1 – 4 of 4) sorted by relevance

/third_party/boost/libs/algorithm/string/test/
Djoin_test.cpp29 bool is_not_empty(const std::string& str) in is_not_empty() function
69 BOOST_CHECK( equals(join_if(tokens2, "-", is_not_empty), "xx-abc-abc-xx") ); in join_test()
70 BOOST_CHECK( equals(join_if(empty_tokens, "-", is_not_empty), "") ); in join_test()
71 BOOST_CHECK( equals(join_if(tokens3, "-", is_not_empty), "") ); in join_test()
/third_party/boost/libs/circular_buffer/test/
Dbounded_buffer_comparison.cpp47 m_not_empty.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_empty, this)); in pop_back()
57 bool is_not_empty() const { return m_unread > 0; } in is_not_empty() function in bounded_buffer
88 …not_empty.wait(lock, boost::bind(&bounded_buffer_space_optimized<value_type>::is_not_empty, this)); in pop_back()
100 bool is_not_empty() const { return m_container.size() > 0; } in is_not_empty() function in bounded_buffer_space_optimized
130 … m_not_empty.wait(lock, boost::bind(&bounded_buffer_deque_based<value_type>::is_not_empty, this)); in pop_back()
142 bool is_not_empty() const { return m_container.size() > 0; } in is_not_empty() function in bounded_buffer_deque_based
173 … m_not_empty.wait(lock, boost::bind(&bounded_buffer_list_based<value_type>::is_not_empty, this)); in pop_back()
185 bool is_not_empty() const { return m_container.size() > 0; } in is_not_empty() function in bounded_buffer_list_based
/third_party/boost/libs/circular_buffer/example/
Dbounded_buffer_comparison.cpp47 m_not_empty.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_empty, this)); in pop_back()
57 bool is_not_empty() const { return m_unread > 0; } in is_not_empty() function in bounded_buffer
88 …not_empty.wait(lock, boost::bind(&bounded_buffer_space_optimized<value_type>::is_not_empty, this)); in pop_back()
100 bool is_not_empty() const { return m_container.size() > 0; } in is_not_empty() function in bounded_buffer_space_optimized
130 … m_not_empty.wait(lock, boost::bind(&bounded_buffer_deque_based<value_type>::is_not_empty, this)); in pop_back()
142 bool is_not_empty() const { return m_container.size() > 0; } in is_not_empty() function in bounded_buffer_deque_based
173 … m_not_empty.wait(lock, boost::bind(&bounded_buffer_list_based<value_type>::is_not_empty, this)); in pop_back()
185 bool is_not_empty() const { return m_container.size() > 0; } in is_not_empty() function in bounded_buffer_list_based
Dcircular_buffer_bound_example.cpp49 m_not_empty.wait(lock, boost::bind(&bounded_buffer<value_type>::is_not_empty, this)); in pop_back()
59 bool is_not_empty() const { return m_unread > 0; } in is_not_empty() function in bounded_buffer