Home
last modified time | relevance | path

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

12345678

/external/golang-protobuf/ptypes/duration/
Dduration.pb.go83 type Duration struct { struct
87 Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
94 Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
95 XXX_NoUnkeyedLiteral struct{} `json:"-"`
96 XXX_unrecognized []byte `json:"-"`
97 XXX_sizecache int32 `json:"-"`
100 func (m *Duration) Reset() { *m = Duration{} }
101 func (m *Duration) String() string { return proto.CompactTextString(m) }
102 func (*Duration) ProtoMessage() {}
103 func (*Duration) Descriptor() ([]byte, []int) {
[all …]
/external/rust/crates/chrono/src/
Doldtime.rs50 pub struct Duration { struct
55 /// The minimum possible `Duration`: `i64::MIN` milliseconds. argument
67 impl Duration { implementation
72 pub fn weeks(weeks: i64) -> Duration { in weeks() method
81 pub fn days(days: i64) -> Duration { in days() method
90 pub fn hours(hours: i64) -> Duration { in hours() method
99 pub fn minutes(minutes: i64) -> Duration { in minutes() method
108 pub fn seconds(seconds: i64) -> Duration { in seconds() method
118 pub fn milliseconds(milliseconds: i64) -> Duration { in milliseconds() method
126 pub fn microseconds(microseconds: i64) -> Duration { in microseconds() method
[all …]
/external/angle/third_party/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 …]
/external/abseil-cpp/absl/time/
Dduration_test.cc63 TEST(Duration, ConstExpr) { in TEST() argument
74 TEST(Duration, ValueSemantics) { in TEST() argument
84 TEST(Duration, Factories) { in TEST() argument
124 TEST(Duration, ToConversion) { in TEST() argument
199 TEST(Duration, ToConversionDeprecated) { in TEST() argument
224 TEST(Duration, FromChrono) { in TEST() argument
305 TEST(Duration, ToChrono) { in TEST() argument
350 TEST(Duration, FactoryOverloads) { in TEST() argument
395 TEST(Duration, InfinityExamples) { in TEST() argument
415 TEST(Duration, InfinityComparison) { in TEST() argument
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dduration_test.cc63 TEST(Duration, ConstExpr) { in TEST() argument
74 TEST(Duration, ValueSemantics) { in TEST() argument
84 TEST(Duration, Factories) { in TEST() argument
124 TEST(Duration, ToConversion) { in TEST() argument
199 TEST(Duration, ToConversionDeprecated) { in TEST() argument
224 TEST(Duration, FromChrono) { in TEST() argument
305 TEST(Duration, ToChrono) { in TEST() argument
350 TEST(Duration, FactoryOverloads) { in TEST() argument
395 TEST(Duration, InfinityExamples) { in TEST() argument
415 TEST(Duration, InfinityComparison) { in TEST() argument
[all …]
/external/webrtc/third_party/abseil-cpp/absl/time/
Dduration_test.cc63 TEST(Duration, ConstExpr) { in TEST() argument
74 TEST(Duration, ValueSemantics) { in TEST() argument
84 TEST(Duration, Factories) { in TEST() argument
124 TEST(Duration, ToConversion) { in TEST() argument
199 TEST(Duration, ToConversionDeprecated) { in TEST() argument
224 TEST(Duration, FromChrono) { in TEST() argument
305 TEST(Duration, ToChrono) { in TEST() argument
350 TEST(Duration, FactoryOverloads) { in TEST() argument
395 TEST(Duration, InfinityExamples) { in TEST() argument
415 TEST(Duration, InfinityComparison) { in TEST() argument
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/
Dduration_test.cc63 TEST(Duration, ConstExpr) { in TEST() argument
74 TEST(Duration, ValueSemantics) { in TEST() argument
84 TEST(Duration, Factories) { in TEST() argument
124 TEST(Duration, ToConversion) { in TEST() argument
199 TEST(Duration, ToConversionDeprecated) { in TEST() argument
224 TEST(Duration, FromChrono) { in TEST() argument
305 TEST(Duration, ToChrono) { in TEST() argument
350 TEST(Duration, FactoryOverloads) { in TEST() argument
395 TEST(Duration, InfinityExamples) { in TEST() argument
415 TEST(Duration, InfinityComparison) { in TEST() argument
[all …]
/external/openscreen/third_party/abseil/src/absl/time/
Dduration_test.cc63 TEST(Duration, ConstExpr) { in TEST() argument
74 TEST(Duration, ValueSemantics) { in TEST() argument
84 TEST(Duration, Factories) { in TEST() argument
124 TEST(Duration, ToConversion) { in TEST() argument
199 TEST(Duration, ToConversionDeprecated) { in TEST() argument
224 TEST(Duration, FromChrono) { in TEST() argument
305 TEST(Duration, ToChrono) { in TEST() argument
350 TEST(Duration, FactoryOverloads) { in TEST() argument
395 TEST(Duration, InfinityExamples) { in TEST() argument
415 TEST(Duration, InfinityComparison) { in TEST() argument
[all …]
/external/rust/crates/protobuf/src/well_known_types/
Dduration.rs24 pub struct Duration { struct
35 impl<'a> ::std::default::Default for &'a Duration { argument
41 impl Duration { implementation
77 impl crate::Message for Duration { implementation
192 impl crate::Clear for Duration { implementation
200 impl ::std::fmt::Debug for Duration { implementation
206 impl crate::reflect::ProtobufValue for Duration { implementation
/external/golang-protobuf/ptypes/
Dduration.go56 func validateDuration(d *durpb.Duration) error {
76 func Duration(p *durpb.Duration) (time.Duration, error) { argument
94 func DurationProto(d time.Duration) *durpb.Duration {
/external/rust/crates/tokio/src/time/
Dinstant.rs75 pub fn duration_since(&self, earlier: Instant) -> Duration { in duration_since()
96 pub fn checked_duration_since(&self, earlier: Instant) -> Option<Duration> { in checked_duration_since()
117 pub fn saturating_duration_since(&self, earlier: Instant) -> Duration { in saturating_duration_since()
142 pub fn elapsed(&self) -> Duration { in elapsed()
182 fn add_assign(&mut self, rhs: Duration) { in add_assign()
190 fn sub(self, rhs: Instant) -> Duration { in sub()
204 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
/external/rust/crates/instant/src/
Dwasm.rs22 pub fn duration_since(&self, earlier: Instant) -> Duration { in duration_since()
31 pub fn elapsed(&self) -> Duration { in elapsed()
63 fn add_assign(&mut self, rhs: Duration) { in add_assign()
81 fn sub(self, rhs: Instant) -> Duration { in sub()
88 fn sub_assign(&mut self, rhs: Duration) { in sub_assign()
93 fn duration_from_f64(millis: f64) -> Duration { in duration_from_f64()
/external/libcxx/test/std/utilities/time/time.point/time.point.arithmetic/
Dop_+=.pass.cpp26 typedef std::chrono::milliseconds Duration; in constexpr_test() typedef
37 typedef std::chrono::milliseconds Duration; in main() typedef
Dop_-=.pass.cpp26 typedef std::chrono::milliseconds Duration; in constexpr_test() typedef
37 typedef std::chrono::milliseconds Duration; in main() typedef
/external/llvm-project/libcxx/test/std/utilities/time/time.point/time.point.arithmetic/
Dop_-=.pass.cpp25 typedef std::chrono::milliseconds Duration; in constexpr_test() typedef
36 typedef std::chrono::milliseconds Duration; in main() typedef
Dop_+=.pass.cpp25 typedef std::chrono::milliseconds Duration; in constexpr_test() typedef
36 typedef std::chrono::milliseconds Duration; in main() typedef
/external/crosvm/sys_util/src/
Dclock.rs24 pub fn duration_since(&self, earlier: &Self) -> Duration { in duration_since()
28 pub fn elapsed(&self) -> Duration { in elapsed()
74 pub fn duration_since(&self, earlier: &Self) -> Duration { in duration_since()
80 pub fn elapsed(&self) -> Duration { in elapsed()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDuration.cs103 public sealed partial class Duration : pb::IMessage<Duration> { class
120 public Duration() { in Duration() method in Google.Protobuf.WellKnownTypes.Duration
127 public Duration(Duration other) : this() { in Duration() method in Google.Protobuf.WellKnownTypes.Duration
/external/opencensus-java/api/src/main/java/io/opencensus/common/
DDuration.java37 public abstract class Duration implements Comparable<Duration> { class
135 Duration() {} in Duration() method in Duration
/external/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 {
/external/adhd/sound_card_init/dsm/src/
Dutils.rs15 fn duration_from_file(path: &PathBuf) -> Result<Duration> { in duration_from_file()
47 pub fn from_file(snd_card: &str) -> Result<Duration> { in from_file()
/external/rust/crates/mio/src/sys/shell/
Dtcp.rs54 pub(crate) fn get_linger(_: TcpSocket) -> io::Result<Option<Duration>> { in get_linger()
95 pub(crate) fn get_keepalive_time(_: TcpSocket) -> io::Result<Option<Duration>> { in get_keepalive_time()
106 pub(crate) fn get_keepalive_interval(_: TcpSocket) -> io::Result<Option<Duration>> { in get_keepalive_interval()
/external/protobuf/src/google/protobuf/
Dduration.pb.cc93 Duration::Duration() in Duration() function in Duration
98 Duration::Duration(::PROTOBUF_NAMESPACE_ID::Arena* arena) in Duration() function in Duration
105 Duration::Duration(const Duration& from) in Duration() function in Duration
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/its/asn1/
DDuration.java20 public class Duration class
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/its/asn1/
DDuration.java22 public class Duration class

12345678