Lines Matching refs:wp
1639 c_cd(const char **wp) in c_cd() argument
1651 while ((optc = ksh_getopt(wp, &builtin_opt, "eLP")) != -1) in c_cd()
1665 wp += builtin_opt.optind; in c_cd()
1675 if (!wp[0]) { in c_cd()
1681 } else if (!wp[1]) { in c_cd()
1683 strdupx(allocd, wp[0], ATEMP); in c_cd()
1694 } else if (!wp[2]) { in c_cd()
1709 if ((cp = strstr(current_wd, wp[0])) == NULL) { in c_cd()
1720 olen = strlen(wp[0]); in c_cd()
1721 nlen = strlen(wp[1]); in c_cd()
1725 memcpy(dir + ilen, wp[1], nlen); in c_cd()