Files
source/Y/hd.html
github-actions[bot] 08571174ab Deploy to GitHub Pages
2026-02-01 17:32:02 +00:00

137 lines
21 KiB
HTML

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>hd</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.11' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--widget--history.c.html#L164'>hd</a> 164 lib/widget/history.c history_create_item (history_descriptor_t *hd, void *data)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L170'>hd</a> 170 lib/widget/history.c hd-&gt;max_width = MAX (width, hd-&gt;max_width);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L172'>hd</a> 172 lib/widget/history.c listbox_add_item (hd-&gt;listbox, LISTBOX_APPEND_AT_END, 0, text, NULL, TRUE);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L178'>hd</a> 178 lib/widget/history.c history_release_item (history_descriptor_t *hd, WLEntry *le)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L182'>hd</a> 182 lib/widget/history.c (void) hd;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L263'>hd</a> 263 lib/widget/history.c history_descriptor_init (history_descriptor_t *hd, int y, int x, GList *history, int current)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L265'>hd</a> 265 lib/widget/history.c hd-&gt;list = history;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L266'>hd</a> 266 lib/widget/history.c hd-&gt;y = y;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L267'>hd</a> 267 lib/widget/history.c hd-&gt;x = x;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L268'>hd</a> 268 lib/widget/history.c hd-&gt;current = current;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L269'>hd</a> 269 lib/widget/history.c hd-&gt;action = CK_IgnoreKey;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L270'>hd</a> 270 lib/widget/history.c hd-&gt;text = NULL;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L271'>hd</a> 271 lib/widget/history.c hd-&gt;max_width = 0;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L272'>hd</a> 272 lib/widget/history.c hd-&gt;listbox = listbox_new (1, 1, 2, 2, TRUE, NULL);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L274'>hd</a> 274 lib/widget/history.c hd-&gt;create = history_create_item;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L275'>hd</a> 275 lib/widget/history.c hd-&gt;release = history_release_item;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L276'>hd</a> 276 lib/widget/history.c hd-&gt;free = g_free;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L282'>hd</a> 282 lib/widget/history.c history_show (history_descriptor_t *hd)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L290'>hd</a> 290 lib/widget/history.c if (hd == NULL || hd-&gt;list == NULL)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L293'>hd</a> 293 lib/widget/history.c hd-&gt;max_width = str_term_width1 (_ ("History")) + 2;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L295'>hd</a> 295 lib/widget/history.c for (z = hd-&gt;list; z != NULL; z = g_list_previous (z))</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L296'>hd</a> 296 lib/widget/history.c hd-&gt;create (hd, z-&gt;data);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L299'>hd</a> 299 lib/widget/history.c count = listbox_get_length (hd-&gt;listbox);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L301'>hd</a> 301 lib/widget/history.c hist_data.y = hd-&gt;y;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L302'>hd</a> 302 lib/widget/history.c hist_data.x = hd-&gt;x;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L304'>hd</a> 304 lib/widget/history.c hist_data.max_width = hd-&gt;max_width;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L312'>hd</a> 312 lib/widget/history.c group_add_widget_autopos (GROUP (query_dlg), hd-&gt;listbox, WPOS_KEEP_ALL, NULL);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L321'>hd</a> 321 lib/widget/history.c if (WIDGET (query_dlg)-&gt;rect.y &lt; hd-&gt;y)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L325'>hd</a> 325 lib/widget/history.c g_queue_reverse (hd-&gt;listbox-&gt;list);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L326'>hd</a> 326 lib/widget/history.c if (hd-&gt;current &lt; 0 || (size_t) hd-&gt;current &gt;= count)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L327'>hd</a> 327 lib/widget/history.c listbox_select_last (hd-&gt;listbox);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L329'>hd</a> 329 lib/widget/history.c listbox_set_current (hd-&gt;listbox, count - 1 - (size_t) hd-&gt;current);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L334'>hd</a> 334 lib/widget/history.c if (hd-&gt;current &gt; 0)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L335'>hd</a> 335 lib/widget/history.c listbox_set_current (hd-&gt;listbox, hd-&gt;current);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L346'>hd</a> 346 lib/widget/history.c hd-&gt;action = CK_Edit;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L349'>hd</a> 349 lib/widget/history.c hd-&gt;action = CK_View;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L352'>hd</a> 352 lib/widget/history.c hd-&gt;action = CK_Enter;</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L355'>hd</a> 355 lib/widget/history.c listbox_get_current (hd-&gt;listbox, &amp;q, NULL);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L356'>hd</a> 356 lib/widget/history.c hd-&gt;text = g_strdup (q);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L361'>hd</a> 361 lib/widget/history.c for (hi = listbox_get_first_link (hd-&gt;listbox); hi != NULL; hi = g_list_next (hi))</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L363'>hd</a> 363 lib/widget/history.c z = g_list_prepend (z, hd-&gt;release (hd, LENTRY (hi-&gt;data)));</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L366'>hd</a> 366 lib/widget/history.c if (WIDGET (query_dlg)-&gt;rect.y &lt; hd-&gt;y)</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L371'>hd</a> 371 lib/widget/history.c hd-&gt;list = g_list_first (hd-&gt;list);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L372'>hd</a> 372 lib/widget/history.c g_list_free_full (hd-&gt;list, hd-&gt;free);</span>
<span class='curline'><a href='../S/lib--widget--history.c.html#L373'>hd</a> 373 lib/widget/history.c hd-&gt;list = g_list_last (z);</span>
<span class='curline'><a href='../S/lib--widget--history.h.html#L16'>hd</a> 16 lib/widget/history.h typedef void (*history_create_item_func) (struct history_descriptor_t *hd, void *data);</span>
<span class='curline'><a href='../S/lib--widget--history.h.html#L17'>hd</a> 17 lib/widget/history.h typedef void *(*history_release_item_func) (struct history_descriptor_t *hd, struct WLEntry *le);</span>
<span class='curline'><a href='../S/lib--widget--history.h.html#L47'>hd</a> 47 lib/widget/history.h void history_descriptor_init (history_descriptor_t *hd, int y, int x, GList *history, int current);</span>
<span class='curline'><a href='../S/lib--widget--history.h.html#L49'>hd</a> 49 lib/widget/history.h void history_show (history_descriptor_t *hd);</span>
<span class='curline'><a href='../S/lib--widget--input.c.html#L158'>hd</a> 158 lib/widget/input.c history_descriptor_t hd;</span>
<span class='curline'><a href='../S/lib--widget--input.c.html#L162'>hd</a> 162 lib/widget/input.c history_descriptor_init (&amp;hd, WIDGET (in)-&gt;rect.y, WIDGET (in)-&gt;rect.x, in-&gt;history.list,</span>
<span class='curline'><a href='../S/lib--widget--input.c.html#L164'>hd</a> 164 lib/widget/input.c history_show (&amp;hd);</span>
<span class='curline'><a href='../S/lib--widget--input.c.html#L168'>hd</a> 168 lib/widget/input.c in-&gt;history.list = hd.list;</span>
<span class='curline'><a href='../S/lib--widget--input.c.html#L170'>hd</a> 170 lib/widget/input.c if (hd.text != NULL)</span>
<span class='curline'><a href='../S/lib--widget--input.c.html#L172'>hd</a> 172 lib/widget/input.c input_assign_text (in, hd.text);</span>
<span class='curline'><a href='../S/lib--widget--input.c.html#L173'>hd</a> 173 lib/widget/input.c g_free (hd.text);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L176'>hd</a> 176 src/file_history.c file_history_create_item (history_descriptor_t *hd, void *data)</span>
<span class='curline'><a href='../S/src--file_history.c.html#L182'>hd</a> 182 src/file_history.c hd-&gt;max_width = MAX (width, hd-&gt;max_width);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L184'>hd</a> 184 src/file_history.c listbox_add_item (hd-&gt;listbox, LISTBOX_APPEND_AT_END, 0, fhd-&gt;file_name, fhd-&gt;file_pos, TRUE);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L192'>hd</a> 192 src/file_history.c file_history_release_item (history_descriptor_t *hd, WLEntry *le)</span>
<span class='curline'><a href='../S/src--file_history.c.html#L196'>hd</a> 196 src/file_history.c (void) hd;</span>
<span class='curline'><a href='../S/src--file_history.c.html#L236'>hd</a> 236 src/file_history.c history_descriptor_t hd;</span>
<span class='curline'><a href='../S/src--file_history.c.html#L246'>hd</a> 246 src/file_history.c history_descriptor_init (&amp;hd, w-&gt;rect.y, w-&gt;rect.x, file_list, 0);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L248'>hd</a> 248 src/file_history.c hd.create = file_history_create_item;</span>
<span class='curline'><a href='../S/src--file_history.c.html#L249'>hd</a> 249 src/file_history.c hd.release = file_history_release_item;</span>
<span class='curline'><a href='../S/src--file_history.c.html#L250'>hd</a> 250 src/file_history.c hd.free = file_history_free_item;</span>
<span class='curline'><a href='../S/src--file_history.c.html#L252'>hd</a> 252 src/file_history.c history_show (&amp;hd);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L254'>hd</a> 254 src/file_history.c hd.list = g_list_first (hd.list);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L257'>hd</a> 257 src/file_history.c if (len != g_list_length (hd.list))</span>
<span class='curline'><a href='../S/src--file_history.c.html#L259'>hd</a> 259 src/file_history.c hd.list = g_list_reverse (hd.list);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L260'>hd</a> 260 src/file_history.c file_history_list_write (hd.list);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L263'>hd</a> 263 src/file_history.c g_list_free_full (hd.list, (GDestroyNotify) file_history_free_item);</span>
<span class='curline'><a href='../S/src--file_history.c.html#L265'>hd</a> 265 src/file_history.c *action = hd.action;</span>
<span class='curline'><a href='../S/src--file_history.c.html#L267'>hd</a> 267 src/file_history.c return hd.text;</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3480'>hd</a> 3480 src/filemanager/panel.c history_descriptor_t hd;</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3486'>hd</a> 3486 src/filemanager/panel.c history_descriptor_init (&amp;hd, WIDGET (panel)-&gt;rect.y, WIDGET (panel)-&gt;rect.x,</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3488'>hd</a> 3488 src/filemanager/panel.c history_show (&amp;hd);</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3490'>hd</a> 3490 src/filemanager/panel.c panel-&gt;dir_history.list = hd.list;</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3491'>hd</a> 3491 src/filemanager/panel.c if (hd.text != NULL)</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3495'>hd</a> 3495 src/filemanager/panel.c s_vpath = vfs_path_from_str (hd.text);</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3504'>hd</a> 3504 src/filemanager/panel.c cd_error_message (hd.text);</span>
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3506'>hd</a> 3506 src/filemanager/panel.c g_free (hd.text);</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L618'>hd</a> 618 src/vfs/cpio/cpio.c struct new_cpio_header hd;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L633'>hd</a> 633 src/vfs/cpio/cpio.c (unsigned long *) &amp;hd.c_dev, &amp;hd.c_ino, &amp;hd.c_mode, &amp;hd.c_uid, &amp;hd.c_gid,</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L634'>hd</a> 634 src/vfs/cpio/cpio.c &amp;hd.c_nlink, (unsigned long *) &amp;hd.c_rdev, &amp;hd.c_mtime, &amp;hd.c_namesize,</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L635'>hd</a> 635 src/vfs/cpio/cpio.c &amp;hd.c_filesize)</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L642'>hd</a> 642 src/vfs/cpio/cpio.c if (hd.c_namesize == 0 || hd.c_namesize &gt; MC_MAXPATHLEN)</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L647'>hd</a> 647 src/vfs/cpio/cpio.c name = g_malloc (hd.c_namesize);</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L648'>hd</a> 648 src/vfs/cpio/cpio.c len = mc_read (arch-&gt;fd, name, hd.c_namesize);</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L649'>hd</a> 649 src/vfs/cpio/cpio.c if ((len == -1) || ((unsigned long) len &lt; hd.c_namesize))</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L654'>hd</a> 654 src/vfs/cpio/cpio.c name[hd.c_namesize - 1] = '\0';</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L664'>hd</a> 664 src/vfs/cpio/cpio.c u.st.st_dev = hd.c_dev;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L665'>hd</a> 665 src/vfs/cpio/cpio.c u.st.st_ino = hd.c_ino;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L666'>hd</a> 666 src/vfs/cpio/cpio.c u.st.st_mode = hd.c_mode;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L667'>hd</a> 667 src/vfs/cpio/cpio.c u.st.st_nlink = hd.c_nlink;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L668'>hd</a> 668 src/vfs/cpio/cpio.c u.st.st_uid = hd.c_uid;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L669'>hd</a> 669 src/vfs/cpio/cpio.c u.st.st_gid = hd.c_gid;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L671'>hd</a> 671 src/vfs/cpio/cpio.c u.st.st_rdev = hd.c_rdev;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L673'>hd</a> 673 src/vfs/cpio/cpio.c u.st.st_size = hd.c_filesize;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L676'>hd</a> 676 src/vfs/cpio/cpio.c u.st.st_atime = u.st.st_mtime = u.st.st_ctime = hd.c_mtime;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L690'>hd</a> 690 src/vfs/cpio/cpio.c struct new_cpio_header hd;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L705'>hd</a> 705 src/vfs/cpio/cpio.c if (sscanf (u.buf, "%6ho%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx%8lx", &amp;hd.c_magic,</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L706'>hd</a> 706 src/vfs/cpio/cpio.c &amp;hd.c_ino, &amp;hd.c_mode, &amp;hd.c_uid, &amp;hd.c_gid, &amp;hd.c_nlink, &amp;hd.c_mtime,</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L707'>hd</a> 707 src/vfs/cpio/cpio.c &amp;hd.c_filesize, (unsigned long *) &amp;hd.c_dev, (unsigned long *) &amp;hd.c_devmin,</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L708'>hd</a> 708 src/vfs/cpio/cpio.c (unsigned long *) &amp;hd.c_rdev, (unsigned long *) &amp;hd.c_rdevmin, &amp;hd.c_namesize,</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L709'>hd</a> 709 src/vfs/cpio/cpio.c &amp;hd.c_chksum)</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L716'>hd</a> 716 src/vfs/cpio/cpio.c if ((arch-&gt;type == CPIO_NEWC &amp;&amp; hd.c_magic != 070701)</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L717'>hd</a> 717 src/vfs/cpio/cpio.c || (arch-&gt;type == CPIO_CRC &amp;&amp; hd.c_magic != 070702))</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L720'>hd</a> 720 src/vfs/cpio/cpio.c if (hd.c_namesize == 0 || hd.c_namesize &gt; MC_MAXPATHLEN)</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L726'>hd</a> 726 src/vfs/cpio/cpio.c name = g_malloc (hd.c_namesize);</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L727'>hd</a> 727 src/vfs/cpio/cpio.c len = mc_read (arch-&gt;fd, name, hd.c_namesize);</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L729'>hd</a> 729 src/vfs/cpio/cpio.c if ((len == -1) || ((unsigned long) len &lt; hd.c_namesize))</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L734'>hd</a> 734 src/vfs/cpio/cpio.c name[hd.c_namesize - 1] = '\0';</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L744'>hd</a> 744 src/vfs/cpio/cpio.c u.st.st_dev = makedev (hd.c_dev, hd.c_devmin);</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L745'>hd</a> 745 src/vfs/cpio/cpio.c u.st.st_ino = hd.c_ino;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L746'>hd</a> 746 src/vfs/cpio/cpio.c u.st.st_mode = hd.c_mode;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L747'>hd</a> 747 src/vfs/cpio/cpio.c u.st.st_nlink = hd.c_nlink;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L748'>hd</a> 748 src/vfs/cpio/cpio.c u.st.st_uid = hd.c_uid;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L749'>hd</a> 749 src/vfs/cpio/cpio.c u.st.st_gid = hd.c_gid;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L751'>hd</a> 751 src/vfs/cpio/cpio.c u.st.st_rdev = makedev (hd.c_rdev, hd.c_rdevmin);</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L753'>hd</a> 753 src/vfs/cpio/cpio.c u.st.st_size = hd.c_filesize;</span>
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L756'>hd</a> 756 src/vfs/cpio/cpio.c u.st.st_atime = u.st.st_mtime = u.st.st_ctime = hd.c_mtime;</span>
</pre>
</body>
</html>