Home | History | Annotate | Download | only in src

Lines Matching refs: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, curr_spec->property_key))) {
63 (spec_arr[jj].lr.ctx_raw,
69 spec_arr[jj].lr.ctx_raw,
91 spec_t *spec_arr = data->spec_arr;
113 spec_arr[nspec].property_key = strdup(prop);
114 if (!spec_arr[nspec].property_key) {
122 spec_arr[nspec].lr.ctx_raw = strdup(context);
123 if (!spec_arr[nspec].lr.ctx_raw) {
131 if (selabel_validate(rec, &spec_arr[nspec].lr) < 0) {
134 path, lineno, spec_arr[nspec].lr.ctx_raw);
204 if (NULL == (data->spec_arr =
208 memset(data->spec_arr, 0, sizeof(spec_t)*data->nspec);
214 qsort(data->spec_arr, data->nspec, sizeof(struct spec), cmp);
232 spec = &data->spec_arr[i];
238 if (data->spec_arr)
239 free(data->spec_arr);
249 spec_t *spec_arr = data->spec_arr;
259 if (strncmp(spec_arr[i].property_key, key,
260 strlen(spec_arr[i].property_key)) == 0) {
263 if (strncmp(spec_arr[i].property_key, "*", 1) == 0)
273 ret = &spec_arr[i].lr;