HomeSort by relevance Sort by last modified time
    Searched refs:EXCLUSIVE_LOCK_FUNCTION (Results 1 - 3 of 3) sorted by null

  /external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp 11 #define EXCLUSIVE_LOCK_FUNCTION(...) __attribute__ ((exclusive_lock_function(__VA_ARGS__)))
68 void needLock() EXCLUSIVE_LOCK_FUNCTION(foomu);
72 void needLock() EXCLUSIVE_LOCK_FUNCTION(foomu);
554 #if !__has_attribute(exclusive_lock_function)
555 #error "Should support exclusive_lock_function attribute"
560 void elf_function() EXCLUSIVE_LOCK_FUNCTION();
562 void elf_function_args() EXCLUSIVE_LOCK_FUNCTION(mu1, mu2);
564 int elf_testfn(int y) EXCLUSIVE_LOCK_FUNCTION();
567 int x EXCLUSIVE_LOCK_FUNCTION() = y; //
    [all...]
warn-thread-safety-analysis.cpp 14 #define EXCLUSIVE_LOCK_FUNCTION(...) __attribute__ ((exclusive_lock_function(__VA_ARGS__)))
30 void Lock() __attribute__((exclusive_lock_function));
35 void LockWhen(const int &cond) __attribute__((exclusive_lock_function));
40 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
46 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
52 ReleasableMutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu);
63 void beginNoWarnOnWrites() EXCLUSIVE_LOCK_FUNCTION("*");
105 void MyLock() __attribute__((exclusive_lock_function(mu)));
318 void globalLock() __attribute__((exclusive_lock_function(aa_mu)))
    [all...]
  /external/clang/test/PCH/
thread-safety-attrs.cpp 19 #define EXCLUSIVE_LOCK_FUNCTION(...) __attribute__ ((exclusive_lock_function(__VA_ARGS__)))
35 void Lock() __attribute__((exclusive_lock_function));
40 void LockWhen(const int &cond) __attribute__((exclusive_lock_function));
45 MutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));
57 ReleasableMutexLock(Mutex *mu) EXCLUSIVE_LOCK_FUNCTION(mu);
68 void beginNoWarnOnWrites() EXCLUSIVE_LOCK_FUNCTION("*");
110 void MyLock() __attribute__((exclusive_lock_function(mu)));

Completed in 57 milliseconds