Home
last modified time | relevance | path

Searched refs:anetifcon (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c363 struct cil_netifcon *anetifcon; in test_cil_post_netifcon_compare_a_greater_b() local
364 cil_netifcon_init(&anetifcon); in test_cil_post_netifcon_compare_a_greater_b()
365 anetifcon->interface_str = "aaa"; in test_cil_post_netifcon_compare_a_greater_b()
371 int rc = cil_post_netifcon_compare(&anetifcon, &bnetifcon); in test_cil_post_netifcon_compare_a_greater_b()
376 struct cil_netifcon *anetifcon; in test_cil_post_netifcon_compare_b_greater_a() local
377 cil_netifcon_init(&anetifcon); in test_cil_post_netifcon_compare_b_greater_a()
378 anetifcon->interface_str = "bbb"; in test_cil_post_netifcon_compare_b_greater_a()
384 int rc = cil_post_netifcon_compare(&anetifcon, &bnetifcon); in test_cil_post_netifcon_compare_b_greater_a()
389 struct cil_netifcon *anetifcon; in test_cil_post_netifcon_compare_equal() local
390 cil_netifcon_init(&anetifcon); in test_cil_post_netifcon_compare_equal()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_post.c192 struct cil_netifcon *anetifcon = *(struct cil_netifcon**)a; in cil_post_netifcon_compare() local
195 return strcmp(anetifcon->interface_str, bnetifcon->interface_str); in cil_post_netifcon_compare()