Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 25 of 116) sorted by relevance

12345

/original-bsd/share/zoneinfo/DIST/
H A Dzdump.c83 struct tm tm, newtm; local
144 tm = *localtime(&t);
163 tm = newtm;
194 struct tm lotm;
195 struct tm tm; local
206 tm = *localtime(&t);
211 lotm = tm;
221 struct tm * newp; in delta()
222 struct tm * oldp;
240 struct tm * tmp;
[all …]
/original-bsd/lib/libcompat/4.1/
H A Dftime.c32 struct tm *tm; local
39 if ((tm = localtime(&tp->time)) == NULL) {
44 tp->dstflag = tm->tm_isdst;
45 if (tm->tm_isdst) { /* tm_gmtoff has an offset applied */
49 tp->timezone = -tm->tm_gmtoff / 60;
/original-bsd/include/
H A Dtime.h39 struct tm { struct
58 char *asctime __P((const struct tm *));
62 struct tm *gmtime __P((const time_t *));
63 struct tm *localtime __P((const time_t *));
64 time_t mktime __P((struct tm *));
65 size_t strftime __P((char *, size_t, const char *, const struct tm *));
/original-bsd/contrib/gcc-2.3.3/
H A Dmakefile9 rm -f tm.h; ln -s config/hp3bsd.h tm.h
14 rm -f tm.h; ln -s config/luna68k.h tm.h
19 rm -f tm.h; ln -s config/mips-dec-bsd.h tm.h
24 rm -f tm.h; ln -s config/sparcbsd.h tm.h
/original-bsd/old/refer/mkey/
H A Dmkey2.c80 char tm[200]; local
88 while (fgets(tm, 200, f))
90 tlen += strlen(tm);
91 if (tm[0] == '%' || tm[0] == '.')
92 curtype = tm[1];
94 strcat(s, tm);
96 if (wholefile==0 && tm[0] == '\n')
/original-bsd/sys/hp300/stand/
H A Dmkboot.c289 struct tm *tm; local
294 *toc++ |= (tm->tm_mon+1) % 10;
295 *toc = (tm->tm_mday / 10) << 4;
296 *toc++ |= tm->tm_mday % 10;
297 *toc = (tm->tm_year / 10) << 4;
298 *toc++ |= tm->tm_year % 10;
300 *toc++ |= tm->tm_hour % 10;
301 *toc = (tm->tm_min / 10) << 4;
302 *toc++ |= tm->tm_min % 10;
303 *toc = (tm->tm_sec / 10) << 4;
[all …]
/original-bsd/local/sccscmds/sccscmds.ok/cmd/
H A Dctime.c77 struct tm *gmtime();
79 struct tm *localtime();
91 struct tm *
96 register struct tm *ct;
130 register struct tm *t; in sunday()
138 struct tm *
145 static struct tm xtime;
202 struct tm *t; in asctime()
/original-bsd/local/sccscmds/sccscmds.2/cmd/
H A Dctime.c77 struct tm *gmtime();
79 struct tm *localtime();
91 struct tm *
96 register struct tm *ct;
130 register struct tm *t; in sunday()
138 struct tm *
145 static struct tm xtime;
202 struct tm *t; in asctime()
/original-bsd/usr.bin/vgrind/
H A Dvgrind.sh17 set tm=/usr/share/tmac
86 $vf $options -h "$head" $files | cat $tm/tmac.vgrind -
88 $vf $options $files | cat $tm/tmac.vgrind -
104 $vf $options -h "$head" $files | cat $tm/tmac.vgrind -
106 $vf $options $files | cat $tm/tmac.vgrind -
H A Dtmac.vgrind57 .if \\nx .tm \\$1 \\*(=F \\n%
61 .if \\nx .tm \\$1 \\*(=F \\n%
/original-bsd/old/dump.4.1/
H A Dunctime.c34 struct tm then;
73 struct tm *localtime();
76 struct tm *dp; in emitl()
80 struct tm dcopy;
106 register struct tm *dp, *dp2; in dcmp()
/original-bsd/contrib/libg++-2.3/libg++/g++-include/
H A Dtime.h71 extern char* asctime _G_ARGS((const struct tm*));
74 extern struct tm* gmtime _G_ARGS((const _G_time_t*));
75 extern struct tm* localtime _G_ARGS((const _G_time_t*));
76 extern _G_time_t mktime(struct tm*);
77 extern _G_size_t strftime _G_ARGS((char*,_G_size_t,const char*,const struct tm*));
/original-bsd/lib/libc/string/
H A Dstrftime.c37 static int _secs __P((const struct tm *));
38 static size_t _fmt __P((const char *, const struct tm *));
45 const struct tm *t;
61 const struct tm *t;
227 const struct tm *t; in _secs()
232 struct tm tmp;
/original-bsd/contrib/dungeon/
H A Drtim.c23 struct tm *localtime();
24 struct tm *tmptr;
49 struct tm *t, *localtime();
/original-bsd/lib/libc/gen/
H A Dctime.c143 struct tm * tmp));
145 struct tm * tmp));
920 struct tm * const tmp;
962 struct tm *
966 static struct tm tm; local
969 return &tm;
980 struct tm * const tmp;
1010 struct tm *
1014 static struct tm tm; local
1017 return &tm;
[all …]
/original-bsd/usr.bin/pascal/pxp/
H A Dversion.c27 struct tm *localtime(); in main()
28 struct tm *tmp; in main()
/original-bsd/contrib/gdb-4.7.LBL/gdb/
H A DMakefile.in266 tm-68k.h tm-hppa.h tm-i960.h tm-sparc.h tm-sunos.h tm-sysv4.h \
472 touch xm.h tm.h
523 tm-isi.h tm-sun3.h tm-news.h tm-hp300bsd.h tm-altos.h: tm-68k.h
524 tm-hp300hpux.h tm-sun2.h tm-3b1.h: tm-68k.h
527 tm-i386gas.h: tm-i386.h
529 tm-sun4os4.h: tm-sparc.h
622 rm -f tm.h xm.h config.status
629 rm -f tm.h xm.h config.status
/original-bsd/usr.bin/uucp/
H A Dassert.c19 register struct tm *tp;
20 extern struct tm *localtime();
/original-bsd/sys/vax/uba/
H A Dtmscp.c588 tm->tmscp_rsp[i].mscp_dscptr = &tm->tmscp_ca.ca_rspdsc[i];
595 tm->tmscp_cmd[i].mscp_dscptr = &tm->tmscp_ca.ca_cmddsc[i];
647 if (tm->tmscp_ca.ca_bdp)
650 tm->tmscp_ca.ca_bdp = 0;
657 if (tm->tmscp_ca.ca_rspint)
659 tm->tmscp_ca.ca_rspint = 0;
665 tmscprsp(um, tm, sc, i);
674 if (tm->tmscp_ca.ca_cmdint)
1323 tmscprsp(um, tm, sc, i) in tmscprsp() argument
1325 register struct tmscp *tm;
[all …]
/original-bsd/usr.sbin/timed/timed/
H A Dreadmsg.c411 char tm[26]; local
428 (void)cftime(tm, "%D %T", &msg->tsp_time.tv_sec);
430 strncpy(tm, ctime(&msg->tsp_time.tv_sec)+3+1, sizeof(tm));
431 tm[15] = '\0'; /* ugh */
437 tm,
/original-bsd/usr.bin/chpass/
H A Dutil.c37 struct tm *tp;
55 static struct tm *lt;
/original-bsd/usr.bin/uucp/libuu/
H A Dgnxseq.c33 register struct tm *tp;
34 extern struct tm *localtime();
/original-bsd/usr.bin/uucp/uucico/
H A Dcico.c805 struct tm *localtime(); in do_connect_accounting()
806 register struct tm *tm; in do_connect_accounting() local
818 tm = localtime(&StartTime); in do_connect_accounting()
828 Rmtname, InitialRole, tm->tm_year, tm->tm_mon + 1, in do_connect_accounting()
829 tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_wday, in do_connect_accounting()
/original-bsd/usr.sbin/sendmail/src/
H A Denvelope.c466 register struct tm *tm; local
468 extern struct tm *gmtime();
471 tm = gmtime(&now);
472 (void) sprintf(tbuf, "%04d%02d%02d%02d%02d", tm->tm_year + 1900,
473 tm->tm_mon+1, tm->tm_mday, tm->tm_hour, tm->tm_min);
H A Darpadate.c60 register struct tm *lt;
62 struct tm gmt;

12345