Home
last modified time | relevance | path

Searched refs:GetLock (Results 1 – 25 of 57) sorted by relevance

123

/aosp_15_r20/art/runtime/
H A Dbarrier.h54 EXPORT void Pass(Thread* self) REQUIRES(!GetLock());
57 void IncrementNoWait(Thread* self) REQUIRES(!GetLock());
60 void Wait(Thread* self) REQUIRES(!GetLock());
71 EXPORT void Increment(Thread* self, int delta) REQUIRES(!GetLock());
75 bool Increment(Thread* self, int delta, uint32_t timeout_ms) REQUIRES(!GetLock());
79 void Init(Thread* self, int count) REQUIRES(!GetLock());
81 int GetCount(Thread* self) REQUIRES(!GetLock());
84 void SetCountLocked(Thread* self, int count) REQUIRES(GetLock());
86 Mutex* GetLock() { in GetLock() function
91 int count_ GUARDED_BY(GetLock());
[all …]
H A Dbarrier.cc39 MutexLock mu(self, *GetLock()); in Pass()
44 MutexLock mu(self, *GetLock()); in IncrementNoWait()
53 MutexLock mu(self, *GetLock()); in Init()
59 MutexLock mu(self, *GetLock()); in Increment()
79 MutexLock mu(self, *GetLock()); in Increment()
100 MutexLock mu(self, *GetLock()); in GetCount()
/aosp_15_r20/external/cronet/base/metrics/
H A Dstatistics_recorder.cc81 const AutoLock auto_lock(GetLock()); in ~StatisticsRecorder()
102 const AutoLock auto_lock(GetLock()); in RegisterHistogramProvider()
122 const AutoLock auto_lock(GetLock()); in RegisterOrDeleteDuplicate()
170 const AutoLock auto_lock(GetLock()); in RegisterOrDeleteDuplicateRanges()
218 const AutoLock auto_lock(GetLock()); in GetBucketRanges()
238 const AutoLock auto_lock(GetLock()); in FindHistogram()
252 const AutoLock auto_lock(GetLock()); in GetHistogramProviders()
319 const AutoLock auto_lock(GetLock()); in InitLogOnShutdown()
353 const AutoLock auto_lock(GetLock()); in AddHistogramSampleObserver()
383 const AutoLock auto_lock(GetLock()); in RemoveHistogramSampleObserver()
[all …]
H A Dstatistics_recorder.h176 LOCKS_EXCLUDED(GetLock());
326 static Lock& GetLock() { return lock_.Get(); } in GetLock() function
335 EXCLUSIVE_LOCKS_REQUIRED(GetLock());
375 EXCLUSIVE_LOCKS_REQUIRED(GetLock());
383 static void ImportGlobalPersistentHistograms() LOCKS_EXCLUDED(GetLock());
391 StatisticsRecorder() EXCLUSIVE_LOCKS_REQUIRED(GetLock());
396 EXCLUSIVE_LOCKS_REQUIRED(GetLock());
424 static StatisticsRecorder* top_ GUARDED_BY(GetLock());
/aosp_15_r20/art/runtime/base/
H A Dtiming_logger.h37 void End() REQUIRES(!GetLock());
38 void Reset() REQUIRES(!GetLock());
39 void Dump(std::ostream& os) const REQUIRES(!GetLock());
45 void SetName(const std::string& name) REQUIRES(!GetLock());
46 void AddLogger(const TimingLogger& logger) REQUIRES(!GetLock());
47 size_t GetIterations() const REQUIRES(!GetLock());
66 void DumpAverages(std::ostream &os) const REQUIRES(GetLock());
67 void AddPair(const char* label, uint64_t delta_time) REQUIRES(GetLock());
72 Mutex* GetLock() const { in GetLock() function
80 std::vector<CumulativeTime> cumulative_timers_ GUARDED_BY(GetLock());
[all …]
H A Dtiming_logger.cc48 MutexLock mu(Thread::Current(), *GetLock()); in SetName()
56 MutexLock mu(Thread::Current(), *GetLock()); in End()
61 MutexLock mu(Thread::Current(), *GetLock()); in Reset()
68 MutexLock mu(Thread::Current(), *GetLock()); in AddLogger()
80 MutexLock mu(Thread::Current(), *GetLock()); in GetIterations()
85 MutexLock mu(Thread::Current(), *GetLock()); in Dump()
/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/shim/
H A Dmalloc_zone_functions_apple.cc64 partition_alloc::internal::Lock& GetLock() { in GetLock() function
70 GetLock().AssertAcquired(); in EnsureMallocZonesInitializedLocked()
88 partition_alloc::internal::ScopedGuard guard(GetLock()); in StoreMallocZone()
108 partition_alloc::internal::ScopedGuard guard(GetLock()); in IsMallocZoneAlreadyStored()
118 partition_alloc::internal::ScopedGuard guard(GetLock()); in GetMallocZoneCountForTesting()
123 partition_alloc::internal::ScopedGuard guard(GetLock()); in ClearAllMallocZonesForTesting()
/aosp_15_r20/external/tensorflow/tensorflow/core/platform/
H A Dmutex_test.cc28 mutex_lock GetLock() { return mutex_lock{mu}; } in GetLock() function
29 void Test() { mutex_lock lock = GetLock(); } in Test()
33 tf_shared_lock GetLock() { return tf_shared_lock{mu}; } in GetLock() function
34 void Test() { tf_shared_lock lock = GetLock(); } in Test()
/aosp_15_r20/external/abseil-cpp/absl/synchronization/internal/
H A Dwin32_waiter.cc37 static SRWLOCK *GetLock(Win32Waiter *w) { in GetLock() function in absl::synchronization_internal::Win32Waiter::WinHelper
97 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
131 LockHolder h(WinHelper::GetLock(this)); in Post()
137 LockHolder h(WinHelper::GetLock(this)); in Poke()
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/synchronization/internal/
H A Dwin32_waiter.cc37 static SRWLOCK *GetLock(Win32Waiter *w) { in GetLock() function in absl::synchronization_internal::Win32Waiter::WinHelper
97 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
131 LockHolder h(WinHelper::GetLock(this)); in Post()
137 LockHolder h(WinHelper::GetLock(this)); in Poke()
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/synchronization/internal/
H A Dwin32_waiter.cc37 static SRWLOCK *GetLock(Win32Waiter *w) { in GetLock() function in absl::synchronization_internal::Win32Waiter::WinHelper
97 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
131 LockHolder h(WinHelper::GetLock(this)); in Post()
137 LockHolder h(WinHelper::GetLock(this)); in Poke()
/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/
H A Dthread_cache.cc92 internal::ScopedGuard scoped_locker(GetLock()); in RegisterThreadCache()
105 internal::ScopedGuard scoped_locker(GetLock()); in UnregisterThreadCache()
122 internal::ScopedGuard scoped_locker(GetLock()); in DumpStats()
162 internal::ScopedGuard scoped_locker(GetLock()); in PurgeAll()
179 internal::ScopedGuard scoped_locker(GetLock()); in ForcePurgeAllThreadAfterForkUnsafe()
224 internal::ScopedGuard scoped_locker(GetLock()); in SetThreadCacheMultiplier()
281 internal::ScopedGuard scoped_locker(GetLock()); in RunPeriodicPurge()
346 ThreadCacheRegistry::Instance().GetLock()); in EnsureThreadSpecificDataInitialized()
H A Dthread_cache.h167 static internal::Lock& GetLock() { return Instance().lock_; } in PA_COMPONENT_EXPORT()
180 ThreadCache* list_head_ PA_GUARDED_BY(GetLock()) = nullptr; in PA_COMPONENT_EXPORT()
389 PA_EXCLUSIVE_LOCKS_REQUIRED(ThreadCacheRegistry::GetLock()) { in PA_COMPONENT_EXPORT()
393 PA_EXCLUSIVE_LOCKS_REQUIRED(ThreadCacheRegistry::GetLock()) { in PA_COMPONENT_EXPORT()
478 ThreadCache* next_ PA_GUARDED_BY(ThreadCacheRegistry::GetLock()); in PA_COMPONENT_EXPORT()
479 ThreadCache* prev_ PA_GUARDED_BY(ThreadCacheRegistry::GetLock()); in PA_COMPONENT_EXPORT()
H A Daddress_pool_manager_bitmap.h134 static Lock& GetLock(); in PA_COMPONENT_EXPORT()
137 PA_GUARDED_BY(GetLock()); in PA_COMPONENT_EXPORT()
138 static std::bitset<kBRPPoolBits> brp_pool_bits_ PA_GUARDED_BY(GetLock()); in PA_COMPONENT_EXPORT()
H A Daddress_pool_manager.cc381 ScopedGuard scoped_lock(AddressPoolManagerBitmap::GetLock()); in MarkUsed()
435 ScopedGuard scoped_lock(AddressPoolManagerBitmap::GetLock()); in MarkUnused()
466 ScopedGuard guard(AddressPoolManagerBitmap::GetLock()); in ResetForTesting()
503 ScopedGuard scoped_lock(AddressPoolManagerBitmap::GetLock()); in GetStats()
/aosp_15_r20/external/libchrome/mojo/core/
H A Dcore.cc161 base::AutoLock lock(handles_->GetLock()); in GetDispatcher()
167 base::AutoLock lock(handles_->GetLock()); in GetAndRemoveDispatcher()
229 base::AutoLock lock(handles_->GetLock()); in AddDispatcher()
238 base::AutoLock lock(handles_->GetLock()); in AddDispatchersFromTransit()
256 base::AutoLock lock(handles_->GetLock()); in AcquireDispatchersForTransit()
266 base::AutoLock lock(handles_->GetLock()); in ReleaseDispatchersForTransit()
295 base::AutoLock lock(handles_->GetLock()); in Close()
548 base::AutoLock lock(handles_->GetLock()); in CreateMessagePipe()
602 base::AutoLock lock(handles_->GetLock()); in FuseMessagePipes()
728 base::AutoLock lock(handles_->GetLock()); in CreateDataPipe()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/p9/src/protocol/
Dmessages.rs114 GetLock(Tgetlock), enumerator
157 Tmessage::GetLock(ref getlock) => getlock.byte_size(), in byte_size()
205 Tmessage::GetLock(_) => TGETLOCK, in encode()
239 Tmessage::GetLock(ref getlock) => getlock.encode(writer), in encode()
298 TGETLOCK => Ok(Tmessage::GetLock(WireFormat::decode(reader)?)), in decode_message()
546 GetLock(Rgetlock), enumerator
586 Rmessage::GetLock(ref getlock) => getlock.byte_size(), in byte_size()
625 Rmessage::GetLock(_) => RGETLOCK, in encode()
660 Rmessage::GetLock(ref getlock) => getlock.encode(writer), in encode()
705 RGETLOCK => Ok(Rmessage::GetLock(WireFormat::decode(reader)?)), in decode()
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/synchronization/internal/
H A Dwaiter.cc307 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
372 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
406 LockHolder h(WinHelper::GetLock(this)); in Post()
412 LockHolder h(WinHelper::GetLock(this)); in Poke()
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/synchronization/internal/
H A Dwaiter.cc287 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
347 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
381 LockHolder h(WinHelper::GetLock(this)); in Post()
387 LockHolder h(WinHelper::GetLock(this)); in Poke()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/synchronization/internal/
Dwaiter.cc287 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
347 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
381 LockHolder h(WinHelper::GetLock(this)); in Post()
387 LockHolder h(WinHelper::GetLock(this)); in Poke()
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/synchronization/internal/
H A Dwaiter.cc287 static SRWLOCK *GetLock(Waiter *w) { in GetLock() function in absl::synchronization_internal::Waiter::WinHelper
347 SRWLOCK *mu = WinHelper::GetLock(this); in Wait()
381 LockHolder h(WinHelper::GetLock(this)); in Post()
387 LockHolder h(WinHelper::GetLock(this)); in Poke()
/aosp_15_r20/external/libchrome/libchrome_tools/patch/
H A Dhandle_table.patch83 - base::AutoLock lock(GetLock());
115 +// base::AutoLock lock(GetLock());
160 // HandleTable is thread-hostile. All access should be gated by GetLock().
161 base::Lock& GetLock();
/aosp_15_r20/external/cronet/base/win/
H A Dscoped_handle_verifier.cc107 : enabled_(enabled), lock_(GetLock()) {} in ScopedHandleVerifier()
129 AutoNativeLock lock(*GetLock()); in ThreadSafeAssignOrCreateScopedHandleVerifier()
188 NativeLock* ScopedHandleVerifier::GetLock() { in GetLock() function in base::win::internal::ScopedHandleVerifier
/aosp_15_r20/external/cronet/base/mac/
H A Dmach_port_rendezvous_fuzzer.cc29 base::MachPortRendezvousServer::GetInstance()->GetLock()) { in ClearClientData()
43 base::MachPortRendezvousServer::GetInstance()->GetLock()); in DEFINE_BINARY_PROTO_FUZZER()
/aosp_15_r20/tools/acloud/delete/
H A Ddelete_test.py42 instance_object.GetLock.return_value = mock_lock
70 instance_object.GetLock.return_value = mock_lock
91 mock_instance.GetLock.return_value = mock_lock
125 mock_instance.GetLock.return_value = mock_lock

123