Home
last modified time | relevance | path

Searched refs:SHARED_LOCK_FUNCTION (Results 1 – 13 of 13) sorted by relevance

/external/clang/test/SemaCXX/
Dwarn-thread-safety-parsing.cpp12 #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();
[all …]
Dwarn-thread-safety-verbose.cpp12 #define SHARED_LOCK_FUNCTION(...) __attribute__ ((shared_lock_function(__VA_ARGS__))) macro
Dwarn-thread-safety-negative.cpp15 #define SHARED_LOCK_FUNCTION(...) __attribute__ ((shared_lock_function(__VA_ARGS__))) macro
Dwarn-thread-safety-analysis.cpp15 #define SHARED_LOCK_FUNCTION(...) __attribute__((shared_lock_function(__VA_ARGS__))) macro
55 ReaderMutexLock(Mutex *mu) SHARED_LOCK_FUNCTION(mu);
77 void beginNoWarnOnReads() SHARED_LOCK_FUNCTION("*");
2900 void slock1() SHARED_LOCK_FUNCTION(mu1_);
2923 void Foo::slock1() SHARED_LOCK_FUNCTION(mu1_) { in slock1()
3668 void readerlock() SHARED_LOCK_FUNCTION(mu1_)
3669 SHARED_LOCK_FUNCTION(mu2_);
3971 void readerLock() SHARED_LOCK_FUNCTION() { mu_.ReaderLock(); } in readerLock()
3986 void readerLock() SHARED_LOCK_FUNCTION(mu_) { in readerLock()
4000 void readerLockBad() SHARED_LOCK_FUNCTION(mu_) { // expected-note {{mutex acquired here}} in readerLockBad()
[all …]
/external/webrtc/webrtc/system_wrappers/include/
Drw_lock_wrapper.h30 virtual void AcquireLockShared() SHARED_LOCK_FUNCTION() = 0;
38 ReadLockScoped(RWLockWrapper& rw_lock) SHARED_LOCK_FUNCTION(rw_lock) in ReadLockScoped()
/external/tensorflow/tensorflow/core/platform/
Dmutex.h62 void lock_shared() SHARED_LOCK_FUNCTION();
188 explicit tf_shared_lock(mutex_type& mu) SHARED_LOCK_FUNCTION(mu) : mu_(&mu) { in tf_shared_lock()
192 tf_shared_lock(mutex_type& mu, std::try_to_lock_t) SHARED_LOCK_FUNCTION(mu) in tf_shared_lock()
201 tf_shared_lock(tf_shared_lock&& ml) noexcept SHARED_LOCK_FUNCTION(ml.mu_) in tf_shared_lock()
Dthread_annotations.h120 #define SHARED_LOCK_FUNCTION(...) \ macro
/external/clang/test/Sema/
Dwarn-thread-safety-analysis.c12 #define SHARED_LOCK_FUNCTION(...) __attribute__ ((shared_lock_function(__VA_ARGS__))) macro
36 void mutex_shared_lock(struct Mutex *mu) SHARED_LOCK_FUNCTION(mu);
/external/webrtc/webrtc/base/
Dsharedexclusivelock.h44 explicit SharedScope(SharedExclusiveLock* lock) SHARED_LOCK_FUNCTION(lock) in SharedScope()
Dthread_annotations.h83 #define SHARED_LOCK_FUNCTION(...) \ macro
/external/clang/test/PCH/
Dthread-safety-attrs.cpp20 #define SHARED_LOCK_FUNCTION(...) __attribute__ ((shared_lock_function(__VA_ARGS__))) macro
66 void beginNoWarnOnReads() SHARED_LOCK_FUNCTION("*");
/external/libchrome/base/
Dthread_annotations.h149 #define SHARED_LOCK_FUNCTION(...) \ macro
/external/clang/docs/
DThreadSafetyAnalysis.rst215 *Previously*: ``EXCLUSIVE_LOCK_FUNCTION``, ``SHARED_LOCK_FUNCTION``,
916 #define SHARED_LOCK_FUNCTION(...) \