Home
last modified time | relevance | path

Searched refs:spec_t (Results 1 – 5 of 5) 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()
305 + new_limit * sizeof(spec_t); in db_init()
333 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()
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_android_property.c20 } spec_t; typedef
28 spec_t *spec_arr;
90 spec_t *spec_arr = data->spec_arr; in process_line()
166 maxnspec = UINT_MAX / sizeof(spec_t); in init()
192 malloc(sizeof(spec_t) * data->nspec))) in init()
195 memset(data->spec_arr, 0, sizeof(spec_t) * data->nspec); in init()
241 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()
/external/libselinux/src/
Dlabel_android_property.c20 } spec_t; typedef
28 spec_t *spec_arr;
90 spec_t *spec_arr = data->spec_arr; in process_line()
177 maxnspec = UINT_MAX / sizeof(spec_t); in init()
203 malloc(sizeof(spec_t) * data->nspec))) in init()
206 memset(data->spec_arr, 0, sizeof(spec_t) * data->nspec); in init()
247 spec_t *spec_arr = data->spec_arr; in lookup()