Home
last modified time | relevance | path

Searched refs:secs_part (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/chrono/src/
Doldtime.rs187 let secs_part = self.num_seconds() * MILLIS_PER_SEC; in num_milliseconds() localVariable
189 secs_part + nanos_part as i64 in num_milliseconds()
195 let secs_part = try_opt!(self.num_seconds().checked_mul(MICROS_PER_SEC)); in num_microseconds() localVariable
197 secs_part.checked_add(nanos_part as i64) in num_microseconds()
203 let secs_part = try_opt!(self.num_seconds().checked_mul(NANOS_PER_SEC as i64)); in num_nanoseconds() localVariable
205 secs_part.checked_add(nanos_part as i64) in num_nanoseconds()
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp80 auto secs_part = duration_cast<file_time_type::duration>(Sec(ts.tv_sec)); in ConvertFromTimeSpec() local
81 if (duration_cast<Sec>(secs_part).count() != ts.tv_sec) in ConvertFromTimeSpec()
84 auto dur = secs_part + subsecs; in ConvertFromTimeSpec()
85 if (dur < secs_part && subsecs.count() >= 0) in ConvertFromTimeSpec()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/
Dlast_write_time.pass.cpp82 auto secs_part = duration_cast<file_time_type::duration>(Sec(ts.tv_sec)); in ConvertFromTimeSpec() local
83 if (duration_cast<Sec>(secs_part).count() != ts.tv_sec) in ConvertFromTimeSpec()
86 auto dur = secs_part + subsecs; in ConvertFromTimeSpec()
87 if (dur < secs_part && subsecs.count() >= 0) in ConvertFromTimeSpec()