Home
last modified time | relevance | path

Searched refs:input_filetypes (Results 1 – 11 of 11) sorted by relevance

/dports/science/luscus/luscus_0.8.6/
H A Dgv_system.c21 INPUT_FORMAT *input_filetypes; variable
582 input_filetypes = NULL; in init_input_filetypes()
614 input_filetypes = (INPUT_FORMAT*) realloc(input_filetypes, n_input_types * sizeof(INPUT_FORMAT)); in init_input_filetypes()
615 input_filetypes[n_input_types-1].libpath = NULL; in init_input_filetypes()
616 input_filetypes[n_input_types-1].forward = NULL; in init_input_filetypes()
617 input_filetypes[n_input_types-1].backward = NULL; in init_input_filetypes()
635input_filetypes = (INPUT_FORMAT*) realloc(input_filetypes, n_input_types * sizeof(INPUT_FORMAT)); in init_input_filetypes()
637 input_filetypes[n_input_types-1].forward = NULL; in init_input_filetypes()
638 input_filetypes[n_input_types-1].backward = NULL; in init_input_filetypes()
658 …iex = check_file_exists(input_filetypes[n_input_types-1].libpath, input_filetypes[n_input_types-1]… in init_input_filetypes()
[all …]
H A Dmain.c24 INPUT_FORMAT *input_filetypes; variable
74 …|%s|\n", input_filetypes[i].extension, input_filetypes[i].description, input_filetypes[i].forward,… in print_debug_data()
H A Dbackup_file.c56 …(char) * (strlen(path) + strlen(filename_without_extension) + strlen(input_filetypes[0].extension)… in get_backup_filename()
64 strcat(backup_filename, input_filetypes[0].extension); in get_backup_filename()
H A Dwrite_file.c29 if (input_filetypes[filetype].backward) in luscus_gtk_do_save_file()
45 if (strcmp(ext, input_filetypes[i].extension) == 0) break; in get_filetype()
66 strcat(rndword, input_filetypes[0].extension); in save_gv_file()
121 …ommand = (char*) malloc(sizeof(char) * (strlen(input_filetypes[filetype].libpath) + strlen(input_f… in convert_to_target_file()
123 strcat(command, input_filetypes[filetype].libpath); in convert_to_target_file()
129 strcat(command, input_filetypes[filetype].backward); in convert_to_target_file()
H A Dread_file.c852 if (strcmp(input_filetypes[i].description, file_description) == 0) break; in open_file()
884 if (strcmp(input_filetypes[i].extension, ext) == 0) break; in open_file()
888 if (i < n_input_types && input_filetypes[i].libpath) in open_file()
890 …command = (char*) malloc(sizeof(char) * (strlen(input_filetypes[i].libpath) + strlen(input_filetyp… in open_file()
895 strcat(command, input_filetypes[i].libpath); in open_file()
901 strcat(command, input_filetypes[i].forward); in open_file()
2436 … = (char*) malloc(sizeof(char) * (strlen(original_filename) + strlen(input_filetypes[n_input_types… in make_luscus_file_name()
2443 strcat(luscus_filename, input_filetypes[0].extension); in make_luscus_file_name()
2447 …loc(sizeof(char) * (strlen(original_filename) - strlen(ext) + strlen(input_filetypes[n_input_types… in make_luscus_file_name()
2453 strcat(luscus_filename, input_filetypes[0].extension); in make_luscus_file_name()
H A Dread_file_org.c850 if (strcmp(input_filetypes[i].description, file_description) == 0) break; in open_file()
882 if (strcmp(input_filetypes[i].extension, ext) == 0) break; in open_file()
886 if (i < n_input_types && input_filetypes[i].libpath) in open_file()
888 …command = (char*) malloc(sizeof(char) * (strlen(input_filetypes[i].libpath) + strlen(input_filetyp… in open_file()
893 strcat(command, input_filetypes[i].libpath); in open_file()
899 strcat(command, input_filetypes[i].forward); in open_file()
2434 … = (char*) malloc(sizeof(char) * (strlen(original_filename) + strlen(input_filetypes[n_input_types… in make_luscus_file_name()
2441 strcat(luscus_filename, input_filetypes[0].extension); in make_luscus_file_name()
2445 …loc(sizeof(char) * (strlen(original_filename) - strlen(ext) + strlen(input_filetypes[n_input_types… in make_luscus_file_name()
2451 strcat(luscus_filename, input_filetypes[0].extension); in make_luscus_file_name()
H A Dgv.h440 extern INPUT_FORMAT *input_filetypes;
H A Dluscus_gtk_util.c27 INPUT_FORMAT *input_filetypes; variable
1734 tmp = g_strconcat("*.", input_filetypes[0].extension, NULL); in callback_open_file()
1735 gtk_file_filter_set_name(ffilter, input_filetypes[0].description); in callback_open_file()
1741 if (input_filetypes[i].forward) in callback_open_file()
1744 tmp = g_strconcat("*.", input_filetypes[i].extension, NULL); in callback_open_file()
1745 gtk_file_filter_set_name(ffilter, input_filetypes[i].description); in callback_open_file()
1841 tmp = g_strconcat("*.", input_filetypes[0].extension, NULL); in set_save_file_filename()
1842 gtk_file_filter_set_name(ffilter, input_filetypes[0].description); in set_save_file_filename()
1849 if (input_filetypes[i].backward) in set_save_file_filename()
1852 tmp = g_strconcat("*.", input_filetypes[i].extension, NULL); in set_save_file_filename()
[all …]
H A Dgv.h.in436 extern INPUT_FORMAT *input_filetypes;
H A Dgv_menubar.c412 …if (input_filetypes[filetype].backward) gtk_widget_set_sensitive(GTK_WIDGET(menu_item_save), TRUE); in luscus_gtk_menubar_show_or_hide_widgets()
H A Dgv_menubar_org.c535 …if (input_filetypes[filetype].backward) gtk_widget_set_sensitive(GTK_WIDGET(menu_item_save), TRUE); in luscus_gtk_menubar_show_or_hide_widgets()