/external/chromium_org/chrome/test/chromedriver/server/ |
H A D | server.py | 9 import time namespace 37 max_time = time.time() + 10 39 if time.time() > max_time: 42 time.sleep(0.1)
|
/external/chromium_org/chrome/test/mini_installer/ |
H A D | quit_chrome.py | 15 import time namespace 34 start_time = time.time() 35 while time.time() - start_time < 25: 47 time.sleep(0.1)
|
/external/chromium_org/components/captive_portal/ |
H A D | captive_portal_testing_utils.cc | 33 void CaptivePortalDetectorTestBase::SetTime(const base::Time& time) { argument 34 detector()->set_time_for_testing(time);
|
/external/chromium_org/components/translate/core/common/ |
H A D | language_detection_details.h | 11 #include "base/time/time.h" 20 // The time when this was created. 21 base::Time time; member in struct:translate::LanguageDetectionDetails
|
/external/chromium_org/google_apis/drive/ |
H A D | time_util_unittest.cc | 9 #include "base/time/time.h" 16 std::string FormatTime(const base::Time& time) { argument 17 return base::UTF16ToUTF8(base::TimeFormatShortDateAndTime(time)); 23 // Creates local time objects from exploded structure. 27 // Creates local time object, parsing time string. Note that if there is 28 // not timezone suffix, GetTimeFromString() will handle this as local time 33 // Compare the time objects. 40 // Creates the target time 81 base::Time time = base::Time::FromUTCExploded(exploded_time); local 89 base::Time time = base::Time::FromLocalExploded(exploded_time); local [all...] |
/external/chromium_org/media/base/ |
H A D | wall_clock_time_source.cc | 8 #include "base/time/default_tick_clock.h" 41 // Estimate current media time using old rate to use as a new base time for 51 void WallClockTimeSource::SetMediaTime(base::TimeDelta time) { argument 52 DVLOG(1) << __FUNCTION__ << "(" << time.InMicroseconds() << ")"; 55 base_time_ = time;
|
/external/chromium_org/media/cast/test/utility/ |
H A D | netload.py | 12 import time namespace 37 last_report = time.time() 41 time.sleep(5) 42 now = time.time();
|
/external/chromium_org/media/tools/layout_tests/ |
H A D | test_expectations_history.py | 14 import time namespace 45 """Get difference between time period for the specified test names. 47 Given the time period, this method first gets the revision number. Then, 53 start: A timestamp specifying start of the time period to be 55 end: A timestamp object specifying end of the time period to be 81 goback_start = time.mktime(
|
/external/chromium_org/mojo/tools/pylib/ |
H A D | mojo_python_tests_runner.py | 9 import time namespace 97 full_results['seconds_since_epoch'] = time.time()
|
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/ |
H A D | sdk_update_common.py | 13 import time namespace 75 time.sleep(num_tries + 1) 99 time.sleep(num_tries + 1)
|
/external/chromium_org/net/quic/congestion_control/ |
H A D | tcp_loss_algorithm.cc | 33 const QuicTime& time, 62 if (time >= it->sent_time.Add(loss_delay)) { 31 DetectLostPackets( const QuicUnackedPacketMap& unacked_packets, const QuicTime& time, QuicPacketSequenceNumber largest_observed, const RttStats& rtt_stats) argument
|
H A D | time_loss_algorithm.cc | 32 const QuicTime& time, 55 if (time < when_lost) { 65 // loss_time_ is updated in DetectLostPackets, which must be called every time 30 DetectLostPackets( const QuicUnackedPacketMap& unacked_packets, const QuicTime& time, QuicPacketSequenceNumber largest_observed, const RttStats& rtt_stats) argument
|
/external/chromium_org/net/quic/ |
H A D | quic_time_test.cc | 107 QuicTime time = QuicTime::Zero().Add( local 110 time.Subtract(QuicTime::Delta::FromMilliseconds(1))); 126 QuicTime time = QuicTime::Zero().Add(QuicTime::Delta::FromMicroseconds(1000)); local 128 EXPECT_EQ(now, time); 133 EXPECT_NE(now, time); 135 time = time.Add(QuicTime::Delta::FromMilliseconds(1)); 136 EXPECT_EQ(now, time);
|
/external/chromium_org/ppapi/native_client/tools/browser_tester/browsertester/ |
H A D | rpclistener.py | 8 import time namespace 17 self.start_time = time.time() 22 prefix = '[%6s ms] ' % int((time.time()-self.start_time)*1000) + self.prefix 40 # every time it receives a GET request.)
|
/external/chromium_org/testing/gtest/scripts/ |
H A D | gen_gtest_pred_impl.py | 53 import time namespace 74 'today' : time.strftime('%m/%d/%Y'), 75 'year' : time.strftime('%Y'), 330 'today' : time.strftime('%m/%d/%Y'), 331 'year' : time.strftime('%Y'), 382 // time to finish, we should consider separating this file into a
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | Clock.cpp | 41 void Clock::setCurrentTime(double time) argument 44 m_offset = time;
|
H A D | FileMetadata.h | 38 #include <time.h> 43 inline bool isValidFileTime(double time) { return std::isfinite(time); } argument 46 // The last modification time of the file, in seconds. 47 // The value 0.0 means that the time is not set.
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
H A D | AudioUtilities.cpp | 59 size_t timeToSampleFrame(double time, double sampleRate) argument 61 return static_cast<size_t>(round(time * sampleRate));
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
H A D | WebActiveGestureAnimation.cpp | 56 bool WebActiveGestureAnimation::animate(double time) argument 59 m_startTime = time; 62 // All WebGestureCurves assume zero-based time, so we subtract 63 // the animation start time before passing to the curve. 64 return m_curve->apply(time - m_startTime, m_target);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
H A D | print-stale-test-expectations-entries | 38 import time namespace
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/ |
H A D | file_uploader.py | 30 import time namespace
|
H A D | networktransaction.py | 30 import time namespace 66 time.sleep(self._backoff_seconds)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/ |
H A D | pywebsocket.py | 34 import time namespace 59 time_str = time.strftime('%d%b%Y-%H%M%S')
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/test/ |
H A D | runner.py | 27 import time namespace 84 start = time.time() 89 self._caller.post('finished_test', test_name, time.time() - start,
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
H A D | commitannouncer.py | 28 import time namespace 56 time.sleep(update_wait_seconds)
|