Home
last modified time | relevance | path

Searched refs:datebuf (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/misc/amanda-server/amanda-3.3.9/server-src/
H A Damindex.c55 pc = datebuf; in getindexfname()
56 while (pc < datebuf + SIZEOF(datebuf)) { in getindexfname()
65 datebuf[SIZEOF(datebuf)-1] = '\0'; in getindexfname()
66 dc = datebuf; in getindexfname()
112 pc = datebuf; in getheaderfname()
113 while (pc < datebuf + sizeof(datebuf)) { in getheaderfname()
122 datebuf[sizeof(datebuf)-1] = '\0'; in getheaderfname()
123 dc = datebuf; in getheaderfname()
169 pc = datebuf; in getoldindexfname()
170 while (pc < datebuf + SIZEOF(datebuf)) { in getoldindexfname()
[all …]
/dports/misc/amanda-client/amanda-3.3.9/server-src/
H A Damindex.c55 pc = datebuf; in getindexfname()
56 while (pc < datebuf + SIZEOF(datebuf)) { in getindexfname()
65 datebuf[SIZEOF(datebuf)-1] = '\0'; in getindexfname()
66 dc = datebuf; in getindexfname()
112 pc = datebuf; in getheaderfname()
113 while (pc < datebuf + sizeof(datebuf)) { in getheaderfname()
122 datebuf[sizeof(datebuf)-1] = '\0'; in getheaderfname()
123 dc = datebuf; in getheaderfname()
169 pc = datebuf; in getoldindexfname()
170 while (pc < datebuf + SIZEOF(datebuf)) { in getoldindexfname()
[all …]
/dports/audio/icecast/icecast-2.4.4/src/
H A Dlogging.c122 char datebuf[128]; in logging_access() local
133 memset(datebuf, '\000', sizeof(datebuf)); in logging_access()
134 get_clf_time(datebuf, sizeof(datebuf)-1, &thetime); in logging_access()
136 strftime (datebuf, sizeof(datebuf), LOGGING_FORMAT_CLF, &thetime); in logging_access()
158 datebuf, in logging_access()
174 char datebuf[128]; in logging_playlist() local
187 memset(datebuf, '\000', sizeof(datebuf)); in logging_playlist()
188 get_clf_time(datebuf, sizeof(datebuf)-1, &thetime); in logging_playlist()
190 strftime (datebuf, sizeof(datebuf), LOGGING_FORMAT_CLF, &thetime); in logging_playlist()
195 datebuf, in logging_playlist()
/dports/devel/rcs57/rcs-5.7/src/
H A Drcstime.c125 date2str(date, datebuf) in date2str() argument
127 char datebuf[datesize + zonelenmax];
134 VOID sprintf(datebuf,
169 VOID sprintf(datebuf,
185 VOID sprintf(datebuf + strlen(datebuf), fmt, non_hour / 60);
187 VOID sprintf(datebuf + strlen(datebuf), fmt, non_hour);
190 return datebuf;
/dports/sysutils/agedu/agedu-20211129.8cd63c5/
H A Dalloc.c48 char datebuf[80]; in dupfmt() local
54 datebuf[0] = '\0'; in dupfmt()
69 if (!datebuf[0]) { in dupfmt()
75 strftime(datebuf, lenof(datebuf), in dupfmt()
78 data = datebuf; in dupfmt()
82 sprintf(datebuf, "%d", i); in dupfmt()
83 data = datebuf; in dupfmt()
/dports/audio/icecast-kh/icecast-kh-icecast-2.4.0-kh15/src/
H A Dlogging.c62 char *username, datebuf[50]; in logging_access_id() local
71 util_get_clf_time (datebuf, sizeof(datebuf), now); in logging_access_id()
98 ip, username, datebuf, rq, client->respcode, client->connection.sent_bytes, in logging_access_id()
111 ip, username, datebuf, reqbuf, client->respcode, client->connection.sent_bytes, in logging_access_id()
133 char datebuf[128]; in logging_playlist() local
141 util_get_clf_time (datebuf, sizeof(datebuf), now); in logging_playlist()
145 datebuf, in logging_playlist()
154 char datebuf[128]; in logging_preroll() local
156 util_get_clf_time (datebuf, sizeof(datebuf), client->worker->current_time.tv_sec); in logging_preroll()
159 datebuf, client->mount, client->connection.id, in logging_preroll()
/dports/audio/rhythmbox/rhythmbox-3.4.4/podcast/
H A Dtest-podcast-parse.c74 char datebuf[1024]; in main() local
93 g_date_strftime (datebuf, 1024, "%F %T", &date); in main()
98 g_print ("Date: %s\n", datebuf); in main()
105 g_date_strftime (datebuf, 1024, "%F %T", &date); in main()
110 g_print ("\tDate: %s\n", datebuf); in main()
H A Dtest-podcast-search.c73 char datebuf[1025]; in result_cb() local
77 g_date_strftime (datebuf, 1024, "%F %T", &date); in result_cb()
84 g_print ("Date: %s\n", datebuf); in result_cb()
97 g_date_strftime (datebuf, 1024, "%F %T", &date); in result_cb()
102 g_print ("\tDate: %s\n", datebuf); in result_cb()
/dports/devel/rcs/rcs-5.10.0/src/
H A Drcstime.c92 date2str (char const date[DATESIZE], char datebuf[FULLDATESIZE]) in date2str()
101 sprintf (datebuf, in date2str()
156 w = sprintf (datebuf, "%.2d-%.2d-%.2d %.2d:%.2d:%.2d%c%.2d", in date2str()
164 w += sprintf (datebuf + w, fmt, non_hour / 60); in date2str()
166 w += sprintf (datebuf + w, fmt, non_hour); in date2str()
169 return datebuf; in date2str()
H A Db-kwxout.c75 char datebuf[FULLDATESIZE]; in keyreplace() local
98 aputs (date2str (date, datebuf), out); in keyreplace()
105 date2str (date, datebuf), in keyreplace()
246 sp1 = date2str (date, datebuf); in keyreplace()
257 delta->num, (int) (sp1 - datebuf), datebuf, in keyreplace()
/dports/comms/birda/birda-1.3/src/
H A Dmkobexdate.c87 char datebuf[9]; in main() local
116 sprintf(datebuf,"%04d%02d%02d",lt->tm_year+1900,lt->tm_mon+1,lt->tm_mday); in main()
117 if(n>0) strcpy(datebuf+8-n,date); in main()
145 addStr(datebuf); in main()
151 addStr(datebuf); in main()
H A Dmkobextodo.c75 char datebuf[9]; in main() local
103 sprintf(datebuf,"%04d%02d%02d",lt->tm_year+1900,lt->tm_mon+1,lt->tm_mday); in main()
104 if(n>0) strcpy(datebuf+8-n,date); in main()
112 addStr(datebuf); in main()
/dports/mail/ecartis/ecartis-1.0.0/src/modules/acctmgr/
H A Dtempban.c14 char datebuf[80]; in CMD_HANDLER() local
78 LMAPI->get_date(datebuf, sizeof(datebuf), now); in CMD_HANDLER()
90 LMAPI->buffer_printf(databuf, sizeof(databuf) - 1, "Tempban updated to end on %s", datebuf); in CMD_HANDLER()
93 LMAPI->set_var("tempban-end-date",datebuf,VAR_TEMP); in CMD_HANDLER()
105 LMAPI->smtp_body_line(datebuf); in CMD_HANDLER()
121 LMAPI->buffer_printf(databuf, sizeof(databuf) - 1, "Banning will end on %s", datebuf); in CMD_HANDLER()
124 LMAPI->set_var("tempban-end-date",datebuf,VAR_TEMP); in CMD_HANDLER()
142 LMAPI->smtp_body_line(datebuf); in CMD_HANDLER()
H A Dvacation.c14 char datebuf[80]; in CMD_HANDLER() local
90 LMAPI->get_date(datebuf, sizeof(datebuf), now); in CMD_HANDLER()
102 … LMAPI->buffer_printf(databuf, sizeof(databuf) - 1, "Vacation updated to end on %s", datebuf); in CMD_HANDLER()
111 LMAPI->buffer_printf(databuf, sizeof(databuf) - 1, "Vacation will end on %s", datebuf); in CMD_HANDLER()
/dports/ftp/vsftpd-ext/vsFTPd-3.0.3-ext.1/
H A Dsysutil.c1453 retval = strftime(datebuf, sizeof(datebuf), p_date_format, p_tm); in vsf_sysutil_statbuf_get_date()
1454 datebuf[sizeof(datebuf)-1] = '\0'; in vsf_sysutil_statbuf_get_date()
1459 return datebuf; in vsf_sysutil_statbuf_get_date()
1484 return datebuf; in vsf_sysutil_statbuf_get_numeric_date()
2817 datebuf[sizeof(datebuf) - 1] = '\0'; in vsf_sysutil_get_current_date()
2819 while (datebuf[i] != '!' && datebuf[i] != '\0') in vsf_sysutil_get_current_date()
2831 return datebuf; in vsf_sysutil_get_current_date()
2845 if (strftime(datebuf, sizeof(datebuf), fmt, p_tm) == 0) in vsf_sysutil_get_datetimefmt()
2849 datebuf[sizeof(datebuf) - 1] = '\0'; in vsf_sysutil_get_datetimefmt()
2851 while (datebuf[i] != '!' && datebuf[i] != '\0') in vsf_sysutil_get_datetimefmt()
[all …]
/dports/mail/mailfront/mailfront-2.22/
H A Dplugin-add-received.c20 static char datebuf[64]; in date_string() local
23 strftime(datebuf, sizeof datebuf - 1, "%d %b %Y %H:%M:%S -0000", tm); in date_string()
24 return datebuf; in date_string()
/dports/mail/ecartis/ecartis-1.0.0/src/modules/antispam/
H A Dantispam.c86 char datebuf[81]; in HOOK_HANDLER() local
90 strftime(datebuf, sizeof(datebuf) - 1, "%a, %d %b %Y %H:%M:%S", tm_now); in HOOK_HANDLER()
95 LMAPI->write_file(spamlog, "\tDate (GMT): %s\n\n", datebuf); in HOOK_HANDLER()
/dports/news/nntp/nntp-1.5.12.2_10/inetd/
H A Dnewnews.c33 char datebuf[32]; local
93 (void) strcpy(datebuf, argv[2]);
94 (void) strcat(datebuf, argv[3]);
102 date = dtol(datebuf); /* local time here */
121 strcpy(datebuf, ltod(date));
122 key = datebuf;
/dports/news/nntp/nntp-1.5.12.2_10/server/
H A Dnewnews.c33 char datebuf[32]; local
93 (void) strcpy(datebuf, argv[2]);
94 (void) strcat(datebuf, argv[3]);
102 date = dtol(datebuf); /* local time here */
121 strcpy(datebuf, ltod(date));
122 key = datebuf;
/dports/www/netsurf/netsurf-3.10/content/fetchers/
H A Dfile.c533 char datebuf[64]; /* buffer for date text */ in process_dir_ent() local
549 datebuf[0] = 0; in process_dir_ent()
555 if (strftime((char *)&datebuf, sizeof datebuf, "%a %d %b %Y", in process_dir_ent()
557 datebuf[0] = '-'; in process_dir_ent()
558 datebuf[1] = 0; in process_dir_ent()
583 datebuf, timebuf, in process_dir_ent()
593 datebuf, timebuf, in process_dir_ent()
603 datebuf, timebuf, in process_dir_ent()
/dports/dns/mydns-ng/mydns-1.2.8.31/src/mydns/
H A Dqueue.c38 char datebuf[80]; /* This is magic and needs rethinking - string should be ~ 23 characters */ in _queue_stats() local
44 strftime(datebuf, sizeof(datebuf)-1, "%d-%b-%Y %H:%M:%S", tm); in _queue_stats()
53 datebuf, tv.tv_usec, in _queue_stats()
/dports/news/yencode/yencode-0.46/src/ypost/
H A Dusenet.c132 static char datebuf[80]; /* Return value */ in usenet_date() local
138 strftime(datebuf, sizeof(datebuf)-1, "%a, %d %b %Y %H:%M:%S %Z", tm); in usenet_date()
139 return (datebuf); in usenet_date()
/dports/net-mgmt/darkstat/darkstat-3.0.719/
H A Ddaylog.c31 static char datebuf[DAYLOG_DATE_LEN]; variable
34 if (strftime(datebuf, in fmt_date()
39 return datebuf; in fmt_date()
/dports/www/proxygen/proxygen-2021.12.27.00/proxygen/lib/utils/
H A DTime.h120 inline void getDateTimeStr(char datebuf[32], char timebuf[32]) { in getDateTimeStr()
124 if (datebuf) { in getDateTimeStr()
125 strftime(datebuf, sizeof(char) * 32, "%Y-%m-%d", &now_tm); in getDateTimeStr()
135 inline void getDateOffsetStr(char datebuf[32], int dayOffset) { in getDateOffsetStr()
140 strftime(datebuf, sizeof(char) * 32, "%Y-%m-%d", &final_tm); in getDateOffsetStr()
/dports/ftp/vsftpd/vsftpd-3.0.5/
H A Dsysutil.c1384 retval = strftime(datebuf, sizeof(datebuf), p_date_format, p_tm); in vsf_sysutil_statbuf_get_date()
1385 datebuf[sizeof(datebuf)-1] = '\0'; in vsf_sysutil_statbuf_get_date()
1390 return datebuf; in vsf_sysutil_statbuf_get_date()
1410 retval = strftime(datebuf, sizeof(datebuf), "%Y%m%d%H%M%S", p_tm); in vsf_sysutil_statbuf_get_numeric_date()
1415 return datebuf; in vsf_sysutil_statbuf_get_numeric_date()
2627 if (strftime(datebuf, sizeof(datebuf), "%a %b!%d %H:%M:%S %Y", p_tm) == 0) in vsf_sysutil_get_current_date()
2631 datebuf[sizeof(datebuf) - 1] = '\0'; in vsf_sysutil_get_current_date()
2633 while (datebuf[i] != '!' && datebuf[i] != '\0') in vsf_sysutil_get_current_date()
2637 if (datebuf[i] == '!') in vsf_sysutil_get_current_date()
2639 datebuf[i] = ' '; in vsf_sysutil_get_current_date()
[all …]

1234567