Home
last modified time | relevance | path

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

/external/selinux/libsemanage/tests/
Dtest_utilities.c281 str1 = semanage_str_replace("%{USERNAME}", "root", test_str, 0); in test_semanage_str_replace()
284 str2 = semanage_str_replace("%{USERID}", "0", str1, 1); in test_semanage_str_replace()
289 str1 = semanage_str_replace(":(", ";)", "Test :( :) ! :(:(:))(:(", 0); in test_semanage_str_replace()
293 str1 = semanage_str_replace(":(", ";)", "Test :( :) ! :(:(:))(:(", 3); in test_semanage_str_replace()
297 str1 = semanage_str_replace("", "empty search string", "test", 0); in test_semanage_str_replace()
300 str1 = semanage_str_replace("a", "", "abracadabra", 0); in test_semanage_str_replace()
/external/selinux/libsemanage/src/
Dutilities.h125 char *semanage_str_replace(const char *search, const char *replace,
Dutilities.c233 char *semanage_str_replace(const char *search, const char *replace, in semanage_str_replace() function
Dgenhomedircon.c525 retval2 = semanage_str_replace(repl[i].search_for, in replace_all()
657 temp = semanage_str_replace(old_context_str, new_context_str, in write_contexts()