Searched refs:crit_sect (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/webrtc/system_wrappers/source/ |
D | critical_section_unittest.cc | 32 explicit ProtectedCount(CriticalSectionWrapper* crit_sect) in ProtectedCount() argument 33 : crit_sect_(crit_sect), in ProtectedCount() 78 CriticalSectionWrapper* crit_sect = in TEST_F() local 80 ProtectedCount count(crit_sect); in TEST_F() 83 crit_sect->Enter(); in TEST_F() 91 crit_sect->Leave(); // This frees the thread to act. in TEST_F() 94 delete crit_sect; in TEST_F() 105 CriticalSectionWrapper* crit_sect = in TEST_F() local 107 ProtectedCount count(crit_sect); in TEST_F() 110 crit_sect->Enter(); // Make sure counter stays 0 until we wait for it. in TEST_F() [all …]
|
D | condition_variable_native_win.cc | 83 void ConditionVariableNativeWin::SleepCS(CriticalSectionWrapper& crit_sect) { in SleepCS() argument 84 SleepCS(crit_sect, INFINITE); in SleepCS() 87 bool ConditionVariableNativeWin::SleepCS(CriticalSectionWrapper& crit_sect, in SleepCS() argument 90 static_cast<CriticalSectionWindows*>(&crit_sect); in SleepCS()
|
D | condition_variable_posix.cc | 72 void ConditionVariablePosix::SleepCS(CriticalSectionWrapper& crit_sect) { in SleepCS() argument 74 &crit_sect); in SleepCS() 78 bool ConditionVariablePosix::SleepCS(CriticalSectionWrapper& crit_sect, in SleepCS() argument 89 &crit_sect); in SleepCS()
|
D | condition_variable_event_win.cc | 120 void ConditionVariableEventWin::SleepCS(CriticalSectionWrapper& crit_sect) { in SleepCS() argument 121 SleepCS(crit_sect, INFINITE); in SleepCS() 124 bool ConditionVariableEventWin::SleepCS(CriticalSectionWrapper& crit_sect, in SleepCS() argument 137 static_cast<CriticalSectionWindows*>(&crit_sect); in SleepCS()
|
D | condition_variable_posix.h | 26 void SleepCS(CriticalSectionWrapper& crit_sect) override; 27 bool SleepCS(CriticalSectionWrapper& crit_sect,
|
D | condition_variable_event_win.h | 25 void SleepCS(CriticalSectionWrapper& crit_sect); 26 bool SleepCS(CriticalSectionWrapper& crit_sect, unsigned long max_time_inMS);
|
D | condition_variable_unittest.cc | 189 rtc::scoped_ptr<CriticalSectionWrapper> crit_sect( in TEST() local 193 CriticalSectionScoped cs(crit_sect.get()); in TEST() 195 EXPECT_FALSE(cond_var->SleepCS(*(crit_sect), kVeryShortWaitMs)); in TEST()
|
D | condition_variable_native_win.h | 39 void SleepCS(CriticalSectionWrapper& crit_sect); 40 bool SleepCS(CriticalSectionWrapper& crit_sect, unsigned long max_time_inMS);
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | static_instance.h | 48 static CriticalSectionWrapper* crit_sect( in GetStaticInstance() 50 CriticalSectionScoped lock(crit_sect); in GetStaticInstance() 80 crit_sect->Leave(); in GetStaticInstance() 86 crit_sect->Enter(); in GetStaticInstance()
|
D | condition_variable_wrapper.h | 27 virtual void SleepCS(CriticalSectionWrapper& crit_sect) = 0; 30 virtual bool SleepCS(CriticalSectionWrapper& crit_sect,
|