Home
last modified time | relevance | path

Searched refs:BOOST_INTERPROCESS_CHECK (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dcondition_test_template.hpp79 BOOST_INTERPROCESS_CHECK(lock ? true : false); in condition_test_thread()
82 BOOST_INTERPROCESS_CHECK(lock ? true : false); in condition_test_thread()
101 BOOST_INTERPROCESS_CHECK(lock ? true : false); in condition_test_waits()
106 BOOST_INTERPROCESS_CHECK(lock ? true : false); in condition_test_waits()
107 BOOST_INTERPROCESS_CHECK(data->notified == 1); in condition_test_waits()
113 BOOST_INTERPROCESS_CHECK(lock ? true : false); in condition_test_waits()
114 BOOST_INTERPROCESS_CHECK(data->notified == 2); in condition_test_waits()
121 BOOST_INTERPROCESS_CHECK(lock ? true : false); in condition_test_waits()
122 BOOST_INTERPROCESS_CHECK(data->notified == 3); in condition_test_waits()
129 BOOST_INTERPROCESS_CHECK(ret);(void)ret; in condition_test_waits()
[all …]
Dmutex_test_template.hpp49 BOOST_INTERPROCESS_CHECK(!lock); in operator ()()
52 BOOST_INTERPROCESS_CHECK(lock ? true : false); in operator ()()
56 BOOST_INTERPROCESS_CHECK(!lock); in operator ()()
58 BOOST_INTERPROCESS_CHECK(lock ? true : false); in operator ()()
75 BOOST_INTERPROCESS_CHECK(lock ? true : false); in operator ()()
79 BOOST_INTERPROCESS_CHECK(!lock); in operator ()()
82 BOOST_INTERPROCESS_CHECK(lock ? true : false); in operator ()()
86 BOOST_INTERPROCESS_CHECK(!lock); in operator ()()
88 BOOST_INTERPROCESS_CHECK(lock ? true : false); in operator ()()
90 BOOST_INTERPROCESS_CHECK(!lock); in operator ()()
[all …]
Dnamed_semaphore_test.cpp87 BOOST_INTERPROCESS_CHECK(sem.try_wait() == true); in test_named_semaphore_specific()
88 BOOST_INTERPROCESS_CHECK(sem.try_wait() == true); in test_named_semaphore_specific()
89 BOOST_INTERPROCESS_CHECK(sem.try_wait() == true); in test_named_semaphore_specific()
90 BOOST_INTERPROCESS_CHECK(sem.try_wait() == false); in test_named_semaphore_specific()
95 BOOST_INTERPROCESS_CHECK(sem.try_wait() == true); in test_named_semaphore_specific()
96 BOOST_INTERPROCESS_CHECK(sem.try_wait() == false); in test_named_semaphore_specific()
Dsharable_mutex_test_template.hpp148 BOOST_INTERPROCESS_CHECK(e1.m_value == 10); in test_plain_sharable_mutex()
150 BOOST_INTERPROCESS_CHECK(s1.m_value == 20 || s2.m_value == 20 || e2.m_value == 20); in test_plain_sharable_mutex()
184 BOOST_INTERPROCESS_CHECK(s1.m_value == 0 || s2.m_value == 0); in test_plain_sharable_mutex()
186 BOOST_INTERPROCESS_CHECK((e1.m_value == 10 && e2.m_value == 20) || in test_plain_sharable_mutex()
222 BOOST_INTERPROCESS_CHECK(e1.m_value == 10); in test_try_sharable_mutex()
223 BOOST_INTERPROCESS_CHECK(s1.m_value == -1); // Try would return w/o waiting in test_try_sharable_mutex()
224 BOOST_INTERPROCESS_CHECK(e2.m_value == -1); // Try would return w/o waiting in test_try_sharable_mutex()
267 BOOST_INTERPROCESS_CHECK(e1.m_value == 10); in test_timed_sharable_mutex()
268 BOOST_INTERPROCESS_CHECK(s1.m_value == -1); in test_timed_sharable_mutex()
269 BOOST_INTERPROCESS_CHECK(s2.m_value == 10); in test_timed_sharable_mutex()
[all …]
Dnamed_creation_template.hpp35 BOOST_INTERPROCESS_CHECK( false ); in create_then_open_then_open_or_create()
48 BOOST_INTERPROCESS_CHECK(err.get_error_code() == already_exists_error); in open_or_create_then_create()
60 BOOST_INTERPROCESS_CHECK(err.get_error_code() == not_found_error); in dont_create_and_open()
64 BOOST_INTERPROCESS_CHECK(false); in dont_create_and_open()
Dboost_interprocess_check.hpp20 #define BOOST_INTERPROCESS_CHECK( P ) \ macro