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

  /external/clang/test/SemaCXX/
warn-thread-safety-parsing.cpp 15 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
33 bool TryLock() EXCLUSIVE_TRYLOCK_FUNCTION(true);
710 #if !__has_attribute(exclusive_trylock_function)
711 #error "Should support exclusive_trylock_function attribute"
717 void etf_function() __attribute__((exclusive_trylock_function)); // \
718 // expected-error {{'exclusive_trylock_function' attribute takes at least 1 argument}}
720 void etf_function_args() EXCLUSIVE_TRYLOCK_FUNCTION(1, mu2);
722 void etf_function_arg() EXCLUSIVE_TRYLOCK_FUNCTION(1);
724 int etf_testfn(int y) EXCLUSIVE_TRYLOCK_FUNCTION(1)
    [all...]
warn-thread-safety-verbose.cpp 15 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
32 bool TryLock() __attribute__((exclusive_trylock_function(true)));
warn-thread-safety-negative.cpp 18 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
35 bool TryLock() __attribute__((exclusive_trylock_function(true)));
warn-thread-safety-analysis.cpp 18 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__((exclusive_trylock_function(__VA_ARGS__)))
35 bool TryLock() __attribute__((exclusive_trylock_function(true)));
    [all...]
  /art/runtime/base/
macros.h 262 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) THREAD_ANNOTATION_ATTRIBUTE__(exclusive_trylock_function(__VA_ARGS__))
268 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) THREAD_ANNOTATION_ATTRIBUTE__(exclusive_trylock(__VA_ARGS__))
mutex.h 218 bool ExclusiveTryLock(Thread* self) EXCLUSIVE_TRYLOCK_FUNCTION(true);
219 bool TryLock(Thread* self) EXCLUSIVE_TRYLOCK_FUNCTION(true) { return ExclusiveTryLock(self); }
309 EXCLUSIVE_TRYLOCK_FUNCTION(true);
317 bool SharedTryLock(Thread* self) EXCLUSIVE_TRYLOCK_FUNCTION(true);
  /external/clang/test/Sema/
warn-thread-safety-analysis.c 15 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
  /external/clang/test/PCH/
thread-safety-attrs.cpp 21 #define EXCLUSIVE_TRYLOCK_FUNCTION(...) __attribute__ ((exclusive_trylock_function(__VA_ARGS__)))
38 bool TryLock() __attribute__((exclusive_trylock_function(true)));

Completed in 110 milliseconds