Lines Matching refs:myfoo
1954 Foo myfoo;
1955 myfoo.foo1(&myfoo); // \
1956 // expected-warning {{calling function 'foo1' requires exclusive lock on 'myfoo.mu_'}}
1957 myfoo.mu_.Lock();
1958 myfoo.foo1(&myfoo);
1959 myfoo.mu_.Unlock();
2068 Foo myFoo;
2070 myFoo.foo2(); // \
2071 // expected-warning {{calling function 'foo2' requires exclusive lock on 'myFoo.mu_'}}
2072 myFoo.foo3(&myFoo); // \
2073 // expected-warning {{calling function 'foo3' requires exclusive lock on 'myFoo.mu_'}}
2074 myFoo.fooT1(dummy); // \
2075 // expected-warning {{calling function 'fooT1' requires exclusive lock on 'myFoo.mu_'}}
2077 myFoo.fooT2(dummy); // \
2078 // expected-warning {{calling function 'fooT2' requires exclusive lock on 'myFoo.mu_'}}
2080 fooF1(&myFoo); // \
2081 // expected-warning {{calling function 'fooF1' requires exclusive lock on 'myFoo.mu_'}}
2082 fooF2(&myFoo); // \
2083 // expected-warning {{calling function 'fooF2' requires exclusive lock on 'myFoo.mu_'}}
2084 fooF3(&myFoo); // \
2085 // expected-warning {{calling function 'fooF3' requires exclusive lock on 'myFoo.mu_'}}
2087 myFoo.mu_.Lock();
2088 myFoo.foo2();
2089 myFoo.foo3(&myFoo);
2090 myFoo.fooT1(dummy);
2092 myFoo.fooT2(dummy);
2094 fooF1(&myFoo);
2095 fooF2(&myFoo);
2096 fooF3(&myFoo);
2097 myFoo.mu_.Unlock();