Searched refs:target_path (Results 1 – 1 of 1) sorted by relevance
964 std::vector<std::string> target_path; in MakePathRelative() local966 Split(target, '/', &target_path); in MakePathRelative()970 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()975 while (!target_path.empty() && !cwd_path.empty() in MakePathRelative()976 && target_path.back() == cwd_path.back()) { in MakePathRelative()977 target_path.pop_back(); in MakePathRelative()985 target_path.push_back(".."); in MakePathRelative()989 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()990 return android::base::Join(target_path, '/'); in MakePathRelative()