Lines Matching refs:class_tbl
224 static au_class_ent_t **class_tbl;
264 class_tbl = (au_class_ent_t **)calloc((size_t)lines + 1,
265 sizeof (class_tbl));
266 if (class_tbl == NULL) {
279 class_tbl[lines] = (au_class_ent_t *)
281 if (class_tbl[lines] == NULL) {
285 class_tbl[lines]->ac_name = strdup(p_class->ac_name);
286 class_tbl[lines]->ac_class = p_class->ac_class;
287 class_tbl[lines]->ac_desc = strdup(p_class->ac_desc);
289 printclass(class_tbl[lines]);
295 class_tbl[invalid] = (au_class_ent_t *)
297 if (class_tbl[invalid] == NULL) {
301 class_tbl[invalid]->ac_name = "invalid class";
302 class_tbl[invalid]->ac_class = AU_MASK_NONE;
303 class_tbl[invalid]->ac_desc = class_tbl[invalid]->ac_name;
309 printclass(class_tbl[i]);
314 *result = class_tbl[invalid];
317 if (strncmp(class_name, class_tbl[i]->ac_name,
319 *result = class_tbl[i];
326 if (class_no == class_tbl[i]->ac_class) {
327 *result = class_tbl[i];