hd                152 lib/widget/history.c history_create_item (history_descriptor_t * hd, void *data)
hd                158 lib/widget/history.c     hd->max_width = MAX (width, hd->max_width);
hd                160 lib/widget/history.c     listbox_add_item (hd->listbox, LISTBOX_APPEND_AT_END, 0, text, NULL, TRUE);
hd                166 lib/widget/history.c history_release_item (history_descriptor_t * hd, WLEntry * le)
hd                170 lib/widget/history.c     (void) hd;
hd                183 lib/widget/history.c history_descriptor_init (history_descriptor_t * hd, int y, int x, GList * history, int current)
hd                185 lib/widget/history.c     hd->list = history;
hd                186 lib/widget/history.c     hd->y = y;
hd                187 lib/widget/history.c     hd->x = x;
hd                188 lib/widget/history.c     hd->current = current;
hd                189 lib/widget/history.c     hd->action = CK_IgnoreKey;
hd                190 lib/widget/history.c     hd->text = NULL;
hd                191 lib/widget/history.c     hd->max_width = 0;
hd                192 lib/widget/history.c     hd->listbox = listbox_new (1, 1, 2, 2, TRUE, NULL);
hd                194 lib/widget/history.c     hd->create = history_create_item;
hd                195 lib/widget/history.c     hd->release = history_release_item;
hd                196 lib/widget/history.c     hd->free = g_free;
hd                202 lib/widget/history.c history_show (history_descriptor_t * hd)
hd                210 lib/widget/history.c     if (hd == NULL || hd->list == NULL)
hd                213 lib/widget/history.c     hd->max_width = str_term_width1 (_("History")) + 2;
hd                215 lib/widget/history.c     for (z = hd->list; z != NULL; z = g_list_previous (z))
hd                216 lib/widget/history.c         hd->create (hd, z->data);
hd                219 lib/widget/history.c     count = listbox_get_length (hd->listbox);
hd                221 lib/widget/history.c     hist_data.y = hd->y;
hd                222 lib/widget/history.c     hist_data.x = hd->x;
hd                224 lib/widget/history.c     hist_data.max_width = hd->max_width;
hd                233 lib/widget/history.c     add_widget_autopos (query_dlg, hd->listbox, WPOS_KEEP_ALL, NULL);
hd                242 lib/widget/history.c     if (WIDGET (query_dlg)->y < hd->y)
hd                246 lib/widget/history.c         g_queue_reverse (hd->listbox->list);
hd                247 lib/widget/history.c         if (hd->current < 0 || (size_t) hd->current >= count)
hd                248 lib/widget/history.c             listbox_select_last (hd->listbox);
hd                250 lib/widget/history.c             listbox_select_entry (hd->listbox, count - 1 - (size_t) hd->current);
hd                255 lib/widget/history.c         if (hd->current > 0)
hd                256 lib/widget/history.c             listbox_select_entry (hd->listbox, hd->current);
hd                267 lib/widget/history.c             hd->action = CK_Edit;
hd                270 lib/widget/history.c             hd->action = CK_View;
hd                273 lib/widget/history.c             hd->action = CK_Enter;
hd                276 lib/widget/history.c         listbox_get_current (hd->listbox, &q, NULL);
hd                277 lib/widget/history.c         hd->text = g_strdup (q);
hd                282 lib/widget/history.c     for (hi = listbox_get_first_link (hd->listbox); hi != NULL; hi = g_list_next (hi))
hd                284 lib/widget/history.c         z = g_list_prepend (z, hd->release (hd, LENTRY (hi->data)));
hd                287 lib/widget/history.c     if (WIDGET (query_dlg)->y >= hd->y)
hd                292 lib/widget/history.c     hd->list = g_list_first (hd->list);
hd                293 lib/widget/history.c     g_list_free_full (hd->list, hd->free);
hd                294 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                175 lib/widget/input.c     history_descriptor_t hd;
hd                179 lib/widget/input.c     history_descriptor_init (&hd, WIDGET (in)->y, WIDGET (in)->x, in->history.list,
hd                181 lib/widget/input.c     history_show (&hd);
hd                183 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                232 src/file_history.c         file_history_list_write (hd.list);
hd                234 src/file_history.c     g_list_free_full (hd.list, (GDestroyNotify) file_history_free_item);
hd                236 src/file_history.c     *action = hd.action;
hd                238 src/file_history.c     return hd.text;
hd               3354 src/filemanager/panel.c     history_descriptor_t hd;
hd               3360 src/filemanager/panel.c     history_descriptor_init (&hd, WIDGET (panel)->y, WIDGET (panel)->x, panel->dir_history,
hd               3362 src/filemanager/panel.c     history_show (&hd);
hd               3364 src/filemanager/panel.c     panel->dir_history = hd.list;
hd               3365 src/filemanager/panel.c     if (hd.text != NULL)
hd               3369 src/filemanager/panel.c         s_vpath = vfs_path_from_str (hd.text);
hd               3376 src/filemanager/panel.c         g_free (hd.text);
hd                624 src/vfs/cpio/cpio.c     struct new_cpio_header hd;
hd                639 src/vfs/cpio/cpio.c                 (unsigned long *) &hd.c_dev, &hd.c_ino, &hd.c_mode, &hd.c_uid, &hd.c_gid,
hd                640 src/vfs/cpio/cpio.c                 &hd.c_nlink, (unsigned long *) &hd.c_rdev, &hd.c_mtime,
hd                641 src/vfs/cpio/cpio.c                 &hd.c_namesize, &hd.c_filesize) < 10)
hd                647 src/vfs/cpio/cpio.c     if (hd.c_namesize == 0 || hd.c_namesize > MC_MAXPATHLEN)
hd                652 src/vfs/cpio/cpio.c     name = g_malloc (hd.c_namesize);
hd                653 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, hd.c_namesize);
hd                654 src/vfs/cpio/cpio.c     if ((len == -1) || ((unsigned long) len < hd.c_namesize))
hd                659 src/vfs/cpio/cpio.c     name[hd.c_namesize - 1] = '\0';
hd                669 src/vfs/cpio/cpio.c     u.st.st_dev = hd.c_dev;
hd                670 src/vfs/cpio/cpio.c     u.st.st_ino = hd.c_ino;
hd                671 src/vfs/cpio/cpio.c     u.st.st_mode = hd.c_mode;
hd                672 src/vfs/cpio/cpio.c     u.st.st_nlink = hd.c_nlink;
hd                673 src/vfs/cpio/cpio.c     u.st.st_uid = hd.c_uid;
hd                674 src/vfs/cpio/cpio.c     u.st.st_gid = hd.c_gid;
hd                676 src/vfs/cpio/cpio.c     u.st.st_rdev = hd.c_rdev;
hd                678 src/vfs/cpio/cpio.c     u.st.st_size = hd.c_filesize;
hd                682 src/vfs/cpio/cpio.c     u.st.st_atime = u.st.st_mtime = u.st.st_ctime = hd.c_mtime;
hd                696 src/vfs/cpio/cpio.c     struct new_cpio_header hd;
hd                712 src/vfs/cpio/cpio.c                 &hd.c_magic, &hd.c_ino, &hd.c_mode, &hd.c_uid, &hd.c_gid,
hd                713 src/vfs/cpio/cpio.c                 &hd.c_nlink, &hd.c_mtime, &hd.c_filesize,
hd                714 src/vfs/cpio/cpio.c                 (unsigned long *) &hd.c_dev, (unsigned long *) &hd.c_devmin,
hd                715 src/vfs/cpio/cpio.c                 (unsigned long *) &hd.c_rdev, (unsigned long *) &hd.c_rdevmin,
hd                716 src/vfs/cpio/cpio.c                 &hd.c_namesize, &hd.c_chksum) < 14)
hd                722 src/vfs/cpio/cpio.c     if ((arch->type == CPIO_NEWC && hd.c_magic != 070701) ||
hd                723 src/vfs/cpio/cpio.c         (arch->type == CPIO_CRC && hd.c_magic != 070702))
hd                726 src/vfs/cpio/cpio.c     if (hd.c_namesize == 0 || hd.c_namesize > MC_MAXPATHLEN)
hd                732 src/vfs/cpio/cpio.c     name = g_malloc (hd.c_namesize);
hd                733 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, hd.c_namesize);
hd                735 src/vfs/cpio/cpio.c     if ((len == -1) || ((unsigned long) len < hd.c_namesize))
hd                740 src/vfs/cpio/cpio.c     name[hd.c_namesize - 1] = '\0';
hd                750 src/vfs/cpio/cpio.c     u.st.st_dev = makedev (hd.c_dev, hd.c_devmin);
hd                751 src/vfs/cpio/cpio.c     u.st.st_ino = hd.c_ino;
hd                752 src/vfs/cpio/cpio.c     u.st.st_mode = hd.c_mode;
hd                753 src/vfs/cpio/cpio.c     u.st.st_nlink = hd.c_nlink;
hd                754 src/vfs/cpio/cpio.c     u.st.st_uid = hd.c_uid;
hd                755 src/vfs/cpio/cpio.c     u.st.st_gid = hd.c_gid;
hd                757 src/vfs/cpio/cpio.c     u.st.st_rdev = makedev (hd.c_rdev, hd.c_rdevmin);
hd                759 src/vfs/cpio/cpio.c     u.st.st_size = hd.c_filesize;
hd                763 src/vfs/cpio/cpio.c     u.st.st_atime = u.st.st_mtime = u.st.st_ctime = hd.c_mtime;