Home
last modified time | relevance | path

Searched refs:Timestamp (Results 1 – 25 of 193) sorted by relevance

12345678

/third_party/protobuf/src/google/protobuf/
Dtimestamp.pb.cc20 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Timestamp> _instance;
28 new (ptr) PROTOBUF_NAMESPACE_ID::Timestamp(); in InitDefaultsscc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto()
31 PROTOBUF_NAMESPACE_ID::Timestamp::InitAsDefaultInstance(); in InitDefaultsscc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto()
43 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Timestamp, _internal_metadata_),
47 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Timestamp, seconds_),
48 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::Timestamp, nanos_),
51 { 0, -1, sizeof(PROTOBUF_NAMESPACE_ID::Timestamp)},
85 void Timestamp::InitAsDefaultInstance() { in InitAsDefaultInstance()
87 class Timestamp::_Internal {
91 Timestamp::Timestamp(::PROTOBUF_NAMESPACE_ID::Arena* arena) in Timestamp() function in Timestamp
[all …]
Dtimestamp.pb.h58 class Timestamp; variable
63 …<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Timestamp* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
69 class PROTOBUF_EXPORT Timestamp PROTOBUF_FINAL :
72 inline Timestamp() : Timestamp(nullptr) {} in Timestamp() function
73 virtual ~Timestamp();
75 Timestamp(const Timestamp& from);
76 Timestamp(Timestamp&& from) noexcept in Timestamp() function
77 : Timestamp() { in Timestamp()
81 inline Timestamp& operator=(const Timestamp& from) {
85 inline Timestamp& operator=(Timestamp&& from) noexcept {
[all …]
Dtimestamp.proto43 // A Timestamp represents a point in time independent of any time zone or local
59 // Example 1: Compute Timestamp from POSIX `time()`.
61 // Timestamp timestamp;
65 // Example 2: Compute Timestamp from POSIX `gettimeofday()`.
70 // Timestamp timestamp;
74 // Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
82 // Timestamp timestamp;
86 // Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
90 // Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
94 // Example 5: Compute Timestamp from current time in Python.
[all …]
Dduration.proto46 // or "month". It is related to Timestamp in that the difference between
47 // two Timestamp values is a Duration and it can be added or subtracted
48 // from a Timestamp. Range is approximately +-10,000 years.
54 // Timestamp start = ...;
55 // Timestamp end = ...;
69 // Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
71 // Timestamp start = ...;
73 // Timestamp end = ...;
/third_party/protobuf/src/google/protobuf/util/
Dtime_util.h63 typedef google::protobuf::Timestamp Timestamp; typedef
91 static std::string ToString(const Timestamp& timestamp);
92 static bool FromString(const std::string& value, Timestamp* timestamp);
107 static Timestamp GetCurrentTime();
109 static Timestamp GetEpoch();
135 static Timestamp NanosecondsToTimestamp(int64 nanos);
136 static Timestamp MicrosecondsToTimestamp(int64 micros);
137 static Timestamp MillisecondsToTimestamp(int64 millis);
138 static Timestamp SecondsToTimestamp(int64 seconds);
144 static int64 TimestampToNanoseconds(const Timestamp& timestamp);
[all …]
Dtime_util.cc48 using google::protobuf::Timestamp;
63 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
76 Timestamp result; in CreateNormalized()
155 std::string TimeUtil::ToString(const Timestamp& timestamp) { in ToString()
159 bool TimeUtil::FromString(const std::string& value, Timestamp* timestamp) { in FromString()
165 *timestamp = CreateNormalized<Timestamp>(seconds, nanos); in FromString()
169 Timestamp TimeUtil::GetCurrentTime() { in GetCurrentTime()
173 return CreateNormalized<Timestamp>(seconds, nanos); in GetCurrentTime()
176 Timestamp TimeUtil::GetEpoch() { return Timestamp(); } in GetEpoch()
295 Timestamp TimeUtil::NanosecondsToTimestamp(int64 nanos) { in NanosecondsToTimestamp()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs45 AssertRoundtrip(new Timestamp { Seconds = -62135596800 }, utcMin); in FromAndToDateTime()
46 AssertRoundtrip(new Timestamp { Seconds = 253402300799, Nanos = 999999900 }, utcMax); in FromAndToDateTime()
47 AssertRoundtrip(new Timestamp(), new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)); in FromAndToDateTime()
48 …AssertRoundtrip(new Timestamp { Nanos = 1000000}, new DateTime(1970, 1, 1, 0, 0, 0, 1, DateTimeKin… in FromAndToDateTime()
49 …AssertRoundtrip(new Timestamp { Seconds = -1, Nanos = 999000000 }, new DateTime(1969, 12, 31, 23, … in FromAndToDateTime()
50 …AssertRoundtrip(new Timestamp { Seconds = 3600 }, new DateTime(1970, 1, 1, 1, 0, 0, DateTimeKind.U… in FromAndToDateTime()
51 …AssertRoundtrip(new Timestamp { Seconds = -3600 }, new DateTime(1969, 12, 31, 23, 0, 0, DateTimeKi… in FromAndToDateTime()
57 … var t1 = new Timestamp { Seconds = 1, Nanos = 1000000 + Duration.NanosecondsPerTick - 1 }; in ToDateTimeTruncation()
60 … var t2 = new Timestamp { Seconds = -1, Nanos = 1000000 + Duration.NanosecondsPerTick - 1 }; in ToDateTimeTruncation()
65 [TestCase(Timestamp.UnixSecondsAtBclMinValue - 1, Timestamp.MaxNanos)]
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DPackedEGLEnums_autogen.cpp262 Timestamp FromEGLenum<Timestamp>(EGLenum from) in FromEGLenum()
267 return Timestamp::RequestedPresentTime; in FromEGLenum()
269 return Timestamp::RenderingCompleteTime; in FromEGLenum()
271 return Timestamp::CompositionLatchTime; in FromEGLenum()
273 return Timestamp::FirstCompositionStartTime; in FromEGLenum()
275 return Timestamp::LastCompositionStartTime; in FromEGLenum()
277 return Timestamp::FirstCompositionGPUFinishedTime; in FromEGLenum()
279 return Timestamp::DisplayPresentTime; in FromEGLenum()
281 return Timestamp::DequeueReadyTime; in FromEGLenum()
283 return Timestamp::ReadsDoneTime; in FromEGLenum()
[all …]
DPackedEGLEnums_autogen.h93 enum class Timestamp : uint8_t enum
110 Timestamp FromEGLenum<Timestamp>(EGLenum from);
111 EGLenum ToEGLenum(Timestamp from);
112 std::ostream &operator<<(std::ostream &os, Timestamp value);
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestampPartial.cs39 public partial class Timestamp : ICustomDiagnosticMessage, IComparable<Timestamp> class
60 public static Duration operator -(Timestamp lhs, Timestamp rhs) in operator -()
76 public static Timestamp operator +(Timestamp lhs, Duration rhs) in operator +()
92 public static Timestamp operator -(Timestamp lhs, Duration rhs) in operator -()
146 public static Timestamp FromDateTime(DateTime dateTime) in FromDateTime()
155 …return new Timestamp { Seconds = secondsSinceBclEpoch - BclSecondsAtUnixEpoch, Nanos = nanoseconds… in FromDateTime()
166 public static Timestamp FromDateTimeOffset(DateTimeOffset dateTimeOffset) in FromDateTimeOffset()
173 internal static Timestamp Normalize(long seconds, int nanoseconds) in Normalize()
184 return new Timestamp { Seconds = seconds, Nanos = nanoseconds }; in Normalize()
233 public int CompareTo(Timestamp other) in CompareTo()
[all …]
DTimestamp.cs36 …typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), global::Google.Protobuf.WellKnownTypes.T… in TimestampReflection()
126 public sealed partial class Timestamp : pb::IMessage<Timestamp> class
131 …ivate static readonly pb::MessageParser<Timestamp> _parser = new pb::MessageParser<Timestamp>(() =…
134 public static pb::MessageParser<Timestamp> Parser { get { return _parser; } }
147 public Timestamp() { in Timestamp() method in Google.Protobuf.WellKnownTypes.Timestamp
154 public Timestamp(Timestamp other) : this() { in Timestamp() method in Google.Protobuf.WellKnownTypes.Timestamp
161 public Timestamp Clone() { in Clone()
162 return new Timestamp(this); in Clone()
200 return Equals(other as Timestamp); in Equals()
204 public bool Equals(Timestamp other) { in Equals()
[all …]
DTimeExtensions.cs48 public static Timestamp ToTimestamp(this DateTime dateTime) in ToTimestamp()
50 return Timestamp.FromDateTime(dateTime); in ToTimestamp()
61 public static Timestamp ToTimestamp(this DateTimeOffset dateTimeOffset) in ToTimestamp()
63 return Timestamp.FromDateTimeOffset(dateTimeOffset); in ToTimestamp()
/third_party/skia/third_party/externals/angle2/src/common/
DPackedEGLEnums_autogen.cpp359 Timestamp FromEGLenum<Timestamp>(EGLenum from) in FromEGLenum()
364 return Timestamp::RequestedPresentTime; in FromEGLenum()
366 return Timestamp::RenderingCompleteTime; in FromEGLenum()
368 return Timestamp::CompositionLatchTime; in FromEGLenum()
370 return Timestamp::FirstCompositionStartTime; in FromEGLenum()
372 return Timestamp::LastCompositionStartTime; in FromEGLenum()
374 return Timestamp::FirstCompositionGPUFinishedTime; in FromEGLenum()
376 return Timestamp::DisplayPresentTime; in FromEGLenum()
378 return Timestamp::DequeueReadyTime; in FromEGLenum()
380 return Timestamp::ReadsDoneTime; in FromEGLenum()
[all …]
DPackedEGLEnums_autogen.h121 enum class Timestamp : uint8_t enum
138 Timestamp FromEGLenum<Timestamp>(EGLenum from);
139 EGLenum ToEGLenum(Timestamp from);
140 std::ostream &operator<<(std::ostream &os, Timestamp value);
/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/
DTimestampTest.cs45 AssertRoundtrip(new Timestamp { Seconds = -62135596800 }, utcMin); in FromAndToDateTime()
46 AssertRoundtrip(new Timestamp { Seconds = 253402300799, Nanos = 999999900 }, utcMax); in FromAndToDateTime()
47 AssertRoundtrip(new Timestamp(), new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)); in FromAndToDateTime()
48 …AssertRoundtrip(new Timestamp { Nanos = 1000000}, new DateTime(1970, 1, 1, 0, 0, 0, 1, DateTimeKin… in FromAndToDateTime()
49 …AssertRoundtrip(new Timestamp { Seconds = -1, Nanos = 999000000 }, new DateTime(1969, 12, 31, 23, … in FromAndToDateTime()
50 …AssertRoundtrip(new Timestamp { Seconds = 3600 }, new DateTime(1970, 1, 1, 1, 0, 0, DateTimeKind.U… in FromAndToDateTime()
51 …AssertRoundtrip(new Timestamp { Seconds = -3600 }, new DateTime(1969, 12, 31, 23, 0, 0, DateTimeKi… in FromAndToDateTime()
57 … var t1 = new Timestamp { Seconds = 1, Nanos = 1000000 + Duration.NanosecondsPerTick - 1 }; in ToDateTimeTruncation()
60 … var t2 = new Timestamp { Seconds = -1, Nanos = 1000000 + Duration.NanosecondsPerTick - 1 }; in ToDateTimeTruncation()
65 [TestCase(Timestamp.UnixSecondsAtBclMinValue - 1, Timestamp.MaxNanos)]
[all …]
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java41 import com.google.protobuf.Timestamp;
69 public static final Timestamp MIN_VALUE =
70 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build();
75 public static final Timestamp MAX_VALUE =
76 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MAX).setNanos(999999999).build();
81 public static final Timestamp EPOCH = Timestamp.newBuilder().setSeconds(0).setNanos(0).build();
103 private static final Comparator<Timestamp> COMPARATOR =
104 new Comparator<Timestamp>() {
106 public int compare(Timestamp t1, Timestamp t2) {
119 public static Comparator<Timestamp> comparator() { in comparator()
[all …]
DTimeUtil.java34 import com.google.protobuf.Timestamp;
73 public static String toString(Timestamp timestamp) { in toString()
90 public static Timestamp parseTimestamp(String value) throws ParseException { in parseTimestamp()
129 public static Timestamp createTimestampFromMillis(long milliseconds) { in createTimestampFromMillis()
153 public static long toMillis(Timestamp timestamp) { in toMillis()
175 public static Timestamp createTimestampFromMicros(long microseconds) { in createTimestampFromMicros()
199 public static long toMicros(Timestamp timestamp) { in toMicros()
221 public static Timestamp createTimestampFromNanos(long nanoseconds) { in createTimestampFromNanos()
241 public static long toNanos(Timestamp timestamp) { in toNanos()
261 public static Timestamp getCurrentTime() { in getCurrentTime()
[all …]
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
DTimeUtilTest.java34 import com.google.protobuf.Timestamp;
44 Timestamp start = TimeUtil.parseTimestamp("0001-01-01T00:00:00Z"); in testTimestampStringFormat()
45 Timestamp end = TimeUtil.parseTimestamp("9999-12-31T23:59:59.999999999Z"); in testTimestampStringFormat()
53 Timestamp value = TimeUtil.parseTimestamp("1970-01-01T00:00:00Z"); in testTimestampStringFormat()
64 value = Timestamp.newBuilder().setNanos(10).build(); in testTimestampStringFormat()
66 value = Timestamp.newBuilder().setNanos(10000).build(); in testTimestampStringFormat()
68 value = Timestamp.newBuilder().setNanos(10000000).build(); in testTimestampStringFormat()
83 private final Timestamp[] values;
85 public ParseTimestampThread(String[] strings, Timestamp[] values) { in ParseTimestampThread()
94 Timestamp result; in run()
[all …]
/third_party/openssl/test/certs/
DembeddedSCTs3.sct1 Signed Certificate Timestamp:
5 Timestamp : Dec 1 13:31:25.961 2015 GMT
13 Signed Certificate Timestamp:
17 Timestamp : Dec 1 13:31:25.352 2015 GMT
25 Signed Certificate Timestamp:
29 Timestamp : Dec 1 13:31:25.980 2015 GMT
DembeddedSCTs1.sct1 Signed Certificate Timestamp:
5 Timestamp : Apr 5 17:04:16.275 2013 GMT
/third_party/grpc/src/core/lib/iomgr/
Dbuffer_list.h86 struct Timestamp { struct
92 Timestamp sendmsg_time; argument
93 Timestamp scheduled_time;
94 Timestamp sent_time;
95 Timestamp acked_time;
/third_party/nghttp2/src/
Dshrpx_log_config.cc38 Timestamp::Timestamp(const std::chrono::system_clock::time_point &tp) { in Timestamp() function in shrpx::Timestamp
46 tstamp(std::make_shared<Timestamp>(time_str_updated)), in LogConfig()
110 tstamp = std::make_shared<Timestamp>(now); in update_tstamp_millis()
124 tstamp = std::make_shared<Timestamp>(now); in update_tstamp()
Dshrpx_log_config.h40 struct Timestamp { struct
41 Timestamp(const std::chrono::system_clock::time_point &tp);
53 std::shared_ptr<Timestamp> tstamp; argument
/third_party/protobuf/src/google/protobuf/util/internal/testdata/
Dtimestamp_duration.proto39 // Timestamp tests
51 google.protobuf.Timestamp timeval8 = 12;
65 google.protobuf.Timestamp timestamp = 1;
77 google.protobuf.Timestamp ts = 1;
79 repeated google.protobuf.Timestamp rep_ts = 3;
/third_party/openssl/test/ct/
Dtls1.sct1 Signed Certificate Timestamp:
5 Timestamp : Apr 5 17:04:16.275 2013 GMT

12345678