Lines Matching full:nspec
29 unsigned int nspec; /* total number of specifications */
56 for (ii = 0; ii < data->nspec; ii++) {
58 for (jj = ii + 1; jj < data->nspec; jj++) {
91 unsigned int nspec = data->nspec;
110 spec_arr[nspec].property_key = prop;
111 spec_arr[nspec].lr.ctx_raw = context;
114 if (selabel_validate(rec, &spec_arr[nspec].lr) < 0) {
117 path, lineno, spec_arr[nspec].lr.ctx_raw);
124 data->nspec = ++nspec;
168 data->nspec = 0;
172 && data->nspec < maxnspec) {
186 if (data->nspec == 0) {
192 malloc(sizeof(spec_t) * data->nspec)))
195 memset(data->spec_arr, 0, sizeof(spec_t) * data->nspec);
196 maxnspec = data->nspec;
201 qsort(data->spec_arr, data->nspec, sizeof(struct spec), cmp);
223 for (i = 0; i < data->nspec; i++) {
245 if (!data->nspec) {
250 for (i = 0; i < data->nspec; i++) {
259 if (i >= data->nspec) {