Lines Matching defs:dp
56 register const char *dp;
101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=sh_scoped(shp,CDPNOD)->nvalue.cp))
103 if(cdpath=path_addpath(shp,(Pathcomp_t*)0,dp,PATH_CDPATH))
115 if(*(dp=dir+1) == '.')
116 dp++;
117 if(*dp==0 || *dp=='/')
123 dp = cdpath?cdpath->name:"";
177 dp = dir; /* print out directory for cd - */
189 if(*dp && (*dp!='.'||dp[1]) && strchr(dir,'/'))