Searched defs:zip_path (Results 1 - 3 of 3) sorted by relevance
/bionic/linker/tests/ |
H A D | linker_utils_test.cpp | 89 std::string zip_path; local 92 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip", &zip_path, &entry_path)); 93 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip!path/in/zip", &zip_path, &entry_path)); 94 ASSERT_TRUE(parse_zip_path("/zip/path/file.zip!/path/in/zip", &zip_path, &entry_path)); 95 ASSERT_EQ("/zip/path/file.zip", zip_path); 98 ASSERT_TRUE(parse_zip_path("/zip/path/file2.zip!/", &zip_path, &entry_path)); 99 ASSERT_EQ("/zip/path/file2.zip", zip_path);
|
/bionic/linker/ |
H A D | linker_utils.cpp | 140 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path) { argument 166 *zip_path = buf; 224 std::string zip_path; local 234 if (parse_zip_path(normalized_path.c_str(), &zip_path, &entry_path)) { 235 if (realpath(zip_path.c_str(), resolved_path) == nullptr) { 236 DL_WARN("Warning: unable to resolve \"%s\": %s", zip_path.c_str(), strerror(errno));
|
H A D | linker.cpp | 897 bool get_or_open(const char* zip_path, ZipArchiveHandle* handle); 904 bool ZipArchiveCache::get_or_open(const char* zip_path, ZipArchiveHandle* handle) { argument 905 std::string key(zip_path); 913 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC)); 963 const char* zip_path = buf; local 965 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC)); 971 if (!zip_archive_cache->get_or_open(zip_path, &handle)) {
|
Completed in 31 milliseconds