Lines Matching refs:cp
286 register char *cp;
290 cp = index(line, '\n');
291 if (cp)
292 *cp = 0;
293 cp = line + 6;
294 while (*cp && (*cp == ' ' || *cp == '\t'))
295 cp++;
296 COPTS = malloc((unsigned)(strlen(cp) + 1));
301 strcpy(COPTS, cp);
304 fprintf(ofp, "PCOPTS=%s\n", cp);
375 struct cputype *cp;
548 for (cp = cputype; cp; cp = cp->cpu_next)
549 if (opteq(cp->cpu_name, wd)) {
632 opteq(const char *cp, const char *dp)
636 for (; ; cp++, dp++) {
637 if (*cp != *dp) {
638 c = isupper(*cp) ? tolower(*cp) : *cp;
643 if (*cp == 0)
662 char *cp;
679 cp = tp->f_fn + (len = strlen(tp->f_fn)) - 1;
681 (ext != -1 && *cp != ext))
683 else if (*cp == 'o') {
703 cp = (char *)sp + (len = strlen(sp)) - 1;
704 och = *cp;
705 *cp = 'o';
712 *cp = och;
728 char *cp;
738 cp = (char *)sp + (len = strlen(sp)) - 1;
739 och = *cp;
740 *cp = 'o';
747 *cp = och;
824 struct cputype *cp;
826 for (cp = cputype; cp; cp = cp->cpu_next)
827 fprintf(fp, "#define\t%s\t1\n", cp->cpu_name);
885 register const char *cp;
887 cp = rindex(fn, '/');
888 if (cp == 0)
890 return (cp+1);
903 char *cp;
915 cp = (np = ftp->f_fn) + strlen(ftp->f_fn) - 1;
916 och = *cp;
930 *cp = '\0';
1073 *cp = och;
1138 fprintf(f, "\t@cp swap%s.o $@\n\n", name);
1156 register char *cp = str;
1163 return (cp);