Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Dlabel_db.c76 } spec_t; typedef
84 spec_t specs[0];
94 spec_t *spec = &catalog->specs[catalog->nspec]; in process_line()
121 memset(spec, 0, sizeof(spec_t)); in process_line()
178 spec_t *spec; in db_close()
197 spec_t *spec; in db_lookup()
252 catalog = malloc(sizeof(catalog_t) + 32 * sizeof(spec_t)); in db_init()
310 + new_limit * sizeof(spec_t); in db_init()
338 spec_t *spec = &catalog->specs[i]; in db_init()
Dlabel_media.c26 } spec_t; typedef
30 spec_t *spec_arr;
113 maxnspec = UINT_MAX / sizeof(spec_t); in init()
128 data->spec_arr = malloc(sizeof(spec_t)*data->nspec); in init()
131 memset(data->spec_arr, 0, sizeof(spec_t)*data->nspec); in init()
176 spec_t *spec_arr = data->spec_arr; in lookup()
Dlabel_x.c28 } spec_t; typedef
32 spec_t *spec_arr;
140 maxnspec = UINT_MAX / sizeof(spec_t); in init()
155 data->spec_arr = malloc(sizeof(spec_t)*data->nspec); in init()
158 memset(data->spec_arr, 0, sizeof(spec_t)*data->nspec); in init()
202 spec_t *spec_arr = data->spec_arr; in lookup()
Dlabel_backends_android.c20 } spec_t; typedef
28 spec_t *spec_arr;
90 spec_t *spec_arr = data->spec_arr; in process_line()
181 maxnspec = UINT_MAX / sizeof(spec_t); in init()
207 calloc(data->nspec, sizeof(spec_t)))) in init()
255 spec_t *spec_arr = data->spec_arr; in property_lookup()
289 spec_t *spec_arr = data->spec_arr; in service_lookup()