s 64 lib/event-types.h char *s; s 200 lib/glibcompat.c mc_g_string_dup (const GString * s) s 204 lib/glibcompat.c if (s != NULL) s 205 lib/glibcompat.c ret = g_string_new_len (s->str, s->len); s 36 lib/glibcompat.h GString *mc_g_string_dup (const GString * s); s 142 lib/lock.c const char *p, *s; s 154 lib/lock.c for (s = str; i < BUF_SIZE && s < p; s++) s 155 lib/lock.c who[i++] = *s; s 608 lib/strutil.h strtol_error_t xstrtoumax (const char *s, char **ptr, int base, uintmax_t * val, s 617 lib/strutil.h str_replace (char *s, char from, char to) s 619 lib/strutil.h for (; *s != '\0'; s++) s 621 lib/strutil.h if (*s == from) s 622 lib/strutil.h *s = to; s 46 lib/strutil/filevercmp.c file_prefixlen (const char *s, ssize_t * len) s 56 lib/strutil/filevercmp.c while (i + 1 < n && s[i] == '.' && (g_ascii_isalpha (s[i + 1]) || s[i + 1] == '~')) s 57 lib/strutil/filevercmp.c for (i += 2; i < n && (g_ascii_isalnum (s[i]) || s[i] == '~'); i++) s 61 lib/strutil/filevercmp.c done = s[i] == '\0'; s 83 lib/strutil/filevercmp.c order (const char *s, size_t pos, size_t len) s 90 lib/strutil/filevercmp.c c = s[pos]; s 77 lib/strutil/xstrtol.c xstrtoumax (const char *s, char **ptr, int base, uintmax_t * val, const char *valid_suffixes) s 89 lib/strutil/xstrtol.c const char *q = s; s 100 lib/strutil/xstrtol.c tmp = strtol (s, p, base); s 102 lib/strutil/xstrtol.c if (*p == s) s 73 lib/tty/color-slang.c char *s; s 78 lib/tty/color-slang.c s = cts; s 86 lib/tty/color-slang.c if ((i != 0) && (i == len) && (strncmp (s, terminal, i) == 0)) s 565 lib/tty/key.c const select_t *s = (const select_t *) a; s 568 lib/tty/key.c return (FD_ISSET (s->fd, f) ? 0 : 1); s 576 lib/tty/key.c const select_t *s = (const select_t *) a; s 579 lib/tty/key.c return (s->fd == fd ? 0 : 1); s 591 lib/tty/key.c GSList *s; s 593 lib/tty/key.c for (s = select_list; s != NULL; s = g_slist_next (s)) s 595 lib/tty/key.c select_t *p = (select_t *) s->data; s 613 lib/tty/key.c GSList *s; s 616 lib/tty/key.c s = g_slist_find_custom (select_list, select_set, select_cmp_by_fd_set); s 617 lib/tty/key.c if (s == NULL) s 620 lib/tty/key.c p = (select_t *) s->data; s 1502 lib/tty/key.c GString *s; s 1504 lib/tty/key.c s = g_string_new (""); s 1508 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[use_meta]->shortcut); s 1509 lib/tty/key.c g_string_append_c (s, '-'); s 1513 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[use_ctrl]->shortcut); s 1514 lib/tty/key.c g_string_append_c (s, '-'); s 1519 lib/tty/key.c g_string_append_c (s, (gchar) g_ascii_toupper ((gchar) k)); s 1522 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[use_shift]->shortcut); s 1523 lib/tty/key.c g_string_append_c (s, '-'); s 1524 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[lc_index]->shortcut); s 1530 lib/tty/key.c g_string_append_c (s, (gchar) g_ascii_tolower ((gchar) k)); s 1532 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[lc_index]->shortcut); s 1535 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[lc_index]->shortcut); s 1537 lib/tty/key.c g_string_append_c (s, (gchar) g_ascii_tolower ((gchar) key)); s 1539 lib/tty/key.c *label = g_string_free (s, FALSE); s 1576 lib/tty/key.c GString *s; s 1579 lib/tty/key.c s = g_string_sized_new (8); s 1585 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[idx]->name); s 1586 lib/tty/key.c g_string_append_c (s, '-'); s 1597 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[idx]->name); s 1598 lib/tty/key.c g_string_append_c (s, '-'); s 1607 lib/tty/key.c g_string_append_c (s, (gchar) g_ascii_toupper ((gchar) k)); s 1610 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[idx]->name); s 1611 lib/tty/key.c g_string_append_c (s, '-'); s 1612 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[key_idx]->name); s 1619 lib/tty/key.c g_string_append_c (s, (gchar) k); s 1621 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[key_idx]->name); s 1624 lib/tty/key.c g_string_append (s, key_conv_tab_sorted[key_idx]->name); s 1626 lib/tty/key.c g_string_append_c (s, (gchar) keycode); s 1629 lib/tty/key.c return g_string_free (s, s->len == 0); s 643 lib/tty/tty-ncurses.c const char *s; s 646 lib/tty/tty-ncurses.c s = str_term_form ((char *) str); s 649 lib/tty/tty-ncurses.c addstr (s); s 700 lib/tty/tty-ncurses.c tty_print_string (const char *s) s 705 lib/tty/tty-ncurses.c s = str_term_form (s); s 706 lib/tty/tty-ncurses.c len = str_term_width1 (s); s 727 lib/tty/tty-ncurses.c addstr (str_term_substring (s, start, len)); s 738 lib/tty/tty-slang.c tty_print_string (const char *s) s 740 lib/tty/tty-slang.c SLsmg_write_string ((char *) str_term_form (s)); s 119 lib/tty/tty.h extern void tty_print_string (const char *s); s 121 lib/tty/tty.h extern void tty_printf (const char *s, ...) G_GNUC_PRINTF (1, 2); s 253 lib/util.c name_quote (const char *s, gboolean quote_percent) s 259 lib/util.c if (*s == '-') s 262 lib/util.c for (; *s != '\0'; s++) s 264 lib/util.c switch (*s) s 303 lib/util.c g_string_append_c (ret, *s); s 312 lib/util.c fake_name_quote (const char *s, gboolean quote_percent) s 315 lib/util.c return g_strdup (s); s 633 lib/util.c extract_line (const char *s, const char *top) s 638 lib/util.c while (*s != '\0' && *s != '\n' && (size_t) (t - tmp_line) < sizeof (tmp_line) - 1 && s < top) s 639 lib/util.c *t++ = *s++; s 650 lib/util.c x_basename (const char *s) s 654 lib/util.c url_delim = g_strrstr (s, VFS_PATH_URL_DELIMITER); s 655 lib/util.c path_sep = strrchr (s, PATH_SEP); s 658 lib/util.c return s; s 662 lib/util.c || url_delim - s + strlen (VFS_PATH_URL_DELIMITER) < strlen (s)) s 665 lib/util.c if (!IS_PATH_SEP (s[strlen (s) - 1])) s 668 lib/util.c while (--path_sep > s && !IS_PATH_SEP (*path_sep)) s 670 lib/util.c return (path_sep != s) ? path_sep + 1 : s; s 673 lib/util.c while (--url_delim > s && !IS_PATH_SEP (*url_delim)) s 675 lib/util.c while (--url_delim > s && !IS_PATH_SEP (*url_delim)) s 678 lib/util.c return url_delim == s ? s : url_delim + 1; s 699 lib/util.c skip_separators (const char *s) s 701 lib/util.c const char *su = s; s 713 lib/util.c skip_numbers (const char *s) s 715 lib/util.c const char *su = s; s 740 lib/util.c strip_ctrl_codes (char *s) s 745 lib/util.c if (s == NULL) s 748 lib/util.c for (w = s, r = s; *r != '\0';) s 816 lib/util.c return s; s 1041 lib/util.c char *r, *s; s 1047 lib/util.c s = strchr (q, PATH_SEP); s 1048 lib/util.c if (s == NULL) s 1052 lib/util.c if (len != (s - q) || strncmp (p, q, (size_t) len) != 0) s 1056 lib/util.c q = s + 1; s 1311 lib/util.c Q_ (const char *s) s 1315 lib/util.c result = _(s); s 181 lib/util.h const char *skip_separators (const char *s); s 182 lib/util.h const char *skip_numbers (const char *s); s 183 lib/util.h char *strip_ctrl_codes (char *s); s 188 lib/util.h char *convert_controls (const char *s); s 211 lib/util.h const char *extract_line (const char *s, const char *top); s 257 lib/util.h const char *Q_ (const char *s); s 633 lib/utilunix.c char *s; s 647 lib/utilunix.c s = ps->buf + ps->pos; s 649 lib/utilunix.c if (s[0] == '\0') s 653 lib/utilunix.c for (i = 0; i < size && !(s[i] == '\0' || (s[i] == '\n' && !escape)); i++) s 654 lib/utilunix.c escape = s[i] == '\\' ? !escape : FALSE; s 656 lib/utilunix.c if (i != size && s[i] == '\n') s 661 lib/utilunix.c return g_string_new_len (s, i); s 762 lib/utilunix.c char *p, *s; s 784 lib/utilunix.c s = p + 1; s 785 lib/utilunix.c while (IS_PATH_SEP (*(++s))) s 787 lib/utilunix.c str_move (p + 1, s); s 862 lib/utilunix.c s = p - 1; s 863 lib/utilunix.c if (s >= lpath + url_delim_len - 2 s 864 lib/utilunix.c && strncmp (s - url_delim_len + 2, VFS_PATH_URL_DELIMITER, url_delim_len) == 0) s 866 lib/utilunix.c s -= (url_delim_len - 2); s 867 lib/utilunix.c while (s >= lpath && !IS_PATH_SEP (*s--)) s 871 lib/utilunix.c while (s >= lpath) s 873 lib/utilunix.c if (s - url_delim_len > lpath s 874 lib/utilunix.c && strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0) s 876 lib/utilunix.c char *vfs_prefix = s - url_delim_len; s 883 lib/utilunix.c *(s - url_delim_len) = '\0'; s 886 lib/utilunix.c *(s - url_delim_len) = *VFS_PATH_URL_DELIMITER; s 890 lib/utilunix.c s = vfs_prefix; s 895 lib/utilunix.c if (IS_PATH_SEP (*s)) s 898 lib/utilunix.c s--; s 901 lib/utilunix.c s++; s 904 lib/utilunix.c if (s[0] == '.' && s[1] == '.' && s + 2 == p) s 912 lib/utilunix.c if (s == lpath && IS_PATH_SEP (*s)) s 915 lib/utilunix.c str_move (s + 1, p + 4); s 921 lib/utilunix.c if ((strncmp (s, VFS_ENCODING_PREFIX, enc_prefix_len) == 0) s 922 lib/utilunix.c && (is_supported_encoding (s + enc_prefix_len))) s 924 lib/utilunix.c str_move (s, p + 1); s 927 lib/utilunix.c str_move (s, p + 4); s 930 lib/utilunix.c p = s > lpath ? s - 1 : s; s 935 lib/utilunix.c if (s == lpath) s 945 lib/utilunix.c if (s == lpath + 1) s 946 lib/utilunix.c s[0] = '\0'; s 948 lib/utilunix.c else if ((strncmp (s, VFS_ENCODING_PREFIX, enc_prefix_len) == 0) s 949 lib/utilunix.c && (is_supported_encoding (s + enc_prefix_len))) s 952 lib/utilunix.c s[0] = '.'; s 953 lib/utilunix.c s[1] = '.'; s 954 lib/utilunix.c s[2] = '\0'; s 958 lib/utilunix.c for (p = s - 1; p >= lpath && !IS_PATH_SEP (*p); p--) s 967 lib/utilunix.c if (s >= lpath + url_delim_len s 968 lib/utilunix.c && strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0) s 969 lib/utilunix.c *s = '\0'; s 971 lib/utilunix.c s[-1] = '\0'; s 378 lib/vfs/direntry.c vfs_s_free_fh (struct vfs_s_subclass *s, vfs_file_handler_t * fh) s 380 lib/vfs/direntry.c if (s->fh_free != NULL) s 381 lib/vfs/direntry.c s->fh_free (fh); s 676 lib/vfs/direntry.c char *s; s 678 lib/vfs/direntry.c s = vfs_s_fullpath (me, file->ino); s 680 lib/vfs/direntry.c if (s == NULL) s 684 lib/vfs/direntry.c res = sub->file_store (me, fh, s, file->ino->localname); s 685 lib/vfs/direntry.c g_free (s); s 1049 lib/vfs/direntry.c vfs_adjust_stat (struct stat *s) s 1052 lib/vfs/direntry.c if (s->st_size == 0) s 1053 lib/vfs/direntry.c s->st_blocks = 0; s 1061 lib/vfs/direntry.c ioblocks = 1 + (s->st_size - 1) / s->st_blksize; s 1063 lib/vfs/direntry.c ioblock_size = 1 + (s->st_blksize - 1) / 512; s 1065 lib/vfs/direntry.c s->st_blocks = ioblocks * ioblock_size; s 1068 lib/vfs/direntry.c s->st_blocks = 1 + (s->st_size - 1) / 512; s 1301 lib/vfs/direntry.c struct vfs_s_subclass *s; s 1316 lib/vfs/direntry.c s = VFS_SUBCLASS (path_element->class); s 1341 lib/vfs/direntry.c if ((VFS_CLASS (s)->flags & VFSF_USETMP) != 0) s 1368 lib/vfs/direntry.c fh = s->fh_new != NULL ? s->fh_new (ino, was_changed) : vfs_s_new_fh (ino, was_changed); s 1372 lib/vfs/direntry.c if (s->linear_start != NULL) s 1380 lib/vfs/direntry.c if (s->fh_open != NULL && s->fh_open (path_element->class, fh, flags, mode) != 0) s 1382 lib/vfs/direntry.c vfs_s_free_fh (s, fh); s 1387 lib/vfs/direntry.c if ((VFS_CLASS (s)->flags & VFSF_USETMP) != 0 && fh->ino->localname != NULL) s 1392 lib/vfs/direntry.c vfs_s_free_fh (s, fh); s 1443 lib/vfs/direntry.c struct vfs_s_subclass *s = VFS_SUBCLASS (me); s 1456 lib/vfs/direntry.c fh = s->fh_new != NULL ? s->fh_new (ino, FALSE) : vfs_s_new_fh (ino, FALSE); s 1458 lib/vfs/direntry.c if (s->linear_start (me, fh, 0) == 0) s 1465 lib/vfs/direntry.c while ((n = s->linear_read (me, fh, buffer, sizeof (buffer))) != 0) s 1486 lib/vfs/direntry.c s->linear_close (me, fh); s 1490 lib/vfs/direntry.c vfs_s_free_fh (s, fh); s 1494 lib/vfs/direntry.c s->linear_close (me, fh); s 1502 lib/vfs/direntry.c vfs_s_free_fh (s, fh); s 206 lib/vfs/parse_ls_vga.c vfs_parse_filetype (const char *s, size_t * ret_skipped, mode_t * ret_type) s 210 lib/vfs/parse_ls_vga.c switch (*s) s 273 lib/vfs/parse_ls_vga.c vfs_parse_fileperms (const char *s, size_t * ret_skipped, mode_t * ret_perms) s 275 lib/vfs/parse_ls_vga.c const char *p = s; s 403 lib/vfs/parse_ls_vga.c *ret_skipped = p - s; s 412 lib/vfs/parse_ls_vga.c vfs_parse_filemode (const char *s, size_t * ret_skipped, mode_t * ret_mode) s 414 lib/vfs/parse_ls_vga.c const char *p = s; s 426 lib/vfs/parse_ls_vga.c *ret_skipped = p - s; s 435 lib/vfs/parse_ls_vga.c vfs_parse_raw_filemode (const char *s, size_t * ret_skipped, mode_t * ret_mode) s 437 lib/vfs/parse_ls_vga.c const char *p = s; s 487 lib/vfs/parse_ls_vga.c *ret_skipped = p - s; s 680 lib/vfs/parse_ls_vga.c vfs_parse_ls_lga (const char *p, struct stat * s, char **filename, char **linkname, s 693 lib/vfs/parse_ls_vga.c if (!vfs_parse_filetype (p, &skipped, &s->st_mode)) s 705 lib/vfs/parse_ls_vga.c if (S_ISDIR (s->st_mode)) s 706 lib/vfs/parse_ls_vga.c s->st_mode |= (S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IXUSR | S_IXGRP | S_IXOTH); s 708 lib/vfs/parse_ls_vga.c s->st_mode |= (S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR); s 720 lib/vfs/parse_ls_vga.c s->st_mode |= perms; s 726 lib/vfs/parse_ls_vga.c s->st_nlink = atol (columns[0]); s 727 lib/vfs/parse_ls_vga.c if (s->st_nlink <= 0) s 731 lib/vfs/parse_ls_vga.c s->st_uid = vfs_finduid (columns[1]); s 733 lib/vfs/parse_ls_vga.c s->st_uid = (uid_t) atol (columns[1]); s 741 lib/vfs/parse_ls_vga.c if (idx == 6 || (idx == 5 && !S_ISCHR (s->st_mode) && !S_ISBLK (s->st_mode))) s 745 lib/vfs/parse_ls_vga.c if (idx == 3 || (idx == 4 && (S_ISCHR (s->st_mode) || S_ISBLK (s->st_mode)))) s 751 lib/vfs/parse_ls_vga.c s->st_gid = (gid_t) atol (columns[2]); s 753 lib/vfs/parse_ls_vga.c s->st_gid = vfs_findgid (columns[2]); s 758 lib/vfs/parse_ls_vga.c if (S_ISCHR (s->st_mode) || S_ISBLK (s->st_mode)) s 780 lib/vfs/parse_ls_vga.c s->st_rdev = makedev (maj, min); s 782 lib/vfs/parse_ls_vga.c s->st_size = 0; s 791 lib/vfs/parse_ls_vga.c s->st_size = (off_t) g_ascii_strtoll (columns[idx2], NULL, 10); s 793 lib/vfs/parse_ls_vga.c s->st_rdev = 0; s 797 lib/vfs/parse_ls_vga.c idx = vfs_parse_filedate (idx, &s->st_mtime); s 802 lib/vfs/parse_ls_vga.c s->st_atime = s->st_ctime = s->st_mtime; s 804 lib/vfs/parse_ls_vga.c s->st_atim.tv_nsec = s->st_mtim.tv_nsec = s->st_ctim.tv_nsec = 0; s 809 lib/vfs/parse_ls_vga.c s->st_blksize = 512; s 811 lib/vfs/parse_ls_vga.c vfs_adjust_stat (s); s 827 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) */ s 51 lib/vfs/utilvfs.h gboolean vfs_parse_filetype (const char *s, size_t * ret_skipped, mode_t * ret_type); s 52 lib/vfs/utilvfs.h gboolean vfs_parse_fileperms (const char *s, size_t * ret_skipped, mode_t * ret_perms); s 53 lib/vfs/utilvfs.h gboolean vfs_parse_filemode (const char *s, size_t * ret_skipped, mode_t * ret_mode); s 54 lib/vfs/utilvfs.h gboolean vfs_parse_raw_filemode (const char *s, size_t * ret_skipped, mode_t * ret_mode); s 57 lib/vfs/utilvfs.h gboolean vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linkname, s 245 lib/vfs/vfs.h void vfs_adjust_stat (struct stat *s); s 949 lib/widget/input_complete.c char *s; s 951 lib/widget/input_complete.c s = strchr (cdpath, ':'); s 953 lib/widget/input_complete.c if (s == NULL) s 954 lib/widget/input_complete.c s = strchr (cdpath, '\0'); s 955 lib/widget/input_complete.c c = *s; s 956 lib/widget/input_complete.c *s = '\0'; s 966 lib/widget/input_complete.c *s = c; s 967 lib/widget/input_complete.c cdpath = str_get_next_char (s); s 1406 lib/widget/input_complete.c char *s; s 1413 lib/widget/input_complete.c s = in->buffer; s 1420 lib/widget/input_complete.c str_next_char (&s); s 1423 lib/widget/input_complete.c for (; s >= in->buffer; str_prev_char (&s)) s 1425 lib/widget/input_complete.c start = s - in->buffer; s 1426 lib/widget/input_complete.c if (strchr (word_separators, *s) != NULL && !strutils_is_char_escaped (in->buffer, s)) s 1432 lib/widget/input_complete.c str_next_char (&s); s 1433 lib/widget/input_complete.c start = s - in->buffer; s 262 lib/widget/wtools.c return event_data.ret.s; s 374 src/args.c gchar *s; s 379 src/args.c s = g_strdup_printf ("%s\n", _("[+lineno] file1[:lineno] [file2[:lineno]...]")); s 382 src/args.c s = g_strdup_printf ("%s\n", _("file")); s 386 src/args.c s = g_strdup_printf ("%s\n", _("file1 file2")); s 391 src/args.c s = g_strdup_printf ("%s\n", _("[this_dir] [other_panel_dir]")); s 394 src/args.c mc_args__loc__usage_string = s; s 648 src/background.c event_data->ret.s = s 15 src/diffviewer/internal.h #define error_dialog(h, s) query_dialog(h, s, D_ERROR, 1, _("&Dismiss")) s 1036 src/diffviewer/ydiff.c lcsubstr (const char *s, int m, const char *t, int n, GArray * ret, int min) s 1074 src/diffviewer/ydiff.c if (s[i] == t[j]) s 1133 src/diffviewer/ydiff.c hdiff_multi (const char *s, const char *t, const BRACKET bracket, int min, GArray * hdiff, s 1148 src/diffviewer/ydiff.c len = lcsubstr (s + bracket[DIFF_LEFT].off, bracket[DIFF_LEFT].len, s 1160 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) s 1171 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) s 1179 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) s 1213 src/diffviewer/ydiff.c hdiff_scan (const char *s, int m, const char *t, int n, int min, GArray * hdiff, unsigned int depth) s 1219 src/diffviewer/ydiff.c for (i = 0; i < m && i < n && s[i] == t[i]; i++) s 1221 src/diffviewer/ydiff.c for (; m > i && n > i && s[m - 1] == t[n - 1]; m--, n--) s 1230 src/diffviewer/ydiff.c return hdiff_multi (s, t, b, min, hdiff, depth); s 2940 src/diffviewer/ydiff.c const char *s = input; s 2942 src/diffviewer/ydiff.c if (scan_deci (&s, &newline) == 0 && *s == '\0') s 72 src/editor/edit-impl.h #define get_sys_error(s) (s) s 74 src/editor/edit-impl.h #define edit_error_dialog(h,s) query_dialog (h, s, D_ERROR, 1, _("&Dismiss")) s 75 src/editor/edit-impl.h #define edit_query_dialog(h,s) query_dialog (h, s, D_NORMAL, 1, _("&Dismiss")) s 668 src/editor/edit.c off_t s, f; s 670 src/editor/edit.c s = edit_buffer_get_bol (buf, offset); s 672 src/editor/edit.c while (s <= f) s 676 src/editor/edit.c c = edit_buffer_get_byte (buf, s++); s 926 src/editor/edit.c edit_left_word_move (WEdit * edit, int s) s 948 src/editor/edit.c if (s != 0 && !isspace (c1) && isspace (c2)) s 965 src/editor/edit.c edit_right_word_move (WEdit * edit, int s) s 987 src/editor/edit.c if (s != 0 && !isspace (c1) && isspace (c2)) s 1680 src/editor/edit.c edit_print_string (WEdit * e, const char *s) s 1684 src/editor/edit.c while (s[i] != '\0') s 1685 src/editor/edit.c edit_execute_cmd (e, CK_InsertChar, (unsigned char) s[i++]); s 3886 src/editor/edit.c char s[BUF_MEDIUM]; s 3891 src/editor/edit.c FMT_LOCALTIME_CURRENT (s, sizeof (s), time_format); s 3892 src/editor/edit.c edit_print_string (edit, s); s 709 src/editor/editbuffer.c status_msg_t *s = STATUS_MSG (sm); s 753 src/editor/editbuffer.c if (s != NULL && s->update != NULL) s 763 src/editor/editbuffer.c if (s->update (s) == B_CANCEL) s 787 src/editor/editbuffer.c if (s != NULL && s->update != NULL) s 793 src/editor/editbuffer.c if (s->update (s) == B_CANCEL) s 596 src/editor/editcmd.c unsigned char *s, *r; s 598 src/editor/editcmd.c r = s = g_malloc0 (finish - start + 1); s 615 src/editor/editcmd.c *s++ = c; s 625 src/editor/editcmd.c *s++ = edit_buffer_get_byte (&edit->buffer, start); s 628 src/editor/editcmd.c *s = '\0'; s 655 src/editor/editcmd.c char *s; s 660 src/editor/editcmd.c s = g_strconcat ("mail -s ", subject, *cc ? " -c " : "", cc, " ", to, (char *) NULL); s 665 src/editor/editcmd.c if (s != NULL) s 667 src/editor/editcmd.c p = popen (s, "w"); s 668 src/editor/editcmd.c g_free (s); s 157 src/editor/editcomplete.c GString *s = (GString *) l->data; s 160 src/editor/editcomplete.c if (strncmp (s->str + word_len, temp->str + word_len, s 161 src/editor/editcomplete.c MAX (len, s->len) - word_len) == 0) s 99 src/editor/editdraw.c printwstr (const char *s, int len) s 102 src/editor/editdraw.c tty_printf ("%-*.*s", len, len, s); s 108 src/editor/editdraw.c status_string (WEdit * edit, char *s, int w) s 147 src/editor/editdraw.c g_snprintf (s, w, s 162 src/editor/editdraw.c g_snprintf (s, w, s 23 src/editor/editsearch.h gboolean edit_search_init (WEdit * edit, const char *s); s 357 src/editor/syntax.c xx_strchr (const WEdit * edit, const unsigned char *s, int char_byte) s 359 src/editor/syntax.c while (*s >= '\005' && xx_tolower (edit, *s) != char_byte) s 360 src/editor/syntax.c s++; s 362 src/editor/syntax.c return (const char *) s; s 592 src/editor/syntax.c syntax_marker_t *s; s 594 src/editor/syntax.c s = g_new (syntax_marker_t, 1); s 595 src/editor/syntax.c s->offset = i; s 596 src/editor/syntax.c s->rule = edit->rule; s 597 src/editor/syntax.c edit->syntax_marker = g_slist_prepend (edit->syntax_marker, s); s 605 src/editor/syntax.c syntax_marker_t *s; s 615 src/editor/syntax.c s = (syntax_marker_t *) edit->syntax_marker->data; s 617 src/editor/syntax.c if (byte_index >= s->offset) s 619 src/editor/syntax.c edit->rule = s->rule; s 620 src/editor/syntax.c for (i = s->offset + 1; i <= byte_index; i++) s 625 src/editor/syntax.c g_free (s); s 705 src/editor/syntax.c convert (char *s) s 709 src/editor/syntax.c p = r = s; s 710 src/editor/syntax.c while (*s) s 712 src/editor/syntax.c switch (*s) s 715 src/editor/syntax.c s++; s 716 src/editor/syntax.c switch (*s) s 720 src/editor/syntax.c s--; s 749 src/editor/syntax.c *p = *s; s 752 src/editor/syntax.c *p = *s; s 763 src/editor/syntax.c *p = *s; s 766 src/editor/syntax.c s++; s 1389 src/editor/syntax.c static char s[256]; s 1391 src/editor/syntax.c s[0] = '\0'; s 1397 src/editor/syntax.c for (i = 0; i < sizeof (s) - 1; i++) s 1399 src/editor/syntax.c s[i] = edit_buffer_get_byte (&edit->buffer, i); s 1400 src/editor/syntax.c if (s[i] == '\n') s 1402 src/editor/syntax.c s[i] = '\0'; s 1407 src/editor/syntax.c s[sizeof (s) - 1] = '\0'; s 1410 src/editor/syntax.c return s; s 79 src/file_history.c char *s; s 83 src/file_history.c s = strrchr (buf, ' '); s 86 src/file_history.c fhd->file_name = g_strndup (buf, s - buf); s 87 src/file_history.c len = strlen (s + 1); s 88 src/file_history.c fhd->file_pos = g_strndup (s + 1, len - 1); /* ignore '\n' */ s 115 src/file_history.c GString *s; s 117 src/file_history.c s = g_string_sized_new (128); s 123 src/file_history.c g_string_append (s, fhd->file_name); s 126 src/file_history.c g_string_append_c (s, ' '); s 127 src/file_history.c g_string_append (s, fhd->file_pos); s 130 src/file_history.c write_error = (fprintf (f, "%s\n", s->str) < 0); s 131 src/file_history.c g_string_truncate (s, 0); s 134 src/file_history.c g_string_free (s, TRUE); s 169 src/filemanager/achown.c set_perm_by_flags (char *s, int f_p) s 176 src/filemanager/achown.c s[i] = ch_perm[i]; s 178 src/filemanager/achown.c s[i] = '-'; s 180 src/filemanager/achown.c s[i] = (ch_cmode & (1 << (8 - f_p - i))) != 0 ? ch_perm[i] : '-'; s 187 src/filemanager/achown.c get_perm (char *s, int base) s 191 src/filemanager/achown.c m |= (s[0] == '-') ? 0 : s 192 src/filemanager/achown.c ((s[0] == '+') ? (mode_t) (1 << (base + 2)) : (1 << (base + 2)) & ch_cmode); s 194 src/filemanager/achown.c m |= (s[1] == '-') ? 0 : s 195 src/filemanager/achown.c ((s[1] == '+') ? (mode_t) (1 << (base + 1)) : (1 << (base + 1)) & ch_cmode); s 197 src/filemanager/achown.c m |= (s[2] == '-') ? 0 : ((s[2] == '+') ? (mode_t) (1 << base) : (1 << base) & ch_cmode); s 473 src/filemanager/boxes.c char *s; s 475 src/filemanager/boxes.c s = g_strconcat (state_str[tl->state], " ", tl->info, (char *) NULL); s 476 src/filemanager/boxes.c listbox_add_item (list, LISTBOX_APPEND_AT_END, 0, s, (void *) tl, FALSE); s 477 src/filemanager/boxes.c g_free (s); s 118 src/filemanager/cd.c char *s = NULL; s 128 src/filemanager/cd.c s = strchr (p, '}'); s 130 src/filemanager/cd.c if (s == NULL) s 131 src/filemanager/cd.c s = strchr (p, PATH_SEP); s 132 src/filemanager/cd.c if (s == NULL) s 133 src/filemanager/cd.c s = strchr (p, '\0'); s 134 src/filemanager/cd.c c = *s; s 135 src/filemanager/cd.c *s = '\0'; s 137 src/filemanager/cd.c *s = c; s 147 src/filemanager/cd.c p = s; s 148 src/filemanager/cd.c if (*s == '}') s 186 src/filemanager/cd.c char *s; s 188 src/filemanager/cd.c s = strchr (p, ':'); s 189 src/filemanager/cd.c if (s == NULL) s 190 src/filemanager/cd.c s = strchr (p, '\0'); s 191 src/filemanager/cd.c c = *s; s 192 src/filemanager/cd.c *s = '\0'; s 201 src/filemanager/cd.c *s = c; s 202 src/filemanager/cd.c p = s + 1; s 337 src/filemanager/cmd.c vfs_path_t *s, *d; s 341 src/filemanager/cmd.c s = vfs_path_append_new (current_panel->cwd_vpath, fname, (char *) NULL); s 352 src/filemanager/cmd.c s_str = diff_two_paths (other_panel->cwd_vpath, s); s 353 src/filemanager/cmd.c vfs_path_free (s, TRUE); s 354 src/filemanager/cmd.c s = vfs_path_from_str_flags (s_str, VPF_NO_CANON); s 358 src/filemanager/cmd.c symlink_box (s, d, &dest, &src); s 360 src/filemanager/cmd.c vfs_path_free (s, TRUE); s 369 src/filemanager/cmd.c s = vfs_path_from_str (src); s 370 src/filemanager/cmd.c if (mc_symlink (dest_vpath, s) == -1) s 372 src/filemanager/cmd.c vfs_path_free (s, TRUE); s 135 src/filemanager/command.c char *s; s 137 src/filemanager/command.c s = expand_format (NULL, cmd[++i], TRUE); s 138 src/filemanager/command.c g_string_append (command, s); s 139 src/filemanager/command.c g_free (s); s 239 src/filemanager/file.c char *s, *q; s 244 src/filemanager/file.c s = g_strdup (src); s 248 src/filemanager/file.c for (q = s; *q != '\0'; q++) s 252 src/filemanager/file.c fnsource = x_basename (s); s 271 src/filemanager/file.c MC_PTR_FREE (s); s 279 src/filemanager/file.c s = mc_build_filename (repl_dest, q, (char *) NULL); s 293 src/filemanager/file.c return s; s 561 src/filemanager/file.c char *s; s 565 src/filemanager/file.c s = g_strconcat (p, link_target, (char *) NULL); s 566 src/filemanager/file.c g_strlcpy (link_target, s, sizeof (link_target)); s 567 src/filemanager/file.c g_free (s); s 569 src/filemanager/file.c s = diff_two_paths (tmp_vpath1, tmp_vpath2); s 572 src/filemanager/file.c if (s != NULL) s 574 src/filemanager/file.c g_strlcpy (link_target, s, sizeof (link_target)); s 575 src/filemanager/file.c g_free (s); s 637 src/filemanager/file.c struct stat s; s 657 src/filemanager/file.c res = stat_func (tmp_vpath, &s); s 660 src/filemanager/file.c if (S_ISDIR (s.st_mode)) s 669 src/filemanager/file.c *ret_total += (uintmax_t) s.st_size; s 709 src/filemanager/file.c const struct stat *s; s 714 src/filemanager/file.c s = &fe->st; s 716 src/filemanager/file.c if (S_ISDIR (s->st_mode) || (follow_symlinks && link_isdir (fe) && fe->f.stale_link == 0)) s 731 src/filemanager/file.c *ret_total += (uintmax_t) s->st_size; s 956 src/filemanager/file.c real_query_recursive (file_op_context_t * ctx, enum OperationMode mode, const char *s) s 966 src/filemanager/file.c text = g_strdup_printf (msg, path_trunc (s, 30)); s 1021 src/filemanager/file.c query_recursive (file_op_context_t * ctx, const char *s) s 1034 src/filemanager/file.c return parent_call (pntr.p, ctx, 1, strlen (s), s); s 1036 src/filemanager/file.c return real_query_recursive (ctx, Foreground, s); s 1075 src/filemanager/file.c query_recursive (file_op_context_t * ctx, const char *s) s 1077 src/filemanager/file.c return real_query_recursive (ctx, Foreground, s); s 1195 src/filemanager/file.c const char *s, const char *d) s 1203 src/filemanager/file.c src_vpath = vfs_path_from_str (s); s 1225 src/filemanager/file.c return_status = file_error (TRUE, _("Cannot stat file \"%s\"\n%s"), s); s 1236 src/filemanager/file.c if (check_same_file (s, &src_stat, d, &dst_stat, &return_status)) s 1249 src/filemanager/file.c return_status = query_replace (ctx, s, &src_stat, d, &dst_stat); s 1296 src/filemanager/file.c return_status = files_error (_("Cannot move file \"%s\" to \"%s\"\n%s"), s, d); s 1321 src/filemanager/file.c return_status = copy_file_file (tctx, ctx, s, d); s 1425 src/filemanager/file.c const char *s; s 1458 src/filemanager/file.c s = vfs_path_as_str (vpath); s 1460 src/filemanager/file.c file_progress_show_deleting (ctx, s, NULL); s 1467 src/filemanager/file.c return try_erase_dir (ctx, s); s 1499 src/filemanager/file.c const char *s; s 1501 src/filemanager/file.c s = vfs_path_as_str (vpath); s 1503 src/filemanager/file.c file_progress_show_deleting (ctx, s, NULL); s 1514 src/filemanager/file.c return try_erase_dir (ctx, s); s 1567 src/filemanager/file.c const char *s, const char *d) s 1575 src/filemanager/file.c src_vpath = vfs_path_from_str (s); s 1594 src/filemanager/file.c if (dstat_ok && check_same_file (s, &src_stat, d, &dst_stat, &return_status)) s 1606 src/filemanager/file.c dst_vpath = vfs_path_append_new (dst_vpath, x_basename (s), (char *) NULL); s 1629 src/filemanager/file.c return_status = copy_dir_dir (tctx, ctx, s, d, FALSE, TRUE, TRUE, NULL); s 1663 src/filemanager/file.c return_status = files_error (_("Cannot move directory \"%s\" to \"%s\"\n%s"), s, d); s 1684 src/filemanager/file.c return_status = copy_dir_dir (tctx, ctx, s, d, FALSE, FALSE, TRUE, NULL); s 2760 src/filemanager/file.c copy_dir_dir (file_op_total_context_t * tctx, file_op_context_t * ctx, const char *s, const char *d, s 2771 src/filemanager/file.c src_vpath = vfs_path_from_str (s); s 2783 src/filemanager/file.c return_status = file_error (TRUE, _("Cannot stat source directory \"%s\"\n%s"), s); s 2827 src/filemanager/file.c return_status = file_error (TRUE, _("Source \"%s\" is not a directory\n%s"), s); s 2839 src/filemanager/file.c message (D_ERROR, MSG_ERROR, _("Cannot copy cyclic symbolic link\n\"%s\""), s); s 2892 src/filemanager/file.c dst_vpath = vfs_path_append_new (dst_vpath, x_basename (s), (char *) NULL); s 2961 src/filemanager/file.c path = mc_build_filename (s, next->d_name, (char *) NULL); s 3044 src/filemanager/file.c move_dir_dir (file_op_total_context_t * tctx, file_op_context_t * ctx, const char *s, const char *d) s 3046 src/filemanager/file.c return do_move_dir_dir (NULL, tctx, ctx, s, d); s 47 src/filemanager/file.h const char *s, const char *d); s 49 src/filemanager/file.h const char *s, const char *d, s 171 src/filemanager/filegui.c #define truncFileString(dlg, s) str_trunc (s, WIDGET (dlg)->cols - 10) s 172 src/filemanager/filegui.c #define truncFileStringSecure(dlg, s) path_trunc (s, WIDGET (dlg)->cols - 10) s 1119 src/filemanager/filegui.c char *s; s 1121 src/filemanager/filegui.c s = vfs_path_tokens_get (vpath, -1, 1); s 1123 src/filemanager/filegui.c label_set_text (ui->src_file, truncFileString (ui->op_dlg, s)); s 1124 src/filemanager/filegui.c g_free (s); s 1160 src/filemanager/filegui.c file_progress_show_deleting (file_op_context_t * ctx, const char *s, size_t * count) s 1182 src/filemanager/filegui.c label_set_text (ui->src_file, truncFileStringSecure (ui->op_dlg, s)); s 1008 src/filemanager/filemanager.c char *s; s 1011 src/filemanager/filemanager.c s = show_file_history (WIDGET (filemanager), &act); s 1012 src/filemanager/filemanager.c if (s != NULL) s 1019 src/filemanager/filemanager.c s_vpath = vfs_path_from_str (s); s 1024 src/filemanager/filemanager.c s_vpath = vfs_path_from_str (s); s 1032 src/filemanager/filemanager.c d = g_path_get_dirname (s); s 1035 src/filemanager/filemanager.c try_to_select (current_panel, s); s 1040 src/filemanager/filemanager.c g_free (s); s 809 src/filemanager/find.c char *s; s 838 src/filemanager/find.c s = tilde_expand (*start_dir); s 839 src/filemanager/find.c canonicalize_pathname (s); s 841 src/filemanager/find.c if (DIR_IS_DOT (s)) s 847 src/filemanager/find.c g_free (s); s 849 src/filemanager/find.c else if (g_path_is_absolute (s)) s 851 src/filemanager/find.c *start_dir = s; s 858 src/filemanager/find.c mc_build_filename (vfs_path_as_str (panel->cwd_vpath), s, (char *) NULL); s 860 src/filemanager/find.c g_free (s); s 1008 src/filemanager/find.c struct stat s; s 1018 src/filemanager/find.c if (mc_stat (vpath, &s) != 0 || !S_ISREG (s.st_mode)) s 1033 src/filemanager/find.c if (s.st_size >= MIN_REFRESH_FILE_SIZE || (tv - last_refresh) > MAX_REFRESH_INTERVAL) s 1528 src/filemanager/hotlist.c char *s; s 1542 src/filemanager/hotlist.c for (s = current->label; *s != '\0'; s++) s 1544 src/filemanager/hotlist.c if (*s == '"' || *s == '\\') s 1546 src/filemanager/hotlist.c putc (*s, hotlist_file); s 1558 src/filemanager/hotlist.c for (s = current->label; *s != '\0'; s++) s 1560 src/filemanager/hotlist.c if (*s == '"' || *s == '\\') s 1562 src/filemanager/hotlist.c putc (*s, hotlist_file); s 1565 src/filemanager/hotlist.c for (s = current->directory; *s != '\0'; s++) s 1567 src/filemanager/hotlist.c if (*s == '"' || *s == '\\') s 1569 src/filemanager/hotlist.c putc (*s, hotlist_file); s 156 src/filemanager/listmode.c char *s = select_new_item (); s 157 src/filemanager/listmode.c if (s) s 159 src/filemanager/listmode.c listbox_add_item (l_listmode, LISTBOX_APPEND_AT_END, 0, s, NULL, FALSE); s 160 src/filemanager/listmode.c g_free (s); s 180 src/filemanager/listmode.c char *s; s 250 src/filemanager/listmode.c s = strtok (oldlistformat, ","); s 252 src/filemanager/listmode.c while (s) s 254 src/filemanager/listmode.c listbox_add_item (l_listmode, LISTBOX_APPEND_AT_END, 0, s, NULL, FALSE); s 255 src/filemanager/listmode.c s = strtok (NULL, ","); s 323 src/filemanager/listmode.c char *s; s 326 src/filemanager/listmode.c s = g_strdup (oldlistformat); s 327 src/filemanager/listmode.c listmode_dlg = init_listmode (s); s 328 src/filemanager/listmode.c g_free (s); s 257 src/filemanager/treestore.c char *s; s 259 src/filemanager/treestore.c s = strtok (lc_name, " "); s 260 src/filemanager/treestore.c if (s != NULL) s 265 src/filemanager/treestore.c common = atoi (s); s 815 src/filemanager/treestore.c struct stat s; s 817 src/filemanager/treestore.c if (mc_stat (vpath, &s) == -1 || !S_ISDIR (s.st_mode)) s 894 src/keymap.c #define LOAD_KEYMAP(s,km) \ s 896 src/keymap.c load_keymap_from_section (KEYMAP_SECTION_##s, km##_keymap, mc_global_keymap) s 1206 src/subshell/common.c subshell_name_quote (const char *s) s 1233 src/subshell/common.c if (s[0] == '-') s 1244 src/subshell/common.c for (su = s; su[0] != '\0'; su = n) s 85 src/usermenu.c char *s = ss; s 88 src/usermenu.c while (*s != '\0') s 90 src/usermenu.c if (*s == '.') s 91 src/usermenu.c e = s; s 92 src/usermenu.c if (IS_PATH_SEP (*s) && e != NULL) s 94 src/usermenu.c s++; s 250 src/vfs/cpio/cpio.c char *s; s 254 src/vfs/cpio/cpio.c s = g_strconcat (super->name, decompress_extension (type), (char *) NULL); s 255 src/vfs/cpio/cpio.c tmp_vpath = vfs_path_from_str_flags (s, VPF_NO_CANON); s 260 src/vfs/cpio/cpio.c message (D_ERROR, MSG_ERROR, _("Cannot open cpio archive\n%s"), s); s 261 src/vfs/cpio/cpio.c g_free (s); s 265 src/vfs/cpio/cpio.c g_free (s); s 376 src/vfs/extfs/extfs.c extfs_skip_leading_dotslash (char *s) s 387 src/vfs/extfs/extfs.c if (s[0] == '.' && s[1] == PATH_SEP) s 388 src/vfs/extfs/extfs.c s += 2; s 390 src/vfs/extfs/extfs.c return s; s 1574 src/vfs/extfs/extfs.c struct stat s; s 1578 src/vfs/extfs/extfs.c if ((stat (fullname, &s) == 0) && S_ISREG (s.st_mode) && !S_ISDIR (s.st_mode) s 1579 src/vfs/extfs/extfs.c && is_exe (s.st_mode)) s 170 src/vfs/fish/fish.c fish_set_blksize (struct stat *s) s 174 src/vfs/fish/fish.c s->st_blksize = 64 * 1024; /* FIXME */ s 183 src/vfs/fish/fish.c struct stat *s; s 185 src/vfs/fish/fish.c s = vfs_s_default_stat (me, S_IFDIR | 0755); s 186 src/vfs/fish/fish.c fish_set_blksize (s); s 187 src/vfs/fish/fish.c vfs_adjust_stat (s); s 189 src/vfs/fish/fish.c return s; s 225 src/vfs/fish/fish.c fish_decode_reply (char *s, gboolean was_garbage) s 230 src/vfs/fish/fish.c if (sscanf (s, "%d", &code) == 0) s 974 src/vfs/fish/fish.c struct stat s; s 981 src/vfs/fish/fish.c if (fstat (h, &s) < 0) s 1024 src/vfs/fish/fish.c (uintmax_t) s.st_size); s 1061 src/vfs/fish/fish.c (uintmax_t) total, (uintmax_t) s.st_size); s 278 src/vfs/ftpfs/ftpfs.c ftpfs_set_blksize (struct stat *s) s 282 src/vfs/ftpfs/ftpfs.c s->st_blksize = 64 * 1024; /* FIXME */ s 291 src/vfs/ftpfs/ftpfs.c struct stat *s; s 293 src/vfs/ftpfs/ftpfs.c s = vfs_s_default_stat (me, S_IFDIR | 0755); s 294 src/vfs/ftpfs/ftpfs.c ftpfs_set_blksize (s); s 295 src/vfs/ftpfs/ftpfs.c vfs_adjust_stat (s); s 297 src/vfs/ftpfs/ftpfs.c return s; s 751 src/vfs/ftpfs/ftpfs.c char s[BUF_LARGE]; /* provide for BUF_LARGE characters */ s 753 src/vfs/ftpfs/ftpfs.c while (fgets (s, sizeof (s), npf) != NULL) s 757 src/vfs/ftpfs/ftpfs.c p = strchr (s, '\n'); s 765 src/vfs/ftpfs/ftpfs.c else if (p != s) s 768 src/vfs/ftpfs/ftpfs.c no_proxy = g_slist_prepend (no_proxy, g_strdup (s)); s 1432 src/vfs/ftpfs/ftpfs.c int s, j, data; s 1438 src/vfs/ftpfs/ftpfs.c s = ftpfs_initconn (me, super); s 1439 src/vfs/ftpfs/ftpfs.c if (s == -1) s 1444 src/vfs/ftpfs/ftpfs.c close (s); s 1453 src/vfs/ftpfs/ftpfs.c close (s); s 1473 src/vfs/ftpfs/ftpfs.c close (s); s 1478 src/vfs/ftpfs/ftpfs.c data = s; s 1485 src/vfs/ftpfs/ftpfs.c data = accept (s, (struct sockaddr *) &from, &fromlen); s 1489 src/vfs/ftpfs/ftpfs.c close (s); s 1581 src/vfs/ftpfs/ftpfs.c if (S_ISLNK (fel->s.st_mode) && fel->linkname != NULL) s 1607 src/vfs/ftpfs/ftpfs.c if (S_ISLNK (fe->s.st_mode) && fe->l_stat == 0) s 1631 src/vfs/ftpfs/ftpfs.c if (S_ISLNK (fe->s.st_mode)) s 1634 src/vfs/ftpfs/ftpfs.c *fel->l_stat = fe->s; s 1655 src/vfs/ftpfs/ftpfs.c struct stat s; s 1700 src/vfs/ftpfs/ftpfs.c while (!S_ISLNK (fe->s.st_mode)); s 1715 src/vfs/ftpfs/ftpfs.c if (vfs_parse_ls_lga (buffer, &s, &filename, NULL)) s 1723 src/vfs/ftpfs/ftpfs.c if (S_ISLNK (s.st_mode)) s 1734 src/vfs/ftpfs/ftpfs.c *fe->l_stat = s; s 1918 src/vfs/ftpfs/ftpfs.c struct stat s; s 1925 src/vfs/ftpfs/ftpfs.c if (fstat (h, &s) == -1) s 1986 src/vfs/ftpfs/ftpfs.c _("ftpfs: storing file"), (uintmax_t) n_stored, (uintmax_t) s.st_size); s 79 src/vfs/ftpfs/ftpfs_parse_ls.c typedef gboolean (*ftpfs_line_parser) (char *line, struct stat * s, char **filename, s 83 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_UNIX (char *line, struct stat *s, char **filename, s 85 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_NT (char *line, struct stat *s, char **filename, s 87 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_EPLF (char *line, struct stat *s, char **filename, s 89 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_MLSD (char *line, struct stat *s, char **filename, s 91 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_AS400 (char *line, struct stat *s, char **filename, s 93 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_OS2 (char *line, struct stat *s, char **filename, s 95 src/vfs/ftpfs/ftpfs_parse_ls.c static gboolean ftpfs_parse_long_list_MacWebStar (char *line, struct stat *s, char **filename, s 118 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_get_uid (const char *s) s 122 src/vfs/ftpfs/ftpfs_parse_ls.c if (*s < '0' || *s > '9') s 123 src/vfs/ftpfs/ftpfs_parse_ls.c u = vfs_finduid (s); s 125 src/vfs/ftpfs/ftpfs_parse_ls.c u = (uid_t) atol (s); s 133 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_get_gid (const char *s) s 137 src/vfs/ftpfs/ftpfs_parse_ls.c if (*s < '0' || *s > '9') s 138 src/vfs/ftpfs/ftpfs_parse_ls.c g = vfs_findgid (s); s 140 src/vfs/ftpfs/ftpfs_parse_ls.c g = (gid_t) atol (s); s 227 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_convert_date (const char *s) s 236 src/vfs/ftpfs/ftpfs_parse_ls.c n = sscanf (s, "%4d%n", &year, &skip); s 242 src/vfs/ftpfs/ftpfs_parse_ls.c n = sscanf (s, "%5d%n", &year, &skip); s 249 src/vfs/ftpfs/ftpfs_parse_ls.c n = sscanf (s + skip, "%2d%2d%2d%2d%2d", &month, &day, &hour, &minute, &second); s 276 src/vfs/ftpfs/ftpfs_parse_ls.c parse_ls_line (char *line, struct stat *s, char **filename, char **linkname) s 298 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = mode; s 304 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_nlink = atol (t); s 311 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_uid = ftpfs_get_uid (t); s 326 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_gid = ftpfs_get_gid (t); s 329 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = (off_t) size; s 341 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = (off_t) size; s 345 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_blksize = 512; s 348 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_blocks = (s->st_size + 511) / 512; s 383 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mtime = mktime (&date); s 385 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_atime = s->st_ctime = s->st_mtime; s 395 src/vfs/ftpfs/ftpfs_parse_ls.c if (!S_ISLNK (s->st_mode)) s 418 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_UNIX (char *line, struct stat *s, char **filename, char **linkname, int *err) s 431 src/vfs/ftpfs/ftpfs_parse_ls.c ret = parse_ls_line (line, s, filename, linkname); s 451 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_NT (char *line, struct stat *s, char **filename, char **linkname, int *err) s 496 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mtime = mktime (&tms); s 498 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_atime = s->st_ctime = s->st_mtime; s 501 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = S_IFDIR; s 504 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = S_IFREG; s 507 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = (off_t) size; s 543 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_EPLF (char *line, struct stat *s, char **filename, char **linkname, int *err) s 627 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = size; s 630 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mtime = date; s 632 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_atime = s->st_ctime = s->st_mtime; s 635 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = dir ? S_IFDIR : S_IFREG; s 637 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode |= perms; /* FIXME */ s 655 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_MLSD (char *line, struct stat *s, char **filename, char **linkname, int *err) s 778 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = size; s 781 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mtime = date; s 783 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_atime = s->st_ctime = s->st_mtime; s 788 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = S_IFDIR; s 791 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = S_IFLNK; s 794 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = S_IFREG; s 800 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode |= perms; /* FIXME */ s 802 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_uid = ftpfs_get_uid (owner); s 804 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_uid = ftpfs_get_gid (group); s 820 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_AS400 (char *line, struct stat *s, char **filename, char **linkname, int *err) s 900 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = type; /* FIXME */ s 906 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = type; s 907 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = (off_t) size; s 908 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mtime = mtime; s 910 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_atime = s->st_ctime = s->st_mtime; s 911 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_uid = ftpfs_get_uid (user); s 924 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_OS2 (char *line, struct stat *s, char **filename, char **linkname, int *err) s 937 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = (off_t) size; s 942 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = S_IFREG; s 945 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = S_IFDIR; s 972 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mtime = mktime (&tms); s 974 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_atime = s->st_ctime = s->st_mtime; s 992 src/vfs/ftpfs/ftpfs_parse_ls.c ftpfs_parse_long_list_MacWebStar (char *line, struct stat *s, char **filename, s 1008 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mode = type; s 1035 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_size = (off_t) size; s 1075 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_mtime = mktime (&date); s 1077 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_atime = s->st_ctime = s->st_mtime; s 1084 src/vfs/ftpfs/ftpfs_parse_ls.c if (!S_ISLNK (s->st_mode)) s 166 src/vfs/sfs/sfs.c vfs_path_t *s; s 168 src/vfs/sfs/sfs.c s = mc_getlocalcopy (pname); s 169 src/vfs/sfs/sfs.c if (s == NULL) s 175 src/vfs/sfs/sfs.c pqname = name_quote (vfs_path_get_last_path_str (s), FALSE); s 176 src/vfs/sfs/sfs.c vfs_path_free (s, TRUE); s 60 src/vfs/sftpfs/internal.c sftpfs_blksize (struct stat *s) s 63 src/vfs/sftpfs/internal.c s->st_blksize = LIBSSH2_CHANNEL_WINDOW_DEFAULT; /* FIXME */ s 65 src/vfs/sftpfs/internal.c vfs_adjust_stat (s); s 247 src/vfs/sftpfs/internal.c sftpfs_attr_to_stat (const LIBSSH2_SFTP_ATTRIBUTES * attrs, struct stat *s) s 251 src/vfs/sftpfs/internal.c s->st_uid = attrs->uid; s 252 src/vfs/sftpfs/internal.c s->st_gid = attrs->gid; s 257 src/vfs/sftpfs/internal.c s->st_atime = attrs->atime; s 258 src/vfs/sftpfs/internal.c s->st_mtime = attrs->mtime; s 259 src/vfs/sftpfs/internal.c s->st_ctime = attrs->mtime; s 261 src/vfs/sftpfs/internal.c s->st_atim.tv_nsec = s->st_mtim.tv_nsec = s->st_ctim.tv_nsec = 0; s 267 src/vfs/sftpfs/internal.c s->st_size = attrs->filesize; s 268 src/vfs/sftpfs/internal.c sftpfs_blksize (s); s 272 src/vfs/sftpfs/internal.c s->st_mode = attrs->permissions; s 77 src/vfs/sftpfs/internal.h void sftpfs_attr_to_stat (const LIBSSH2_SFTP_ATTRIBUTES * attrs, struct stat *s); s 364 src/vfs/tar/tar.c char *s; s 368 src/vfs/tar/tar.c s = g_strconcat (archive->name, decompress_extension (type), (char *) NULL); s 369 src/vfs/tar/tar.c tmp_vpath = vfs_path_from_str_flags (s, VPF_NO_CANON); s 373 src/vfs/tar/tar.c message (D_ERROR, MSG_ERROR, _("Cannot open tar archive\n%s"), s); s 374 src/vfs/tar/tar.c g_free (s); s 291 src/viewer/ascii.c mcview_char_display (const WView * view, int c, char *s) s 300 src/viewer/ascii.c return g_unichar_to_utf8 (c, s); s 306 src/viewer/ascii.c s[0] = s[1] = '.'; s 325 src/viewer/ascii.c *s = c; s 425 src/viewer/datasource.c mcview_set_datasource_string (WView * view, const char *s) s 428 src/viewer/datasource.c view->ds_string_len = strlen (s); s 429 src/viewer/datasource.c view->ds_string_data = (byte *) g_strndup (s, view->ds_string_len); s 271 src/viewer/internal.h void mcview_set_datasource_string (WView * view, const char *s); s 71 tests/lib/search/glob_prepare_replace_str.c mc_search_t *s; s 74 tests/lib/search/glob_prepare_replace_str.c s = mc_search_new (data->glob_str, NULL); s 75 tests/lib/search/glob_prepare_replace_str.c s->is_case_sensitive = TRUE; s 76 tests/lib/search/glob_prepare_replace_str.c s->search_type = MC_SEARCH_T_GLOB; s 79 tests/lib/search/glob_prepare_replace_str.c mc_search_run (s, data->input_value, 0, strlen (data->input_value), NULL); s 80 tests/lib/search/glob_prepare_replace_str.c dest_str = mc_search_prepare_replace_str2 (s, (char *) data->replace_str); s 86 tests/lib/search/glob_prepare_replace_str.c mc_search_free (s); s 86 tests/mctest.h Suite *s; s 90 tests/mctest.h s = suite_create (TEST_SUITE_NAME); s 91 tests/mctest.h suite_add_tcase (s, tc_core); s 92 tests/mctest.h sr = srunner_create (s); s 116 tests/src/editor/edit_complete_word_cmd.c GString *s = (GString *) i->data; s 118 tests/src/editor/edit_complete_word_cmd.c g_queue_push_tail (edit_completion_dialog_show__compl, mc_g_string_dup (s)); s 179 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c chomp (char *s) s 183 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c i = strlen (s); s 186 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c if ((--i >= 0) && (s[i] == '\r' || s[i] == '\n')) s 187 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c s[i] = '\0'; s 188 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c if ((--i >= 0) && (s[i] == '\r' || s[i] == '\n')) s 189 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c s[i] = '\0';