Lines Matching refs:nspec
31 unsigned int nspec; member
64 data->spec_arr[data->nspec].type = SELABEL_X_PROP; in process_line()
66 data->spec_arr[data->nspec].type = SELABEL_X_EXT; in process_line()
68 data->spec_arr[data->nspec].type = SELABEL_X_CLIENT; in process_line()
70 data->spec_arr[data->nspec].type = SELABEL_X_EVENT; in process_line()
72 data->spec_arr[data->nspec].type = SELABEL_X_SELN; in process_line()
74 data->spec_arr[data->nspec].type = SELABEL_X_POLYPROP; in process_line()
76 data->spec_arr[data->nspec].type = SELABEL_X_POLYSELN; in process_line()
83 data->spec_arr[data->nspec].key = key; in process_line()
84 data->spec_arr[data->nspec].lr.ctx_raw = context; in process_line()
88 data->nspec++; in process_line()
143 data->nspec = 0; in init()
145 data->nspec < maxnspec) { in init()
152 if (data->nspec == 0) { in init()
156 data->spec_arr = malloc(sizeof(spec_t)*data->nspec); in init()
159 memset(data->spec_arr, 0, sizeof(spec_t)*data->nspec); in init()
160 maxnspec = data->nspec; in init()
186 for (i = 0; i < data->nspec; i++) { in close()
206 for (i = 0; i < data->nspec; i++) { in lookup()
213 if (i >= data->nspec) { in lookup()
228 for (i = 0; i < data->nspec; i++) in stats()
232 data->nspec, total); in stats()