Searched refs:prefix (Results 1 – 5 of 5) sorted by relevance
52 std::string prefix(td.path); in TEST() local53 std::string path = prefix + "/a/b"; in TEST()65 ASSERT_EQ(0, rmdir((prefix + "/a/b").c_str())); in TEST()66 ASSERT_EQ(0, rmdir((prefix + "/a").c_str())); in TEST()71 std::string prefix(td.path); in TEST() local72 std::string path = prefix + "/a/b"; in TEST()77 ASSERT_EQ(0, stat((prefix + "/a").c_str(), &sb)) << strerror(errno); in TEST()84 ASSERT_EQ(0, rmdir((prefix + "/a").c_str())); in TEST()89 std::string prefix(td.path); in TEST() local90 std::string path = prefix + "/a/b"; in TEST()[all …]
61 void set_care_map_prefix(const std::string& prefix);
340 bool matches_locale(const std::string& prefix, const std::string& locale) { in matches_locale() argument350 if (android::base::StartsWith(locale, prefix)) { in matches_locale()354 size_t separator = prefix.find('-'); in matches_locale()358 std::regex loc_regex(prefix.substr(0, separator) + "-[A-Za-z]*" + prefix.substr(separator)); in matches_locale()
288 void UpdateVerifier::set_care_map_prefix(const std::string& prefix) { in set_care_map_prefix() argument289 care_map_prefix_ = prefix; in set_care_map_prefix()
176 bool matches_locale(const std::string& prefix, const std::string& locale);