Searched refs:timebuf (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/contrib/gcclibs/libgomp/config/mingw32/
H A Dtime.c37 struct _timeb timebuf; local
38 _ftime (&timebuf);
39 return (timebuf.time + (long)(timebuf.millitm) / 1e3);
/freebsd-11-stable/sbin/nandfs/
H A Dlssnap.c62 char timebuf[128]; local
66 strftime(timebuf, sizeof(timebuf), "%F %T", &tm);
68 printf("%20llu %s\n", (unsigned long long)cpinfo->nci_cno, timebuf);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zlook/
H A Dzlook.c143 char timebuf[512]; local
154 timebuf[0] = 0;
155 if (ctime_r(&sb->st_atime, timebuf, 512)) {
157 (void) printf("%s", timebuf);
159 timebuf[0] = 0;
160 if (ctime_r(&sb->st_mtime, timebuf, 512)) {
162 (void) printf("%s", timebuf);
164 timebuf[0] = 0;
165 if (ctime_r(&sb->st_ctime, timebuf, 512)) {
167 (void) printf("%s", timebuf);
[all...]
/freebsd-11-stable/usr.sbin/newsyslog/
H A Dextern.h66 char *timebuf, size_t bufsize);
H A Dptimes.c490 char *timebuf, size_t bufsize)
500 if (timebuf == NULL) {
514 strlcpy(timebuf, NILVALUE, bufsize);
515 return (timebuf);
534 chars = snprintf(timebuf, bufsize,
542 /* If the timestamp is too big for timebuf, return the NILVALUE. */
544 strlcpy(timebuf, NILVALUE, bufsize);
547 return (timebuf);
489 ptimeget_ctime_rfc5424(const struct ptime_data *ptime, char *timebuf, size_t bufsize) argument
/freebsd-11-stable/contrib/tcp_wrappers/
H A Drfc931.c43 static jmp_buf timebuf; variable
71 longjmp(timebuf, sig);
138 if (setjmp(timebuf) == 0) {
/freebsd-11-stable/contrib/binutils/binutils/
H A Dbucomm.c375 char timebuf[40];
380 sprintf (timebuf, "%.12s %.4s", ctime_result + 4, ctime_result + 20);
387 (long) buf.st_size, timebuf);
371 char timebuf[40]; local
H A Dreadelf.c5593 char timebuf[20];
5598 snprintf (timebuf, sizeof (timebuf), "%04u-%02u-%02uT%02u:%02u:%02u",
5601 printf ("Time Stamp: %s\n", timebuf);
8666 char timebuf[20];
8676 snprintf (timebuf, sizeof (timebuf),
8686 printf (" %s %#10lx %-7ld", timebuf, liblist.l_checksum,
9050 char timebuf[20];
9060 snprintf (timebuf, sizeo
5590 char timebuf[20]; local
8663 char timebuf[20]; local
9047 char timebuf[20]; local
[all...]
/freebsd-11-stable/usr.sbin/syslogd/
H A Dsyslogd.c1913 char timebuf[33], priority_number[5]; local
1922 if (strftime(timebuf, sizeof(timebuf), "%FT%T.______%z",
1923 &f->f_lasttime.tm) == sizeof(timebuf) - 2) {
1925 timebuf[32] = '\0';
1926 timebuf[31] = timebuf[30];
1927 timebuf[30] = timebuf[29];
1928 timebuf[2
1962 char timebuf[RFC3164_DATELEN + 1], facility_number[5], local
[all...]
/freebsd-11-stable/lib/libdevdctl/
H A Devent.cc433 char timebuf[bufsize]; local
438 snprintf(timebuf, bufsize, " timestamp=%" PRId64,
440 eventString.insert(eventEnd, timebuf);
/freebsd-11-stable/contrib/tnftp/src/
H A Dutil.c718 struct tm timebuf; local
751 memset(&timebuf, 0, sizeof(timebuf));
753 (strptime(timestr, "%Y%m%d%H%M%S", &timebuf) == NULL)) {
758 timebuf.tm_isdst = -1;
759 rtime = timegm(&timebuf);
/freebsd-11-stable/lib/libfetch/
H A Dhttp.c1543 char timebuf[80]; local
1628 (void)strftime(timebuf, 80, "%a, %d %b %Y %T GMT",
1631 fetch_info("If-Modified-Since: %s", timebuf);
1632 http_cmd(conn, "If-Modified-Since: %s", timebuf);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c6253 print_time(hrtime_t t, char *timebuf) argument
6264 timebuf[0] = '\0';
6267 (void) sprintf(timebuf,
6270 (void) sprintf(timebuf, "%lluh%02llum%02llus", h, m, s);
6272 (void) sprintf(timebuf, "%llum%02llus", m, s);
6274 (void) sprintf(timebuf, "%llus", s);
6533 char timebuf[100]; local
6676 print_time(zs->zs_proc_stop - now, timebuf);
6687 (ztest_opts.zo_time * NANOSEC), timebuf);
6701 print_time(zc->zc_time, timebuf);
[all...]
/freebsd-11-stable/contrib/unbound/daemon/
H A Dremote.c2397 char timebuf[32]; local
2410 get_mesh_age(m, timebuf, sizeof(timebuf), &worker->env);
2413 num, (t?t:"TYPE??"), (c?c:"CLASS??"), buf, timebuf,

Completed in 193 milliseconds