Home
last modified time | relevance | path

Searched full:timestamp (Results 1 – 25 of 1860) sorted by relevance

12345678910>>...75

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dscreenshare_layers_unittest.cc39 void EncodeFrame(uint32_t timestamp, in EncodeFrame() argument
43 *flags = layers_->EncodeFlags(timestamp); in EncodeFrame()
44 layers_->PopulateCodecSpecific(base_sync, vp8_info, timestamp); in EncodeFrame()
46 layers_->FrameEncoded(frame_size_, timestamp, kDefaultQp); in EncodeFrame()
66 uint32_t timestamp = 0; in RunGracePeriod() local
71 EncodeFrame(timestamp, false, &vp8_info, &flags); in RunGracePeriod()
72 timestamp += kTimestampDelta5Fps; in RunGracePeriod()
79 return timestamp; in RunGracePeriod()
85 int SkipUntilTl(int layer, int timestamp) { in SkipUntilTl() argument
88 layers_->EncodeFlags(timestamp); in SkipUntilTl()
[all …]
/external/protobuf/src/google/protobuf/
Dtimestamp.pb.cc2 // source: google/protobuf/timestamp.proto
5 #include <google/protobuf/timestamp.pb.h>
36 "google/protobuf/timestamp.proto"); in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
40 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, seconds_), in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
41 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, nanos_), in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
46 Timestamp::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
51 sizeof(Timestamp), in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
52 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
53 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Timestamp, _is_default_instance_)); in protobuf_AssignDesc_google_2fprotobuf_2ftimestamp_2eproto()
67 Timestamp_descriptor_, &Timestamp::default_instance()); in protobuf_RegisterTypes()
[all …]
Dtimestamp.pb.h2 // source: google/protobuf/timestamp.proto
40 class Timestamp; variable
44 class LIBPROTOBUF_EXPORT Timestamp : public ::google::protobuf::Message {
46 Timestamp();
47 virtual ~Timestamp();
49 Timestamp(const Timestamp& from);
51 inline Timestamp& operator=(const Timestamp& from) {
61 static const Timestamp& default_instance();
63 void UnsafeArenaSwap(Timestamp* other);
64 void Swap(Timestamp* other);
[all …]
Dtimestamp.proto37 option go_package = "github.com/golang/protobuf/ptypes/timestamp";
44 // A Timestamp represents a point in time independent of any time zone
56 // Example 1: Compute Timestamp from POSIX `time()`.
58 // Timestamp timestamp;
59 // timestamp.set_seconds(time(NULL));
60 // timestamp.set_nanos(0);
62 // Example 2: Compute Timestamp from POSIX `gettimeofday()`.
67 // Timestamp timestamp;
68 // timestamp.set_seconds(tv.tv_sec);
69 // timestamp.set_nanos(tv.tv_usec * 1000);
[all …]
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java20 import java.sql.Timestamp;
29 * JUnit Testcase for the java.sql.Timestamp class
34 static class MockTimestamp extends Timestamp {
137 Timestamp theTimestamp = new Timestamp(TIME_TEST1); in testTimestamplong()
138 // The Timestamp should have been created in testTimestamplong()
141 Timestamp mockTimestamp = new MockTimestamp(TIME_TEST1); in testTimestamplong()
174 Timestamp theTimestamp = new Timestamp(element[0], element[1], in testTimestampintintintintintintint()
176 assertNotNull("Timestamp not generated: ", theTimestamp); in testTimestampintintintintintintint()
183 new Timestamp(element[0], element[1], element[2], element[3], in testTimestampintintintintintintint()
200 Timestamp theTimestamp = new Timestamp(TIME_TEST1); in testSetTimelong()
[all …]
/external/webrtc/webrtc/system_wrappers/source/
Drtp_to_ntp_unittest.cc40 uint32_t timestamp = 0; in TEST() local
43 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
45 timestamp -= kTimestampTicksPerMs; in TEST()
46 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
48 timestamp -= kTimestampTicksPerMs; in TEST()
51 // has a much smaller RTP timestamp than the newer. in TEST()
52 EXPECT_FALSE(RtpToNtpMs(timestamp, rtcp, &timestamp_in_ms)); in TEST()
59 uint32_t timestamp = 0xFFFFFFFF; in TEST() local
62 rtcp.push_front(RtcpMeasurement(ntp_sec, ntp_frac, timestamp)); in TEST()
64 timestamp += kTimestampTicksPerMs; in TEST()
[all …]
/external/protobuf/src/google/protobuf/util/
Dtime_util.h44 #include <google/protobuf/timestamp.pb.h>
51 typedef google::protobuf::Timestamp Timestamp; typedef
55 // The min/max Timestamp/Duration values we support.
64 // Converts Timestamp to/from RFC 3339 date string format.
69 // Note that Timestamp can only represent time from
71 // a Timestamp outside of this range is undefined behavior.
79 static string ToString(const Timestamp& timestamp);
80 static bool FromString(const string& value, Timestamp* timestamp);
89 static bool FromString(const string& value, Duration* timestamp);
95 static Timestamp GetCurrentTime();
[all …]
Dtime_util.cc38 #include <google/protobuf/timestamp.pb.h>
44 using google::protobuf::Timestamp;
62 Timestamp CreateNormalized(int64 seconds, int64 nanos) { in CreateNormalized()
68 // For Timestamp nanos should be in the range [0, 999999999] in CreateNormalized()
75 Timestamp result; in CreateNormalized()
145 string TimeUtil::ToString(const Timestamp& timestamp) { in ToString() argument
146 return FormatTime(timestamp.seconds(), timestamp.nanos()); in ToString()
149 bool TimeUtil::FromString(const string& value, Timestamp* timestamp) { in FromString() argument
155 *timestamp = CreateNormalized<Timestamp>(seconds, nanos); in FromString()
159 Timestamp TimeUtil::GetCurrentTime() { in GetCurrentTime()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestamp.cs2 // source: google/protobuf/timestamp.proto
12 …/// <summary>Holder for reflection information generated from google/protobuf/timestamp.proto</sum…
17 /// <summary>File descriptor for google/protobuf/timestamp.proto</summary>
35 …typeof(global::Google.Protobuf.WellKnownTypes.Timestamp), global::Google.Protobuf.WellKnownTypes.T… in TimestampReflection()
43 /// A Timestamp represents a point in time independent of any time zone
55 /// Example 1: Compute Timestamp from POSIX `time()`.
57 /// Timestamp timestamp;
58 /// timestamp.set_seconds(time(NULL));
59 /// timestamp.set_nanos(0);
61 /// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
[all …]
DTimestampPartial.cs39 public partial class Timestamp : ICustomDiagnosticMessage class
55 …/// Returns the difference between one <see cref="Timestamp"/> and another, as a <see cref="Durati…
57 /// <param name="lhs">The timestamp to subtract from. Must not be null.</param>
58 /// <param name="rhs">The timestamp to subtract. Must not be null.</param>
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>.
73 /// <param name="lhs">The timestamp to add the duration to. Must not be null.</param>
75 /// <returns>The result of adding the duration to the timestamp.</returns>
76 public static Timestamp operator +(Timestamp lhs, Duration rhs) in operator +()
87 … Subtracts a <see cref="Duration"/> from a <see cref="Timestamp"/>, to obtain another <c>Timestamp
[all …]
/external/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 …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dinter_arrival.cc32 bool InterArrival::ComputeDeltas(uint32_t timestamp, in ComputeDeltas() argument
45 current_timestamp_group_.timestamp = timestamp; in ComputeDeltas()
46 current_timestamp_group_.first_timestamp = timestamp; in ComputeDeltas()
47 } else if (!PacketInOrder(timestamp)) { in ComputeDeltas()
49 } else if (NewTimestampGroup(arrival_time_ms, timestamp)) { in ComputeDeltas()
52 *timestamp_delta = current_timestamp_group_.timestamp - in ComputeDeltas()
53 prev_timestamp_group_.timestamp; in ComputeDeltas()
58 // arrival timestamp. in ComputeDeltas()
70 // The new timestamp is now the current frame. in ComputeDeltas()
71 current_timestamp_group_.first_timestamp = timestamp; in ComputeDeltas()
[all …]
Dinter_arrival_unittest.cc46 // Test that neither inter_arrival instance complete the timestamp group from
57 // Test that both inter_arrival instances complete the timestamp group from
59 // timestamp delta, which is rounded from us to different ranges and must
115 // than the initial timestamp of the group. in WrapTestHelper()
163 uint32_t timestamp, int64_t arrival_time_ms, in InternalExpectFalse() argument
168 bool computed = inter_arrival->ComputeDeltas(timestamp, in InternalExpectFalse()
181 uint32_t timestamp, int64_t arrival_time_ms, in InternalExpectTrue() argument
190 bool computed = inter_arrival->ComputeDeltas(timestamp, in InternalExpectTrue()
268 int64_t timestamp = kTriggerNewGroupUs; in TEST_F() local
272 timestamp += kMinStep; in TEST_F()
[all …]
Dinter_arrival.h22 // between two timestamp groups. A timestamp is a 32 bit unsigned number with
26 // A timestamp group is defined as all packets with a timestamp which are at
27 // most timestamp_group_length_ticks older than the first timestamp in that
35 // |timestamp| is the timestamp.
38 // |timestamp_delta| (output) is the computed timestamp delta.
41 bool ComputeDeltas(uint32_t timestamp,
53 timestamp(0), in TimestampGroup()
62 uint32_t timestamp; member
66 // Returns true if the packet with timestamp |timestamp| arrived in order.
67 bool PacketInOrder(uint32_t timestamp);
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtimestamp_scaler_unittest.cc34 // Test both sides of the timestamp wrap-around. in TEST()
35 for (uint32_t timestamp = 0xFFFFFFFF - 5; timestamp != 5; ++timestamp) { in TEST() local
36 // Scale to internal timestamp. in TEST()
37 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST()
39 EXPECT_EQ(timestamp, scaler.ToExternal(timestamp)); in TEST()
55 // Test both sides of the timestamp wrap-around. in TEST()
60 for (uint32_t timestamp = start_timestamp; timestamp != 5 * kStep; in TEST() local
61 timestamp += kStep) { in TEST()
62 // Scale to internal timestamp. in TEST()
63 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST()
[all …]
Dnack_unittest.cc62 uint32_t timestamp = 0; in TEST() local
66 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST()
69 timestamp += kTimestampIncrement; in TEST()
80 uint32_t timestamp = 0; in TEST() local
83 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST()
92 timestamp + num_late_packets * kTimestampIncrement); in TEST()
116 uint32_t timestamp = 0; in TEST() local
119 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST()
124 timestamp += kTimestampIncrement * (kNumAllLostPackets + 1); in TEST()
128 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST()
[all …]
Ddtmf_buffer_unittest.cc52 && a.timestamp == b.timestamp in EqualEvents()
67 uint32_t timestamp = 0x12345678; in TEST() local
72 DtmfBuffer::ParseEvent(timestamp, payload_ptr, sizeof(payload), in TEST()
77 EXPECT_EQ(timestamp, event.timestamp); in TEST()
81 DtmfBuffer::ParseEvent(timestamp, payload_ptr, 3, &event)); in TEST()
89 uint32_t timestamp = 0x12345678; in TEST() local
90 DtmfEvent event(timestamp, event_no, volume, duration, end_bit); in TEST()
97 EXPECT_FALSE(buffer.GetEvent(timestamp - 10, &out_event)); in TEST()
100 // Get the event at its starting timestamp. in TEST()
101 EXPECT_TRUE(buffer.GetEvent(timestamp, &out_event)); in TEST()
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dtiming_unittest.cc33 uint32_t timeStamp = 0; in TEST() local
37 timing.UpdateCurrentDelay(timeStamp); in TEST()
41 timing.IncomingTimestamp(timeStamp, clock.TimeInMilliseconds()); in TEST()
44 timing.UpdateCurrentDelay(timeStamp); in TEST()
47 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST()
54 timeStamp += 90000; in TEST()
57 timing.UpdateCurrentDelay(timeStamp); in TEST()
59 timing.RenderTimeMs(timeStamp, clock.TimeInMilliseconds()), in TEST()
64 timeStamp += 90000; in TEST()
66 timing.UpdateCurrentDelay(timeStamp); in TEST()
[all …]
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java34 import com.google.protobuf.Timestamp;
44 * Utilities to help create/manipulate Timestamp/Duration
47 // Timestamp for "0001-01-01T00:00:00Z"
50 // Timestamp for "9999-12-31T23:59:59Z"
73 // backwards to year one) for timestamp formating. in createTimestampFormat()
82 * Convert Timestamp to RFC 3339 date string format. The output will always
84 * represent the exact value. Note that Timestamp can only represent time
90 * @return The string representation of the given timestamp.
91 * @throws IllegalArgumentException if the given timestamp is not in the
94 public static String toString(Timestamp timestamp) in toString() argument
[all …]
/external/protobuf/objectivec/google/protobuf/
DTimestamp.pbobjc.h2 // source: google/protobuf/timestamp.proto
39 /// A Timestamp represents a point in time independent of any time zone
51 /// Example 1: Compute Timestamp from POSIX `time()`.
53 /// Timestamp timestamp;
54 /// timestamp.set_seconds(time(NULL));
55 /// timestamp.set_nanos(0);
57 /// Example 2: Compute Timestamp from POSIX `gettimeofday()`.
62 /// Timestamp timestamp;
63 /// timestamp.set_seconds(tv.tv_sec);
64 /// timestamp.set_nanos(tv.tv_usec * 1000);
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dhandler_tracking.ipp83 handler_tracking_timestamp timestamp;
91 timestamp.seconds, timestamp.microseconds,
107 handler_tracking_timestamp timestamp;
111 timestamp.seconds, timestamp.microseconds,
120 handler_tracking_timestamp timestamp;
124 timestamp.seconds, timestamp.microseconds, id_);
132 handler_tracking_timestamp timestamp;
136 timestamp.seconds, timestamp.microseconds,
145 handler_tracking_timestamp timestamp;
149 timestamp.seconds, timestamp.microseconds,
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DTimeStamp.java36 * TimeStamp SIP Header.
46 public class TimeStamp extends SIPHeader implements TimeStampHeader { class
54 * timeStamp field
56 protected long timeStamp = -1; field in TimeStamp
70 public TimeStamp() { in TimeStamp() method in TimeStamp
71 super(TIMESTAMP); in TimeStamp()
76 if (timeStamp == -1 && timeStampFloat == -1) in getTimeStampAsString()
78 else if (timeStamp != -1) in getTimeStampAsString()
79 return Long.toString(timeStamp); in getTimeStampAsString()
130 public void setTimeStamp(float timeStamp) throws InvalidArgumentException { in setTimeStamp() argument
[all …]
/external/tcpdump/tests/
Dlspping-fec-rsvp-v.out9 Sender Timestamp: Receiver Timestamp: no timestamp
21 Sender Timestamp: Receiver Timestamp:
30 Sender Timestamp: Receiver Timestamp: no timestamp
42 Sender Timestamp: Receiver Timestamp:
51 Sender Timestamp: Receiver Timestamp: no timestamp
63 Sender Timestamp: Receiver Timestamp:
72 Sender Timestamp: Receiver Timestamp: no timestamp
84 Sender Timestamp: Receiver Timestamp:
93 Sender Timestamp: Receiver Timestamp: no timestamp
105 Sender Timestamp: Receiver Timestamp:
Dlspping-fec-ldp-v.out13 Sender Timestamp: Receiver Timestamp: no timestamp
24 Sender Timestamp: Receiver Timestamp:
40 Sender Timestamp: Receiver Timestamp: no timestamp
51 Sender Timestamp: Receiver Timestamp:
60 Sender Timestamp: Receiver Timestamp: no timestamp
71 Sender Timestamp: Receiver Timestamp:
80 Sender Timestamp: Receiver Timestamp: no timestamp
91 Sender Timestamp: Receiver Timestamp:
100 Sender Timestamp: Receiver Timestamp: no timestamp
111 Sender Timestamp: Receiver Timestamp:
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DTimeUtilTest.java34 import com.google.protobuf.Timestamp;
47 Timestamp start = TimeUtil.parseTimestamp("0001-01-01T00:00:00Z"); in testTimestampStringFormat()
48 Timestamp end = TimeUtil.parseTimestamp("9999-12-31T23:59:59.999999999Z"); in testTimestampStringFormat()
56 Timestamp value = TimeUtil.parseTimestamp("1970-01-01T00:00:00Z"); in testTimestampStringFormat()
63 // Nano part is in the range of [0, 999999999] for Timestamp. in testTimestampStringFormat()
67 value = Timestamp.newBuilder().setNanos(10).build(); in testTimestampStringFormat()
69 value = Timestamp.newBuilder().setNanos(10000).build(); in testTimestampStringFormat()
71 value = Timestamp.newBuilder().setNanos(10000000).build(); in testTimestampStringFormat()
86 private final Timestamp[] values;
87 public ParseTimestampThread(String[] strings, Timestamp[] values) { in ParseTimestampThread()
[all …]

12345678910>>...75