/external/chromium_org/v8/src/base/platform/ |
semaphore-unittest.cc | 81 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)));
|
condition-variable.h | 27 // 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;
|
semaphore.h | 50 bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
|
condition-variable.cc | 71 bool ConditionVariable::WaitFor(Mutex* mutex, const TimeDelta& rel_time) { 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));
|
semaphore.cc | 54 bool Semaphore::WaitFor(const TimeDelta& rel_time) { 109 bool Semaphore::WaitFor(const TimeDelta& rel_time) { 178 bool Semaphore::WaitFor(const TimeDelta& rel_time) {
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
util_unittest.py | 17 util.WaitFor(test, 0.1) 22 self.assertRaises(util.TimeoutException, lambda: util.WaitFor(test, 0.1)) 29 util.WaitFor(Test().Method, 0.1) 31 util.WaitFor(lambda: 1, 0.1) 34 self.assertRaises(TypeError, lambda: util.WaitFor('test', 0.1)) 37 self.assertEquals('test', util.WaitFor(lambda: 'test', 0.1))
|
tab_unittest.py | 70 util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5) 73 util.WaitFor(lambda: _IsDocumentVisible(new_tab), timeout=5) 76 util.WaitFor(lambda: _IsDocumentVisible(self._tab), timeout=5)
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
repaint_continuously.py | 35 util.WaitFor(HasMinRafs, max(60 - self._seconds, 0))
|
media_action.py | 38 util.WaitFor(lambda:
|
/external/chromium_org/chrome/browser/extensions/api/downloads/ |
downloads_api_browsertest.cc | 202 bool WaitFor(Profile* profile, 216 // Print the events that were caught since the last WaitFor() call to help 345 bool WaitFor(const std::string& event_name, const std::string& json_args) { 346 return events_listener_->WaitFor( 354 if (!WaitFor(downloads::OnCreated::kEventName, on_created_event)) 357 return WaitFor( 827 ASSERT_TRUE(WaitFor(downloads::OnCreated::kEventName, [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
cros_unittest.py | 65 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 20) 78 self.assertTrue(util.WaitFor(self._IsCryptohomeMounted, 10)) 100 util.WaitFor(ScreenLocked, 10) 113 util.WaitFor(ErrorBubbleVisible, 10) 121 util.WaitFor(lambda: not browser.oobe_exists, 10)
|
inspector_console_unittest.py | 23 util.WaitFor(GotLog, 5)
|
inspector_timeline_unittest.py | 17 util.WaitFor(_IsDone, 5)
|
inspector_runtime_unittest.py | 47 util.WaitFor(lambda: self._tab.EnableAllContexts() == expected_contexts, 64 util.WaitFor(lambda: TestVarReady(context_id), timeout=10)
|
oobe.py | 52 gaia_context = util.WaitFor(self._GaiaLoginContext, timeout=30)
|
cros_browser_backend.py | 55 util.WaitFor(self.IsBrowserRunning, 20) 141 util.WaitFor(lambda: self.oobe_exists, 10) 150 util.WaitFor(lambda: pid != self.pid, 10) 169 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 30) 230 util.WaitFor(self._IsLoggedIn, 60)
|
/external/chromium_org/tools/perf/measurements/ |
tab_switching.py | 65 util.WaitFor(tab.HasReachedQuiescence, 60) 89 util.WaitFor(_IsDone, 30)
|
session_restore.py | 36 util.WaitFor(lambda: browser.tabs and
|
/external/chromium_org/tools/telemetry/telemetry/core/forwarders/ |
do_nothing_forwarder.py | 75 util.WaitFor(CanConnect, timeout)
|
cros_forwarder.py | 52 util.WaitFor(
|
/external/chromium_org/tools/telemetry/telemetry/core/platform/ |
android_device.py | 51 util.WaitFor(adb_commands.GetAttachedDevices, 600)
|
/external/chromium_org/v8/src/heap/ |
sweeper-thread.cc | 66 bool value = end_sweeping_semaphore_.WaitFor(base::TimeDelta::FromSeconds(0));
|
/external/chromium_org/chrome/test/telemetry/chromeos/ |
login_unittest.py | 70 return util.WaitFor( 124 util.WaitFor(ScreenLocked, 10) 137 util.WaitFor(ErrorBubbleVisible, 10) 145 util.WaitFor(lambda: not browser.oobe, 10) 164 util.WaitFor(lambda: not self._IsCryptohomeMounted(), 20) 237 util.WaitFor(lambda: browser.oobe.EvaluateJavaScript(
|
/external/chromium_org/content/test/gpu/gpu_tests/ |
maps.py | 65 util.WaitFor(IsWaitComplete, timeout)
|
/external/chromium_org/tools/perf/benchmarks/ |
dom_perf.py | 45 util.WaitFor(_IsDone, 600)
|