Home
last modified time | relevance | path

Searched refs:THREAD_ANNOTATION_ATTRIBUTE__ (Results 1 – 2 of 2) sorted by relevance

/system/core/base/include/android-base/
Dthread_annotations.h21 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) macro
24 THREAD_ANNOTATION_ATTRIBUTE__(capability(x))
27 THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
30 THREAD_ANNOTATION_ATTRIBUTE__(shared_capability(__VA_ARGS__))
33 THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
36 THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
39 THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
42 THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
45 THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))
48 THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__))
[all …]
/system/core/libutils/include/utils/
DMutex.h34 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) macro
36 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op macro
39 #define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(capability(x))
41 #define SCOPED_CAPABILITY THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
43 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
45 #define PT_GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
47 #define ACQUIRED_BEFORE(...) THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))
49 #define ACQUIRED_AFTER(...) THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__))
51 #define REQUIRES(...) THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__))
53 #define REQUIRES_SHARED(...) THREAD_ANNOTATION_ATTRIBUTE__(requires_shared_capability(__VA_ARGS__))
[all …]