Searched refs:prevChar (Results 1 – 3 of 3) sorted by relevance
57 char prevChar = 0; in removeDupSeparator() local61 if (!(*in == '/' && prevChar == '/')) { in removeDupSeparator()65 prevChar = *in; in removeDupSeparator()70 if (prevChar == '/' && n > 1) { in removeDupSeparator()
110 char prevChar = 0; in normalize() local114 if (!(current == '/' && prevChar == '/')) { in normalize()118 prevChar = current; in normalize()122 if (prevChar == '/' && n > 1) { in normalize()
78 char prevChar = 0; in normalizeAndCheck() local81 if ((c == '/') && (prevChar == '/')) in normalizeAndCheck()84 prevChar = c; in normalizeAndCheck()86 if (prevChar == '/') in normalizeAndCheck()106 char prevChar = 0; in normalize() local109 if ((c == '/') && (prevChar == '/')) in normalize()113 prevChar = c; in normalize()