Home
last modified time | relevance | path

Searched refs:lastSlashIndex (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DString8.java339 int lastSlashIndex; in find_extension() local
343 lastSlashIndex = str.lastIndexOf(File.pathSeparator); in find_extension()
344 if (lastSlashIndex == -1) { in find_extension()
345 lastSlashIndex = 0; in find_extension()
347 lastSlashIndex++; in find_extension()
350 return str.lastIndexOf(".", lastSlashIndex); in find_extension()
/external/apache-http/src/org/apache/http/impl/cookie/
DCookieSpecBase.java61 int lastSlashIndex = defaultPath.lastIndexOf('/'); in getDefaultPath() local
62 if (lastSlashIndex >= 0) { in getDefaultPath()
63 if (lastSlashIndex == 0) { in getDefaultPath()
65 lastSlashIndex = 1; in getDefaultPath()
67 defaultPath = defaultPath.substring(0, lastSlashIndex); in getDefaultPath()