Lines Matching refs:cp
19 char *cp, *i_name, *i_arg; in load_script() local
37 if ((cp = strchr(bprm->buf, '\n')) == NULL) in load_script()
38 cp = bprm->buf+BINPRM_BUF_SIZE-1; in load_script()
39 *cp = '\0'; in load_script()
40 while (cp > bprm->buf) { in load_script()
41 cp--; in load_script()
42 if ((*cp == ' ') || (*cp == '\t')) in load_script()
43 *cp = '\0'; in load_script()
47 for (cp = bprm->buf+2; (*cp == ' ') || (*cp == '\t'); cp++); in load_script()
48 if (*cp == '\0') in load_script()
50 i_name = cp; in load_script()
52 for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++) in load_script()
54 while ((*cp == ' ') || (*cp == '\t')) in load_script()
55 *cp++ = '\0'; in load_script()
56 if (*cp) in load_script()
57 i_arg = cp; in load_script()