Home
last modified time | relevance | path

Searched refs:prevChar (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/native/
Dcanonicalize_md.c57 char prevChar = 0; in removeDupSeparator() local
61 if (!(*in == '/' && prevChar == '/')) { in removeDupSeparator()
65 prevChar = *in; in removeDupSeparator()
70 if (prevChar == '/' && n > 1) { in removeDupSeparator()
/libcore/ojluni/src/main/java/java/io/
DUnixFileSystem.java110 char prevChar = 0; in normalize() local
114 if (!(current == '/' && prevChar == '/')) { in normalize()
118 prevChar = current; in normalize()
122 if (prevChar == '/' && n > 1) { in normalize()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java78 char prevChar = 0; in normalizeAndCheck() local
81 if ((c == '/') && (prevChar == '/')) in normalizeAndCheck()
84 prevChar = c; in normalizeAndCheck()
86 if (prevChar == '/') in normalizeAndCheck()
106 char prevChar = 0; in normalize() local
109 if ((c == '/') && (prevChar == '/')) in normalize()
113 prevChar = c; in normalize()