Lines Matching refs:choice_count
60 int choice_count = 0; // number of choices available variable
810 choices[choice_count].installfunc = NULL; in add_dummy_choice()
811 choices[choice_count].active = 0; in add_dummy_choice()
812 choices[choice_count].changefunc = NULL; in add_dummy_choice()
813 choices[choice_count].text = NULL; in add_dummy_choice()
814 choices[choice_count].arg = 0; in add_dummy_choice()
815 ++choice_count; in add_dummy_choice()
1096 choices[choice_count].arg = target; in init_bat_choice()
1097 choices[choice_count].installfunc = install_bat_choice; in init_bat_choice()
1098 choices[choice_count].active = 1; in init_bat_choice()
1099 choices[choice_count].text = NULL; // will be set below in init_bat_choice()
1103 choices[choice_count].changefunc = toggle_bat_choice; in init_bat_choice()
1105 toggle_bat_choice(choice_count); in init_bat_choice()
1134 set_bat_text(choice_count, batpath, targets[target].batname); in init_bat_choice()
1136 choices[choice_count].changefunc = change_bat_choice; in init_bat_choice()
1138 ++choice_count; in init_bat_choice()
1152 choices[choice_count].text = bat_text_yes; in init_bat_choices()
1153 choices[choice_count].changefunc = change_main_bat_choice; in init_bat_choices()
1154 choices[choice_count].installfunc = NULL; in init_bat_choices()
1155 choices[choice_count].active = 1; in init_bat_choices()
1156 choices[choice_count].arg = 0; in init_bat_choices()
1157 ++choice_count; in init_bat_choices()
1363 choices[choice_count].installfunc = NULL; in init_vimrc_choices()
1365 choices[choice_count].installfunc = install_vimrc; in init_vimrc_choices()
1366 choices[choice_count].text = NULL; in init_vimrc_choices()
1367 change_vimrc_choice(choice_count); in init_vimrc_choices()
1368 choices[choice_count].changefunc = change_vimrc_choice; in init_vimrc_choices()
1369 choices[choice_count].active = 1; in init_vimrc_choices()
1370 ++choice_count; in init_vimrc_choices()
1373 alloc_text(choice_count, compat_text, compat_choices[compat_choice]); in init_vimrc_choices()
1374 choices[choice_count].changefunc = change_run_choice; in init_vimrc_choices()
1375 choices[choice_count].installfunc = NULL; in init_vimrc_choices()
1376 choices[choice_count].active = (*oldvimrc == NUL); in init_vimrc_choices()
1377 ++choice_count; in init_vimrc_choices()
1380 alloc_text(choice_count, remap_text , remap_choices[remap_choice]); in init_vimrc_choices()
1381 choices[choice_count].changefunc = change_remap_choice; in init_vimrc_choices()
1382 choices[choice_count].installfunc = NULL; in init_vimrc_choices()
1383 choices[choice_count].active = (*oldvimrc == NUL); in init_vimrc_choices()
1384 ++choice_count; in init_vimrc_choices()
1387 alloc_text(choice_count, mouse_text, mouse_choices[mouse_choice]); in init_vimrc_choices()
1388 choices[choice_count].changefunc = change_mouse_choice; in init_vimrc_choices()
1389 choices[choice_count].installfunc = NULL; in init_vimrc_choices()
1390 choices[choice_count].active = (*oldvimrc == NUL); in init_vimrc_choices()
1391 ++choice_count; in init_vimrc_choices()
1700 choices[choice_count].changefunc = change_popup_choice; in init_popup_choice()
1701 choices[choice_count].installfunc = NULL; in init_popup_choice()
1702 choices[choice_count].active = 1; in init_popup_choice()
1703 change_popup_choice(choice_count); // set the text in init_popup_choice()
1704 ++choice_count; in init_popup_choice()
1734 choices[choice_count].changefunc = change_openwith_choice; in init_openwith_choice()
1735 choices[choice_count].installfunc = NULL; in init_openwith_choice()
1736 choices[choice_count].active = 1; in init_openwith_choice()
1737 change_openwith_choice(choice_count); // set the text in init_openwith_choice()
1738 ++choice_count; in init_openwith_choice()
2042 choices[choice_count].changefunc = toggle_startmenu_choice; in init_startmenu_choice()
2043 choices[choice_count].installfunc = NULL; in init_startmenu_choice()
2044 choices[choice_count].active = 1; in init_startmenu_choice()
2045 toggle_startmenu_choice(choice_count); // set the text in init_startmenu_choice()
2046 ++choice_count; in init_startmenu_choice()
2056 choices[choice_count].text = NULL; in init_shortcut_choices()
2057 choices[choice_count].arg = 0; in init_shortcut_choices()
2058 choices[choice_count].active = has_gvim; in init_shortcut_choices()
2059 choices[choice_count].changefunc = toggle_shortcut_choice; in init_shortcut_choices()
2060 choices[choice_count].installfunc = install_shortcut_gvim; in init_shortcut_choices()
2061 toggle_shortcut_choice(choice_count); in init_shortcut_choices()
2062 ++choice_count; in init_shortcut_choices()
2065 choices[choice_count].text = NULL; in init_shortcut_choices()
2066 choices[choice_count].arg = 0; in init_shortcut_choices()
2067 choices[choice_count].active = has_gvim; in init_shortcut_choices()
2068 choices[choice_count].changefunc = toggle_shortcut_choice; in init_shortcut_choices()
2069 choices[choice_count].installfunc = install_shortcut_evim; in init_shortcut_choices()
2070 toggle_shortcut_choice(choice_count); in init_shortcut_choices()
2071 ++choice_count; in init_shortcut_choices()
2074 choices[choice_count].text = NULL; in init_shortcut_choices()
2075 choices[choice_count].arg = 0; in init_shortcut_choices()
2076 choices[choice_count].active = has_gvim; in init_shortcut_choices()
2077 choices[choice_count].changefunc = toggle_shortcut_choice; in init_shortcut_choices()
2078 choices[choice_count].installfunc = install_shortcut_gview; in init_shortcut_choices()
2079 toggle_shortcut_choice(choice_count); in init_shortcut_choices()
2080 ++choice_count; in init_shortcut_choices()
2226 int choice_count = TABLE_SIZE(vimfiles_dir_choices); in change_directories_choice() local
2230 --choice_count; in change_directories_choice()
2231 choices[idx].arg = get_choice(vimfiles_dir_choices, choice_count); in change_directories_choice()
2311 choices[choice_count].text = alloc(150); in init_directories_choice()
2312 choices[choice_count].changefunc = change_directories_choice; in init_directories_choice()
2313 choices[choice_count].installfunc = install_vimfilesdir; in init_directories_choice()
2314 choices[choice_count].active = 1; in init_directories_choice()
2339 choices[choice_count].arg = vimfiles_dir_choice; in init_directories_choice()
2340 set_directories_text(choice_count); in init_directories_choice()
2341 ++choice_count; in init_directories_choice()
2519 choices[choice_count - 1].arg = vimfiles_dir_choice; in command_line_setup_choices()
2671 for (i = 0; i < choice_count; ++i) in install()
2696 for (i = 0; i < choice_count; ++i) in request_choice()
2766 if (i > 0 && i <= choice_count && choices[i - 1].active) in main()