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 | 406 | scripts/tkparse.c | kcfg = (struct kconfig *) malloc(sizeof(struct kconfig)); |
kcfg | 407 | scripts/tkparse.c | memset(kcfg, 0, sizeof(struct kconfig)); |
kcfg | 408 | scripts/tkparse.c | kcfg->tok = tok; |
kcfg | 411 | scripts/tkparse.c | clast->next = kcfg; |
kcfg | 412 | scripts/tkparse.c | clast = kcfg; |
kcfg | 416 | scripts/tkparse.c | clast = config = kcfg; |
kcfg | 428 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 429 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->optionname); |
kcfg | 430 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->value); |
kcfg | 435 | scripts/tkparse.c | parse_choices(kcfg, kcfg->optionname); |
kcfg | 436 | scripts/tkparse.c | free(kcfg->optionname); |
kcfg | 438 | scripts/tkparse.c | kcfg->optionname = strdup(tmpbuf); |
kcfg | 441 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->optionname); |
kcfg | 442 | scripts/tkparse.c | if(*pnt == 'y' || *pnt == 'Y' ) kcfg->value = "1"; |
kcfg | 443 | scripts/tkparse.c | if(*pnt == 'n' || *pnt == 'N' ) kcfg->value = "0"; |
kcfg | 444 | scripts/tkparse.c | if(*pnt == 'm' || *pnt == 'M' ) kcfg->value = "2"; |
kcfg | 447 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 452 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 453 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->optionname); |
kcfg | 456 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 457 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->optionname); |
kcfg | 460 | scripts/tkparse.c | pnt = get_string(pnt, &kcfg->depend.str); |
kcfg | 463 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 466 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 467 | scripts/tkparse.c | koption->label = kcfg->label; |
kcfg | 474 | scripts/tkparse.c | koption = kcfg; |
kcfg | 478 | scripts/tkparse.c | pnt = get_qstring(pnt, &kcfg->label); |
kcfg | 491 | scripts/tkparse.c | kcfg->cond = parse_if(pnt); |
kcfg | 492 | scripts/tkparse.c | if(kcfg->cond == NULL ) |