Searched refs:normalize_path (Results 1 - 4 of 4) sorted by relevance

/bionic/linker/tests/
H A Dlinker_utils_test.cpp46 ASSERT_TRUE(normalize_path("/../root///dir/.///dir2/somedir/../zipfile!/dir/dir9//..///afile", &output));
49 ASSERT_TRUE(normalize_path("/../root///dir/.///dir2/somedir/.../zipfile!/.dir/dir9//..///afile", &output));
52 ASSERT_TRUE(normalize_path("/root/..", &output));
55 ASSERT_TRUE(normalize_path("/root/notroot/..", &output));
58 ASSERT_TRUE(normalize_path("/a/../../b", &output));
62 ASSERT_FALSE(normalize_path("root///dir/.///dir2/somedir/../zipfile!/dir/dir9//..///afile", &output));
/bionic/linker/
H A Dlinker_utils.h41 bool normalize_path(const char* path, std::string* normalized_path);
48 // normalizes entry name by calling normalize_path function.
H A Dlinker_utils.cpp75 bool normalize_path(const char* path, std::string* normalized_path) { function
78 PRINT("normalize_path - invalid input: \"%s\", the input path should be absolute", path);
142 if (!normalize_path(input_path, &normalized_path)) {
229 if (!normalize_path(original_path, &normalized_path)) {
H A Dlinker.cpp939 if (!normalize_path(input_path, &normalized_path)) {

Completed in 58 milliseconds