Home
last modified time | relevance | path

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

/art/runtime/
Doat_file_assistant_test.cc1130 std::vector<std::string> target_path; in MakePathRelative() local
1132 Split(target, '/', &target_path); in MakePathRelative()
1136 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()
1141 while (!target_path.empty() && !cwd_path.empty() in MakePathRelative()
1142 && target_path.back() == cwd_path.back()) { in MakePathRelative()
1143 target_path.pop_back(); in MakePathRelative()
1151 target_path.push_back(".."); in MakePathRelative()
1155 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()
1156 return android::base::Join(target_path, '/'); in MakePathRelative()