Lines Matching refs:pend
1615 remove_tail(char_u *p, char_u *pend, char_u *name) in remove_tail() argument
1618 char_u *newend = pend - len; in remove_tail()
1624 return pend; in remove_tail()
1660 char_u *pend; in vim_getenv() local
1777 pend = gettail(p); in vim_getenv()
1781 pend = remove_tail(p, pend, (char_u *)"doc"); in vim_getenv()
1791 pend1 = remove_tail(p, pend, (char_u *)"MacOS"); in vim_getenv()
1792 if (pend1 != pend) in vim_getenv()
1800 pend = p + STRLEN(p); in vim_getenv()
1807 pend = remove_tail(p, pend, (char_u *)"src"); in vim_getenv()
1813 pend = remove_tail(p, pend, (char_u *)RUNTIME_DIRNAME); in vim_getenv()
1814 pend = remove_tail(p, pend, (char_u *)VIM_VERSION_NODOT); in vim_getenv()
1818 if (pend > p && after_pathsep(p, pend)) in vim_getenv()
1819 --pend; in vim_getenv()
1825 p = vim_strnsave(p, pend - p); in vim_getenv()
1833 if (vimruntime && (pend = vim_version_dir(p)) != NULL) in vim_getenv()
1836 p = pend; in vim_getenv()