Lines Matching refs:SHARED_LOCK_FUNCTION
12 #define SHARED_LOCK_FUNCTION(...) __attribute__ ((shared_lock_function(__VA_ARGS__))) macro
30 void ReaderLock() SHARED_LOCK_FUNCTION();
644 void slf_function() SHARED_LOCK_FUNCTION();
646 void slf_function_args() SHARED_LOCK_FUNCTION(mu1, mu2);
648 int slf_testfn(int y) SHARED_LOCK_FUNCTION();
651 int x SHARED_LOCK_FUNCTION() = y; // \ in slf_testfn()
656 int slf_test_var SHARED_LOCK_FUNCTION(); // \
659 void slf_fun_params(int lvar SHARED_LOCK_FUNCTION()); // \
664 int test_field SHARED_LOCK_FUNCTION(); // \
666 void test_method() SHARED_LOCK_FUNCTION();
669 class SHARED_LOCK_FUNCTION() SlfTestClass { // \ in SHARED_LOCK_FUNCTION() function
676 int slf_function_1() SHARED_LOCK_FUNCTION(muWrapper.mu);
677 int slf_function_2() SHARED_LOCK_FUNCTION(muDoubleWrapper.muWrapper->mu);
678 int slf_function_3() SHARED_LOCK_FUNCTION(muWrapper.getMu());
679 int slf_function_4() SHARED_LOCK_FUNCTION(*muWrapper.getMuPointer());
680 int slf_function_5() SHARED_LOCK_FUNCTION(&mu1);
681 int slf_function_6() SHARED_LOCK_FUNCTION(muRef);
682 int slf_function_7() SHARED_LOCK_FUNCTION(muDoubleWrapper.getWrapper()->getMu());
683 int slf_function_8() SHARED_LOCK_FUNCTION(muPointer);
684 int slf_function_9(Mutex x) SHARED_LOCK_FUNCTION(1);
685 int slf_function_9(Mutex x, Mutex y) SHARED_LOCK_FUNCTION(1,2);
689 int slf_function_bad_2() SHARED_LOCK_FUNCTION("mu"); // \
691 int slf_function_bad_3() SHARED_LOCK_FUNCTION(muDoublePointer); // \
693 int slf_function_bad_4() SHARED_LOCK_FUNCTION(umu); // \
696 int slf_function_bad_1() SHARED_LOCK_FUNCTION(1); // \
698 int slf_function_bad_5(Mutex x) SHARED_LOCK_FUNCTION(0); // \
700 int slf_function_bad_6(Mutex x, Mutex y) SHARED_LOCK_FUNCTION(0); // \
702 int slf_function_bad_7() SHARED_LOCK_FUNCTION(0); // \