state 104 lib/strutil/strutil.c estr_t state = ESTR_SUCCESS; state 177 lib/strutil/strutil.c state = ESTR_PROBLEM; state 205 lib/strutil/strutil.c return state; state 216 lib/strutil/strutil.c return state; state 92 lib/strutil/strverscmp.c int state; state 124 lib/strutil/strverscmp.c state = S_N + ((c1 == '0') + (g_ascii_isdigit (c1) ? 1 : 0)); state 131 lib/strutil/strverscmp.c state = next_state[state]; state 134 lib/strutil/strverscmp.c state += (c1 == '0') + (g_ascii_isdigit (c1) ? 1 : 0); state 137 lib/strutil/strverscmp.c state = result_type[state * 3 + (((c2 == '0') + (g_ascii_isdigit (c2) ? 1 : 0)))]; state 139 lib/strutil/strverscmp.c switch (state) state 152 lib/strutil/strverscmp.c return state; state 123 lib/vfs/vfs.c estr_t state = ESTR_SUCCESS; state 144 lib/vfs/vfs.c state = _vfs_translate_path (path, ms, defcnv, buffer); state 146 lib/vfs/vfs.c if (state != ESTR_SUCCESS) state 147 lib/vfs/vfs.c return state; state 170 lib/vfs/vfs.c state = str_vfs_convert_to (coder, slash + 1, path + size - slash - 1, buffer); state 172 lib/vfs/vfs.c return state; state 176 lib/vfs/vfs.c state = ESTR_FAILURE; state 181 lib/vfs/vfs.c state = str_vfs_convert_to (defcnv, path, size, buffer); state 190 lib/vfs/vfs.c return state; state 365 lib/vfs/vfs.c estr_t state; state 368 lib/vfs/vfs.c state = _vfs_translate_path (path, -1, str_cnv_from_term, vfs_str_buffer); state 369 lib/vfs/vfs.c return (state != ESTR_FAILURE) ? vfs_str_buffer->str : NULL; state 80 lib/widget/check.c c->state = !c->state; state 96 lib/widget/check.c tty_print_string (c->state ? "[x] " : "[ ] "); state 138 lib/widget/check.c check_new (int y, int x, gboolean state, const char *text) state 151 lib/widget/check.c c->state = state; state 20 lib/widget/check.h gboolean state; /* check button state */ state 28 lib/widget/check.h WCheck *check_new (int y, int x, gboolean state, const char *text); state 417 lib/widget/dialog.c w->state |= WST_FOCUSED; state 436 lib/widget/dialog.c w->state |= WST_MODAL; state 59 lib/widget/group.c widget_state_t state; state 134 lib/widget/group.c widget_state_info_t *state = (widget_state_info_t *) user_data; state 136 lib/widget/group.c widget_set_state (WIDGET (data), state->state, state->enable); state 672 lib/widget/group.c group_default_set_state (Widget *w, widget_state_t state, gboolean enable) state 677 lib/widget/group.c .state = state, state 681 lib/widget/group.c ret = widget_default_set_state (w, state, enable); state 683 lib/widget/group.c if (state == WST_ACTIVE || state == WST_SUSPENDED || state == WST_CLOSED) state 687 lib/widget/group.c if ((w->state & WST_ACTIVE) != 0) state 689 lib/widget/group.c if ((w->state & WST_FOCUSED) != 0) state 46 lib/widget/group.h cb_ret_t group_default_set_state (Widget * w, widget_state_t state, gboolean enable); state 75 lib/widget/input_complete.c typedef char *CompletionFunction (const char *text, int state, input_complete_t flags); state 129 lib/widget/input_complete.c filename_completion_function (const char *text, int state, input_complete_t flags) state 151 lib/widget/input_complete.c result = filename_completion_function (u_text, state, flags & (~INPUT_COMPLETE_SHELL_ESC)); state 161 lib/widget/input_complete.c if (state == 0) state 306 lib/widget/input_complete.c username_completion_function (const char *text, int state, input_complete_t flags) state 316 lib/widget/input_complete.c if (state == 0) state 343 lib/widget/input_complete.c variable_completion_function (const char *text, int state, input_complete_t flags) state 353 lib/widget/input_complete.c if (state == 0) state 475 lib/widget/input_complete.c hostname_completion_function (const char *text, int state, input_complete_t flags) state 485 lib/widget/input_complete.c if (state == 0) state 537 lib/widget/input_complete.c command_completion_function (const char *text, int state, input_complete_t flags) state 573 lib/widget/input_complete.c if (state == 0) state 598 lib/widget/input_complete.c p = filename_completion_function (u_text, state, flags); state 651 lib/widget/input_complete.c init_state = state; state 653 lib/widget/input_complete.c found = filename_completion_function (cur_word, state - init_state, flags); state 797 lib/widget/input_complete.c try_complete_commands_prepare (try_complete_automation_state_t *state, char *text, int *lc_start) state 812 lib/widget/input_complete.c state->in_command_position++; state 815 lib/widget/input_complete.c state->in_command_position++; state 829 lib/widget/input_complete.c state->in_command_position = 0; state 837 lib/widget/input_complete.c try_complete_find_start_sign (try_complete_automation_state_t *state) state 839 lib/widget/input_complete.c if ((state->flags & INPUT_COMPLETE_COMMANDS) != 0) state 840 lib/widget/input_complete.c state->p = strrchr (state->word, '`'); state 841 lib/widget/input_complete.c if ((state->flags & (INPUT_COMPLETE_COMMANDS | INPUT_COMPLETE_VARIABLES)) != 0) state 843 lib/widget/input_complete.c state->q = strrchr (state->word, '$'); state 846 lib/widget/input_complete.c if (str_is_char_escaped (state->word, state->q)) state 849 lib/widget/input_complete.c str_move (state->q - 1, state->q); state 851 lib/widget/input_complete.c state->flags &= ~INPUT_COMPLETE_VARIABLES; state 852 lib/widget/input_complete.c state->q = NULL; state 855 lib/widget/input_complete.c if ((state->flags & INPUT_COMPLETE_HOSTNAMES) != 0) state 856 lib/widget/input_complete.c state->r = strrchr (state->word, '@'); state 857 lib/widget/input_complete.c if (state->q != NULL && state->q[1] == '(' && (state->flags & INPUT_COMPLETE_COMMANDS) != 0) state 859 lib/widget/input_complete.c if (state->q > state->p) state 860 lib/widget/input_complete.c state->p = str_get_next_char (state->q); state 861 lib/widget/input_complete.c state->q = NULL; state 868 lib/widget/input_complete.c try_complete_all_possible (try_complete_automation_state_t *state, char *text, int *lc_start) state 872 lib/widget/input_complete.c if (state->in_command_position != 0) state 876 lib/widget/input_complete.c completion_matches (state->word, command_completion_function, state 877 lib/widget/input_complete.c state->flags & (~INPUT_COMPLETE_FILENAMES)); state 879 lib/widget/input_complete.c else if ((state->flags & INPUT_COMPLETE_FILENAMES) != 0) state 881 lib/widget/input_complete.c if (state->is_cd) state 882 lib/widget/input_complete.c state->flags &= ~(INPUT_COMPLETE_FILENAMES | INPUT_COMPLETE_COMMANDS); state 884 lib/widget/input_complete.c matches = completion_matches (state->word, filename_completion_function, state->flags); state 886 lib/widget/input_complete.c if (matches == NULL && state->is_cd && !IS_PATH_SEP (*state->word) && *state->word != '~') state 888 lib/widget/input_complete.c state->q = text + *lc_start; state 889 lib/widget/input_complete.c for (state->p = text; state 890 lib/widget/input_complete.c *state->p != '\0' && state->p < state->q && whitespace (*state->p); state 891 lib/widget/input_complete.c str_next_char (&state->p)) state 893 lib/widget/input_complete.c if (strncmp (state->p, "cd", 2) == 0) state 894 lib/widget/input_complete.c for (state->p += 2; state 895 lib/widget/input_complete.c *state->p != '\0' && state->p < state->q && whitespace (*state->p); state 896 lib/widget/input_complete.c str_next_char (&state->p)) state 898 lib/widget/input_complete.c if (state->p == state->q) state 919 lib/widget/input_complete.c state->r = mc_build_filename (cdpath, state->word, (char *) NULL); state 922 lib/widget/input_complete.c completion_matches (state->r, filename_completion_function, state 923 lib/widget/input_complete.c state->flags); state 924 lib/widget/input_complete.c g_free (state->r); state 1282 lib/widget/input_complete.c try_complete_automation_state_t state; state 1285 lib/widget/input_complete.c memset (&state, 0, sizeof (state)); state 1286 lib/widget/input_complete.c state.flags = flags; state 1289 lib/widget/input_complete.c state.word = g_strndup (text + *lc_start, *lc_end - *lc_start); state 1291 lib/widget/input_complete.c state.is_cd = check_is_cd (text, *lc_start, state.flags); state 1297 lib/widget/input_complete.c if (!state.is_cd && (flags & INPUT_COMPLETE_COMMANDS) != 0) state 1298 lib/widget/input_complete.c try_complete_commands_prepare (&state, text, lc_start); state 1300 lib/widget/input_complete.c try_complete_find_start_sign (&state); state 1303 lib/widget/input_complete.c if (state.p > state.q && state.p > state.r) state 1306 lib/widget/input_complete.c matches = completion_matches (str_cget_next_char (state.p), state 1308 lib/widget/input_complete.c state.flags & (~INPUT_COMPLETE_FILENAMES)); state 1310 lib/widget/input_complete.c *lc_start += str_get_next_char (state.p) - state.word; state 1314 lib/widget/input_complete.c else if (state.q > state.p && state.q > state.r) state 1317 lib/widget/input_complete.c matches = completion_matches (state.q, variable_completion_function, state.flags); state 1319 lib/widget/input_complete.c *lc_start += state.q - state.word; state 1324 lib/widget/input_complete.c else if (state.r > state.p && state.r > state.q) state 1327 lib/widget/input_complete.c matches = completion_matches (state.r, hostname_completion_function, state.flags); state 1329 lib/widget/input_complete.c *lc_start += state.r - state.word; state 1334 lib/widget/input_complete.c if (matches == NULL && *state.word == '~' && (state.flags & INPUT_COMPLETE_USERNAMES) != 0 state 1335 lib/widget/input_complete.c && strchr (state.word, PATH_SEP) == NULL) state 1338 lib/widget/input_complete.c matches = completion_matches (state.word, username_completion_function, state.flags); state 1345 lib/widget/input_complete.c matches = try_complete_all_possible (&state, text, lc_start); state 1350 lib/widget/input_complete.c state.in_command_position = 0; state 1351 lib/widget/input_complete.c matches = try_complete_all_possible (&state, text, lc_start); state 1354 lib/widget/input_complete.c g_free (state.word); state 95 lib/widget/quick.c label.quick_widget->state = quick_widget->state; state 209 lib/widget/quick.c (++y, x, *quick_widget->u.checkbox.state, state 570 lib/widget/quick.c item->widget->state |= item->quick_widget->state; /* FIXME: cannot reset flags, setup only */ state 598 lib/widget/quick.c *item->quick_widget->u.checkbox.state = CHECK (item->widget)->state; state 19 lib/widget/quick.h .state = st \ state 270 lib/widget/quick.h widget_state_t state; state 280 lib/widget/quick.h gboolean *state; /* in/out */ state 330 lib/widget/widget-common.c w->state = WST_CONSTRUCT | WST_VISIBLE; state 780 lib/widget/widget-common.c widget_default_set_state (Widget *w, widget_state_t state, gboolean enable) state 786 lib/widget/widget-common.c w->state |= state; state 788 lib/widget/widget-common.c w->state &= ~state; state 793 lib/widget/widget-common.c switch (state) state 796 lib/widget/widget-common.c w->state &= ~(WST_ACTIVE | WST_SUSPENDED | WST_CLOSED); state 799 lib/widget/widget-common.c w->state &= ~(WST_CONSTRUCT | WST_SUSPENDED | WST_CLOSED); state 802 lib/widget/widget-common.c w->state &= ~(WST_CONSTRUCT | WST_ACTIVE | WST_CLOSED); state 805 lib/widget/widget-common.c w->state &= ~(WST_CONSTRUCT | WST_ACTIVE | WST_SUSPENDED); state 815 lib/widget/widget-common.c switch (state) state 138 lib/widget/widget-common.h widget_state_t state; state 170 lib/widget/widget-common.h cb_ret_t (*set_state) (Widget * w, widget_state_t state, gboolean enable); state 235 lib/widget/widget-common.h cb_ret_t widget_default_set_state (Widget * w, widget_state_t state, gboolean enable); state 286 lib/widget/widget-common.h widget_get_state (const Widget *w, widget_state_t state) state 288 lib/widget/widget-common.h return ((w->state & state) == state); state 381 lib/widget/widget-common.h widget_set_state (Widget *w, widget_state_t state, gboolean enable) state 383 lib/widget/widget-common.h return w->set_state (w, state, enable); state 98 src/background.c new->state = Task_Running; state 23 src/background.h int state; state 205 src/editor/etags.c } state = start; state 222 src/editor/etags.c switch (state) state 226 src/editor/etags.c state = in_filename; state 236 src/editor/etags.c state = in_define; state 242 src/editor/etags.c state = in_filename; state 136 src/filemanager/boxes.c const gboolean not_single = !CHECK (sender)->state; state 287 src/filemanager/boxes.c CHECK (shadow)->state = FALSE; state 295 src/filemanager/boxes.c mc_global.tty.shadows = CHECK (sender)->state; state 324 src/filemanager/boxes.c if (!ch->state) state 340 src/filemanager/boxes.c if (CHECK (sender)->state) state 441 src/filemanager/boxes.c const gboolean not_use = !CHECK (sender)->state; state 476 src/filemanager/boxes.c s = g_strconcat (state_str[tl->state], " ", tl->info, (char *) NULL); state 501 src/filemanager/boxes.c tl->state = Task_Stopped; state 506 src/filemanager/boxes.c tl->state = Task_Running; state 604 src/filemanager/boxes.c quick_widgets[17].state = WST_DISABLED; state 608 src/filemanager/boxes.c quick_widgets[10].state = quick_widgets[11].state = WST_DISABLED; state 612 src/filemanager/boxes.c quick_widgets[7].state = WST_DISABLED; state 824 src/filemanager/boxes.c quick_widgets[4].state = WST_DISABLED; state 827 src/filemanager/boxes.c quick_widgets[6].state = WST_DISABLED; state 830 src/filemanager/boxes.c quick_widgets[9].state = WST_DISABLED; state 1181 src/filemanager/boxes.c quick_widgets[5].state = WST_DISABLED; state 87 src/filemanager/cd.c state_t state = copy_sym; state 102 src/filemanager/cd.c switch (state) state 116 src/filemanager/cd.c state = subst_var; state 155 src/filemanager/cd.c state = copy_sym; state 139 src/filemanager/chattr.c gboolean state; /* state of checkboxes */ state 495 src/filemanager/chattr.c c->state = check_attr[m].state; state 517 src/filemanager/chattr.c check_attr[m].state = CHECK (l->data)->state; state 898 src/filemanager/chattr.c check = check_new (i, 0, check_attr[m].state, NULL); state 975 src/filemanager/chattr.c check_attr[i].state = chattr_is_modifiable (i) && (attr & check_attr[i].flags) != 0; state 1272 src/filemanager/chattr.c if (check_attr[i].state) state 594 src/filemanager/chmod.c if (check_perm[i].check->state) state 38 src/filemanager/dir.h typedef void (*dir_list_cb_fn) (dir_list_cb_state_t state, void *data); state 692 src/filemanager/filegui.c ui->dont_overwrite_with_zero = CHECK (dlg_widgets[14].widget)->state; state 438 src/filemanager/find.c widget_disable (WIDGET (in_ignore), !ignore_dirs_cbox->state); state 513 src/filemanager/find.c if (!file_pattern_cbox->state && !input_is_empty (in_name) state 524 src/filemanager/find.c if (content_regexp_cbox->state && !content_is_empty state 823 src/filemanager/find.c options.file_all_charsets = file_all_charsets_cbox->state; state 824 src/filemanager/find.c options.content_all_charsets = content_all_charsets_cbox->state; state 826 src/filemanager/find.c options.content_case_sens = content_case_sens_cbox->state; state 827 src/filemanager/find.c options.content_regexp = content_regexp_cbox->state; state 828 src/filemanager/find.c options.content_first_hit = content_first_hit_cbox->state; state 829 src/filemanager/find.c options.content_whole_words = content_whole_words_cbox->state; state 830 src/filemanager/find.c options.find_recurs = recursively_cbox->state; state 831 src/filemanager/find.c options.follow_symlinks = follow_sym_cbox->state; state 832 src/filemanager/find.c options.file_pattern = file_pattern_cbox->state; state 833 src/filemanager/find.c options.file_case_sens = file_case_sens_cbox->state; state 834 src/filemanager/find.c options.skip_hidden = skip_hidden_cbox->state; state 835 src/filemanager/find.c options.ignore_dirs_enable = ignore_dirs_cbox->state; state 238 src/filemanager/layout.c check_options[0].widget->state = panels_layout.horizontal_equal; state 240 src/filemanager/layout.c check_options[0].widget->state = panels_layout.vertical_equal; state 243 src/filemanager/layout.c tty_setcolor (check_options[0].widget->state ? DISABLED_COLOR : COLOR_NORMAL); state 359 src/filemanager/layout.c _menubar_visible = check_options[1].widget->state; state 360 src/filemanager/layout.c _command_prompt = check_options[2].widget->state; state 361 src/filemanager/layout.c _keybar_visible = check_options[3].widget->state; state 362 src/filemanager/layout.c _message_visible = check_options[4].widget->state; state 436 src/filemanager/layout.c panels_layout.horizontal_equal = check_options[0].widget->state; state 441 src/filemanager/layout.c panels_layout.vertical_equal = check_options[0].widget->state; state 459 src/filemanager/layout.c menubar_visible = check_options[1].widget->state; state 461 src/filemanager/layout.c command_prompt = check_options[2].widget->state; state 463 src/filemanager/layout.c mc_global.keybar_visible = check_options[3].widget->state; state 465 src/filemanager/layout.c mc_global.message_visible = check_options[4].widget->state; state 467 src/filemanager/layout.c xterm_title = check_options[5].widget->state; state 469 src/filemanager/layout.c free_space = check_options[6].widget->state; state 598 src/filemanager/layout.c w->state |= disabled; state 603 src/filemanager/layout.c w->state |= disabled; state 608 src/filemanager/layout.c w->state |= disabled; state 737 src/filemanager/layout.c *check_options[i].variable = check_options[i].widget->state; state 4409 src/filemanager/panel.c panel_dir_list_callback (dir_list_cb_state_t state, void *data) state 4415 src/filemanager/panel.c switch (state) state 346 src/viewer/ascii.c mcview_get_next_char (WView *view, mcview_state_machine_t *state, int *c) state 349 src/viewer/ascii.c if (view->force_max >= 0 && state->offset >= view->force_max) state 357 src/viewer/ascii.c if (!mcview_get_utf (view, state->offset, c, &char_length)) state 360 src/viewer/ascii.c if (view->force_max >= 0 && state->offset + char_length > view->force_max) state 363 src/viewer/ascii.c state->offset += char_length; state 367 src/viewer/ascii.c if (!mcview_get_byte (view, state->offset, c)) state 369 src/viewer/ascii.c state->offset++; state 393 src/viewer/ascii.c mcview_get_next_maybe_nroff_char (WView *view, mcview_state_machine_t *state, int *c, int *color) state 402 src/viewer/ascii.c return mcview_get_next_char (view, state, c); state 404 src/viewer/ascii.c if (!mcview_get_next_char (view, state, c)) state 410 src/viewer/ascii.c state_after_nroff = *state; state 424 src/viewer/ascii.c *state = state_after_nroff; state 427 src/viewer/ascii.c state->nroff_underscore_is_underlined ? VIEW_UNDERLINED_COLOR : VIEW_BOLD_COLOR; state 431 src/viewer/ascii.c *state = state_after_nroff; state 432 src/viewer/ascii.c state->nroff_underscore_is_underlined = FALSE; state 439 src/viewer/ascii.c *state = state_after_nroff; state 440 src/viewer/ascii.c state->nroff_underscore_is_underlined = TRUE; state 476 src/viewer/ascii.c mcview_next_combining_char_sequence (WView *view, mcview_state_machine_t *state, int *cs, state 481 src/viewer/ascii.c if (!mcview_get_next_maybe_nroff_char (view, state, cs, color)) state 489 src/viewer/ascii.c mcview_state_machine_t state_after_crlf = *state; state 492 src/viewer/ascii.c *state = state_after_crlf; state 503 src/viewer/ascii.c if (!state->print_lonely_combining) state 529 src/viewer/ascii.c state_after_combining = *state; state 539 src/viewer/ascii.c *state = state_after_combining; state 544 src/viewer/ascii.c *state = state_after_combining; state 575 src/viewer/ascii.c mcview_display_line (WView *view, mcview_state_machine_t *state, int row, state 595 src/viewer/ascii.c eol = mcview_eol (view, state->offset); state 596 src/viewer/ascii.c retval = (eol > state->offset) ? 1 : 0; state 598 src/viewer/ascii.c mcview_state_machine_init (state, eol); state 609 src/viewer/ascii.c state_saved = *state; state 610 src/viewer/ascii.c n = mcview_next_combining_char_sequence (view, state, cs, 1 + MAX_COMBINING_CHARS, &color); state 618 src/viewer/ascii.c if (view->search_start <= state->offset && state->offset < view->search_end) state 624 src/viewer/ascii.c mcview_state_machine_init (state, state->offset); state 648 src/viewer/ascii.c charwidth = option_tab_spacing - state->unwrapped_column % option_tab_spacing; state 649 src/viewer/ascii.c state->print_lonely_combining = TRUE; state 652 src/viewer/ascii.c state->print_lonely_combining = FALSE; state 660 src/viewer/ascii.c *state = state_saved; state 724 src/viewer/ascii.c state->unwrapped_column += charwidth; state 733 src/viewer/ascii.c eol = mcview_eol (view, state->offset); state 734 src/viewer/ascii.c mcview_state_machine_init (state, eol); state 767 src/viewer/ascii.c mcview_display_paragraph (WView *view, mcview_state_machine_t *state, int row) state 775 src/viewer/ascii.c lines += mcview_display_line (view, state, row, ¶graph_ended, NULL); state 851 src/viewer/ascii.c mcview_state_machine_t state; state 864 src/viewer/ascii.c mcview_state_machine_init (&state, view->dpy_start); state 868 src/viewer/ascii.c state = view->dpy_state_top; state 873 src/viewer/ascii.c n = mcview_display_paragraph (view, &state, row); state 892 src/viewer/ascii.c view->dpy_end = state.offset; state 893 src/viewer/ascii.c view->dpy_state_bottom = state; state 1031 src/viewer/ascii.c mcview_state_machine_t state; state 1035 src/viewer/ascii.c mcview_state_machine_init (&state, view->dpy_start); state 1036 src/viewer/ascii.c mcview_display_line (view, &state, -1, NULL, &linewidth); state 1044 src/viewer/ascii.c mcview_state_machine_init (mcview_state_machine_t *state, off_t offset) state 1046 src/viewer/ascii.c memset (state, 0, sizeof (*state)); state 1047 src/viewer/ascii.c state->offset = offset; state 1048 src/viewer/ascii.c state->print_lonely_combining = TRUE;