Lines Matching refs:tp
344 register Token *tp, *maxp; in gettokens() local
349 tp = trp->lp; in gettokens()
373 if (tp >= maxp) in gettokens()
375 trp->lp = tp; in gettokens()
376 tp = growtokenrow(trp); in gettokens()
379 tp->type = UNCLASS; in gettokens()
380 tp->t = ip; in gettokens()
381 tp->wslen = 0; in gettokens()
382 tp->flag = 0; in gettokens()
404 tp->type = (unsigned char) GETACT(state); in gettokens()
405 tp->len = ip - tp->t; in gettokens()
406 tp++; in gettokens()
410 tp->type = NAME; in gettokens()
411 tp->len = ip - tp->t; in gettokens()
412 nmac |= quicklook(tp->t[0], tp->len > 1 ? tp->t[1] : 0); in gettokens()
413 tp++; in gettokens()
417 tp->wslen = ip - tp->t; in gettokens()
418 tp->t = ip; in gettokens()
492 tp->type = END; in gettokens()
493 tp->len = 0; in gettokens()
495 if (tp != trp->bp && (tp - 1)->type != NL && cursource->fd != -1) in gettokens()
497 trp->lp = tp + 1; in gettokens()
503 tp->t = ip; in gettokens()
504 tp->type = NL; in gettokens()
505 tp->len = 1; in gettokens()
506 tp->wslen = 0; in gettokens()
509 trp->lp = tp + 1; in gettokens()
529 tp->t = ++ip; in gettokens()
530 tp->t[-1] = ' '; in gettokens()
531 tp->wslen = 1; in gettokens()
539 tp->type = COMMENT; in gettokens()
540 tp->flag |= XTWS; in gettokens()
547 tp->len = ip - tp->t; in gettokens()
548 tp++; in gettokens()