Lines Matching refs:cp
147 {register char *cp =name;
148 while (*cp) if (*cp++ == '/') name = cp;
350 register char *cp = file_array;
354 while ((*svp++ = (c = *cp++)) && c != ':');
364 register char *cp = dep_line;
376 *cp++ = c;
380 *cp = 0;
381 cp = dep_line;
384 while ((c = *cp++) && c != ':'); if (!c) continue;
388 while ((c = *cp) && (c == ' ' || c == '\t')) cp++; if (!c) continue;
397 if (D_depend) printf("i = %d going \"%s\"\n", i, cp);
399 while ((c = *cp) && c == '/') cp++; if (!c) break;
400 path_component[i] = cp;
402 while ((c = *cp++) && c != '/' && c != ' ' && c != '\t');
403 if (c) cp[-1]=0;/* end component C style */
413 oldcp = cp; /* save cp */
414 cp = tlp; /* overwrite line in buffer */
416 *cp++ = '/';
418 while (*cp++ = *ccp++);
419 *--cp = '/';
420 cp++;
422 *--cp = 0;
426 dep_files[c].len = cp - tlp;
429 name, dep_file_index - 1, tlp, cp - tlp);
430 tlp = cp + 1;
433 cp = oldcp;
597 register char *cp = &makbuf[SALUTATIONLEN+1];
608 ret = strncmp(cp, file, len);
610 printf("saw \"%s\" ret = %d\n", cp, ret);