Home
last modified time | relevance | path

Searched refs:epoch (Results 1 - 25 of 57) sorted by relevance

123

/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dversion.py37 epoch: int
118 (?:(?P<epoch>[0-9]+)!)? # epoch
204 epoch=int(match.group("epoch")) if match.group("epoch") else 0,
216 self._version.epoch,
241 if self.epoch != 0:
242 parts.append(f"{self.epoch}!")
266 def epoch(sel member in Version
[all...]
H A Dspecifiers.py144 (?:[0-9]+!)? # epoch
173 (?:[0-9]+!)? # epoch
198 (?:[0-9]+!)? # epoch
656 epoch, _, rest = version.rpartition("!")
657 result.append(epoch or "0")
672 first component must be the epoch (either empty or numeric), and all other
675 epoch, *rest = components
676 return f"{epoch}!{'.'.join(rest)}"
H A Dutils.py74 if parsed.epoch != 0:
75 parts.append(f"{parsed.epoch}!")
/third_party/node/deps/v8/src/heap/cppgc/
H A Dgc-invoker.cc27 size_t epoch() const final { return collector_->epoch(); }
51 saved_epoch_(collector->epoch()) {}
57 if (handle_.IsCanceled() || (collector_->epoch() != saved_epoch_)) return;
146 size_t GCInvoker::epoch() const { return impl_->epoch(); } in epoch() function in cppgc::internal::GCInvoker
H A Dstats-collector.cc77 // Save the epoch to avoid clearing counters when a GC happened, see below. in AllocatedObjectSizeSafepointImpl()
78 const auto saved_epoch = current_.epoch; in AllocatedObjectSizeSafepointImpl()
99 if (saved_epoch == current_.epoch) { in AllocatedObjectSizeSafepointImpl()
107 epoch = epoch_counter.fetch_add(1); in Event()
289 const auto saved_epoch = current_.epoch; in NotifyAllocatedMemory()
296 DCHECK_EQ(saved_epoch, current_.epoch); in NotifyAllocatedMemory()
303 const auto saved_epoch = current_.epoch; in NotifyFreedMemory()
310 DCHECK_EQ(saved_epoch, current_.epoch); in NotifyFreedMemory()
H A Dgc-invoker.h39 size_t epoch() const final;
H A Dheap.h39 size_t epoch() const final { return epoch_; }
H A Dgarbage-collector.h76 // The current epoch that the GC maintains. The epoch is increased on every
78 virtual size_t epoch() const = 0;
H A Dstats-collector.h107 size_t epoch = -1; member
469 "epoch", stats_collector_->current_.epoch, "forced", in StopTraceImpl()
/third_party/openssl/test/helpers/
H A Dssltestlib.c119 int rem, i, content, reclen, msglen, fragoff, fraglen, epoch; in dump_data() local
139 epoch = (rec[RECORD_EPOCH_HI] << 8) | rec[RECORD_EPOCH_LO]; in dump_data()
140 printf("** Record Epoch: %d\n", epoch); in dump_data()
152 if (epoch > 0) { in dump_data()
266 unsigned int epoch; member
350 unsigned int seq, offset, len, epoch; in mempacket_test_read() local
376 epoch = (rec[EPOCH_HI] << 8) | rec[EPOCH_LO]; in mempacket_test_read()
377 if (epoch != ctx->epoch) { in mempacket_test_read()
378 ctx->epoch in mempacket_test_read()
423 unsigned int epoch; mempacket_swap_epoch() local
[all...]
/third_party/node/deps/ngtcp2/ngtcp2/crypto/picotls/
H A Dpicotls.c359 size_t epoch = ngtcp2_crypto_picotls_from_ngtcp2_crypto_level(crypto_level); in ngtcp2_crypto_read_write_crypto_data() local
366 assert(epoch == ptls_get_read_epoch(cptls->ptls)); in ngtcp2_crypto_read_write_crypto_data()
368 rv = ptls_handle_message(cptls->ptls, &sendbuf, epoch_offsets, epoch, data, in ngtcp2_crypto_read_write_crypto_data()
435 ngtcp2_crypto_level ngtcp2_crypto_picotls_from_epoch(size_t epoch) { in ngtcp2_crypto_picotls_from_epoch() argument
436 switch (epoch) { in ngtcp2_crypto_picotls_from_epoch()
560 ptls_t *ptls, int is_enc, size_t epoch, in update_traffic_key_server_cb()
564 ngtcp2_crypto_level level = ngtcp2_crypto_picotls_from_epoch(epoch); in update_traffic_key_server_cb()
606 int is_enc, size_t epoch, const void *secret) { in update_traffic_key_cb()
609 ngtcp2_crypto_level level = ngtcp2_crypto_picotls_from_epoch(epoch); in update_traffic_key_cb()
559 update_traffic_key_server_cb(ptls_update_traffic_key_t *self, ptls_t *ptls, int is_enc, size_t epoch, const void *secret) update_traffic_key_server_cb() argument
605 update_traffic_key_cb(ptls_update_traffic_key_t *self, ptls_t *ptls, int is_enc, size_t epoch, const void *secret) update_traffic_key_cb() argument
/third_party/python/Lib/zoneinfo/
H A D_zoneinfo.py537 epoch = (days_before_year + d) * 86400
538 epoch += self.hour * 3600 + self.minute * 60 + self.second
540 return epoch
588 # TODO: These are not actually epoch dates as they are expressed in local time
618 epoch = ordinal * 86400
619 epoch += self.hour * 3600 + self.minute * 60 + self.second
620 return epoch
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
H A Dcivil_time_benchmark.cc43 const absl::CivilDay epoch(1970, 1, 1); in BM_Difference_Days()
45 const absl::civil_diff_t n = c - epoch; in BM_Difference_Days()
/third_party/openssl/test/
H A Ddtlstest.c112 * Inject a dummy record from the next epoch. In test 0, this should never in test_dtls_unprocessed()
197 int epoch = 0; in test_dtls_drop_records() local
272 epoch = 1; in test_dtls_drop_records()
278 epoch = 1; in test_dtls_drop_records()
283 BIO_ctrl(mempackbio, MEMPACKET_CTRL_SET_DROP_EPOCH, epoch, NULL); in test_dtls_drop_records()
407 0, 0, /* epoch */ in test_just_finished()
467 * Test 0: Test receiving a handshake record early from next epoch on server side
468 * Test 1: Test receiving a handshake record early from next epoch on client side
469 * Test 2: Test receiving an app data record early from next epoch on client side
H A Dbad_dtls_test.c280 static unsigned char epoch[2] = { 0x00, 0x01 }; in send_record() local
318 || !EVP_MAC_update(ctx, epoch, 2) in send_record()
344 BIO_write(rbio, epoch, 2); in send_record()
431 /* Check epoch is now 1 */ in validate_ccs()
/third_party/node/deps/openssl/openssl/ssl/record/
H A Drec_layer_d1.c222 * retrieve a buffered record that belongs to the new epoch, i.e., not
240 /* Check if epoch is current. */ in dtls1_process_buffered_records()
241 if (s->rlayer.d->unprocessed_rcds.epoch != s->rlayer.d->r_epoch) in dtls1_process_buffered_records()
251 * be a record from the new epoch in it - so don't overwrite it in dtls1_process_buffered_records()
265 * current record is from a different epoch. But that cannot in dtls1_process_buffered_records()
266 * be the case because we already checked the epoch above in dtls1_process_buffered_records()
305 * sync epoch numbers once all the unprocessed records have been in dtls1_process_buffered_records()
308 s->rlayer.d->processed_rcds.epoch = s->rlayer.d->r_epoch; in dtls1_process_buffered_records()
309 s->rlayer.d->unprocessed_rcds.epoch = s->rlayer.d->r_epoch + 1; in dtls1_process_buffered_records()
868 /* field where we are to write out packet epoch, se in do_dtls1_write()
[all...]
H A Drecord.h65 /* epoch number, needed by DTLS1 */
67 unsigned long epoch; member
81 unsigned short epoch; member
97 * The current data and handshake epoch. This is initially
103 /* records being received in the current epoch */
/third_party/openssl/ssl/record/
H A Drec_layer_d1.c222 * retrieve a buffered record that belongs to the new epoch, i.e., not
240 /* Check if epoch is current. */ in dtls1_process_buffered_records()
241 if (s->rlayer.d->unprocessed_rcds.epoch != s->rlayer.d->r_epoch) in dtls1_process_buffered_records()
251 * be a record from the new epoch in it - so don't overwrite it in dtls1_process_buffered_records()
265 * current record is from a different epoch. But that cannot in dtls1_process_buffered_records()
266 * be the case because we already checked the epoch above in dtls1_process_buffered_records()
305 * sync epoch numbers once all the unprocessed records have been in dtls1_process_buffered_records()
308 s->rlayer.d->processed_rcds.epoch = s->rlayer.d->r_epoch; in dtls1_process_buffered_records()
309 s->rlayer.d->unprocessed_rcds.epoch = s->rlayer.d->r_epoch + 1; in dtls1_process_buffered_records()
868 /* field where we are to write out packet epoch, se in do_dtls1_write()
[all...]
H A Drecord.h65 /* epoch number, needed by DTLS1 */
67 unsigned long epoch; member
81 unsigned short epoch; member
97 * The current data and handshake epoch. This is initially
103 /* records being received in the current epoch */
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/
H A Dngtcp2_crypto_picotls.h67 * `ngtcp2_crypto_picotls_from_epoch` translates |epoch| to
72 ngtcp2_crypto_picotls_from_epoch(size_t epoch);
78 * |crypto_level| to epoch. This function is only available for
/third_party/ltp/testcases/kernel/fs/read_all/
H A Dread_all.c104 static long long epoch; variable
112 return tst_timespec_to_us(now) - epoch; in atomic_timestamp()
574 epoch = tst_timespec_to_us(now); in setup()
/third_party/ffmpeg/libavformat/
H A Dwtvdec.c326 int64_t epoch; member
906 if (wtv->epoch == AV_NOPTS_VALUE || wtv->pts < wtv->epoch) in parse_chunks()
907 wtv->epoch = wtv->pts; in parse_chunks()
971 wtv->epoch = in read_header()
1093 * whereas AVIndexEntry->timestamp values are relative to epoch. */ in read_seek()
1095 if (wtv->epoch != AV_NOPTS_VALUE) in read_seek()
1096 ts_relative -= wtv->epoch; in read_seek()
1114 if (wtv->epoch != AV_NOPTS_VALUE) in read_seek()
1115 wtv->pts += wtv->epoch; in read_seek()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DCalendarAstronomer.java501 // Parameters of the Sun's orbit as of the epoch Jan 0.0 1990
504 static final double JD_EPOCH = 2447891.5; // Julian day of epoch
506 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch
513 // given above for an arbitrary epoch (whatever time the object is
589 double day = julian - JD_EPOCH; // Days since epoch in getSunLongitude()
592 // circular orbit has travelled since the epoch. in getSunLongitude()
595 // The epoch wasn't at the sun's perigee; find the angular distance in getSunLongitude()
856 // // Compute day number for 0.0 Jan 2000 epoch
989 static final double moonL0 = 318.351648 * PI/180; // Mean long. at epoch
1017 // Find the # of days since the epoch o in getMoonPosition()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DCalendarAstronomer.java503 // Parameters of the Sun's orbit as of the epoch Jan 0.0 1990
506 static final double JD_EPOCH = 2447891.5; // Julian day of epoch
508 static final double SUN_ETA_G = 279.403303 * PI/180; // Ecliptic longitude at epoch
515 // given above for an arbitrary epoch (whatever time the object is
591 double day = julian - JD_EPOCH; // Days since epoch in getSunLongitude()
594 // circular orbit has travelled since the epoch. in getSunLongitude()
597 // The epoch wasn't at the sun's perigee; find the angular distance in getSunLongitude()
858 // // Compute day number for 0.0 Jan 2000 epoch
991 static final double moonL0 = 318.351648 * PI/180; // Mean long. at epoch
1019 // Find the # of days since the epoch o in getMoonPosition()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dcctz_benchmark.cc34 const cctz::civil_day epoch(1970, 1, 1); in BM_Difference_Days()
36 benchmark::DoNotOptimize(c - epoch); in BM_Difference_Days()

Completed in 22 milliseconds

123