Lines Matching refs:pszStart
102 char* pszStart = pszPath; in std_cleanpath() local
104 char* pcEnd = pszStart+std_strlen(pszStart); in std_cleanpath()
107 if ('/' == pszStart[0]) { in std_cleanpath()
108 pszStart++; in std_cleanpath()
111 pc = pszStart; in std_cleanpath()
122 pcDelFrom = std_memrchrbegin(pszStart, '/', pc - pszStart); in std_cleanpath()
135 while (pszStart == std_strstr(pszStart, "../")) { in std_cleanpath()
136 std_memmove(pszStart, pszStart+2, pcEnd-pszStart); in std_cleanpath()
140 while (pszStart == std_strstr(pszStart, "./")) { in std_cleanpath()
141 std_memmove(pszStart, pszStart+1, pcEnd-pszStart); in std_cleanpath()
144 if (!strncmp(pszStart,"..",2) || !strncmp(pszStart,".",1)) { in std_cleanpath()
145 pszStart[0] = '\0'; in std_cleanpath()