Lines Matching refs:gc

233 	struct gconfig *gc;
243 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
244 if (strcmp(gc->lg_name, "scheme") == 0) {
245 scheme = gc->lg_val;
256 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
257 if (strcmp(gc->lg_name, "index") == 0) {
258 idx = atoi(gc->lg_val);
281 struct gconfig *gc;
292 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
293 if (strcmp(gc->lg_name, "scheme") == 0) {
294 scheme = gc->lg_val;
334 struct gconfig *gc;
339 LIST_FOREACH(gc, &pp->lg_geom->lg_config, lg_config) {
340 if (strcmp(gc->lg_name, "scheme") == 0) {
341 scheme = gc->lg_val;
350 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
351 if (strcmp(gc->lg_name, "index") == 0) {
352 indexstr = gc->lg_val;
413 struct gconfig *gc;
448 LIST_FOREACH(gc, &cp->lg_geom->lg_config, lg_config) {
449 if (strcmp(gc->lg_name, "scheme") == 0) {
450 scheme = gc->lg_val;
480 LIST_FOREACH(gc, &geom->lg_config, lg_config) {
481 if (strcmp(gc->lg_name, "scheme") == 0) {
482 scheme = gc->lg_val;
491 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
492 if (strcmp(gc->lg_name, "type") == 0) {
493 oldtype = gc->lg_val;
494 items[0].text = gc->lg_val;
496 if (strcmp(gc->lg_name, "label") == 0 && gc->lg_val != NULL) {
498 items[3].text = gc->lg_val;
500 if (strcmp(gc->lg_name, "index") == 0)
501 idx = atoi(gc->lg_val);
648 struct gconfig *gc;
651 LIST_FOREACH(gc, &(*a)->lg_config, lg_config)
652 if (strcmp(gc->lg_name, "start") == 0) {
653 astart = strtoimax(gc->lg_val, NULL, 0);
656 LIST_FOREACH(gc, &(*b)->lg_config, lg_config)
657 if (strcmp(gc->lg_name, "start") == 0) {
658 bstart = strtoimax(gc->lg_val, NULL, 0);
673 struct gconfig *gc;
683 LIST_FOREACH(gc, &geom->lg_config, lg_config) {
684 if (strcmp(gc->lg_name, "first") == 0)
685 start = strtoimax(gc->lg_val, NULL, 0);
686 if (strcmp(gc->lg_name, "last") == 0)
687 end = strtoimax(gc->lg_val, NULL, 0);
703 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
704 if (strcmp(gc->lg_name, "start") == 0)
705 partstart = strtoimax(gc->lg_val, NULL, 0);
706 if (strcmp(gc->lg_name, "end") == 0)
707 partend = strtoimax(gc->lg_val, NULL, 0);
746 struct gconfig *gc;
796 LIST_FOREACH(gc, &geom->lg_config, lg_config)
797 if (strcmp(gc->lg_name, "scheme") == 0)
798 scheme = gc->lg_val;
949 LIST_FOREACH(gc, &pp->lg_config, lg_config)
950 if (strcmp(gc->lg_name, "type") == 0)
952 if (gc != NULL && strcmp(gc->lg_val,
1054 struct gconfig *gc;
1106 LIST_FOREACH(gc, &pp->lg_config, lg_config) {
1107 if (strcmp(gc->lg_name, "index") == 0) {
1108 idx = atoi(gc->lg_val);
1130 struct gconfig *gc;
1148 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
1149 if (strcmp(gc->lg_name, "modified") == 0) {
1150 modified = gc->lg_val;
1174 struct gconfig *gc;
1194 LIST_FOREACH(gc, &gp->lg_config, lg_config) {
1195 if (strcmp(gc->lg_name, "modified") == 0) {
1196 modified = gc->lg_val;