Home
last modified time | relevance | path

Searched refs:BOOST_ASSERT (Results 1 – 25 of 1105) sorted by relevance

12345678910>>...45

/third_party/boost/libs/fiber/src/
Dscheduler.cpp30 BOOST_ASSERT( ctx->is_context( type::worker_context) ); in release_terminated_()
31 BOOST_ASSERT( ! ctx->is_context( type::pinned_context) ); in release_terminated_()
32 BOOST_ASSERT( this == ctx->get_scheduler() ); in release_terminated_()
33 BOOST_ASSERT( ctx->is_resumable() ); in release_terminated_()
34 BOOST_ASSERT( ! ctx->worker_is_linked() ); in release_terminated_()
35 BOOST_ASSERT( ! ctx->ready_is_linked() ); in release_terminated_()
37 BOOST_ASSERT( ! ctx->remote_ready_is_linked() ); in release_terminated_()
39 BOOST_ASSERT( ! ctx->sleep_is_linked() ); in release_terminated_()
40 BOOST_ASSERT( ! ctx->wait_is_linked() ); in release_terminated_()
41 BOOST_ASSERT( ctx->wait_queue_.empty() ); in release_terminated_()
[all …]
Dcontext.cpp91 BOOST_ASSERT( main_ctx->is_context( type::main_context) ); in ~context_initializer()
118 BOOST_ASSERT( ! ready_is_linked() ); in ~context()
119 BOOST_ASSERT( ! remote_ready_is_linked() ); in ~context()
120 BOOST_ASSERT( ! sleep_is_linked() ); in ~context()
121 BOOST_ASSERT( ! wait_is_linked() ); in ~context()
130 BOOST_ASSERT( ctx->is_context( type::main_context) ); in ~context()
131 BOOST_ASSERT( nullptr == active() ); in ~context()
134 BOOST_ASSERT( wait_queue_.empty() ); in ~context()
209 BOOST_ASSERT( context::active() == active_ctx); in join()
246 BOOST_ASSERT( wait_queue_.empty() ); in terminate()
[all …]
/third_party/boost/libs/wave/src/cpplexer/re2clex/
Daq.cpp42 BOOST_ASSERT(NULL != q); in aq_grow()
43 BOOST_ASSERT(q->max_size < 100000); in aq_grow()
44 BOOST_ASSERT(q->size <= q->max_size); in aq_grow()
46 #define ASSERT_SIZE BOOST_ASSERT( \ in aq_grow()
51 BOOST_ASSERT(q->head <= q->max_size); in aq_grow()
52 BOOST_ASSERT(q->tail <= q->max_size); in aq_grow()
56 BOOST_ASSERT(0); in aq_grow()
70 BOOST_ASSERT(q->size <= q->max_size); in aq_grow()
72 BOOST_ASSERT(q->head <= q->max_size); in aq_grow()
73 BOOST_ASSERT(q->tail <= q->max_size); in aq_grow()
[all …]
/third_party/boost/libs/assert/test/
Dassert_test2.cpp24 BOOST_ASSERT( 1 ); in test_default()
25 BOOST_ASSERT( x ); in test_default()
26 BOOST_ASSERT( x == 1 ); in test_default()
39 BOOST_ASSERT( 1 ); in test_default_ndebug()
40 BOOST_ASSERT( x ); in test_default_ndebug()
41 BOOST_ASSERT( x == 1 ); in test_default_ndebug()
43 BOOST_ASSERT( 0 ); in test_default_ndebug()
44 BOOST_ASSERT( !x ); in test_default_ndebug()
45 BOOST_ASSERT( x == 0 ); in test_default_ndebug()
72 BOOST_ASSERT( 1 ); in test_debug_handler()
[all …]
Dassert_test.cpp24 BOOST_ASSERT(1); in test_default()
25 BOOST_ASSERT(x); in test_default()
26 BOOST_ASSERT(x == 1); in test_default()
27 BOOST_ASSERT(&x); in test_default()
42 BOOST_ASSERT(1); in test_disabled()
43 BOOST_ASSERT(x); in test_disabled()
44 BOOST_ASSERT(x == 1); in test_disabled()
45 BOOST_ASSERT(&x); in test_disabled()
52 BOOST_ASSERT(0); in test_disabled()
53 BOOST_ASSERT(!x); in test_disabled()
[all …]
/third_party/boost/boost/coroutine/detail/
Dsymmetric_coroutine_call.hpp68 BOOST_ASSERT( 0 != stack_ctx.sp); in symmetric_coroutine_call()
73 BOOST_ASSERT( 0 != size); in symmetric_coroutine_call()
75 BOOST_ASSERT( 0 != sp); in symmetric_coroutine_call()
79 BOOST_ASSERT( impl_); in symmetric_coroutine_call()
92 BOOST_ASSERT( 0 != stack_ctx.sp); in symmetric_coroutine_call()
97 BOOST_ASSERT( 0 != size); in symmetric_coroutine_call()
99 BOOST_ASSERT( 0 != sp); in symmetric_coroutine_call()
103 BOOST_ASSERT( impl_); in symmetric_coroutine_call()
116 BOOST_ASSERT( 0 != stack_ctx.sp); in symmetric_coroutine_call()
121 BOOST_ASSERT( 0 != size); in symmetric_coroutine_call()
[all …]
Dsymmetric_coroutine_impl.hpp77 BOOST_ASSERT( is_complete() ); in unwind_stack()
89 BOOST_ASSERT( is_running() ); in yield()
90 BOOST_ASSERT( ! is_complete() ); in yield()
101 BOOST_ASSERT( from->data); in yield()
140 BOOST_ASSERT( ! is_running() ); in resume_()
141 BOOST_ASSERT( ! is_complete() ); in resume_()
153 BOOST_ASSERT( is_running() ); in yield_to_()
154 BOOST_ASSERT( ! is_complete() ); in yield_to_()
155 BOOST_ASSERT( ! other->is_running() ); in yield_to_()
156 BOOST_ASSERT( ! other->is_complete() ); in yield_to_()
[all …]
/third_party/boost/libs/geometry/test/algorithms/overlay/
Doverlay_common.hpp104 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
111 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
118 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
128 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
135 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
147 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
154 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
160 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
166 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
172 BOOST_ASSERT(iterator != boost::end(expected)); in test_all()
[all …]
/third_party/boost/boost/coroutine/
Dasymmetric_coroutine.hpp63 { BOOST_ASSERT( impl_); } in push_coroutine()
140 BOOST_ASSERT( * this); in operator ()()
168 BOOST_ASSERT( c_); in operator =()
208 { BOOST_ASSERT( impl_); } in push_coroutine()
285 BOOST_ASSERT( * this); in operator ()()
313 BOOST_ASSERT( c_); in operator =()
353 { BOOST_ASSERT( impl_); } in push_coroutine()
430 BOOST_ASSERT( * this); in operator ()()
461 { BOOST_ASSERT( impl_); } in pull_coroutine()
481 BOOST_ASSERT( 0 != stack_ctx.sp); in pull_coroutine()
[all …]
/third_party/boost/libs/graph/test/
Dtest_direction.hpp37 BOOST_ASSERT(distance(outs[0]) == 0); in test_outdirected_graph()
38 BOOST_ASSERT(distance(outs[1]) == 1); in test_outdirected_graph()
39 BOOST_ASSERT(distance(outs[2]) == 1); in test_outdirected_graph()
40 BOOST_ASSERT(distance(outs[3]) == 2); in test_outdirected_graph()
41 BOOST_ASSERT(distance(outs[4]) == 2); in test_outdirected_graph()
42 BOOST_ASSERT(distance(outs[5]) == 1); in test_outdirected_graph()
46 BOOST_ASSERT(has_target(g, *outs[1].first, verts[0])); in test_outdirected_graph()
47 BOOST_ASSERT(has_target(g, *outs[2].first, verts[1])); in test_outdirected_graph()
52 BOOST_ASSERT(has_target(g, *outs[5].first, verts[3])); in test_outdirected_graph()
84 BOOST_ASSERT(distance(ins[0]) == 2); in test_indirected_graph()
[all …]
Dclustering_coefficient.cpp58 BOOST_ASSERT(num_paths_through_vertex(g, v[0]) == 3); in test_undirected()
59 BOOST_ASSERT(num_paths_through_vertex(g, v[1]) == 1); in test_undirected()
60 BOOST_ASSERT(num_paths_through_vertex(g, v[2]) == 1); in test_undirected()
61 BOOST_ASSERT(num_paths_through_vertex(g, v[3]) == 0); in test_undirected()
62 BOOST_ASSERT(num_paths_through_vertex(g, v[4]) == 1); in test_undirected()
64 BOOST_ASSERT(num_triangles_on_vertex(g, v[0]) == 1); in test_undirected()
65 BOOST_ASSERT(num_triangles_on_vertex(g, v[1]) == 1); in test_undirected()
66 BOOST_ASSERT(num_triangles_on_vertex(g, v[2]) == 1); in test_undirected()
67 BOOST_ASSERT(num_triangles_on_vertex(g, v[3]) == 0); in test_undirected()
68 BOOST_ASSERT(num_triangles_on_vertex(g, v[4]) == 0); in test_undirected()
[all …]
Dsubgraph_props.cpp41 BOOST_ASSERT(get(map, v) == 0); in run()
43 BOOST_ASSERT(get(map, v) == 5); in run()
49 BOOST_ASSERT(get(groot, v) == 5); in run()
50 BOOST_ASSERT(get(gsub, v) == 5); in run()
52 BOOST_ASSERT(get(groot, v) == 10); in run()
53 BOOST_ASSERT(get(gsub, v) == 10); in run()
54 BOOST_ASSERT(get(map, v) == 10); in run()
60 BOOST_ASSERT(get(lroot, v) == 10); // Recall it's 10 from above! in run()
61 BOOST_ASSERT(get(lsub, v) == 0); in run()
63 BOOST_ASSERT(get(lsub, v) == 5); in run()
[all …]
Ddegree_centrality.cpp55 BOOST_ASSERT(cm[v[0]] == 3); in test_undirected()
56 BOOST_ASSERT(cm[v[1]] == 2); in test_undirected()
57 BOOST_ASSERT(cm[v[2]] == 2); in test_undirected()
58 BOOST_ASSERT(cm[v[3]] == 1); in test_undirected()
59 BOOST_ASSERT(cm[v[4]] == 2); in test_undirected()
79 BOOST_ASSERT(cm[v[0]] == 1); in test_influence()
80 BOOST_ASSERT(cm[v[1]] == 1); in test_influence()
81 BOOST_ASSERT(cm[v[2]] == 1); in test_influence()
82 BOOST_ASSERT(cm[v[3]] == 1); in test_influence()
83 BOOST_ASSERT(cm[v[4]] == 1); in test_influence()
[all …]
Deccentricity.cpp77 BOOST_ASSERT(em[v[0]] == 2); in test_undirected()
78 BOOST_ASSERT(em[v[1]] == 3); in test_undirected()
79 BOOST_ASSERT(em[v[2]] == 3); in test_undirected()
80 BOOST_ASSERT(em[v[3]] == 3); in test_undirected()
81 BOOST_ASSERT(em[v[4]] == 2); in test_undirected()
82 BOOST_ASSERT(rad == 2); in test_undirected()
83 BOOST_ASSERT(dia == 3); in test_undirected()
119 BOOST_ASSERT(em[v[0]] == inf); in test_directed()
120 BOOST_ASSERT(em[v[1]] == inf); in test_directed()
121 BOOST_ASSERT(em[v[2]] == inf); in test_directed()
[all …]
Dmean_geodesic.cpp78 BOOST_ASSERT(cm[v[0]] == double(5) / 4); in test_undirected()
79 BOOST_ASSERT(cm[v[1]] == double(7) / 4); in test_undirected()
80 BOOST_ASSERT(cm[v[2]] == double(7) / 4); in test_undirected()
81 BOOST_ASSERT(cm[v[3]] == double(9) / 4); in test_undirected()
82 BOOST_ASSERT(cm[v[4]] == double(6) / 4); in test_undirected()
83 BOOST_ASSERT(geo1 == double(34) / 20); in test_undirected()
84 BOOST_ASSERT(geo1 == geo2); in test_undirected()
119 BOOST_ASSERT(cm[v[0]] == inf); in test_directed()
120 BOOST_ASSERT(cm[v[1]] == inf); in test_directed()
121 BOOST_ASSERT(cm[v[2]] == inf); in test_directed()
[all …]
/third_party/boost/libs/gil/test/extension/numeric/
Dnumeric.cpp69 BOOST_ASSERT( get_color( c, red_t() ) == 20 ); in BOOST_AUTO_TEST_CASE()
70 BOOST_ASSERT( get_color( c, green_t() ) == 40 ); in BOOST_AUTO_TEST_CASE()
71 BOOST_ASSERT( get_color( c, blue_t() ) == 60 ); in BOOST_AUTO_TEST_CASE()
79 BOOST_ASSERT( get_color( d, red_t() ) == 20 ); in BOOST_AUTO_TEST_CASE()
80 BOOST_ASSERT( get_color( d, green_t() ) == 40 ); in BOOST_AUTO_TEST_CASE()
81 BOOST_ASSERT( get_color( d, blue_t() ) == 60 ); in BOOST_AUTO_TEST_CASE()
114 BOOST_ASSERT( get_color( c, red_t() ) == 5 ); in BOOST_AUTO_TEST_CASE()
115 BOOST_ASSERT( get_color( c, green_t() ) == 10 ); in BOOST_AUTO_TEST_CASE()
116 BOOST_ASSERT( get_color( c, blue_t() ) == 15 ); in BOOST_AUTO_TEST_CASE()
156 BOOST_ASSERT(rgb8_pixel_t(128,0,0) == dv(0,0)); in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/boost/boost/spirit/home/support/iterators/detail/
Dfixed_size_queue.hpp27 BOOST_ASSERT(((m_tail + N + 1) - m_head) % (N+1) == m_size % (N+1)) \
106 BOOST_ASSERT(p.self == p2.self); in distance_to()
254 BOOST_ASSERT(m_size <= N+1); in fixed_size_queue()
256 BOOST_ASSERT(m_head <= N+1); in fixed_size_queue()
257 BOOST_ASSERT(m_tail <= N+1); in fixed_size_queue()
268 BOOST_ASSERT(m_size <= N+1); in fixed_size_queue()
270 BOOST_ASSERT(m_head <= N+1); in fixed_size_queue()
271 BOOST_ASSERT(m_tail <= N+1); in fixed_size_queue()
285 BOOST_ASSERT(m_size <= N+1); in operator =()
287 BOOST_ASSERT(m_head <= N+1); in operator =()
[all …]
/third_party/boost/boost/fiber/
Dcondition_variable.hpp56 BOOST_ASSERT( wait_queue_.empty() ); in ~condition_variable_any()
72 BOOST_ASSERT( ! active_ctx->wait_is_linked() ); in wait()
90 BOOST_ASSERT( ! active_ctx->wait_is_linked() ); in wait()
108 BOOST_ASSERT( ! active_ctx->wait_is_linked() ); in wait_until()
134 BOOST_ASSERT( ! active_ctx->wait_is_linked() ); in wait_until()
183 BOOST_ASSERT( lt.owns_lock() ); in wait()
184 BOOST_ASSERT( context::active() == lt.mutex()->owner_); in wait()
187 BOOST_ASSERT( lt.owns_lock() ); in wait()
188 BOOST_ASSERT( context::active() == lt.mutex()->owner_); in wait()
194 BOOST_ASSERT( lt.owns_lock() ); in wait()
[all …]
/third_party/boost/boost/spirit/home/support/char_encoding/
Dstandard.hpp59 BOOST_ASSERT(strict_ischar(ch)); in isalnum()
66 BOOST_ASSERT(strict_ischar(ch)); in isalpha()
73 BOOST_ASSERT(strict_ischar(ch)); in isdigit()
80 BOOST_ASSERT(strict_ischar(ch)); in isxdigit()
87 BOOST_ASSERT(strict_ischar(ch)); in iscntrl()
94 BOOST_ASSERT(strict_ischar(ch)); in isgraph()
101 BOOST_ASSERT(strict_ischar(ch)); in islower()
108 BOOST_ASSERT(strict_ischar(ch)); in isprint()
115 BOOST_ASSERT(strict_ischar(ch)); in ispunct()
122 BOOST_ASSERT(strict_ischar(ch)); in isspace()
[all …]
/third_party/boost/boost/gil/
Dimage_view.hpp197 BOOST_ASSERT(!empty()); in front()
207 BOOST_ASSERT(!empty()); in back()
241 BOOST_ASSERT(i < static_cast<difference_type>(size())); in operator []()
248 BOOST_ASSERT(i < static_cast<difference_type>(size())); in at()
255 BOOST_ASSERT(0 <= p.x && p.x < width()); in at()
256 BOOST_ASSERT(0 <= p.y && p.y < height()); in at()
263 BOOST_ASSERT(0 <= x && x < width()); in at()
264 BOOST_ASSERT(0 <= y && y < height()); in at()
273 BOOST_ASSERT(0 <= p.x && p.x < width()); in operator ()()
274 BOOST_ASSERT(0 <= p.y && p.y < height()); in operator ()()
[all …]
/third_party/boost/boost/signals2/detail/
Dauto_buffer.hpp258 BOOST_ASSERT( is_valid() ); in auto_buffer_destroy()
266 BOOST_ASSERT( n > 0 ); in destroy_back_n()
319 BOOST_ASSERT( size_ <= members_.capacity_ ); in reserve_impl()
324 BOOST_ASSERT( n > members_.capacity_ ); in new_capacity_impl()
333 BOOST_ASSERT( l.is_on_stack() && r.is_on_stack() ); in swap_helper()
345 BOOST_ASSERT( l.is_on_stack() && r.is_on_stack() ); in swap_helper()
369 BOOST_ASSERT( !temp.is_on_stack() ); in one_sided_swap()
375 BOOST_ASSERT( temp.size_ >= size_ + 1u ); in one_sided_swap()
378 BOOST_ASSERT( temp.is_valid() ); in one_sided_swap()
394 BOOST_ASSERT( size_ + n <= members_.capacity_ ); in grow_back()
[all …]
/third_party/boost/libs/thread/example/
Dsynchronized_value.cpp119 BOOST_ASSERT(s1==s2); in main()
120 BOOST_ASSERT(s1<=s2); in main()
121 BOOST_ASSERT(s1>=s2); in main()
122 BOOST_ASSERT(s1==1); in main()
123 BOOST_ASSERT(s1<=1); in main()
124 BOOST_ASSERT(s1>=1); in main()
129 BOOST_ASSERT(s1!=s2); in main()
130 BOOST_ASSERT(s1!=2); in main()
131 BOOST_ASSERT(2!=s1); in main()
136 BOOST_ASSERT(s1<s2); in main()
[all …]
/third_party/boost/boost/compute/
Dcommand_queue.hpp129 BOOST_ASSERT(device.id() != 0); in command_queue()
303 BOOST_ASSERT(m_queue != 0); in enqueue_read_buffer()
304 BOOST_ASSERT(size <= buffer.size()); in enqueue_read_buffer()
305 BOOST_ASSERT(buffer.get_context() == this->get_context()); in enqueue_read_buffer()
306 BOOST_ASSERT(host_ptr != 0); in enqueue_read_buffer()
341 BOOST_ASSERT(m_queue != 0); in enqueue_read_buffer_async()
342 BOOST_ASSERT(size <= buffer.size()); in enqueue_read_buffer_async()
343 BOOST_ASSERT(buffer.get_context() == this->get_context()); in enqueue_read_buffer_async()
344 BOOST_ASSERT(host_ptr != 0); in enqueue_read_buffer_async()
385 BOOST_ASSERT(m_queue != 0); in enqueue_read_buffer_rect()
[all …]
/third_party/boost/libs/compute/include/boost/compute/
Dcommand_queue.hpp129 BOOST_ASSERT(device.id() != 0); in command_queue()
303 BOOST_ASSERT(m_queue != 0); in enqueue_read_buffer()
304 BOOST_ASSERT(size <= buffer.size()); in enqueue_read_buffer()
305 BOOST_ASSERT(buffer.get_context() == this->get_context()); in enqueue_read_buffer()
306 BOOST_ASSERT(host_ptr != 0); in enqueue_read_buffer()
341 BOOST_ASSERT(m_queue != 0); in enqueue_read_buffer_async()
342 BOOST_ASSERT(size <= buffer.size()); in enqueue_read_buffer_async()
343 BOOST_ASSERT(buffer.get_context() == this->get_context()); in enqueue_read_buffer_async()
344 BOOST_ASSERT(host_ptr != 0); in enqueue_read_buffer_async()
385 BOOST_ASSERT(m_queue != 0); in enqueue_read_buffer_rect()
[all …]
/third_party/boost/boost/math/special_functions/detail/
Dhypergeometric_1F1_negative_b_regions.hpp399 BOOST_ASSERT(total_elements % stride == 0); in hypergeometric_1F1_negative_b_recurrence_region()
431 BOOST_ASSERT(domain[index][0] == a_max); in hypergeometric_1F1_negative_b_recurrence_region()
464 BOOST_ASSERT(domain[index - stride - 1][0] == x1); in hypergeometric_1F1_negative_b_recurrence_region()
465 BOOST_ASSERT(domain[index - stride - 1][1] == y1); in hypergeometric_1F1_negative_b_recurrence_region()
467 BOOST_ASSERT(domain[index - stride][0] == x1); in hypergeometric_1F1_negative_b_recurrence_region()
468 BOOST_ASSERT(domain[index - stride][1] == y2); in hypergeometric_1F1_negative_b_recurrence_region()
470 BOOST_ASSERT(domain[index - 1][0] == x2); in hypergeometric_1F1_negative_b_recurrence_region()
471 BOOST_ASSERT(domain[index - 1][1] == y1); in hypergeometric_1F1_negative_b_recurrence_region()
473 BOOST_ASSERT(domain[index][0] == x2); in hypergeometric_1F1_negative_b_recurrence_region()
474 BOOST_ASSERT(domain[index][1] == y2); in hypergeometric_1F1_negative_b_recurrence_region()
[all …]

12345678910>>...45