Home
last modified time | relevance | path

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

/external/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_backends_android.c20 } spec_t; typedef
28 spec_t *spec_arr;
92 spec_t *spec_arr = data->spec_arr; in process_line()
151 spec_t *spec_arr; in process_file()
170 maxnspec = UINT_MAX / sizeof(spec_t); in process_file()
190 (data->nspec + nspec) * sizeof(spec_t)); in process_file()
194 memset(&spec_arr[data->nspec], 0, nspec * sizeof(spec_t)); in process_file()
300 spec_t *spec_arr = data->spec_arr; in property_lookup()
334 spec_t *spec_arr = data->spec_arr; in service_lookup()
Dlabel_media.c26 } spec_t; typedef
30 spec_t *spec_arr;
113 maxnspec = UINT_MAX / sizeof(spec_t); in init()
129 data->spec_arr = malloc(sizeof(spec_t)*data->nspec); in init()
132 memset(data->spec_arr, 0, sizeof(spec_t)*data->nspec); in init()
177 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()
156 data->spec_arr = malloc(sizeof(spec_t)*data->nspec); in init()
159 memset(data->spec_arr, 0, sizeof(spec_t)*data->nspec); in init()
203 spec_t *spec_arr = data->spec_arr; in lookup()