Home
last modified time | relevance | path

Searched refs:sorted_buf (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_semanage_store.c309 char *source_buf, *sorted_buf = NULL, *good_buf, *bad_buf; in test_semanage_nc_sort() local
350 semanage_nc_sort(sh, source_buf, source_buf_len, &sorted_buf, in test_semanage_nc_sort()
353 CU_ASSERT_STRING_EQUAL(sorted_buf, good_buf); in test_semanage_nc_sort()
356 free(sorted_buf); in test_semanage_nc_sort()
357 sorted_buf = NULL; in test_semanage_nc_sort()
361 semanage_nc_sort(sh, bad_buf, bad_buf_len, &sorted_buf, in test_semanage_nc_sort()
365 free(sorted_buf); in test_semanage_nc_sort()
/external/selinux/libsemanage/src/
Dsemanage_store.h157 char **sorted_buf, size_t * sorted_buf_len);
163 char **sorted_buf, size_t * sorted_buf_len);
Dsemanage_store.c2529 char **sorted_buf, size_t * sorted_buf_len) in semanage_fc_sort() argument
2794 *sorted_buf = calloc(i, sizeof(char)); in semanage_fc_sort()
2795 if (!*sorted_buf) { in semanage_fc_sort()
2803 sorted_buf_pos = *sorted_buf; in semanage_fc_sort()
2832 if ((sorted_buf_pos - *sorted_buf) != (ssize_t) * sorted_buf_len) { in semanage_fc_sort()
2834 free(*sorted_buf); in semanage_fc_sort()
2835 *sorted_buf = NULL; in semanage_fc_sort()
2869 char **sorted_buf, size_t * sorted_buf_len) in semanage_nc_sort() argument
2989 *sorted_buf = calloc(count, sizeof(char)); in semanage_nc_sort()
2990 if (!*sorted_buf) { in semanage_nc_sort()
[all …]