tag | line | file | source code |
kcfg | 221 | scripts/tkparse.c | struct kconfig * kcfg; |
kcfg | 232 | scripts/tkparse.c | kcfg = (struct kconfig *) malloc(sizeof(struct kconfig)); |
kcfg | 233 | scripts/tkparse.c | memset(kcfg, 0, sizeof(struct kconfig)); |
kcfg | 234 | scripts/tkparse.c | kcfg->tok = tok_choice; |
kcfg | 237 | scripts/tkparse.c | clast->next = kcfg; |
kcfg | 238 | scripts/tkparse.c | clast = kcfg; |
kcfg | 242 | scripts/tkparse.c | clast = config = kcfg; |
kcfg | 245 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->label); |
kcfg | 247 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->optionname); |
kcfg | 248 | scripts/tkparse.c | kcfg->choice_label = choice_kcfg; |
kcfg | 249 | scripts/tkparse.c | kcfg->choice_value = index++; |
kcfg | 250 | scripts/tkparse.c | if( strcmp(kcfg->label, choice_kcfg->value) == 0 ) |
kcfg | 251 | scripts/tkparse.c | choice_kcfg->choice_value = kcfg->choice_value; |
kcfg | 295 | scripts/tkparse.c | struct kconfig * kcfg; |
kcfg | 401 | scripts/tkparse.c | kcfg = (struct kconfig *) malloc(sizeof(struct kconfig)); |
kcfg | 402 | scripts/tkparse.c | memset(kcfg, 0, sizeof(struct kconfig)); |
kcfg | 403 | scripts/tkparse.c | kcfg->tok = tok; |
kcfg | 406 | scripts/tkparse.c | clast->next = kcfg; |
kcfg | 407 | scripts/tkparse.c | clast = kcfg; |
kcfg | 411 | scripts/tkparse.c | clast = config = kcfg; |
kcfg | 423 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 424 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->optionname); |
kcfg | 425 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->value); |
kcfg | 430 | scripts/tkparse.c | parse_choices(kcfg, kcfg->optionname); |
kcfg | 431 | scripts/tkparse.c | free(kcfg->optionname); |
kcfg | 433 | scripts/tkparse.c | kcfg->optionname = strdup(tmpbuf); |
kcfg | 436 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->optionname); |
kcfg | 437 | scripts/tkparse.c | if(*pnt == 'y' || *pnt == 'Y' ) kcfg->value = "1"; |
kcfg | 438 | scripts/tkparse.c | if(*pnt == 'n' || *pnt == 'N' ) kcfg->value = "0"; |
kcfg | 439 | scripts/tkparse.c | if(*pnt == 'm' || *pnt == 'M' ) kcfg->value = "2"; |
kcfg | 442 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 447 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 448 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->optionname); |
kcfg | 451 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 452 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->optionname); |
kcfg | 455 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->depend.str); |
kcfg | 458 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 461 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 462 | scripts/tkparse.c | koption->label = kcfg->label; |
kcfg | 469 | scripts/tkparse.c | koption = kcfg; |
kcfg | 473 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 485 | scripts/tkparse.c | kcfg->cond = parse_if(pnt); |
kcfg | 486 | scripts/tkparse.c | if(kcfg->cond == NULL ) |