Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/net/
DURLStreamHandler.java103 int authorityStart = start + 2; in parseURL() local
104 fileStart = UrlUtils.findFirstOf(spec, "/?#", authorityStart, end); in parseURL()
105 authority = spec.substring(authorityStart, fileStart); in parseURL()
106 int userInfoEnd = UrlUtils.findFirstOf(spec, "@", authorityStart, fileStart); in parseURL()
109 userInfo = spec.substring(authorityStart, userInfoEnd); in parseURL()
113 hostStart = authorityStart; in parseURL()
DURI.java388 int authorityStart = start + 2; in parseURI() local
389 fileStart = UrlUtils.findFirstOf(uri, "/?", authorityStart, fragmentStart); in parseURI()
390 if (authorityStart == uri.length()) { in parseURI()
393 if (authorityStart < fileStart) { in parseURI()
394 authority = AUTHORITY_ENCODER.validate(uri, authorityStart, fileStart, "authority"); in parseURI()