/original-bsd/usr.bin/uucp/uucico/ |
H A D | conn.c | 947 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.sbin/amd/amd/ |
H A D | mapc.c | 762 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.bin/finger/ |
H A D | lprint.c | 82 struct tm *tp; local 148 tp = localtime(&w->loginat); 149 t = asctime(tp); 150 tzn = tp->tm_zone; 182 tp = localtime(&w->loginat); 183 t = asctime(tp); 184 tzn = tp->tm_zone;
|
/original-bsd/local/ditroff/ditroff.okeeffe/tbl/ |
H A D | vertlines.c | 14 int tp = 0, sl, ln, pos, epb, ept, vm; in drawvert() local 26 if(pos != tp) in drawvert() 27 printf("\\h'%dp'", pos - tp); in drawvert() 28 tp = pos; in drawvert()
|
/original-bsd/sys/miscfs/procfs/ |
H A D | procfs_status.c | 37 struct tty *tp; local 64 if ((p->p_flag&P_CONTROLT) && (tp = sess->s_ttyp)) 65 ps += sprintf(ps, "%d,%d ", major(tp->t_dev), minor(tp->t_dev));
|
/original-bsd/sys/netiso/ |
H A D | tuba_subr.c | 97 tuba_output(m, tp) in tuba_output() argument 99 struct tcpcb *tp; 105 if (tp == 0 || (n = tp->t_template) == 0 || 106 (isop = (struct isopcb *)tp->t_tuba_pcb) == 0) { 175 struct tcpcb *tp = intotcpcb(inp); local 176 struct isopcb *isop = (struct isopcb *)tp->t_tuba_pcb; 219 register struct tcpcb *tp = 0; local
|
/original-bsd/games/sail/ |
H A D | assorted.c | 25 struct Tables *tp; variable 39 tp = &(rig ? RigTable : HullTable)[hittable][roll-1]; 40 Chit = chits = tp->C; 41 Rhit = rhits = tp->R; 42 Hhit = hhits = tp->H; 43 Ghit = ghits = tp->G;
|
/original-bsd/libexec/bugfiler/ |
H A D | process.c | 38 struct timeval tp; /* time of day */ in process() local 58 if (gettimeofday(&tp, (struct timezone *)NULL)) in process() 61 pfile, ctime(&tp.tv_sec), mailhead[INDX_TAG].line, in process()
|
H A D | bugfiler.c | 133 struct timeval tp; in logit() local 136 if (gettimeofday(&tp, (struct timezone *)NULL)) in logit() 138 for (C1 = C2 = ctime(&tp.tv_sec); *C1 && *C1 != '\n'; ++C1); in logit()
|
/original-bsd/local/ditroff/ditroff.old.okeeffe/gremlin.aed/gremlin/ |
H A D | graphics3.c | 109 struct timeb tp; local 133 ftime(&tp); 134 time = 1000 * tp.time + tp.millitm;
|
/original-bsd/old/tbl/ |
H A D | tv.c | 14 int tp=0, sl, ln, pos, epb, ept, vm; in drawvert() local 23 if (pos!=tp) fprintf(tabout, "\\h'%dp'", pos-tp); in drawvert() 24 tp = pos; in drawvert()
|
/original-bsd/old/refer/NOTUSED/whatabout/ |
H A D | what4.c | 25 static char tbuf[NW*ZIPF*WLEN], *tp = tbuf; variable 54 strcpy (tp, tw); 55 word[j].tx = tp; 56 while (*tp++); 57 _assert (tp < tbuf+NW*ZIPF*WLEN);
|
/original-bsd/usr.bin/ex/ |
H A D | ex_vadj.c | 32 vopen(tp, p) in vopen() argument 33 line *tp; in vopen() 70 getline(*tp); 611 register line *tp; local 641 l++, tp++; 653 getline(*tp); 685 tp++; 696 for (; tp <= dol && Peek_key != ATTN; tp++) { 697 getline(*tp); 700 vopen(tp, p); [all …]
|
/original-bsd/sys/kern/ |
H A D | vfs_bio.c | 535 allocbuf(tp, size) in allocbuf() argument 536 register struct buf *tp; in allocbuf() 546 if (sizealloc == tp->b_bufsize) 555 if (sizealloc < tp->b_bufsize) { 563 (int)tp->b_bufsize - sizealloc); 565 tp->b_bufsize = sizealloc; 576 while (tp->b_bufsize < sizealloc) { 577 take = sizealloc - tp->b_bufsize; 583 &((char *)tp->b_data)[tp->b_bufsize], take); 584 tp->b_bufsize += take; [all …]
|
/original-bsd/games/hack/ |
H A D | hack.eat.c | 364 register tp = 0; local 366 tp++; 372 tp++; 380 tp++; 444 tp++; 450 tp++; 458 return(tp);
|
/original-bsd/local/ditroff/ditroff.okeeffe/ |
H A D | n3.c | 738 register tchar *tp; in casetl() local 760 tp = buf; in casetl() 770 *tp++ = 0; in casetl() 779 *tp++ = i; in casetl() 784 *tp++ = 0; in casetl() 785 *tp++ = 0; in casetl() 786 *tp++ = 0; in casetl() 787 tp = buf; in casetl() 791 while (i = *tp++) in casetl() 795 while (i = *tp++) in casetl() [all …]
|
/original-bsd/local/ditroff/ditroff.okeeffe/troff/ |
H A D | n3.c | 738 register tchar *tp; in casetl() local 760 tp = buf; in casetl() 770 *tp++ = 0; in casetl() 779 *tp++ = i; in casetl() 784 *tp++ = 0; in casetl() 785 *tp++ = 0; in casetl() 786 *tp++ = 0; in casetl() 787 tp = buf; in casetl() 791 while (i = *tp++) in casetl() 795 while (i = *tp++) in casetl() [all …]
|
/original-bsd/sys/deprecated/bbnnet/ |
H A D | tcp.h | 207 #define tcpcbtoso(tp) ((tp)->t_in_pcb->inp_socket) argument 230 #define t_cancel(tp, timer) ((tp)->t_timers[timer] = 0) argument
|
H A D | net.h | 51 #define w_alloc(type, stype, tp, m) \ argument 55 w.w_type = type; w.w_stype = stype; w.w_tcb = tp; \
|
/original-bsd/games/pom/ |
H A D | pom.c | 49 struct timeval tp; in main() local 56 if (gettimeofday(&tp,&tzp)) { in main() 60 GMT = gmtime(&tp.tv_sec); in main()
|
/original-bsd/sys/news3400/news3400/ |
H A D | cons.c | 66 vcstop(tp, flag) 67 struct tty *tp; variable 74 return ((*cdevsw[major(dev)].d_stop)(tp, flag));
|
/original-bsd/local/kerberosIV/kdb_edit/ |
H A D | kdb_edit.c | 202 struct tm *tp, edate, *localtime(); in change_principal() local 233 tp = localtime(&principal_data[0].exp_date); in change_principal() 235 tp->tm_year > 1900 ? tp->tm_year : tp->tm_year + 1900, in change_principal() 236 tp->tm_mon + 1, tp->tm_mday); /* January is 0, not 1 */ in change_principal()
|
/original-bsd/usr.sbin/amd/fsinfo/ |
H A D | wr_atab.c | 251 auto_tree *tp; local 253 ITER(tp, auto_tree, q) 254 errors += write_amount(tp->t_mount, tp->t_defaults);
|
/original-bsd/usr.bin/indent/ |
H A D | lexi.c | 246 register char *tp = buf_ptr; in lexi() local 247 while (tp < buf_end) in lexi() 248 if (*tp++ == ')' && (*tp == ';' || *tp == ',')) in lexi()
|
/original-bsd/usr.bin/apropos/ |
H A D | apropos.c | 45 TAG *tp; local 86 ep = (tp = getlist("_whatdb")) == NULL ? 87 NULL : tp->list.tqh_first;
|