Lines Matching defs:class
53 struct gclass *class;
89 if (!strcmp(name, "class") && mt->class == NULL) {
90 mt->class = calloc(1, sizeof *mt->class);
91 if (mt->class == NULL) {
98 mt->class->lg_id = id;
99 LIST_INSERT_HEAD(&mt->mesh->lg_class, mt->class, lg_class);
100 LIST_INIT(&mt->class->lg_geom);
101 LIST_INIT(&mt->class->lg_config);
114 LIST_INSERT_HEAD(&mt->class->lg_geom, mt->geom, lg_geom);
120 if (!strcmp(name, "class") && mt->geom != NULL) {
180 if (mt->class != NULL) {
181 mt->config = &mt->class->lg_config;
221 } else if (mt->class != NULL) {
222 mt->class->lg_name = p;
323 if (!strcmp(name, "class") && mt->geom != NULL) {
326 if (!strcmp(name, "class") && mt->class != NULL) {
327 mt->class = NULL;