• Home
  • Raw
  • Download

Lines Matching refs:global_int

21 int global_int;  variable
23 struct write_five_obj { void operator()() const { global_int = 5; } }; in operator ()()
24 struct write_three_obj { int operator()() const { global_int = 3; return 7; }}; in operator ()()
25 static void write_five() { global_int = 5; } in write_five()
26 static void write_three() { global_int = 3; } in write_three()
37 void operator()() { global_int = 2; } in operator ()()
38 void operator()() const { global_int = 1; } in operator ()()
67 global_int = 0; in test_zero_args()
69 BOOST_CHECK(global_int == 5); in test_zero_args()
80 global_int = 0; in test_zero_args()
83 BOOST_CHECK(global_int == 3); in test_zero_args()
89 global_int = 0; in test_zero_args()
92 BOOST_CHECK(global_int == 5); in test_zero_args()
103 global_int = 0; in test_zero_args()
105 BOOST_CHECK(global_int == 5); in test_zero_args()
112 global_int = 0; in test_zero_args()
114 BOOST_CHECK(global_int == 3); in test_zero_args()
121 global_int = 0; in test_zero_args()
123 BOOST_CHECK(global_int == 5); in test_zero_args()
130 global_int = 0; in test_zero_args()
132 BOOST_CHECK(global_int == 3); in test_zero_args()
144 global_int = 0; in test_zero_args()
146 BOOST_CHECK(global_int == 3); in test_zero_args()
152 global_int = 0; in test_zero_args()
154 BOOST_CHECK(global_int == 5); in test_zero_args()
164 global_int = 0; in test_zero_args()
166 BOOST_CHECK(global_int == 5); in test_zero_args()
173 global_int = 0; in test_zero_args()
175 BOOST_CHECK(global_int == 3); in test_zero_args()
181 BOOST_CHECK(global_int == 5); in test_zero_args()
183 BOOST_CHECK(global_int == 3); in test_zero_args()
192 global_int = 0; in test_zero_args()
194 BOOST_CHECK(global_int == 5); in test_zero_args()
201 global_int = 0; in test_zero_args()
203 BOOST_CHECK(global_int == 3); in test_zero_args()
216 global_int = 0; in test_zero_args()
218 BOOST_CHECK(global_int == 3); in test_zero_args()
219 global_int = 0; in test_zero_args()
221 BOOST_CHECK(global_int == 3); in test_zero_args()
228 global_int = 0; in test_zero_args()
230 BOOST_CHECK(global_int == 5); in test_zero_args()
231 global_int = 0; in test_zero_args()
233 BOOST_CHECK(global_int == 5); in test_zero_args()
239 global_int = 0; in test_zero_args()
241 BOOST_CHECK(global_int == 5); in test_zero_args()
252 global_int = 0; in test_zero_args()
254 BOOST_CHECK(global_int == 3); in test_zero_args()
260 global_int = 0; in test_zero_args()
262 BOOST_CHECK(global_int == 5); in test_zero_args()
273 global_int = 0; in test_zero_args()
275 BOOST_CHECK(global_int == 5); in test_zero_args()
282 global_int = 0; in test_zero_args()
284 BOOST_CHECK(global_int == 3); in test_zero_args()
291 global_int = 0; in test_zero_args()
293 BOOST_CHECK(global_int == 5); in test_zero_args()
299 global_int = 0; in test_zero_args()
301 BOOST_CHECK(global_int == 5); in test_zero_args()
312 global_int = 0; in test_zero_args()
314 BOOST_CHECK(global_int == 3); in test_zero_args()
320 global_int = 0; in test_zero_args()
322 BOOST_CHECK(global_int == 5); in test_zero_args()
333 global_int = 0; in test_zero_args()
335 BOOST_CHECK(global_int == 5); in test_zero_args()
342 global_int = 0; in test_zero_args()
344 BOOST_CHECK(global_int == 3); in test_zero_args()
351 global_int = 0; in test_zero_args()
353 BOOST_CHECK(global_int == 5); in test_zero_args()
359 global_int = 0; in test_zero_args()
361 BOOST_CHECK(global_int == 5); in test_zero_args()
372 global_int = 0; in test_zero_args()
374 BOOST_CHECK(global_int == 3); in test_zero_args()
380 global_int = 0; in test_zero_args()
382 BOOST_CHECK(global_int == 5); in test_zero_args()
393 global_int = 0; in test_zero_args()
395 BOOST_CHECK(global_int == 5); in test_zero_args()
402 global_int = 0; in test_zero_args()
404 BOOST_CHECK(global_int == 3); in test_zero_args()
411 global_int = 0; in test_zero_args()
413 BOOST_CHECK(global_int == 5); in test_zero_args()
419 global_int = 0; in test_zero_args()
421 BOOST_CHECK(global_int == 5); in test_zero_args()
432 global_int = 0; in test_zero_args()
434 BOOST_CHECK(global_int == 3); in test_zero_args()
440 global_int = 0; in test_zero_args()
442 BOOST_CHECK(global_int == 5); in test_zero_args()
453 global_int = 0; in test_zero_args()
455 BOOST_CHECK(global_int == 5); in test_zero_args()
462 global_int = 0; in test_zero_args()
464 BOOST_CHECK(global_int == 3); in test_zero_args()
471 global_int = 0; in test_zero_args()
473 BOOST_CHECK(global_int == 5); in test_zero_args()
480 global_int = 0; in test_zero_args()
482 BOOST_CHECK(global_int == 2); in test_zero_args()
484 global_int = 0; in test_zero_args()
486 BOOST_CHECK(global_int == 2); in test_zero_args()
713 ++ global_int; in big_aggregating_structure()
718 ++ global_int; in big_aggregating_structure()
723 -- global_int; in ~big_aggregating_structure()
728 ++ global_int; in operator ()()
733 ++ global_int; in operator ()()
745 global_int = 0; in test_move_semantics()
749 BOOST_CHECK(global_int == 1); in test_move_semantics()
756 BOOST_CHECK(global_int == 1); in test_move_semantics()
758 BOOST_CHECK(global_int == 2); in test_move_semantics()
764 BOOST_CHECK(global_int == 2); in test_move_semantics()
766 BOOST_CHECK(global_int == 3); in test_move_semantics()
776 BOOST_CHECK(global_int == 3); in test_move_semantics()
778 BOOST_CHECK(global_int == 4); in test_move_semantics()
783 BOOST_CHECK(global_int == 4); in test_move_semantics()
788 BOOST_CHECK(global_int == 4); in test_move_semantics()
790 BOOST_CHECK(global_int == 5); in test_move_semantics()
792 BOOST_CHECK(global_int == 4); in test_move_semantics()