Lines Matching refs:cp
137 register const char *cp;
152 cp = 0;
169 && (cp=nv_getval(np)))
179 sfputr(sfstdout,sh_fmtq(cp),'\n');
182 cp = 0;
192 cp = "";
196 cp = sh_translate(is_ufunction);
200 cp = sh_translate(is_spcbuiltin);
202 cp = sh_translate(is_builtin);
205 cp = sh_translate(is_function);
209 sfprintf(sfstdout,"%s%s\n",name,cp);
212 cp = 0;
218 cp=0;
225 cp = name;
226 if((flags&P_FLAG) && *cp!='/')
227 cp = 0;
231 cp = stakptr(PATH_OFFSET);
232 if(*cp==0)
233 cp = 0;
234 else if(*cp!='/')
236 cp = path_fullname(shp,cp);
243 r |= !cp;
245 else if(cp)
249 if(*cp!= '/')
252 sfprintf(sfstdout,"%s %s %s/%s\n",name,sh_translate(is_talias),path_pwd(shp,0),cp);
259 if(*cp=='/' && (np=nv_search(cp,shp->bltin_tree,0)))
268 sfputr(sfstdout,sh_fmtq(cp),'\n');
280 free((char*)cp);