Home
last modified time | relevance | path

Searched refs:seconds (Results 1 – 25 of 66) sorted by relevance

123

/device/google/cuttlefish_common/common/libs/time/
Dmonotonic_time.h28 TimeDifference(time_t seconds, long nanoseconds, int64_t scale) : in TimeDifference() argument
30 ts_.tv_sec = seconds; in TimeDifference()
94 time_t seconds() const { in seconds() function
165 rval.ts_.tv_sec += other.seconds();
202 ts_.tv_sec += other.seconds();
212 ts_.tv_sec -= other.seconds();
245 Seconds(int64_t seconds) : in Seconds() argument
246 TimeDifference(seconds, 0, kNanosecondsPerSecond) { } in Seconds()
/device/google/cuttlefish_common/common/libs/utils/
Dsimulated_buffer.h116 cvd::time::Seconds seconds(now - base_time_); in Update()
117 base_time_ += seconds; in Update()
118 base_item_num_ += seconds.count() * items_per_second_; in Update()
137 int64_t seconds = (item - base_item_num_) / items_per_second_; in CalculateItemTime() local
138 int64_t new_base_item_num = base_item_num_ + seconds * items_per_second_; in CalculateItemTime()
139 return base_time_ + cvd::time::Seconds(seconds) + in CalculateItemTime()
/device/generic/goldfish/network/netmgr/
Dpoller.cpp45 auto seconds = duration_cast<std::chrono::seconds>(timeout); in calculateTimeout() local
47 auto nanos = duration_cast<std::chrono::nanoseconds>(timeout - seconds); in calculateTimeout()
49 ts->tv_sec = seconds.count(); in calculateTimeout()
/device/generic/goldfish/dhcp/client/
Dtimer.cpp31 void Timer::expireSeconds(uint64_t seconds) { in expireSeconds() argument
32 mExpires = now() + seconds * 1000u; in expireSeconds()
Dtimer.h30 void expireSeconds(uint64_t seconds);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dtimingmodule.c27 seconds(PyObject *self) in seconds() function
48 {"seconds", (PyCFunction)seconds, METH_NOARGS},
Dselectmodule.c216 long seconds; in select_select() local
241 seconds = (long)timeout; in select_select()
242 timeout = timeout - (double)seconds; in select_select()
243 tv.tv_sec = seconds; in select_select()
1521 long seconds; in kqueue_queue_control() local
1537 seconds = (long)timeout; in kqueue_queue_control()
1538 timeout = timeout - (double)seconds; in kqueue_queue_control()
1539 timeoutspec.tv_sec = seconds; in kqueue_queue_control()
Ddatetimemodule.c83 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)
87 #define SET_TD_SECONDS(o, v) ((o)->seconds = (v))
731 new_delta_ex(int days, int seconds, int microseconds, int normalize, in new_delta_ex() argument
737 normalize_d_s_us(&days, &seconds, &microseconds); in new_delta_ex()
738 assert(0 <= seconds && seconds < 24*3600); in new_delta_ex()
748 SET_TD_SECONDS(self, seconds); in new_delta_ex()
1081 format_ctime(PyDateTime_Date *date, int hours, int minutes, int seconds) in format_ctime() argument
1096 GET_DAY(date), hours, minutes, seconds, in format_ctime()
1685 int seconds = GET_TD_SECONDS(left) + GET_TD_SECONDS(right); in delta_add() local
1688 result = new_delta(days, seconds, microseconds, 1); in delta_add()
[all …]
/device/linaro/hikey/installer/hikey/
DREADME23 Note: The HiKey board will remain in USB load mode for 90 seconds
24 from power up. If you take longer than 90 seconds to start the install
27 Wait about 5 seconds and then check that the HiKey board has been
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxa_profiler.h100 int seconds = (int)(total_seconds % 60); in xa_compute_mcps() local
105 p_prof->frame_count, (uint32_t)minutes, (uint32_t)seconds, (uint32_t)msec, in xa_compute_mcps()
109 p_prof->frame_count, gen_strm_pos, minutes, seconds, msec, in xa_compute_mcps()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Ddatetime.h39 int seconds; /* 0 <= seconds < 24*3600 is invariant */ member
221 #define PyDelta_FromDSU(days, seconds, useconds) \ argument
222 PyDateTimeAPI->Delta_FromDelta(days, seconds, useconds, 1, \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Ddatetime.h39 int seconds; /* 0 <= seconds < 24*3600 is invariant */ member
221 #define PyDelta_FromDSU(days, seconds, useconds) \ argument
222 PyDateTimeAPI->Delta_FromDelta(days, seconds, useconds, 1, \
/device/google/marlin/
DWCNSS_qcom_cfg.ini192 #Timer value is in seconds
258 # Increase sleep duration (seconds) during IMPS
486 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
487 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 se…
491 #If doesn't honor for 5 seconds then DUT remove client.
493 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try…
495 #Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod …
541 #Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_assertions.py47 second = first + datetime.timedelta(seconds=10)
49 delta=datetime.timedelta(seconds=20))
51 delta=datetime.timedelta(seconds=5))
/device/google/muskie/
DWCNSS_qcom_cfg.ini262 #Timer value is in seconds
335 # Increase sleep duration (seconds) during IMPS
537 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
538 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 se…
542 #If doesn't honor for 5 seconds then DUT remove client.
544 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try…
546 #Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod …
589 #Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
/device/google/taimen/
DWCNSS_qcom_cfg.ini262 #Timer value is in seconds
335 # Increase sleep duration (seconds) during IMPS
537 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
538 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 se…
542 #If doesn't honor for 5 seconds then DUT remove client.
544 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try…
546 #Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod …
589 #Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
/device/google/crosshatch/
DWCNSS_qcom_cfg.ini253 #Timer value is in seconds
320 # Increase sleep duration (seconds) during IMPS
517 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
518 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 se…
522 #If doesn't honor for 5 seconds then DUT remove client.
606 #Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
704 #Timer value is in seconds
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_datetime.py175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0,
178 eq(td(0, 1), td(seconds=1))
183 eq(td(minutes=1), td(seconds=60))
184 eq(td(seconds=1), td(milliseconds=1000))
191 eq(td(minutes=1.0/60), td(seconds=1))
192 eq(td(seconds=0.001), td(milliseconds=1))
267 days, seconds, us = 1, 7, 31
268 td = timedelta(days, seconds, us)
270 self.assertEqual(td.seconds, seconds)
277 td = timedelta(seconds=total_seconds)
[all …]
/device/google/bonito/
DWCNSS_qcom_cfg.ini253 #Timer value is in seconds
320 # Increase sleep duration (seconds) during IMPS
517 #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
518 #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 se…
522 #If doesn't honor for 5 seconds then DUT remove client.
606 #Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
/device/generic/goldfish/camera/fake-pipeline2/
DScene.h59 void setExposureDuration(float seconds);
/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/
DScene.h55 void setExposureDuration(float seconds);
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Application/FirmwareUpdate/
DFirmwareUpdateStrings.uni32 #string STR_FWUPDATE_RESET #language en-US "\rResetting system in %d seconds ..."
34 #string STR_FWUPDATE_SHUTDOWN #language en-US "\rShutdown system in %d seconds ..." …
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
Dselectmodule.c216 long seconds; in select_select() local
241 seconds = (long)timeout; in select_select()
242 timeout = timeout - (double)seconds; in select_select()
243 tv.tv_sec = seconds; in select_select()
1521 long seconds; in kqueue_queue_control() local
1537 seconds = (long)timeout; in kqueue_queue_control()
1538 timeout = timeout - (double)seconds; in kqueue_queue_control()
1539 timeoutspec.tv_sec = seconds; in kqueue_queue_control()
/device/google/cuttlefish_common/common/vsoc/lib/
Dmock_region_view.h96 std::chrono::seconds(kWaitTimeoutInSec)) == in IsBlocking()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Ddatetimemodule.c83 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)
87 #define SET_TD_SECONDS(o, v) ((o)->seconds = (v))
731 new_delta_ex(int days, int seconds, int microseconds, int normalize, in new_delta_ex() argument
737 normalize_d_s_us(&days, &seconds, &microseconds); in new_delta_ex()
738 assert(0 <= seconds && seconds < 24*3600); in new_delta_ex()
748 SET_TD_SECONDS(self, seconds); in new_delta_ex()
1081 format_ctime(PyDateTime_Date *date, int hours, int minutes, int seconds) in format_ctime() argument
1096 GET_DAY(date), hours, minutes, seconds, in format_ctime()
1685 int seconds = GET_TD_SECONDS(left) + GET_TD_SECONDS(right); in delta_add() local
1688 result = new_delta(days, seconds, microseconds, 1); in delta_add()
[all …]

123