Home
last modified time | relevance | path

Searched refs:seconds_left (Results 1 – 25 of 79) sorted by relevance

1234

/dports/www/habari/habari-0.8/system/classes/
H A Dhabaridatetime.php611 $seconds_left = $difference;
613 $result['y'] = floor( $seconds_left / self::YEAR );
614 $seconds_left = $seconds_left - ( $result['y'] * self::YEAR );
617 $seconds_left = $seconds_left - ( $result['m'] * self::MONTH );
619 $result['w'] = floor( $seconds_left / self::WEEK );
620 $seconds_left = $seconds_left - ( $result['w'] * self::WEEK );
622 $result['d'] = floor( $seconds_left / self::DAY );
623 $seconds_left = $seconds_left - ( $result['d'] * self::DAY );
626 $seconds_left = $seconds_left - ( $result['h'] * self::HOUR );
629 $seconds_left = $seconds_left - ( $result['i'] * self::MINUTE );
[all …]
/dports/editors/emacs-devel/emacs-4d1968b/src/
H A Dw32cygwinx.c60 long seconds_left = (long) system_status.BatteryLifeTime; variable
79 seconds_left = system_status.BatteryFullLifeTime - seconds_left;
107 if (seconds_left < 0)
111 long m = seconds_left / 60;
112 seconds = format_string ("%ld", seconds_left);
114 hours = format_string ("%3.1f", seconds_left / 3600.0);
/dports/editors/emacs/emacs-27.2/src/
H A Dw32cygwinx.c60 long seconds_left = (long) system_status.BatteryLifeTime; variable
79 seconds_left = system_status.BatteryFullLifeTime - seconds_left;
107 if (seconds_left < 0)
111 long m = seconds_left / 60;
112 seconds = format_string ("%ld", seconds_left);
114 hours = format_string ("%3.1f", seconds_left / 3600.0);
/dports/audio/p5-Audio-MPD-Common/Audio-MPD-Common-2.003/lib/Audio/MPD/Common/
H A DTime.pm46 seconds_left => [ get => 'seconds_left' ],
57 my $seconds_left = $seconds_total - $seconds_sofar;
71 my $left_mins = int( $seconds_left / 60 );
72 my $left_secs = $seconds_left % 60;
79 seconds_left => $seconds_left,
/dports/misc/gkrellmbgchg2/gkrellmbgchg2-0.1.11/
H A Dgkrellmbgchg.c57 gint seconds_left; member
374 pbg_ctx->seconds_left = bgmon.wait_seconds; in update_image()
413 pbg_ctx->seconds_left = 10; in update_image()
438 if (!*value) pbg_ctx->seconds_left += count; in update_image()
448 pbg_ctx->seconds_left = count; in update_image()
452 pbg_ctx->seconds_left = count; in update_image()
527 gint hours = pbg_ctx->seconds_left / 3600; in update_decals_text()
532 pbg_ctx->seconds_left / 60, pbg_ctx->seconds_left % 60 ); in update_decals_text()
613 pbg_ctx->seconds_left -= bgmon.scroll_adj_time; in cb_panel_scroll()
614 if( pbg_ctx->seconds_left < 0 ) pbg_ctx->seconds_left = 1; in cb_panel_scroll()
[all …]
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/storage/
H A Doauth_token_util.py36seconds_left = (datetime.strptime(expire, "%Y-%m-%d %H:%M:%S.%f") - datetime.now()).total_seconds()
40 seconds_left = (expire - datetime.now()).total_seconds()
42 if seconds_left < 180:
46 self.timer = threading.Timer(seconds_left - 180, self.timer_callback)
/dports/audio/mixxx/mixxx-2.3.0/src/util/battery/
H A Dbatterywindows.cpp37 int seconds_left = static_cast<int>(spsPwr.BatteryLifeTime); in read() local
38 if (seconds_left >= 0) { in read()
39 m_iMinutesLeft = seconds_left / 60; in read()
/dports/devel/gdb/gdb-11.1/gdb/testsuite/gdb.threads/
H A Ddetach-step-over.c67 unsigned int seconds_left = SECONDS; variable
98 while (--seconds_left > 0) in main()
106 seconds_left = SECONDS; in main()
H A Dattach-many-short-lived-threads.c121 unsigned int seconds_left = SECONDS; variable
160 while (--seconds_left > 0) in main()
168 seconds_left = SECONDS; in main()
/dports/net/tcpstat/tcpstat-1.5/lib/
H A Dprocess.c42 Double seconds_left; variable
52 seconds_left -= SECONDS_STEP; in process_catch_alarm()
53 if (seconds_left <= 0 || a == SIGINT) run = 0; in process_catch_alarm()
54 else my_alarm((seconds_left > SECONDS_STEP)? SECONDS_STEP : seconds_left); in process_catch_alarm()
359 seconds_left = capture_seconds; in get_pcap_data()
367 my_alarm((seconds_left > SECONDS_STEP)? SECONDS_STEP : seconds_left); in get_pcap_data()
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/
H A Djob_waiter.rb66 seconds_left = (deadline - Time.now.utc).ceil
69 break if seconds_left <= 0
71 list, jid = redis.blpop(key, timeout: seconds_left)
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/feature/stats/
H A Dpredict_ports.c57 time_t seconds_left; in predicted_ports_prediction_time_remaining() local
75 seconds_left = time_diff(seconds_waited, prediction_timeout); in predicted_ports_prediction_time_remaining()
76 if (BUG(seconds_left == TIME_MAX)) in predicted_ports_prediction_time_remaining()
79 return (int)(seconds_left); in predicted_ports_prediction_time_remaining()
/dports/security/tor/tor-0.4.6.8/src/feature/stats/
H A Dpredict_ports.c57 time_t seconds_left; in predicted_ports_prediction_time_remaining() local
75 seconds_left = time_diff(seconds_waited, prediction_timeout); in predicted_ports_prediction_time_remaining()
76 if (BUG(seconds_left == TIME_MAX)) in predicted_ports_prediction_time_remaining()
79 return (int)(seconds_left); in predicted_ports_prediction_time_remaining()
/dports/mail/courier/courier-0.65.3/maildrop/
H A Dalarm.C32 void Alarm::cancel_sig(unsigned seconds_left) in cancel_sig() argument
37 while ((p=first) != 0 && p->set_interval <= seconds_left) in cancel_sig()
46 p->set_interval -= seconds_left; in cancel_sig()
/dports/mail/maildrop/maildrop-3.0.3/libs/maildrop/
H A Dalarm.C31 void Alarm::cancel_sig(unsigned seconds_left) in cancel_sig() argument
36 while ((p=first) != 0 && p->set_interval <= seconds_left) in cancel_sig()
45 p->set_interval -= seconds_left; in cancel_sig()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/time/
H A Dtime_view.cc265 int seconds_left = 60 - exploded.second; in SetTimer() local
266 if (seconds_left == 0) in SetTimer()
267 seconds_left = 60; in SetTimer()
271 seconds_left += kTimerSlopSeconds; in SetTimer()
274 timer_.Start(FROM_HERE, base::TimeDelta::FromSeconds(seconds_left), this, in SetTimer()
/dports/www/libmicrohttpd/libmicrohttpd-0.9.74/src/microhttpd/
H A Dtest_shutdown_select.c269 unsigned seconds_left = seconds; in local_sleep()
272 seconds_left = sleep (seconds_left); in local_sleep()
273 } while (seconds_left > 0); in local_sleep()
/dports/multimedia/musikcube/musikcube-0.96.7/src/3rdparty/win32_src/microhttpd/
H A Dtest_shutdown_select.c266 unsigned seconds_left = seconds; in local_sleep()
269 seconds_left = sleep(seconds_left); in local_sleep()
270 } while (seconds_left > 0); in local_sleep()
/dports/x11-clocks/xfce4-time-out-plugin/xfce4-time-out-plugin-1.1.2/panel-plugin/
H A Dtime-out-countdown.c55 gint seconds_left);
57 gint seconds_left);
59 gint seconds_left);
61 gint seconds_left);
63 gint seconds_left);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/chromeos/login/
H A Dupdate_required_screen_handler.h62 virtual void SetEstimatedTimeLeft(int seconds_left) = 0;
89 void SetEstimatedTimeLeft(int seconds_left) override;
H A Dupdate_required_screen_handler.cc127 void UpdateRequiredScreenHandler::SetEstimatedTimeLeft(int seconds_left) { in SetEstimatedTimeLeft() argument
128 CallJS("login.UpdateRequiredScreen.setEstimatedTimeLeft", seconds_left); in SetEstimatedTimeLeft()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/webui/chromeos/login/
H A Dupdate_required_screen_handler.h62 virtual void SetEstimatedTimeLeft(int seconds_left) = 0;
91 void SetEstimatedTimeLeft(int seconds_left) override;
H A Dupdate_required_screen_handler.cc146 void UpdateRequiredScreenHandler::SetEstimatedTimeLeft(int seconds_left) { in SetEstimatedTimeLeft() argument
147 CallJS("login.UpdateRequiredScreen.setEstimatedTimeLeft", seconds_left); in SetEstimatedTimeLeft()
/dports/audio/mpg123/mpg123-1.29.3/src/libmpg123/
H A Dlfs_alias.c201 …s_alias_t *current_frame, lfs_alias_t *frames_left, double *current_seconds, double *seconds_left);
202 …fs_alias_t *current_frame, lfs_alias_t *frames_left, double *current_seconds, double *seconds_left) in ALIAS_NAME()
204 …tion)(mh, frame_offset, buffered_bytes, current_frame, frames_left, current_seconds, seconds_left); in ALIAS_NAME()
/dports/audio/welle.io/welle.io-66675c9a4160c644a5ade5bf7a0cd0647647f33c/src/libs/mpg123/
H A Dlfs_alias.c193 …s_alias_t *current_frame, lfs_alias_t *frames_left, double *current_seconds, double *seconds_left);
194 …fs_alias_t *current_frame, lfs_alias_t *frames_left, double *current_seconds, double *seconds_left) in ALIAS_NAME()
196 …tion)(mh, frame_offset, buffered_bytes, current_frame, frames_left, current_seconds, seconds_left); in ALIAS_NAME()

1234