Lines Matching refs:nspec
84 unsigned int nspec; member
136 if (data->nspec < data->alloc_specs) in grow_specs()
139 new_specs = data->nspec + 16; in grow_specs()
140 total_specs = data->nspec + new_specs; in grow_specs()
149 memset(&specs[data->nspec], 0, new_specs * sizeof(*specs)); in grow_specs()
207 spec_copy = malloc(len * data->nspec); in sort_specs()
213 back = data->nspec - 1; in sort_specs()
214 for (i = 0; i < data->nspec; i++) { in sort_specs()
226 back = data->nspec - 1; in sort_specs()
438 unsigned int nspec = data->nspec; in process_line() local
484 spec_arr[nspec].stem_id = find_stem_from_spec(data, regex); in process_line()
485 spec_arr[nspec].regex_str = regex; in process_line()
486 __pthread_mutex_init(&spec_arr[nspec].regex_lock, NULL); in process_line()
487 spec_arr[nspec].regex_compiled = false; in process_line()
489 spec_arr[nspec].type_str = type; in process_line()
490 spec_arr[nspec].mode = 0; in process_line()
492 spec_arr[nspec].lr.ctx_raw = context; in process_line()
493 spec_arr[nspec].lr.lineno = lineno; in process_line()
499 data->nspec++; in process_line()
502 && compile_regex(&spec_arr[nspec], &errbuf)) { in process_line()
520 spec_arr[nspec].mode = mode; in process_line()
525 spec_hasMetaChars(&spec_arr[nspec]); in process_line()
528 return compat_validate(rec, &spec_arr[nspec].lr, path, lineno); in process_line()