idx 171 lib/tty/color-internal.c tty_color_get_name_by_index (int idx) idx 178 lib/tty/color-internal.c if (idx == color_table[i].value) idx 182 lib/tty/color-internal.c if ((idx >= 16 && idx < 256) || (idx & (1 << 24)) != 0) idx 186 lib/tty/color-internal.c if (idx < 256) idx 187 lib/tty/color-internal.c g_snprintf (name, sizeof (name), "color%d", idx); idx 189 lib/tty/color-internal.c g_snprintf (name, sizeof (name), "#%06X", (unsigned int) idx & 0xFFFFFF); idx 51 lib/tty/color-internal.h const char *tty_color_get_name_by_index (int idx); idx 1252 lib/tty/key.c lookup_keyname (const char *name, int *idx) idx 1262 lib/tty/key.c *idx = -1; idx 1273 lib/tty/key.c *idx = (int) (res - key_conv_tab_sorted); idx 1278 lib/tty/key.c *idx = -1; idx 1285 lib/tty/key.c lookup_keycode (const long code, int *idx) idx 1300 lib/tty/key.c *idx = (int) (res - key_conv_tab_sorted); idx 1305 lib/tty/key.c *idx = -1; idx 1468 lib/tty/key.c int idx; idx 1470 lib/tty/key.c key = lookup_keyname (g_strstrip (*p), &idx); idx 1473 lib/tty/key.c use_meta = idx; idx 1475 lib/tty/key.c use_ctrl = idx; idx 1477 lib/tty/key.c use_shift = idx; idx 1481 lib/tty/key.c lc_index = idx; idx 1570 lib/tty/key.c int idx; idx 1576 lib/tty/key.c if ((mod & KEY_M_ALT) != 0 && lookup_keycode (KEY_M_ALT, &idx)) idx 1578 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[idx]->name); idx 1588 lib/tty/key.c if (lookup_keycode (KEY_M_CTRL, &idx)) idx 1590 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[idx]->name); idx 1597 lib/tty/key.c if (lookup_keycode (KEY_M_ALT, &idx)) idx 1603 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[idx]->name); idx 418 lib/tty/keyxdef.c int idx; idx 425 lib/tty/keyxdef.c for (idx = 0; idx < sizeof (xtra_key_defines) / sizeof (xtra_key_defines[0]); idx++) idx 427 lib/tty/keyxdef.c int str_idx = xtra_key_defines[idx].str_idx; idx 433 lib/tty/keyxdef.c define_sequence (xtra_key_defines[idx].mc_code, idx 70 lib/vfs/parse_ls_vga.c is_num (int idx) idx 72 lib/vfs/parse_ls_vga.c char *column = columns[idx]; idx 520 lib/vfs/parse_ls_vga.c vfs_parse_filedate (int idx, time_t *t) idx 542 lib/vfs/parse_ls_vga.c p = columns[idx++]; idx 546 lib/vfs/parse_ls_vga.c p = columns[idx++]; idx 578 lib/vfs/parse_ls_vga.c if (!is_num (idx)) idx 581 lib/vfs/parse_ls_vga.c tim.tm_mday = (int) atol (columns[idx++]); idx 608 lib/vfs/parse_ls_vga.c else if (is_localized_month (p) && is_num (idx++)) idx 615 lib/vfs/parse_ls_vga.c if (!is_num (idx) idx 616 lib/vfs/parse_ls_vga.c || !(is_time (columns[idx], &tim) || (got_year = is_year (columns[idx], &tim)))) idx 619 lib/vfs/parse_ls_vga.c idx++; idx 635 lib/vfs/parse_ls_vga.c return idx; idx 685 lib/vfs/parse_ls_vga.c int idx, idx2, num_cols; idx 738 lib/vfs/parse_ls_vga.c for (idx = 3; idx <= 5; idx++) idx 739 lib/vfs/parse_ls_vga.c if (vfs_parse_month (columns[idx], NULL) || is_week (columns[idx], NULL) idx 740 lib/vfs/parse_ls_vga.c || is_dos_date (columns[idx]) || is_localized_month (columns[idx])) idx 743 lib/vfs/parse_ls_vga.c if (idx == 6 || (idx == 5 && !S_ISCHR (s->st_mode) && !S_ISBLK (s->st_mode))) idx 747 lib/vfs/parse_ls_vga.c if (idx == 3 || (idx == 4 && (S_ISCHR (s->st_mode) || S_ISBLK (s->st_mode)))) idx 801 lib/vfs/parse_ls_vga.c idx = vfs_parse_filedate (idx, &s->st_mtime); idx 802 lib/vfs/parse_ls_vga.c if (idx == 0) idx 816 lib/vfs/parse_ls_vga.c *num_spaces = column_ptr[idx] - column_ptr[idx - 1] - strlen (columns[idx - 1]); idx 817 lib/vfs/parse_ls_vga.c if (DIR_IS_DOTDOT (columns[idx])) idx 821 lib/vfs/parse_ls_vga.c for (i = idx + 1, idx2 = 0; i < num_cols; i++) idx 828 lib/vfs/parse_ls_vga.c if (((S_ISLNK (s->st_mode) || (num_cols == idx + 3 && s->st_nlink > 1))) /* Maybe a hardlink? (in extfs) */ idx 832 lib/vfs/parse_ls_vga.c *filename = g_strndup (p + column_ptr[idx], column_ptr[idx2] - column_ptr[idx] - 1); idx 848 lib/vfs/parse_ls_vga.c t = g_strdup (p + column_ptr[idx]); idx 61 lib/vfs/utilvfs.h int vfs_parse_filedate (int idx, time_t * t); idx 230 lib/vfs/vfs.c const int idx = handle - VFS_FIRST_HANDLE; idx 232 lib/vfs/vfs.c if (handle >= VFS_FIRST_HANDLE && (guint) idx < vfs_openfiles->len) idx 236 lib/vfs/vfs.c h = (struct vfs_openfile *) g_ptr_array_index (vfs_openfiles, idx); idx 238 lib/vfs/vfs.c g_ptr_array_index (vfs_openfiles, idx) = (void *) vfs_free_handle_list; idx 239 lib/vfs/vfs.c vfs_free_handle_list = idx; idx 138 lib/widget/buttonbar.c set_label_text (WButtonBar *bb, int idx, const char *text) idx 140 lib/widget/buttonbar.c g_free (bb->labels[idx - 1].text); idx 141 lib/widget/buttonbar.c bb->labels[idx - 1].text = g_strdup (text); idx 263 lib/widget/buttonbar.c buttonbar_set_label (WButtonBar *bb, int idx, const char *text, const global_keymap_t *keymap, idx 266 lib/widget/buttonbar.c if ((bb != NULL) && (idx >= 1) && (idx <= BUTTONBAR_LABELS_NUM)) idx 271 lib/widget/buttonbar.c command = keybind_lookup_keymap_command (keymap, KEY_F (idx)); idx 274 lib/widget/buttonbar.c set_label_text (bb, idx, ""); idx 276 lib/widget/buttonbar.c set_label_text (bb, idx, text); idx 278 lib/widget/buttonbar.c bb->labels[idx - 1].command = command; idx 279 lib/widget/buttonbar.c bb->labels[idx - 1].receiver = WIDGET (receiver); idx 16 lib/widget/buttonbar.h #define buttonbar_clear_label(bb, idx, recv) buttonbar_set_label (bb, idx, "", NULL, recv) idx 40 lib/widget/buttonbar.h void buttonbar_set_label (WButtonBar * bb, int idx, const char *text, idx 124 lib/widget/menu.c menubar_paint_idx (const WMenuBar *menubar, unsigned int idx, int color) idx 128 lib/widget/menu.c const menu_entry_t *entry = MENUENTRY (g_list_nth_data (menu->entries, idx)); idx 129 lib/widget/menu.c const int y = 2 + idx; idx 638 src/filemanager/layout.c panel_do_cols (int idx) idx 640 src/filemanager/layout.c if (get_panel_type (idx) == view_listing) idx 641 src/filemanager/layout.c set_panel_formats (PANEL (panels[idx].widget)); idx 643 src/filemanager/layout.c panel_update_cols (panels[idx].widget, frame_half); idx 650 src/filemanager/layout.c restore_into_right_dir_panel (int idx, gboolean last_was_panel, const WRect *r) idx 655 src/filemanager/layout.c p_name = get_nth_panel_name (idx); idx 661 src/filemanager/layout.c saved_dir_vpath = vfs_path_from_str (panels[idx].last_saved_dir); idx 1382 src/filemanager/layout.c get_panel_type (int idx) idx 1384 src/filemanager/layout.c return panels[idx].type; idx 1390 src/filemanager/layout.c get_panel_widget (int idx) idx 1392 src/filemanager/layout.c return panels[idx].widget; idx 1441 src/filemanager/layout.c save_panel_dir (int idx) idx 1445 src/filemanager/layout.c type = get_panel_type (idx); idx 1450 src/filemanager/layout.c p = PANEL (get_panel_widget (idx)); idx 1453 src/filemanager/layout.c g_free (panels[idx].last_saved_dir); /* last path no needed */ idx 1455 src/filemanager/layout.c panels[idx].last_saved_dir = g_strdup (vfs_path_as_str (p->cwd_vpath)); idx 67 src/filemanager/layout.h panel_view_mode_t get_panel_type (int idx); idx 74 src/filemanager/layout.h Widget *get_panel_widget (int idx); idx 78 src/filemanager/layout.h void save_panel_dir (int idx); idx 4894 src/filemanager/panel.c do_file_mark (WPanel *panel, int idx, int mark) idx 4896 src/filemanager/panel.c if (panel->dir.list[idx].f.marked == mark) idx 4900 src/filemanager/panel.c if (DIR_IS_DOTDOT (panel->dir.list[idx].fname->str)) idx 4903 src/filemanager/panel.c file_mark (panel, idx, mark); idx 4904 src/filemanager/panel.c if (panel->dir.list[idx].f.marked != 0) idx 4908 src/filemanager/panel.c if (S_ISDIR (panel->dir.list[idx].st.st_mode)) idx 4910 src/filemanager/panel.c if (panel->dir.list[idx].f.dir_size_computed != 0) idx 4911 src/filemanager/panel.c panel->total += (uintmax_t) panel->dir.list[idx].st.st_size; idx 4915 src/filemanager/panel.c panel->total += (uintmax_t) panel->dir.list[idx].st.st_size; idx 4921 src/filemanager/panel.c if (S_ISDIR (panel->dir.list[idx].st.st_mode)) idx 4923 src/filemanager/panel.c if (panel->dir.list[idx].f.dir_size_computed != 0) idx 4924 src/filemanager/panel.c panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size; idx 4928 src/filemanager/panel.c panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size; idx 181 src/filemanager/panel.h void file_mark (WPanel * panel, int idx, int val); idx 182 src/filemanager/panel.h void do_file_mark (WPanel * panel, int idx, int val); idx 357 src/filemanager/tree.c int idx = current == tree->selected_ptr ? DLG_COLOR_FOCUS : DLG_COLOR_NORMAL; idx 359 src/filemanager/tree.c tty_setcolor (colors[idx]); idx 369 src/viewer/internal.h mcview_already_loaded (off_t offset, off_t idx, size_t size) idx 371 src/viewer/internal.h return (offset <= idx && idx - offset < (off_t) size);