/original-bsd/usr.sbin/config/ |
H A D | mkmakefile.c | 254 tp = 0; in read_files() 328 if (tp == 0) in read_files() 329 tp = new_fent(); in read_files() 330 tp->f_fn = this; in read_files() 352 if (tp == 0) in read_files() 353 tp = new_fent(); in read_files() 354 tp->f_fn = this; in read_files() 356 tp->f_flags = 0; in read_files() 393 for (tp = ftab; tp != 0; tp = tp->f_next) { 430 for (tp = ftab; tp; tp = tp->f_next) [all …]
|
/original-bsd/sys/kern/ |
H A D | subr_prf.c | 171 struct tty *tp = NULL; local 178 tp = sess->s_ttyp; 196 struct tty *tp; in ttyprintf() 335 kprintf(fmt, flags, tp, ap) in kprintf() argument 338 struct tty *tp; 353 putchar(ch, flags, tp); 438 putchar(ch, flags, tp); 449 putchar(c, flags, tp) in putchar() argument 452 struct tty *tp; 460 tp = constty; [all …]
|
/original-bsd/local/sccscmds/sccscmds.ok/cmd/ |
H A D | ctime.c | 144 register int *tp; local 156 tp = (int *)&xtime; 161 *tp++ = hms%60; 163 *tp++ = d1%60; 165 *tp++ = d1; 194 *tp++ = d0+1; 195 *tp++ = d1; 205 register int *tp; local 215 tp = &t->tm_mon; 220 cp = ct_numb(cp, *--tp); [all …]
|
/original-bsd/lib/libc/db/btree/ |
H A D | bt_search.c | 129 PAGE *tp; local 138 if (NEXTINDEX(tp) != 0) 140 pg = tp->prevpg; 141 mpool_put(t->bt_mp, tp, 0); 148 e.page = tp; 149 e.index = NEXTINDEX(tp) - 1; 180 PAGE *tp; local 189 if (NEXTINDEX(tp) != 0) 191 pg = tp->prevpg; 192 mpool_put(t->bt_mp, tp, 0); [all …]
|
/original-bsd/local/sccscmds/sccscmds.2/cmd/ |
H A D | ctime.c | 144 register int *tp; local 156 tp = (int *)&xtime; 161 *tp++ = hms%60; 163 *tp++ = d1%60; 165 *tp++ = d1; 194 *tp++ = d0+1; 195 *tp++ = d1; 205 register int *tp; local 215 tp = &t->tm_mon; 220 cp = ct_numb(cp, *--tp); [all …]
|
/original-bsd/contrib/awk.research/ |
H A D | tran.c | 144 Cell **tp; in makesymtab() local 152 ap->tab = tp; in makesymtab() 159 Array *tp; in freesymtab() local 165 if (tp == NULL) in freesymtab() 182 Array *tp; in freeelem() local 198 tp->nelem--; in freeelem() 220 tp->nelem++; in setsymtab() 221 if (tp->nelem > FULLTAB * tp->size) in setsymtab() 222 rehash(tp); in setsymtab() 225 tp->tab[h] = p; in setsymtab() [all …]
|
/original-bsd/usr.bin/window/ |
H A D | ttinit.c | 44 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()
|
/original-bsd/usr.bin/uucp/libuu/ |
H A D | gnxseq.c | 33 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 D | logent.c | 77 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/pascal/src/ |
H A D | type.c | 285 if ( tp == NLNIL ) 376 tp = gtype(s); 377 if (tp == NLNIL) 387 if (tp == NLNIL) { 391 if ((tp->class == RANGE || tp->class == CRANGE) && 399 if (tp->class != RANGE && tp->class != SCAL && tp->class !=CRANGE){ 407 if (tp->class == RANGE && bytes(tp->range[0], tp->range[1]) > 2) { 414 if (tp->class != CRANGE) 415 tp = nlcopy(tp); 417 ltp->chain = tp; [all …]
|
H A D | yyprint.c | 46 tokname(tp , which ) in tokname() argument 47 register struct yytok *tp; in tokname() 56 switch (tp->Yychar) { 81 cp = (char *) tp->Yylval; 88 if (tp->Yychar < 256) { 99 cp[1] = tp->Yychar; 102 for (kp = yykey; kp->kw_str != NIL && kp->kw_val != tp->Yychar; kp++)
|
/original-bsd/sys/vax/uba/ |
H A D | qv.c | 362 ttychars(tp); 384 return ((*linesw[tp->t_line].l_open)(dev, tp)); 425 (*linesw[tp->t_line].l_close)(tp, flag); 445 return ((*linesw[tp->t_line].l_read)(tp, uio)); 467 return ((*linesw[tp->t_line].l_write)(tp, uio)); 507 struct tty *tp; local 581 (*linesw[tp->t_line].l_rint)(*string++, tp); 583 (*linesw[tp->t_line].l_rint)(c, tp); 658 error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag); 872 qvstart(tp) in qvstart() argument [all …]
|
H A D | dmf.c | 198 tp = &dmf_tty[unit]; 249 return ((*linesw[tp->t_line].l_read)(tp, uio, flag)); 261 return ((*linesw[tp->t_line].l_write)(tp, uio)); 306 dmfstart(tp) 307 struct tty *tp; variable 310 dmxstart(tp, &dmf_softc[minor(tp->t_dev) >> 3]); 316 dmfstop(tp, flag) 317 struct tty *tp; variable 320 dmxstop(tp, &dmf_softc[minor(tp->t_dev) >> 3], flag); 360 dmxparam(tp, &tp->t_termios); [all …]
|
/original-bsd/lib/libc/gen/ |
H A D | times.c | 24 times(tp) in times() argument 25 register struct tms *tp; in times() 32 tp->tms_utime = CONVTCK(ru.ru_utime); 33 tp->tms_stime = CONVTCK(ru.ru_stime); 36 tp->tms_cutime = CONVTCK(ru.ru_utime); 37 tp->tms_cstime = CONVTCK(ru.ru_stime);
|
/original-bsd/games/larn/ |
H A D | nap.c | 91 register struct timeb *tp = & _gtime; local 94 ftime(tp); 95 matchmilli = tp->millitm + time; 96 matchtime = tp->time; 105 ftime(tp); 106 if ((tp->time > matchtime) || 107 ((tp->time == matchtime) && (tp->millitm >= matchmilli)))
|
/original-bsd/sys/sparc/rcons/ |
H A D | rcons_kern.c | 63 rcons_output(tp) in rcons_output() argument 64 register struct tty *tp; in rcons_output() 74 tp->t_state |= TS_BUSY; 82 tp->t_state &= ~TS_BUSY; 84 if (tp->t_outq.c_cc) { 85 tp->t_state |= TS_TIMEOUT; 86 timeout(ttrstrt, tp, 1); 88 if (tp->t_outq.c_cc <= tp->t_lowat) { 89 if (tp->t_state&TS_ASLEEP) { 90 tp->t_state &= ~TS_ASLEEP; [all …]
|
/original-bsd/old/eqn/common_source/ |
H A D | lex.c | 72 tbl *tp, *lookup(); in yylex() local 114 if ((tp = lookup(&deftbl, token, NULL)) != NULL) { in yylex() 116 pbstr(tp->defn); in yylex() 119 printf(".\tfound %s|=%s|\n", token, tp->defn); in yylex() 125 …else if (tp->defn == (char *) DEFINE || tp->defn == (char *) NDEFINE || tp->defn == (char *) TDEFI… in yylex() 126 define(tp->defn); in yylex() 127 else if (tp->defn == (char *) DELIM) in yylex() 129 else if (tp->defn == (char *) GSIZE) in yylex() 131 else if (tp->defn == (char *) GFONT) in yylex() 133 else if (tp->defn == (char *) INCLUDE) in yylex() [all …]
|
/original-bsd/usr.bin/uucp/ |
H A D | pk.p | 7 #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.sbin/amd/amd/ |
H A D | info_passwd.c | 35 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 D | info_nis.c | 144 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;
|
/original-bsd/sys/sys/ |
H A D | conf.h | 64 int (*d_stop) __P((struct tty *tp, int rw)); 85 int (*l_open) __P((dev_t dev, struct tty *tp)); 86 int (*l_close) __P((struct tty *tp, int flag)); 87 int (*l_read) __P((struct tty *tp, struct uio *uio, 89 int (*l_write) __P((struct tty *tp, struct uio *uio, 91 int (*l_ioctl) __P((struct tty *tp, u_long cmd, caddr_t data, 93 int (*l_rint) __P((int c, struct tty *tp)); 94 int (*l_start) __P((struct tty *tp)); 95 int (*l_modem) __P((struct tty *tp, int flag));
|
/original-bsd/usr.bin/units/ |
H A D | units.c | 302 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/uusnap/ |
H A D | uusnap.c | 199 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/games/monop/ |
H A D | trade.c | 74 TRADE *tp; local 80 tp = &trades[sn]; 81 tp->trader = pn; 109 if (tp->gojf > pp->num_gojf) { 139 reg TRADE *tp; in summate() local 143 tp = &trades[i]; in summate() 146 tp->trader+1); in summate() 147 if (tp->cash > 0) in summate() 148 printf("\t$%d\n", tp->cash), some++; in summate() 149 if (tp->gojf > 0) in summate() [all …]
|
/original-bsd/usr.bin/tftp/ |
H A D | tftp.c | 278 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 …]
|