/dports/net-mgmt/net-snmp/net-snmp-5.9/agent/mibgroup/disman/schedule/ |
H A D | schedCore.c | 273 struct tm now_tm, next_tm; in sched_nextTime() local 349 (void) localtime_r( &now, &now_tm ); in sched_nextTime() 357 if ( _bit_set( entry->schedMonth, now_tm.tm_mon )) { in sched_nextTime() 358 next_tm.tm_mon = now_tm.tm_mon; in sched_nextTime() 359 rev_day = _daysPerMonth[ now_tm.tm_mon ] - now_tm.tm_mday; in sched_nextTime() 363 next_tm.tm_mday = now_tm.tm_mday; in sched_nextTime() 366 next_tm.tm_hour = now_tm.tm_hour; in sched_nextTime() 387 mon = now_tm.tm_mon; in sched_nextTime() 388 if ( mon == 1 && (now_tm.tm_year%4 == 0) ) in sched_nextTime() 392 now_tm.tm_mday, in sched_nextTime() [all …]
|
/dports/emulators/tme/tme-0.8/ic/ |
H A D | mm58167.c | 112 struct tm *now_tm; in _tme_mm58167_bus_cycle() local 142 now_tm = gmtime_r(&_now, &mm58167->tme_mm58167_sampled_tm); in _tme_mm58167_bus_cycle() 143 if (now_tm != &mm58167->tme_mm58167_sampled_tm) { in _tme_mm58167_bus_cycle() 144 mm58167->tme_mm58167_sampled_tm = *now_tm; in _tme_mm58167_bus_cycle() 159 now_tm = &mm58167->tme_mm58167_sampled_tm; in _tme_mm58167_bus_cycle() 200 value = now_tm->tm_sec; in _tme_mm58167_bus_cycle() 203 value = now_tm->tm_min; in _tme_mm58167_bus_cycle() 206 value = now_tm->tm_hour; in _tme_mm58167_bus_cycle() 209 value = now_tm->tm_wday; in _tme_mm58167_bus_cycle() 212 value = now_tm->tm_mday; in _tme_mm58167_bus_cycle() [all …]
|
H A D | mk48txx.c | 164 struct tm *now_tm, now_tm_buffer; in _tme_mk48txx_bus_cycle() local 189 now_tm = gmtime_r(&_now, &now_tm_buffer); in _tme_mk48txx_bus_cycle() 192 mk48txx->tme_mk48txx_regs[TME_MK48TXX_REG_HOUR] = _tme_mk48txx_bcd_out(now_tm->tm_hour); in _tme_mk48txx_bus_cycle() 193 mk48txx->tme_mk48txx_regs[TME_MK48TXX_REG_MIN] = _tme_mk48txx_bcd_out(now_tm->tm_min); in _tme_mk48txx_bus_cycle() 194 mk48txx->tme_mk48txx_regs[TME_MK48TXX_REG_SEC] = _tme_mk48txx_bcd_out(now_tm->tm_sec); in _tme_mk48txx_bus_cycle() 195 mk48txx->tme_mk48txx_regs[TME_MK48TXX_REG_MON] = _tme_mk48txx_bcd_out(now_tm->tm_mon + 1); in _tme_mk48txx_bus_cycle() 196 mk48txx->tme_mk48txx_regs[TME_MK48TXX_REG_DAY] = _tme_mk48txx_bcd_out(now_tm->tm_mday); in _tme_mk48txx_bus_cycle() 198 = _tme_mk48txx_bcd_out((1900 + now_tm->tm_year) - mk48txx->tme_mk48txx_year_zero); in _tme_mk48txx_bus_cycle() 199 mk48txx->tme_mk48txx_regs[TME_MK48TXX_REG_WDAY] = now_tm->tm_wday; in _tme_mk48txx_bus_cycle()
|
H A D | isil7170.c | 411 struct tm *now_tm, now_tm_buffer; in _tme_isil7170_bus_cycle() local 438 now_tm = gmtime_r(&_now, &now_tm_buffer); in _tme_isil7170_bus_cycle() 442 isil7170->tme_isil7170_regs[TME_ISIL7170_REG_HOUR] = now_tm->tm_hour; in _tme_isil7170_bus_cycle() 443 isil7170->tme_isil7170_regs[TME_ISIL7170_REG_MIN] = now_tm->tm_min; in _tme_isil7170_bus_cycle() 444 isil7170->tme_isil7170_regs[TME_ISIL7170_REG_SEC] = now_tm->tm_sec; in _tme_isil7170_bus_cycle() 445 isil7170->tme_isil7170_regs[TME_ISIL7170_REG_MON] = now_tm->tm_mon + 1; in _tme_isil7170_bus_cycle() 446 isil7170->tme_isil7170_regs[TME_ISIL7170_REG_DAY] = now_tm->tm_mday; in _tme_isil7170_bus_cycle() 447 …isil7170->tme_isil7170_regs[TME_ISIL7170_REG_YEAR] = (1900 + now_tm->tm_year) - TME_ISIL7170_REG_Y… in _tme_isil7170_bus_cycle() 448 isil7170->tme_isil7170_regs[TME_ISIL7170_REG_DOW] = now_tm->tm_wday; in _tme_isil7170_bus_cycle()
|
/dports/devel/spdlog/spdlog-1.9.2/include/spdlog/sinks/ |
H A D | daily_file_sink.h | 31 static filename_t calc_filename(const filename_t &filename, const tm &now_tm) in calc_filename() 36 …_FILENAME_T("{}_{:04d}-{:02d}-{:02d}{}"), basename, now_tm.tm_year + 1900, now_tm.tm_mon + 1, now_… in calc_filename() 49 static filename_t calc_filename(const filename_t &filename, const tm &now_tm) in calc_filename() 54 return fmt::format(fmt_filename, now_tm); in calc_filename() 56 return fmt::format(SPDLOG_FMT_RUNTIME(fmt_filename), now_tm); in calc_filename() 85 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in base_filename_() 108 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(time)); in sink_it_() 138 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in init_filenames_q_() 152 tm now_tm(log_clock::time_point tp) in now_tm() function 161 tm date = now_tm(now); in next_rotation_tp_()
|
H A D | hourly_file_sink.h | 30 static filename_t calc_filename(const filename_t &filename, const tm &now_tm) in calc_filename() 34 …PDLOG_FILENAME_T("{}_{:04d}{:02d}{:02d}_{:02d}{}"), basename, now_tm.tm_year + 1900, now_tm.tm_mon… in calc_filename() 35 now_tm.tm_mday, now_tm.tm_hour, ext); in calc_filename() 56 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in base_filename_() 79 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(time)); in sink_it_() 109 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in init_filenames_q_() 123 tm now_tm(log_clock::time_point tp) in now_tm() function 132 tm date = now_tm(now); in next_rotation_tp_()
|
/dports/deskutils/flameshot/flameshot-0.10.2/external/spdlog/include/spdlog/sinks/ |
H A D | hourly_file_sink.h | 30 static filename_t calc_filename(const filename_t &filename, const tm &now_tm) in calc_filename() 35 …{}_{:04d}{:02d}{:02d}_{:02d}{}"), basename, now_tm.tm_year + 1900, now_tm.tm_mon + 1, now_tm.tm_md… in calc_filename() 56 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in base_filename_() 79 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(time)); in sink_it_() 109 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in init_filenames_q_() 123 tm now_tm(log_clock::time_point tp) in now_tm() function 132 tm date = now_tm(now); in next_rotation_tp_()
|
H A D | daily_file_sink.h | 30 static filename_t calc_filename(const filename_t &filename, const tm &now_tm) in calc_filename() 35 …_FILENAME_T("{}_{:04d}-{:02d}-{:02d}{}"), basename, now_tm.tm_year + 1900, now_tm.tm_mon + 1, now_… in calc_filename() 63 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in base_filename_() 86 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(time)); in sink_it_() 116 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in init_filenames_q_() 130 tm now_tm(log_clock::time_point tp) in now_tm() function 139 tm date = now_tm(now); in next_rotation_tp_()
|
/dports/games/nxengine/nxengine-evo-2.6.5-1/deps/spdlog/sinks/ |
H A D | daily_file_sink.h | 32 static filename_t calc_filename(const filename_t &filename, const tm &now_tm) in calc_filename() 38 …_FILENAME_T("{}_{:04d}-{:02d}-{:02d}{}"), basename, now_tm.tm_year + 1900, now_tm.tm_mon + 1, now_… in calc_filename() 62 file_helper_.open(FileNameCalc::calc_filename(base_filename_, now_tm(now)), truncate_); in base_filename_() 72 … file_helper_.open(FileNameCalc::calc_filename(base_filename_, now_tm(msg.time)), truncate_); in sink_it_() 86 tm now_tm(log_clock::time_point tp) in now_tm() function 95 tm date = now_tm(now); in next_rotation_tp_()
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/modules/deprecated/old_arch/hyb_in/ |
H A D | fm_fake_push.c | 193 struct tm *now_tm; in audio_gen_th() local 195 now_tm = gmtime(&now); in audio_gen_th() 201 com.map_time.media_time = now_tm->tm_hour*3600+now_tm->tm_min*60+now_tm->tm_sec; in audio_gen_th() 207 …(now_tm->tm_year + 1900), (now_tm->tm_mon + 1), now_tm->tm_mday, now_tm->tm_hour, now_tm->tm_min, … in audio_gen_th()
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/modules/deprecated/old_arch/hyb_in/ |
H A D | fm_fake_push.c | 193 struct tm *now_tm; in audio_gen_th() local 195 now_tm = gmtime(&now); in audio_gen_th() 201 com.map_time.media_time = now_tm->tm_hour*3600+now_tm->tm_min*60+now_tm->tm_sec; in audio_gen_th() 207 …(now_tm->tm_year + 1900), (now_tm->tm_mon + 1), now_tm->tm_mday, now_tm->tm_hour, now_tm->tm_min, … in audio_gen_th()
|
/dports/devel/taskflow/taskflow-3.2.0/3rd-party/spdlog/sinks/ |
H A D | daily_file_sink.h | 30 static filename_t calc_filename(const filename_t &filename, const tm &now_tm) in calc_filename() 35 …_FILENAME_T("{}_{:04d}-{:02d}-{:02d}{}"), basename, now_tm.tm_year + 1900, now_tm.tm_mon + 1, now_… in calc_filename() 63 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in base_filename_() 86 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(time)); in sink_it_() 116 auto filename = FileNameCalc::calc_filename(base_filename_, now_tm(now)); in init_filenames_q_() 130 tm now_tm(log_clock::time_point tp) in now_tm() function 139 tm date = now_tm(now); in next_rotation_tp_()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/build/ |
H A D | print_git_revision.c | 56 char buf[256], now[256]; time_t now_t=time(NULL); struct tm *now_tm; in print_version() local 57 if (!(now_tm=gmtime(&now_t))) return 1; in print_version() 58 strftime(now,sizeof(now),"%Y%m%dT%H%M%SZ",now_tm); in print_version() 77 char buf[256], now[256]; time_t now_t=time(NULL); struct tm *now_tm; in print_human_version() local 78 if (!(now_tm=gmtime(&now_t))) return 1; in print_human_version() 79 strftime(now,sizeof(now),"%Y-%m-%d %H:%M:%SZ",now_tm); in print_human_version()
|
/dports/databases/proftpd-mod_sql_odbc/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/databases/proftpd-mod_sql_sqlite/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/databases/proftpd-mod_sql_postgres/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/databases/proftpd-mod_sql_mysql/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/databases/proftpd-mod_sql_tds/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/net/proftpd-mod_ldap/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/ftp/proftpd/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/security/proftpd-mod_clamav/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/ftp/proftpd-mod_vroot/proftpd-1.3.7c/contrib/ |
H A D | mod_readme.c | 48 struct tm *now_tm = NULL; in readme_add_path() local 53 now_tm = pr_gmtime(p, &now); in readme_add_path() 54 if (now_tm != NULL) { in readme_add_path() 58 days = (int) (365.25 * now_tm->tm_year) + now_tm->tm_yday; in readme_add_path() 97 if (now_tm != NULL) { in readme_add_path()
|
/dports/misc/adios2/ADIOS2-2.7.1/source/adios2/helper/ |
H A D | adiosSystem.cpp | 51 struct tm now_tm; in LocalTimeDate() local 58 localtime_s(&now_tm, &now); in LocalTimeDate() 60 localtime_r(&now, &now_tm); in LocalTimeDate() 62 strftime(buf, sizeof(buf), "%a %b %d %H:%M:%S %Y\n", &now_tm); in LocalTimeDate()
|
/dports/news/pan/pan-0.145/pan/general/ |
H A D | e-util.cc | 199 localtime_r (&now_time, &now_tm); in set_current_time() 223 e_strftime (buf, sizeof(buf), "%p", &now_tm); in EvolutionDateMaker() 257 if (then_tm.tm_mday == now_tm.tm_mday && in get_date_string() 258 then_tm.tm_mon == now_tm.tm_mon && in get_date_string() 259 then_tm.tm_year == now_tm.tm_year) { in get_date_string() 281 if (then_tm.tm_year == now_tm.tm_year) in get_date_string()
|
/dports/devel/gputils/gputils-1.5.0/libgputils/ |
H A D | gpsystem.c | 361 const struct tm *now_tm; in gp_date_string() local 365 now_tm = localtime(&now); in gp_date_string() 366 if (now_tm != NULL) { in gp_date_string() 370 strftime(Buffer, Sizeof_buffer, format, now_tm); in gp_date_string() 375 now_tm->tm_mon + 1, in gp_date_string() 376 now_tm->tm_mday, in gp_date_string() 377 1900 + now_tm->tm_year, in gp_date_string() 378 now_tm->tm_hour, in gp_date_string() 379 now_tm->tm_min, in gp_date_string() 380 now_tm->tm_sec); in gp_date_string()
|