Lines Matching defs:spec_arr
28 spec_t *spec_arr;
54 struct spec *curr_spec, *spec_arr = data->spec_arr;
57 curr_spec = &spec_arr[ii];
59 if (!strcmp(spec_arr[jj].property_key,
63 if (strcmp(spec_arr[jj].lr.ctx_raw,
69 spec_arr[jj].lr.ctx_raw,
90 spec_t *spec_arr = data->spec_arr;
125 spec_arr[nspec].property_key = prop;
126 spec_arr[nspec].lr.ctx_raw = context;
129 if (selabel_validate(rec, &spec_arr[nspec].lr) < 0) {
132 path, lineno, spec_arr[nspec].lr.ctx_raw);
206 if (NULL == (data->spec_arr =
215 qsort(data->spec_arr, data->nspec, sizeof(struct spec), cmp);
238 spec = &data->spec_arr[i];
244 if (data->spec_arr)
245 free(data->spec_arr);
255 spec_t *spec_arr = data->spec_arr;
265 if (strncmp(spec_arr[i].property_key, key,
266 strlen(spec_arr[i].property_key)) == 0) {
269 if (strncmp(spec_arr[i].property_key, "*", 1) == 0)
279 ret = &spec_arr[i].lr;
289 spec_t *spec_arr = data->spec_arr;
299 if (strcmp(spec_arr[i].property_key, key) == 0)
301 if (strcmp(spec_arr[i].property_key, "*") == 0)
311 ret = &spec_arr[i].lr;