HomeSort by relevance Sort by last modified time
    Searched defs:GUARDED_BY (Results 1 - 10 of 10) sorted by null

  /external/webrtc/webrtc/base/
thread_annotations.h 29 // GUARDED_BY allows the user to specify a particular lock that should be
33 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
43 // int *q GUARDED_BY(mu1) PT_GUARDED_BY(mu2);
  /external/clang/test/Sema/
warn-thread-safety-analysis.c 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x)))
45 int a_ GUARDED_BY(foo_.mu_);
  /system/core/base/include/android-base/
thread_annotations.h 32 #define GUARDED_BY(x) \
33 THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
  /external/clang/test/SemaCXX/
warn-thread-safety-negative.cpp 8 #define GUARDED_BY(x) __attribute__ ((guarded_by(x)))
51 int a GUARDED_BY(mu);
64 int a GUARDED_BY(mu);
warn-thread-safety-verbose.cpp 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x)))
46 int a GUARDED_BY(mu); // expected-note3 {{Guarded_by declared here.}}
warn-thread-safety-parsing.cpp 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x)))
302 #if !__has_attribute(guarded_by)
303 #error "Should support guarded_by attribute"
308 int gb_var_arg GUARDED_BY(mu1);
310 int gb_non_ascii GUARDED_BY(L"wide"); // expected-warning {{ignoring 'guarded_by' attribute because its argument is invalid}}
312 int gb_var_args __attribute__((guarded_by(mu1, mu2))); // \
313 // expected-error {{'guarded_by' attribute takes one argument}}
315 int gb_var_noargs __attribute__((guarded_by)); // \
    [all...]
warn-thread-safety-analysis.cpp 8 #define GUARDED_BY(x) __attribute__((guarded_by(x)))
145 int sls_guardby_var __attribute__((guarded_by(sls_mu))) = 0;
152 int x __attribute__((guarded_by(mu)));
427 int *pgb_field __attribute__((guarded_by(sls_mu2)))
443 int gb_field __attribute__((guarded_by(sls_mu)));
455 GBFoo GlobalGBFoo __attribute__((guarded_by(sls_mu)));
541 int a __attribute__((guarded_by(mu)));
555 int c __attribute__((guarded_by(mu)));
562 int a_ __attribute__((guarded_by(mu1_)))
    [all...]
  /external/google-benchmark/src/
mutex.h 21 #define GUARDED_BY(x) \
22 THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
137 bool notified_yet_ GUARDED_BY(mutex_);
  /art/runtime/base/
macros.h 250 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
  /external/clang/test/PCH/
thread-safety-attrs.cpp 13 #define GUARDED_BY(x) __attribute__ ((guarded_by(x)))
102 int sls_guardby_var __attribute__((guarded_by(sls_mu))) = 0;
109 int x __attribute__((guarded_by(mu)));

Completed in 129 milliseconds