Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/net/
DURLStreamHandler.java93 int fileStart; 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()
108 if (userInfoEnd != fileStart) { in parseURL()
122 int ipv6End = UrlUtils.findFirstOf(spec, "]", hostStart, fileStart); in parseURL()
123 if (ipv6End != fileStart) { in parseURL()
130 int hostEnd = UrlUtils.findFirstOf(spec, ":", colonSearchFrom, fileStart); in parseURL()
133 if (portStart < fileStart) { in parseURL()
136 port = Integer.parseInt(spec.substring(portStart, fileStart)); in parseURL()
[all …]
DURI.java386 int fileStart; in parseURI() local
389 fileStart = UrlUtils.findFirstOf(uri, "/?", authorityStart, fragmentStart); in parseURI()
393 if (authorityStart < fileStart) { in parseURI()
394 authority = AUTHORITY_ENCODER.validate(uri, authorityStart, fileStart, "authority"); in parseURI()
397 fileStart = start; in parseURI()
401 int queryStart = UrlUtils.findFirstOf(uri, "?", fileStart, fragmentStart); in parseURI()
402 path = PATH_ENCODER.validate(uri, fileStart, queryStart, "path"); in parseURI()