| /external/webrtc/logging/rtc_event_log/events/ | 
| D | logged_rtp_rtcp.h | 19 #include "api/units/timestamp.h" 34   LoggedRtpPacket(Timestamp timestamp,  in LoggedRtpPacket() 38       : timestamp(timestamp),  in LoggedRtpPacket() 43   int64_t log_time_us() const { return timestamp.us(); }  in log_time_us() 44   int64_t log_time_ms() const { return timestamp.ms(); }  in log_time_ms() 45   Timestamp log_time() const { return timestamp; }  in log_time() 47   Timestamp timestamp;  member 55   LoggedRtpPacketIncoming(Timestamp timestamp,  in LoggedRtpPacketIncoming() 59       : rtp(timestamp, header, header_length, total_length) {}  in LoggedRtpPacketIncoming() 60   int64_t log_time_us() const { return rtp.timestamp.us(); }  in log_time_us() [all …] 
 | 
| /external/opencensus-java/api/src/test/java/io/opencensus/common/ | 
| D | TimestampTest.java | 27 /** Unit tests for {@link Timestamp}. */ 34     assertThat(Timestamp.create(24, 42).getSeconds()).isEqualTo(24);  in timestampCreate() 35     assertThat(Timestamp.create(24, 42).getNanos()).isEqualTo(42);  in timestampCreate() 36     assertThat(Timestamp.create(-24, 42).getSeconds()).isEqualTo(-24);  in timestampCreate() 37     assertThat(Timestamp.create(-24, 42).getNanos()).isEqualTo(42);  in timestampCreate() 38     assertThat(Timestamp.create(315576000000L, 999999999).getSeconds()).isEqualTo(315576000000L);  in timestampCreate() 39     assertThat(Timestamp.create(315576000000L, 999999999).getNanos()).isEqualTo(999999999);  in timestampCreate() 40     assertThat(Timestamp.create(-315576000000L, 999999999).getSeconds()).isEqualTo(-315576000000L);  in timestampCreate() 41     assertThat(Timestamp.create(-315576000000L, 999999999).getNanos()).isEqualTo(999999999);  in timestampCreate() 48     Timestamp.create(-315576000001L, 0);  in create_SecondsTooLow() [all …] 
 | 
| /external/webrtc/api/units/ | 
| D | timestamp_unittest.cc | 13 #include "api/units/timestamp.h" 20   constexpr Timestamp kTimestampInf = Timestamp::PlusInfinity();  in TEST() 24   constexpr Timestamp kTimestampSeconds = Timestamp::Seconds(kValue);  in TEST() 25   constexpr Timestamp kTimestampMs = Timestamp::Millis(kValue);  in TEST() 26   constexpr Timestamp kTimestampUs = Timestamp::Micros(kValue);  in TEST() 41   EXPECT_EQ(Timestamp::Millis(kValue).ms(), kValue);  in TEST() 42   EXPECT_EQ(Timestamp::Micros(kValue).us(), kValue);  in TEST() 43   EXPECT_EQ(Timestamp::Seconds(kValue).seconds(), kValue);  in TEST() 48   EXPECT_EQ(Timestamp::Micros(kValue).seconds(), kValue / 1000000);  in TEST() 49   EXPECT_EQ(Timestamp::Millis(kValue).seconds(), kValue / 1000);  in TEST() [all …] 
 | 
| /external/perfetto/test/trace_processor/diff_tests/network/ | 
| D | netperf_metric.textproto | 5       timestamp: 99999900 13       timestamp: 99999920 20       timestamp: 99999930 28       timestamp: 99999940 35       timestamp: 99999945 42      timestamp: 100000000 50      timestamp: 100000000 57       timestamp: 100000000 65       timestamp: 100090000 77       timestamp: 100100000 [all …] 
 | 
| /external/protobuf/java/util/src/test/java/com/google/protobuf/util/ | 
| D | TimestampsTest.java | 39 import com.google.protobuf.Timestamp; 67   private static final Timestamp TIMESTAMP = timestamp(1409130915, 111000000);  field in TimestampsTest 68   private static final Timestamp ZERO_TIMESTAMP = timestamp(0, 0); 69   private static final Timestamp ONE_OF_TIMESTAMP = timestamp(-1, 999000000); 71   private static final Timestamp INVALID_MAX = 72       Timestamp.newBuilder().setSeconds(Long.MAX_VALUE).setNanos(Integer.MAX_VALUE).build(); 73   private static final Timestamp INVALID_MIN = 74       Timestamp.newBuilder().setSeconds(Long.MIN_VALUE).setNanos(Integer.MIN_VALUE).build(); 109     Timestamp start = Timestamps.parse("0001-01-01T00:00:00Z");  in testTimestampStringFormat() 110     Timestamp end = Timestamps.parse("9999-12-31T23:59:59.999999999Z");  in testTimestampStringFormat() [all …] 
 | 
| /external/cronet/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ | 
| D | TimestampsTest.java | 39 import com.google.protobuf.Timestamp; 67   private static final Timestamp TIMESTAMP = timestamp(1409130915, 111000000);  field in TimestampsTest 68   private static final Timestamp ZERO_TIMESTAMP = timestamp(0, 0); 69   private static final Timestamp ONE_OF_TIMESTAMP = timestamp(-1, 999000000); 71   private static final Timestamp INVALID_MAX = 72       Timestamp.newBuilder().setSeconds(Long.MAX_VALUE).setNanos(Integer.MAX_VALUE).build(); 73   private static final Timestamp INVALID_MIN = 74       Timestamp.newBuilder().setSeconds(Long.MIN_VALUE).setNanos(Integer.MIN_VALUE).build(); 109     Timestamp start = Timestamps.parse("0001-01-01T00:00:00Z");  in testTimestampStringFormat() 110     Timestamp end = Timestamps.parse("9999-12-31T23:59:59.999999999Z");  in testTimestampStringFormat() [all …] 
 | 
| /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ | 
| D | TimestampTest.java | 20 import java.sql.Timestamp; 29  * JUnit Testcase for the java.sql.Timestamp class 34     static class MockTimestamp extends Timestamp { 153         Timestamp theTimestamp = new Timestamp(TIME_TEST1);  in testTimestamplong() 154         // The Timestamp should have been created  in testTimestamplong() 157         Timestamp mockTimestamp = new MockTimestamp(TIME_TEST1);  in testTimestamplong() 190             Timestamp theTimestamp = new Timestamp(element[0], element[1],  in testTimestampintintintintintintint() 192             assertNotNull("Timestamp not generated: ", theTimestamp);  in testTimestampintintintintintintint() 199                 new Timestamp(element[0], element[1], element[2], element[3],  in testTimestampintintintintintintint() 216         Timestamp theTimestamp = new Timestamp(TIME_TEST1);  in testSetTimelong() [all …] 
 | 
| /external/cronet/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ | 
| D | Timestamps.java | 43 import com.google.protobuf.Timestamp; 54  * Utilities to help create/manipulate {@code protobuf/timestamp.proto}. All operations throw an 55  * {@link IllegalArgumentException} if the input(s) are not {@linkplain #isValid(Timestamp) valid}. 59   // Timestamp for "0001-01-01T00:00:00Z" 62   // Timestamp for "9999-12-31T23:59:59Z" 71   /** A constant holding the minimum valid {@link Timestamp}, {@code 0001-01-01T00:00:00Z}. */ 72   public static final Timestamp MIN_VALUE = 73       Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build(); 76    * A constant holding the maximum valid {@link Timestamp}, {@code 9999-12-31T23:59:59.999999999Z}. 78   public static final Timestamp MAX_VALUE = [all …] 
 | 
| /external/protobuf/java/util/src/main/java/com/google/protobuf/util/ | 
| D | Timestamps.java | 43 import com.google.protobuf.Timestamp; 54  * Utilities to help create/manipulate {@code protobuf/timestamp.proto}. All operations throw an 55  * {@link IllegalArgumentException} if the input(s) are not {@linkplain #isValid(Timestamp) valid}. 59   // Timestamp for "0001-01-01T00:00:00Z" 62   // Timestamp for "9999-12-31T23:59:59Z" 71   /** A constant holding the minimum valid {@link Timestamp}, {@code 0001-01-01T00:00:00Z}. */ 72   public static final Timestamp MIN_VALUE = 73       Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build(); 76    * A constant holding the maximum valid {@link Timestamp}, {@code 9999-12-31T23:59:59.999999999Z}. 78   public static final Timestamp MAX_VALUE = [all …] 
 | 
| /external/perfetto/src/trace_processor/importers/ftrace/ | 
| D | ftrace_parser.h | 57   void ParseGenericFtrace(int64_t timestamp, 62                              int64_t timestamp, 67   void ParseSchedSwitch(uint32_t cpu, int64_t timestamp, protozero::ConstBytes); 68   void ParseSchedWaking(int64_t timestamp, uint32_t pid, protozero::ConstBytes); 69   void ParseSchedProcessFree(int64_t timestamp, protozero::ConstBytes); 70   void ParseCpuFreq(int64_t timestamp, protozero::ConstBytes); 71   void ParseGpuFreq(int64_t timestamp, protozero::ConstBytes); 72   void ParseCpuIdle(int64_t timestamp, protozero::ConstBytes); 73   void ParsePrint(int64_t timestamp, uint32_t pid, protozero::ConstBytes); 74   void ParseZero(int64_t timestamp, uint32_t pid, protozero::ConstBytes); [all …] 
 | 
| /external/tcpdump/tests/ | 
| D | ntp-v.out | 5 	  Reference Timestamp:  0.000000000 6 	  Originator Timestamp: 0.000000000 7 	  Receive Timestamp:    0.000000000 8 	  Transmit Timestamp:   2763234513.007738396 (1987-07-25T21:08:33Z) 9 	    Originator - Receive Timestamp:  0.000000000 10 	    Originator - Transmit Timestamp: 2763234513.007738396 (1987-07-25T21:08:33Z) 17 	  Reference Timestamp:  0.000000000 18 	  Originator Timestamp: 2763234513.007738396 (1987-07-25T21:08:33Z) 19 	  Receive Timestamp:    3706870329.516015118 (2017-06-19T14:12:09Z) 20 	  Transmit Timestamp:   3706870329.516074047 (2017-06-19T14:12:09Z) [all …] 
 | 
| /external/webrtc/api/transport/ | 
| D | network_types.h | 21 #include "api/units/timestamp.h" 47   Timestamp at_time = Timestamp::PlusInfinity(); 61   Timestamp at_time = Timestamp::PlusInfinity(); 72   Timestamp at_time = Timestamp::PlusInfinity(); 80   Timestamp at_time = Timestamp::PlusInfinity(); 104   Timestamp send_time = Timestamp::PlusInfinity(); 123   Timestamp send_time = Timestamp::MinusInfinity(); 124   Timestamp receive_time = Timestamp::PlusInfinity(); 131   Timestamp receive_time = Timestamp::PlusInfinity(); 136   Timestamp receive_time = Timestamp::PlusInfinity(); [all …] 
 | 
| /external/cronet/third_party/protobuf/src/google/protobuf/util/ | 
| D | time_util.h | 31 // Defines utilities for the Timestamp and Duration well known types. 54 #include <google/protobuf/timestamp.pb.h> 63 // Utility functions for Timestamp and Duration. 65   typedef google::protobuf::Timestamp Timestamp;  typedef 69   // The min/max Timestamp/Duration values we support. 78   // Converts Timestamp to/from RFC 3339 date string format. 83   // Note that Timestamp can only represent time from 85   // a Timestamp outside of this range is undefined behavior. 93   static std::string ToString(const Timestamp& timestamp); 94   static bool FromString(const std::string& value, Timestamp* timestamp); [all …] 
 | 
| /external/protobuf/src/google/protobuf/util/ | 
| D | time_util.h | 31 // Defines utilities for the Timestamp and Duration well known types. 54 #include <google/protobuf/timestamp.pb.h> 63 // Utility functions for Timestamp and Duration. 65   typedef google::protobuf::Timestamp Timestamp;  typedef 69   // The min/max Timestamp/Duration values we support. 78   // Converts Timestamp to/from RFC 3339 date string format. 83   // Note that Timestamp can only represent time from 85   // a Timestamp outside of this range is undefined behavior. 93   static std::string ToString(const Timestamp& timestamp); 94   static bool FromString(const std::string& value, Timestamp* timestamp); [all …] 
 | 
| /external/cronet/third_party/protobuf/src/google/protobuf/ | 
| D | timestamp.pb.cc | 2 // source: google/protobuf/timestamp.proto 4 #include <google/protobuf/timestamp.pb.h> 24 PROTOBUF_CONSTEXPR Timestamp::Timestamp(  in Timestamp()  function in Timestamp 33     Timestamp _instance; 44   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Timestamp, _internal_metadata_), 49   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Timestamp, seconds_), 50   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Timestamp, nanos_), 53   { 0, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Timestamp)}, 61   "\n\037google/protobuf/timestamp.proto\022\017googl" 71     "google/protobuf/timestamp.proto", [all …] 
 | 
| D | timestamp.pb.h | 2 // source: google/protobuf/timestamp.proto 48 class Timestamp;  variable 53 …PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Timestamp* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE… 59 class PROTOBUF_EXPORT Timestamp final : 60 …_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Timestamp) */ { 62   inline Timestamp() : Timestamp(nullptr) {}  in Timestamp()  function 63   ~Timestamp() override; 64   explicit PROTOBUF_CONSTEXPR Timestamp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); 66   Timestamp(const Timestamp& from); 67   Timestamp(Timestamp&& from) noexcept  in Timestamp()  function [all …] 
 | 
| /external/protobuf/src/google/protobuf/ | 
| D | timestamp.pb.h | 2 // source: google/protobuf/timestamp.proto 48 class Timestamp;  variable 53 …PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Timestamp* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE… 59 class PROTOBUF_EXPORT Timestamp final : 60 …_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Timestamp) */ { 62   inline Timestamp() : Timestamp(nullptr) {}  in Timestamp()  function 63   ~Timestamp() override; 64   explicit PROTOBUF_CONSTEXPR Timestamp(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); 66   Timestamp(const Timestamp& from); 67   Timestamp(Timestamp&& from) noexcept  in Timestamp()  function [all …] 
 | 
| D | timestamp.pb.cc | 2 // source: google/protobuf/timestamp.proto 4 #include <google/protobuf/timestamp.pb.h> 24 PROTOBUF_CONSTEXPR Timestamp::Timestamp(  in Timestamp()  function in Timestamp 34     Timestamp _instance; 45   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Timestamp, _internal_metadata_), 50   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Timestamp, _impl_.seconds_), 51   PROTOBUF_FIELD_OFFSET(::PROTOBUF_NAMESPACE_ID::Timestamp, _impl_.nanos_), 54   { 0, -1, -1, sizeof(::PROTOBUF_NAMESPACE_ID::Timestamp)}, 62   "\n\037google/protobuf/timestamp.proto\022\017googl" 72     "google/protobuf/timestamp.proto", [all …] 
 | 
| /external/rust/crates/protobuf/src/well_known_types_util/ | 
| D | timestamp.rs | 4 use crate::well_known_types::timestamp::Timestamp; 7 impl Timestamp {  impl 8     /// Unix epoch value of timestamp. 9     pub const UNIX_EPOCH: Timestamp = Timestamp { 15     /// Return current time as `Timestamp`. 16     pub fn now() -> Timestamp {  in now() 17         Timestamp::from(SystemTime::now())  in now() 21 /// Convert from [`Timestamp`]. 25 /// This function panics if given `SystemTime` is outside of `Timestamp` range. 26 impl From<SystemTime> for Timestamp {  implementation [all …] 
 | 
| /external/golang-protobuf/types/known/timestamppb/ | 
| D | timestamp_test.go | 33 		want *tspb.Timestamp 35 		{in: time.Time{}, want: &tspb.Timestamp{Seconds: -62135596800, Nanos: 0}}, 36 		{in: time.Unix(0, 0), want: &tspb.Timestamp{Seconds: 0, Nanos: 0}}, 37 		{in: time.Unix(math.MinInt64, 0), want: &tspb.Timestamp{Seconds: math.MinInt64, Nanos: 0}}, 38 …{in: time.Unix(math.MaxInt64, 1e9-1), want: &tspb.Timestamp{Seconds: math.MaxInt64, Nanos: 1e9 - 1… 39 …{in: time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC), want: &tspb.Timestamp{Seconds: minTimestamp, Nanos:… 40 …{in: time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC).Add(-time.Nanosecond), want: &tspb.Timestamp{Seconds… 41 …{in: time.Date(9999, 12, 31, 23, 59, 59, 1e9-1, time.UTC), want: &tspb.Timestamp{Seconds: maxTimes… 42 …12, 31, 23, 59, 59, 1e9-1, time.UTC).Add(+time.Nanosecond), want: &tspb.Timestamp{Seconds: maxTime… 43 …{in: time.Date(1961, 1, 26, 0, 0, 0, 0, time.UTC), want: &tspb.Timestamp{Seconds: -281836800, Nano… [all …] 
 | 
| /external/webrtc/modules/remote_bitrate_estimator/ | 
| D | packet_arrival_map_test.cc | 30   map.AddPacket(42, Timestamp::Millis(10));  in TEST() 46   map.AddPacket(42, Timestamp::Zero());  in TEST() 47   map.AddPacket(45, Timestamp::Millis(11));  in TEST() 58   EXPECT_EQ(map.get(42), Timestamp::Zero());  in TEST() 59   EXPECT_LT(map.get(43), Timestamp::Zero());  in TEST() 60   EXPECT_LT(map.get(44), Timestamp::Zero());  in TEST() 61   EXPECT_EQ(map.get(45), Timestamp::Millis(11));  in TEST() 71   map.AddPacket(42, Timestamp::Zero());  in TEST() 72   map.AddPacket(45, Timestamp::Millis(11));  in TEST() 77   EXPECT_EQ(packet.arrival_time, Timestamp::Zero());  in TEST() [all …] 
 | 
| /external/webrtc/modules/video_coding/codecs/vp8/ | 
| D | default_temporal_layers_unittest.cc | 151   uint32_t timestamp = 0;  variable 156     Vp8FrameConfig tl_config = tl.NextFrameConfig(0, timestamp); 160     tl.OnEncodeDone(0, timestamp, kDefaultBytesPerFrame, is_keyframe, 169     timestamp += 3000; 208   unsigned int timestamp = 0;  variable 212     Vp8FrameConfig tl_config = tl.NextFrameConfig(0, timestamp); 216     tl.OnEncodeDone(0, timestamp, kDefaultBytesPerFrame, is_keyframe, 225     timestamp += 3000; 253   unsigned int timestamp = 0;  in TEST_F()  local 257     Vp8FrameConfig tl_config = tl.NextFrameConfig(0, timestamp);  in TEST_F() [all …] 
 | 
| /external/rust/crates/protobuf/src/ | 
| D | timestamp.rs | 2 use crate::well_known_types::Timestamp; 6 impl Timestamp {  impl 7     /// Unix epoch value of timestamp. 8     pub const UNIX_EPOCH: Timestamp = Timestamp { 15     /// Return current time as `Timestamp`. 16     pub fn now() -> Timestamp {  in now() 17         Timestamp::from(SystemTime::now())  in now() 21 /// Convert from [`Timestamp`]. 25 /// This function panics if given `SystemTime` is outside of `Timestamp` range. 26 impl From<SystemTime> for Timestamp {  implementation [all …] 
 | 
| /external/opencensus-java/api/src/main/java/io/opencensus/common/ | 
| D | Timestamp.java | 34  * <p>Use {@code Tracing.getClock().now()} to get the current timestamp since epoch 41 public abstract class Timestamp implements Comparable<Timestamp> {  class 43   Timestamp() {}  in Timestamp()  method in Timestamp 46    * Creates a new timestamp from given seconds and nanoseconds. 53    * @return new {@code Timestamp} with specified fields. 57   public static Timestamp create(long seconds, int nanos) {  in create() 77    * Creates a new timestamp from the given milliseconds. 79    * @param epochMilli the timestamp represented in milliseconds since epoch. 80    * @return new {@code Timestamp} with specified fields. 82    *     represented by {@code Timestamp}. [all …] 
 | 
| /external/rust/crates/env_logger/src/fmt/humantime/ | 
| D | extern_impl.rs | 15     /// Get a [`Timestamp`] for the current date and time in UTC. 19     /// Include the current timestamp with the log record: 27     ///     let ts = buf.timestamp(); 33     /// [`Timestamp`]: struct.Timestamp.html 34     pub fn timestamp(&self) -> Timestamp {  in timestamp()  argument 35         Timestamp {  in timestamp() 41     /// Get a [`Timestamp`] for the current date and time in UTC with full 43     pub fn timestamp_seconds(&self) -> Timestamp {  in timestamp_seconds()  argument 44         Timestamp {  in timestamp_seconds() 50     /// Get a [`Timestamp`] for the current date and time in UTC with [all …] 
 |