Home
last modified time | relevance | path

Searched refs:GUARDED_BY (Results 1 – 25 of 53) sorted by relevance

123

/external/llvm-project/clang/test/SemaCXX/
Dwarn-thread-safety-parsing.cpp7 #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 …]
Dwarn-thread-safety-analysis.cpp907 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 …]
Dwarn-thread-safety-negative.cpp35 int a GUARDED_BY(mu);
48 int a GUARDED_BY(mu);
Dwarn-thread-safety-verbose.cpp24 int a GUARDED_BY(mu); // expected-note3 {{Guarded_by declared here.}}
/external/clang/test/SemaCXX/
Dwarn-thread-safety-parsing.cpp5 #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 …]
Dwarn-thread-safety-analysis.cpp8 #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 …]
Dwarn-thread-safety-negative.cpp8 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro
51 int a GUARDED_BY(mu);
64 int a GUARDED_BY(mu);
Dwarn-thread-safety-verbose.cpp5 #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/
DC2VdaPooledBlockPool.h47 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/
DThread.hpp194 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);
DVariable.hpp123 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/
Dtls_data_router_posix.h103 accept_socket_mappings_ GUARDED_BY(accept_socket_mutex_);
106 std::vector<TlsConnectionPosix*> connections_ GUARDED_BY(connections_mutex_);
110 GUARDED_BY(accept_socket_mutex_);
Dtask_runner.h127 std::vector<TaskWithMetadata> tasks_ GUARDED_BY(task_mutex_);
129 GUARDED_BY(task_mutex_);
/external/swiftshader/third_party/marl/include/marl/
Dscheduler.h439 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/
DV4L2ComponentStore.h53 GUARDED_BY(mCachedFactoriesLock);
56 GUARDED_BY(mCachedTraitsLock);
/external/swiftshader/src/Vulkan/
DVkDevice.hpp131 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);
DVkSemaphore.hpp181 External *external GUARDED_BY(mutex) = nullptr;
182 External *tempExternal GUARDED_BY(mutex) = nullptr;
DVkPipelineCache.hpp133 …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…
DVkEvent.hpp69 VkResult status GUARDED_BY(mutex) = VK_EVENT_RESET;
/external/libchrome/base/
Dthread_annotations_unittest.nc33 int counter_ GUARDED_BY(lock_);
64 int global_counter GUARDED_BY(not_lockable);
Dthread_annotations_unittest.cc35 int counter_ GUARDED_BY(lock_);
/external/clang/test/Sema/
Dwarn-thread-safety-analysis.c5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro
45 int a_ GUARDED_BY(foo_.mu_);
/external/llvm-project/clang/test/Sema/
Dwarn-thread-safety-analysis.c5 #define GUARDED_BY(x) __attribute__ ((guarded_by(x))) macro
45 int a_ GUARDED_BY(foo_.mu_);
/external/clang/docs/
DThreadSafetyAnalysis.rst36 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/
DBlitter.hpp195 RoutineCache<State, BlitFunction::CFunctionType> blitCache GUARDED_BY(blitMutex);
198 …RoutineCache<State, CornerUpdateFunction::CFunctionType> cornerUpdateCache GUARDED_BY(cornerUpdate…

123