Home
last modified time | relevance | path

Searched refs:SHARED_LOCKS_REQUIRED (Results 1 – 23 of 23) sorted by relevance

/external/clang/test/SemaCXX/
Dwarn-thread-safety-parsing.cpp22 #define SHARED_LOCKS_REQUIRED(...) \ macro
1141 void slr_function_arg() SHARED_LOCKS_REQUIRED(mu1);
1143 void slr_function_args() SHARED_LOCKS_REQUIRED(mu1, mu2);
1145 int slr_testfn(int y) SHARED_LOCKS_REQUIRED(mu1);
1148 int x SHARED_LOCKS_REQUIRED(mu1) = y; // \ in slr_testfn() local
1153 int slr_test_var SHARED_LOCKS_REQUIRED(mu1); // \
1156 void slr_fun_params(int lvar SHARED_LOCKS_REQUIRED(mu1)); // \
1161 int test_field SHARED_LOCKS_REQUIRED(mu1); // \
1163 void test_method() SHARED_LOCKS_REQUIRED(mu1);
1166 class SHARED_LOCKS_REQUIRED(mu1) SlrTestClass { // \ in SHARED_LOCKS_REQUIRED() function
[all …]
Dwarn-thread-safety-verbose.cpp22 #define SHARED_LOCKS_REQUIRED(...) \ macro
49 void foo2() SHARED_LOCKS_REQUIRED(mu);
Dwarn-thread-safety-analysis.cpp26 #define SHARED_LOCKS_REQUIRED(...) __attribute__((shared_locks_required(__VA_ARGS__))) macro
56 ReaderMutexLock(Mutex *mu, bool adopt) SHARED_LOCKS_REQUIRED(mu);
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);
1093 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2);
1234 int foo() SHARED_LOCKS_REQUIRED(mu_) EXCLUSIVE_LOCKS_REQUIRED(mu2);
1500 int method1(int i) SHARED_LOCKS_REQUIRED(mu1, mu, mu2, mu3);
2596 int foo2() SHARED_LOCKS_REQUIRED(mu_);
2604 int Foo::foo2() SHARED_LOCKS_REQUIRED(mu_) { in foo2()
2623 void foo2() SHARED_LOCKS_REQUIRED(mutex_) { // expected-note {{mutex acquired here}} in foo2()
[all …]
Dwarn-thread-safety-negative.cpp25 #define SHARED_LOCKS_REQUIRED(...) \ macro
/external/tensorflow/tensorflow/core/framework/
Dmodel.cc138 SHARED_LOCKS_REQUIRED(mu_) { in Clone()
147 SHARED_LOCKS_REQUIRED(mu_) { in OutputTimeLocked()
191 override SHARED_LOCKS_REQUIRED(mu_) { in TotalProcessingTimeLocked()
226 SHARED_LOCKS_REQUIRED(mu_) { in Clone()
242 SHARED_LOCKS_REQUIRED(mu_) { in OutputTimeLocked()
312 override SHARED_LOCKS_REQUIRED(mu_) { in TotalProcessingTimeLocked()
336 SHARED_LOCKS_REQUIRED(mu_) { in Clone()
345 SHARED_LOCKS_REQUIRED(mu_) { in OutputTimeLocked()
381 override SHARED_LOCKS_REQUIRED(mu_) { in TotalProcessingTimeLocked()
408 SHARED_LOCKS_REQUIRED(mu_) { in Clone()
[all …]
Dmodel.h378 int64 num_inputs() const SHARED_LOCKS_REQUIRED(mu_) { in num_inputs()
391 SHARED_LOCKS_REQUIRED(mu_) = 0;
394 double AverageBufferedElementSize() const SHARED_LOCKS_REQUIRED(mu_) { in AverageBufferedElementSize()
407 SHARED_LOCKS_REQUIRED(mu_) { in OutputTimeForInputs()
423 SHARED_LOCKS_REQUIRED(mu_) = 0;
435 std::map<string, double>* processing_times) SHARED_LOCKS_REQUIRED(mu_) { in TotalProcessingTimeForInputs()
475 double SelfProcessingTimeLocked() const SHARED_LOCKS_REQUIRED(mu_) { in SelfProcessingTimeLocked()
488 SHARED_LOCKS_REQUIRED(mu_) = 0;
Dfunction.h476 const string& func) const SHARED_LOCKS_REQUIRED(mu_);
478 SHARED_LOCKS_REQUIRED(mu_);
Dmodel_test.cc389 SHARED_LOCKS_REQUIRED(mu_) { in Clone()
395 SHARED_LOCKS_REQUIRED(mu_) { in OutputTimeLocked()
400 override SHARED_LOCKS_REQUIRED(mu_) { in TotalProcessingTimeLocked()
Dresource_mgr.h261 SHARED_LOCKS_REQUIRED(mu_) TF_MUST_USE_RESULT;
269 SHARED_LOCKS_REQUIRED(mu_) TF_MUST_USE_RESULT;
/external/clang/test/Sema/
Dwarn-thread-safety-analysis.c22 #define SHARED_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()
71 int get_value(int *p) SHARED_LOCKS_REQUIRED(foo_.mu_){ in get_value()
/external/tensorflow/tensorflow/core/kernels/
Drecord_yielder.h132 bool BufEmpty() const SHARED_LOCKS_REQUIRED(mu_) { in BufEmpty()
137 bool BufNotFull() const SHARED_LOCKS_REQUIRED(mu_) { in BufNotFull()
142 bool BufEnough() const SHARED_LOCKS_REQUIRED(mu_) { in BufEnough()
Dconditional_accumulator_op.cc50 SHARED_LOCKS_REQUIRED(mu_) override { in SetHandleToOutput()
87 SHARED_LOCKS_REQUIRED(mu_) override { in SetHandleToOutput()
Dsparse_conditional_accumulator_op.cc52 SHARED_LOCKS_REQUIRED(mu_) override { in SetHandleToOutput()
Dconditional_accumulator_base_op.h78 SHARED_LOCKS_REQUIRED(mu_) = 0;
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_mgr.h85 SHARED_LOCKS_REQUIRED(remote_tensor_handle_mu_);
89 SHARED_LOCKS_REQUIRED(remote_tensor_handle_mu_);
/external/webrtc/webrtc/base/
Dthread_annotations.h62 #define SHARED_LOCKS_REQUIRED(...) \ macro
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor_factory.cc51 SHARED_LOCKS_REQUIRED(executor_factory_lock) { in RegisteredFactoriesErrorMessageLocked()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_single_stream.h53 SHARED_LOCKS_REQUIRED(crit_sect_.get());
/external/libchrome/base/
Dthread_annotations.h106 #define SHARED_LOCKS_REQUIRED(...) \ macro
/external/tensorflow/tensorflow/core/platform/
Dthread_annotations.h91 #define SHARED_LOCKS_REQUIRED(...) \ macro
/external/tensorflow/tensorflow/core/distributed_runtime/
Dbase_rendezvous_mgr.h205 bool is_initialized_locked() SHARED_LOCKS_REQUIRED(init_mu_) { in is_initialized_locked()
/external/clang/test/PCH/
Dthread-safety-attrs.cpp28 #define SHARED_LOCKS_REQUIRED(...) \ macro
/external/clang/docs/
DThreadSafetyAnalysis.rst185 *Previously*: ``EXCLUSIVE_LOCKS_REQUIRED``, ``SHARED_LOCKS_REQUIRED``
900 #define SHARED_LOCKS_REQUIRED(...) \