Lines Matching defs:big
17 // A big object which causes a function target to be heap allocated.
66 ClosureFunction fheap([&fheap_value, big = Big() ] { fheap_value++; });
109 ClosureFunction fmutheap([&fmutheap_value, big = Big(), x = 1 ]() mutable {
220 ClosureFunction fcheckheap([&fcheck_value, big = Big() ] { fcheck_value++; }, &ac3);
228 fcheckheap.SetTarget([&fcheck_value, big = Big() ] { fcheck_value *= 3; }, &ac4);
273 BinaryOpFunction fheap([&fheap_value, big = Big() ](int a, int b) {
320 BinaryOpFunction fmutheap([&fmutheap_value, big = Big(), x = 1 ](int a, int b) mutable {
446 BinaryOpFunction fcheckheap([&fcheck_value, big = Big() ](int a, int b) {
458 fcheckheap.SetTarget([&fcheck_value, big = Big() ](int a, int b) {
486 auto big = [ big = Big(), x = 1 ] { (void)x; };
487 fbl::SizedFunction<Closure, sizeof(big)> fbig(fbl::move(big));
488 static_assert(sizeof(fbig) >= sizeof(big), "size bounds");
501 fsmall = [ big = Big(), x = 1 ] { (void)x; };
502 fbig = [ big = Big(), x = 1, y = 2 ] {
525 auto big = [ big = Big(), x = 1 ] { (void)x; };
526 fbl::InlineFunction<Closure, sizeof(big)> fbig(fbl::move(big));
527 static_assert(sizeof(fbig) >= sizeof(big), "size bounds");
534 // These statements do not compile because the lambdas are too big to fit.
540 fsmall = [ big = Big(), x = 1 ] { (void)x; };
541 fbig = [ big = Big(), x = 1, y = 2 ] {