Home
last modified time | relevance | path

Searched refs:timestamp_nanos (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/chrono/src/offset/
Dmod.rs397 fn timestamp_nanos(&self, nanos: i64) -> DateTime<Self> { in timestamp_nanos() method
513 let dt = Utc.timestamp_nanos(-1_000_000_000); in test_negative_nanos()
515 let dt = Utc.timestamp_nanos(-999_999_999); in test_negative_nanos()
517 let dt = Utc.timestamp_nanos(-1); in test_negative_nanos()
519 let dt = Utc.timestamp_nanos(-60_000_000_000); in test_negative_nanos()
521 let dt = Utc.timestamp_nanos(-3_600_000_000_000); in test_negative_nanos()
527 Utc.timestamp_nanos(i64::max_value()); in test_nanos_never_panics()
528 Utc.timestamp_nanos(i64::default()); in test_nanos_never_panics()
529 Utc.timestamp_nanos(i64::min_value()); in test_nanos_never_panics()
/external/libchrome/base/android/library_loader/
Dlibrary_prefetcher.cc126 uint64_t timestamp_nanos; member
129 TimestampAndResidency(uint64_t timestamp_nanos, in TimestampAndResidency()
131 : timestamp_nanos(timestamp_nanos), residency(residency) {} in TimestampAndResidency()
178 base::StringPrintf("%" PRIu64 " ", data_point.timestamp_nanos); in DumpResidency()
/external/avb/proto/
Dtrillian.proto207 int64 timestamp_nanos = 1; field
244 // uint64 timestamp_nanos;
262 // | timestamp_nanos | revision |
278 reserved 1; // Deprecated: Was timestamp_nanos. Use map_root.
292 // uint64 timestamp_nanos;
/external/rust/crates/env_logger/src/fmt/humantime/
Dextern_impl.rs70 pub fn timestamp_nanos(&self) -> Timestamp { in timestamp_nanos() method
/external/rust/crates/chrono/src/
Dround.rs157 let stamp = self.timestamp_nanos(); in duration_round()
186 let stamp = self.timestamp_nanos(); in duration_trunc()
Ddatetime.rs163 pub fn timestamp_nanos(&self) -> i64 { in timestamp_nanos() method
164 self.datetime.timestamp_nanos() in timestamp_nanos()
1200 serializer.serialize_i64(dt.timestamp_nanos()) in serialize()
1353 Some(ref dt) => serializer.serialize_some(&dt.timestamp_nanos()), in serialize()
/external/rust/crates/chrono/src/naive/
Ddatetime.rs350 pub fn timestamp_nanos(&self) -> i64 { in timestamp_nanos() method
1826 serializer.serialize_i64(dt.timestamp_nanos()) in serialize()
2493 let nanos = parsed.timestamp_nanos(); in test_nanosecond_range()
2501 let nanos = parsed.timestamp_nanos(); in test_nanosecond_range()
/external/rust/crates/env_logger/src/fmt/
Dmod.rs288 Some(Nanos) => self.buf.timestamp_nanos(), in write_timestamp()
/external/rust/crates/chrono/
DCHANGELOG.md184 * Add `timestamp_nanos` methods (@jean-airoldie #308)