Lines Matching refs:dest
55 CHAR *dest = path; in StrPath() local
60 *dest++ = *src++; in StrPath()
66 *dest++ = *src++; in StrPath()
68 *dest = '\0'; in StrPath()
72 STATIC VOID StrRemovePathEndSlash(CHAR *dest, const CHAR *fullpath) in StrRemovePathEndSlash() argument
74 if ((*dest == '.') && (*(dest - 1) == '/')) { in StrRemovePathEndSlash()
75 *dest = '\0'; in StrRemovePathEndSlash()
76 dest--; in StrRemovePathEndSlash()
78 if ((dest != fullpath) && (*dest == '/')) { in StrRemovePathEndSlash()
79 *dest = '\0'; in StrRemovePathEndSlash()
85 CHAR *dest = fullpath; in StrNormalizePath() local
99 *dest++ = *src++; in StrNormalizePath()
104 *dest++ = *src++; in StrNormalizePath()
108 *dest++ = *src++; in StrNormalizePath()
112 if ((dest - 1) != fullpath) { in StrNormalizePath()
113 dest--; in StrNormalizePath()
116 while ((dest > fullpath) && (*(dest - 1) != '/')) { in StrNormalizePath()
117 dest--; in StrNormalizePath()
125 *dest = '\0'; in StrNormalizePath()
129 dest--; in StrNormalizePath()
131 StrRemovePathEndSlash(dest, fullpath); in StrNormalizePath()
132 return dest; in StrNormalizePath()