Home
last modified time | relevance | path

Searched defs:secs (Results 1 – 25 of 133) sorted by relevance

123456

/external/rust/crates/chrono/src/
Doldtime.rs51 secs: i64, field
73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable
82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable
91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable
100 let secs = minutes.checked_mul(SECS_PER_MINUTE).expect("Duration::minutes out of bounds"); in minutes() localVariable
210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable
228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable
319 let mut secs = self.secs + rhs.secs; in add() localVariable
333 let mut secs = self.secs - rhs.secs; in sub() localVariable
350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable
[all …]
/external/rust/crates/grpcio-sys/grpc/src/cpp/util/
Dtime_cc.cc34 seconds secs = duration_cast<seconds>(deadline); in Timepoint2Timespec() local
50 seconds secs = duration_cast<seconds>(deadline); in TimepointHR2Timespec() local
/external/grpc-grpc/src/cpp/util/
Dtime_cc.cc34 seconds secs = duration_cast<seconds>(deadline); in Timepoint2Timespec() local
50 seconds secs = duration_cast<seconds>(deadline); in TimepointHR2Timespec() local
/external/linux-kselftest/tools/testing/selftests/rtc/
Drtctest.c118 time_t secs, new; in TEST_F() local
172 time_t secs, new; in TEST_F() local
220 time_t secs, new; variable
274 time_t secs, new; variable
/external/rust/crates/chrono/src/naive/
Dtime.rs183 secs: u32, field
388 let secs = hour * 3600 + min * 60 + sec; in from_hms_nano_opt() localVariable
533 let mut secs = self.secs; in overflowing_add_signed() localVariable
568 let mut secs = secs as i32 + rhssecs; in overflowing_add_signed() localVariable
693 let secs = i64::from(self.secs) - i64::from(rhs.secs); in signed_duration_since() localVariable
906 let secs = hour * 3600 + self.secs % 3600; in with_hour() localVariable
928 let secs = self.secs / 3600 * 3600 + min * 60 + self.secs % 60; in with_minute() localVariable
952 let secs = self.secs / 60 * 60 + sec; in with_second() localVariable
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DTimestamp.java86 long secs = floorDiv(epochMilli, MILLIS_PER_SECOND); in fromMillis() local
186 long secs = TimeUtils.checkedAdd(epochSecond, floorDiv(nanoAdjustment, NANOS_PER_SECOND)); in ofEpochSecond() local
/external/libwebsockets/lib/core-net/
Dwsi-timeout.c125 __lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs) in __lws_set_timeout()
140 lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs) in lws_set_timeout()
/external/iperf3/src/
Diperf_time.h33 uint32_t secs; member
/external/libcups/cups/
Dtestgetdests.c28 double secs; /* Total seconds to run cupsGetDests */ in main() local
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dtime_precise.cc117 const double secs = in gpr_cycle_counter_to_time() local
128 const double secs = static_cast<double>(a - b) / cycles_per_second; in gpr_cycle_counter_sub() local
/external/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-driver.cpp16 static void SetTimeout(int secs) { in SetTimeout()
/external/skia/tools/viewer/
DAnimBlurSlide.cpp17 SkScalar get_anim_sin(double secs, SkScalar amplitude, SkScalar periodInSec, SkScalar phaseInSec) { in get_anim_sin()
/external/ltp/testcases/lib/
Dtst_sleep.c32 long interval, secs = 0, usecs = 0; in main() local
/external/python/cpython3/Python/
Dpytime.c459 _PyTime_t secs; in _PyTime_AsSecondsDouble() local
542 _PyTime_t secs, ns; in _PyTime_AsTimeval_impl() local
580 _PyTime_t secs, secs2; in _PyTime_AsTimevalStruct_impl() local
619 _PyTime_t secs; in _PyTime_AsTimevalTime_t() local
638 _PyTime_t secs, nsec; in _PyTime_AsTimespec() local
/external/tcpdump/
Dprint-ptp.c478 uint64_t secs; in ptp_print_timestamp() local
498 uint64_t secs; in ptp_print_timestamp_identity() local
534 uint64_t secs; in ptp_print_announce_msg() local
/external/python/cpython2/Modules/
Dtimemodule.c130 double secs; in time_time() local
203 double secs; in time_sleep() local
1035 floatsleep(double secs)
/external/openscreen/platform/base/
Dtrivial_clock_traits.cc29 std::ostream& operator<<(std::ostream& out, const std::chrono::seconds& secs) { in operator <<()
/external/grpc-grpc/src/core/lib/gpr/
Dtime_precise.cc63 double secs; in gpr_precise_clock_now() local
/external/musl/src/time/
D__secs_to_tm.c13 long long days, secs, years; in __secs_to_tm() local
/external/mtools/
Dmpartition.c190 uint16_t *hds, uint16_t *secs) { in setsize()
219 uint16_t *hds, uint16_t *secs) in setsize0()
/external/rust/crates/rustversion/src/
Dtime.rs33 let secs = since_epoch.as_secs(); in try_today() localVariable
/external/curl/tests/libtest/
Dtesttrace.c97 time_t secs; in libtest_debug_cb() local
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dsender_report.cc65 uint32_t secs = ByteReader<uint32_t>::ReadBigEndian(&payload[4]); in Parse() local
/external/linux-kselftest/tools/testing/selftests/timers/
Dclocksource-switch.c106 int run_tests(int secs) in run_tests()
/external/curl/src/
Dtool_cb_dbg.c55 time_t secs; in tool_debug_cb() local

123456