Searched refs:resolved_path (Results 1 – 6 of 6) sorted by relevance
/aosp12/bionic/linker/ |
H A D | linker_utils.cpp | 215 char resolved_path[PATH_MAX]; in resolve_path() local 217 if (realpath(original_path, resolved_path) != nullptr) { in resolve_path() 219 if (stat(resolved_path, &s) == -1) { in resolve_path() 220 DL_WARN("Warning: cannot stat file \"%s\": %s (ignoring)", resolved_path, strerror(errno)); in resolve_path() 224 DL_WARN("Warning: \"%s\" is not a directory (ignoring)", resolved_path); in resolve_path() 227 return resolved_path; in resolve_path() 238 if (realpath(zip_path.c_str(), resolved_path) == nullptr) { in resolve_path() 244 return std::string(resolved_path) + kZipFileSeparator + entry_path; in resolve_path()
|
H A D | linker_config.cpp | 241 std::string resolved_path; in parse_config_file() local 249 resolved_path = value; in parse_config_file() 251 resolved_path = buf; in parse_config_file() 262 resolved_path = value; in parse_config_file() 265 if (file_is_under_dir(binary_realpath, resolved_path)) { in parse_config_file()
|
/aosp12/system/linkerconfig/generator/ |
H A D | variableloader.cc | 47 char resolved_path[PATH_MAX]; in GetRealPath() local 48 if (realpath(target_path.c_str(), resolved_path) != nullptr) { in GetRealPath() 49 return resolved_path; in GetRealPath()
|
/aosp12/system/linkerconfig/ |
H A D | main.cc | 91 char resolved_path[PATH_MAX]; in RealPath() local 92 if (realpath(path.data(), resolved_path) != nullptr) { in RealPath() 93 return resolved_path; in RealPath()
|
/aosp12/frameworks/base/libs/androidfw/ |
H A D | AssetsProvider.cpp | 316 const std::string resolved_path = dir_ + path; in OpenInternal() local 319 *file_exists = (stat(resolved_path.c_str(), &sb) != -1) && S_ISREG(sb.st_mode); in OpenInternal() 322 return CreateAssetFromFile(resolved_path); in OpenInternal()
|
/aosp12/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.cpp | 2456 std::string resolved_path; in MaybeResolveSymlink() local 2457 if (android::base::Readlink(*path, &resolved_path)) { in MaybeResolveSymlink() 2458 *path = resolved_path; in MaybeResolveSymlink()
|