| /third_party/protobuf/src/google/protobuf/ |
| H A D | timestamp.pb.cc | 20 ::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 function in Timestamp 97 Timestamp::Timestamp(const Timestamp& from) Timestamp() function in Timestamp [all...] |
| H A D | timestamp.pb.h | 58 class Timestamp; 63 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Timestamp* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Timestamp>(Arena*); 69 class PROTOBUF_EXPORT Timestamp PROTOBUF_FINAL : 70 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Timestamp) */ { 72 inline Timestamp() : Timestamp(nullptr) {} in Timestamp() function in PROTOBUF_FINAL 73 virtual ~Timestamp(); 75 Timestamp(const Timestamp 77 : Timestamp() { Timestamp() function in PROTOBUF_FINAL [all...] |
| /third_party/protobuf/src/google/protobuf/util/ |
| H A D | time_util.h | 31 // Defines utilities for the Timestamp and Duration well known types. 61 // Utility functions for Timestamp and Duration. 63 typedef google::protobuf::Timestamp Timestamp; typedef in google::protobuf::util::TimeUtil 67 // The min/max Timestamp/Duration values we support. 76 // Converts Timestamp to/from RFC 3339 date string format. 81 // Note that Timestamp can only represent time from 83 // a Timestamp outside of this range is undefined behavior. 91 static std::string ToString(const Timestamp& timestamp); 92 static bool FromString(const std::string& value, Timestamp* timestam [all...] |
| H A D | time_util.cc | 48 using google::protobuf::Timestamp; 63 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized() 69 // For Timestamp nanos should be in the range [0, 999999999] 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 TimeUti [all...] |
| H A D | time_util_test.cc | 45 using google::protobuf::Timestamp; 50 Timestamp begin, end; in TEST() 61 Timestamp time = TimeUtil::NanosecondsToTimestamp(-1); in TEST() 63 // Timestamp's nano part is always non-negative. in TEST() 92 Timestamp begin, end; in TEST() 215 // For negative values, Timestamp will be rounded down. in TEST() 347 Timestamp begin, end; 356 Timestamp t1 = begin + d / 4; 357 Timestamp t2 = end - d / 4;
|
| /third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
| H A D | TimestampTest.cs | 45 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, DateTimeKind.Utc)); in FromAndToDateTime() 49 AssertRoundtrip(new Timestamp { Seconds = -1, Nanos = 999000000 }, new DateTime(1969, 12, 31, 23, 59, 59, 999, DateTimeKind.Utc)); in FromAndToDateTime() 50 AssertRoundtrip(new Timestamp { Seconds = 3600 }, new DateTime(1970, 1, 1, 1, 0, 0, DateTimeKind.Utc)); in FromAndToDateTime() 51 AssertRoundtrip(new Timestamp { Seconds = -3600 }, new DateTime(1969, 12, 31, 23, 0, 0, DateTimeKind.Utc)); 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 [all...] |
| /third_party/skia/third_party/externals/angle2/src/common/ |
| H A D | PackedEGLEnums_autogen.cpp | 359 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 in FromEGLenum() [all...] |
| H A D | PackedEGLEnums_autogen.h | 121 enum class Timestamp : uint8_t class 138 Timestamp FromEGLenum<Timestamp>(EGLenum from); 139 EGLenum ToEGLenum(Timestamp from); 140 std::ostream &operator<<(std::ostream &os, Timestamp value);
|
| /third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
| H A D | Timestamps.java | 41 import com.google.protobuf.Timestamp; 52 * {@link IllegalArgumentException} if the input(s) are not {@linkplain #isValid(Timestamp) valid}. 56 // Timestamp for "0001-01-01T00:00:00Z" 59 // Timestamp for "9999-12-31T23:59:59Z" 68 /** A constant holding the minimum valid {@link Timestamp}, {@code 0001-01-01T00:00:00Z}. */ 69 public static final Timestamp MIN_VALUE = 70 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build(); 73 * A constant holding the maximum valid {@link Timestamp}, {@code 9999-12-31T23:59:59.999999999Z}. 75 public static final Timestamp MAX_VALUE = 76 Timestamp [all...] |
| H A D | TimeUtil.java | 34 import com.google.protobuf.Timestamp; 40 * Utilities to help create/manipulate Timestamp/Duration 46 // Timestamp for "0001-01-01T00:00:00Z" 49 // Timestamp for "9999-12-31T23:59:59Z" 59 * Convert Timestamp to RFC 3339 date string format. The output will always 61 * represent the exact value. Note that Timestamp can only represent time 73 public static String toString(Timestamp timestamp) { in toString() 78 * Parse from RFC 3339 date string to Timestamp. This method accepts all 79 * outputs of {@link #toString(Timestamp)} and it also accepts any fractional 85 * @return A Timestamp parse [all...] |
| /third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
| H A D | TimestampTest.cs | 45 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, DateTimeKind.Utc)); in FromAndToDateTime() 49 AssertRoundtrip(new Timestamp { Seconds = -1, Nanos = 999000000 }, new DateTime(1969, 12, 31, 23, 59, 59, 999, DateTimeKind.Utc)); in FromAndToDateTime() 50 AssertRoundtrip(new Timestamp { Seconds = 3600 }, new DateTime(1970, 1, 1, 1, 0, 0, DateTimeKind.Utc)); in FromAndToDateTime() 51 AssertRoundtrip(new Timestamp { Seconds = -3600 }, new DateTime(1969, 12, 31, 23, 0, 0, DateTimeKind.Utc)); 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 [all...] |
| /third_party/rust/crates/env_logger/src/fmt/humantime/ |
| H A D | extern_impl.rs | 15 /// Get a [`Timestamp`] for the current date and time in UTC. 33 /// [`Timestamp`]: struct.Timestamp.html 34 pub fn timestamp(&self) -> Timestamp { in timestamp() 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() 44 Timestamp { in timestamp_seconds() 50 /// Get a [`Timestamp`] for the current date and time in UTC with 52 pub fn timestamp_millis(&self) -> Timestamp { in timestamp_millis() 85 pub struct Timestamp { global() structure names [all...] |
| /third_party/rust/crates/humantime/src/ |
| H A D | wrapper.rs | 42 /// x = "2018-02-16T00:31:37Z".parse::<humantime::Timestamp>().unwrap().into(); 47 pub struct Timestamp(SystemTime); structure names 79 impl AsRef<SystemTime> for Timestamp { 83 impl Deref for Timestamp { 88 impl Into<SystemTime> for Timestamp { 92 impl From<SystemTime> for Timestamp { 93 fn from(dur: SystemTime) -> Timestamp { Timestamp(dur) } in from() 96 impl FromStr for Timestamp { 98 fn from_str(s: &str) -> Result<Timestamp, Sel [all...] |
| /third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
| H A D | Timestamp.cs | 36 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), global::Google.Protobuf.WellKnownTypes.Timestamp.Parser, new[]{ "Seconds", "Nanos" }, null, null, null, null) in TimestampReflection() 44 /// A Timestamp represents a point in time independent of any time zone or local 60 /// Example 1: Compute Timestamp from POSIX `time()`. 62 /// Timestamp timestamp; 66 /// Example 2: Compute Timestamp from POSIX `gettimeofday()`. 71 /// Timestamp timestamp; 75 /// Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. 83 /// Timestamp timestamp; 87 /// Example 4: Compute Timestamp fro 126 public sealed partial class Timestamp : pb::IMessage<Timestamp> global() class 147 public Timestamp() { Timestamp() method in Google.Protobuf.WellKnownTypes.Timestamp 154 public Timestamp(Timestamp other) : this() { Timestamp() method in Google.Protobuf.WellKnownTypes.Timestamp [all...] |
| H A D | TimestampPartial.cs | 39 public partial class Timestamp : ICustomDiagnosticMessage, IComparable<Timestamp> class 55 /// Returns the difference between one <see cref="Timestamp"/> and another, as a <see cref="Duration"/>. 60 public static Duration operator -(Timestamp lhs, Timestamp rhs) in operator -() 71 /// Adds a <see cref="Duration"/> to a <see cref="Timestamp"/>, to obtain another <c>Timestamp</c>. 76 public static Timestamp operator +(Timestamp lhs, Duration rhs) in operator +() 87 /// Subtracts a <see cref="Duration"/> from a <see cref="Timestamp"/>, t [all...] |
| H A D | TimeExtensions.cs | 43 /// Converts the given <see cref="DateTime"/> to a <see cref="Timestamp"/>. 48 public static Timestamp ToTimestamp(this DateTime dateTime) in ToTimestamp() 50 return Timestamp.FromDateTime(dateTime); in ToTimestamp() 54 /// Converts the given <see cref="DateTimeOffset"/> to a <see cref="Timestamp"/> 61 public static Timestamp ToTimestamp(this DateTimeOffset dateTimeOffset) in ToTimestamp() 63 return Timestamp.FromDateTimeOffset(dateTimeOffset); in ToTimestamp()
|
| /third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
| H A D | TimeUtilTest.java | 34 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() 60 // Nano part is in the range of [0, 999999999] for Timestamp. 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[] value [all...] |
| /third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
| H A D | timestamp.js | 3 exports.Timestamp = void 0; 13 class Timestamp extends base_1.Signed { 16 this.type = base_1.MetadataKind.Timestamp; 20 if (!(other instanceof Timestamp)) { 38 return new Timestamp({ 45 exports.Timestamp = Timestamp;
|
| /third_party/nghttp2/src/ |
| H A D | shrpx_log_config.cc | 38 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()
|
| H A D | shrpx_log_config.h | 40 struct Timestamp { struct 41 Timestamp(const std::chrono::system_clock::time_point &tp); 53 std::shared_ptr<Timestamp> tstamp;
|
| /third_party/protobuf/ruby/tests/ |
| H A D | well_known_types_test.rb | 8 ts = Google::Protobuf::Timestamp.new 129 ts = Google::Protobuf::Timestamp.new(seconds: 12345, nanos: 6789) 134 assert any.is(Google::Protobuf::Timestamp) 135 assert_equal ts, any.unpack(Google::Protobuf::Timestamp) 139 assert any.is(Google::Protobuf::Timestamp) 140 assert_equal ts, any.unpack(Google::Protobuf::Timestamp)
|
| /third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
| H A D | QueryValidationTests.cpp | 47 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::Timestamp, 1)); in TEST_F() 245 CreateQuerySet(device, wgpu::QueryType::Timestamp, 1); in TEST_F() 247 // Fail to create with pipeline statistics for Timestamp query in TEST_F() 248 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::Timestamp, 1, in TEST_F() 255 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::Timestamp, 1, in TEST_F() 262 wgpu::QuerySet querySet = CreateQuerySet(device, wgpu::QueryType::Timestamp, 1); in TEST_F() 273 wgpu::QuerySet timestampQuerySet = CreateQuerySet(device, wgpu::QueryType::Timestamp, 2); in TEST_F() 304 wgpu::QuerySet timestampQuerySet = CreateQuerySet(device, wgpu::QueryType::Timestamp, 2); in TEST_F() 352 wgpu::QuerySet timestampQuerySet = CreateQuerySet(device, wgpu::QueryType::Timestamp, 2); in TEST_F() 447 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::Timestamp, in TEST_F() [all...] |
| /third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/google/protobuf/ |
| H A D | timestamp.js | 4 exports.Timestamp = void 0; 8 exports.Timestamp = {
|
| /third_party/typescript/tests/baselines/reference/ |
| H A D | declarationEmitMappedTypeTemplateTypeofSymbol.js | 6 export declare const Timestamp: { 10 export declare function now(): typeof Timestamp;
|
| /third_party/protobuf/php/src/Google/Protobuf/ |
| H A D | Timestamp.php | 12 * A Timestamp represents a point in time independent of any time zone 24 * Example 1: Compute Timestamp from POSIX `time()`. 25 * Timestamp timestamp; 28 * Example 2: Compute Timestamp from POSIX `gettimeofday()`. 31 * Timestamp timestamp; 34 * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. 40 * Timestamp timestamp; 43 * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. 45 * Timestamp timestamp = Timestamp 74 class Timestamp extends \\Google\\Protobuf\\Internal\\Message global() class [all...] |