in                 75 lib/widget/input.c #define should_show_history_button(in) \
in                 76 lib/widget/input.c     (in->history.list != NULL && WIDGET (in)->cols > HISTORY_BUTTON_WIDTH * 2 + 1 \
in                 77 lib/widget/input.c          && WIDGET (in)->owner != NULL)
in                104 lib/widget/input.c draw_history_button (WInput * in)
in                109 lib/widget/input.c     if (g_list_next (in->history.current) == NULL)
in                111 lib/widget/input.c     else if (g_list_previous (in->history.current) == NULL)
in                116 lib/widget/input.c     widget_move (in, 0, WIDGET (in)->cols - HISTORY_BUTTON_WIDTH);
in                117 lib/widget/input.c     disabled = widget_get_state (WIDGET (in), WST_DISABLED);
in                118 lib/widget/input.c     tty_setcolor (disabled ? DISABLED_COLOR : in->color[WINPUTC_HISTORY]);
in                122 lib/widget/input.c     widget_move (in, 0, WIDGET (in)->cols - HISTORY_BUTTON_WIDTH + 1);
in                131 lib/widget/input.c input_mark_cmd (WInput * in, gboolean mark)
in                133 lib/widget/input.c     in->mark = mark ? in->point : -1;
in                139 lib/widget/input.c input_eval_marks (WInput * in, long *start_mark, long *end_mark)
in                141 lib/widget/input.c     if (in->mark >= 0)
in                143 lib/widget/input.c         *start_mark = MIN (in->mark, in->point);
in                144 lib/widget/input.c         *end_mark = MAX (in->mark, in->point);
in                155 lib/widget/input.c delete_region (WInput * in, int x_first, int x_last)
in                160 lib/widget/input.c     input_mark_cmd (in, FALSE);
in                161 lib/widget/input.c     in->point = first;
in                162 lib/widget/input.c     last = str_offset_to_pos (in->buffer, last);
in                163 lib/widget/input.c     first = str_offset_to_pos (in->buffer, first);
in                164 lib/widget/input.c     str_move (in->buffer + first, in->buffer + last);
in                165 lib/widget/input.c     in->charpoint = 0;
in                166 lib/widget/input.c     in->need_push = TRUE;
in                172 lib/widget/input.c do_show_hist (WInput * in)
in                177 lib/widget/input.c     len = get_history_length (in->history.list);
in                179 lib/widget/input.c     history_descriptor_init (&hd, WIDGET (in)->y, WIDGET (in)->x, in->history.list,
in                180 lib/widget/input.c                              g_list_position (in->history.list, in->history.list));
in                183 lib/widget/input.c     in->history.list = hd.list;
in                186 lib/widget/input.c         input_assign_text (in, hd.text);
in                191 lib/widget/input.c     if (len != get_history_length (in->history.list))
in                192 lib/widget/input.c         in->history.changed = TRUE;
in                235 lib/widget/input.c push_history (WInput * in, const char *text)
in                248 lib/widget/input.c     if (!empty && in->history.name != NULL && in->strip_password)
in                262 lib/widget/input.c     if (in->history.list == NULL || in->history.list->data == NULL
in                263 lib/widget/input.c         || strcmp (in->history.list->data, t) != 0 || in->history.changed)
in                265 lib/widget/input.c         in->history.list = list_append_unique (in->history.list, t);
in                266 lib/widget/input.c         in->history.current = in->history.list;
in                267 lib/widget/input.c         in->history.changed = TRUE;
in                272 lib/widget/input.c     in->need_push = FALSE;
in                278 lib/widget/input.c move_buffer_backward (WInput * in, int start, int end)
in                283 lib/widget/input.c     str_len = str_length (in->buffer);
in                287 lib/widget/input.c     pos = str_offset_to_pos (in->buffer, start);
in                288 lib/widget/input.c     len = str_offset_to_pos (in->buffer, end) - pos;
in                290 lib/widget/input.c     for (i = pos; in->buffer[i + len - 1]; i++)
in                291 lib/widget/input.c         in->buffer[i] = in->buffer[i + len];
in                297 lib/widget/input.c insert_char (WInput * in, int c_code)
in                302 lib/widget/input.c     if (input_eval_marks (in, &m1, &m2))
in                303 lib/widget/input.c         delete_region (in, m1, m2);
in                308 lib/widget/input.c     if (in->charpoint >= MB_LEN_MAX)
in                311 lib/widget/input.c     in->charbuf[in->charpoint] = c_code;
in                312 lib/widget/input.c     in->charpoint++;
in                314 lib/widget/input.c     res = str_is_valid_char (in->charbuf, in->charpoint);
in                318 lib/widget/input.c             in->charpoint = 0;  /* broken multibyte char, skip */
in                322 lib/widget/input.c     in->need_push = TRUE;
in                323 lib/widget/input.c     if (strlen (in->buffer) + 1 + in->charpoint >= in->current_max_size)
in                329 lib/widget/input.c         new_length = in->current_max_size + WIDGET (in)->cols + in->charpoint;
in                330 lib/widget/input.c         narea = g_try_renew (char, in->buffer, new_length);
in                333 lib/widget/input.c             in->buffer = narea;
in                334 lib/widget/input.c             in->current_max_size = new_length;
in                338 lib/widget/input.c     if (strlen (in->buffer) + in->charpoint < in->current_max_size)
in                342 lib/widget/input.c         size_t ins_point = str_offset_to_pos (in->buffer, in->point);
in                344 lib/widget/input.c         size_t rest_bytes = strlen (in->buffer + ins_point);
in                347 lib/widget/input.c             in->buffer[ins_point + i + in->charpoint - 1] = in->buffer[ins_point + i - 1];
in                349 lib/widget/input.c         memcpy (in->buffer + ins_point, in->charbuf, in->charpoint);
in                350 lib/widget/input.c         in->point++;
in                353 lib/widget/input.c     in->charpoint = 0;
in                360 lib/widget/input.c beginning_of_line (WInput * in)
in                362 lib/widget/input.c     in->point = 0;
in                363 lib/widget/input.c     in->charpoint = 0;
in                369 lib/widget/input.c end_of_line (WInput * in)
in                371 lib/widget/input.c     in->point = str_length (in->buffer);
in                372 lib/widget/input.c     in->charpoint = 0;
in                378 lib/widget/input.c backward_char (WInput * in)
in                382 lib/widget/input.c     act = in->buffer + str_offset_to_pos (in->buffer, in->point);
in                383 lib/widget/input.c     if (in->point > 0)
in                384 lib/widget/input.c         in->point -= str_cprev_noncomb_char (&act, in->buffer);
in                385 lib/widget/input.c     in->charpoint = 0;
in                391 lib/widget/input.c forward_char (WInput * in)
in                395 lib/widget/input.c     act = in->buffer + str_offset_to_pos (in->buffer, in->point);
in                397 lib/widget/input.c         in->point += str_cnext_noncomb_char (&act);
in                398 lib/widget/input.c     in->charpoint = 0;
in                404 lib/widget/input.c forward_word (WInput * in)
in                408 lib/widget/input.c     p = in->buffer + str_offset_to_pos (in->buffer, in->point);
in                412 lib/widget/input.c         in->point++;
in                417 lib/widget/input.c         in->point++;
in                424 lib/widget/input.c backward_word (WInput * in)
in                428 lib/widget/input.c     p = in->buffer + str_offset_to_pos (in->buffer, in->point);
in                430 lib/widget/input.c     while (p != in->buffer)
in                441 lib/widget/input.c         in->point--;
in                443 lib/widget/input.c     while (p != in->buffer)
in                449 lib/widget/input.c         in->point--;
in                456 lib/widget/input.c backward_delete (WInput * in)
in                458 lib/widget/input.c     const char *act = in->buffer + str_offset_to_pos (in->buffer, in->point);
in                461 lib/widget/input.c     if (in->point == 0)
in                464 lib/widget/input.c     start = in->point - str_cprev_noncomb_char (&act, in->buffer);
in                465 lib/widget/input.c     move_buffer_backward (in, start, in->point);
in                466 lib/widget/input.c     in->charpoint = 0;
in                467 lib/widget/input.c     in->need_push = TRUE;
in                468 lib/widget/input.c     in->point = start;
in                474 lib/widget/input.c delete_char (WInput * in)
in                477 lib/widget/input.c     int end = in->point;
in                479 lib/widget/input.c     act = in->buffer + str_offset_to_pos (in->buffer, in->point);
in                482 lib/widget/input.c     move_buffer_backward (in, in->point, end);
in                483 lib/widget/input.c     in->charpoint = 0;
in                484 lib/widget/input.c     in->need_push = TRUE;
in                490 lib/widget/input.c copy_region (WInput * in, int x_first, int x_last)
in                506 lib/widget/input.c     first = str_offset_to_pos (in->buffer, first);
in                507 lib/widget/input.c     last = str_offset_to_pos (in->buffer, last);
in                509 lib/widget/input.c     kill_buffer = g_strndup (in->buffer + first, last - first);
in                519 lib/widget/input.c kill_word (WInput * in)
in                521 lib/widget/input.c     int old_point = in->point;
in                524 lib/widget/input.c     forward_word (in);
in                525 lib/widget/input.c     new_point = in->point;
in                526 lib/widget/input.c     in->point = old_point;
in                528 lib/widget/input.c     delete_region (in, old_point, new_point);
in                529 lib/widget/input.c     in->need_push = TRUE;
in                530 lib/widget/input.c     in->charpoint = 0;
in                536 lib/widget/input.c back_kill_word (WInput * in)
in                538 lib/widget/input.c     int old_point = in->point;
in                541 lib/widget/input.c     backward_word (in);
in                542 lib/widget/input.c     new_point = in->point;
in                543 lib/widget/input.c     in->point = old_point;
in                545 lib/widget/input.c     delete_region (in, old_point, new_point);
in                546 lib/widget/input.c     in->need_push = TRUE;
in                552 lib/widget/input.c yank (WInput * in)
in                558 lib/widget/input.c         in->charpoint = 0;
in                560 lib/widget/input.c             insert_char (in, *p);
in                561 lib/widget/input.c         in->charpoint = 0;
in                568 lib/widget/input.c kill_line (WInput * in)
in                572 lib/widget/input.c     chp = str_offset_to_pos (in->buffer, in->point);
in                574 lib/widget/input.c     kill_buffer = g_strdup (&in->buffer[chp]);
in                575 lib/widget/input.c     in->buffer[chp] = '\0';
in                576 lib/widget/input.c     in->charpoint = 0;
in                582 lib/widget/input.c clear_line (WInput * in)
in                584 lib/widget/input.c     in->need_push = TRUE;
in                585 lib/widget/input.c     in->buffer[0] = '\0';
in                586 lib/widget/input.c     in->point = 0;
in                587 lib/widget/input.c     in->mark = -1;
in                588 lib/widget/input.c     in->charpoint = 0;
in                594 lib/widget/input.c ins_from_clip (WInput * in)
in                609 lib/widget/input.c             insert_char (in, *pp);
in                618 lib/widget/input.c hist_prev (WInput * in)
in                622 lib/widget/input.c     if (in->history.list == NULL)
in                625 lib/widget/input.c     if (in->need_push)
in                626 lib/widget/input.c         push_history (in, in->buffer);
in                628 lib/widget/input.c     prev = g_list_previous (in->history.current);
in                631 lib/widget/input.c         input_assign_text (in, (char *) prev->data);
in                632 lib/widget/input.c         in->history.current = prev;
in                633 lib/widget/input.c         in->history.changed = TRUE;
in                634 lib/widget/input.c         in->need_push = FALSE;
in                641 lib/widget/input.c hist_next (WInput * in)
in                645 lib/widget/input.c     if (in->need_push)
in                647 lib/widget/input.c         push_history (in, in->buffer);
in                648 lib/widget/input.c         input_assign_text (in, "");
in                652 lib/widget/input.c     if (in->history.list == NULL)
in                655 lib/widget/input.c     next = g_list_next (in->history.current);
in                658 lib/widget/input.c         input_assign_text (in, "");
in                659 lib/widget/input.c         in->history.current = in->history.list;
in                663 lib/widget/input.c         input_assign_text (in, (char *) next->data);
in                664 lib/widget/input.c         in->history.current = next;
in                665 lib/widget/input.c         in->history.changed = TRUE;
in                666 lib/widget/input.c         in->need_push = FALSE;
in                673 lib/widget/input.c port_region_marked_for_delete (WInput * in)
in                675 lib/widget/input.c     in->buffer[0] = '\0';
in                676 lib/widget/input.c     in->point = 0;
in                677 lib/widget/input.c     in->first = FALSE;
in                678 lib/widget/input.c     in->charpoint = 0;
in                684 lib/widget/input.c input_execute_cmd (WInput * in, long command)
in                697 lib/widget/input.c         if (in->mark < 0)
in                699 lib/widget/input.c             input_mark_cmd (in, FALSE); /* clear */
in                700 lib/widget/input.c             input_mark_cmd (in, TRUE);  /* marking on */
in                707 lib/widget/input.c         if (in->mark >= 0)
in                708 lib/widget/input.c             input_mark_cmd (in, FALSE);
in                718 lib/widget/input.c         beginning_of_line (in);
in                722 lib/widget/input.c         end_of_line (in);
in                726 lib/widget/input.c         backward_char (in);
in                730 lib/widget/input.c         backward_word (in);
in                734 lib/widget/input.c         forward_char (in);
in                738 lib/widget/input.c         forward_word (in);
in                744 lib/widget/input.c             if (input_eval_marks (in, &m1, &m2))
in                745 lib/widget/input.c                 delete_region (in, m1, m2);
in                747 lib/widget/input.c                 backward_delete (in);
in                751 lib/widget/input.c         if (in->first)
in                752 lib/widget/input.c             port_region_marked_for_delete (in);
in                757 lib/widget/input.c             if (input_eval_marks (in, &m1, &m2))
in                758 lib/widget/input.c                 delete_region (in, m1, m2);
in                760 lib/widget/input.c                 delete_char (in);
in                764 lib/widget/input.c         kill_word (in);
in                767 lib/widget/input.c         back_kill_word (in);
in                770 lib/widget/input.c         input_mark_cmd (in, TRUE);
in                773 lib/widget/input.c         delete_region (in, in->point, MAX (in->mark, 0));
in                776 lib/widget/input.c         kill_line (in);
in                779 lib/widget/input.c         clear_line (in);
in                782 lib/widget/input.c         copy_region (in, MAX (in->mark, 0), in->point);
in                788 lib/widget/input.c             m = MAX (in->mark, 0);
in                789 lib/widget/input.c             copy_region (in, m, in->point);
in                790 lib/widget/input.c             delete_region (in, in->point, m);
in                794 lib/widget/input.c         yank (in);
in                797 lib/widget/input.c         ins_from_clip (in);
in                800 lib/widget/input.c         hist_prev (in);
in                803 lib/widget/input.c         hist_next (in);
in                806 lib/widget/input.c         do_show_hist (in);
in                809 lib/widget/input.c         complete (in);
in                826 lib/widget/input.c         in->mark = -1;
in                840 lib/widget/input.c     WInput *in = INPUT (init_data);
in                846 lib/widget/input.c     in->history.list = mc_config_history_load (ev->cfg, in->history.name);
in                847 lib/widget/input.c     in->history.current = in->history.list;
in                849 lib/widget/input.c     if (in->init_from_history)
in                853 lib/widget/input.c         if (in->history.list != NULL && in->history.list->data != NULL)
in                854 lib/widget/input.c             def_text = (const char *) in->history.list->data;
in                856 lib/widget/input.c         input_assign_text (in, def_text);
in                869 lib/widget/input.c     WInput *in = INPUT (init_data);
in                874 lib/widget/input.c     if (!in->is_password && (WIDGET (in)->owner->ret_value != B_CANCEL))
in                878 lib/widget/input.c         push_history (in, in->buffer);
in                879 lib/widget/input.c         if (in->history.changed)
in                880 lib/widget/input.c             mc_config_history_save (ev->cfg, in->history.name, in->history.list);
in                881 lib/widget/input.c         in->history.changed = FALSE;
in                890 lib/widget/input.c input_destroy (WInput * in)
in                892 lib/widget/input.c     if (in == NULL)
in                898 lib/widget/input.c     input_free_completions (in);
in                901 lib/widget/input.c     if (in->history.list != NULL)
in                904 lib/widget/input.c         in->history.list = g_list_first (in->history.list);
in                905 lib/widget/input.c         g_list_free_full (in->history.list, g_free);
in                907 lib/widget/input.c     g_free (in->history.name);
in                908 lib/widget/input.c     g_free (in->buffer);
in                918 lib/widget/input.c input_screen_to_point (const WInput * in, int x)
in                920 lib/widget/input.c     x += in->term_first_shown;
in                925 lib/widget/input.c     if (x < str_term_width1 (in->buffer))
in                926 lib/widget/input.c         return str_column_to_pos (in->buffer, x);
in                928 lib/widget/input.c     return str_length (in->buffer);
in                938 lib/widget/input.c     WInput *in = INPUT (w);
in                944 lib/widget/input.c         in->first = FALSE;
in                946 lib/widget/input.c         if (event->x >= w->cols - HISTORY_BUTTON_WIDTH && should_show_history_button (in))
in                947 lib/widget/input.c             do_show_hist (in);
in                950 lib/widget/input.c             input_mark_cmd (in, FALSE);
in                951 lib/widget/input.c             input_set_point (in, input_screen_to_point (in, event->x));
in                953 lib/widget/input.c             prev_point = in->point;
in                959 lib/widget/input.c         if (in->mark < 0)
in                960 lib/widget/input.c             in->mark = prev_point;
in                962 lib/widget/input.c         input_set_point (in, input_screen_to_point (in, event->x));
in                967 lib/widget/input.c         if (in->mark == in->point)
in                968 lib/widget/input.c             input_mark_cmd (in, FALSE);
in                991 lib/widget/input.c     WInput *in;
in                994 lib/widget/input.c     in = g_new (WInput, 1);
in                995 lib/widget/input.c     w = WIDGET (in);
in                999 lib/widget/input.c     in->color = colors;
in               1000 lib/widget/input.c     in->first = TRUE;
in               1001 lib/widget/input.c     in->mark = -1;
in               1002 lib/widget/input.c     in->term_first_shown = 0;
in               1003 lib/widget/input.c     in->disable_update = 0;
in               1004 lib/widget/input.c     in->is_password = FALSE;
in               1005 lib/widget/input.c     in->strip_password = FALSE;
in               1008 lib/widget/input.c     in->current_max_size = width + 1;
in               1009 lib/widget/input.c     in->buffer = g_new0 (char, in->current_max_size);
in               1012 lib/widget/input.c     in->completions = NULL;
in               1013 lib/widget/input.c     in->completion_flags = completion_flags;
in               1015 lib/widget/input.c     in->init_from_history = (def_text == INPUT_LAST_TEXT);
in               1017 lib/widget/input.c     if (in->init_from_history || def_text == NULL)
in               1020 lib/widget/input.c     input_assign_text (in, def_text);
in               1023 lib/widget/input.c     in->history.list = NULL;
in               1024 lib/widget/input.c     in->history.current = NULL;
in               1025 lib/widget/input.c     in->history.changed = FALSE;
in               1026 lib/widget/input.c     in->history.name = NULL;
in               1028 lib/widget/input.c         in->history.name = g_strdup (histname);
in               1031 lib/widget/input.c     in->label = NULL;
in               1033 lib/widget/input.c     return in;
in               1041 lib/widget/input.c     WInput *in = INPUT (w);
in               1051 lib/widget/input.c         if (in->label != NULL)
in               1052 lib/widget/input.c             widget_set_state (WIDGET (in->label), WST_DISABLED, widget_get_state (w, WST_DISABLED));
in               1059 lib/widget/input.c             v = input_handle_char (in, ascii_alpha_to_cntrl (tty_getch ()));
in               1073 lib/widget/input.c             v = input_handle_char (in, '\n');
in               1078 lib/widget/input.c         return input_handle_char (in, parm);
in               1081 lib/widget/input.c         return input_execute_cmd (in, parm);
in               1084 lib/widget/input.c         input_update (in, FALSE);
in               1089 lib/widget/input.c         if (in->label != NULL)
in               1090 lib/widget/input.c             widget_set_state (WIDGET (in->label), WST_DISABLED, msg == MSG_DISABLE);
in               1094 lib/widget/input.c         widget_move (in, 0, str_term_width2 (in->buffer, in->point) - in->term_first_shown);
in               1102 lib/widget/input.c         input_destroy (in);
in               1124 lib/widget/input.c input_handle_char (WInput * in, int key)
in               1131 lib/widget/input.c         input_free_completions (in);
in               1132 lib/widget/input.c         v = insert_char (in, key);
in               1133 lib/widget/input.c         input_update (in, TRUE);
in               1144 lib/widget/input.c         if (in->first)
in               1145 lib/widget/input.c             port_region_marked_for_delete (in);
in               1146 lib/widget/input.c         input_free_completions (in);
in               1147 lib/widget/input.c         v = insert_char (in, key);
in               1152 lib/widget/input.c             input_free_completions (in);
in               1153 lib/widget/input.c         input_execute_cmd (in, command);
in               1155 lib/widget/input.c         if (in->first)
in               1156 lib/widget/input.c             input_update (in, TRUE);    /* needed to clear in->first */
in               1159 lib/widget/input.c     input_update (in, TRUE);
in               1169 lib/widget/input.c input_key_is_in_map (WInput * in, int key)
in               1173 lib/widget/input.c     (void) in;
in               1185 lib/widget/input.c input_assign_text (WInput * in, const char *text)
in               1187 lib/widget/input.c     Widget *w = WIDGET (in);
in               1193 lib/widget/input.c     input_free_completions (in);
in               1194 lib/widget/input.c     in->mark = -1;
in               1195 lib/widget/input.c     in->need_push = TRUE;
in               1196 lib/widget/input.c     in->charpoint = 0;
in               1200 lib/widget/input.c     in->current_max_size = buffer_len;
in               1202 lib/widget/input.c         in->buffer = g_realloc (in->buffer, buffer_len);
in               1203 lib/widget/input.c     memmove (in->buffer, text, text_len + 1);
in               1204 lib/widget/input.c     in->point = str_length (in->buffer);
in               1205 lib/widget/input.c     input_update (in, TRUE);
in               1211 lib/widget/input.c input_is_empty (const WInput * in)
in               1213 lib/widget/input.c     return (in == NULL || in->buffer == NULL || in->buffer[0] == '\0');
in               1220 lib/widget/input.c input_insert (WInput * in, const char *text, gboolean insert_extra_space)
in               1222 lib/widget/input.c     input_disable_update (in);
in               1224 lib/widget/input.c         input_handle_char (in, (unsigned char) *text++);        /* unsigned extension char->int */
in               1226 lib/widget/input.c         input_handle_char (in, ' ');
in               1227 lib/widget/input.c     input_enable_update (in);
in               1228 lib/widget/input.c     input_update (in, TRUE);
in               1234 lib/widget/input.c input_set_point (WInput * in, int pos)
in               1238 lib/widget/input.c     max_pos = str_length (in->buffer);
in               1240 lib/widget/input.c     if (pos != in->point)
in               1241 lib/widget/input.c         input_free_completions (in);
in               1242 lib/widget/input.c     in->point = pos;
in               1243 lib/widget/input.c     in->charpoint = 0;
in               1244 lib/widget/input.c     input_update (in, TRUE);
in               1250 lib/widget/input.c input_update (WInput * in, gboolean clear_first)
in               1252 lib/widget/input.c     Widget *w = WIDGET (in);
in               1258 lib/widget/input.c     if (in->disable_update != 0)
in               1265 lib/widget/input.c     if (should_show_history_button (in))
in               1268 lib/widget/input.c     buf_len = str_length (in->buffer);
in               1271 lib/widget/input.c     in->mark = MIN (in->mark, buf_len);
in               1273 lib/widget/input.c     pw = str_term_width2 (in->buffer, in->point);
in               1276 lib/widget/input.c     if ((pw < in->term_first_shown) || (pw >= in->term_first_shown + w->cols - has_history))
in               1278 lib/widget/input.c         in->term_first_shown = pw - (w->cols / 3);
in               1279 lib/widget/input.c         if (in->term_first_shown < 0)
in               1280 lib/widget/input.c             in->term_first_shown = 0;
in               1284 lib/widget/input.c         draw_history_button (in);
in               1288 lib/widget/input.c     else if (in->first)
in               1289 lib/widget/input.c         tty_setcolor (in->color[WINPUTC_UNCHANGED]);
in               1291 lib/widget/input.c         tty_setcolor (in->color[WINPUTC_MAIN]);
in               1293 lib/widget/input.c     widget_move (in, 0, 0);
in               1295 lib/widget/input.c     if (!in->is_password)
in               1297 lib/widget/input.c         if (in->mark < 0)
in               1298 lib/widget/input.c             tty_print_string (str_term_substring (in->buffer, in->term_first_shown,
in               1304 lib/widget/input.c             if (input_eval_marks (in, &m1, &m2))
in               1306 lib/widget/input.c                 tty_setcolor (in->color[WINPUTC_MAIN]);
in               1307 lib/widget/input.c                 cp = str_term_substring (in->buffer, in->term_first_shown, w->cols - has_history);
in               1309 lib/widget/input.c                 tty_setcolor (in->color[WINPUTC_MARK]);
in               1310 lib/widget/input.c                 if (m1 < in->term_first_shown)
in               1312 lib/widget/input.c                     widget_move (in, 0, 0);
in               1314 lib/widget/input.c                                       (in->buffer, in->term_first_shown,
in               1315 lib/widget/input.c                                        m2 - in->term_first_shown));
in               1321 lib/widget/input.c                     widget_move (in, 0, m1 - in->term_first_shown);
in               1322 lib/widget/input.c                     buf_width = str_term_width2 (in->buffer, m1);
in               1324 lib/widget/input.c                         MIN (m2 - m1, (w->cols - has_history) - (buf_width - in->term_first_shown));
in               1325 lib/widget/input.c                     tty_print_string (str_term_substring (in->buffer, m1, sel_width));
in               1334 lib/widget/input.c         cp = str_term_substring (in->buffer, in->term_first_shown, w->cols - has_history);
in               1335 lib/widget/input.c         tty_setcolor (in->color[WINPUTC_MAIN]);
in               1338 lib/widget/input.c             if (i < (buf_len - in->term_first_shown) && cp[0] != '\0')
in               1348 lib/widget/input.c         in->first = FALSE;
in               1354 lib/widget/input.c input_enable_update (WInput * in)
in               1356 lib/widget/input.c     in->disable_update--;
in               1357 lib/widget/input.c     input_update (in, FALSE);
in               1363 lib/widget/input.c input_disable_update (WInput * in)
in               1365 lib/widget/input.c     in->disable_update++;
in               1376 lib/widget/input.c input_clean (WInput * in)
in               1378 lib/widget/input.c     push_history (in, in->buffer);
in               1379 lib/widget/input.c     in->need_push = TRUE;
in               1380 lib/widget/input.c     in->buffer[0] = '\0';
in               1381 lib/widget/input.c     in->point = 0;
in               1382 lib/widget/input.c     in->charpoint = 0;
in               1383 lib/widget/input.c     in->mark = -1;
in               1384 lib/widget/input.c     input_free_completions (in);
in               1385 lib/widget/input.c     input_update (in, FALSE);
in               1391 lib/widget/input.c input_free_completions (WInput * in)
in               1393 lib/widget/input.c     g_strfreev (in->completions);
in               1394 lib/widget/input.c     in->completions = NULL;
in                 94 lib/widget/input.h cb_ret_t input_handle_char (WInput * in, int key);
in                 95 lib/widget/input.h int input_key_is_in_map (WInput * in, int key);
in                 96 lib/widget/input.h void input_assign_text (WInput * in, const char *text);
in                 97 lib/widget/input.h gboolean input_is_empty (const WInput * in);
in                 98 lib/widget/input.h void input_insert (WInput * in, const char *text, gboolean insert_extra_space);
in                 99 lib/widget/input.h void input_set_point (WInput * in, int pos);
in                100 lib/widget/input.h void input_update (WInput * in, gboolean clear_first);
in                101 lib/widget/input.h void input_enable_update (WInput * in);
in                102 lib/widget/input.h void input_disable_update (WInput * in);
in                103 lib/widget/input.h void input_clean (WInput * in);
in                104 lib/widget/input.h void input_free_completions (WInput * in);
in                108 lib/widget/input_complete.c void complete_engine_fill_completions (WInput * in);
in                981 lib/widget/input_complete.c insert_text (WInput * in, char *text, ssize_t size)
in                987 lib/widget/input_complete.c     buff_len = str_length (in->buffer);
in                989 lib/widget/input_complete.c     if (strlen (in->buffer) + size >= (size_t) in->current_max_size)
in                993 lib/widget/input_complete.c         Widget *w = WIDGET (in);
in                995 lib/widget/input_complete.c         narea = g_try_realloc (in->buffer, in->current_max_size + size + w->cols);
in                998 lib/widget/input_complete.c             in->buffer = narea;
in                999 lib/widget/input_complete.c             in->current_max_size += size + w->cols;
in               1002 lib/widget/input_complete.c     if (strlen (in->buffer) + 1 < (size_t) in->current_max_size)
in               1005 lib/widget/input_complete.c             memmove (in->buffer + end + size, in->buffer + end, strlen (&in->buffer[end]) + 1);
in               1006 lib/widget/input_complete.c         memmove (in->buffer + start, text, size - (start - end));
in               1007 lib/widget/input_complete.c         in->point += str_length (in->buffer) - buff_len;
in               1008 lib/widget/input_complete.c         input_update (in, TRUE);
in               1197 lib/widget/input_complete.c complete_engine (WInput * in, int what_to_do)
in               1199 lib/widget/input_complete.c     if (in->completions != NULL && str_offset_to_pos (in->buffer, in->point) != end)
in               1200 lib/widget/input_complete.c         input_free_completions (in);
in               1202 lib/widget/input_complete.c     if (in->completions == NULL)
in               1203 lib/widget/input_complete.c         complete_engine_fill_completions (in);
in               1205 lib/widget/input_complete.c     if (in->completions == NULL)
in               1210 lib/widget/input_complete.c             || ((what_to_do & DO_QUERY) != 0 && in->completions[1] == NULL))
in               1212 lib/widget/input_complete.c             char *lc_complete = in->completions[0];
in               1214 lib/widget/input_complete.c             if (!insert_text (in, lc_complete, strlen (lc_complete)) || in->completions[1] != NULL)
in               1217 lib/widget/input_complete.c                 input_free_completions (in);
in               1220 lib/widget/input_complete.c         if ((what_to_do & DO_QUERY) != 0 && in->completions != NULL && in->completions[1] != NULL)
in               1229 lib/widget/input_complete.c             for (p = in->completions + 1; *p != NULL; count++, p++)
in               1236 lib/widget/input_complete.c             start_x = WIDGET (in)->x;
in               1237 lib/widget/input_complete.c             start_y = WIDGET (in)->y;
in               1253 lib/widget/input_complete.c             x = start - in->term_first_shown - 2 + start_x;
in               1262 lib/widget/input_complete.c             input = in;
in               1272 lib/widget/input_complete.c             for (p = in->completions + 1; *p != NULL; p++)
in               1281 lib/widget/input_complete.c                     insert_text (in, q, strlen (q));
in               1284 lib/widget/input_complete.c                 input_free_completions (in);
in               1400 lib/widget/input_complete.c complete_engine_fill_completions (WInput * in)
in               1405 lib/widget/input_complete.c     word_separators = (in->completion_flags & INPUT_COMPLETE_SHELL_ESC) ? " \t;|<>" : "\t;|<>";
in               1407 lib/widget/input_complete.c     end = str_offset_to_pos (in->buffer, in->point);
in               1409 lib/widget/input_complete.c     s = in->buffer;
in               1410 lib/widget/input_complete.c     if (in->point != 0)
in               1415 lib/widget/input_complete.c         for (i = in->point - 1; i > 0; i--)
in               1419 lib/widget/input_complete.c     for (; s >= in->buffer; str_prev_char (&s))
in               1421 lib/widget/input_complete.c         start = s - in->buffer;
in               1422 lib/widget/input_complete.c         if (strchr (word_separators, *s) != NULL && !strutils_is_char_escaped (in->buffer, s))
in               1429 lib/widget/input_complete.c         start = s - in->buffer;
in               1432 lib/widget/input_complete.c     in->completions = try_complete (in->buffer, &start, &end, in->completion_flags);
in               1439 lib/widget/input_complete.c complete (WInput * in)
in               1443 lib/widget/input_complete.c     if (!str_is_valid_string (in->buffer))
in               1446 lib/widget/input_complete.c     if (in->completions != NULL)
in               1456 lib/widget/input_complete.c     while (complete_engine (in, engine_flags))
in                 14 lib/widget/input_complete.h void complete (WInput * in);
in                 71 lib/widget/quick.c     WInput *in;
in                 73 lib/widget/quick.c     in = input_new (y, x, input_colors, 8, qw->u.input.text, qw->u.input.histname,
in                 76 lib/widget/quick.c     in->is_password = qw->u.input.is_passwd;
in                 77 lib/widget/quick.c     in->strip_password = qw->u.input.strip_passwd;
in                 79 lib/widget/quick.c     return in;
in                 88 lib/widget/quick.c     quick_widget_item_t in, label;
in                104 lib/widget/quick.c         in.widget = WIDGET (quick_create_input (++(*y), x, quick_widget));
in                105 lib/widget/quick.c         in.quick_widget = quick_widget;
in                106 lib/widget/quick.c         g_array_append_val (widgets, in);
in                108 lib/widget/quick.c         *width = MAX (label.widget->cols, in.widget->cols);
in                115 lib/widget/quick.c         in.widget = WIDGET (quick_create_input (*y, x + label.widget->cols + 1, quick_widget));
in                116 lib/widget/quick.c         in.quick_widget = quick_widget;
in                117 lib/widget/quick.c         g_array_append_val (widgets, in);
in                119 lib/widget/quick.c         *width = label.widget->cols + in.widget->cols + 1;
in                123 lib/widget/quick.c         in.widget = WIDGET (quick_create_input (*y, x, quick_widget));
in                124 lib/widget/quick.c         in.quick_widget = quick_widget;
in                125 lib/widget/quick.c         g_array_append_val (widgets, in);
in                129 lib/widget/quick.c                     (*y, x + in.widget->cols + 1, I18N (quick_widget->u.input.label_text)));
in                132 lib/widget/quick.c         *width = label.widget->cols + in.widget->cols + 1;
in                136 lib/widget/quick.c         in.widget = WIDGET (quick_create_input (*y, x, quick_widget));
in                137 lib/widget/quick.c         in.quick_widget = quick_widget;
in                138 lib/widget/quick.c         g_array_append_val (widgets, in);
in                144 lib/widget/quick.c         *width = MAX (label.widget->cols, in.widget->cols);
in                151 lib/widget/quick.c     INPUT (in.widget)->label = LABEL (label.widget);
in                153 lib/widget/quick.c     label.quick_widget->u.label.input = in.quick_widget;
in                154 lib/widget/quick.c     in.quick_widget->u.input.label = label.quick_widget;
in                304 src/filemanager/boxes.c             WInput *in;
in                306 src/filemanager/boxes.c             in = INPUT (dlg_find_by_id (h, mini_user_format_id));
in                310 src/filemanager/boxes.c                 widget_disable (WIDGET (in), FALSE);
in                311 src/filemanager/boxes.c                 input_assign_text (in, status_format[3]);
in                318 src/filemanager/boxes.c                 widget_disable (WIDGET (in), TRUE);
in                319 src/filemanager/boxes.c                 input_assign_text (in, status_format[r->sel]);
in                503 src/filemanager/command.c command_insert (WInput * in, const char *text, gboolean insert_extra_space)
in                508 src/filemanager/command.c     input_insert (in, quoted_text, insert_extra_space);
in                 25 src/filemanager/command.h void command_insert (WInput * in, const char *text, gboolean insert_extra_space);
in                 45 src/vfs/smbfs/helpers/include/proto.h void mdfour (unsigned char *out, unsigned char *in, int n);
in                358 src/vfs/smbfs/helpers/include/proto.h void D_P16 (unsigned char *p14, unsigned char *in, unsigned char *out);
in                359 src/vfs/smbfs/helpers/include/proto.h void E_old_pw_hash (unsigned char *p14, unsigned char *in, unsigned char *out);
in                360 src/vfs/smbfs/helpers/include/proto.h void cred_hash1 (unsigned char *out, unsigned char *in, unsigned char *key);
in                361 src/vfs/smbfs/helpers/include/proto.h void cred_hash2 (unsigned char *out, unsigned char *in, unsigned char *key);
in                362 src/vfs/smbfs/helpers/include/proto.h void cred_hash3 (unsigned char *out, unsigned char *in, unsigned char *key, int forw);
in                147 src/vfs/smbfs/helpers/lib/md4.c copy64 (uint32 * M, unsigned char *in)
in                152 src/vfs/smbfs/helpers/lib/md4.c         M[i] = (in[i * 4 + 3] << 24) | (in[i * 4 + 2] << 16) |
in                153 src/vfs/smbfs/helpers/lib/md4.c             (in[i * 4 + 1] << 8) | (in[i * 4 + 0] << 0);
in                167 src/vfs/smbfs/helpers/lib/md4.c mdfour (unsigned char *out, unsigned char *in, int n)
in                181 src/vfs/smbfs/helpers/lib/md4.c         copy64 (M, in);
in                183 src/vfs/smbfs/helpers/lib/md4.c         in += 64;
in                189 src/vfs/smbfs/helpers/lib/md4.c     memcpy (buf, in, n);
in                263 src/vfs/smbfs/helpers/lib/util.c name_interpret (char *in, char *out)
in                266 src/vfs/smbfs/helpers/lib/util.c     int len = (*in++) / 2;
in                275 src/vfs/smbfs/helpers/lib/util.c         if (in[0] < 'A' || in[0] > 'P' || in[1] < 'A' || in[1] > 'P')
in                280 src/vfs/smbfs/helpers/lib/util.c         *out = ((in[0] - 'A') << 4) + (in[1] - 'A');
in                281 src/vfs/smbfs/helpers/lib/util.c         in += 2;
in                289 src/vfs/smbfs/helpers/lib/util.c     while (*in)
in                292 src/vfs/smbfs/helpers/lib/util.c         len = *(unsigned char *) in++;
in                293 src/vfs/smbfs/helpers/lib/util.c         StrnCpy (out, in, len);
in                296 src/vfs/smbfs/helpers/lib/util.c         in += len;
in                163 src/vfs/smbfs/helpers/libsmb/smbdes.c permute (char *out, char *in, uchar * p, int n)
in                167 src/vfs/smbfs/helpers/libsmb/smbdes.c         out[i] = in[p[i] - 1];
in                199 src/vfs/smbfs/helpers/libsmb/smbdes.c dohash (char *out, char *in, char *key, int forw)
in                227 src/vfs/smbfs/helpers/libsmb/smbdes.c     permute (pd1, in, perm3, 64);
in                303 src/vfs/smbfs/helpers/libsmb/smbdes.c smbhash (unsigned char *out, unsigned char *in, unsigned char *key, int forw)
in                315 src/vfs/smbfs/helpers/libsmb/smbdes.c         inb[i] = (in[i / 8] & (1 << (7 - (i % 8)))) ? 1 : 0;
in                352 src/vfs/smbfs/helpers/libsmb/smbdes.c D_P16 (unsigned char *p14, unsigned char *in, unsigned char *out)
in                354 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out, in, p14, 0);
in                355 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out + 8, in + 8, p14 + 7, 0);
in                359 src/vfs/smbfs/helpers/libsmb/smbdes.c E_old_pw_hash (unsigned char *p14, unsigned char *in, unsigned char *out)
in                361 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out, in, p14, 1);
in                362 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out + 8, in + 8, p14 + 7, 1);
in                366 src/vfs/smbfs/helpers/libsmb/smbdes.c cred_hash1 (unsigned char *out, unsigned char *in, unsigned char *key)
in                370 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (buf, in, key, 1);
in                375 src/vfs/smbfs/helpers/libsmb/smbdes.c cred_hash2 (unsigned char *out, unsigned char *in, unsigned char *key)
in                380 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (buf, in, key, 1);
in                386 src/vfs/smbfs/helpers/libsmb/smbdes.c cred_hash3 (unsigned char *out, unsigned char *in, unsigned char *key, int forw)
in                390 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out, in, key, forw);
in                392 src/vfs/smbfs/helpers/libsmb/smbdes.c     smbhash (out + 8, in + 8, key2, forw);
in                 35 tests/lib/widget/complete_engine.c void complete_engine_fill_completions (WInput * in);