Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 - 25 of 614) sorted by relevance

12345678910>>...25

/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DTimestamps.java51 * Utilities to help create/manipulate {@code protobuf/timestamp.proto}. All operations throw an
95 // backwards to year one) for timestamp formatting. in createTimestampFormat()
142 public static boolean isValid(Timestamp timestamp) { in isValid() argument
143 return isValid(timestamp.getSeconds(), timestamp.getNanos()); in isValid()
168 public static Timestamp checkValid(Timestamp timestamp) { in checkValid() argument
169 long seconds = timestamp.getSeconds(); in checkValid()
170 int nanos = timestamp.getNanos(); in checkValid()
179 return timestamp; in checkValid()
200 * @return The string representation of the given timestamp
203 toString(Timestamp timestamp) toString() argument
297 toSeconds(Timestamp timestamp) toSeconds() argument
316 toMillis(Timestamp timestamp) toMillis() argument
338 toMicros(Timestamp timestamp) toMicros() argument
354 toNanos(Timestamp timestamp) toNanos() argument
[all...]
/third_party/node/deps/v8/base/trace_event/common/
H A Dtrace_event_common.h51 // current process id, thread id, and a timestamp in microseconds.
359 timestamp) \
361 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
365 timestamp, arg_name, arg_val) \
367 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
398 // Similar to TRACE_EVENT_BEGINx but with a custom |timestamp| provided.
404 // - |timestamp| must be non-null or it crashes. Use DCHECK(timestamp) before
405 // calling this to detect an invalid timestamp even when tracing is not
408 thread_id, timestamp) \
[all...]
/third_party/ffmpeg/libavformat/
H A Dseek.c26 #include "libavutil/timestamp.h"
33 void avpriv_update_cur_dts(AVFormatContext *s, AVStream *ref_st, int64_t timestamp) in avpriv_update_cur_dts() argument
40 av_rescale(timestamp, in avpriv_update_cur_dts()
63 int64_t pos, int64_t timestamp, in ff_add_index_entry()
72 if (timestamp == AV_NOPTS_VALUE) in ff_add_index_entry()
78 if (is_relative(timestamp)) //FIXME this maintains previous behavior but we should shift by the correct offset once known in ff_add_index_entry()
79 timestamp -= RELATIVE_TS_BASE; in ff_add_index_entry()
91 timestamp, AVSEEK_FLAG_ANY); in ff_add_index_entry()
95 av_assert0(index == 0 || ie[-1].timestamp < timestamp); in ff_add_index_entry()
60 ff_add_index_entry(AVIndexEntry **index_entries, int *nb_index_entries, unsigned int *index_entries_allocated_size, int64_t pos, int64_t timestamp, int size, int distance, int flags) ff_add_index_entry() argument
118 av_add_index_entry(AVStream *st, int64_t pos, int64_t timestamp, int size, int distance, int flags) av_add_index_entry() argument
132 int64_t timestamp; ff_index_search_timestamp() local
519 seek_frame_generic(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) seek_frame_generic() argument
590 seek_frame_internal(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) seek_frame_internal() argument
634 av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) av_seek_frame() argument
[all...]
H A Drtmppkt.c169 int channel_id, timestamp, size; in rtmp_packet_read_one_chunk() local
170 uint32_t ts_field; // non-extended timestamp or delta field in rtmp_packet_read_one_chunk()
223 timestamp = AV_RB32(buf); in rtmp_packet_read_one_chunk()
225 timestamp = ts_field; in rtmp_packet_read_one_chunk()
228 timestamp += prev_pkt[channel_id].timestamp; in rtmp_packet_read_one_chunk()
239 if ((ret = ff_rtmp_packet_create(p, channel_id, type, timestamp, in rtmp_packet_read_one_chunk()
245 prev_pkt[channel_id].timestamp = timestamp; in rtmp_packet_read_one_chunk()
257 p->timestamp in rtmp_packet_read_one_chunk()
316 uint32_t timestamp; // full 32-bit timestamp or delta value ff_rtmp_packet_write() local
408 ff_rtmp_packet_create(RTMPPacket *pkt, int channel_id, RTMPPacketType type, int timestamp, int size) ff_rtmp_packet_create() argument
[all...]
H A Drtpdec_qcelp.c51 AVStream *st, AVPacket *pkt, uint32_t *timestamp,
55 AVStream *st, AVPacket *pkt, uint32_t *timestamp, in store_packet()
104 data->next_timestamp = *timestamp; in store_packet()
105 *timestamp = RTP_NOTS_VALUE; in store_packet()
108 return return_stored_frame(ctx, data, st, pkt, timestamp, buf, len); in store_packet()
152 AVStream *st, AVPacket *pkt, uint32_t *timestamp, in return_stored_frame()
159 *timestamp = data->next_timestamp; in return_stored_frame()
160 ret = store_packet(ctx, data, st, pkt, timestamp, data->next_data, in return_stored_frame()
202 AVStream *st, AVPacket *pkt, uint32_t *timestamp, in qcelp_parse_packet()
207 return store_packet(ctx, data, st, pkt, timestamp, bu in qcelp_parse_packet()
54 store_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len) store_packet() argument
151 return_stored_frame(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len) return_stored_frame() argument
201 qcelp_parse_packet(AVFormatContext *ctx, PayloadContext *data, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) qcelp_parse_packet() argument
[all...]
H A Drtpdec_vp8.c37 uint32_t timestamp; member
66 AVStream *st, AVPacket *pkt, uint32_t *timestamp, in vp8_handle_packet()
83 *timestamp = vp8->timestamp; in vp8_handle_packet()
171 // later packets from the same frame (matching timestamp), in vp8_handle_packet()
196 old_timestamp = vp8->timestamp; in vp8_handle_packet()
206 vp8->timestamp = *timestamp; in vp8_handle_packet()
216 if (vp8->timestamp != *timestamp) { in vp8_handle_packet()
65 vp8_handle_packet(AVFormatContext *ctx, PayloadContext *vp8, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) vp8_handle_packet() argument
[all...]
H A Drtpdec_svq3.c39 int64_t timestamp; member
45 uint32_t *timestamp, in svq3_parse_packet()
84 sv->timestamp = *timestamp; in svq3_parse_packet()
97 *timestamp = sv->timestamp; in svq3_parse_packet()
43 svq3_parse_packet(AVFormatContext *s, PayloadContext *sv, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) svq3_parse_packet() argument
H A Drtpdec_dv.c29 uint32_t timestamp; member
90 AVStream *st, AVPacket *pkt, uint32_t *timestamp, in dv_handle_packet()
97 if (rtp_dv_ctx->buf && rtp_dv_ctx->timestamp != *timestamp) { in dv_handle_packet()
112 /* update the timestamp in the frame packet with the one from the RTP packet */ in dv_handle_packet()
113 rtp_dv_ctx->timestamp = *timestamp; in dv_handle_packet()
89 dv_handle_packet(AVFormatContext *ctx, PayloadContext *rtp_dv_ctx, AVStream *st, AVPacket *pkt, uint32_t *timestamp, const uint8_t *buf, int len, uint16_t seq, int flags) dv_handle_packet() argument
/third_party/node/src/tracing/
H A Dtrace_event_common.h61 // current process id, thread id, and a timestamp in microseconds.
263 timestamp) \
265 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
269 timestamp, arg_name, arg_val) \
271 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \
305 // Similar to TRACE_EVENT_BEGINx but with a custom |at| timestamp provided.
312 thread_id, timestamp) \
315 timestamp, TRACE_EVENT_FLAG_NONE)
317 category_group, name, id, thread_id, timestamp) \
320 timestamp, TRACE_EVENT_FLAG_COP
[all...]
/third_party/libcoap/tests/
H A Dtest_sendqueue.c24 static coap_tick_t timestamp[] = { variable
49 CU_ASSERT(node[1]->t == timestamp[1]); in t_sendqueue1()
62 CU_ASSERT(ctx->sendqueue->t == timestamp[1]); in t_sendqueue2()
63 CU_ASSERT(node[2]->t == timestamp[2] - timestamp[1]); in t_sendqueue2()
75 CU_ASSERT(node[3]->t == timestamp[3]); in t_sendqueue3()
80 CU_ASSERT(ctx->sendqueue->next->t == timestamp[1] - timestamp[3]); in t_sendqueue3()
81 CU_ASSERT(ctx->sendqueue->next->next->t == timestamp[2] - timestamp[ in t_sendqueue3()
[all...]
/third_party/libdrm/freedreno/kgsl/
H A Dkgsl_pipe.c60 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in kgsl_pipe_wait() argument
65 .timestamp = timestamp, in kgsl_pipe_wait()
76 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_wait()
81 uint32_t *timestamp) in kgsl_pipe_timestamp()
92 *timestamp = req.timestamp; in kgsl_pipe_timestamp()
149 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); in kgsl_pipe_pre_submit() local
150 if (timestamp) in kgsl_pipe_pre_submit()
151 fd_pipe_wait(kgsl_pipe->p3d, timestamp); in kgsl_pipe_pre_submit()
80 kgsl_pipe_timestamp(struct kgsl_pipe *kgsl_pipe, uint32_t *timestamp) kgsl_pipe_timestamp() argument
156 kgsl_pipe_post_submit(struct kgsl_pipe *kgsl_pipe, uint32_t timestamp) kgsl_pipe_post_submit() argument
175 kgsl_pipe_process_pending(struct kgsl_pipe *kgsl_pipe, uint32_t timestamp) kgsl_pipe_process_pending() argument
[all...]
/third_party/pulseaudio/speex/libspeexdsp/
H A Djitter.c138 spx_uint32_t last_returned_timestamp; /**< Useful for getting the next packet with the same timestamp (for fragmented media) */
141 spx_int32_t buffered; /**< Amount of data we think is still buffered by the application (timestamp units)*/
144 spx_uint32_t arrival[SPEEX_JITTER_MAX_BUFFER_SIZE]; /**< Packet arrival time (0 means it was late, even though it's a valid timestamp) */
148 spx_int32_t delay_step; /**< Size of the steps when adjusting buffering (timestamp units) */
168 The optimised function is in timestamp units and is:
171 @param late_factor Equivalent cost of a late frame (in timestamp units)
370 /*fprintf (stderr, "put packet %d %d\n", timestamp, span);*/ in jitter_buffer_put()
378 if (jitter->packets[i].data && LE32(jitter->packets[i].timestamp + jitter->packets[i].span, jitter->pointer_timestamp)) in jitter_buffer_put()
390 /*fprintf(stderr, "arrival: %d %d %d\n", packet->timestamp, jitter->next_stop, jitter->pointer_timestamp);*/ in jitter_buffer_put()
392 if (!jitter->reset_state && LT32(packet->timestamp, jitte in jitter_buffer_put()
[all...]
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/timestamp/
H A Dtsa.js8 function verifyRFC3161Timestamp(timestamp, data, timestampAuthorities) {
9 const signingTime = timestamp.signingTime;
15 // Filter for CAs which match serial and issuer embedded in the timestamp
17 serialNumber: timestamp.signerSerialNumber,
18 issuer: timestamp.signerIssuer,
20 // Check that we can verify the timestamp with AT LEAST ONE of the remaining
24 verifyTimestampForCA(timestamp, data, ca);
34 message: 'timestamp could not be verified',
39 function verifyTimestampForCA(timestamp, data, ca) {
42 const signingTime = timestamp
[all...]
H A Dindex.js9 function verifyTSATimestamp(timestamp, data, timestampAuthorities) {
10 (0, tsa_1.verifyRFC3161Timestamp)(timestamp, data, timestampAuthorities);
12 type: 'timestamp-authority',
13 logID: timestamp.signerSerialNumber,
14 timestamp: timestamp.signingTime,
38 timestamp: new Date(Number(entry.integratedTime) * 1000),
/third_party/curl/scripts/
H A Dmk-ca-bundle.pl561 my @timestamp;
568 push @timestamp, chr(oct);
571 scalar(@timestamp) == 13 or die "Failed parsing timestamp";
572 # A trailing Z in the timestamp signifies UTC
573 if($timestamp[12] ne "Z") {
579 timegm($timestamp[10] . $timestamp[11], # second
580 $timestamp[8] . $timestamp[
[all...]
/third_party/typescript/tests/baselines/reference/
H A DdeclarationEmitMappedTypeTemplateTypeofSymbol.js14 export const timestamp = x.now();
19 export const timestamp = now();
24 exports.timestamp = void 0;
26 exports.timestamp = x.now();
30 exports.timestamp = void 0;
32 exports.timestamp = (0, a_1.now)();
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dtimestamp.cpp23 #include "core/timestamp.hpp"
30 timestamp::query::query(command_queue &q) : in query()
36 timestamp::query::query(query &&other) : in query()
42 timestamp::query::~query() { in ~query()
48 timestamp::query::operator()() const { in operator ()()
57 timestamp::current::current(command_queue &q) : in current()
62 timestamp::current::operator()() const { in operator ()()
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
H A DTimeUtilTest.java98 errorMessage = "Failed to parse timestamp: " + strings[index]; in run()
364 Timestamp timestamp = TimeUtil.parseTimestamp("1970-01-01T00:00:01.111111111Z"); in testTimestampConversion()
365 assertEquals(1111111111, TimeUtil.toNanos(timestamp)); in testTimestampConversion()
366 assertEquals(1111111, TimeUtil.toMicros(timestamp)); in testTimestampConversion()
367 assertEquals(1111, TimeUtil.toMillis(timestamp)); in testTimestampConversion()
368 timestamp = TimeUtil.createTimestampFromNanos(1111111111); in testTimestampConversion()
369 assertEquals("1970-01-01T00:00:01.111111111Z", TimeUtil.toString(timestamp)); in testTimestampConversion()
370 timestamp = TimeUtil.createTimestampFromMicros(1111111); in testTimestampConversion()
371 assertEquals("1970-01-01T00:00:01.111111Z", TimeUtil.toString(timestamp)); in testTimestampConversion()
372 timestamp in testTimestampConversion()
[all...]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
H A DMidiEventScheduler.java39 public void onSend(byte[] msg, int offset, int count, long timestamp) in onSend() argument
41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); in onSend()
57 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { in MidiEvent() argument
58 super(timestamp); in MidiEvent()
78 long timestamp) { in createScheduledEvent()
81 event = new MidiEvent(msg, offset, count, timestamp); in createScheduledEvent()
89 event.setTimestamp(timestamp); in createScheduledEvent()
77 createScheduledEvent(byte[] msg, int offset, int count, long timestamp) createScheduledEvent() argument
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_kgsl.c25 uint32_t timestamp; member
273 timestamp_to_fd(struct tu_queue *queue, uint32_t timestamp) in timestamp_to_fd() argument
279 .timestamp = timestamp, in timestamp_to_fd()
291 /* return true if timestamp a is greater (more recent) then b
327 ret.timestamp = sync->timestamp; in sync_merge()
329 ret.timestamp = max_ts(ret.timestamp, sync->timestamp); in sync_merge()
[all...]
/third_party/ffmpeg/libavformat/tests/
H A Dseek.c63 int64_t timestamp; in main() local
143 timestamp= (i*19362894167LL) % (duration*AV_TIME_BASE) - AV_TIME_BASE; in main()
146 timestamp= av_rescale_q(timestamp, AV_TIME_BASE_Q, st->time_base); in main()
149 if(i&1) ret = avformat_seek_file(ic, stream_id, INT64_MIN, timestamp, timestamp, 0); in main()
150 else ret = avformat_seek_file(ic, stream_id, timestamp, timestamp, INT64_MAX, 0); in main()
151 ts_str(ts_buf, timestamp, stream_id < 0 ? AV_TIME_BASE_Q : st->time_base); in main()
/third_party/vk-gl-cts/external/amber/src/samples/
H A Dtimestamp.cc15 #include "samples/timestamp.h"
35 namespace timestamp { namespace
38 uint64_t timestamp = 0; in SampleGetTimestampNs() local
52 timestamp = uint64_t(static_cast<double>(ticks.QuadPart) * tick_duration_ns); in SampleGetTimestampNs()
60 timestamp = static_cast<uint64_t>((time.tv_sec * 1000000000) + time.tv_nsec); in SampleGetTimestampNs()
63 #error "Implement timestamp::SampleGetTimestampNs" in SampleGetTimestampNs()
66 return timestamp; in SampleGetTimestampNs()
69 } // namespace timestamp
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
H A Dtrace.cpp113 event->timestamp = timestamp(); in beginEvent()
122 event->timestamp = timestamp(); in endEvent()
137 event->timestamp = timestamp(); in beginAsyncEvent()
153 event->timestamp = timestamp(); in endAsyncEvent()
158 uint64_t Trace::timestamp() { in timestamp() function in marl::Trace
224 << INDENT << QUOTE("ts") << ": " << timestamp << st in write()
[all...]
/third_party/protobuf/src/google/protobuf/util/
H A Dtime_util.cc36 #include <google/protobuf/timestamp.pb.h>
155 std::string TimeUtil::ToString(const Timestamp& timestamp) { in ToString() argument
156 return FormatTime(timestamp.seconds(), timestamp.nanos()); in ToString()
159 bool TimeUtil::FromString(const std::string& value, Timestamp* timestamp) { in FromString() argument
165 *timestamp = CreateNormalized<Timestamp>(seconds, nanos); in FromString()
316 int64 TimeUtil::TimestampToNanoseconds(const Timestamp& timestamp) { in TimestampToNanoseconds() argument
317 return timestamp.seconds() * kNanosPerSecond + timestamp.nanos(); in TimestampToNanoseconds()
320 int64 TimeUtil::TimestampToMicroseconds(const Timestamp& timestamp) { in TimestampToMicroseconds() argument
325 TimestampToMilliseconds(const Timestamp& timestamp) TimestampToMilliseconds() argument
330 TimestampToSeconds(const Timestamp& timestamp) TimestampToSeconds() argument
[all...]
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/key/
H A Dindex.js27 timestamps.forEach((timestamp) => {
28 if (!key.validFor(timestamp)) {
31 message: `Public key is not valid for timestamp: ${timestamp.toISOString()}`,
42 const validForDate = timestamps.every((timestamp) => path.every((cert) => cert.validForDate(timestamp)));

Completed in 13 milliseconds

12345678910>>...25