len 147 lib/charsets.c for (i = 0; i < (*list)->len; i++) len 163 lib/charsets.c if (i == (*list)->len) len 255 lib/charsets.c for (i = 0; i < codepages->len; i++) len 354 lib/charsets.c str_nconvert_to_display (const char *str, int len) len 370 lib/charsets.c str_nconvert (conv, str, len, buff); len 388 lib/charsets.c str_nconvert_to_input (const char *str, int len) len 404 lib/charsets.c str_nconvert (conv, str, len, buff); len 69 lib/charsets.h GString *str_nconvert_to_input (const char *str, int len); len 70 lib/charsets.h GString *str_nconvert_to_display (const char *str, int len); len 207 lib/event/manage.c for (array_index = 0; array_index < callbacks->len; array_index++) len 66 lib/event/raise.c for (array_index = callbacks->len; array_index > 0; array_index--) len 269 lib/filehighlight/get-color.c if (mc_search_run (mc_filter->search_condition, fe->fname->str, 0, fe->fname->len, NULL)) len 288 lib/filehighlight/get-color.c for (i = 0; i < fhl->filters->len; i++) len 158 lib/filehighlight/ini-file-read.c if (buf->len != 0) len 171 lib/filehighlight/ini-file-read.c mc_filter->search_condition = mc_search_new_len (buf->str, buf->len, DEFAULT_CHARSET); len 90 lib/glibcompat.c for (i = 0; i < haystack->len; i++) len 220 lib/glibcompat.c string->len = strlen (string->str); len 221 lib/glibcompat.c string->allocated_len = string->len + 1; len 248 lib/glibcompat.c g_string_append_len (dest, src->str, src->len); len 270 lib/glibcompat.c ret = g_string_new_len (s->str, s->len); len 289 lib/glibcompat.c mc_g_string_append_c_len (GString *s, gchar c, guint len) len 293 lib/glibcompat.c if (len != 0) len 295 lib/glibcompat.c guint s_len = s->len; len 297 lib/glibcompat.c g_string_set_size (s, s->len + len); len 298 lib/glibcompat.c memset (s->str + s_len, (unsigned char) c, len); len 44 lib/glibcompat.h GString *mc_g_string_append_c_len (GString * s, gchar c, guint len); len 144 lib/lock.c size_t i, len; len 149 lib/lock.c len = strlen (str); len 151 lib/lock.c for (p = str + len - 1; p >= str && *p != '.'; p--) len 162 lib/lock.c for (i = 0, p++, s = str + len; i < sizeof (pid) && p < s && *p != ':'; i++, p++) len 51 lib/mcconfig.h gchar **mc_config_get_groups (const mc_config_t * mc_config, gsize * len); len 52 lib/mcconfig.h gchar **mc_config_get_keys (const mc_config_t * mc_config, const gchar * group, gsize * len); len 54 lib/mcconfig/common.c gsize len, total_written; len 62 lib/mcconfig/common.c data = g_key_file_to_data (mc_config->handle, &len, NULL); len 65 lib/mcconfig/common.c ret = g_file_set_contents (ini_path, data, len, mcerror); len 83 lib/mcconfig/common.c for (written_data = data, total_written = len; len 49 lib/mcconfig/get.c mc_config_get_groups (const mc_config_t *mc_config, gsize *len) len 54 lib/mcconfig/get.c ret = g_key_file_get_groups (mc_config->handle, len); len 59 lib/mcconfig/get.c if (len != NULL) len 60 lib/mcconfig/get.c *len = 0; len 69 lib/mcconfig/get.c mc_config_get_keys (const mc_config_t *mc_config, const gchar *group, gsize *len) len 74 lib/mcconfig/get.c ret = g_key_file_get_keys (mc_config->handle, group, len, NULL); len 79 lib/mcconfig/get.c if (len != NULL) len 80 lib/mcconfig/get.c *len = 0; len 171 lib/mcconfig/history.c hist = list_append_unique (hist, g_strndup (buffer->str, buffer->len)); len 58 lib/search/glob.c for (loop = 0; loop < astr->len; loop++) len 71 lib/search/hex.c str_len = astr->len; len 80 lib/search/lib.c converted_str = mc_search__recode_str (str->str, str->len, charset, cp_display); len 82 lib/search/lib.c dst_len = converted_str->len + 1; /* +1 is required for str_toupper/str_tolower */ len 90 lib/search/lib.c dst_len = converted_str->len; len 98 lib/search/lib.c dst_len = str->len + 1; /* +1 is required for str_toupper/str_tolower */ len 179 lib/search/lib.c mc_search__recode_str (converted_str->str, converted_str->len, cp_display, charset); len 54 lib/search/normal.c for (loop = 0; loop < str->len; loop++) len 106 lib/search/regex.c while ((spec_chr_len < regex_str->len - *offset) len 134 lib/search/regex.c for (loop = 0; loop < upp->len; loop++) len 139 lib/search/regex.c if (loop >= low->len || upp->str[loop] == low->str[loop]) len 165 lib/search/regex.c while (loop < str_from->len) len 172 lib/search/regex.c MIN (str_from->len - loop, 6), &just_letters); len 174 lib/search/regex.c if (one_char->len == 0) len 178 lib/search/regex.c loop += one_char->len; len 183 lib/search/regex.c g_string_append_len (recoded_part, one_char->str, one_char->len); len 189 lib/search/regex.c g_string_append_len (str_to, recoded_part->str, recoded_part->len); len 220 lib/search/regex.c while (loop < astr->len) len 225 lib/search/regex.c g_string_append_len (ret_str, spec_char->str, spec_char->len); len 234 lib/search/regex.c while (loop < astr->len && !(astr->str[loop] == ']' len 327 lib/search/regex.c (regex, search_str->str, search_str->len, 0, G_REGEX_MATCH_NEWLINE_ANY, len 348 lib/search/regex.c pcre2_match (regex, (unsigned char *) search_str->str, search_str->len, 0, 0, len 351 lib/search/regex.c pcre_exec (regex, lc_mc_search->regex_match_info, search_str->str, search_str->len, 0, 0, len 370 lib/search/regex.c for (loop1 = 0; loop1 < lc_mc_search->prepared.conditions->len; loop1++) len 393 lib/search/regex.c mc_search_regex__get_max_num_of_replace_tokens (const gchar *str, gsize len) len 398 lib/search/regex.c for (loop = 0; loop < len - 1; loop++) len 414 lib/search/regex.c loop + tmp_len + 2 < len && (str[loop + 2 + tmp_len] & (char) 0xf0) == 0x30; len 463 lib/search/regex.c if (replace_str->len > current_pos + 2) len 468 lib/search/regex.c current_pos + *skip_len < replace_str->len && curr_str[*skip_len] >= '0' len 472 lib/search/regex.c if (current_pos + *skip_len < replace_str->len && curr_str[*skip_len] == '}') len 492 lib/search/regex.c current_pos + *skip_len < replace_str->len len 496 lib/search/regex.c if (current_pos + *skip_len < replace_str->len && curr_str[*skip_len] == '}') len 545 lib/search/regex.c if (current_pos > replace_str->len) len 550 lib/search/regex.c if (replace_str->len > current_pos + 2 && curr_str[0] == '$' && curr_str[1] == '{' len 562 lib/search/regex.c current_pos + *skip_len + 2 < replace_str->len len 580 lib/search/regex.c if (curr_str[0] == '\\' && replace_str->len > current_pos + 1) len 631 lib/search/regex.c mc_search_regex__process_append_str (GString *dest_str, const char *from, gsize len, len 637 lib/search/regex.c if (len == (gsize) (-1)) len 638 lib/search/regex.c len = strlen (from); len 642 lib/search/regex.c g_string_append_len (dest_str, from, len); len 646 lib/search/regex.c for (loop = 0; loop < len; loop += char_len) len 651 lib/search/regex.c s = mc_search__get_one_symbol (NULL, from + loop, len - loop, NULL); len 652 lib/search/regex.c char_len = s->len; len 658 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); len 664 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); len 669 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); len 674 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); len 686 lib/search/regex.c mc_search_regex__process_escape_sequence (GString *dest_str, const char *from, gsize len, len 693 lib/search/regex.c if (len == (gsize) (-1)) len 694 lib/search/regex.c len = strlen (from); len 695 lib/search/regex.c if (len == 0) len 700 lib/search/regex.c if (i >= len) len 706 lib/search/regex.c if (i < len && from[i] == '{') len 708 lib/search/regex.c for (; i < len; i++) len 721 lib/search/regex.c for (; i < len && from[i] >= '0' && from[i] <= '7'; i++) len 749 lib/search/regex.c mc_search_regex__process_append_str (dest_str, from, len, replace_flags); len 1029 lib/search/regex.c mc_search_regex__get_max_num_of_replace_tokens (replace_str->str, replace_str->len); len 1044 lib/search/regex.c for (loop = 0; loop < replace_str->len - 1; loop++) len 1048 lib/search/regex.c gsize len = 0; len 1050 lib/search/regex.c lc_index = mc_search_regex__process_replace_str (replace_str, loop, &len, &replace_flags); len 1054 lib/search/regex.c if (len != 0) len 1058 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + loop + 1, len - 1, len 1060 lib/search/regex.c prev = loop + len; len 1072 lib/search/regex.c prev = loop + len; len 1083 lib/search/regex.c mc_search_regex__process_escape_sequence (ret, replace_str->str + loop + 1, len - 1, len 1085 lib/search/regex.c prev = loop + len; len 1108 lib/search/regex.c prev = loop + len; len 1112 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, replace_str->len - prev, len 1136 lib/search/regex.c if (search->original.str->str[search->original.str->len - 1] == '$') len 225 lib/search/search.c for (loop1 = 0; loop1 < codepages->len; loop1++) len 241 lib/search/search.c lc_mc_search->original.str->len, len 357 lib/search/search.c if (replace_str == NULL || replace_str->len == 0) len 77 lib/skin/ini-file.c for (i = 0; i < list->len; i++) len 81 lib/skin/ini-file.c if (i < list->len) len 51 lib/strutil/filevercmp.c file_prefixlen (const char *s, ssize_t *len) len 53 lib/strutil/filevercmp.c size_t n = (size_t) (*len); /* SIZE_MAX if N == -1 */ len 61 lib/strutil/filevercmp.c if (*len < 0) len 68 lib/strutil/filevercmp.c *len = (ssize_t) i; len 91 lib/strutil/filevercmp.c order (const char *s, size_t pos, size_t len) len 95 lib/strutil/filevercmp.c if (pos == len) len 962 lib/strutil/strutil.c ssize_t len; len 964 lib/strutil/strutil.c len = strlen (haystack); len 968 lib/strutil/strutil.c semi = g_strrstr_len (haystack, len, needle); len 971 lib/strutil/strutil.c len = semi - haystack - 1; len 140 lib/tty/color-internal.c int len; len 143 lib/tty/color-internal.c len = (int) strlen (color_name); len 144 lib/tty/color-internal.c if (len == 3 || len == 6) len 148 lib/tty/color-internal.c for (i = 0; i < len; i++) len 70 lib/tty/color-slang.c const size_t len = strlen (terminal); len 89 lib/tty/color-slang.c if ((i != 0) && (i == len) && (strncmp (s, terminal, i) == 0)) len 1622 lib/tty/key.c return g_string_free (s, s->len == 0); len 2194 lib/tty/key.c return g_string_free (buffer, buffer->len == 0); len 479 lib/tty/tty-ncurses.c tty_draw_hline (int y, int x, int ch, int len) len 490 lib/tty/tty-ncurses.c len += x; len 491 lib/tty/tty-ncurses.c if (len <= 0) len 500 lib/tty/tty-ncurses.c hline (ch, len); len 510 lib/tty/tty-ncurses.c tty_draw_vline (int y, int x, int ch, int len) len 521 lib/tty/tty-ncurses.c len += y; len 522 lib/tty/tty-ncurses.c if (len <= 0) len 531 lib/tty/tty-ncurses.c vline (ch, len); len 704 lib/tty/tty-ncurses.c int len; len 708 lib/tty/tty-ncurses.c len = str_term_width1 (s); len 711 lib/tty/tty-ncurses.c if (mc_curs_row < 0 || mc_curs_row >= LINES || mc_curs_col + len <= 0 || mc_curs_col >= COLS) len 713 lib/tty/tty-ncurses.c mc_curs_col += len; len 721 lib/tty/tty-ncurses.c len += mc_curs_col; len 725 lib/tty/tty-ncurses.c mc_curs_col += len; len 727 lib/tty/tty-ncurses.c len = COLS - (mc_curs_col - len); len 729 lib/tty/tty-ncurses.c addstr (str_term_substring (s, start, len)); len 539 lib/tty/tty-slang.c tty_draw_hline (int y, int x, int ch, int len) len 550 lib/tty/tty-slang.c len += x; len 551 lib/tty/tty-slang.c if (len <= 0) len 564 lib/tty/tty-slang.c SLsmg_draw_hline (len); len 566 lib/tty/tty-slang.c while (len-- != 0) len 575 lib/tty/tty-slang.c tty_draw_vline (int y, int x, int ch, int len) len 586 lib/tty/tty-slang.c len += y; len 587 lib/tty/tty-slang.c if (len <= 0) len 600 lib/tty/tty-slang.c SLsmg_draw_vline (len); len 605 lib/tty/tty-slang.c while (len-- != 0) len 126 lib/tty/tty.h extern void tty_draw_hline (int y, int x, int ch, int len); len 127 lib/tty/tty.h extern void tty_draw_vline (int y, int x, int ch, int len); len 149 lib/util.c int len; len 151 lib/util.c len = mc_readlink (vpath, buf2, MC_MAXPATHLEN - 1); len 152 lib/util.c if (len < 0) len 157 lib/util.c buf2[len] = '\0'; len 302 lib/util.c if (ret->len == 0) len 311 lib/util.c return g_string_free (ret, ret->len == 0); len 419 lib/util.c size_trunc_len (char *buffer, unsigned int len, uintmax_t size, int units, gboolean use_si) len 465 lib/util.c if (len == 0) len 466 lib/util.c len = 9; len 469 lib/util.c else if (len > 19) len 470 lib/util.c len = 19; len 473 lib/util.c else if (len > 9) len 474 lib/util.c len = 9; len 500 lib/util.c g_snprintf (buffer, len + 1, "%s", "0"); len 505 lib/util.c g_snprintf (buffer, len + 1, (len > 1) ? "~%s" : "%s", (j > 1) ? sfx[j - 1] : "B"); len 510 lib/util.c if (size < power10[len - (j > 0 ? 1 : 0)]) len 512 lib/util.c g_snprintf (buffer, len + 1, "%" PRIuMAX "%s", size, sfx[j]); len 638 lib/util.c extract_line (const char *s, const char *top, size_t *len) len 647 lib/util.c if (len != NULL) len 648 lib/util.c *len = (size_t) (t - tmp_line); len 1063 lib/util.c ptrdiff_t len; len 1072 lib/util.c len = r - p; len 1073 lib/util.c if (len != (s - q) || strncmp (p, q, (size_t) len) != 0) len 1155 lib/util.c const size_t len = vfs_path_len (filename_vpath); len 1179 lib/util.c if (strncmp (buf, vfs_path_as_str (filename_vpath), len) != 0) len 1183 lib/util.c if (buf[len] != ' ') len 1187 lib/util.c p = &buf[len + 1]; len 1248 lib/util.c const size_t len = vfs_path_len (filename_vpath); len 1282 lib/util.c for (i = 0; i < bookmarks->len && i < MAX_SAVED_BOOKMARKS; i++) len 1293 lib/util.c if (buf[len] == ' ' && strncmp (buf, vfs_path_as_str (filename_vpath), len) == 0 len 1294 lib/util.c && strchr (&buf[len + 1], ' ') == NULL) len 111 lib/util.h ssize_t len; len 171 lib/util.h void size_trunc_len (char *buffer, unsigned int len, uintmax_t size, int units, gboolean use_si); len 206 lib/util.h const char *extract_line (const char *s, const char *top, size_t *len); len 230 lib/utilunix.c ps->len = MC_PIPE_STREAM_UNREAD; len 234 lib/utilunix.c buf_len = (size_t) ps->len; len 248 lib/utilunix.c ps->len = MC_PIPE_ERROR_READ; len 253 lib/utilunix.c ps->len = MC_PIPE_STREAM_EOF; len 257 lib/utilunix.c ps->len = read_len; len 260 lib/utilunix.c ps->buf[(size_t) ps->len] = '\0'; len 581 lib/utilunix.c p->out.len = MC_PIPE_BUFSIZE; len 585 lib/utilunix.c p->err.len = MC_PIPE_BUFSIZE; len 631 lib/utilunix.c p->out.len = MC_PIPE_STREAM_UNREAD; len 632 lib/utilunix.c p->err.len = MC_PIPE_STREAM_UNREAD; len 663 lib/utilunix.c p->out.len = MC_PIPE_STREAM_UNREAD; len 668 lib/utilunix.c p->err.len = MC_PIPE_STREAM_UNREAD; len 690 lib/utilunix.c if (ps->len < 0) len 693 lib/utilunix.c size = ps->len - ps->pos; len 857 lib/utilunix.c size_t len; len 881 lib/utilunix.c len = strlen (lpath); len 882 lib/utilunix.c if (len < 2) len 885 lib/utilunix.c if (IS_PATH_SEP (lpath[len - 1]) len 886 lib/utilunix.c && (len < url_delim_len len 887 lib/utilunix.c || strncmp (lpath + len - url_delim_len, VFS_PATH_URL_DELIMITER, len 889 lib/utilunix.c lpath[len - 1] = '\0'; len 890 lib/utilunix.c else if (lpath[len - 1] == '.' && IS_PATH_SEP (lpath[len - 2])) len 892 lib/utilunix.c if (len == 2) len 898 lib/utilunix.c lpath[len - 2] = '\0'; len 1323 lib/utilunix.c if (!IS_PATH_SEP (path->str[path->len - 1]) && element != NULL) len 527 lib/vfs/direntry.c size_t len; len 548 lib/vfs/direntry.c len = strlen (ino->linkname); len 549 lib/vfs/direntry.c if (size < len) len 550 lib/vfs/direntry.c len = size; len 552 lib/vfs/direntry.c memcpy (buf, ino->linkname, len); len 553 lib/vfs/direntry.c return len; len 1544 lib/vfs/direntry.c size_t len; len 1549 lib/vfs/direntry.c len = sizeof (struct vfs_s_subclass) - sizeof (struct vfs_class); len 1551 lib/vfs/direntry.c memset (start, 0, len); len 83 lib/vfs/parse_ls_vga.c size_t len; len 88 lib/vfs/parse_ls_vga.c len = strlen (str); len 89 lib/vfs/parse_ls_vga.c if (len != 8 && len != 10) len 308 lib/vfs/path.c for (i = 0; i < vfs__classes_list->len; i++) len 510 lib/vfs/path.c if (((element->class->flags & VFSF_LOCAL) == 0 || ret_tokens->len > 0) len 511 lib/vfs/path.c && element_tokens->len > 0) len 515 lib/vfs/path.c if (ret_tokens->len > 0 && !IS_PATH_SEP (ret_tokens->str[ret_tokens->len - 1])) len 524 lib/vfs/path.c g_string_append_len (ret_tokens, url_str->str, url_str->len); len 533 lib/vfs/path.c if (ret_tokens->len > 0 && !IS_PATH_SEP (ret_tokens->str[ret_tokens->len - 1])) len 557 lib/vfs/path.c size_t len; len 559 lib/vfs/path.c len = strlen (home_dir); len 561 lib/vfs/path.c if (strncmp (dir, home_dir, len) == 0 && (IS_PATH_SEP (dir[len]) || dir[len] == '\0')) len 562 lib/vfs/path.c return g_strdup_printf ("~%s", dir + len); len 585 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) \ len 631 lib/vfs/path.c if (!is_relative && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) len 640 lib/vfs/path.c g_string_append_len (buffer, url_str->str, url_str->len); len 652 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) len 783 lib/vfs/path.c return (vpath != NULL && vpath->path != NULL) ? vpath->path->len : 0; len 1015 lib/vfs/path.c for (i = 1; i < vfs__classes_list->len; i++) len 1047 lib/vfs/path.c vfs_get_encoding (const char *path, ssize_t len) len 1052 lib/vfs/path.c semi = g_strrstr_len (path, len, VFS_ENCODING_PREFIX); len 1470 lib/vfs/path.c if (element_tokens->len != 0) len 1557 lib/vfs/path.c if (buffer->len != 0) len 1584 lib/vfs/path.c g_string_append_len (pretty_path, url_params->str, url_params->len); len 1633 lib/vfs/path.c vfs_path_equal_len (const vfs_path_t *vpath1, const vfs_path_t *vpath2, size_t len) len 1644 lib/vfs/path.c ret_val = strncmp (path1, path2, len) == 0; len 85 lib/vfs/path.h char *vfs_get_encoding(const char *path, ssize_t len); len 98 lib/vfs/path.h gboolean vfs_path_equal_len (const vfs_path_t * vpath1, const vfs_path_t * vpath2, size_t len); len 200 lib/vfs/vfs.c if (handle < VFS_FIRST_HANDLE || (guint) (handle - VFS_FIRST_HANDLE) >= vfs_openfiles->len) len 232 lib/vfs/vfs.c if (handle >= VFS_FIRST_HANDLE && (guint) idx < vfs_openfiles->len) len 282 lib/vfs/vfs.c h->handle = vfs_openfiles->len; len 502 lib/vfs/vfs.c for (i = 0; i < vfs__classes_list->len; i++) len 564 lib/vfs/vfs.c d->d_len = d->d_name_str->len; len 594 lib/vfs/vfs.c for (i = 0; i < vfs__classes_list->len; i++) len 149 lib/vfs/xdirentry.h ssize_t (*linear_read) (struct vfs_class * me, vfs_file_handler_t * fh, void *buf, size_t len); len 618 lib/widget/dialog.c dlg_get_title (const WDialog *h, size_t len) len 626 lib/widget/dialog.c t = h->get_title (h, len); len 53 lib/widget/dialog.h typedef char *(*dlg_title_str) (const WDialog * h, size_t len); len 117 lib/widget/dialog.h char *dlg_get_title (const WDialog * h, size_t len); len 93 lib/widget/input.c size_t len = 0; len 96 lib/widget/input.c len++; len 98 lib/widget/input.c return len; len 157 lib/widget/input.c size_t len; len 160 lib/widget/input.c len = get_history_length (in->history.list); len 177 lib/widget/input.c if (len != get_history_length (in->history.list)) len 544 lib/widget/input.c kill_buffer = g_strndup (in->buffer->str + chp, in->buffer->len - chp); len 87 lib/widget/input.h int len, const char *text, const char *histname, len 119 lib/widget/input.h return g_strndup (in->buffer->str, in->buffer->len); len 149 lib/widget/input.h return (in->buffer->len == 0); len 290 lib/widget/input_complete.c if (!IS_PATH_SEP (temp->str[temp->len - 1])) len 499 lib/widget/input_complete.c for (; host_p < hosts->len; host_p++) len 507 lib/widget/input_complete.c if (host_p == hosts->len) len 705 lib/widget/input_complete.c while ((string = entry_function (text, match_list->len, flags)) != NULL) len 710 lib/widget/input_complete.c if (match_list->len == 0) len 719 lib/widget/input_complete.c if (match_list->len > 1) len 729 lib/widget/input_complete.c for (i = 0, j = 1; j < match_list->len;) len 959 lib/widget/input_complete.c tail_len = in->buffer->len - end; len 968 lib/widget/input_complete.c if (in->buffer->len < hole_end) len 1182 lib/widget/input_complete.c || ((what_to_do & DO_QUERY) != 0 && in->completions->len == 1)) len 1187 lib/widget/input_complete.c if (!insert_text (in, lc_complete, -1) || in->completions->len > 1) len 1193 lib/widget/input_complete.c if ((what_to_do & DO_QUERY) != 0 && in->completions != NULL && in->completions->len > 1) len 1205 lib/widget/input_complete.c for (k = 1; k < in->completions->len; k++) len 1212 lib/widget/input_complete.c count = in->completions->len - 1; len 1248 lib/widget/input_complete.c for (k = 1; k < in->completions->len; k++) len 1362 lib/widget/input_complete.c for (i = 0; i < matches->len; i++) len 73 lib/widget/listbox-window.c int len; len 75 lib/widget/listbox-window.c len = str_term_width1 (title) + 4; len 76 lib/widget/listbox-window.c cols = MAX (cols, len); len 101 lib/widget/menu.c size_t len; len 103 lib/widget/menu.c len = (size_t) hotkey_width (entry->text); len 104 lib/widget/menu.c menu->max_hotkey_len = MAX (menu->max_hotkey_len, len); len 111 lib/widget/menu.c len = (size_t) str_term_width1 (entry->shortcut); len 112 lib/widget/menu.c max_shortcut_len = MAX (max_shortcut_len, len); len 374 lib/widget/menu.c const unsigned int len = g_list_length (menu->entries); len 381 lib/widget/menu.c menu->current = (menu->current + 1) % len; len 395 lib/widget/menu.c const unsigned int len = g_list_length (menu->entries); len 403 lib/widget/menu.c menu->current = len - 1; len 458 lib/widget/menu.c const unsigned int len = g_list_length (menu->entries); len 461 lib/widget/menu.c if (menu->current == len - 1) len 466 lib/widget/menu.c menu->current = len; len 1051 lib/widget/menu.c int len = menu->start_x; len 1054 lib/widget/menu.c start_x += len + gap; len 166 lib/widget/quick.c int len; len 190 lib/widget/quick.c len = str_term_width1 (I18N (quick_dlg->title)) + 6; len 191 lib/widget/quick.c quick_dlg->rect.cols = MAX (quick_dlg->rect.cols, len); len 302 lib/widget/quick.c len = str_term_width1 (quick_widget->u.groupbox.title); len 303 lib/widget/quick.c g = groupbox_new (++y, x, 1, len + 4, quick_widget->u.groupbox.title); len 398 lib/widget/quick.c len = width1 + 6; len 401 lib/widget/quick.c len = width2 * 2 + 7; len 403 lib/widget/quick.c len = MAX (len, width1 + 6); len 406 lib/widget/quick.c quick_dlg->rect.cols = MAX (quick_dlg->rect.cols, len); len 425 lib/widget/quick.c for (i = 0; i < widgets->len; i++) len 589 lib/widget/quick.c for (i = 0; i < widgets->len; i++) len 343 src/background.c int len; len 372 src/background.c len = strlen (resstr); len 373 src/background.c ret = write (to_child_fd, &len, sizeof (len)); len 374 src/background.c if (len != 0) len 375 src/background.c ret = write (to_child_fd, resstr, len); len 380 src/background.c len = 0; len 381 src/background.c ret = write (to_child_fd, &len, sizeof (len)); len 435 src/background.c int len; len 438 src/background.c len = va_arg (ap, int); len 440 src/background.c ret = write (parent_fd, &len, sizeof (len)); len 441 src/background.c ret = write (parent_fd, value, len); len 464 src/background.c int len; len 467 src/background.c len = va_arg (ap, int); len 469 src/background.c if (write (parent_fd, &len, sizeof (len)) != sizeof (len) || len 470 src/background.c write (parent_fd, value, len) != len) len 125 src/clipboard.c p->out.len = MC_PIPE_BUFSIZE; len 126 src/clipboard.c p->err.len = MC_PIPE_BUFSIZE; len 138 src/clipboard.c if (p->out.len == MC_PIPE_STREAM_EOF || p->out.len == MC_PIPE_ERROR_READ) len 141 src/clipboard.c if (p->out.len > 0) len 157 src/clipboard.c nwrite = mc_write (file, p->out.buf, p->out.len); len 238 src/clipboard.c size_t len; len 240 src/clipboard.c len = strlen (buf); len 241 src/clipboard.c if (len > 0) len 243 src/clipboard.c if (buf[len - 1] == '\n') len 244 src/clipboard.c buf[len - 1] = '\0'; len 47 src/diffviewer/internal.h int len; len 63 src/diffviewer/internal.h int len; len 73 src/diffviewer/internal.h size_t len; len 157 src/diffviewer/search.c if ((size_t) dview->search.last_accessed_num_line >= dview->a[dview->ord]->len) len 158 src/diffviewer/search.c dview->search.last_accessed_num_line = (ssize_t) dview->a[dview->ord]->len; len 165 src/diffviewer/search.c if (p->u.len == 0) len 168 src/diffviewer/search.c if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL)) len 188 src/diffviewer/search.c else if ((size_t) dview->search.last_accessed_num_line >= dview->a[dview->ord]->len) len 190 src/diffviewer/search.c dview->search.last_accessed_num_line = (ssize_t) dview->a[dview->ord]->len; len 194 src/diffviewer/search.c for (ind = (size_t) ++dview->search.last_accessed_num_line; ind < dview->a[dview->ord]->len; len 200 src/diffviewer/search.c if (p->u.len == 0) len 203 src/diffviewer/search.c if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL)) len 89 src/diffviewer/ydiff.c (fs)->len = 0; \ len 338 src/diffviewer/ydiff.c for (i = fs->pos; j < size && i < fs->len && !stop; i++, j++) len 350 src/diffviewer/ydiff.c fs->len = read (fs->fd, fs->buf, FILE_READ_BUF); len 352 src/diffviewer/ydiff.c while (fs->len > 0); len 375 src/diffviewer/ydiff.c if (fs->len != 0 && whence != SEEK_END) len 383 src/diffviewer/ydiff.c off += rv - fs->len + fs->pos; len 385 src/diffviewer/ydiff.c if (off - rv >= -fs->len && off - rv <= 0) len 387 src/diffviewer/ydiff.c fs->pos = fs->len + off - rv; len 789 src/diffviewer/ydiff.c return ops->len; len 925 src/diffviewer/ydiff.c for (i = 0; i < ops->len; i++) len 1059 src/diffviewer/ydiff.c for (k = 0; k < ret->len; k++) len 1065 src/diffviewer/ydiff.c if (k == ret->len) len 1108 src/diffviewer/ydiff.c int len; len 1112 src/diffviewer/ydiff.c len = lcsubstr (s + bracket[DIFF_LEFT].off, bracket[DIFF_LEFT].len, len 1113 src/diffviewer/ydiff.c t + bracket[DIFF_RIGHT].off, bracket[DIFF_RIGHT].len, ret, min); len 1114 src/diffviewer/ydiff.c if (ret->len != 0) len 1121 src/diffviewer/ydiff.c b[DIFF_LEFT].len = (*data)[0]; len 1123 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = (*data)[1]; len 1127 src/diffviewer/ydiff.c for (k = 0; k < ret->len - 1; k++) len 1131 src/diffviewer/ydiff.c b[DIFF_LEFT].off = bracket[DIFF_LEFT].off + (*data)[0] + len; len 1132 src/diffviewer/ydiff.c b[DIFF_LEFT].len = (*data2)[0] - (*data)[0] - len; len 1133 src/diffviewer/ydiff.c b[DIFF_RIGHT].off = bracket[DIFF_RIGHT].off + (*data)[1] + len; len 1134 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = (*data2)[1] - (*data)[1] - len; len 1139 src/diffviewer/ydiff.c b[DIFF_LEFT].off = bracket[DIFF_LEFT].off + (*data)[0] + len; len 1140 src/diffviewer/ydiff.c b[DIFF_LEFT].len = bracket[DIFF_LEFT].len - (*data)[0] - len; len 1141 src/diffviewer/ydiff.c b[DIFF_RIGHT].off = bracket[DIFF_RIGHT].off + (*data)[1] + len; len 1142 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = bracket[DIFF_RIGHT].len - (*data)[1] - len; len 1152 src/diffviewer/ydiff.c p[DIFF_LEFT].len = bracket[DIFF_LEFT].len; len 1154 src/diffviewer/ydiff.c p[DIFF_RIGHT].len = bracket[DIFF_RIGHT].len; len 1189 src/diffviewer/ydiff.c b[DIFF_LEFT].len = m - i; len 1191 src/diffviewer/ydiff.c b[DIFF_RIGHT].len = n - i; len 1217 src/diffviewer/ydiff.c for (i = 0; i < hdiff->len; i++) len 1223 src/diffviewer/ydiff.c end = start + (*b)[ord].len; len 1650 src/diffviewer/ydiff.c p.u.len = sz; len 1658 src/diffviewer/ydiff.c p = &g_array_index (a, DIFFLN, a->len - 1); len 1666 src/diffviewer/ydiff.c new_size = p->u.len + sz; len 1668 src/diffviewer/ydiff.c memcpy (q + p->u.len, str, sz); len 1671 src/diffviewer/ydiff.c p->u.len += sz; len 1736 src/diffviewer/ydiff.c if (rv != 0 || dview->a[DIFF_LEFT]->len != dview->a[DIFF_RIGHT]->len) len 1751 src/diffviewer/ydiff.c for (i = 0; i < dview->a[DIFF_LEFT]->len; i++) len 1766 src/diffviewer/ydiff.c hdiff_scan (p->p, p->u.len, q->p, q->u.len, HDIFF_MINCTX, h, HDIFF_DEPTH); len 1788 src/diffviewer/ydiff.c int len; len 1790 src/diffviewer/ydiff.c len = dview->a[DIFF_LEFT]->len; len 1792 src/diffviewer/ydiff.c for (i = 0; i < len; i++) len 1832 src/diffviewer/ydiff.c if (a->len != 0) len 1834 src/diffviewer/ydiff.c if (pos >= a->len) len 1835 src/diffviewer/ydiff.c pos = a->len - 1; len 1865 src/diffviewer/ydiff.c get_line_numbers (a[DIFF_LEFT], a[DIFF_LEFT]->len - 1, &l1, &o1); len 1866 src/diffviewer/ydiff.c get_line_numbers (a[DIFF_RIGHT], a[DIFF_RIGHT]->len - 1, &l2, &o2); len 1884 src/diffviewer/ydiff.c if (pos > 0 && (size_t) pos < a->len) len 1901 src/diffviewer/ydiff.c for (; pos < a->len && ((DIFFLN *) & g_array_index (a, DIFFLN, pos))->ch != EQU_CH; pos++) len 1903 src/diffviewer/ydiff.c for (; pos < a->len && ((DIFFLN *) & g_array_index (a, DIFFLN, pos))->ch == EQU_CH; pos++) len 1930 src/diffviewer/ydiff.c if (a0->len == 0) len 1966 src/diffviewer/ydiff.c pos < a0->len && ((DIFFLN *) & g_array_index (a0, DIFFLN, pos))->ch != EQU_CH; pos++) len 2546 src/diffviewer/ydiff.c for (i = dview->skip_rows, j = 0; i < dview->a[ord]->len && j < height; j++, i++) len 2588 src/diffviewer/ydiff.c cvt_mgeta (p->p, p->u.len, buf, k, skip, tab_size, show_cr, len 2646 src/diffviewer/ydiff.c cvt_mget (p->p, p->u.len, buf, k, skip, tab_size, show_cr); len 2786 src/diffviewer/ydiff.c last = dview->a[DIFF_LEFT]->len - 1; len 2926 src/diffviewer/ydiff.c for (; i < dview->a[ord]->len; i++) len 3133 src/diffviewer/ydiff.c dview->skip_rows = dview->search.last_accessed_num_line = dview->a[DIFF_LEFT]->len - 1; len 3331 src/diffviewer/ydiff.c dview_get_title (const WDialog *h, size_t len) len 3340 src/diffviewer/ydiff.c len1 = (len - str_term_width1 (_("Diff:")) - strlen (modified) - 3) / 2; len 3342 src/diffviewer/ydiff.c title = g_string_sized_new (len); len 344 src/editor/bookmark.c for (i = 0; i < edit->serialized_bookmarks->len; i++) len 539 src/editor/edit.c size_t len = sizeof (WEdit) - sizeof (Widget); len 541 src/editor/edit.c memset (start, 0, len); len 417 src/editor/editbuffer.c c1 = edit_buffer_get_byte (buf, word_start + match_expr->len); len 418 src/editor/editbuffer.c c2 = edit_buffer_get_byte (buf, word_start + match_expr->len + 1); len 572 src/editor/editbuffer.c j = buf->b2->len - 1; len 612 src/editor/editbuffer.c j = buf->b1->len - 1; len 769 src/editor/editbuffer.c for (i = 0; i < (off_t) buf->b2->len / 2; i++) len 774 src/editor/editbuffer.c b2 = &g_ptr_array_index (buf->b2, buf->b2->len - 1 - i); len 817 src/editor/editbuffer.c if (buf->b1->len != 0) len 820 src/editor/editbuffer.c for (i = 0; i < (off_t) buf->b1->len - 1; i++) len 843 src/editor/editbuffer.c if (buf->b2->len != 0) len 846 src/editor/editbuffer.c i = buf->b2->len - 1; len 1528 src/editor/editcmd.c off_t len = 1; len 1547 src/editor/editcmd.c p = block = edit_get_block (edit, start, finish, &len); len 1548 src/editor/editcmd.c while (len != 0) len 1550 src/editor/editcmd.c r = mc_write (file, p, len); len 1554 src/editor/editcmd.c len -= r; len 1564 src/editor/editcmd.c len = finish - start; len 1573 src/editor/editcmd.c len -= mc_write (file, (char *) buf, end - start); len 1580 src/editor/editcmd.c return (len == 0); len 77 src/editor/editcomplete.c gsize len = 0; len 80 src/editor/editcomplete.c if (mc_search_run (srch, (void *) esm, word_start, edit->buffer.size, &len)) len 84 src/editor/editcomplete.c for (i = 0; i < (off_t) len; i++) len 92 src/editor/editcomplete.c temp = g_string_sized_new (len); len 114 src/editor/editcomplete.c gsize len = 0; len 117 src/editor/editcomplete.c while (mc_search_run (srch, (void *) esm, start + 1, last_byte, &len)) len 130 src/editor/editcomplete.c for (i = 0; i < len; i++) len 145 src/editor/editcomplete.c if (temp->len == 0) len 163 src/editor/editcomplete.c MAX (len, s->len) - word_len) == 0) len 186 src/editor/editcomplete.c recoded = str_nconvert_to_display (temp->str, temp->len); len 189 src/editor/editcomplete.c if (recoded->len != 0) len 202 src/editor/editcomplete.c start += len; len 92 src/editor/editdraw.c printwstr (const char *s, int len) len 94 src/editor/editdraw.c if (len > 0) len 95 src/editor/editdraw.c tty_printf ("%-*.*s", len, len, s); len 388 src/editor/editdraw.c int len; len 405 src/editor/editdraw.c len = end_col + 1 - start_col; len 408 src/editor/editdraw.c if (len > 0 && w->rect.y + y >= 0) len 411 src/editor/editdraw.c tty_draw_hline (w->rect.y + y, w->rect.x + x1, ' ', len); len 415 src/editor/editdraw.c tty_draw_hline (w->rect.y + y, w->rect.x + x1, ' ', len); len 422 src/editor/editdraw.c len -= wrap_start; len 423 src/editor/editdraw.c if (len > 0) len 426 src/editor/editdraw.c tty_draw_hline (w->rect.y + y, w->rect.x + x1 + wrap_start, ' ', len); len 68 src/editor/editmacros.c if (macros_list != NULL && macros_list->len != 0) len 85 src/editor/editmacros.c result = bsearch (&search_macro, macros_list->data, macros_list->len, len 236 src/editor/editmacros.c if (macros_list == NULL || macros_list->len != 0) len 388 src/editor/editmacros.c if (macros->macro->len != 0) len 394 src/editor/editmacros.c for (i = 0; i < macros->macro->len; i++) len 417 src/editor/editsearch.c edit_find (edit_search_status_msg_t *esm, gsize *len) len 475 src/editor/editsearch.c if (search_end > (off_t) (search_start + edit->search->original.str->len) len 477 src/editor/editsearch.c search_end = search_start + edit->search->original.str->len; len 479 src/editor/editsearch.c ok = mc_search_run (edit->search, (void *) esm, search_start, search_end, len); len 507 src/editor/editsearch.c return mc_search_run (edit->search, (void *) esm, search_start, end_mark, len); len 521 src/editor/editsearch.c if (tmp->len != 0) len 540 src/editor/editsearch.c if (tmp->len != 0) len 565 src/editor/editsearch.c gsize len = 0; len 588 src/editor/editsearch.c while (mc_search_run (edit->search, (void *) &esm, q, edit->buffer.size, &len)) len 616 src/editor/editsearch.c if (edit_find (&esm, &len)) len 619 src/editor/editsearch.c edit->found_len = len; len 878 src/editor/editsearch.c gsize len = 0; len 880 src/editor/editsearch.c if (!edit_find (&esm, &len)) len 899 src/editor/editsearch.c edit->found_len = len; len 956 src/editor/editsearch.c for (i = 0; i < len; i++) len 959 src/editor/editsearch.c for (i = 0; i < repl_str->len; i++) len 962 src/editor/editsearch.c edit->found_len = repl_str->len; len 971 src/editor/editsearch.c edit->search_start += edit->found_len + (len == 0 ? 1 : 0); len 374 src/editor/editwidget.c edit_get_title (const WDialog *h, size_t len) len 384 src/editor/editwidget.c len -= 4; len 391 src/editor/editwidget.c file_label = str_term_trim (filename, len - str_term_width1 (_("Edit: "))); len 326 src/editor/etags.c def_dlg_h = def_hash->len + 2; len 496 src/editor/format.c size = t->len - 1; len 382 src/editor/spell.c for (i = 0; i < suggest->len; i++) len 599 src/editor/spell.c word_len = match_word->len; len 748 src/editor/spell.c for (i = 0; i < languages->len; i++) len 256 src/editor/syntax.c for (p = (const unsigned char *) text->str, q = p + text->len; p < q; p++, i++) len 410 src/editor/syntax.c && r->right->len != 0 && (e = len 463 src/editor/syntax.c && k->keyword->str[k->keyword->len - 1] == '\n') len 466 src/editor/syntax.c if (r->right != NULL && r->right->len != 0 len 467 src/editor/syntax.c && r->right->str[r->right->len - 1] == '\n') len 507 src/editor/syntax.c if (r->right->len != 0) len 527 src/editor/syntax.c for (count = 1; count < edit->rules->len; count++) len 534 src/editor/syntax.c if (r->left->len != 0) len 571 src/editor/syntax.c if (k->keyword->len != 0) len 920 src/editor/syntax.c xx_lowerize_line (WEdit *edit, char *line, size_t len) len 926 src/editor/syntax.c for (i = 0; i < len; ++i) len 962 src/editor/syntax.c size_t len; len 968 src/editor/syntax.c len = read_one_line (&l, f); len 969 src/editor/syntax.c if (len == 0) len 980 src/editor/syntax.c len = read_one_line (&l, f); len 981 src/editor/syntax.c if (len == 0) len 985 src/editor/syntax.c xx_lowerize_line (edit, l, len); len 1041 src/editor/syntax.c if (edit->rules->len == 0) len 1137 src/editor/syntax.c last_rule = CONTEXT_RULE (g_ptr_array_index (edit->rules, edit->rules->len - 1)); len 1222 src/editor/syntax.c if (edit->rules->len == 0) len 1239 src/editor/syntax.c for (i = 0; i < edit->rules->len; i++) len 1247 src/editor/syntax.c for (j = 1; j < c->keyword->len; j++) len 1255 src/editor/syntax.c c->keyword_first_chars = g_strndup (first_chars->str, first_chars->len); len 1368 src/editor/syntax.c if (g == NULL && edit->rules->len == 1) len 1373 src/editor/syntax.c if (r0->keyword->len == 1 && !r0->spelling) len 1444 src/editor/syntax.c for (i = 0; i < names->len; i++) len 1527 src/editor/syntax.c if (!edit_options.syntax_highlighting && (pnames == NULL || pnames->len == 0)) len 83 src/file_history.c size_t len; len 89 src/file_history.c len = strlen (s + 1); len 90 src/file_history.c fhd->file_pos = g_strndup (s + 1, len - 1); /* ignore '\n' */ len 211 src/file_history.c size_t len; len 218 src/file_history.c len = g_list_length (file_list); len 233 src/file_history.c if (len != g_list_length (hd.list)) len 75 src/filemanager/achown.c int len; len 128 src/filemanager/achown.c advanced_chown_but[i].len = str_term_width1 (advanced_chown_but[i].text) + 3; len 130 src/filemanager/achown.c advanced_chown_but[i].len += 2; /* "<>" */ len 787 src/filemanager/achown.c advanced_chown_but[i].len, len 806 src/filemanager/achown.c advanced_chown_but[i].len, len 239 src/filemanager/boxes.c for (i = 0; i < skin_names->len; i++) len 1284 src/filemanager/boxes.c int len; len 1311 src/filemanager/boxes.c job_but[i].len = str_term_width1 (job_but[i].name) + 3; len 1313 src/filemanager/boxes.c job_but[i].len += 2; len 1314 src/filemanager/boxes.c x += job_but[i].len; len 1335 src/filemanager/boxes.c x += job_but[i].len + 1; len 277 src/filemanager/cd.c if (s_path->len == 0) len 106 src/filemanager/chmod.c int len; len 136 src/filemanager/chmod.c int i, len; len 159 src/filemanager/chmod.c len = str_term_width1 (check_perm[i].text); len 160 src/filemanager/chmod.c check_perm_len = MAX (check_perm_len, len); len 167 src/filemanager/chmod.c len = str_term_width1 (file_info_labels[i]) + 2; /* spaces around */ len 168 src/filemanager/chmod.c file_info_labels_len = MAX (file_info_labels_len, len); len 173 src/filemanager/chmod.c chmod_but[i].len = str_term_width1 (chmod_but[i].text) + 3; /* [], spaces and w/o & */ len 175 src/filemanager/chmod.c chmod_but[i].len += 2; /* <> */ len 375 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chmod_but[i].len, len 388 src/filemanager/chmod.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chmod_but[i].len, len 79 src/filemanager/chown.c int len; len 135 src/filemanager/chown.c chown_but[i].len = str_term_width1 (chown_but[i].text) + 3; /* [], spaces and w/o & */ len 137 src/filemanager/chown.c chown_but[i].len += 2; /* <> */ len 140 src/filemanager/chown.c blen += chown_but[i].len; len 253 src/filemanager/chown.c x += chown_but[i].len + 1; len 260 src/filemanager/chown.c group_add_widget (g, button_new (y, WIDGET (ch_dlg)->rect.cols / 2 - chown_but[i].len, len 221 src/filemanager/cmd.c for (i = 0; i < panel->dir.len; i++) len 238 src/filemanager/cmd.c for (j = 0; j < other->dir.len; j++) len 250 src/filemanager/cmd.c if (j >= other->dir.len) len 1314 src/filemanager/cmd.c for (i = 0; i < panel->dir.len; i++) len 22 src/filemanager/command.h WInput *command_new (int y, int x, int len); len 233 src/filemanager/dir.c dir_copy.len = 0; len 280 src/filemanager/dir.c list->len = clear_flag ? 0 : MIN (list->len, size); len 305 src/filemanager/dir.c if (list->len == list->size && !dir_list_grow (list, DIR_LIST_RESIZE_STEP)) len 308 src/filemanager/dir.c fentry = &list->list[list->len]; len 318 src/filemanager/dir.c list->len++; len 500 src/filemanager/dir.c if (list->len > 1 && sort != (GCompareFunc) unsorted) len 511 src/filemanager/dir.c qsort (&(list->list)[dot_dot_found], list->len - dot_dot_found, sizeof (file_entry_t), len 514 src/filemanager/dir.c clean_sort_keys (list, dot_dot_found, list->len - dot_dot_found); len 525 src/filemanager/dir.c for (i = 0; i < list->len; i++) len 534 src/filemanager/dir.c list->len = 0; len 546 src/filemanager/dir.c for (i = 0; i < list->len; i++) len 555 src/filemanager/dir.c list->len = 0; len 570 src/filemanager/dir.c list->len = 0; len 582 src/filemanager/dir.c list->len = 1; len 732 src/filemanager/dir.c alloc_dir_copy (list->len); len 733 src/filemanager/dir.c for (marked_cnt = i = 0; i < list->len; i++) len 755 src/filemanager/dir.c dir_copy.len = list->len; len 800 src/filemanager/dir.c fentry = &list->list[list->len - 1]; len 51 src/filemanager/dir.h int len; /**< number of used elements in list */ len 272 src/filemanager/ext.c size_t len = strlen (lc_prompt); len 274 src/filemanager/ext.c if (len < sizeof (lc_prompt) - 1) len 276 src/filemanager/ext.c lc_prompt[len] = *lc_data; len 277 src/filemanager/ext.c lc_prompt[len + 1] = '\0'; len 508 src/filemanager/file.c int len; len 520 src/filemanager/file.c len = mc_readlink (src_vpath, link_target, sizeof (link_target) - 1); len 521 src/filemanager/file.c if (len < 0) len 537 src/filemanager/file.c link_target[len] = '\0'; len 560 src/filemanager/file.c p = g_string_sized_new (slen + len); len 573 src/filemanager/file.c g_string_append_len (p, link_target, len); len 712 src/filemanager/file.c for (i = 0; i < panel->dir.len; i++) len 1780 src/filemanager/file.c for (i = 0; i < panel->dir.len; i++) len 3662 src/filemanager/file.c for (i = 0; i < panel->dir.len; i++) len 246 src/filemanager/filegui.c int len; len 755 src/filemanager/filegui.c buttons_width = 2 + progress_buttons[0].len + progress_buttons[3].len; len 756 src/filemanager/filegui.c buttons_width += progress_buttons[i].len; len 760 src/filemanager/filegui.c progress_buttons[i].w->rect.x = progress_buttons[0].w->rect.x + progress_buttons[0].len + 1; len 761 src/filemanager/filegui.c progress_buttons[3].w->rect.x = progress_buttons[i].w->rect.x + progress_buttons[i].len + 1; len 896 src/filemanager/filegui.c if (progress_buttons[0].len == -1) len 978 src/filemanager/filegui.c if (progress_buttons[0].len == -1) len 979 src/filemanager/filegui.c progress_buttons[0].len = button_get_len (BUTTON (progress_buttons[0].w)); len 984 src/filemanager/filegui.c if (progress_buttons[1].len == -1) len 985 src/filemanager/filegui.c progress_buttons[1].len = button_get_len (BUTTON (progress_buttons[1].w)); len 987 src/filemanager/filegui.c if (progress_buttons[2].len == -1) len 994 src/filemanager/filegui.c progress_buttons[2].len = button_get_len (BUTTON (progress_buttons[2].w)); len 1002 src/filemanager/filegui.c if (progress_buttons[3].len == -1) len 1003 src/filemanager/filegui.c progress_buttons[3].len = button_get_len (BUTTON (progress_buttons[3].w)); len 1010 src/filemanager/filegui.c progress_buttons[0].len + MAX (progress_buttons[1].len, progress_buttons[2].len) + len 1011 src/filemanager/filegui.c progress_buttons[3].len; len 433 src/filemanager/filemanager.c midnight_get_title (const WDialog *h, size_t len) len 446 src/filemanager/filemanager.c path = g_strdup (str_trunc (p, len - 4)); len 811 src/filemanager/filemanager.c for (i = 0; i < panel->dir.len; i++) len 1663 src/filemanager/filemanager.c size_t len, start; len 1670 src/filemanager/filemanager.c data = load_mc_home_file (mc_global.share_data_dir, MC_HINT, NULL, &len); len 1676 src/filemanager/filemanager.c start = ((size_t) rand ()) % (len - 1); len 1702 src/filemanager/filemanager.c result = g_strndup (data + start, len - start); len 1708 src/filemanager/filemanager.c buffer = g_string_sized_new (len - start); len 184 src/filemanager/find.c int len; /* length including space and brackets */ len 1199 src/filemanager/find.c find_ignore_dir_search (const char *dir, size_t len) len 1203 src/filemanager/find.c const size_t dlen = len == (size_t) (-1) ? strlen (dir) : len; len 1506 src/filemanager/find.c l1 = fbuts[0].len + fbuts[1].len + fbuts[is_start ? 3 : 2].len + fbuts[4].len + 3; len 1507 src/filemanager/find.c l2 = fbuts[5].len + fbuts[6].len + fbuts[7].len + 2; len 1510 src/filemanager/find.c fbuts[1].x = fbuts[0].x + fbuts[0].len + 1; len 1511 src/filemanager/find.c fbuts[2].x = fbuts[1].x + fbuts[1].len + 1; len 1513 src/filemanager/find.c fbuts[4].x = fbuts[2].x + fbuts[is_start ? 3 : 2].len + 1; len 1518 src/filemanager/find.c fbuts[6].x = fbuts[5].x + fbuts[5].len + 1; len 1519 src/filemanager/find.c fbuts[7].x = fbuts[6].x + fbuts[6].len + 1; len 1687 src/filemanager/find.c fbuts[i].len = str_term_width1 (fbuts[i].text) + 3; len 1689 src/filemanager/find.c fbuts[i].len += 2; len 1860 src/filemanager/find.c if (!content_is_empty && list->len != 0 len 1861 src/filemanager/find.c && strcmp (list->list[list->len - 1].fname->str, p) == 0) len 1871 src/filemanager/find.c if ((list->len & 15) == 0) len 166 src/filemanager/hotlist.c int ret_cmd, flags, y, x, len; len 687 src/filemanager/hotlist.c hotlist_but[i].len = str_term_width1 (hotlist_but[i].text) + 3; len 689 src/filemanager/hotlist.c hotlist_but[i].len += 2; len 697 src/filemanager/hotlist.c int len[2], count[2]; /* at most two lines of buttons */ len 700 src/filemanager/hotlist.c len[0] = len[1] = 0; len 712 src/filemanager/hotlist.c len[row] += hotlist_but[i].len + 1; len 715 src/filemanager/hotlist.c (len[0])--; len 716 src/filemanager/hotlist.c (len[1])--; len 718 src/filemanager/hotlist.c cols = MAX (cols, MAX (len[0], len[1])); len 732 src/filemanager/hotlist.c hotlist_but[i].x = cols - hotlist_but[i].len - 6; len 737 src/filemanager/hotlist.c cur_x[row] += hotlist_but[i].len + 1; len 1300 src/filemanager/hotlist.c l = tkn_buf->len; len 1333 src/filemanager/hotlist.c add2hotlist (g_strndup (tkn_buf->str, tkn_buf->len), 0, HL_TYPE_GROUP, len 1342 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); len 1351 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); len 1387 src/filemanager/hotlist.c add2hotlist (g_strndup (tkn_buf->str, tkn_buf->len), 0, HL_TYPE_GROUP, len 1396 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); len 1405 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); len 87 src/filemanager/info.c const int len = str_term_width1 (title); len 94 src/filemanager/info.c widget_gotoyx (w, 0, (w->rect.cols - len - 2) / 2); len 592 src/filemanager/mountlist.c size_t len; len 594 src/filemanager/mountlist.c len = strlen (str) + 1; len 596 src/filemanager/mountlist.c for (i = 0; i < len; i++) len 598 src/filemanager/mountlist.c if (str[i] == '\\' && (i + 4 < len) len 1497 src/filemanager/mountlist.c size_t len = 0; len 1509 src/filemanager/mountlist.c if (i > len && (strncmp (path, me->me_mountdir, i) == 0) && len 1512 src/filemanager/mountlist.c len = i; len 132 src/filemanager/panel.c const char *(*string_fn) (const file_entry_t * fe, int len); len 147 src/filemanager/panel.c static const char *string_file_name (const file_entry_t * fe, int len); len 148 src/filemanager/panel.c static const char *string_file_size (const file_entry_t * fe, int len); len 149 src/filemanager/panel.c static const char *string_file_size_brief (const file_entry_t * fe, int len); len 150 src/filemanager/panel.c static const char *string_file_type (const file_entry_t * fe, int len); len 151 src/filemanager/panel.c static const char *string_file_mtime (const file_entry_t * fe, int len); len 152 src/filemanager/panel.c static const char *string_file_atime (const file_entry_t * fe, int len); len 153 src/filemanager/panel.c static const char *string_file_ctime (const file_entry_t * fe, int len); len 154 src/filemanager/panel.c static const char *string_file_permission (const file_entry_t * fe, int len); len 155 src/filemanager/panel.c static const char *string_file_perm_octal (const file_entry_t * fe, int len); len 156 src/filemanager/panel.c static const char *string_file_nlinks (const file_entry_t * fe, int len); len 157 src/filemanager/panel.c static const char *string_inode (const file_entry_t * fe, int len); len 158 src/filemanager/panel.c static const char *string_file_nuid (const file_entry_t * fe, int len); len 159 src/filemanager/panel.c static const char *string_file_ngid (const file_entry_t * fe, int len); len 160 src/filemanager/panel.c static const char *string_file_owner (const file_entry_t * fe, int len); len 161 src/filemanager/panel.c static const char *string_file_group (const file_entry_t * fe, int len); len 162 src/filemanager/panel.c static const char *string_marked (const file_entry_t * fe, int len); len 163 src/filemanager/panel.c static const char *string_space (const file_entry_t * fe, int len); len 164 src/filemanager/panel.c static const char *string_dot (const file_entry_t * fe, int len); len 398 src/filemanager/panel.c p->list.len = -1; len 493 src/filemanager/panel.c string_file_name (const file_entry_t *fe, int len) len 495 src/filemanager/panel.c (void) len; len 545 src/filemanager/panel.c string_file_size (const file_entry_t *fe, int len) len 555 src/filemanager/panel.c format_device_number (buffer, len + 1, fe->st.st_rdev); len 558 src/filemanager/panel.c size_trunc_len (buffer, (unsigned int) len, fe->st.st_size, 0, panels_options.kilobyte_si); len 567 src/filemanager/panel.c string_file_size_brief (const file_entry_t *fe, int len) len 575 src/filemanager/panel.c return string_file_size (fe, len); len 582 src/filemanager/panel.c string_file_type (const file_entry_t *fe, int len) len 586 src/filemanager/panel.c (void) len; len 625 src/filemanager/panel.c string_file_mtime (const file_entry_t *fe, int len) len 627 src/filemanager/panel.c (void) len; len 636 src/filemanager/panel.c string_file_atime (const file_entry_t *fe, int len) len 638 src/filemanager/panel.c (void) len; len 647 src/filemanager/panel.c string_file_ctime (const file_entry_t *fe, int len) len 649 src/filemanager/panel.c (void) len; len 658 src/filemanager/panel.c string_file_permission (const file_entry_t *fe, int len) len 660 src/filemanager/panel.c (void) len; len 669 src/filemanager/panel.c string_file_perm_octal (const file_entry_t *fe, int len) len 673 src/filemanager/panel.c (void) len; len 683 src/filemanager/panel.c string_file_nlinks (const file_entry_t *fe, int len) len 687 src/filemanager/panel.c (void) len; len 697 src/filemanager/panel.c string_inode (const file_entry_t *fe, int len) len 701 src/filemanager/panel.c (void) len; len 711 src/filemanager/panel.c string_file_nuid (const file_entry_t *fe, int len) len 715 src/filemanager/panel.c (void) len; len 725 src/filemanager/panel.c string_file_ngid (const file_entry_t *fe, int len) len 729 src/filemanager/panel.c (void) len; len 739 src/filemanager/panel.c string_file_owner (const file_entry_t *fe, int len) len 741 src/filemanager/panel.c (void) len; len 750 src/filemanager/panel.c string_file_group (const file_entry_t *fe, int len) len 752 src/filemanager/panel.c (void) len; len 761 src/filemanager/panel.c string_marked (const file_entry_t *fe, int len) len 763 src/filemanager/panel.c (void) len; len 772 src/filemanager/panel.c string_space (const file_entry_t *fe, int len) len 775 src/filemanager/panel.c (void) len; len 784 src/filemanager/panel.c string_dot (const file_entry_t *fe, int len) len 787 src/filemanager/panel.c (void) len; len 840 src/filemanager/panel.c if (panel->dir.len != 0 && file_index < panel->dir.len) len 855 src/filemanager/panel.c int len, perm = 0; len 862 src/filemanager/panel.c len = fi->field_len; len 863 src/filemanager/panel.c if (len + length > width) len 864 src/filemanager/panel.c len = width - length; len 865 src/filemanager/panel.c if (len <= 0) len 873 src/filemanager/panel.c *field_length = len + 1; len 876 src/filemanager/panel.c i = MAX (0, str_len - len); len 883 src/filemanager/panel.c if (str_len > len) len 886 src/filemanager/panel.c if (str_length (txt + name_offset) > len) len 906 src/filemanager/panel.c prepared_text = str_fit_to_term (txt + name_offset, len, HIDE_FIT (fi->just_mode)); len 908 src/filemanager/panel.c prepared_text = str_fit_to_term (txt, len, fi->just_mode); len 915 src/filemanager/panel.c length += len; len 1068 src/filemanager/panel.c int len; len 1071 src/filemanager/panel.c len = mc_readlink (lc_link_vpath, link_target, MC_MAXPATHLEN - 1); len 1073 src/filemanager/panel.c if (len > 0) len 1075 src/filemanager/panel.c link_target[len] = 0; len 1116 src/filemanager/panel.c if (n < panel->dir.len) len 1416 src/filemanager/panel.c if (panel->dir.len <= items || panel->current < 0) len 1427 src/filemanager/panel.c panel->current = CLAMP (panel->current, 0, panel->dir.len - 1); len 1442 src/filemanager/panel.c i = panel->dir.len - items; len 2142 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) len 2149 src/filemanager/panel.c if (!mc_search_run (search, fe->fname->str, 0, fe->fname->len, NULL)) len 2198 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current + 1 == panel->dir.len) len 2210 src/filemanager/panel.c if (panel->top > panel->dir.len - items) len 2211 src/filemanager/panel.c panel->top = panel->dir.len - items; len 2218 src/filemanager/panel.c if (panel->top > panel->dir.len - items) len 2219 src/filemanager/panel.c panel->top = panel->dir.len - items; len 2229 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current <= 0) len 2262 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) len 2266 src/filemanager/panel.c if (new_pos >= panel->dir.len) len 2267 src/filemanager/panel.c new_pos = panel->dir.len - 1; len 2333 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || (panel->current == 0 && panel->top == 0)) len 2408 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current == panel->dir.len - 1) len 2413 src/filemanager/panel.c if (panel->top > panel->dir.len - 2 * items) len 2414 src/filemanager/panel.c items = panel->dir.len - items - panel->top; len 2418 src/filemanager/panel.c panel->current = panel->dir.len - 1; len 2451 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) len 2464 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) len 2477 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) len 2490 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current <= 0) len 2525 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current == panel->dir.len - 1) len 2549 src/filemanager/panel.c panel->current = panel->dir.len - 1; len 2616 src/filemanager/panel.c lines = MIN (lines, panel->dir.len - panel->current - 1); len 2744 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) len 2752 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) len 2784 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) len 2834 src/filemanager/panel.c if (panel->quick_search.buffer->len != 0) len 2836 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; len 2890 src/filemanager/panel.c if (i >= panel->dir.len) len 2898 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) len 2914 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; len 2933 src/filemanager/panel.c if (panel->current == panel->dir.len - 1) len 2940 src/filemanager/panel.c if (panel->quick_search.buffer->len == 0) len 2945 src/filemanager/panel.c else if (panel->dir.len != 0) len 2967 src/filemanager/panel.c if (panel->quick_search.buffer->len != 0) len 3501 src/filemanager/panel.c if (panel->dir.len == 0) len 4075 src/filemanager/panel.c if (y > panel->dir.len) len 4194 src/filemanager/panel.c && panel->top + panel_items (panel) < panel->dir.len) len 4220 src/filemanager/panel.c for (i = 0, j = 0; i < list->len; i++) len 4238 src/filemanager/panel.c list->len = j; len 4270 src/filemanager/panel.c my_current_file = g_strndup (fe->fname->str, fe->fname->len); len 4345 src/filemanager/panel.c for (i = 0; i < current_panel->dir.len; i++) len 4353 src/filemanager/panel.c flist = g_strndup (fe->fname->str, fe->fname->len); len 4445 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current >= panel->dir.len) len 4461 src/filemanager/panel.c if (panel->dir.len == 0) len 4483 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) len 4492 src/filemanager/panel.c if (panel->current >= panel->dir.len) len 4493 src/filemanager/panel.c panel_set_current (panel, panel->dir.len - 1); len 4580 src/filemanager/panel.c panel->dir.len = 0; len 4698 src/filemanager/panel.c if (panel->dir.len == 0) len 4751 src/filemanager/panel.c if (panel->dir.len == 0) len 4753 src/filemanager/panel.c else if (panel->current >= panel->dir.len) len 4754 src/filemanager/panel.c panel_set_current (panel, panel->dir.len - 1); len 4857 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) len 4879 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) len 4975 src/filemanager/panel.c while (panel->dir.list[*current_file].f.marked == 0 && *current_file < panel->dir.len) len 4978 src/filemanager/panel.c return (*current_file >= panel->dir.len ? NULL : panel->dir.list[*current_file].fname); len 5021 src/filemanager/panel.c filename = g_strndup (fe->fname->str, fe->fname->len); len 5026 src/filemanager/panel.c for (i = panel->dir.len; i != 0; i--) len 5057 src/filemanager/panel.c current_file = g_strndup (fe->fname->str, fe->fname->len); len 5161 src/filemanager/panel.c path_element->path = g_strndup (tmp_conv->str, tmp_conv->len); len 5365 src/filemanager/panel.c if (plist->len < 1) len 5367 src/filemanager/panel.c else if (plist->len > panel->dir.size) len 5368 src/filemanager/panel.c dir_list_grow (&panel->dir, plist->len - panel->dir.size); len 5371 src/filemanager/panel.c list->len = plist->len; len 5375 src/filemanager/panel.c for (i = 0; i < plist->len; i++) len 5446 src/filemanager/panel.c if (list->len > 1 && g_path_is_absolute (list->list[1].fname->str)) len 5471 src/filemanager/panel.c if (plist->len > 0) len 5473 src/filemanager/panel.c if (panel->dir.len == 0) len 5476 src/filemanager/panel.c if (panel->dir.len > plist->size) len 5477 src/filemanager/panel.c dir_list_grow (plist, panel->dir.len - plist->size); len 5478 src/filemanager/panel.c plist->len = panel->dir.len; len 5480 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) len 70 src/filemanager/panel.h const char *(*string_fn) (const file_entry_t * fe, int len); len 329 src/filemanager/panelize.c external->out.len = MC_PIPE_BUFSIZE; len 330 src/filemanager/panelize.c external->err.len = MC_PIPE_BUFSIZE; len 342 src/filemanager/panelize.c if (external->err.len > 0) len 345 src/filemanager/panelize.c if (external->out.len == MC_PIPE_STREAM_EOF) len 348 src/filemanager/panelize.c if (external->out.len == 0) len 351 src/filemanager/panelize.c if (external->out.len == MC_PIPE_ERROR_READ) len 369 src/filemanager/panelize.c if (line->str[line->len - 1] == '\n') len 373 src/filemanager/panelize.c g_string_truncate (line, line->len - 1); len 378 src/filemanager/panelize.c g_string_append_len (remain_file_name, line->str, line->len); len 392 src/filemanager/panelize.c g_string_append_len (remain_file_name, line->str, line->len); len 410 src/filemanager/panelize.c file_mark (current_panel, list->len - 1, 0); len 412 src/filemanager/panelize.c if ((list->len & 31) == 0) len 632 src/filemanager/tree.c if (strncmp (current->subname, text->str, text->len) == 0) len 660 src/filemanager/tree.c if (tree->search_buffer->len != 0 && key == KEY_BACKSPACE) len 661 src/filemanager/tree.c g_string_set_size (tree->search_buffer, tree->search_buffer->len - 1); len 666 src/filemanager/tree.c g_string_set_size (tree->search_buffer, tree->search_buffer->len - 1); len 1122 src/filemanager/tree.c const int len = str_term_width1 (title); len 1126 src/filemanager/tree.c widget_gotoyx (w, 0, (w->rect.cols - len - 2) / 2); len 690 src/filemanager/treestore.c size_t len; len 710 src/filemanager/treestore.c len = vfs_path_len (base->name); len 712 src/filemanager/treestore.c while (current != NULL && vfs_path_equal_len (current->name, base->name, len)) len 719 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len])); len 776 src/filemanager/treestore.c size_t len; len 778 src/filemanager/treestore.c len = vfs_path_len (base->name); len 781 src/filemanager/treestore.c current != NULL && vfs_path_equal_len (current->name, base->name, len); len 787 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len]) || len == 1); len 803 src/filemanager/treestore.c size_t len; len 832 src/filemanager/treestore.c len = vfs_path_len (ts.check_name); len 835 src/filemanager/treestore.c current != NULL && vfs_path_equal_len (current->name, ts.check_name, len); len 842 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len]) || len == 1); len 859 src/filemanager/treestore.c size_t len; len 868 src/filemanager/treestore.c len = vfs_path_len (ts.check_name); len 871 src/filemanager/treestore.c while (current != NULL && vfs_path_equal_len (current->name, ts.check_name, len)) len 878 src/filemanager/treestore.c ok = (cname[len] == '\0' || IS_PATH_SEP (cname[len]) || len == 1); len 534 src/main.c for (i = 0; i < macros_list->len; i++) len 87 src/selcodepage.c listbox_window_centered_new (center_y, center_x, codepages->len + 1, ENTRY_LEN + 2, len 94 src/selcodepage.c for (i = 0; i < codepages->len; i++) len 107 src/selcodepage.c hotkey = get_hotkey (codepages->len); len 114 src/selcodepage.c ? ((current_charset < 0) ? codepages->len : (size_t) current_charset) len 129 src/selcodepage.c (int) codepages->len) ? SELECT_CHARSET_OTHER_8BIT : listbox_result; len 925 src/setup.c if (codepages->len > 1) len 739 src/subshell/common.c if (subshell_prompt_temp_buffer->len != 0) len 1490 src/subshell/common.c for (i = 0; i < cmdline->buffer->len; i++) len 1495 src/subshell/common.c write_all (mc_global.tty.subshell_pty, s, cmdline->buffer->len); len 1761 src/subshell/common.c write_all (mc_global.tty.subshell_pty, temp->str, temp->len); len 343 src/usermenu.c size_t len; len 345 src/usermenu.c len = strlen (msg); len 346 src/usermenu.c if (len != 0) len 347 src/usermenu.c msg[len - 1] = '\0'; len 950 src/usermenu.c for (i = 0; i < panel->dir.len; i++) len 971 src/usermenu.c result = block == NULL ? NULL : g_string_free (block, block->len == 0); len 1057 src/usermenu.c unsigned int menu_lines = entries == NULL ? 0 : entries->len; len 1059 src/usermenu.c if (col == 0 && (entries == NULL || menu_lines == entries->len)) len 1122 src/usermenu.c if (entries != NULL && entries->len > menu_lines) len 1149 src/usermenu.c listbox = listbox_window_new (entries->len, max_cols + 2, _("User menu"), len 1152 src/usermenu.c for (i = 0; i < entries->len; i++) len 552 src/vfs/cpio/cpio.c ssize_t len; len 556 src/vfs/cpio/cpio.c len = mc_read (arch->fd, (char *) &u.buf, HEAD_LENGTH); len 557 src/vfs/cpio/cpio.c if (len < HEAD_LENGTH) len 559 src/vfs/cpio/cpio.c CPIO_POS (super) += len; len 574 src/vfs/cpio/cpio.c len = mc_read (arch->fd, name, u.buf.c_namesize); len 575 src/vfs/cpio/cpio.c if (len < u.buf.c_namesize) len 581 src/vfs/cpio/cpio.c CPIO_POS (super) += len; len 624 src/vfs/cpio/cpio.c ssize_t len; len 647 src/vfs/cpio/cpio.c len = mc_read (arch->fd, name, hd.c_namesize); len 648 src/vfs/cpio/cpio.c if ((len == -1) || ((unsigned long) len < hd.c_namesize)) len 654 src/vfs/cpio/cpio.c CPIO_POS (super) += len; len 695 src/vfs/cpio/cpio.c ssize_t len; len 726 src/vfs/cpio/cpio.c len = mc_read (arch->fd, name, hd.c_namesize); len 728 src/vfs/cpio/cpio.c if ((len == -1) || ((unsigned long) len < hd.c_namesize)) len 734 src/vfs/cpio/cpio.c CPIO_POS (super) += len; len 613 src/vfs/extfs/extfs.c pip->out.len = MC_PIPE_BUFSIZE; len 614 src/vfs/extfs/extfs.c pip->err.len = MC_PIPE_BUFSIZE; len 621 src/vfs/extfs/extfs.c if (pip->err.len > 0) len 625 src/vfs/extfs/extfs.c err_msg = g_string_new_len (pip->err.buf, pip->err.len); len 628 src/vfs/extfs/extfs.c if (err_msg->str[err_msg->len - 1] != '\n') len 630 src/vfs/extfs/extfs.c g_string_append_len (err_msg, pip->err.buf, pip->err.len); len 634 src/vfs/extfs/extfs.c if (pip->out.len == MC_PIPE_STREAM_EOF) len 637 src/vfs/extfs/extfs.c if (pip->out.len == 0) len 640 src/vfs/extfs/extfs.c if (pip->out.len == MC_PIPE_ERROR_READ) len 647 src/vfs/extfs/extfs.c if (buffer->str[buffer->len - 1] == '\n') len 651 src/vfs/extfs/extfs.c g_string_truncate (buffer, buffer->len - 1); len 656 src/vfs/extfs/extfs.c g_string_append_len (remain_file_name, buffer->str, buffer->len); len 670 src/vfs/extfs/extfs.c g_string_append_len (remain_file_name, buffer->str, buffer->len); len 711 src/vfs/extfs/extfs.c for (i = 0; i < extfs_plugins->len; i++) len 1001 src/vfs/extfs/extfs.c else if (pip->err.len > 0) len 1313 src/vfs/extfs/extfs.c size_t len; len 1328 src/vfs/extfs/extfs.c len = strlen (entry->ino->linkname); len 1329 src/vfs/extfs/extfs.c if (size < len) len 1330 src/vfs/extfs/extfs.c len = size; len 1332 src/vfs/extfs/extfs.c result = len; len 1616 src/vfs/extfs/extfs.c size_t len, i; len 1625 src/vfs/extfs/extfs.c len = strlen (filename); len 1626 src/vfs/extfs/extfs.c info.need_archive = (filename[len - 1] != '+'); len 1628 src/vfs/extfs/extfs.c info.prefix = g_strndup (filename, len); len 1632 src/vfs/extfs/extfs.c info.prefix[len - 1] = '\0'; len 1635 src/vfs/extfs/extfs.c for (i = 0; i < extfs_plugins->len && !found; i++) len 1655 src/vfs/extfs/extfs.c info.prefix[len - 1] = '+'; len 1698 src/vfs/extfs/extfs.c for (i = 0; i < extfs_plugins->len; i++) len 500 src/vfs/ftpfs/ftpfs.c ret = fwrite (cmdstr->str, cmdstr->len, 1, me->logfile); len 509 src/vfs/ftpfs/ftpfs.c status = write (ftp_super->sock, cmdstr->str, cmdstr->len); len 522 src/vfs/ftpfs/ftpfs.c if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0)) len 549 src/vfs/ftpfs/ftpfs.c if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0)) len 2052 src/vfs/ftpfs/ftpfs.c ftpfs_linear_read (struct vfs_class *me, vfs_file_handler_t *fh, void *buf, size_t len) len 2057 src/vfs/ftpfs/ftpfs.c while ((n = read (FH_SOCK, buf, len)) < 0) len 544 src/vfs/ftpfs/ftpfs_parse_ls.c size_t len; len 558 src/vfs/ftpfs/ftpfs_parse_ls.c len = strlen (line); len 561 src/vfs/ftpfs/ftpfs_parse_ls.c if (len < 2 || b[0] != '+') len 565 src/vfs/ftpfs/ftpfs_parse_ls.c scan_len = len - 1; len 243 src/vfs/sfs/sfs.c if (pip->err.len > 0) len 771 src/vfs/sftpfs/connection.c size_t len; len 784 src/vfs/sftpfs/connection.c len = strlen (kbi_passwd); len 790 src/vfs/sftpfs/connection.c responses[i].length = len; len 84 src/vfs/sftpfs/dir.c libssh2_sftp_open_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, 0, 0, len 182 src/vfs/sftpfs/dir.c libssh2_sftp_mkdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, mode); len 218 src/vfs/sftpfs/dir.c res = libssh2_sftp_rmdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len); len 170 src/vfs/sftpfs/file.c libssh2_sftp_open_ex (super->sftp_session, fixfname->str, fixfname->len, len 132 src/vfs/sftpfs/internal.c res = libssh2_sftp_stat_ex ((*super)->sftp_session, fixfname->str, fixfname->len, len 359 src/vfs/sftpfs/internal.c libssh2_sftp_symlink_ex (super->sftp_session, fixfname->str, fixfname->len, buf, size, len 398 src/vfs/sftpfs/internal.c tmp_path = g_strndup (ctmp_path->str, ctmp_path->len); len 399 src/vfs/sftpfs/internal.c tmp_path_len = ctmp_path->len; len 457 src/vfs/sftpfs/internal.c libssh2_sftp_stat_ex (super->sftp_session, fixfname->str, fixfname->len, len 510 src/vfs/sftpfs/internal.c libssh2_sftp_stat_ex (super->sftp_session, fixfname->str, fixfname->len, len 556 src/vfs/sftpfs/internal.c res = libssh2_sftp_unlink_ex (super->sftp_session, fixfname->str, fixfname->len); len 594 src/vfs/sftpfs/internal.c tmp_path = g_strndup (ctmp_path->str, ctmp_path->len); len 595 src/vfs/sftpfs/internal.c tmp_path_len = ctmp_path->len; len 603 src/vfs/sftpfs/internal.c libssh2_sftp_rename_ex (super->sftp_session, fixfname->str, fixfname->len, tmp_path, len 318 src/vfs/shell/shell.c r = shell_command (me, super, wait_reply, command->str, command->len); len 1170 src/vfs/shell/shell.c shell_linear_read (struct vfs_class *me, vfs_file_handler_t *fh, void *buf, size_t len) len 1176 src/vfs/shell/shell.c len = MIN ((size_t) (shell->total - shell->got), len); len 1178 src/vfs/shell/shell.c while (len != 0 && ((n = read (SHELL_SUPER (super)->sockr, buf, len)) < 0)) len 532 src/vfs/tar/tar-sparse.c return file->stat_info->sparse_map != NULL && file->stat_info->sparse_map->len > 0 len 585 src/vfs/tar/tar-xheader.c idx_t len; len 597 src/vfs/tar/tar-xheader.c len = stoint (p, &len_lim, NULL, 0, IDX_MAX); len 603 src/vfs/tar/tar-xheader.c if (len_max < len) len 606 src/vfs/tar/tar-xheader.c nextp = start + len; len 763 src/vfs/tar/tar-xheader.c s = &g_array_index (st->sparse_map, struct sp_array, st->sparse_map->len - 1); len 917 src/vfs/tar/tar-xheader.c size_t len; len 922 src/vfs/tar/tar-xheader.c len = MIN (size, BLOCKSIZE); len 924 src/vfs/tar/tar-xheader.c memcpy (xhdr->buffer + j, p->buffer, len); len 928 src/vfs/tar/tar-xheader.c j += len; len 929 src/vfs/tar/tar-xheader.c size -= len; len 258 src/vfs/tar/tar.c for (i = 0; i < sm->len; i++) len 411 src/vfs/tar/tar.c size_t len; len 414 src/vfs/tar/tar.c len = sizeof (header->header.name); len 416 src/vfs/tar/tar.c len = strlen (header->header.name); len 418 src/vfs/tar/tar.c if (len != 0 && IS_PATH_SEP (header->header.name[len - 1])) len 538 src/vfs/tar/tar.c size_t len; len 545 src/vfs/tar/tar.c len = strlen (file_name); len 547 src/vfs/tar/tar.c q = file_name + len; /* "" */ len 565 src/vfs/tar/tar.c len = strlen (link_name); len 566 src/vfs/tar/tar.c if (IS_PATH_SEP (link_name[len - 1])) len 567 src/vfs/tar/tar.c link_name[len - 1] = '\0'; len 1108 src/vfs/tar/tar.c for (k = 1; k <= sparse_map->len; k++) len 1205 src/vfs/tar/tar.c chunk = &g_array_index (sm, struct sp_array, sm->len - 1); len 269 src/viewer/actions_cmd.c for (i = 0; i != view->dir->len; i++) len 273 src/viewer/actions_cmd.c if (fname_len == fe->fname->len && strncmp (fname, fe->fname->str, fname_len) == 0) len 298 src/viewer/actions_cmd.c i = view->dir->len - 1; len 299 src/viewer/actions_cmd.c if (i == view->dir->len) len 137 src/viewer/coord_cache.c size_t limit = view->coord_cache->len; len 188 src/viewer/coord_cache.c for (i = 0; i < cache->len; i++) len 265 src/viewer/coord_cache.c if (cache->len == 0) len 288 src/viewer/coord_cache.c if (i + 1 < view->coord_cache->len) len 375 src/viewer/coord_cache.c if (i + 1 == cache->len && entry.cc_offset != coord_cache_index (cache, i)->cc_offset) len 81 src/viewer/datasource.c p->out.len = MC_PIPE_BUFSIZE; len 83 src/viewer/datasource.c p->err.len = MC_PIPE_BUFSIZE; len 111 src/viewer/growbuf.c if (view->growbuf_blockptr->len == 0) len 114 src/viewer/growbuf.c return ((off_t) view->growbuf_blockptr->len - 1) * VIEW_PAGE_SIZE + view->growbuf_lastindex; len 151 src/viewer/growbuf.c view->growbuf_blockptr->len - 1) + view->growbuf_lastindex; len 163 src/viewer/growbuf.c sp->out.len = bytesfree; len 164 src/viewer/growbuf.c sp->err.len = MC_PIPE_BUFSIZE; len 176 src/viewer/growbuf.c if (view->pipe_first_err_msg && sp->err.len > 0) len 198 src/viewer/growbuf.c if (sp->out.len > 0) len 200 src/viewer/growbuf.c memmove (p, sp->out.buf, sp->out.len); len 201 src/viewer/growbuf.c nread = sp->out.len; len 203 src/viewer/growbuf.c else if (sp->out.len == MC_PIPE_STREAM_EOF || sp->out.len == MC_PIPE_ERROR_READ) len 205 src/viewer/growbuf.c if (sp->out.len == MC_PIPE_ERROR_READ) len 287 src/viewer/growbuf.c if (view->growbuf_blockptr->len == 0) len 289 src/viewer/growbuf.c if (pageno < (off_t) view->growbuf_blockptr->len - 1) len 291 src/viewer/growbuf.c if (pageno == (off_t) view->growbuf_blockptr->len - 1 len 299 src/viewer/internal.h char *mcview_get_title (const WDialog * h, size_t len); len 378 src/viewer/lib.c mcview_get_title (const WDialog *h, size_t len) len 390 src/viewer/lib.c len -= 4; len 393 src/viewer/lib.c file_label = str_term_trim (file_label, len - str_term_width1 (_("View: "))); len 157 src/viewer/search.c mcview_find (mcview_search_status_msg_t *ssm, off_t search_start, off_t search_end, gsize *len) len 178 src/viewer/search.c if (search_end > search_start + (off_t) view->search->original.str->len len 180 src/viewer/search.c search_end = search_start + view->search->original.str->len; len 182 src/viewer/search.c ok = mc_search_run (view->search, (void *) ssm, search_start, search_end, len); len 211 src/viewer/search.c return mc_search_run (view->search, (void *) ssm, search_start, search_end, len); len 304 src/viewer/search.c growbufsize = view->search->original.str->len; len 320 src/viewer/search.c search_start = growbufsize - view->search->original.str->len; len 69 tests/lib/utilunix__mc_pstream_get_string.c size_t len[MAX_CHUNKS]; /* chunk lengths */ len 78 tests/lib/utilunix__mc_pstream_get_string.c .len = { 0 } len 85 tests/lib/utilunix__mc_pstream_get_string.c .len = { 1, 0 } len 92 tests/lib/utilunix__mc_pstream_get_string.c .len = { 2, 0 } len 99 tests/lib/utilunix__mc_pstream_get_string.c .len = { 3, 0 } len 106 tests/lib/utilunix__mc_pstream_get_string.c .len = { 4, 0 } len 113 tests/lib/utilunix__mc_pstream_get_string.c .len = { 5, 0 } len 120 tests/lib/utilunix__mc_pstream_get_string.c .len = { 5, 0 } len 127 tests/lib/utilunix__mc_pstream_get_string.c .len = { 6, 0 } len 134 tests/lib/utilunix__mc_pstream_get_string.c .len = { 7, 0 } len 141 tests/lib/utilunix__mc_pstream_get_string.c .len = { 8, 0 } len 148 tests/lib/utilunix__mc_pstream_get_string.c .len = { 6, 4, 0 } len 155 tests/lib/utilunix__mc_pstream_get_string.c .len = { 11, 0 } len 162 tests/lib/utilunix__mc_pstream_get_string.c .len = { 8, 4, 0 } len 169 tests/lib/utilunix__mc_pstream_get_string.c .len = { 13, 0 } len 176 tests/lib/utilunix__mc_pstream_get_string.c .len = { 10, 4, 0 } len 183 tests/lib/utilunix__mc_pstream_get_string.c .len = { 6, 5, 0 } len 190 tests/lib/utilunix__mc_pstream_get_string.c .len = { 6, 5, 7, 0 } len 197 tests/lib/utilunix__mc_pstream_get_string.c .len = { 6, 5, 8, 0 } len 212 tests/lib/utilunix__mc_pstream_get_string.c stream.len = strlen (data->buf); len 213 tests/lib/utilunix__mc_pstream_get_string.c memmove (&stream.buf, data->buf, stream.len); len 226 tests/lib/utilunix__mc_pstream_get_string.c ck_assert_int_eq (ret->len, data->len[j]); len 248 tests/lib/utilunix__mc_pstream_get_string.c p->out.len = 128; len 258 tests/lib/utilunix__mc_pstream_get_string.c size_t len; len 265 tests/lib/utilunix__mc_pstream_get_string.c p->out.len = MC_PIPE_STREAM_EOF; len 269 tests/lib/utilunix__mc_pstream_get_string.c len = sizeof (etalon_long_file_list) - etalon_long_file_list_pos; len 270 tests/lib/utilunix__mc_pstream_get_string.c len = MIN (len, (size_t) p->out.len); len 271 tests/lib/utilunix__mc_pstream_get_string.c memmove (p->out.buf, etalon_long_file_list + etalon_long_file_list_pos, len); len 272 tests/lib/utilunix__mc_pstream_get_string.c p->out.len = (ssize_t) len; len 274 tests/lib/utilunix__mc_pstream_get_string.c etalon_long_file_list_pos += len; len 317 tests/lib/utilunix__mc_pstream_get_string.c if (pip->out.len == MC_PIPE_STREAM_EOF) len 324 tests/lib/utilunix__mc_pstream_get_string.c if (line->str[line->len - 1] == '\n') len 328 tests/lib/utilunix__mc_pstream_get_string.c g_string_truncate (line, line->len - 1); len 333 tests/lib/utilunix__mc_pstream_get_string.c g_string_append_len (remain_file_name, line->str, line->len); len 346 tests/lib/utilunix__mc_pstream_get_string.c g_string_append_len (remain_file_name, line->str, line->len); len 361 tests/lib/utilunix__mc_pstream_get_string.c g_string_append_len (result_long_file_list, line->str, line->len); len 247 tests/lib/utilunix__my_system-common.c ck_assert_int_eq (sigaction_signum__captured->len, 6); \ len 285 tests/lib/utilunix__my_system-common.c ck_assert_int_eq (signal_signum__captured->len, 4); \ len 54 tests/lib/utilunix__my_system-fork_child.c ck_assert_int_eq (execvp__args__captured->len, 2); len 86 tests/lib/utilunix__my_system-fork_child.c ck_assert_int_eq (execvp__args__captured->len, 3); len 119 tests/lib/utilunix__my_system-fork_child.c ck_assert_int_eq (execvp__args__captured->len, 11); len 54 tests/lib/utilunix__my_system-fork_child_shell.c ck_assert_int_eq (execvp__args__captured->len, 3); len 56 tests/lib/utilunix__my_system-fork_fail.c ck_assert_int_eq (signal_signum__captured->len, 0); len 165 tests/src/execute__execute_external_editor_or_viewer.c ck_assert_int_eq (do_executev__argv__captured->len, 7); len 68 tests/src/execute__execute_with_vfs_arg.c ck_assert_int_eq (vfs_file_is_local__vpath__captured->len, 1); len 106 tests/src/execute__execute_with_vfs_arg.c ck_assert_int_eq (vfs_file_is_local__vpath__captured->len, 2); len 144 tests/src/execute__execute_with_vfs_arg.c ck_assert_int_eq (vfs_file_is_local__vpath__captured->len, 1); len 187 tests/src/execute__execute_with_vfs_arg.c ck_assert_int_eq (vfs_file_is_local__vpath__captured->len, 1); len 195 tests/src/execute__execute_with_vfs_arg.c ck_assert_int_eq (mc_stat__vpath__captured->len, 2); len 58 tests/src/filemanager/exec_get_export_variables_ext.c current_panel->dir.len = 0; len 80 tests/src/filemanager/exec_get_export_variables_ext.c current_panel->dir.len = 3;