/external/llvm-project/clang/test/SemaCXX/ |
D | warn-thread-safety-parsing.cpp | 7 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro 310 int gb_var_arg GUARDED_BY(mu1); 312 int gb_non_ascii GUARDED_BY(L"wide"); // expected-warning {{ignoring 'guarded_by' attribute because… variable 324 int gb_field_args GUARDED_BY(mu1); 327 class GUARDED_BY(mu1) GB { // \ in GUARDED_BY() function 331 void gb_function() GUARDED_BY(mu1); // \ 334 void gb_function_params(int gv_lvar GUARDED_BY(mu1)); // \ 338 int x GUARDED_BY(mu1) = y; // \ in gb_testfn() local 346 int gb_var_arg_1 GUARDED_BY(muWrapper.mu); variable 347 int gb_var_arg_2 GUARDED_BY(muDoubleWrapper.muWrapper->mu); variable [all …]
|
D | warn-thread-safety-analysis.cpp | 907 static int b_ GUARDED_BY(mu1_); 909 static int a_ GUARDED_BY(mu1_); 931 int a_ GUARDED_BY(mu1_); 938 int *p GUARDED_BY(mu) PT_GUARDED_BY(mu); 939 int res GUARDED_BY(mu) = 5; 1029 int a_ GUARDED_BY(foo_->mu_); 1125 int data GUARDED_BY(mu1); 1168 T count_ GUARDED_BY(mu_); 1259 int g GUARDED_BY(mu1); 1260 int w GUARDED_BY(mu2); [all …]
|
D | warn-thread-safety-negative.cpp | 35 int a GUARDED_BY(mu); 48 int a GUARDED_BY(mu);
|
D | warn-thread-safety-verbose.cpp | 24 int a GUARDED_BY(mu); // expected-note3 {{Guarded_by declared here.}}
|
/external/clang/test/SemaCXX/ |
D | warn-thread-safety-parsing.cpp | 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro 308 int gb_var_arg GUARDED_BY(mu1); 310 int gb_non_ascii GUARDED_BY(L"wide"); // expected-warning {{ignoring 'guarded_by' attribute because… variable 322 int gb_field_args GUARDED_BY(mu1); 325 class GUARDED_BY(mu1) GB { // \ in GUARDED_BY() function 329 void gb_function() GUARDED_BY(mu1); // \ 332 void gb_function_params(int gv_lvar GUARDED_BY(mu1)); // \ 336 int x GUARDED_BY(mu1) = y; // \ in gb_testfn() local 344 int gb_var_arg_1 GUARDED_BY(muWrapper.mu); variable 345 int gb_var_arg_2 GUARDED_BY(muDoubleWrapper.muWrapper->mu); variable [all …]
|
D | warn-thread-safety-analysis.cpp | 8 #define GUARDED_BY(x) __attribute__((guarded_by(x))) macro 876 static int b_ GUARDED_BY(mu1_); 878 static int a_ GUARDED_BY(mu1_); 900 int a_ GUARDED_BY(mu1_); 907 int *p GUARDED_BY(mu) PT_GUARDED_BY(mu); 908 int res GUARDED_BY(mu) = 5; 998 int a_ GUARDED_BY(foo_->mu_); 1094 int data GUARDED_BY(mu1); 1137 T count_ GUARDED_BY(mu_); 1228 int g GUARDED_BY(mu1); [all …]
|
D | warn-thread-safety-negative.cpp | 8 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro 51 int a GUARDED_BY(mu); 64 int a GUARDED_BY(mu);
|
D | warn-thread-safety-verbose.cpp | 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro 46 int a GUARDED_BY(mu); // expected-note3 {{Guarded_by declared here.}}
|
/external/v4l2_codec2/plugin_store/include/v4l2_codec2/plugin_store/ |
D | C2VdaPooledBlockPool.h | 47 std::set<uint32_t> mBufferIds GUARDED_BY(mMutex); 49 size_t mBufferCount GUARDED_BY(mMutex){0}; in GUARDED_BY() function 52 int64_t mNextFetchTimeUs GUARDED_BY(mMutex){0}; in GUARDED_BY() function
|
/external/swiftshader/src/Vulkan/Debug/ |
D | Thread.hpp | 194 std::string name_ GUARDED_BY(mutex); 195 std::vector<std::shared_ptr<Frame>> frames GUARDED_BY(mutex); 196 State state_ GUARDED_BY(mutex) = State::Running; 197 std::weak_ptr<Frame> pauseAtFrame GUARDED_BY(mutex);
|
D | Variable.hpp | 123 std::vector<Variable> variables GUARDED_BY(mutex); 124 std::unordered_map<std::string, int> indices GUARDED_BY(mutex); 125 std::vector<std::shared_ptr<Variables>> extends GUARDED_BY(mutex);
|
/external/openscreen/platform/impl/ |
D | tls_data_router_posix.h | 103 accept_socket_mappings_ GUARDED_BY(accept_socket_mutex_); 106 std::vector<TlsConnectionPosix*> connections_ GUARDED_BY(connections_mutex_); 110 GUARDED_BY(accept_socket_mutex_);
|
D | task_runner.h | 127 std::vector<TaskWithMetadata> tasks_ GUARDED_BY(task_mutex_); 129 GUARDED_BY(task_mutex_);
|
/external/swiftshader/third_party/marl/include/marl/ |
D | scheduler.h | 439 GUARDED_BY(mutex) uint64_t numBlockedFibers = 0; 440 GUARDED_BY(mutex) TaskQueue tasks; 441 GUARDED_BY(mutex) FiberQueue fibers; 442 GUARDED_BY(mutex) WaitingFibers waiting; 443 GUARDED_BY(mutex) bool notifyAdded = true; 509 GUARDED_BY(mutex) std::condition_variable unbind; 510 GUARDED_BY(mutex) WorkerByTid byTid;
|
/external/v4l2_codec2/components/include/v4l2_codec2/components/ |
D | V4L2ComponentStore.h | 53 GUARDED_BY(mCachedFactoriesLock); 56 GUARDED_BY(mCachedTraitsLock);
|
/external/swiftshader/src/Vulkan/ |
D | VkDevice.hpp | 131 sw::LRUCache<Key, std::shared_ptr<rr::Routine>, Key::Hash> cache GUARDED_BY(mutex); 153 std::map<SamplerState, Identifier> map GUARDED_BY(mutex); 192 std::unordered_set<ImageView *> imageViewSet GUARDED_BY(imageViewSetMutex);
|
D | VkSemaphore.hpp | 181 External *external GUARDED_BY(mutex) = nullptr; 182 External *tempExternal GUARDED_BY(mutex) = nullptr;
|
D | VkPipelineCache.hpp | 133 …std::map<SpirvShaderKey, std::shared_ptr<sw::SpirvShader>> spirvShaders GUARDED_BY(spirvShadersMut… 136 …std::map<ComputeProgramKey, std::shared_ptr<sw::ComputeProgram>> computePrograms GUARDED_BY(comput…
|
D | VkEvent.hpp | 69 VkResult status GUARDED_BY(mutex) = VK_EVENT_RESET;
|
/external/libchrome/base/ |
D | thread_annotations_unittest.nc | 33 int counter_ GUARDED_BY(lock_); 64 int global_counter GUARDED_BY(not_lockable);
|
D | thread_annotations_unittest.cc | 35 int counter_ GUARDED_BY(lock_);
|
/external/clang/test/Sema/ |
D | warn-thread-safety-analysis.c | 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro 45 int a_ GUARDED_BY(foo_.mu_);
|
/external/llvm-project/clang/test/Sema/ |
D | warn-thread-safety-analysis.c | 5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro 45 int a_ GUARDED_BY(foo_.mu_);
|
/external/clang/docs/ |
D | ThreadSafetyAnalysis.rst | 36 int balance GUARDED_BY(mu); 61 ``GUARDED_BY`` attribute declares that a thread must lock ``mu`` before it can 153 GUARDED_BY(c) and PT_GUARDED_BY(c) 156 ``GUARDED_BY`` is an attribute on data members, which declares that the data 167 int *p1 GUARDED_BY(mu); 197 int a GUARDED_BY(mu1); 198 int b GUARDED_BY(mu2); 231 MyClass myObject GUARDED_BY(mu); 291 int a GUARDED_BY(mu); 323 int a GUARDED_BY(mu); [all …]
|
/external/swiftshader/src/Device/ |
D | Blitter.hpp | 195 RoutineCache<State, BlitFunction::CFunctionType> blitCache GUARDED_BY(blitMutex); 198 …RoutineCache<State, CornerUpdateFunction::CFunctionType> cornerUpdateCache GUARDED_BY(cornerUpdate…
|