Home
last modified time | relevance | path

Searched refs:SHARED_LOCK_FUNCTION (Results 1 – 11 of 11) 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-analysis.cpp15 #define SHARED_LOCK_FUNCTION(...) __attribute__ ((shared_lock_function(__VA_ARGS__))) macro
66 void beginNoWarnOnReads() SHARED_LOCK_FUNCTION("*");
2843 void slock1() SHARED_LOCK_FUNCTION(mu1_);
2866 void Foo::slock1() SHARED_LOCK_FUNCTION(mu1_) { in slock1()
3611 void readerlock() SHARED_LOCK_FUNCTION(mu1_)
3612 SHARED_LOCK_FUNCTION(mu2_);
3914 void readerLock() SHARED_LOCK_FUNCTION() { mu_.ReaderLock(); } in readerLock()
3929 void readerLock() SHARED_LOCK_FUNCTION(mu_) { in readerLock()
3943 void readerLockBad() SHARED_LOCK_FUNCTION(mu_) { // expected-note {{mutex acquired here}} in readerLockBad()
3960 void readerLockBad2() SHARED_LOCK_FUNCTION(mu_) { // expected-note {{mutex acquired here}} in readerLockBad2()
/external/chromium_org/third_party/leveldatabase/src/port/
Dthread_annotations.h39 #ifndef SHARED_LOCK_FUNCTION
40 #define SHARED_LOCK_FUNCTION(...) macro
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
Drw_lock_wrapper.h30 virtual void AcquireLockShared() SHARED_LOCK_FUNCTION() = 0;
38 ReadLockScoped(RWLockWrapper& rw_lock) SHARED_LOCK_FUNCTION(rw_lock) in ReadLockScoped()
Dthread_annotations.h83 #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/chromium_org/third_party/webrtc/video_engine/
Dvie_manager_base.h36 void ReadLockManager() const SHARED_LOCK_FUNCTION();
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dthread_annotations.h118 #define SHARED_LOCK_FUNCTION(x) \ macro
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dthread_annotations.h118 #define SHARED_LOCK_FUNCTION(x) \ 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/clang/docs/
DThreadSafetyAnalysis.rst205 EXCLUSIVE_LOCK_FUNCTION(...), SHARED_LOCK_FUNCTION(...), UNLOCK_FUNCTION(...)
211 capability on exit. ``SHARED_LOCK_FUNCTION`` is similar.
748 #define SHARED_LOCK_FUNCTION(...) \
784 void ReaderLock() SHARED_LOCK_FUNCTION();