Home
last modified time | relevance | path

Searched refs:EXCLUSIVE_LOCKS_REQUIRED (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-negative.cpp27 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu);
38 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) { in baz()
62 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) { in baz()
80 void test3() EXCLUSIVE_LOCKS_REQUIRED(!mu) { in test3()
98 void f() EXCLUSIVE_LOCKS_REQUIRED(!globalMutex);
99 void fq() EXCLUSIVE_LOCKS_REQUIRED(!::globalMutex);
103 void f() EXCLUSIVE_LOCKS_REQUIRED(!globalMutex);
104 void fq() EXCLUSIVE_LOCKS_REQUIRED(!ns::globalMutex);
107 void testGlobals() EXCLUSIVE_LOCKS_REQUIRED(!ns::globalMutex) { in testGlobals()
114 void testNamespaceGlobals() EXCLUSIVE_LOCKS_REQUIRED(!globalMutex) { in testNamespaceGlobals()
[all …]
Dwarn-thread-safety-parsing.cpp22 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
1090 void elr_function_arg() EXCLUSIVE_LOCKS_REQUIRED(mu1);
1092 void elr_function_args() EXCLUSIVE_LOCKS_REQUIRED(mu1, mu2);
1094 int elr_testfn(int y) EXCLUSIVE_LOCKS_REQUIRED(mu1);
1097 int x EXCLUSIVE_LOCKS_REQUIRED(mu1) = y; // \ in elr_testfn() local
1102 int elr_test_var EXCLUSIVE_LOCKS_REQUIRED(mu1); // \
1105 void elr_fun_params(int lvar EXCLUSIVE_LOCKS_REQUIRED(mu1)); // \
1110 int test_field EXCLUSIVE_LOCKS_REQUIRED(mu1); // \
1112 void test_method() EXCLUSIVE_LOCKS_REQUIRED(mu1);
1115 class EXCLUSIVE_LOCKS_REQUIRED(mu1) ElrTestClass { // \ in EXCLUSIVE_LOCKS_REQUIRED() function
[all …]
Dwarn-thread-safety-analysis.cpp35 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu);
529 void foo() EXCLUSIVE_LOCKS_REQUIRED(mu) { } in foo()
757 void aa_elr_fun() EXCLUSIVE_LOCKS_REQUIRED(aa_mu);
764 void test() EXCLUSIVE_LOCKS_REQUIRED(sls_mu);
768 void elr_fun() EXCLUSIVE_LOCKS_REQUIRED(sls_mu);
831 void es_fun_10() EXCLUSIVE_LOCKS_REQUIRED(aa_mu);
906 static int func1() EXCLUSIVE_LOCKS_REQUIRED(mu1_);
966 int method1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1);
974 int foo(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1);
979 static int bar(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1);
[all …]
Dthread-safety-annotations.h12 #define EXCLUSIVE_LOCKS_REQUIRED(...) __attribute__((requires_capability(__VA_ARGS__))) macro
23 #define EXCLUSIVE_LOCKS_REQUIRED(...) __attribute__((exclusive_locks_required(__VA_ARGS__))) macro
Dwarn-thread-safety-verbose.cpp26 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mu);
/external/clang/test/SemaCXX/
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; // \ in elr_testfn() local
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(mu1) ElrTestClass { // \ in EXCLUSIVE_LOCKS_REQUIRED() function
[all …]
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_; } in GetA()
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(mu2);
[all …]
Dwarn-thread-safety-negative.cpp23 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
54 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) { in baz()
78 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) { in baz()
96 void test3() EXCLUSIVE_LOCKS_REQUIRED(!mu) { in test3()
116 EXCLUSIVE_LOCKS_REQUIRED(F->mutex()) UNLOCK_FUNCTION(F->mutex()) {} in Function()
Dwarn-thread-safety-verbose.cpp20 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
48 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mu);
/external/clang/test/Sema/
Dwarn-thread-safety-analysis.c20 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
51 int Foo_fun1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Foo_fun1()
55 int Foo_fun2(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1) { in Foo_fun2()
63 static int Bar_fun1(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Bar_fun1()
67 void set_value(int *a, int value) EXCLUSIVE_LOCKS_REQUIRED(foo_.mu_) { in set_value()
/external/llvm-project/clang/test/Sema/
Dwarn-thread-safety-analysis.c20 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
51 int Foo_fun1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Foo_fun1()
55 int Foo_fun2(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1) { in Foo_fun2()
63 static int Bar_fun1(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1) { in Bar_fun1()
67 void set_value(int *a, int value) EXCLUSIVE_LOCKS_REQUIRED(foo_.mu_) { in set_value()
/external/abseil-cpp/absl/base/internal/
Dthread_annotations.h132 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dthread_annotations.h132 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dthread_annotations.h132 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/openscreen/third_party/abseil/src/absl/base/internal/
Dthread_annotations.h132 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dthread_annotations.h132 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/libchrome/base/
Dthread_annotations.h103 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/clang/test/PCH/
Dthread-safety-attrs.cpp26 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/llvm-project/clang/test/PCH/
Dthread-safety-attrs.cpp26 #define EXCLUSIVE_LOCKS_REQUIRED(...) \ macro
/external/clang/docs/
DThreadSafetyAnalysis.rst185 *Previously*: ``EXCLUSIVE_LOCKS_REQUIRED``, ``SHARED_LOCKS_REQUIRED``
896 #define EXCLUSIVE_LOCKS_REQUIRED(...) \
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Ddata_service_dataset_op.cc581 std::shared_ptr<Task> GetTaskToProcess() EXCLUSIVE_LOCKS_REQUIRED(mu_) { in GetTaskToProcess()
/external/llvm-project/clang/docs/
DThreadSafetyAnalysis.rst188 *Previously*: ``EXCLUSIVE_LOCKS_REQUIRED``, ``SHARED_LOCKS_REQUIRED``
990 #define EXCLUSIVE_LOCKS_REQUIRED(...) \