hd                153 lib/widget/history.c history_create_item (history_descriptor_t * hd, void *data)
hd                159 lib/widget/history.c     hd->max_width = MAX (width, hd->max_width);
hd                161 lib/widget/history.c     listbox_add_item (hd->listbox, LISTBOX_APPEND_AT_END, 0, text, NULL, TRUE);
hd                167 lib/widget/history.c history_release_item (history_descriptor_t * hd, WLEntry * le)
hd                171 lib/widget/history.c     (void) hd;
hd                184 lib/widget/history.c history_descriptor_init (history_descriptor_t * hd, int y, int x, GList * history, int current)
hd                186 lib/widget/history.c     hd->list = history;
hd                187 lib/widget/history.c     hd->y = y;
hd                188 lib/widget/history.c     hd->x = x;
hd                189 lib/widget/history.c     hd->current = current;
hd                190 lib/widget/history.c     hd->action = CK_IgnoreKey;
hd                191 lib/widget/history.c     hd->text = NULL;
hd                192 lib/widget/history.c     hd->max_width = 0;
hd                193 lib/widget/history.c     hd->listbox = listbox_new (1, 1, 2, 2, TRUE, NULL);
hd                195 lib/widget/history.c     hd->create = history_create_item;
hd                196 lib/widget/history.c     hd->release = history_release_item;
hd                197 lib/widget/history.c     hd->free = g_free;
hd                203 lib/widget/history.c history_show (history_descriptor_t * hd)
hd                211 lib/widget/history.c     if (hd == NULL || hd->list == NULL)
hd                214 lib/widget/history.c     hd->max_width = str_term_width1 (_("History")) + 2;
hd                216 lib/widget/history.c     for (z = hd->list; z != NULL; z = g_list_previous (z))
hd                217 lib/widget/history.c         hd->create (hd, z->data);
hd                220 lib/widget/history.c     count = listbox_get_length (hd->listbox);
hd                222 lib/widget/history.c     hist_data.y = hd->y;
hd                223 lib/widget/history.c     hist_data.x = hd->x;
hd                225 lib/widget/history.c     hist_data.max_width = hd->max_width;
hd                234 lib/widget/history.c     group_add_widget_autopos (GROUP (query_dlg), hd->listbox, WPOS_KEEP_ALL, NULL);
hd                243 lib/widget/history.c     if (WIDGET (query_dlg)->y < hd->y)
hd                247 lib/widget/history.c         g_queue_reverse (hd->listbox->list);
hd                248 lib/widget/history.c         if (hd->current < 0 || (size_t) hd->current >= count)
hd                249 lib/widget/history.c             listbox_select_last (hd->listbox);
hd                251 lib/widget/history.c             listbox_select_entry (hd->listbox, count - 1 - (size_t) hd->current);
hd                256 lib/widget/history.c         if (hd->current > 0)
hd                257 lib/widget/history.c             listbox_select_entry (hd->listbox, hd->current);
hd                268 lib/widget/history.c             hd->action = CK_Edit;
hd                271 lib/widget/history.c             hd->action = CK_View;
hd                274 lib/widget/history.c             hd->action = CK_Enter;
hd                277 lib/widget/history.c         listbox_get_current (hd->listbox, &q, NULL);
hd                278 lib/widget/history.c         hd->text = g_strdup (q);
hd                283 lib/widget/history.c     for (hi = listbox_get_first_link (hd->listbox); hi != NULL; hi = g_list_next (hi))
hd                285 lib/widget/history.c         z = g_list_prepend (z, hd->release (hd, LENTRY (hi->data)));
hd                288 lib/widget/history.c     if (WIDGET (query_dlg)->y < hd->y)
hd                293 lib/widget/history.c     hd->list = g_list_first (hd->list);
hd                294 lib/widget/history.c     g_list_free_full (hd->list, hd->free);
hd                295 lib/widget/history.c     hd->list = g_list_last (z);
hd                 16 lib/widget/history.h typedef void (*history_create_item_func) (struct history_descriptor_t * hd, void *data);
hd                 17 lib/widget/history.h typedef void *(*history_release_item_func) (struct history_descriptor_t * hd, struct WLEntry * le);
hd                 44 lib/widget/history.h void history_descriptor_init (history_descriptor_t * hd, int y, int x, GList * history,
hd                 47 lib/widget/history.h void history_show (history_descriptor_t * hd);
hd                172 lib/widget/input.c     history_descriptor_t hd;
hd                176 lib/widget/input.c     history_descriptor_init (&hd, WIDGET (in)->y, WIDGET (in)->x, in->history.list,
hd                178 lib/widget/input.c     history_show (&hd);
hd                182 lib/widget/input.c     in->history.list = hd.list;
hd                184 lib/widget/input.c     if (hd.text != NULL)
hd                186 lib/widget/input.c         input_assign_text (in, hd.text);
hd                187 lib/widget/input.c         g_free (hd.text);
hd                150 src/file_history.c file_history_create_item (history_descriptor_t * hd, void *data)
hd                156 src/file_history.c     hd->max_width = MAX (width, hd->max_width);
hd                158 src/file_history.c     listbox_add_item (hd->listbox, LISTBOX_APPEND_AT_END, 0, fhd->file_name, fhd->file_pos, TRUE);
hd                166 src/file_history.c file_history_release_item (history_descriptor_t * hd, WLEntry * le)
hd                170 src/file_history.c     (void) hd;
hd                210 src/file_history.c     history_descriptor_t hd;
hd                220 src/file_history.c     history_descriptor_init (&hd, w->y, w->x, file_list, 0);
hd                222 src/file_history.c     hd.create = file_history_create_item;
hd                223 src/file_history.c     hd.release = file_history_release_item;
hd                224 src/file_history.c     hd.free = file_history_free_item;
hd                226 src/file_history.c     history_show (&hd);
hd                228 src/file_history.c     hd.list = g_list_first (hd.list);
hd                231 src/file_history.c     if (len != g_list_length (hd.list))
hd                233 src/file_history.c         hd.list = g_list_reverse (hd.list);
hd                234 src/file_history.c         file_history_list_write (hd.list);
hd                237 src/file_history.c     g_list_free_full (hd.list, (GDestroyNotify) file_history_free_item);
hd                239 src/file_history.c     *action = hd.action;
hd                241 src/file_history.c     return hd.text;
hd               3363 src/filemanager/panel.c     history_descriptor_t hd;
hd               3369 src/filemanager/panel.c     history_descriptor_init (&hd, WIDGET (panel)->y, WIDGET (panel)->x, panel->dir_history.list,
hd               3371 src/filemanager/panel.c     history_show (&hd);
hd               3373 src/filemanager/panel.c     panel->dir_history.list = hd.list;
hd               3374 src/filemanager/panel.c     if (hd.text != NULL)
hd               3378 src/filemanager/panel.c         s_vpath = vfs_path_from_str (hd.text);
hd               3385 src/filemanager/panel.c         g_free (hd.text);
hd                625 src/vfs/cpio/cpio.c     struct new_cpio_header hd;
hd                640 src/vfs/cpio/cpio.c                 (unsigned long *) &hd.c_dev, &hd.c_ino, &hd.c_mode, &hd.c_uid, &hd.c_gid,
hd                641 src/vfs/cpio/cpio.c                 &hd.c_nlink, (unsigned long *) &hd.c_rdev, &hd.c_mtime,
hd                642 src/vfs/cpio/cpio.c                 &hd.c_namesize, &hd.c_filesize) < 10)
hd                648 src/vfs/cpio/cpio.c     if (hd.c_namesize == 0 || hd.c_namesize > MC_MAXPATHLEN)
hd                653 src/vfs/cpio/cpio.c     name = g_malloc (hd.c_namesize);
hd                654 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, hd.c_namesize);
hd                655 src/vfs/cpio/cpio.c     if ((len == -1) || ((unsigned long) len < hd.c_namesize))
hd                660 src/vfs/cpio/cpio.c     name[hd.c_namesize - 1] = '\0';
hd                670 src/vfs/cpio/cpio.c     u.st.st_dev = hd.c_dev;
hd                671 src/vfs/cpio/cpio.c     u.st.st_ino = hd.c_ino;
hd                672 src/vfs/cpio/cpio.c     u.st.st_mode = hd.c_mode;
hd                673 src/vfs/cpio/cpio.c     u.st.st_nlink = hd.c_nlink;
hd                674 src/vfs/cpio/cpio.c     u.st.st_uid = hd.c_uid;
hd                675 src/vfs/cpio/cpio.c     u.st.st_gid = hd.c_gid;
hd                677 src/vfs/cpio/cpio.c     u.st.st_rdev = hd.c_rdev;
hd                679 src/vfs/cpio/cpio.c     u.st.st_size = hd.c_filesize;
hd                683 src/vfs/cpio/cpio.c     u.st.st_atime = u.st.st_mtime = u.st.st_ctime = hd.c_mtime;
hd                697 src/vfs/cpio/cpio.c     struct new_cpio_header hd;
hd                713 src/vfs/cpio/cpio.c                 &hd.c_magic, &hd.c_ino, &hd.c_mode, &hd.c_uid, &hd.c_gid,
hd                714 src/vfs/cpio/cpio.c                 &hd.c_nlink, &hd.c_mtime, &hd.c_filesize,
hd                715 src/vfs/cpio/cpio.c                 (unsigned long *) &hd.c_dev, (unsigned long *) &hd.c_devmin,
hd                716 src/vfs/cpio/cpio.c                 (unsigned long *) &hd.c_rdev, (unsigned long *) &hd.c_rdevmin,
hd                717 src/vfs/cpio/cpio.c                 &hd.c_namesize, &hd.c_chksum) < 14)
hd                723 src/vfs/cpio/cpio.c     if ((arch->type == CPIO_NEWC && hd.c_magic != 070701) ||
hd                724 src/vfs/cpio/cpio.c         (arch->type == CPIO_CRC && hd.c_magic != 070702))
hd                727 src/vfs/cpio/cpio.c     if (hd.c_namesize == 0 || hd.c_namesize > MC_MAXPATHLEN)
hd                733 src/vfs/cpio/cpio.c     name = g_malloc (hd.c_namesize);
hd                734 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, hd.c_namesize);
hd                736 src/vfs/cpio/cpio.c     if ((len == -1) || ((unsigned long) len < hd.c_namesize))
hd                741 src/vfs/cpio/cpio.c     name[hd.c_namesize - 1] = '\0';
hd                751 src/vfs/cpio/cpio.c     u.st.st_dev = makedev (hd.c_dev, hd.c_devmin);
hd                752 src/vfs/cpio/cpio.c     u.st.st_ino = hd.c_ino;
hd                753 src/vfs/cpio/cpio.c     u.st.st_mode = hd.c_mode;
hd                754 src/vfs/cpio/cpio.c     u.st.st_nlink = hd.c_nlink;
hd                755 src/vfs/cpio/cpio.c     u.st.st_uid = hd.c_uid;
hd                756 src/vfs/cpio/cpio.c     u.st.st_gid = hd.c_gid;
hd                758 src/vfs/cpio/cpio.c     u.st.st_rdev = makedev (hd.c_rdev, hd.c_rdevmin);
hd                760 src/vfs/cpio/cpio.c     u.st.st_size = hd.c_filesize;
hd                764 src/vfs/cpio/cpio.c     u.st.st_atime = u.st.st_mtime = u.st.st_ctime = hd.c_mtime;