/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/date/ |
H A D | date.cc | 280 time_sec <= after_->end_sec) { in ExtendTheAfterSegment() 282 after_->start_sec = time_sec; in ExtendTheAfterSegment() 289 after_->start_sec = time_sec; in ExtendTheAfterSegment() 290 after_->end_sec = time_sec; in ExtendTheAfterSegment() 312 if (before_->start_sec <= time_sec && time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() 318 ProbeDST(time_sec); in DaylightSavingsOffsetInMs() 325 before_->start_sec = time_sec; in DaylightSavingsOffsetInMs() 326 before_->end_sec = time_sec; in DaylightSavingsOffsetInMs() 332 if (time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() 406 void DateCache::ProbeDST(int time_sec) { in ProbeDST() argument [all …]
|
/dports/www/node10/node-v10.24.1/deps/v8/src/ |
H A D | date.cc | 291 time_sec <= after_->end_sec) { in ExtendTheAfterSegment() 293 after_->start_sec = time_sec; in ExtendTheAfterSegment() 300 after_->start_sec = time_sec; in ExtendTheAfterSegment() 301 after_->end_sec = time_sec; in ExtendTheAfterSegment() 324 if (before_->start_sec <= time_sec && in DaylightSavingsOffsetInMs() 325 time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() 331 ProbeDST(time_sec); in DaylightSavingsOffsetInMs() 338 before_->start_sec = time_sec; in DaylightSavingsOffsetInMs() 339 before_->end_sec = time_sec; in DaylightSavingsOffsetInMs() 345 if (time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/date/ |
H A D | date.cc | 280 time_sec <= after_->end_sec) { in ExtendTheAfterSegment() 282 after_->start_sec = time_sec; in ExtendTheAfterSegment() 289 after_->start_sec = time_sec; in ExtendTheAfterSegment() 290 after_->end_sec = time_sec; in ExtendTheAfterSegment() 312 if (before_->start_sec <= time_sec && time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() 318 ProbeDST(time_sec); in DaylightSavingsOffsetInMs() 325 before_->start_sec = time_sec; in DaylightSavingsOffsetInMs() 326 before_->end_sec = time_sec; in DaylightSavingsOffsetInMs() 332 if (time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() 406 void DateCache::ProbeDST(int time_sec) { in ProbeDST() argument [all …]
|
/dports/lang/v8/v8-9.6.180.12/src/date/ |
H A D | date.cc | 280 time_sec <= after_->end_sec) { in ExtendTheAfterSegment() 282 after_->start_sec = time_sec; in ExtendTheAfterSegment() 289 after_->start_sec = time_sec; in ExtendTheAfterSegment() 290 after_->end_sec = time_sec; in ExtendTheAfterSegment() 312 if (before_->start_sec <= time_sec && time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() 318 ProbeDST(time_sec); in DaylightSavingsOffsetInMs() 325 before_->start_sec = time_sec; in DaylightSavingsOffsetInMs() 326 before_->end_sec = time_sec; in DaylightSavingsOffsetInMs() 332 if (time_sec <= before_->end_sec) { in DaylightSavingsOffsetInMs() 406 void DateCache::ProbeDST(int time_sec) { in ProbeDST() argument [all …]
|
/dports/math/plplot-ada/plplot-5.15.0/lib/qsastime/ |
H A D | qsastime_extra.c | 137 MJD->time_sec = sec + ( (double) min + (double) hour * 60. ) * 60.; in setFromDOY() 139 if ( MJD->time_sec >= SecInDay ) in setFromDOY() 141 extraDays = (int) ( MJD->time_sec / SecInDay ); in setFromDOY() 143 MJD->time_sec -= extraDays * SecInDay; in setFromDOY() 162 MJD->time_sec = ( ModifiedJulianDate - MJD->base_day ) * SecInDay; in setFromMJD() 171 MJD->time_sec = ( JulianDate - MJDtoJD - (double) MJD->base_day ) * SecInDay; in setFromJD() 182 MJD->time_sec = seconds - MJD->base_day * SecInDay; in setFromCDFepoch() 192 double seconds = days * SecInDay + MJD->time_sec; in getCDFepoch() 199 return (double) MJD->base_day + MJD->time_sec / SecInDay; in getMJD() 212 …double diff = (double) ( MJD1->base_day - MJD2->base_day ) + ( MJD1->time_sec - MJD2->time_sec ) /… in getDiffDays() [all …]
|
H A D | qsastime_testlib.c | 136 jd = 2400000.5 + pMJD1->base_day + pMJD1->time_sec / 86400.; in testlib_broken_down_time() 252 jd = 2400000.5 + MJD1->base_day + MJD1->time_sec / 86400.; in testlib_MJD() 267 if ( !( MJD2->time_sec == MJD1->time_sec && MJD2->base_day == MJD1->base_day ) ) in testlib_MJD() 269 … printf( "(normalized) input MJD components are = %d, %f\n", MJD1->base_day, MJD1->time_sec ); in testlib_MJD() 501 MJD1->time_sec++; in main() 520 MJD1->time_sec++; in main() 539 MJD1->time_sec++; in main() 547 MJD1->time_sec = 3600.; in main() 551 MJD1->time_sec = 3600. + 1.e-8 * (double) iepsilon; in main() 553 printf( "MJD = {%d,%20.15f}\n", MJD1->base_day, MJD1->time_sec ); in main() [all …]
|
H A D | qsastime.c | 86 double time_sec, dextraDays; in setFromUT() local 146 if ( time_sec >= SecInDay ) in setFromUT() 156 time_sec -= extraDays * SecInDay; in setFromUT() 170 MJD->time_sec = time_sec; in setFromUT() 275 if ( MJD->time_sec >= 0 ) in normalize_MJD() 286 MJD->time_sec -= extra_days * SecInDay; in normalize_MJD() 301 *sec = nMJD->time_sec; in breakDownMJD() 423 nMJD->time_sec += 0.5 / shiftPlaces; in strfMJD() 429 nMJD->time_sec -= 1.; in strfMJD() 1124 MJD->time_sec += leap; in leap_second_TAI() [all …]
|
/dports/math/plplot/plplot-5.15.0/lib/qsastime/ |
H A D | qsastime_extra.c | 137 MJD->time_sec = sec + ( (double) min + (double) hour * 60. ) * 60.; in setFromDOY() 139 if ( MJD->time_sec >= SecInDay ) in setFromDOY() 141 extraDays = (int) ( MJD->time_sec / SecInDay ); in setFromDOY() 143 MJD->time_sec -= extraDays * SecInDay; in setFromDOY() 162 MJD->time_sec = ( ModifiedJulianDate - MJD->base_day ) * SecInDay; in setFromMJD() 171 MJD->time_sec = ( JulianDate - MJDtoJD - (double) MJD->base_day ) * SecInDay; in setFromJD() 182 MJD->time_sec = seconds - MJD->base_day * SecInDay; in setFromCDFepoch() 192 double seconds = days * SecInDay + MJD->time_sec; in getCDFepoch() 199 return (double) MJD->base_day + MJD->time_sec / SecInDay; in getMJD() 212 …double diff = (double) ( MJD1->base_day - MJD2->base_day ) + ( MJD1->time_sec - MJD2->time_sec ) /… in getDiffDays() [all …]
|
H A D | qsastime_testlib.c | 136 jd = 2400000.5 + pMJD1->base_day + pMJD1->time_sec / 86400.; in testlib_broken_down_time() 252 jd = 2400000.5 + MJD1->base_day + MJD1->time_sec / 86400.; in testlib_MJD() 267 if ( !( MJD2->time_sec == MJD1->time_sec && MJD2->base_day == MJD1->base_day ) ) in testlib_MJD() 269 … printf( "(normalized) input MJD components are = %d, %f\n", MJD1->base_day, MJD1->time_sec ); in testlib_MJD() 501 MJD1->time_sec++; in main() 520 MJD1->time_sec++; in main() 539 MJD1->time_sec++; in main() 547 MJD1->time_sec = 3600.; in main() 551 MJD1->time_sec = 3600. + 1.e-8 * (double) iepsilon; in main() 553 printf( "MJD = {%d,%20.15f}\n", MJD1->base_day, MJD1->time_sec ); in main() [all …]
|
H A D | qsastime.c | 86 double time_sec, dextraDays; in setFromUT() local 146 if ( time_sec >= SecInDay ) in setFromUT() 156 time_sec -= extraDays * SecInDay; in setFromUT() 170 MJD->time_sec = time_sec; in setFromUT() 275 if ( MJD->time_sec >= 0 ) in normalize_MJD() 286 MJD->time_sec -= extra_days * SecInDay; in normalize_MJD() 301 *sec = nMJD->time_sec; in breakDownMJD() 423 nMJD->time_sec += 0.5 / shiftPlaces; in strfMJD() 429 nMJD->time_sec -= 1.; in strfMJD() 1124 MJD->time_sec += leap; in leap_second_TAI() [all …]
|
/dports/databases/rocksdb/rocksdb-6.26.1/test_util/ |
H A D | mock_time_env.h | 25 virtual Status GetCurrentTime(int64_t* time_sec) override { in GetCurrentTime() argument 26 assert(time_sec != nullptr); in GetCurrentTime() 27 *time_sec = static_cast<int64_t>(current_time_us_ / kMicrosInSecond); in GetCurrentTime() 42 void SetCurrentTime(uint64_t time_sec) { in SetCurrentTime() argument 43 assert(time_sec < std::numeric_limits<uint64_t>::max() / kMicrosInSecond); in SetCurrentTime() 44 assert(time_sec * kMicrosInSecond >= current_time_us_); in SetCurrentTime() 45 current_time_us_ = time_sec * kMicrosInSecond; in SetCurrentTime()
|
/dports/databases/rocksdb-lite/rocksdb-6.26.1/test_util/ |
H A D | mock_time_env.h | 25 virtual Status GetCurrentTime(int64_t* time_sec) override { in GetCurrentTime() argument 26 assert(time_sec != nullptr); in GetCurrentTime() 27 *time_sec = static_cast<int64_t>(current_time_us_ / kMicrosInSecond); in GetCurrentTime() 42 void SetCurrentTime(uint64_t time_sec) { in SetCurrentTime() argument 43 assert(time_sec < std::numeric_limits<uint64_t>::max() / kMicrosInSecond); in SetCurrentTime() 44 assert(time_sec * kMicrosInSecond >= current_time_us_); in SetCurrentTime() 45 current_time_us_ = time_sec * kMicrosInSecond; in SetCurrentTime()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/test_util/ |
H A D | mock_time_env.h | 24 virtual Status GetCurrentTime(int64_t* time_sec) override { in GetCurrentTime() argument 25 assert(time_sec != nullptr); in GetCurrentTime() 26 *time_sec = static_cast<int64_t>(current_time_us_ / kMicrosInSecond); in GetCurrentTime() 41 void SetCurrentTime(uint64_t time_sec) { in SetCurrentTime() argument 42 assert(time_sec < std::numeric_limits<uint64_t>::max() / kMicrosInSecond); in SetCurrentTime() 43 assert(time_sec * kMicrosInSecond >= current_time_us_); in SetCurrentTime() 44 current_time_us_ = time_sec * kMicrosInSecond; in SetCurrentTime()
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/test_util/ |
H A D | mock_time_env.h | 24 virtual Status GetCurrentTime(int64_t* time_sec) override { in GetCurrentTime() argument 25 assert(time_sec != nullptr); in GetCurrentTime() 26 *time_sec = static_cast<int64_t>(current_time_us_ / kMicrosInSecond); in GetCurrentTime() 41 void SetCurrentTime(uint64_t time_sec) { in SetCurrentTime() argument 42 assert(time_sec < std::numeric_limits<uint64_t>::max() / kMicrosInSecond); in SetCurrentTime() 43 assert(time_sec * kMicrosInSecond >= current_time_us_); in SetCurrentTime() 44 current_time_us_ = time_sec * kMicrosInSecond; in SetCurrentTime()
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/test_util/ |
H A D | mock_time_env.h | 24 virtual Status GetCurrentTime(int64_t* time_sec) override { in GetCurrentTime() argument 25 assert(time_sec != nullptr); in GetCurrentTime() 26 *time_sec = static_cast<int64_t>(current_time_us_ / kMicrosInSecond); in GetCurrentTime() 41 void SetCurrentTime(uint64_t time_sec) { in SetCurrentTime() argument 42 assert(time_sec < std::numeric_limits<uint64_t>::max() / kMicrosInSecond); in SetCurrentTime() 43 assert(time_sec * kMicrosInSecond >= current_time_us_); in SetCurrentTime() 44 current_time_us_ = time_sec * kMicrosInSecond; in SetCurrentTime()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/gc/shared/ |
H A D | weakProcessorPhaseTimes.cpp | 115 void WeakProcessorPhaseTimes::record_total_time_sec(double time_sec) { in record_total_time_sec() argument 117 _total_time_sec = time_sec; in record_total_time_sec() 126 void WeakProcessorPhaseTimes::record_phase_time_sec(WeakProcessorPhase phase, double time_sec) { in record_phase_time_sec() argument 129 _phase_times_sec[phase_index(phase)] = time_sec; in record_phase_time_sec() 150 double time_sec) { in record_worker_time_sec() argument 152 record_phase_time_sec(phase, time_sec); in record_worker_time_sec() 154 worker_data(phase)->set(worker_id, time_sec); in record_worker_time_sec() 199 double time_sec = elapsed_time_sec(_start_time, Ticks::now()); in ~WeakProcessorPhaseTimeTracker() local 201 _times->record_phase_time_sec(_phase, time_sec); in ~WeakProcessorPhaseTimeTracker() 203 _times->record_worker_time_sec(_worker_id, _phase, time_sec); in ~WeakProcessorPhaseTimeTracker()
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libutils/include/utils/ |
H A D | Condition.h | 141 int64_t time_sec = ts.tv_sec; in waitRelative() local 142 if (time_sec > INT64_MAX - reltime_sec) { in waitRelative() 143 time_sec = INT64_MAX; in waitRelative() 145 time_sec += reltime_sec; in waitRelative() 148 ts.tv_sec = (time_sec > LONG_MAX) ? LONG_MAX : static_cast<long>(time_sec); in waitRelative()
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/libutils/include/utils/ |
H A D | Condition.h | 141 int64_t time_sec = ts.tv_sec; in waitRelative() local 142 if (time_sec > INT64_MAX - reltime_sec) { in waitRelative() 143 time_sec = INT64_MAX; in waitRelative() 145 time_sec += reltime_sec; in waitRelative() 148 ts.tv_sec = (time_sec > LONG_MAX) ? LONG_MAX : static_cast<long>(time_sec); in waitRelative()
|
/dports/multimedia/dvdrip/dvdrip-0.98.11/lib/Video/DVDRip/ |
H A D | SrtxFile.pm | 104 sub get_time_sec { shift->{time_sec} } 109 sub set_time_sec { shift->{time_sec} = $_[1] } 120 my $time_sec = $3 + $2 * 60 + $1 * 3600; 125 time_sec => $time_sec,
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/shared/ |
H A D | weakProcessorPhaseTimes.cpp | 133 void WeakProcessorPhaseTimes::record_total_time_sec(double time_sec) { in record_total_time_sec() argument 135 _total_time_sec = time_sec; in record_total_time_sec() 144 void WeakProcessorPhaseTimes::record_phase_time_sec(WeakProcessorPhase phase, double time_sec) { in record_phase_time_sec() argument 147 _phase_times_sec[phase_index(phase)] = time_sec; in record_phase_time_sec() 178 double time_sec) { in record_worker_time_sec() argument 180 record_phase_time_sec(phase, time_sec); in record_worker_time_sec() 182 worker_data(phase)->set(worker_id, time_sec); in record_worker_time_sec() 239 double time_sec = elapsed_time_sec(_start_time, Ticks::now()); in ~WeakProcessorPhaseTimeTracker() local 241 _times->record_phase_time_sec(_phase, time_sec); in ~WeakProcessorPhaseTimeTracker() 243 _times->record_worker_time_sec(_worker_id, _phase, time_sec); in ~WeakProcessorPhaseTimeTracker()
|
/dports/games/blobby/blobby-1.0/src/ |
H A D | Clock.cpp | 74 int time_sec = mGameTime / 1000; in getTimeString() local 76 int seconds = time_sec % 60; in getTimeString() 77 int minutes = ((time_sec - seconds) / 60) % 60; in getTimeString() 78 int hours = ((time_sec - 60 * minutes - seconds) / 3600) % 60; in getTimeString()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/shared/ |
H A D | weakProcessorPhaseTimes.cpp | 136 void WeakProcessorPhaseTimes::record_total_time_sec(double time_sec) { in record_total_time_sec() argument 138 _total_time_sec = time_sec; in record_total_time_sec() 148 void WeakProcessorPhaseTimes::record_phase_time_sec(WeakProcessorPhase phase, double time_sec) { in record_phase_time_sec() argument 152 _phase_times_sec[serial_phase_index(phase)] = time_sec; in record_phase_time_sec() 179 double time_sec) { in record_worker_time_sec() argument 180 worker_data(phase)->set(worker_id, time_sec); in record_worker_time_sec() 233 double time_sec = elapsed_time_sec(_start_time, Ticks::now()); in ~WeakProcessorPhaseTimeTracker() local 235 _times->record_phase_time_sec(_phase, time_sec); in ~WeakProcessorPhaseTimeTracker() 237 _times->record_worker_time_sec(_worker_id, _phase, time_sec); in ~WeakProcessorPhaseTimeTracker()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/gc/shared/ |
H A D | weakProcessorPhaseTimes.cpp | 136 void WeakProcessorPhaseTimes::record_total_time_sec(double time_sec) { in record_total_time_sec() argument 138 _total_time_sec = time_sec; in record_total_time_sec() 148 void WeakProcessorPhaseTimes::record_phase_time_sec(WeakProcessorPhase phase, double time_sec) { in record_phase_time_sec() argument 152 _phase_times_sec[serial_phase_index(phase)] = time_sec; in record_phase_time_sec() 179 double time_sec) { in record_worker_time_sec() argument 180 worker_data(phase)->set(worker_id, time_sec); in record_worker_time_sec() 233 double time_sec = elapsed_time_sec(_start_time, Ticks::now()); in ~WeakProcessorPhaseTimeTracker() local 235 _times->record_phase_time_sec(_phase, time_sec); in ~WeakProcessorPhaseTimeTracker() 237 _times->record_worker_time_sec(_worker_id, _phase, time_sec); in ~WeakProcessorPhaseTimeTracker()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/crypto/asn1/ |
H A D | time_support.c | 145 int time_sec, time_year, time_month, time_day; in OPENSSL_gmtime_adj() local 149 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) { in OPENSSL_gmtime_adj() 167 tm->tm_hour = time_sec / 3600; in OPENSSL_gmtime_adj() 168 tm->tm_min = (time_sec / 60) % 60; in OPENSSL_gmtime_adj() 169 tm->tm_sec = time_sec % 60; in OPENSSL_gmtime_adj()
|
/dports/lang/mono/mono-5.10.1.57/external/boringssl/crypto/ |
H A D | time_support.c | 145 int time_sec, time_year, time_month, time_day; in OPENSSL_gmtime_adj() local 149 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) { in OPENSSL_gmtime_adj() 167 tm->tm_hour = time_sec / 3600; in OPENSSL_gmtime_adj() 168 tm->tm_min = (time_sec / 60) % 60; in OPENSSL_gmtime_adj() 169 tm->tm_sec = time_sec % 60; in OPENSSL_gmtime_adj()
|