Lines Matching refs:token
297 if ( cfg->token == token_define_bool || cfg->token == token_define_hex in generate_if()
298 || cfg->token == token_define_int || cfg->token == token_define_string in generate_if()
299 || cfg->token == token_define_tristate || cfg->token == token_unset ) in generate_if()
301 if ( cfg->token == token_comment && line_num == -1 ) in generate_if()
306 if ( cfg->token == token_string || cfg->token == token_mainmenu_option ) in generate_if()
383 switch ( cfg->token ) in generate_if()
414 if ( cfg->token == token_bool ) in generate_if()
418 if ( cfg->token == token_bool ) in generate_if()
466 if ( cfg->token == token_tristate ) in generate_if()
522 switch ( cfg->token ) in generate_if()
544 if ( cfg->token == token_bool ) in generate_if()
556 cfg1 != NULL && cfg1->token == token_choice_item; in generate_if()
600 if ( cfg->token == token_tristate ) in generate_if()
631 if ( cfg->token == token_hex ) in generate_if()
633 else if ( cfg->token == token_int ) in generate_if()
660 if ( cfg->token != token_comment ) in generate_writeconfig()
667 if ( cfg->token == token_define_tristate || cfg->token == token_define_bool ) in generate_writeconfig()
675 else if ( cfg->nameindex <= 0 && cfg->token == token_choice_header ) in generate_writeconfig()
747 switch ( cfg->token ) in generate_writeconfig()
773 cfg1 != NULL && cfg1->token == token_choice_item; in generate_writeconfig()
893 …if ( cfg->menu_number == menu_num && (cfg->token == token_define_bool || cfg->token == token_defin… in generate_update_var()
894 || cfg->token == token_define_hex || cfg->token == token_define_int in generate_update_var()
895 || cfg->token == token_define_string || cfg->token == token_unset in generate_update_var()
896 || cfg->token == token_tristate) ) in generate_update_var()
913 switch ( cfg->token ) in generate_update_var()
922 cfg1 != NULL && cfg1->token == token_choice_item; in generate_update_var()
949 else switch ( cfg->token ) in generate_update_var()
1068 && cfg->token != token_mainmenu_option in end_proc()
1069 && cfg->token != token_choice_item ) in end_proc()
1074 if ( (cfg->token == token_tristate || cfg->token == token_dep_tristate) in end_proc()
1084 if ( cfg->token == token_tristate ) in end_proc()
1103 else if ( cfg->token == token_mainmenu_option in end_proc()
1138 switch ( cfg->token ) in dump_tk_script()
1238 switch ( cfg->token ) in dump_tk_script()
1296 if ( cfg->next && cfg->next->token != token_choice_item ) { in dump_tk_script()
1374 switch ( cfg->token ) in dump_tk_script()
1445 switch ( cfg->token ) in dump_tk_script()
1481 if ( cfg->token == token_choice_header ) in dump_tk_script()
1484 cfg1 != NULL && cfg1->token == token_choice_item; in dump_tk_script()
1498 if ( cfg->token == token_choice_header ) in dump_tk_script()
1503 cfg1 != NULL && cfg1->token == token_choice_item; in dump_tk_script()