Home
last modified time | relevance | path

Searched refs:entry_path (Results 1 – 4 of 4) sorted by relevance

/bionic/linker/tests/
Dlinker_utils_test.cpp71 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/
Dlinker_utils.h26 bool parse_zip_path(const char* input_path, std::string* zip_path, std::string* entry_path);
Dlinker_utils.cpp85 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()
Dlinker.cpp468 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()