Lines Matching refs:targets
356 targets[i].oldbat = searchpath_save(targets[i].batname); in find_bat_exe()
358 targets[i].oldexe = searchpath_save(targets[i].exename); in find_bat_exe()
360 if (default_bat_dir == NULL && targets[i].oldbat != NULL) in find_bat_exe()
362 default_bat_dir = alloc(strlen(targets[i].oldbat) + 1); in find_bat_exe()
363 strcpy(default_bat_dir, targets[i].oldbat); in find_bat_exe()
366 if (check_bat_only && targets[i].oldbat != NULL) in find_bat_exe()
368 free(targets[i].oldbat); in find_bat_exe()
369 targets[i].oldbat = NULL; in find_bat_exe()
767 findoldfile(&(targets[i].oldexe)); in inspect_system()
768 if (targets[i].oldexe != NULL) in inspect_system()
776 if (targets[i].oldexe != NULL) in inspect_system()
777 printf("%s\n", targets[i].oldexe); in inspect_system()
827 char *batpath = targets[choices[idx].arg].batpath; in install_bat_choice()
828 char *oldname = targets[choices[idx].arg].oldbat; in install_bat_choice()
829 char *exename = targets[choices[idx].arg].exenamearg; in install_bat_choice()
830 char *vimarg = targets[choices[idx].arg].exearg; in install_bat_choice()
936 char *batname = targets[choices[idx].arg].batpath; in toggle_bat_choice()
937 char *oldname = targets[choices[idx].arg].oldbat; in toggle_bat_choice()
980 name = targets[target].batname; in change_bat_choice()
981 batpath = targets[target].batpath; in change_bat_choice()
1059 if (targets[0].batpath[0] != NUL) in change_main_bat_choice()
1069 if (targets[0].batpath[0] != NUL in change_main_bat_choice()
1074 && targets[i].batpath[0] != NUL) in change_main_bat_choice()
1076 strcpy(targets[i].batpath, targets[0].batpath); in change_main_bat_choice()
1077 set_bat_text(idx + i, targets[i].batpath, targets[i].batname); in change_main_bat_choice()
1091 char *batpath = targets[target].batpath; in init_bat_choice()
1092 char *oldbat = targets[target].oldbat; in init_bat_choice()
1134 set_bat_text(choice_count, batpath, targets[target].batname); in init_bat_choice()
1162 if (targets[i].oldexe == NULL in init_bat_choices()
1163 && (targets[i].exenamearg[0] == 'g' ? has_gvim : has_vim)) in init_bat_choices()
2421 if ((targets[j].exenamearg[0] == 'g' ? has_gvim : has_vim) in command_line_setup_choices()
2422 && strcmp(argv[i], targets[j].name) == 0) in command_line_setup_choices()