/original-bsd/usr.bin/login/ |
H A D | login.c.1 | 98 struct timeval tp; 329 (void)gettimeofday(&tp, (struct timezone *)NULL); 331 if (tp.tv_sec >= pwd->pw_change) { 335 else if (tp.tv_sec - pwd->pw_change < TWOWEEKS) { 341 if (tp.tv_sec >= pwd->pw_expire) { 345 else if (tp.tv_sec - pwd->pw_expire < TWOWEEKS) {
|
/original-bsd/usr.bin/m4/ |
H A D | look.c | 94 register ndptr xp, tp, mp; local 98 tp = nil; 102 if (tp == nil) { 107 xp = tp->nxtptr; 108 tp->nxtptr = mp; 115 tp = mp;
|
H A D | m4.c | 128 register char *tp, **ap; local 214 tp = token; 215 *tp++ = t = getchr(); 216 *tp = EOS; 240 putbak(*--tp); 241 *tp = EOS; 368 register char *tp; in puttok() local 370 tp = token; in puttok() 376 while (*tp) in puttok() 377 *op++ = *tp++; in puttok() [all …]
|
H A D | main.c | 354 inspect(tp) in inspect() argument 355 register char *tp; in inspect() 358 register char *name = tp; 359 register char *etp = tp+MAXTOK; 363 while ((isalnum(c = gpbc()) || c == '_') && tp < etp) 364 h = (h << 5) + h + (*tp++ = c); 366 if (tp == etp) 369 *tp = EOS;
|
/original-bsd/usr.bin/mail/ |
H A D | head.c | 162 cmatch(cp, tp) in cmatch() argument 163 register char *cp, *tp; in cmatch() 166 while (*cp && *tp) 167 switch (*tp++) { 198 if (*cp || *tp)
|
H A D | optim.c | 240 register struct xtrahash *xp, **tp; in minit() local 243 tp = &xtab[0]; in minit() 248 *tp++ = (struct xtrahash *) 0; in minit() 461 register int tp, nc; local 474 tp = ntype(cp[1]); 476 while (*cp && tp == ntype(cp[1])) { 480 switch (netkind(tp)) {
|
/original-bsd/usr.bin/make/ |
H A D | suff.c | 2387 SuffPrintTrans (tp, dummy) in SuffPrintTrans() argument 2388 ClientData tp; in SuffPrintTrans() 2391 GNode *t = (GNode *) tp;
|
/original-bsd/usr.bin/man/ |
H A D | config.c | 41 TAG *tp; local 74 tp != NULL && strcmp(p, tp->s); tp = tp->q.tqe_next); 77 tp = addlist(p); 111 TAG *tp; local 116 TAILQ_INIT(&tp->list); 118 return (tp); 129 TAG *tp; local 131 for (tp = head.tqh_first; tp != NULL; tp = tp->q.tqe_next) 133 return (tp); 141 TAG *tp; local [all …]
|
/original-bsd/usr.bin/netstat/ |
H A D | main.c | 308 (*tp->pr_stats)(nl[tp->pr_sindex].n_value, 309 tp->pr_name); 346 for (tp = protox; tp->pr_name; tp++) 349 if (tp->pr_name == 0 || tp->pr_wanted == 0) 356 for (tp = nsprotox; tp->pr_name; tp++) 357 printproto(tp, tp->pr_name); 359 for (tp = isoprotox; tp->pr_name; tp++) 360 printproto(tp, tp->pr_name); 433 for (tp = *tpp; tp->pr_name; tp++) 435 return (tp); [all …]
|
/original-bsd/usr.bin/pascal/pdx/breakpoint/ |
H A D | trinfo.c | 71 tp->trvar = node; 75 trhead = tp; 90 for (tp = trhead; tp != NIL; tp = tp->trnext) { 97 if (tp == NIL) { 106 free(tp->trvalue); 108 free(tp); 125 for (tp = trhead; tp != NIL; tp = tp->trnext) { in prvarnews() 126 if (tp->trcond != NIL && !cond(tp->trcond)) { in prvarnews() 136 p = tp->trvar; in prvarnews() 193 for (tp = trhead; tp != NIL; tp = next) { in trfree() [all …]
|
/original-bsd/usr.bin/pascal/pdx/sym/ |
H A D | tree.c | 252 LOCAL convert(tp, typeto, op) in convert() argument 253 NODE **tp; in convert() 257 #define tree (*tp)
|
/original-bsd/usr.bin/pascal/pxp/ |
H A D | rec.c | 60 register int *fp, *tp, *ip; local 65 tp = fp[1]; 66 if (tp != NIL) { 67 setline(tp[1]); 68 ip = tp[2]; 81 gtype(tp[3]); 82 setinfo(tp[1]);
|
H A D | yycomm.c | 204 register char *tp; local 210 tp = token; 220 --tp; 231 *tp++ = c; 237 *tp = 0; 392 register char *tp; local 395 for (i = 8, tp = cml->cmtext; i < margin && *tp; tp++) 396 switch (*tp) { 410 ppid(tp);
|
/original-bsd/usr.bin/pascal/src/ |
H A D | rec.c | 127 register struct tnode *fp, *tp, *ip; variable 133 tp = fp->list_node.list; 134 if (tp == TR_NIL) 136 jp = gtype(tp->rfield.type); 137 line = tp->rfield.line_no; 138 for (ip = tp->rfield.id_list; ip != TR_NIL;
|
H A D | subr.c | 35 register char *tp; local 37 tp = &opt( c ); 38 *tp = 1 - *tp;
|
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/usr.bin/rdist/ |
H A D | docmd.c | 360 tp = NULL; 396 if (tp == NULL) { 400 while (*tp) 401 tp++; 442 otp = tp; 443 len = tp - target; 451 tp = otp; 452 *tp++ = '/'; 456 tp--; 460 tp = otp; [all …]
|
H A D | expand.c | 121 register struct namelist *tp; local 152 tp = lookup(cp, NULL, 0); 155 if (tp != NULL) { 156 for (; tp != NULL; tp = tp->n_next) { 157 sprintf(buf, "%s%s%s", s, tp->n_name, tail);
|
H A D | server.c | 96 tp++; in server() 229 while (*tp) 230 tp++; 345 otp = tp; 361 tp--; 367 tp = otp; 734 tp--; 1170 otp = tp; 1185 tp--; 1212 tp = otp; [all …]
|
/original-bsd/usr.bin/showmount/ |
H A D | showmount.c | 187 struct mountlist *mp, **otp, *tp; local 213 tp = *mlp; 214 while (tp) { 215 val = strcmp(mp->ml_host, tp->ml_host); 216 val2 = strcmp(mp->ml_dirp, tp->ml_dirp); 242 otp = &tp->ml_left; 243 tp = tp->ml_left; 245 otp = &tp->ml_right; 246 tp = tp->ml_right;
|
/original-bsd/usr.bin/spell/ |
H A D | special.4bsd | 907 tp
|
/original-bsd/usr.bin/telnet/ |
H A D | README | 413 > if ((tp->t_lflag&NOFLSH) == 0) 414 > ttyflush(tp, FREAD|FWRITE); 415 > ! pgsignal(tp->t_pgrp, *(unsigned int *)data); 419 > if ((tp->t_lflag&NOFLSH) == 0) 420 > ttyflush(tp, FREAD|FWRITE); 421 > ! pgsignal(tp->t_pgrp, *(unsigned int *)data, 1); 423 > ! ((tp->t_lflag&NOKERNINFO) == 0)) 424 > ! ttyinfo(tp);
|
H A D | commands.c | 2366 struct tosent *tp; local 2367 if (tos < 0 && (tp = gettosbyname("telnet", "tcp"))) 2368 tos = tp->t_tos;
|
H A D | sys_bsd.c | 756 register struct termspeeds *tp; local 766 tp = termspeeds; 767 while ((tp->speed != -1) && (tp->value < in)) 768 tp++; 769 *ispeed = tp->speed; 771 tp = termspeeds; 772 while ((tp->speed != -1) && (tp->value < out)) 773 tp++; 774 *ospeed = tp->speed;
|