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

/external/clang/test/Sema/
H A Dwarn-thread-safety-analysis.c20 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
51 int Foo_fun1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) {
55 int Foo_fun2(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1) { function
63 static int Bar_fun1(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1) { function
67 void set_value(int *a, int value) EXCLUSIVE_LOCKS_REQUIRED(foo_.mu_) { function
/external/clang/test/SemaCXX/
H A Dwarn-thread-safety-negative.cpp23 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
54 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) {
78 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) {
96 void test3() EXCLUSIVE_LOCKS_REQUIRED(!mu) {
116 EXCLUSIVE_LOCKS_REQUIRED(F->mutex()) UNLOCK_FUNCTION(F->mutex()) {}
H A Dwarn-thread-safety-verbose.cpp20 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
48 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mu);
H A Dwarn-thread-safety-parsing.cpp20 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
1073 void elr_function_arg() EXCLUSIVE_LOCKS_REQUIRED(mu1);
1075 void elr_function_args() EXCLUSIVE_LOCKS_REQUIRED(mu1, mu2);
1077 int elr_testfn(int y) EXCLUSIVE_LOCKS_REQUIRED(mu1);
1080 int x EXCLUSIVE_LOCKS_REQUIRED(mu1) = y; // \
1085 int elr_test_var EXCLUSIVE_LOCKS_REQUIRED(mu1); // \
1088 void elr_fun_params(int lvar EXCLUSIVE_LOCKS_REQUIRED(mu1)); // \
1093 int test_field EXCLUSIVE_LOCKS_REQUIRED(mu1); // \
1095 void test_method() EXCLUSIVE_LOCKS_REQUIRED(mu1);
1098 class EXCLUSIVE_LOCKS_REQUIRED(mu
1263 void foo1() EXCLUSIVE_LOCKS_REQUIRED(gmu) { } function in class:FooLate
1264 void foo2() EXCLUSIVE_LOCKS_REQUIRED(mu) { } function in class:FooLate
1265 void foo3(Mutex *m) EXCLUSIVE_LOCKS_REQUIRED(m) { } function in class:FooLate
1273 void foo6() EXCLUSIVE_LOCKS_REQUIRED(T::statmu) { } function in class:FooLate
1312 void Foo::foo1() EXCLUSIVE_LOCKS_REQUIRED(mu_) { } function in namespace:FunctionDefinitionParseTest
1316 void Bar<T>::bar() EXCLUSIVE_LOCKS_REQUIRED(mu_) { } function in namespace:FunctionDefinitionParseTest
1344 void bar() EXCLUSIVE_LOCKS_REQUIRED(mu) { a = 0; } function in class:NestedClassLateDecl::Foo::Bar
1435 void foo() EXCLUSIVE_LOCKS_REQUIRED(mu1_, mu2_) { function in class:InheritanceTest::Foo
[all...]
H A Dwarn-thread-safety-analysis.cpp25 #define EXCLUSIVE_LOCKS_REQUIRED(...) __attribute__((exclusive_locks_required(__VA_ARGS__))) macro
49 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu);
875 static int func1() EXCLUSIVE_LOCKS_REQUIRED(mu1_);
935 int method1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1);
943 int foo(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1);
948 static int bar(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1);
997 int GetA() EXCLUSIVE_LOCKS_REQUIRED(foo_->mu_) { return a_; }
1193 virtual void func1() EXCLUSIVE_LOCKS_REQUIRED(mu_);
1200 virtual void func1() EXCLUSIVE_LOCKS_REQUIRED(mu_);
1234 int foo() SHARED_LOCKS_REQUIRED(mu_) EXCLUSIVE_LOCKS_REQUIRED(mu
1374 void bar(int y) EXCLUSIVE_LOCKS_REQUIRED(lock_) { function in class:thread_annot_lock_35_modified::Foo
1444 void f1() EXCLUSIVE_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) { function in class:thread_annot_lock_42::Foo
1873 void barND() EXCLUSIVE_LOCKS_REQUIRED(fooBase.mu_) { function in class:TestTemplateAttributeInstantiation::BarT
1878 void barD() EXCLUSIVE_LOCKS_REQUIRED(fooBaseT.mu_) { function in class:TestTemplateAttributeInstantiation::BarT
1884 void barTD(T2 *fooT) EXCLUSIVE_LOCKS_REQUIRED(fooBaseT.mu_, fooT->mu_) { function in class:TestTemplateAttributeInstantiation::BarT
1897 void fooEx() EXCLUSIVE_LOCKS_REQUIRED(mu_) { function in class:TestTemplateAttributeInstantiation::Cell
1951 void fooEx(CellDelayed<T> *other) EXCLUSIVE_LOCKS_REQUIRED(mu_, other->mu_) { function in class:TestTemplateAttributeInstantiation::CellDelayed
1956 void fooExT(CellDelayed<T2> *otherT) EXCLUSIVE_LOCKS_REQUIRED(mu_, otherT->mu_) { function in class:TestTemplateAttributeInstantiation::CellDelayed
2076 void Foo::foo2() EXCLUSIVE_LOCKS_REQUIRED(mu_) { function in namespace:FunctionDefinitionTest
2085 void Foo::fooT1(const T& dummy1) EXCLUSIVE_LOCKS_REQUIRED(mu_) { function in namespace:FunctionDefinitionTest
2111 void FooT<T>::foo() EXCLUSIVE_LOCKS_REQUIRED(mu_) { function in namespace:FunctionDefinitionTest
2172 void doSomethingElse() EXCLUSIVE_LOCKS_REQUIRED(this) { function in class:SelfLockingTest::MyLock
2600 void Foo::foo1() EXCLUSIVE_LOCKS_REQUIRED(mu_) { function in namespace:DoubleLockBug
2618 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mutex_) { // expected-note {{mutex acquired here}} function in class:UnlockBug::Foo
3432 Foo() EXCLUSIVE_LOCKS_REQUIRED(mu_) { } function in class:ComplexNameTest::Foo
3433 ~Foo() EXCLUSIVE_LOCKS_REQUIRED(mu_) { } function in class:ComplexNameTest::Foo
3435 int operator[](int i) EXCLUSIVE_LOCKS_REQUIRED(mu_) { return 0; } function in class:ComplexNameTest::Foo
3480 void test1() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) { function in namespace:UnreachableExitTest
3484 void test2() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) { function in namespace:UnreachableExitTest
3490 void test3() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) { function in namespace:UnreachableExitTest
3499 void test4() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) { function in namespace:UnreachableExitTest
4066 void test4() EXCLUSIVE_LOCKS_REQUIRED(mu_) { function in class:AssertHeldTest::Foo
4512 void SmartRedeclare::test() EXCLUSIVE_LOCKS_REQUIRED(mu.get()) { function in namespace:AttributeExpressionCornerCases
4516 void SmartRedeclare::test2() EXCLUSIVE_LOCKS_REQUIRED(mu) { function in namespace:AttributeExpressionCornerCases
4536 static void doSomethingRequiringLock() EXCLUSIVE_LOCKS_REQUIRED(custMu) { } function in namespace:AttributeExpressionCornerCases::CustomMutex
4885 void test4() EXCLUSIVE_LOCKS_REQUIRED(mu1) { function in class:AcquiredBeforeAfterText::Foo
4890 void test5() EXCLUSIVE_LOCKS_REQUIRED(mu2) { function in class:AcquiredBeforeAfterText::Foo
4895 void test6() EXCLUSIVE_LOCKS_REQUIRED(mu2) { function in class:AcquiredBeforeAfterText::Foo
4899 void test7() EXCLUSIVE_LOCKS_REQUIRED(mu1, mu2, mu3) { } function in class:AcquiredBeforeAfterText::Foo
4901 void test8() EXCLUSIVE_LOCKS_REQUIRED(mu3, mu2, mu1) { } function in class:AcquiredBeforeAfterText::Foo
5080 void test3() EXCLUSIVE_LOCKS_REQUIRED(mu) { // expected-note {{mutex acquired here}} function in class:ScopedAdoptTest::Foo
[all...]
/external/clang/test/PCH/
H A Dthread-safety-attrs.cpp26 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro

Completed in 99 milliseconds