Lines Matching refs:SHARED_TRYLOCK_FUNCTION
16 #define SHARED_TRYLOCK_FUNCTION(...) __attribute__ ((shared_trylock_function(__VA_ARGS__))) macro
34 bool ReaderTryLock() SHARED_TRYLOCK_FUNCTION(true);
793 void stf_function_args() SHARED_TRYLOCK_FUNCTION(1, mu2);
795 void stf_function_arg() SHARED_TRYLOCK_FUNCTION(1);
797 int stf_testfn(int y) SHARED_TRYLOCK_FUNCTION(1);
800 int x SHARED_TRYLOCK_FUNCTION(1) = y; // \ in stf_testfn() local
805 int stf_test_var SHARED_TRYLOCK_FUNCTION(1); // \ variable
808 void stf_fun_params(int lvar SHARED_TRYLOCK_FUNCTION(1)); // \
814 int test_field SHARED_TRYLOCK_FUNCTION(1); // \
816 void test_method() SHARED_TRYLOCK_FUNCTION(1);
819 class SHARED_TRYLOCK_FUNCTION(1) StfTestClass { // \
826 int stf_function_1() SHARED_TRYLOCK_FUNCTION(1, muWrapper.mu);
827 int stf_function_2() SHARED_TRYLOCK_FUNCTION(1, muDoubleWrapper.muWrapper->mu);
828 int stf_function_3() SHARED_TRYLOCK_FUNCTION(1, muWrapper.getMu());
829 int stf_function_4() SHARED_TRYLOCK_FUNCTION(1, *muWrapper.getMuPointer());
830 int stf_function_5() SHARED_TRYLOCK_FUNCTION(1, &mu1);
831 int stf_function_6() SHARED_TRYLOCK_FUNCTION(1, muRef);
832 int stf_function_7() SHARED_TRYLOCK_FUNCTION(1, muDoubleWrapper.getWrapper()->getMu());
833 int stf_function_8() SHARED_TRYLOCK_FUNCTION(1, muPointer);
834 int stf_function_9() SHARED_TRYLOCK_FUNCTION(true);
838 int stf_function_bad_1() SHARED_TRYLOCK_FUNCTION(mu1); // \
840 int stf_function_bad_2() SHARED_TRYLOCK_FUNCTION("mu"); // \
842 int stf_function_bad_3() SHARED_TRYLOCK_FUNCTION(muDoublePointer); // \
845 int stf_function_bad_4() SHARED_TRYLOCK_FUNCTION(1, "mu"); // \
847 int stf_function_bad_5() SHARED_TRYLOCK_FUNCTION(1, muDoublePointer); // \
849 int stf_function_bad_6() SHARED_TRYLOCK_FUNCTION(1, umu); // \