Home
last modified time | relevance | path

Searched defs:Duration (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration_test.cc64 TEST(Duration, ConstExpr) { in TEST() argument
75 TEST(Duration, ValueSemantics) { in TEST() argument
85 TEST(Duration, Factories) { in TEST() argument
125 TEST(Duration, ToConversion) { in TEST() argument
200 TEST(Duration, ToConversionDeprecated) { in TEST() argument
225 TEST(Duration, FromChrono) { in TEST() argument
306 TEST(Duration, ToChrono) { in TEST() argument
351 TEST(Duration, FactoryOverloads) { in TEST() argument
396 TEST(Duration, InfinityExamples) { in TEST() argument
416 TEST(Duration, InfinityComparison) { in TEST() argument
[all …]
Dtime.h94 class Duration; // Defined below variable
162 constexpr Duration() : rep_hi_(0), rep_lo_(0) {} // zero-length duration in Duration() function
167 constexpr Duration(const Duration& d) in Duration() function
219 constexpr Duration(int64_t hi, uint32_t lo) : rep_hi_(hi), rep_lo_(lo) {} in Duration() function
/third_party/rust/crates/humantime/src/
Dwrapper.rs26 pub struct Duration(StdDuration); struct
49 impl AsRef<StdDuration> for Duration { implementation
53 impl Deref for Duration { implementation
58 impl Into<StdDuration> for Duration { implementation
62 impl From<StdDuration> for Duration { implementation
63 fn from(dur: StdDuration) -> Duration { Duration(dur) } in from()
66 impl FromStr for Duration { implementation
68 fn from_str(s: &str) -> Result<Duration, Self::Err> { in from_str()
73 impl fmt::Display for Duration { implementation
Dduration.rs156 fn parse(mut self) -> Result<Duration, Error> { in parse()
230 pub fn parse_duration(s: &str) -> Result<Duration, Error> { in parse_duration()
290 pub fn get_ref(&self) -> &Duration { in get_ref()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDuration.cs103 public sealed partial class Duration : pb::IMessage<Duration> class
124 public Duration() { in Duration() method in Google.Protobuf.WellKnownTypes.Duration
131 public Duration(Duration other) : this() { in Duration() method in Google.Protobuf.WellKnownTypes.Duration
DDurationPartial.cs41 public partial class Duration : ICustomDiagnosticMessage class
/third_party/skia/third_party/externals/swiftshader/tests/regres/shell/
Dshell.go33 func Shell(timeout time.Duration, exe, wd string, args ...string) error {
40 func Env(timeout time.Duration, exe, wd string, env []string, args ...string) error {
Dshell_windows.go26 func Exec(timeout time.Duration, exe, wd string, env []string, args ...string) ([]byte, error) {
Dshell_unix.go87 func Exec(timeout time.Duration, exe, wd string, env []string, args ...string) ([]byte, error) {
/third_party/protobuf/src/google/protobuf/
Dduration.pb.h58 class Duration; variable
72 inline Duration() : Duration(nullptr) {} in Duration() function
76 Duration(Duration&& from) noexcept in Duration() function
Dduration.proto103 message Duration { message
Dduration.pb.cc91 Duration::Duration(::PROTOBUF_NAMESPACE_ID::Arena* arena) in Duration() function in Duration
97 Duration::Duration(const Duration& from) in Duration() function in Duration
/third_party/protobuf/php/src/GPBMetadata/Google/Protobuf/
DDuration.php7 class Duration class
/third_party/rust/crates/rustix/src/net/
Dsockopt.rs144 pub fn get_socket_linger<Fd: AsFd>(fd: Fd) -> io::Result<Option<Duration>> { in get_socket_linger()
201 timeout: Option<Duration>, in set_socket_timeout()
225 pub fn get_socket_timeout<Fd: AsFd>(fd: Fd, id: Timeout) -> io::Result<Option<Duration>> { in get_socket_timeout()
/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Dsyscalls.rs891 linger: Option<Duration>, in set_socket_linger()
911 pub(crate) fn get_socket_linger(fd: BorrowedFd<'_>) -> io::Result<Option<Duration>> { in get_socket_linger()
935 timeout: Option<Duration>, in set_socket_timeout()
955 timeout: Option<Duration>, in set_socket_timeout_old()
969 ) -> io::Result<Option<Duration>> { in get_socket_timeout()
985 fn get_socket_timeout_old(fd: BorrowedFd<'_>, id: Timeout) -> io::Result<Option<Duration>> { in get_socket_timeout_old()
996 fn duration_from_linux(time: __kernel_timespec) -> Option<Duration> { in duration_from_linux()
1007 fn duration_from_linux_old(time: timeval) -> Option<Duration> { in duration_from_linux_old()
/third_party/protobuf/php/src/Google/Protobuf/
DDuration.php60 class Duration extends \Google\Protobuf\Internal\Message class
/third_party/protobuf/src/google/protobuf/util/
Dtime_util.h64 typedef google::protobuf::Duration Duration; typedef
/third_party/rust/crates/bindgen/bindgen/
Dtime.rs31 pub fn elapsed(&self) -> Duration { in elapsed()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/tools/bench/
Dbench.go33 Duration time.Duration member
/third_party/rust/crates/nix/src/sys/
Dsysinfo.rs35 pub fn uptime(&self) -> Duration { in uptime()
/third_party/rust/crates/rustix/src/backend/libc/net/
Dsyscalls.rs498 linger: Option<Duration>, in set_socket_linger()
518 pub(crate) fn get_socket_linger(fd: BorrowedFd<'_>) -> io::Result<Option<Duration>> { in get_socket_linger()
544 timeout: Option<Duration>, in set_socket_timeout()
609 ) -> io::Result<Option<Duration>> { in get_socket_timeout()
/third_party/rust/crates/syn/benches/
Drust.rs99 fn exec(mut codepath: impl FnMut(&str) -> Result<(), ()>) -> Duration { in exec()
/third_party/protobuf/php/tests/
DWellKnownTest.php13 use Google\Protobuf\Duration; alias
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCachePruning.cpp51 static Expected<std::chrono::seconds> parseDuration(StringRef Duration) { in parseDuration()
/third_party/skia/third_party/externals/swiftshader/tests/regres/deqp/
Ddeqp.go81 Duration time.Duration member

12