Searched defs:UNLOCK_FUNCTION (Results 1 - 6 of 6) sorted by relevance

/external/clang/test/Sema/
H A Dwarn-thread-safety-analysis.c17 #define UNLOCK_FUNCTION(...) __attribute__ ((unlock_function(__VA_ARGS__))) macro
37 void mutex_unlock(struct Mutex *mu) UNLOCK_FUNCTION(mu);
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-negative.cpp20 #define UNLOCK_FUNCTION(...) __attribute__ ((unlock_function(__VA_ARGS__))) macro
116 EXCLUSIVE_LOCKS_REQUIRED(F->mutex()) UNLOCK_FUNCTION(F->mutex()) {}
H A Dwarn-thread-safety-verbose.cpp17 #define UNLOCK_FUNCTION(...) __attribute__ ((unlock_function(__VA_ARGS__))) macro
H A Dwarn-thread-safety-parsing.cpp17 #define UNLOCK_FUNCTION(...) __attribute__ ((unlock_function(__VA_ARGS__))) macro
31 void Unlock() UNLOCK_FUNCTION();
863 void uf_function() UNLOCK_FUNCTION();
865 void uf_function_args() UNLOCK_FUNCTION(mu1, mu2);
867 int uf_testfn(int y) UNLOCK_FUNCTION();
870 int x UNLOCK_FUNCTION() = y; // \
875 int uf_test_var UNLOCK_FUNCTION(); // \
880 int test_field UNLOCK_FUNCTION(); // \
882 void test_method() UNLOCK_FUNCTION();
889 void uf_fun_params(int lvar UNLOCK_FUNCTION()); // \
1291 void unlock() UNLOCK_FUNCTION() { } function in class:EmptyArgListsTest
[all...]
H A Dwarn-thread-safety-analysis.cpp20 #define UNLOCK_FUNCTION(...) __attribute__((unlock_function(__VA_ARGS__))) macro
50 ~MutexLock() UNLOCK_FUNCTION();
57 ~ReaderMutexLock() UNLOCK_FUNCTION();
63 ~ReleasableMutexLock() UNLOCK_FUNCTION();
65 void Release() UNLOCK_FUNCTION();
78 void endNoWarnOnReads() UNLOCK_FUNCTION("*");
80 void endNoWarnOnWrites() UNLOCK_FUNCTION("*");
1289 void MyUnlock() UNLOCK_FUNCTION(mu1_);
2163 void unlock() UNLOCK_FUNCTION();
2190 void unlock() UNLOCK_FUNCTION() { mu function in class:SelfLockingTest::MyLock2
2917 void Foo::unlock() UNLOCK_FUNCTION() { } function in namespace:DuplicateAttributeTest
2941 void Foo::unlock1() UNLOCK_FUNCTION(mu1_) { function in namespace:DuplicateAttributeTest
2945 void Foo::unlock3() UNLOCK_FUNCTION(mu1_, mu2_, mu3_) { function in namespace:DuplicateAttributeTest
2953 UNLOCK_FUNCTION(mu2_, mu3_) { function in namespace:DuplicateAttributeTest
3972 void unlock() UNLOCK_FUNCTION() { mu_.Unlock(); } function in class:LockUnlockFunctionTest::MyLockable
3990 void unlock() UNLOCK_FUNCTION(mu_) { function in class:LockUnlockFunctionTest::Foo
4005 void unlockBad() UNLOCK_FUNCTION(mu_) { // expected-note {{mutex acquired here}} function in class:LockUnlockFunctionTest::Foo
4023 void unlockBad2() UNLOCK_FUNCTION(mu_) { // expected-note {{mutex acquired here}} function in class:LockUnlockFunctionTest::Foo
4072 void test5() UNLOCK_FUNCTION(mu_) { function in class:AssertHeldTest::Foo
[all...]
/external/clang/test/PCH/
H A Dthread-safety-attrs.cpp23 #define UNLOCK_FUNCTION(...) __attribute__ ((unlock_function(__VA_ARGS__))) macro
58 ~ReleasableMutexLock() UNLOCK_FUNCTION();
60 void Release() UNLOCK_FUNCTION();
67 void endNoWarnOnReads() UNLOCK_FUNCTION("*");
69 void endNoWarnOnWrites() UNLOCK_FUNCTION("*");

Completed in 53 milliseconds