Lines Matching refs:fcheck_value
203 int fcheck_value = 0;
204 ClosureFunction fcheckinline([&fcheck_value] { fcheck_value++; }, &ac1);
208 EXPECT_EQ(1, fcheck_value);
212 fcheckinline.SetTarget([&fcheck_value] { fcheck_value *= 3; }, &ac2);
216 EXPECT_EQ(3, fcheck_value);
220 ClosureFunction fcheckheap([&fcheck_value, big = Big() ] { fcheck_value++; }, &ac3);
224 EXPECT_EQ(4, fcheck_value);
228 fcheckheap.SetTarget([&fcheck_value, big = Big() ] { fcheck_value *= 3; }, &ac4);
232 EXPECT_EQ(12, fcheck_value);
421 int fcheck_value = 0;
422 BinaryOpFunction fcheckinline([&fcheck_value](int a, int b) {
423 fcheck_value++;
430 EXPECT_EQ(1, fcheck_value);
434 fcheckinline.SetTarget([&fcheck_value](int a, int b) {
435 fcheck_value *= 3;
442 EXPECT_EQ(3, fcheck_value);
446 BinaryOpFunction fcheckheap([&fcheck_value, big = Big() ](int a, int b) {
447 fcheck_value++;
454 EXPECT_EQ(4, fcheck_value);
458 fcheckheap.SetTarget([&fcheck_value, big = Big() ](int a, int b) {
459 fcheck_value *= 3;
466 EXPECT_EQ(12, fcheck_value);