Home | History | Annotate | Download | only in src

Lines Matching full:nspec

69 	unsigned int nspec;
125 if (data->nspec < data->alloc_specs)
128 new_specs = data->nspec + 16;
129 total_specs = data->nspec + new_specs;
138 memset(&specs[data->nspec], 0, new_specs * sizeof(*specs));
196 spec_copy = malloc(len * data->nspec);
202 back = data->nspec - 1;
203 for (i = 0; i < data->nspec; i++) {
215 back = data->nspec - 1;
393 unsigned int nspec = data->nspec;
439 spec_arr[nspec].stem_id = find_stem_from_spec(data, regex);
440 spec_arr[nspec].regex_str = regex;
442 spec_arr[nspec].type_str = type;
443 spec_arr[nspec].mode = 0;
445 spec_arr[nspec].lr.ctx_raw = context;
449 * but do not bump nspec since it's used below.
451 data->nspec++;
454 compile_regex(data, &spec_arr[nspec], &errbuf)) {
473 spec_arr[nspec].mode = mode;
478 spec_hasMetaChars(&spec_arr[nspec]);
481 if (selabel_validate(rec, &spec_arr[nspec].lr) < 0) {
484 path, lineno, spec_arr[nspec].lr.ctx_raw);