/external/chromium_org/third_party/WebKit/Source/core/dom/ |
DOMTimeStamp.h | 38 inline DOMTimeStamp convertSecondsToDOMTimeStamp(double seconds) 40 return static_cast<DOMTimeStamp>(seconds * 1000.0);
|
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
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), 5);
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
sleep.c | 44 __sleep(unsigned int seconds) 50 * Avoid overflow when `seconds' is huge. This assumes that 53 if (seconds > INT_MAX) 54 return (seconds - INT_MAX + __sleep(INT_MAX)); 56 time_to_sleep.tv_sec = seconds; 61 return (seconds); /* best guess */
|
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/developers/samples/android/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/development/samples/browseable/Timer/Wearable/src/com.example.android.wearable.timer/util/ |
TimerFormat.java | 41 * Update the time to display. Separates that time into the hours, minutes, seconds. 54 long seconds = time / 1000; local 55 long hundreds = (time - seconds * 1000) / 10; 56 long minutes = seconds / 60; 57 seconds = seconds - minutes * 60; 63 // The time can be between 0 and -1 seconds, but the "truncated" equivalent time of hours 64 // and minutes and seconds could be zero, so since we do not show fractions of seconds 66 if (hours == 0 && minutes == 0 && seconds == 0) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HeaderParser.java | 54 long seconds = Long.parseLong(value); local 55 if (seconds > Integer.MAX_VALUE) { 57 } else if (seconds < 0) { 60 return (int) seconds;
|
/external/libcxx/test/utilities/time/time.duration/time.duration.arithmetic/ |
op_+=.pass.cpp | 21 std::chrono::seconds s(3); 22 s += std::chrono::seconds(2);
|
op_-=.pass.cpp | 21 std::chrono::seconds s(3); 22 s -= std::chrono::seconds(2);
|
/external/llvm/include/llvm/Support/ |
Watchdog.h | 28 Watchdog(unsigned int seconds);
|
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
clock.h | 20 // January 1970, in NTP seconds. 39 // Retrieve an NTP absolute timestamp in seconds and fractions of a second. 40 virtual void CurrentNtp(uint32_t& seconds, uint32_t& fractions) const = 0; 46 static int64_t NtpToMs(uint32_t seconds, uint32_t fractions); 67 virtual void CurrentNtp(uint32_t& seconds,
|
/external/chromium_org/components/component_updater/test/ |
test_configurator.cc | 126 void TestConfigurator::SetRecheckTime(int seconds) { 127 recheck_time_ = seconds; 130 void TestConfigurator::SetOnDemandTime(int seconds) { 131 ondemand_time_ = seconds; 138 void TestConfigurator::SetInitialDelay(int seconds) { 139 initial_time_ = seconds;
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_recent.h | 40 __u32 seconds; member in struct:xt_recent_mtinfo 50 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/development/ndk/platforms/android-L/include/linux/netfilter/ |
xt_recent.h | 40 __u32 seconds; member in struct:xt_recent_mtinfo 50 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/device/samsung/manta/bubblelevel/ |
BubbleLevel.h | 37 // Set the callback interval in seconds 38 virtual int setPollInterval(unsigned int seconds) = 0; 59 // Set the callback interval in seconds 61 unsigned int seconds);
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
repaint_continuously.py | 13 until self.seconds have elapsed AND at least three RAFs have been fired. Times 14 out after max(60, self.seconds), if less than three RAFs were fired. 17 def __init__(self, seconds): 19 self._seconds = seconds 30 # Wait until at least self.seconds have elapsed AND min_rafs have been 31 # fired. Use a hard time-out after 60 seconds (or self.seconds).
|
/external/iptables/include/linux/netfilter/ |
xt_recent.h | 27 __u32 seconds; member in struct:xt_recent_mtinfo 36 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
xt_recent.h | 27 __u32 seconds; member in struct:xt_recent_mtinfo 36 __u32 seconds; member in struct:xt_recent_mtinfo_v1
|
/external/libcxx/test/utilities/time/time.duration/time.duration.nonmember/ |
op_+.pass.cpp | 24 std::chrono::seconds s1(3); 25 std::chrono::seconds s2(5); 26 std::chrono::seconds r = s1 + s2; 30 std::chrono::seconds s1(3); 49 constexpr std::chrono::seconds s1(3); 50 constexpr std::chrono::seconds s2(5); 51 constexpr std::chrono::seconds r = s1 + s2; 55 constexpr std::chrono::seconds s1(3);
|
op_-.pass.cpp | 25 std::chrono::seconds s1(3); 26 std::chrono::seconds s2(5); 27 std::chrono::seconds r = s1 - s2; 31 std::chrono::seconds s1(3); 50 constexpr std::chrono::seconds s1(3); 51 constexpr std::chrono::seconds s2(5); 52 constexpr std::chrono::seconds r = s1 - s2; 56 constexpr std::chrono::seconds s1(3);
|
/bionic/libc/kernel/uapi/scsi/ |
scsi_netlink_fc.h | 27 uint64_t seconds; member in struct:fc_nl_event
|
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/ |
ipt_recent.h | 30 u_int32_t seconds; member in struct:ipt_recent_info
|
/development/samples/training/notify-user/src/com/example/android/pingme/ |
MainActivity.java | 44 int seconds; local 54 // The number of seconds the timer should run. 60 seconds = R.string.seconds_default; 62 seconds = Integer.parseInt(input); 64 int milliseconds = (seconds * 1000);
|
/external/chromium_org/media/base/ |
wall_clock_time_source_unittest.cc | 19 void AdvanceTimeInSeconds(int seconds) { 20 tick_clock_->Advance(base::TimeDelta::FromSeconds(seconds)); 27 void SetMediaTimeInSeconds(int seconds) { 28 return time_source_.SetMediaTime(base::TimeDelta::FromSeconds(seconds));
|
/external/chromium_org/media/blink/ |
webmediaplayer_util.h | 19 // seconds to an int64 timestamp. 22 base::TimeDelta MEDIA_EXPORT ConvertSecondsToTimestamp(double seconds);
|