Lines Matching refs:nspec
29 unsigned int nspec; /* total number of specifications */ member
58 for (ii = 0; ii < data->nspec; ii++) { in nodups_specs()
60 for (jj = ii + 1; jj < data->nspec; jj++) { in nodups_specs()
93 unsigned int nspec = data->nspec; in process_line() local
123 spec_arr[nspec].property_key = prop; in process_line()
124 spec_arr[nspec].lr.ctx_raw = context; in process_line()
127 if (selabel_validate(rec, &spec_arr[nspec].lr) < 0) { in process_line()
130 path, lineno, spec_arr[nspec].lr.ctx_raw); in process_line()
136 data->nspec = ++nspec; in process_line()
150 unsigned int nspec; in process_file() local
172 nspec = 0; in process_file()
176 nspec < maxnspec) { in process_file()
179 nspec++; in process_file()
183 if (nspec == 0) { 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()
196 maxnspec = nspec; in process_file()
261 qsort(data->spec_arr, data->nspec, sizeof(struct spec), cmp); in init()
282 for (i = 0; i < data->nspec; i++) { in closef()
304 if (!data->nspec) { in property_lookup()
309 for (i = 0; i < data->nspec; i++) { in property_lookup()
318 if (i >= data->nspec) { in property_lookup()
338 if (!data->nspec) { in service_lookup()
343 for (i = 0; i < data->nspec; i++) { in service_lookup()
350 if (i >= data->nspec) { in service_lookup()