Searched refs:entry_path (Results 1 – 4 of 4) sorted by relevance
/bionic/linker/tests/ |
D | linker_utils_test.cpp | 71 std::string entry_path; in TEST() local 73 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip", &zip_path, &entry_path)); in TEST() 74 ASSERT_FALSE(parse_zip_path("/not/a/zip/path/file.zip!path/in/zip", &zip_path, &entry_path)); in TEST() 75 ASSERT_TRUE(parse_zip_path("/zip/path/file.zip!/path/in/zip", &zip_path, &entry_path)); in TEST() 77 ASSERT_EQ("path/in/zip", entry_path); in TEST() 79 ASSERT_TRUE(parse_zip_path("/zip/path/file2.zip!/", &zip_path, &entry_path)); in TEST() 81 ASSERT_EQ("", entry_path); in TEST()
|
/bionic/linker/ |
D | linker_utils.h | 26 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path);
|
D | linker_utils.cpp | 85 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path) { in parse_zip_path() argument 112 *entry_path = &buf[separator - path + 2]; in parse_zip_path()
|
D | linker.cpp | 468 std::string entry_path; in resolve_paths() local 477 if (parse_zip_path(normalized_path.c_str(), &zip_path, &entry_path)) { in resolve_paths() 483 resolved_paths->push_back(std::string(resolved_path) + kZipFileSeparator + entry_path); in resolve_paths()
|