Searched refs:StaticMutex (Results 1 - 17 of 17) sorted by relevance
/macosx-10.10.1/bmalloc-7600.1.17/bmalloc/ |
H A D | StaticMutex.cpp | 26 #include "StaticMutex.h" 31 void StaticMutex::lockSlowCase()
|
H A D | StaticMutex.h | 37 class StaticMutex { class in namespace:bmalloc 55 inline void StaticMutex::init() 60 inline bool StaticMutex::try_lock() 65 inline void StaticMutex::lock() 71 inline void StaticMutex::unlock()
|
H A D | Mutex.h | 29 #include "StaticMutex.h" 35 class Mutex : public StaticMutex {
|
H A D | Heap.h | 50 Heap(std::lock_guard<StaticMutex>&); 52 SmallLine* allocateSmallLine(std::lock_guard<StaticMutex>&, size_t smallSizeClass); 53 void deallocateSmallLine(std::lock_guard<StaticMutex>&, SmallLine*); 55 MediumLine* allocateMediumLine(std::lock_guard<StaticMutex>&); 56 void deallocateMediumLine(std::lock_guard<StaticMutex>&, MediumLine*); 58 void* allocateLarge(std::lock_guard<StaticMutex>&, size_t); 59 void deallocateLarge(std::lock_guard<StaticMutex>&, void*); 61 void* allocateXLarge(std::lock_guard<StaticMutex>&, size_t); 62 void deallocateXLarge(std::lock_guard<StaticMutex>&, void*); 64 void scavenge(std::unique_lock<StaticMutex> [all...] |
H A D | VMHeap.h | 52 void deallocateSmallPage(std::unique_lock<StaticMutex>&, SmallPage*); 53 void deallocateMediumPage(std::unique_lock<StaticMutex>&, MediumPage*); 54 void deallocateLargeRange(std::unique_lock<StaticMutex>&, Range); 90 inline void VMHeap::deallocateSmallPage(std::unique_lock<StaticMutex>& lock, SmallPage* page) 99 inline void VMHeap::deallocateMediumPage(std::unique_lock<StaticMutex>& lock, MediumPage* page) 108 inline void VMHeap::deallocateLargeRange(std::unique_lock<StaticMutex>& lock, Range range)
|
H A D | PerProcess.h | 31 #include "StaticMutex.h" 51 // std::lock_guard<StaticMutex> lock(PerProcess<Object>::mutex()); 61 static StaticMutex& mutex() { return s_mutex; } 67 static StaticMutex s_mutex; 91 std::lock_guard<StaticMutex> lock(s_mutex); 103 StaticMutex PerProcess<T>::s_mutex;
|
H A D | Page.h | 48 void ref(std::lock_guard<StaticMutex>&); 49 bool deref(std::lock_guard<StaticMutex>&); 50 unsigned refCount(std::lock_guard<StaticMutex>&) { return m_refCount; } 64 inline void Page<Traits>::ref(std::lock_guard<StaticMutex>&) 71 inline bool Page<Traits>::deref(std::lock_guard<StaticMutex>&)
|
H A D | Heap.cpp | 39 static inline void sleep(std::unique_lock<StaticMutex>& lock, std::chrono::milliseconds duration) 49 Heap::Heap(std::lock_guard<StaticMutex>&) 57 std::unique_lock<StaticMutex> lock(PerProcess<Heap>::mutex()); 61 void Heap::scavenge(std::unique_lock<StaticMutex>& lock, std::chrono::milliseconds sleepDuration) 70 void Heap::scavengeSmallPages(std::unique_lock<StaticMutex>& lock, std::chrono::milliseconds sleepDuration) 86 void Heap::scavengeMediumPages(std::unique_lock<StaticMutex>& lock, std::chrono::milliseconds sleepDuration) 102 void Heap::scavengeLargeRanges(std::unique_lock<StaticMutex>& lock, std::chrono::milliseconds sleepDuration) 119 SmallLine* Heap::allocateSmallLineSlowCase(std::lock_guard<StaticMutex>& lock, size_t smallSizeClass) 143 MediumLine* Heap::allocateMediumLineSlowCase(std::lock_guard<StaticMutex>& lock) 164 void* Heap::allocateXLarge(std::lock_guard<StaticMutex> [all...] |
H A D | Deallocator.cpp | 57 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 70 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 76 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 82 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 122 void Deallocator::deallocateSmallLine(std::lock_guard<StaticMutex>& lock, SmallLine* line) 135 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 145 void Deallocator::deallocateMediumLine(std::lock_guard<StaticMutex>& lock, MediumLine* line) 156 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex());
|
H A D | Deallocator.h | 47 void deallocateSmallLine(std::lock_guard<StaticMutex>&, SmallLine*); 50 void deallocateMediumLine(std::lock_guard<StaticMutex>&, MediumLine*);
|
H A D | Line.h | 49 bool deref(std::lock_guard<StaticMutex>&, unsigned char = 1); 50 unsigned refCount(std::lock_guard<StaticMutex>&) { return m_refCount; } 92 inline bool Line<Traits>::deref(std::lock_guard<StaticMutex>&, unsigned char count)
|
H A D | Allocator.cpp | 80 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 103 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 116 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex()); 123 std::lock_guard<StaticMutex> lock(PerProcess<Heap>::mutex());
|
H A D | bmalloc.h | 88 std::unique_lock<StaticMutex> lock(PerProcess<Heap>::mutex());
|
/macosx-10.10.1/libsecurity_ldap_dl-55003/lib/ |
H A D | Mutex.cpp | 29 StaticMutex::StaticMutex (pthread_mutex_t &ref) : mMutex (ref) function in class:StaticMutex
|
H A D | Mutex.h | 64 class StaticMutex : public Mutex class in inherits:Mutex 70 StaticMutex (pthread_mutex_t &mutex);
|
H A D | Bridge.cpp | 47 StaticMutex _lockMutex (gLockMutex);
|
H A D | CSSMStubs.cpp | 44 StaticMutex _mutex (*DataStorageLibrary::gGlobalLock);
|
Completed in 136 milliseconds