Lines Matching refs:tp

85         register char           *tp;  in control()  local
100 case L_assert: tp = "assert"; break; in control()
101 case L_define: tp = "define"; break; in control()
102 case L_elif: tp = "elif"; break; in control()
103 case L_else: tp = "else"; break; in control()
104 case L_endif: tp = "endif"; break; in control()
105 case L_if: tp = "if"; break; in control()
106 case L_ifdef: tp = "ifdef"; break; in control()
107 case L_ifndef: tp = "ifndef"; break; in control()
108 case L_include: tp = "include"; break; in control()
109 case L_line: tp = "line"; break; in control()
110 case L_pragma: tp = "pragma"; break; in control()
111 case L_undef: tp = "undef"; break; in control()
112 case L_error: tp = "error"; break; in control()
114 case L_debug: tp = "debug"; break; in control()
115 case L_nodebug: tp = "nodebug"; break; in control()
118 case L_nogood: tp = ""; break; in control()
120 if (!streq(tp, token)) in control()
177 for (tp = work; isdigit(*tp) || type[(int)*tp] == SPA; tp++) in control()
179 if (*tp != EOS) { /* Got a filename, so: */ in control()
180 if (*tp == '"' && (ep = strrchr(tp + 1, '"')) != NULL) { in control()
181 tp++; /* Skip over left quote */ in control()
186 infile->progname = savestring(tp); in control()
516 register char *tp; in hasdirectory() local
518 if ((tp = strrchr(source, '/')) == NULL) in hasdirectory()
521 strncpy(result, source, tp - source + 1); in hasdirectory()
522 result[tp - source + 1] = EOS; in hasdirectory()
537 register char *tp; in hasdirectory()
539 if ((tp = strrchr(source, ']')) == NULL in hasdirectory()
540 && (tp = strrchr(source, ':')) == NULL) in hasdirectory()
543 strncpy(result, source, tp - source + 1); in hasdirectory()
544 result[tp - source + 1] = EOS; in hasdirectory()