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.c244 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'z'), 0); in test_semanage_str_count()
245 CU_ASSERT_EQUAL(semanage_str_count(test_string, 'a'), 8); in test_semanage_str_count()
246 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(const char *data, char what);
Dutilities.c202 int semanage_str_count(const char *data, char what) in semanage_str_count() function
Dgenhomedircon.c377 if (semanage_str_count(pwbuf->pw_dir, '/') <= 1) in get_home_dirs()