Home
last modified time | relevance | path

Searched refs:resolved (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/native/
Dcanonicalize_path.cpp48 bool canonicalize_path(const char* path, std::string& resolved) { in canonicalize_path() argument
55 resolved = "/"; in canonicalize_path()
78 if (resolved.size() > 1) { in canonicalize_path()
79 resolved.erase(resolved.rfind('/')); in canonicalize_path()
85 if (resolved[resolved.size() - 1] != '/') { in canonicalize_path()
86 resolved += '/'; in canonicalize_path()
88 resolved += nextPathComponent; in canonicalize_path()
92 if (lstat(resolved.c_str(), &sb) == 0 && S_ISLNK(sb.st_mode)) { in canonicalize_path()
99 if (!readlink(resolved.c_str(), symlink)) { in canonicalize_path()
104 resolved = "/"; in canonicalize_path()
[all …]
/libcore/ojluni/src/main/native/
Dcanonicalize_md.c190 canonicalize(char *original, char *resolved, int len) in canonicalize() argument
203 if (realpath(original, resolved)) { in canonicalize()
205 collapse(resolved); in canonicalize()
229 r = realpath(path, resolved); in canonicalize()
271 strcpy(resolved, path); in canonicalize()
272 collapse(resolved); in canonicalize()
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidURITest.java46 URI resolved = b.resolve(uri); in resolve() local
47 assertEquals(expected, resolved.toString()); in resolve()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java245 String resolved = resolvePredefinedOrCharacterEntity(entity); in parse() local
246 if (resolved != null) { in parse()
247 appendText(document, node, token, resolved); in parse()
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlParser.java1259 char[] resolved; in readEntity() local
1260 if (documentEntities != null && (resolved = documentEntities.get(code)) != null) { in readEntity()
1264 pushContentSource(resolved); // parse the entity as XML in readEntity()
1266 out.append(resolved); // include the entity value as text in readEntity()