Searched refs:foundDots (Results 1 – 1 of 1) sorted by relevance
510 int newLength = 0, lastSlash = 0, foundDots = 0; in getCanonicalPath() local517 if (i == result.length() && foundDots == 0) { in getCanonicalPath()520 if (foundDots == 1) { in getCanonicalPath()522 foundDots = 0; in getCanonicalPath()525 if (foundDots > 1) { in getCanonicalPath()527 lastSlash = lastSlash > (foundDots - 1) ? lastSlash - (foundDots - 1) : 0; in getCanonicalPath()529 foundDots = 0; in getCanonicalPath()537 foundDots++; in getCanonicalPath()541 if (foundDots > 0) { in getCanonicalPath()542 for (int j = 0; j < foundDots; j++) { in getCanonicalPath()[all …]