Home
last modified time | relevance | path

Searched refs:tp (Results 251 – 275 of 286) sorted by path

1...<<1112

/original-bsd/usr.bin/tftp/
H A Dtftp.c278 struct tftphdr *tp;
284 cp = tp->th_stuff;
291 return (cp - (char *)tp);
320 register struct tftphdr *tp; local
324 tp = (struct tftphdr *)ackbuf;
332 tp->th_code = EUNDEF;
337 tpacket("sent", tp, length);
344 tpacket(s, tp, n) in tpacket() argument
346 struct tftphdr *tp;
364 file = cp = tp->th_stuff;
[all …]
/original-bsd/usr.bin/tip/
H A Dvalue.c43 register char *tp; in vinit() local
48 if (tp = rindex(file, '\n')) in vinit()
49 *tp = '\0'; in vinit()
/original-bsd/usr.bin/units/
H A Dunits.c302 for(tp = &table[0]; tp < &table[NTAB]; tp++) { in init()
306 units(tp); in init()
327 tp = hash(np); in init()
328 if(tp->name) in init()
330 tp->name = np; in init()
457 tp = &table[h];
459 if(tp->name == 0)
460 return(tp);
462 return(tp);
463 tp++;
[all …]
/original-bsd/usr.bin/uucp/
H A Dassert.c19 register struct tm *tp; local
38 tp = localtime(&clock);
40 fprintf(errlog, "(%d/%d-%2.2d:%2.2d) ", tp->tm_mon + 1,
41 tp->tm_mday, tp->tm_hour, tp->tm_min);
44 fprintf(errlog, "(%d/%d-%02d:%02d) ", tp->tm_mon + 1,
45 tp->tm_mday, tp->tm_hour, tp->tm_min);
H A Dpk.p7 #define PADDR ((struct pack *)tp->t_linep)
8 #define TURNOFF pkturnoff(tp)
10 #define S tp
12 #define SDEF struct tty *tp
13 #define FS , tp
18 #define OBUSY tp->t_state&BUSY
24 #define q1 tp->t_rawq
25 #define q2 tp->t_canq
26 #define q3 tp->t_outq
31 #define ISYSTEM tp = pk->p_ttyp
[all …]
/original-bsd/usr.bin/uucp/libuu/
H A Dgnxseq.c33 register struct tm *tp; local
75 tp = localtime(&clock);
78 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
79 tp->tm_min);
83 tp->tm_mon + 1, tp->tm_mday, tp->tm_hour,
84 tp->tm_min);
H A Dlogent.c77 register struct tm *tp; local
92 tp = localtime(&Now.time);
98 User, Rmtname, tp->tm_mon + 1, tp->tm_mday,
99 tp->tm_hour, tp->tm_min, pid);
110 fprintf(stderr, "(%d/%d-%2.2d:%2.2d-%d) ", tp->tm_mon + 1,
111 tp->tm_mday, tp->tm_hour, tp->tm_min, pid);
113 fprintf(stderr, "(%d/%d-%02d:%02d-%d) ", tp->tm_mon + 1,
114 tp->tm_mday, tp->tm_hour, tp->tm_min, pid);
/original-bsd/usr.bin/uucp/uucico/
H A Dconn.c947 struct tm *tp; local
956 tp = localtime(&clock);
960 if (tp->tm_wday == i)
965 if (tp->tm_wday >= 1 && tp->tm_wday <= 5)
971 if (tp->tm_wday == 6 || tp->tm_wday == 0
972 || tp->tm_hour >= 17 || tp->tm_hour < 8)
977 || tp->tm_hour >= 23 || tp->tm_hour < 8
979 || (tp->tm_wday == 0 && tp->tm_hour < 17))
984 if (tp->tm_wday == 6 || tp->tm_wday == 0
985 || tp->tm_hour >= 18 || tp->tm_hour < 7)
[all …]
/original-bsd/usr.bin/uucp/uusnap/
H A Duusnap.c199 register char *tp; local
269 if(tp = rindex(buff, ' '))
273 for(i=0, tp=buff; i<4; ++i, ++tp)
274 if((tp = index(tp, ' ')) == NULL)
279 tp = buff;
280 sys[csys].st_type = atoi(tp);
281 tp = index(tp+1, ' ');
282 sys[csys].st_count = atoi(tp+1);
283 tp = index(tp+1, ' ');
285 tp = index(tp+1, ' ');
[all …]
/original-bsd/usr.bin/uucp/uux/
H A Duux.c554 register char *cp, *tp; local
560 tp = cp;
561 while (*tp++) ;
562 tp -= 2;
563 if (*tp == '"') {
564 *tp = '\0';
/original-bsd/usr.bin/w/
H A Dpr_time.c33 struct tm *tp; local
37 tp = localtime(started);
54 (void)strftime(buf, sizeof(buf), fmt, tp);
/original-bsd/usr.bin/whatis/
H A Dwhatis.c42 TAG *tp; local
84 ep = (tp = getlist("_whatdb")) == NULL ?
85 NULL : tp->list.tqh_first;
/original-bsd/usr.bin/window/
H A Dttinit.c44 register struct tt_tab *tp; in ttinit() local
77 for (tp = tt_tab; tp->tt_name != 0; tp++) in ttinit()
78 if (strncmp(tp->tt_name, wwterm, tp->tt_len) == 0) in ttinit()
80 if (tp->tt_name == 0) { in ttinit()
84 if ((*tp->tt_func)() < 0) { in ttinit()
H A Dwwinit.c300 char *tp = tbuf; local
303 if ((str = tgetstr(cap, &tp)) != 0) {
/original-bsd/usr.bin/xstr/
H A Dxstr.c182 register char *tp; local
207 for (tp = "b\bt\tr\rn\nf\f\\\\\"\""; ch = *tp++; tp++)
209 c = *tp;
/original-bsd/usr.sbin/ac/
H A Dac.c128 for(tp = tbuf; tp < &tbuf[TSIZE]; tp++) in loop()
175 tp = &tbuf[i]; in loop()
176 update(tp, 0); in loop()
206 for (tp=tbuf; tp < &tbuf[TSIZE]; tp++) in upall()
207 update(tp, f); in upall()
210 update(tp, f)
211 struct tbuf *tp; variable
221 if (tp->userp) {
226 tp->ttime = t;
230 tp->userp = 0;
[all …]
/original-bsd/usr.sbin/amd/amd/
H A Dinfo_file.c170 time_t *tp;
173 if (mapf && tp) {
176 *tp = clocktime();
178 *tp = stb.st_mtime;
184 int file_init(map, tp) in file_init() argument
186 time_t *tp;
218 time_t *tp;
224 if (*tp < t) {
225 *tp = t;
238 int file_mtime(map, tp) in file_mtime() argument
[all …]
H A Dinfo_hes.c56 int hesiod_init P((char *map, time_t *tp));
57 int hesiod_init(map, tp) in hesiod_init() argument
59 time_t *tp;
64 *tp = 0;
84 int hesiod_search P((mnt_map *m, char *map, char **pval, time_t *tp));
85 int hesiod_search(m, map, key, pval, tp) in hesiod_search() argument
90 time_t *tp;
96 dlog("hesiod_search(m=%x, map=%s, key=%s, pval=%x tp=%x)", m, map, key, pval, tp);
H A Dinfo_ndbm.c47 int ndbm_search P((mnt_map *m, char *map, char *key, char **pval, time_t *tp));
48 int ndbm_search(m, map, key, pval, tp) in ndbm_search() argument
53 time_t *tp;
62 if (!error && *tp < stb.st_mtime) {
63 *tp = stb.st_mtime;
75 int ndbm_init P((char *map, time_t *tp));
76 int ndbm_init(map, tp) in ndbm_init() argument
78 time_t *tp;
87 *tp = clocktime();
89 *tp = stb.st_mtime;
H A Dinfo_nis.c144 int nis_search P((mnt_map *m, char *map, char *key, char **val, time_t *tp));
145 int nis_search(m, map, key, val, tp) in nis_search() argument
150 time_t *tp;
170 if ((time_t) order > *tp) {
171 *tp = (time_t) order;
196 int nis_init P((char *map, time_t *tp));
197 int nis_init(map, tp) in nis_init() argument
199 time_t *tp;
215 *tp = (time_t) order;
H A Dinfo_passwd.c35 int passwd_init P((char *map, time_t *tp));
36 int passwd_init(map, tp) in passwd_init() argument
38 time_t *tp;
40 *tp = 0;
49 int passwd_search P((mnt_map *m, char *map, char *key, char **pval, time_t *tp));
50 int passwd_search(m, map, key, pval, tp) in passwd_search() argument
55 time_t *tp;
H A Dinfo_union.c43 int union_init P((char *map, time_t *tp));
44 int union_init(map, tp) in union_init() argument
46 time_t *tp;
48 *tp = 0;
52 int union_search P((mnt_map *m, char *map, char *key, char **pval, time_t *tp));
53 int union_search(m, map, key, pval, tp) in union_search() argument
58 time_t *tp;
H A Dmapc.c762 static int root_init(map, tp) in root_init() argument
764 time_t *tp;
766 *tp = clocktime();
850 static int error_init(map, tp) in error_init() argument
852 time_t *tp;
855 *tp = 0;
861 static int error_search(m, map, key, pval, tp) in error_search() argument
866 time_t *tp;
882 static int error_mtime(map, tp) in error_mtime() argument
884 time_t *tp;
[all …]
/original-bsd/usr.sbin/amd/amq/
H A Damq.c86 struct tm *tp = localtime((time_t *) &mt->mt_mounttime); local
103 tp->tm_year > 99 ? tp->tm_year - 100 : tp->tm_year,
104 tp->tm_mon+1, tp->tm_mday,
105 tp->tm_hour, tp->tm_min, tp->tm_sec);
109 struct tm *tp = localtime((time_t *) &mt->mt_mounttime); local
121 tp->tm_year > 99 ? tp->tm_year - 100 : tp->tm_year,
122 tp->tm_mon+1, tp->tm_mday,
123 tp->tm_hour, tp->tm_min, tp->tm_sec);
/original-bsd/usr.sbin/amd/doc/
H A DMakefile27 amdref.log amdref.pg amdref.toc amdref.tp amdref.vr

1...<<1112