/external/llvm/lib/Support/Unix/ |
H A D | Watchdog.inc | 20 Watchdog::Watchdog(unsigned int seconds) { 22 alarm(seconds);
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
H A D | Watchdog.inc | 20 Watchdog::Watchdog(unsigned int seconds) { 22 alarm(seconds);
|
/external/autotest/client/site_tests/power_LoadTest/extension/ |
H A D | params.js | 5 // Convert seconds to milliseconds 6 function seconds(s) { function 12 return seconds(m * 60); 16 var test_startup_delay = seconds(5);
|
H A D | time.js | 5 // Convert seconds to milliseconds 6 function seconds(s) { function 12 return seconds(m * 60);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_nolibc.cc | 26 void SleepForSeconds(int seconds) { internal_sleep(seconds); } argument
|
/external/libcxx/test/std/experimental/utilities/time/header.chrono.synop/ |
H A D | includes.pass.cpp | 17 std::chrono::seconds s;
|
/external/autotest/client/site_tests/power_KernelSuspend/ |
H A D | power_KernelSuspend.py | 13 def run_once(self, seconds=10): 15 sys_power.kernel_suspend(seconds)
|
/external/autotest/client/tests/sleeptest/ |
H A D | sleeptest.py | 7 def run_once(self, seconds=1): 8 time.sleep(seconds)
|
/external/autotest/server/tests/sleeptest/ |
H A D | sleeptest.py | 7 def run_once(self, host=None, seconds=1): 8 time.sleep(seconds)
|
/external/llvm/lib/Support/Windows/ |
H A D | Watchdog.inc | 21 Watchdog::Watchdog(unsigned int seconds) {}
|
/external/webrtc/webrtc/system_wrappers/source/ |
H A D | clock_unittest.cc | 19 uint32_t seconds; local 21 clock->CurrentNtp(seconds, fractions); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100);
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | time.h | 48 // Converts a timestamp (seconds elapsed since 1970-01-01T00:00:00, could be 52 bool LIBPROTOBUF_EXPORT SecondsToDateTime(int64 seconds, DateTime* time); 53 // Converts DateTime to a timestamp (seconds since 1970-01-01T00:00:00). 55 bool LIBPROTOBUF_EXPORT DateTimeToSeconds(const DateTime& time, int64* seconds); 57 void LIBPROTOBUF_EXPORT GetCurrentTime(int64* seconds, int32* nanos); 66 string LIBPROTOBUF_EXPORT FormatTime(int64 seconds, int32 nanos); 69 bool LIBPROTOBUF_EXPORT ParseTime(const string& vaule, int64* seconds, int32* nanos);
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
H A D | DurationPartial.cs | 53 /// The maximum permitted number of seconds. 58 /// The minimum permitted number of seconds. 65 internal static bool IsNormalized(long seconds, int nanoseconds) argument 68 if (seconds < MinSeconds || seconds > MaxSeconds || 75 return Math.Sign(seconds) * Math.Sign(nanoseconds) != -1; 108 long seconds = ticks / TimeSpan.TicksPerSecond; 110 return new Duration { Seconds = seconds, Nanos = nanos }; 161 /// Creates a duration with the normalized values from the given number of seconds and 164 internal static Duration Normalize(long seconds, in argument 197 ToJson(long seconds, int nanoseconds, bool diagnosticOnly) argument [all...] |
/external/curl/docs/cmdline-opts/ |
H A D | connect-timeout.d | 2 Arg: <seconds> 6 Maximum time in seconds that you allow curl's connection to take. This only
|
/external/google-benchmark/src/ |
H A D | sleep.cc | 31 void SleepForSeconds(double seconds) { argument 32 SleepForMilliseconds(static_cast<int>(kNumMillisPerSecond * seconds)); 47 void SleepForSeconds(double seconds) { 48 SleepForMicroseconds(static_cast<int>(seconds * kNumMicrosPerSecond));
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
H A D | op_+=.pass.cpp | 24 std::chrono::seconds s(3); 25 s += std::chrono::seconds(2); 35 std::chrono::seconds s(3); 36 s += std::chrono::seconds(2);
|
H A D | op_-=.pass.cpp | 24 std::chrono::seconds s(3); 25 s -= std::chrono::seconds(2); 35 std::chrono::seconds s(3); 36 s -= std::chrono::seconds(2);
|
/external/libcxx/utils/google-benchmark/src/ |
H A D | sleep.cc | 30 void SleepForSeconds(double seconds) { argument 31 SleepForMilliseconds(static_cast<int>(kNumMillisPerSecond * seconds)); 46 void SleepForSeconds(double seconds) { 47 SleepForMicroseconds(static_cast<int>(seconds * kNumMicrosPerSecond));
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | HeaderParser.java | 54 long seconds = Long.parseLong(value); 55 if (seconds > Integer.MAX_VALUE) { 57 } else if (seconds < 0) { 60 return (int) seconds;
|
/external/swiftshader/src/Common/ |
H A D | Timer.hpp | 29 static double seconds();
|
/external/protobuf/src/google/protobuf/util/ |
H A D | time_util.cc | 54 static const int kSecondsPerMinute = 60; // Note that we ignore leap seconds. 59 T CreateNormalized(int64 seconds, int64 nanos); 62 Timestamp CreateNormalized(int64 seconds, int64 nanos) { argument 65 seconds += nanos / kNanosPerSecond; 70 seconds -= 1; 73 GOOGLE_DCHECK(seconds >= TimeUtil::kTimestampMinSeconds && 74 seconds <= TimeUtil::kTimestampMaxSeconds); 76 result.set_seconds(seconds); 82 Duration CreateNormalized(int64 seconds, int64 nanos) { argument 85 seconds 116 FormatTime(int64 seconds, int32 nanos) argument 120 ParseTime(const string& value, int64* seconds, int32* nanos) argument 124 CurrentTime(int64* seconds, int32* nanos) argument 150 int64 seconds; local 160 int64 seconds; local 170 int64 seconds = duration.seconds(); local 211 int64 seconds = strto64(seconds_part.c_str(), &end, 10); local 247 SecondsToDuration(int64 seconds) argument 302 SecondsToTimestamp(int64 seconds) argument 397 int64 seconds = static_cast<int64>(Uint128Low64(value / kNanosPerSecond)); local 412 int64 seconds = static_cast<int64>(Uint128Low64(value / kNanosPerSecond)); local 451 int64 seconds = static_cast<int64>(result); local [all...] |
/external/autotest/client/tests/flaky_test/ |
H A D | flaky_test.py | 11 def run_once(self, seconds=1): 15 time.sleep(seconds)
|
/external/autotest/server/site_tests/dummy_FlakyTestServer/ |
H A D | flaky_test.py | 11 def run_once(self, seconds=1): 15 time.sleep(seconds)
|
/external/syslinux/com32/lib/sys/ |
H A D | sleep.c | 19 unsigned int sleep(unsigned int seconds) argument 21 return msleep(seconds * 1000);
|
/external/webrtc/webrtc/system_wrappers/include/ |
H A D | ntp_time.h | 24 NtpTime(uint32_t seconds, uint32_t fractions) argument 25 : seconds_(seconds), fractions_(fractions) {} 33 void Set(uint32_t seconds, uint32_t fractions) { argument 34 seconds_ = seconds; 47 uint32_t seconds() const { return seconds_; } function in class:webrtc::NtpTime 56 return n1.seconds() == n2.seconds() && n1.fractions() == n2.fractions();
|