Home
last modified time | relevance | path

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

/external/selinux/libsemanage/tests/
Dtest_utilities.c228 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'z'), 0); in test_semanage_str_count()
229 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'a'), 8); in test_semanage_str_count()
230 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'b'), 5); in test_semanage_str_count()
/external/selinux/libsemanage/src/
Dutilities.h108 int semanage_str_count(char *data, char what);
Dutilities.c235 int semanage_str_count(char *data, char what) in semanage_str_count() function
Dgenhomedircon.c375 if (semanage_str_count(pwbuf->pw_dir, '/') <= 1) in get_home_dirs()