Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Ddirutil_test.cpp52 std::string prefix(td.path); in TEST() local
53 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() local
72 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() local
90 std::string path = prefix + "/a/b"; in TEST()
[all …]
/bootable/recovery/update_verifier/include/update_verifier/
Dupdate_verifier.h61 void set_care_map_prefix(const std::string& prefix);
/bootable/recovery/minui/
Dresources.cpp340 bool matches_locale(const std::string& prefix, const std::string& locale) { in matches_locale() argument
350 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()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp288 void UpdateVerifier::set_care_map_prefix(const std::string& prefix) { in set_care_map_prefix() argument
289 care_map_prefix_ = prefix; in set_care_map_prefix()
/bootable/recovery/minui/include/minui/
Dminui.h176 bool matches_locale(const std::string& prefix, const std::string& locale);