Searched refs:posUnix (Results 1 – 1 of 1) sorted by relevance
511 int posUnix = filename.indexOf(UNIX_SEPARATOR, 1); in getPrefixLength() local513 if (posUnix == -1 && posWin == -1) { in getPrefixLength()516 posUnix = (posUnix == -1 ? posWin : posUnix); in getPrefixLength()517 posWin = (posWin == -1 ? posUnix : posWin); in getPrefixLength()518 return Math.min(posUnix, posWin) + 1; in getPrefixLength()532 int posUnix = filename.indexOf(UNIX_SEPARATOR, 2); in getPrefixLength() local534 if ((posUnix == -1 && posWin == -1) || posUnix == 2 || posWin == 2) { in getPrefixLength()537 posUnix = (posUnix == -1 ? posWin : posUnix); in getPrefixLength()538 posWin = (posWin == -1 ? posUnix : posWin); in getPrefixLength()539 return Math.min(posUnix, posWin) + 1; in getPrefixLength()