Searched refs:WaitFor (Results 1 - 14 of 14) sorted by relevance

/external/v8/src/base/platform/
H A Dsemaphore-unittest.cc81 ASSERT_FALSE(semaphore_->WaitFor(TimeDelta::FromMicroseconds(1)));
123 EXPECT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1)));
127 TEST(Semaphore, WaitFor) {
131 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0)));
132 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100)));
133 ASSERT_FALSE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)));
137 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(0)));
139 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(100)));
141 ASSERT_TRUE(semaphore.WaitFor(TimeDelta::FromMicroseconds(1000)));
H A Dsemaphore.h50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
H A Dcondition-variable.cc71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { function in class:v8::base::ConditionVariable
125 bool WaitFor(DWORD timeout_ms) {
273 while (!event->WaitFor(INFINITE))
285 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) {
299 result = event->WaitFor(INFINITE - 1);
305 result = event->WaitFor((msec < 0) ? 0 : static_cast<DWORD>(msec));
H A Dsemaphore.cc54 bool Semaphore::WaitFor(const TimeDelta& rel_time) { function in class:v8::base::Semaphore
109 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
178 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
H A Dcondition-variable.h27 // on a Mutex first. The |Wait()| and |WaitFor()| operations atomically release
57 // is reacquired and |WaitFor()| exits. Returns true if the condition variable
59 bool WaitFor(Mutex* mutex, const TimeDelta& rel_time) WARN_UNUSED_RESULT;
H A Dcondition-variable-unittest.cc22 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n)));
25 EXPECT_FALSE(cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n)));
/external/v8/src/heap/
H A Dsweeper-thread.cc66 bool value = end_sweeping_semaphore_.WaitFor(base::TimeDelta::FromSeconds(0));
H A Dmark-compact.cc616 if (!pending_sweeper_jobs_semaphore_.WaitFor(
/external/chromium-trace/trace-viewer/tracing/build/
H A Dtemporary_dev_server.py33 def WaitFor(condition, timeout): function
101 WaitFor(IsServerUp, 10)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/v8/test/cctest/
H A Dtest-debug.cc7488 CHECK(terminate_fired_semaphore.WaitFor(v8::base::TimeDelta::FromSeconds(2)));
H A Dtest-api.cc22287 bool success = test->sem2_.WaitFor(v8::base::TimeDelta::FromSeconds(2));

Completed in 569 milliseconds