str 344 lib/charsets.c convert_to_display (char *str) str 346 lib/charsets.c if (str != NULL) str 347 lib/charsets.c for (; *str != '\0'; str++) str 348 lib/charsets.c *str = conv_displ[(unsigned char) *str]; str 354 lib/charsets.c str_nconvert_to_display (const char *str, int len) str 359 lib/charsets.c if (str == NULL) str 363 lib/charsets.c return g_string_new (str); str 367 lib/charsets.c return g_string_new (str); str 370 lib/charsets.c str_nconvert (conv, str, len, buff); str 378 lib/charsets.c convert_from_input (char *str) str 380 lib/charsets.c if (str != NULL) str 381 lib/charsets.c for (; *str != '\0'; str++) str 382 lib/charsets.c *str = conv_input[(unsigned char) *str]; str 388 lib/charsets.c str_nconvert_to_input (const char *str, int len) str 393 lib/charsets.c if (str == NULL) str 397 lib/charsets.c return g_string_new (str); str 401 lib/charsets.c return g_string_new (str); str 404 lib/charsets.c str_nconvert (conv, str, len, buff); str 412 lib/charsets.c convert_from_utf_to_current (const char *str) str 419 lib/charsets.c if (str == NULL) str 427 lib/charsets.c switch (str_translate_char (conv, str, -1, (char *) buf_ch, sizeof (buf_ch))) str 450 lib/charsets.c unsigned char str[UTF8_CHAR_LEN + 1]; str 455 lib/charsets.c res = g_unichar_to_utf8 (input_char, (char *) str); str 459 lib/charsets.c str[res] = '\0'; str 461 lib/charsets.c switch (str_translate_char (conv, (char *) str, -1, (char *) buf_ch, sizeof (buf_ch))) str 482 lib/charsets.c unsigned char str[2]; str 486 lib/charsets.c str[0] = (unsigned char) input_char; str 487 lib/charsets.c str[1] = '\0'; str 489 lib/charsets.c switch (str_translate_char (conv, (char *) str, -1, (char *) buf_ch, sizeof (buf_ch))) str 37 lib/charsets.h void convert_to_display (char *str); str 38 lib/charsets.h void convert_from_input (char *str); str 39 lib/charsets.h void convert_string (unsigned char *str); str 46 lib/charsets.h unsigned char convert_from_utf_to_current (const char *str); str 69 lib/charsets.h GString *str_nconvert_to_input (const char *str, int len); str 70 lib/charsets.h GString *str_nconvert_to_display (const char *str, int len); str 98 lib/charsets.h str_convert_to_input (const char *str) str 100 lib/charsets.h return str_nconvert_to_input (str, -1); str 106 lib/charsets.h str_convert_to_display (const char *str) str 108 lib/charsets.h return str_nconvert_to_display (str, -1); str 269 lib/filehighlight/get-color.c if (mc_search_run (mc_filter->search_condition, fe->fname->str, 0, fe->fname->len, NULL)) str 171 lib/filehighlight/ini-file-read.c mc_filter->search_condition = mc_search_new_len (buf->str, buf->len, DEFAULT_CHARSET); str 219 lib/glibcompat.c string->str = init; str 220 lib/glibcompat.c string->len = strlen (string->str); str 248 lib/glibcompat.c g_string_append_len (dest, src->str, src->len); str 270 lib/glibcompat.c ret = g_string_new_len (s->str, s->len); str 298 lib/glibcompat.c memset (s->str + s_len, (unsigned char) c, len); str 142 lib/lock.c lock_extract_info (const char *str) str 149 lib/lock.c len = strlen (str); str 151 lib/lock.c for (p = str + len - 1; p >= str && *p != '.'; p--) str 155 lib/lock.c for (i = 0, s = str; i < sizeof (who) && s < p; i++, s++) str 162 lib/lock.c for (i = 0, p++, s = str + len; i < sizeof (pid) && p < s && *p != ':'; i++, p++) str 171 lib/mcconfig/history.c hist = list_append_unique (hist, g_strndup (buffer->str, buffer->len)); str 236 lib/mcconfig/history.c mc_config_set_string_raw (cfg, name, key, buffer->str); str 135 lib/search.h GString *str; str 148 lib/search.h const char *str; str 185 lib/search.h gboolean mc_search (const gchar * pattern, const gchar * pattern_charset, const gchar * str, str 60 lib/search/glob.c const char *str = astr->str; str 63 lib/search/glob.c not_escaped = !str_is_char_escaped (str, str + loop); str 65 lib/search/glob.c switch (str[loop]) str 115 lib/search/glob.c g_string_append_c (buff, str[loop]); str 123 lib/search/glob.c mc_search__translate_replace_glob_to_regex (const char *str) str 131 lib/search/glob.c while (*str != '\0') str 133 lib/search/glob.c char c = *str++; str 174 lib/search/glob.c tmp = mc_search__glob_translate_to_regex (mc_search_cond->str); str 175 lib/search/glob.c g_string_free (mc_search_cond->str, TRUE); str 182 lib/search/glob.c mc_search_cond->str = tmp; str 203 lib/search/glob.c repl = mc_search__translate_replace_glob_to_regex (replace_str->str); str 64 lib/search/hex.c const char *str; str 70 lib/search/hex.c str = astr->str; str 78 lib/search/hex.c if (g_ascii_isspace (str[loop])) str 81 lib/search/hex.c while (g_ascii_isspace (str[loop])) str 85 lib/search/hex.c else if (sscanf (str + loop, "%x%n", &val, &ptr) == 1) str 95 lib/search/hex.c else if (str[loop] == '"') str 103 lib/search/hex.c if (str[loop2] == '"') str 105 lib/search/hex.c if (str[loop2] == '\\' && loop2 + 1 < str_len) str 107 lib/search/hex.c g_string_append_c (buff, str[loop2]); str 111 lib/search/hex.c if (str[loop2] == '\0') str 181 lib/search/hex.c tmp = mc_search__hex_translate_to_regex (mc_search_cond->str, &error, &error_pos); str 184 lib/search/hex.c g_string_free (mc_search_cond->str, TRUE); str 185 lib/search/hex.c mc_search_cond->str = tmp; str 32 lib/search/internal.h GString *str; str 45 lib/search/internal.h GString *mc_search__recode_str (const char *str, gsize str_len, const char *charset_from, str 47 lib/search/internal.h GString *mc_search__get_one_symbol (const char *charset, const char *str, gsize str_len, str 49 lib/search/internal.h GString *mc_search__tolower_case_str (const char *charset, const GString * str); str 50 lib/search/internal.h GString *mc_search__toupper_case_str (const char *charset, const GString * str); str 67 lib/search/lib.c mc_search__change_case_str (const char *charset, const GString *str, case_conv_fn case_conv) str 80 lib/search/lib.c converted_str = mc_search__recode_str (str->str, str->len, charset, cp_display); str 85 lib/search/lib.c for (src_ptr = converted_str->str, dst_ptr = dst_str; str 98 lib/search/lib.c dst_len = str->len + 1; /* +1 is required for str_toupper/str_tolower */ str 101 lib/search/lib.c for (src_ptr = str->str, dst_ptr = dst_str; str 117 lib/search/lib.c mc_search__recode_str (const char *str, gsize str_len, const char *charset_from, str 134 lib/search/lib.c val = g_convert_with_iconv (str, str_len, conv, &bytes_read, &bytes_written, NULL); str 147 lib/search/lib.c ret = g_string_new_len (str, str_len); str 155 lib/search/lib.c mc_search__get_one_symbol (const char *charset, const char *str, gsize str_len, str 167 lib/search/lib.c converted_str = mc_search__recode_str (str, str_len, charset, cp_display); str 171 lib/search/lib.c converted_str = g_string_new_len (str, str_len); str 174 lib/search/lib.c next_char = str_cget_next_char (converted_str->str); str 175 lib/search/lib.c g_string_set_size (converted_str, (gsize) (next_char - converted_str->str)); str 179 lib/search/lib.c mc_search__recode_str (converted_str->str, converted_str->len, cp_display, charset); str 182 lib/search/lib.c *just_letters = str_isalnum (converted_str->str) && !str_isdigit (converted_str->str); str 194 lib/search/lib.c mc_search__tolower_case_str (const char *charset, const GString *str) str 196 lib/search/lib.c return mc_search__change_case_str (charset, str, str_tolower); str 202 lib/search/lib.c mc_search__toupper_case_str (const char *charset, const GString *str) str 204 lib/search/lib.c return mc_search__change_case_str (charset, str, str_toupper); str 223 lib/search/lib.c for (lc_index = 0, type_str = types_str; type_str->str != NULL; type_str++, lc_index++) str 224 lib/search/lib.c ret[lc_index] = g_strdup (type_str->str); str 50 lib/search/normal.c mc_search__normal_translate_to_regex (GString *str) str 54 lib/search/normal.c for (loop = 0; loop < str->len; loop++) str 55 lib/search/normal.c switch (str->str[loop]) str 73 lib/search/normal.c g_string_insert_c (str, loop, '\\'); str 89 lib/search/normal.c mc_search__normal_translate_to_regex (mc_search_cond->str); str 89 lib/search/regex.c tmp_regex_str = &(regex_str->str[*offset]); str 98 lib/search/regex.c && !str_is_char_escaped (regex_str->str, tmp_regex_str)) str 139 lib/search/regex.c if (loop >= low->len || upp->str[loop] == low->str[loop]) str 141 lib/search/regex.c g_snprintf (tmp_str, sizeof (tmp_str), "\\x%02X", (unsigned char) upp->str[loop]); str 145 lib/search/regex.c (unsigned char) upp->str[loop], (unsigned char) low->str[loop]); str 171 lib/search/regex.c mc_search__get_one_symbol (charset, str_from->str + loop, str 183 lib/search/regex.c g_string_append_len (recoded_part, one_char->str, one_char->len); str 189 lib/search/regex.c g_string_append_len (str_to, recoded_part->str, recoded_part->len); str 225 lib/search/regex.c g_string_append_len (ret_str, spec_char->str, spec_char->len); str 230 lib/search/regex.c if (astr->str[loop] == '[' && !str_is_char_escaped (astr->str, &(astr->str[loop]))) str 234 lib/search/regex.c while (loop < astr->len && !(astr->str[loop] == ']' str 235 lib/search/regex.c && !str_is_char_escaped (astr->str, &(astr->str[loop])))) str 237 lib/search/regex.c g_string_append_c (ret_str, astr->str[loop]); str 241 lib/search/regex.c g_string_append_c (ret_str, astr->str[loop]); str 248 lib/search/regex.c g_string_append_c (accumulator, astr->str[loop]); str 327 lib/search/regex.c (regex, search_str->str, search_str->len, 0, G_REGEX_MATCH_NEWLINE_ANY, str 348 lib/search/regex.c pcre2_match (regex, (unsigned char *) search_str->str, search_str->len, 0, 0, str 351 lib/search/regex.c pcre_exec (regex, lc_mc_search->regex_match_info, search_str->str, search_str->len, 0, 0, str 393 lib/search/regex.c mc_search_regex__get_max_num_of_replace_tokens (const gchar *str, gsize len) str 399 lib/search/regex.c if (str[loop] == '\\' && g_ascii_isdigit (str[loop + 1])) str 401 lib/search/regex.c if (str_is_char_escaped (str, &str[loop])) str 403 lib/search/regex.c if (max_token < str[loop + 1] - '0') str 404 lib/search/regex.c max_token = str[loop + 1] - '0'; str 406 lib/search/regex.c else if (str[loop] == '$' && str[loop + 1] == '{') str 410 lib/search/regex.c if (str_is_char_escaped (str, &str[loop])) str 414 lib/search/regex.c loop + tmp_len + 2 < len && (str[loop + 2 + tmp_len] & (char) 0xf0) == 0x30; str 417 lib/search/regex.c if (str[loop + 2 + tmp_len] == '}') str 422 lib/search/regex.c tmp_str = g_strndup (&str[loop + 2], tmp_len); str 450 lib/search/regex.c return g_strndup (lc_mc_search->regex_buffer->str + fnd_start, fnd_end - fnd_start); str 460 lib/search/regex.c char *curr_str = &(replace_str->str[current_pos]); str 543 lib/search/regex.c const char *curr_str = &(replace_str->str[current_pos]); str 555 lib/search/regex.c if (str_is_char_escaped (replace_str->str, curr_str)) str 582 lib/search/regex.c if (str_is_char_escaped (replace_str->str, curr_str)) str 658 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); str 664 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); str 669 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); str 674 lib/search/regex.c g_string_append_len (dest_str, tmp_string->str, tmp_string->len); str 798 lib/search/regex.c g_string_prepend (mc_search_cond->str, "(?<![\\p{L}\\p{N}_])"); str 799 lib/search/regex.c g_string_append (mc_search_cond->str, "(?![\\p{L}\\p{N}_])"); str 820 lib/search/regex.c tmp = mc_search_cond->str; str 821 lib/search/regex.c mc_search_cond->str = mc_search__cond_struct_new_regex_ci_str (charset, tmp); str 827 lib/search/regex.c g_regex_new (mc_search_cond->str->str, g_regex_options, 0, &mcerror); str 867 lib/search/regex.c tmp = mc_search_cond->str; str 868 lib/search/regex.c mc_search_cond->str = mc_search__cond_struct_new_regex_ci_str (charset, tmp); str 874 lib/search/regex.c pcre2_compile ((unsigned char *) mc_search_cond->str->str, PCRE2_ZERO_TERMINATED, str 877 lib/search/regex.c pcre_compile (mc_search_cond->str->str, pcre_options, &error, &erroffset, NULL); str 1029 lib/search/regex.c mc_search_regex__get_max_num_of_replace_tokens (replace_str->str, replace_str->len); str 1056 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, str 1058 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + loop + 1, len - 1, str 1070 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, str 1080 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, str 1083 lib/search/regex.c mc_search_regex__process_escape_sequence (ret, replace_str->str + loop + 1, len - 1, str 1102 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, loop - prev, str 1112 lib/search/regex.c mc_search_regex__process_append_str (ret, replace_str->str + prev, replace_str->len - prev, str 67 lib/search/search.c mc_search__cond_struct_new (mc_search_t *lc_mc_search, const GString *str, const char *charset) str 72 lib/search/search.c mc_search_cond->str = mc_g_string_dup (str); str 111 lib/search/search.c g_string_free (mc_search_cond->str, TRUE); str 163 lib/search/search.c lc_mc_search->original.str = g_string_new_len (original, original_len); str 183 lib/search/search.c g_string_free (lc_mc_search->original.str, TRUE); str 219 lib/search/search.c mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original.str, str 233 lib/search/search.c lc_mc_search->original.str, str 240 lib/search/search.c mc_search__recode_str (lc_mc_search->original.str->str, str 241 lib/search/search.c lc_mc_search->original.str->len, str 250 lib/search/search.c mc_search__cond_struct_new (lc_mc_search, lc_mc_search->original.str, str 427 lib/search/search.c mc_search (const gchar *pattern, const gchar *pattern_charset, const gchar *str, str 433 lib/search/search.c if (str == NULL) str 446 lib/search/search.c ret = mc_search_run (search, str, 0, strlen (str), NULL); str 130 lib/skin/colors.c mc_skin_color_look_up_alias (mc_skin_t *mc_skin, gchar *str) str 135 lib/skin/colors.c orig = g_strdup (str); str 136 lib/skin/colors.c str2 = g_strdup (str); str 143 lib/skin/colors.c values = mc_config_get_string_list (mc_skin->config, "aliases", str, &items_count); str 150 lib/skin/colors.c return str; str 153 lib/skin/colors.c g_free (str); str 154 lib/skin/colors.c str = g_strdup (values[0]); str 166 lib/skin/colors.c if (strcmp (str, str2) == 0) str 172 lib/skin/colors.c g_free (str); str 570 lib/strutil.h uintmax_t parse_integer (const char *str, gboolean * invalid); str 988 lib/strutil/strutil.c parse_integer (const char *str, gboolean *invalid) str 994 lib/strutil/strutil.c e = xstrtoumax (str, &suffix, 10, &n, "bcEGkKMPTwYZ0"); str 584 lib/strutil/strutil8bit.c str_8bit_strdown (const char *str) str 588 lib/strutil/strutil8bit.c if (str == NULL) str 591 lib/strutil/strutil8bit.c rets = g_strdup (str); str 41 lib/tty/tty-internal.h char *mc_tty_normalize_from_utf8 (const char *str); str 634 lib/tty/tty-ncurses.c unsigned char str[UTF8_CHAR_LEN + 1]; str 636 lib/tty/tty-ncurses.c res = g_unichar_to_utf8 (c, (char *) str); str 647 lib/tty/tty-ncurses.c str[res] = '\0'; str 648 lib/tty/tty-ncurses.c s = str_term_form ((char *) str); str 228 lib/tty/tty-slang.c mc_tty_normalize_lines_char (const char *str) str 253 lib/tty/tty-slang.c if (!str) str 258 lib/tty/tty-slang.c if (strcmp (str, lines_codes[res].line) == 0) str 262 lib/tty/tty-slang.c str2 = mc_tty_normalize_from_utf8 (str); str 713 lib/tty/tty-slang.c char str[UTF8_CHAR_LEN + 1]; str 716 lib/tty/tty-slang.c res = g_unichar_to_utf8 (c, str); str 719 lib/tty/tty-slang.c str[0] = '.'; str 720 lib/tty/tty-slang.c str[1] = '\0'; str 724 lib/tty/tty-slang.c str[res] = '\0'; str 726 lib/tty/tty-slang.c SLsmg_write_string ((char *) str_term_form (str)); str 295 lib/tty/tty.c mc_tty_normalize_from_utf8 (const char *str) str 302 lib/tty/tty.c return g_strdup (str); str 306 lib/tty/tty.c return g_strdup (str); str 310 lib/tty/tty.c if (str_convert (conv, str, buffer) == ESTR_FAILURE) str 314 lib/tty/tty.c return g_strdup (str); str 139 lib/tty/tty.h extern int mc_tty_normalize_lines_char (const char *str); str 1323 lib/utilunix.c if (!IS_PATH_SEP (path->str[path->len - 1]) && element != NULL) str 486 lib/vfs/interface.c vfs_dirent_assign (mc_readdir_result, vfs_str_buffer->str, entry->d_ino); str 81 lib/vfs/parse_ls_vga.c is_dos_date (const char *str) str 85 lib/vfs/parse_ls_vga.c if (str == NULL) str 88 lib/vfs/parse_ls_vga.c len = strlen (str); str 92 lib/vfs/parse_ls_vga.c if (str[2] != str[5]) str 95 lib/vfs/parse_ls_vga.c return (strchr ("\\-/", (int) str[2]) != NULL); str 101 lib/vfs/parse_ls_vga.c is_week (const char *str, struct tm *tim) str 106 lib/vfs/parse_ls_vga.c if (str == NULL) str 109 lib/vfs/parse_ls_vga.c pos = strstr (week, str); str 146 lib/vfs/parse_ls_vga.c is_time (const char *str, struct tm *tim) str 150 lib/vfs/parse_ls_vga.c if (str == NULL) str 153 lib/vfs/parse_ls_vga.c p = strchr (str, ':'); str 157 lib/vfs/parse_ls_vga.c p2 = strrchr (str, ':'); str 163 lib/vfs/parse_ls_vga.c if (sscanf (str, "%2d:%2d:%2d", &tim->tm_hour, &tim->tm_min, &tim->tm_sec) != 3) str 168 lib/vfs/parse_ls_vga.c if (sscanf (str, "%2d:%2d", &tim->tm_hour, &tim->tm_min) != 2) str 178 lib/vfs/parse_ls_vga.c is_year (char *str, struct tm *tim) str 182 lib/vfs/parse_ls_vga.c if (str == NULL) str 185 lib/vfs/parse_ls_vga.c if (strchr (str, ':') != NULL) str 188 lib/vfs/parse_ls_vga.c if (strlen (str) != 4) str 192 lib/vfs/parse_ls_vga.c if (sscanf (str, "%ld", &year) != 1) str 498 lib/vfs/parse_ls_vga.c vfs_parse_month (const char *str, struct tm *tim) str 503 lib/vfs/parse_ls_vga.c if (str == NULL) str 506 lib/vfs/parse_ls_vga.c pos = strstr (month, str); str 515 lib/vfs/path.c if (ret_tokens->len > 0 && !IS_PATH_SEP (ret_tokens->str[ret_tokens->len - 1])) str 524 lib/vfs/path.c g_string_append_len (ret_tokens, url_str->str, url_str->len); str 533 lib/vfs/path.c if (ret_tokens->len > 0 && !IS_PATH_SEP (ret_tokens->str[ret_tokens->len - 1])) str 541 lib/vfs/path.c g_string_append (ret_tokens, element_tokens->str); str 585 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) \ str 631 lib/vfs/path.c if (!is_relative && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) str 640 lib/vfs/path.c g_string_append_len (buffer, url_str->str, url_str->len); str 652 lib/vfs/path.c && (buffer->len == 0 || !IS_PATH_SEP (buffer->str[buffer->len - 1]))) str 664 lib/vfs/path.c vfs_append_from_path (recode_buffer->str, is_relative); str 731 lib/vfs/path.c vpath->str = vfs_path_to_str_flags (vpath, 0, flags); str 797 lib/vfs/path.c g_free (vpath->str); str 798 lib/vfs/path.c vpath->str = vfs_path_to_str_flags (vpath, 0, VPF_NONE); str 931 lib/vfs/path.c new_vpath->str = g_strdup (vpath->str); str 967 lib/vfs/path.c ret = vpath->str; str 970 lib/vfs/path.c g_free (vpath->str); str 1002 lib/vfs/path.c g_free (vpath->str); str 1003 lib/vfs/path.c vpath->str = vfs_path_to_str_flags (vpath, 0, VPF_NONE); str 1112 lib/vfs/path.c g_free (vpath->str); str 1113 lib/vfs/path.c vpath->str = vfs_path_to_str_flags (vpath, 0, VPF_NONE); str 1250 lib/vfs/path.c vpath->str = vfs_path_to_str_flags (vpath, 0, VPF_NONE); str 1357 lib/vfs/path.c ret_vpath->str = vfs_path_to_str_flags (ret_vpath, 0, VPF_NONE); str 1584 lib/vfs/path.c g_string_append_len (pretty_path, url_params->str, url_params->len); str 1664 lib/vfs/path.c return strlen (vpath->str); str 30 lib/vfs/path.h char *str; str 147 lib/vfs/path.h return (vpath == NULL ? NULL : vpath->str); str 212 lib/vfs/utilvfs.c fd = mc_mkstemps (pname_vpath, prefix, suffix->str); str 60 lib/vfs/utilvfs.h gboolean vfs_parse_month (const char *str, struct tm *tim); str 369 lib/vfs/vfs.c return (state != ESTR_FAILURE) ? vfs_str_buffer->str : NULL; str 393 lib/vfs/vfs.c return current_path->str; str 406 lib/vfs/vfs.c return g_strdup (current_path->str); str 563 lib/vfs/vfs.c d->d_name = d->d_name_str->str; str 268 lib/widget/input.c str_len = str_length (in->buffer->str); str 272 lib/widget/input.c start = str_offset_to_pos (in->buffer->str, start); str 273 lib/widget/input.c end = str_offset_to_pos (in->buffer->str, end); str 291 lib/widget/input.c in->point = str_length (in->buffer->str); str 304 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); str 305 lib/widget/input.c in->point -= str_cprev_noncomb_char (&act, in->buffer->str); str 318 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); str 331 lib/widget/input.c p = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); str 347 lib/widget/input.c p = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); str 349 lib/widget/input.c for (; p != in->buffer->str; in->point--) str 362 lib/widget/input.c for (; p != in->buffer->str; in->point--) str 381 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); str 382 lib/widget/input.c start = in->point - str_cprev_noncomb_char (&act, in->buffer->str); str 408 lib/widget/input.c first = str_offset_to_pos (in->buffer->str, first); str 409 lib/widget/input.c last = str_offset_to_pos (in->buffer->str, last); str 411 lib/widget/input.c kill_buffer = g_strndup (in->buffer->str + first, last - first); str 463 lib/widget/input.c ins_point = str_offset_to_pos (in->buffer->str, in->point); str 479 lib/widget/input.c act = in->buffer->str + str_offset_to_pos (in->buffer->str, in->point); str 542 lib/widget/input.c chp = str_offset_to_pos (in->buffer->str, in->point); str 544 lib/widget/input.c kill_buffer = g_strndup (in->buffer->str + chp, in->buffer->len - chp); str 889 lib/widget/input.c if (x < str_term_width1 (in->buffer->str)) str 890 lib/widget/input.c return str_column_to_pos (in->buffer->str, x); str 892 lib/widget/input.c return str_length (in->buffer->str); str 1060 lib/widget/input.c widget_gotoyx (in, 0, str_term_width2 (in->buffer->str, in->point) - in->term_first_shown); str 1145 lib/widget/input.c in->point = str_length (in->buffer->str); str 1171 lib/widget/input.c max_pos = str_length (in->buffer->str); str 1205 lib/widget/input.c buf_len = str_length (in->buffer->str); str 1210 lib/widget/input.c pw = str_term_width2 (in->buffer->str, in->point); str 1235 lib/widget/input.c tty_print_string (str_term_substring (in->buffer->str, in->term_first_shown, str 1244 lib/widget/input.c cp = str_term_substring (in->buffer->str, in->term_first_shown, str 1259 lib/widget/input.c buf_width = str_term_width2 (in->buffer->str, m1); str 1264 lib/widget/input.c tty_print_string (str_term_substring (in->buffer->str, m1, m2)); str 1272 lib/widget/input.c cp = str_term_substring (in->buffer->str, in->term_first_shown, w->cols - has_history); str 119 lib/widget/input.h return g_strndup (in->buffer->str, in->buffer->len); str 134 lib/widget/input.h return in->buffer->str; str 290 lib/widget/input_complete.c if (!IS_PATH_SEP (temp->str[temp->len - 1])) str 946 lib/widget/input_complete.c buff_len = str_length (in->buffer->str); str 965 lib/widget/input_complete.c tail = g_strndup (in->buffer->str + end, tail_len); str 979 lib/widget/input_complete.c in->point += str_length (in->buffer->str) - buff_len; str 1019 lib/widget/input_complete.c end = str_get_prev_char (input->buffer->str + end) - input->buffer->str; str 1030 lib/widget/input_complete.c new_end = str_get_prev_char (input->buffer->str + end) - input->buffer->str; str 1037 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, new_end - start) == 0) str 1091 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, end - start) == 0 str 1171 lib/widget/input_complete.c if (in->completions != NULL && str_offset_to_pos (in->buffer->str, in->point) != end) str 1387 lib/widget/input_complete.c end = str_offset_to_pos (in->buffer->str, in->point); str 1389 lib/widget/input_complete.c s = in->buffer->str; str 1399 lib/widget/input_complete.c for (; s >= in->buffer->str; str_prev_char (&s)) str 1401 lib/widget/input_complete.c start = s - in->buffer->str; str 1402 lib/widget/input_complete.c if (strchr (word_separators, *s) != NULL && !str_is_char_escaped (in->buffer->str, s)) str 1409 lib/widget/input_complete.c start = s - in->buffer->str; str 1412 lib/widget/input_complete.c in->completions = try_complete (in->buffer->str, &start, &end, in->completion_flags); str 1423 lib/widget/input_complete.c if (!str_is_valid_string (in->buffer->str)) str 678 src/args.c mc_replace_error (mcerror, (*mcerror)->code, "%s", full_help_str->str); str 458 src/background.c char *str; str 477 src/background.c str = g_malloc (i + 1); str 478 src/background.c if (read (from_parent_fd, str, i) != i) str 480 src/background.c g_free (str); str 483 src/background.c str[i] = '\0'; str 484 src/background.c return str; str 614 src/background.c char *str; str 617 src/background.c str = parent_va_call_string (routine, argc, ap); str 620 src/background.c return str; str 12 src/diffviewer/internal.h typedef int (*DFUNC) (void *ctx, int ch, int line, off_t off, size_t sz, const char *str); str 574 src/diffviewer/ydiff.c dview_get_byte (const char *str, int *ch) str 576 src/diffviewer/ydiff.c if (str == NULL) str 579 src/diffviewer/ydiff.c *ch = (unsigned char) (*str); str 596 src/diffviewer/ydiff.c dview_get_utf (const char *str, int *ch, int *ch_length) str 598 src/diffviewer/ydiff.c if (str == NULL) str 601 src/diffviewer/ydiff.c *ch = g_utf8_get_char_validated (str, -1); str 605 src/diffviewer/ydiff.c *ch = (unsigned char) (*str); str 613 src/diffviewer/ydiff.c next_ch = g_utf8_next_char (str); str 614 src/diffviewer/ydiff.c *ch_length = next_ch - str; str 669 src/diffviewer/ydiff.c scan_deci (const char **str, int *n) str 671 src/diffviewer/ydiff.c const char *p = *str; str 678 src/diffviewer/ydiff.c *str = q; str 1631 src/diffviewer/ydiff.c printer (void *ctx, int ch, int line, off_t off, size_t sz, const char *str) str 1646 src/diffviewer/ydiff.c if (sz != 0 && str[sz - 1] == '\n') str 1649 src/diffviewer/ydiff.c p.p = g_strndup (str, sz); str 1659 src/diffviewer/ydiff.c if (sz != 0 && str[sz - 1] == '\n') str 1668 src/diffviewer/ydiff.c memcpy (q + p->u.len, str, sz); str 1676 src/diffviewer/ydiff.c dview_fwrite (f, str, sz); str 3469 src/diffviewer/ydiff.c file0 = vfs_path_append_new (panel0->cwd_vpath, fe0->fname->str, (char *) NULL); str 3474 src/diffviewer/ydiff.c path_trunc (fe0->fname->str, 30)); str 3484 src/diffviewer/ydiff.c file1 = vfs_path_append_new (panel1->cwd_vpath, fe1->fname->str, (char *) NULL); str 3489 src/diffviewer/ydiff.c path_trunc (fe1->fname->str, 30)); str 3500 src/editor/edit.c unsigned char str[UTF8_CHAR_LEN + 1]; str 3504 src/editor/edit.c res = g_unichar_to_utf8 (char_for_insertion, (char *) str); str 3507 src/editor/edit.c str[0] = '.'; str 3508 src/editor/edit.c str[1] = '\0'; str 3511 src/editor/edit.c str[res] = '\0'; str 3513 src/editor/edit.c for (i = 0; i <= UTF8_CHAR_LEN && str[i] != '\0'; i++) str 3515 src/editor/edit.c char_for_insertion = str[i]; str 214 src/editor/editbuffer.c gchar *str = NULL; str 225 src/editor/editbuffer.c str = edit_buffer_get_byte_ptr (buf, byte_index); str 226 src/editor/editbuffer.c if (str == NULL) str 232 src/editor/editbuffer.c res = g_utf8_get_char_validated (str, -1); str 247 src/editor/editbuffer.c ch = *str; str 254 src/editor/editbuffer.c next_ch = g_utf8_next_char (str); str 255 src/editor/editbuffer.c *char_length = next_ch - str; str 279 src/editor/editbuffer.c gchar *str; str 294 src/editor/editbuffer.c str = g_utf8_find_prev_char (utf8_buf, cursor_buf_ptr); str 296 src/editor/editbuffer.c if (str == NULL || g_utf8_next_char (str) != cursor_buf_ptr) str 302 src/editor/editbuffer.c res = g_utf8_get_char_validated (str, -1); str 309 src/editor/editbuffer.c *char_length = cursor_buf_ptr - str; str 851 src/editor/editcmd.c const char *str[] = { str 861 src/editor/editcmd.c str[i] = _(str[i]); str 869 src/editor/editcmd.c QUICK_RADIO (3, str, &edit_options.save_mode, &edit_save_mode_radio_id), str 162 src/editor/editcomplete.c if (strncmp (s->str + word_len, temp->str + word_len, str 186 src/editor/editcomplete.c recoded = str_nconvert_to_display (temp->str, temp->len); str 205 src/editor/editcomplete.c width = str_term_width1 (temp->str); str 332 src/editor/editcomplete.c for (completion = temp->str + word_len; *completion != '\0'; completion++) str 401 src/editor/editcomplete.c listbox_add_item (compl_list, LISTBOX_APPEND_AT_END, 0, ((GString *) i->data)->str, NULL, str 449 src/editor/editcomplete.c compl = edit_collect_completions (edit, word_start, word_len, match_expr->str, &max_width); str 463 src/editor/editcomplete.c edit_complete_word_insert_recoded_completion (edit, curr_compl->str, word_len); str 206 src/editor/editmacros.c mc_config_set_string (macros_config, section_name, skeyname, macros_string->str); str 309 src/editor/editsearch.c if (search->original.str->str[0] == '^') str 312 src/editor/editsearch.c if (search->original.str->str[search->original.str->len - 1] == '$') str 500 src/editor/editsearch.c if (search_end > (off_t) (search_start + edit->search->original.str->len) str 502 src/editor/editsearch.c search_end = search_start + edit->search->original.str->len; str 538 src/editor/editsearch.c edit_replace_cmd__conv_to_display (const char *str) str 543 src/editor/editsearch.c tmp = str_convert_to_display (str); str 551 src/editor/editsearch.c return g_strdup (str); str 557 src/editor/editsearch.c edit_replace_cmd__conv_to_input (char *str) str 562 src/editor/editsearch.c tmp = str_convert_to_input (str); str 570 src/editor/editsearch.c return g_strdup (str); str 680 src/editor/editsearch.c edit_search_init (WEdit *edit, const char *str) str 683 src/editor/editsearch.c edit->search = mc_search_new (str, cp_source); str 685 src/editor/editsearch.c edit->search = mc_search_new (str, NULL); str 985 src/editor/editsearch.c edit_insert (edit, repl_str->str[i]); str 174 src/editor/etags.c *line = atol (linedef->str); str 448 src/editor/etags.c def_hash = etags_set_definition_hash (tagfile, path, match_expr->str); str 455 src/editor/etags.c editcmd_dialog_select_definition_show (edit, match_expr->str, def_hash); str 504 src/editor/format.c && strchr (edit_options.stop_format_chars, t->str[0]) != NULL) str 516 src/editor/format.c if (t->str[i] == '\n' && strchr (stop_format_chars, t->str[i + 1]) != NULL) str 606 src/editor/spell.c tmp_word = str_convert_to_display (match_word->str); str 613 src/editor/spell.c if (!aspell_check (match_word->str, (int) word_len)) str 621 src/editor/spell.c res = aspell_suggest (suggest, match_word->str, (int) word_len); str 633 src/editor/spell.c spell_dialog_spell_suggest_show (edit, match_word->str, &new_word, suggest); str 660 src/editor/spell.c aspell_add_to_dict (match_word->str, (int) word_len); str 256 src/editor/syntax.c for (p = (const unsigned char *) text->str, q = p + text->len; p < q; p++, i++) str 287 src/editor/syntax.c if (p[0] == text->str[0] && p[1] == '\0') /* handle eg '+' and @+@ keywords properly */ str 463 src/editor/syntax.c && k->keyword->str[k->keyword->len - 1] == '\n') str 467 src/editor/syntax.c && r->right->str[r->right->len - 1] == '\n') str 1096 src/editor/syntax.c c->first_left = c->left->str[0]; str 1097 src/editor/syntax.c c->first_right = c->right->str[0]; str 1252 src/editor/syntax.c g_string_append_c (first_chars, k->keyword->str[0]); str 1255 src/editor/syntax.c c->keyword_first_chars = g_strndup (first_chars->str, first_chars->len); str 132 src/file_history.c write_error = (fprintf (f, "%s\n", s->str) < 0); str 950 src/filemanager/achown.c vpath = vfs_path_from_str (fname->str); str 1013 src/filemanager/achown.c vpath = vfs_path_from_str (fname->str); str 1027 src/filemanager/achown.c str_fit_to_term (fname->str, WIDGET (ch_dlg)->rect.cols - 20, J_LEFT_FIT), str 1049 src/filemanager/achown.c fname->str, unix_error_string (errno)); str 1052 src/filemanager/achown.c message (D_ERROR, MSG_ERROR, _("Cannot chown \"%s\"\n%s"), fname->str, str 280 src/filemanager/cd.c q_vpath = vfs_path_from_str_flags (s_path->str, VPF_NO_CANON); str 284 src/filemanager/cd.c ok = handle_cdpath (s_path->str); str 261 src/filemanager/chattr.c chattr_fill_str (unsigned long attr, char *str) str 266 src/filemanager/chattr.c str[i] = (attr & check_attr[i].flags) != 0 ? check_attr[i].attr : '-'; str 268 src/filemanager/chattr.c str[check_attr_num] = '\0'; str 1166 src/filemanager/chattr.c vpath = vfs_path_from_str (fname->str); str 1220 src/filemanager/chattr.c vpath = vfs_path_from_str (fname->str); str 1224 src/filemanager/chattr.c message (D_ERROR, MSG_ERROR, _("Cannot get ext2 attributes of \"%s\"\n%s"), fname->str, str 1232 src/filemanager/chattr.c ch_dlg = chattr_dlg_create (panel, fname->str, flags); str 1249 src/filemanager/chattr.c message (D_ERROR, MSG_ERROR, _("Cannot chattr \"%s\"\n%s"), fname->str, str 1332 src/filemanager/chattr.c static char str[32 + 1]; /* 32 bits in attributes (unsigned long) */ str 1334 src/filemanager/chattr.c chattr_fill_str (attr, str); str 1336 src/filemanager/chattr.c return str; str 489 src/filemanager/chmod.c vpath = vfs_path_from_str (fname->str); str 545 src/filemanager/chmod.c vpath = vfs_path_from_str (fname->str); str 555 src/filemanager/chmod.c ch_dlg = chmod_dlg_create (panel, fname->str, &sf_stat); str 571 src/filemanager/chmod.c message (D_ERROR, MSG_ERROR, _("Cannot chmod \"%s\"\n%s"), fname->str, str 359 src/filemanager/chown.c vpath = vfs_path_from_str (fname->str); str 414 src/filemanager/chown.c vpath = vfs_path_from_str (fname->str); str 428 src/filemanager/chown.c chown_label (0, str_trunc (fname->str, GW - 4)); str 465 src/filemanager/chown.c fname->str, unix_error_string (errno)); str 141 src/filemanager/cmd.c fname_vpath = vfs_path_from_str (fe->fname->str); str 143 src/filemanager/cmd.c cd_error_message (fe->fname->str); str 150 src/filemanager/cmd.c filename_vpath = vfs_path_from_str (fe->fname->str); str 233 src/filemanager/cmd.c source_fname = source->fname->str; str 242 src/filemanager/cmd.c other_fname = other->dir.list[j].fname->str; str 288 src/filemanager/cmd.c vfs_path_append_new (panel->cwd_vpath, source->fname->str, (char *) NULL); str 290 src/filemanager/cmd.c vfs_path_append_new (other->cwd_vpath, target->fname->str, (char *) NULL); str 590 src/filemanager/cmd.c input_expand_dialog (_("View file"), _("Filename:"), MC_HISTORY_FM_VIEW_FILE, fe->fname->str, str 625 src/filemanager/cmd.c initial_command = fe->fname->str; str 697 src/filemanager/cmd.c fname = vfs_path_from_str (fe->fname->str); str 716 src/filemanager/cmd.c fname = vfs_path_from_str (fe->fname->str); str 767 src/filemanager/cmd.c if (auto_fill_mkdir_name && !DIR_IS_DOTDOT (fe->fname->str)) str 768 src/filemanager/cmd.c name = fe->fname->str; str 1088 src/filemanager/cmd.c do_link (link_type, fe->fname->str); str 1103 src/filemanager/cmd.c p = fe->fname->str; str 1250 src/filemanager/cmd.c if ((entry != NULL && S_ISDIR (entry->st.st_mode) && DIR_IS_DOTDOT (entry->fname->str)) str 1266 src/filemanager/cmd.c if (entry != NULL && S_ISDIR (entry->st.st_mode) && !DIR_IS_DOTDOT (entry->fname->str)) str 1274 src/filemanager/cmd.c p = vfs_path_from_str (entry->fname->str); str 1317 src/filemanager/cmd.c || panel->dirs_marked == 0) && !DIR_IS_DOTDOT (panel->dir.list[i].fname->str)) str 1325 src/filemanager/cmd.c p = vfs_path_from_str (panel->dir.list[i].fname->str); str 151 src/filemanager/command.c shell_execute (command->str, 0); str 116 src/filemanager/dir.c a->name_sort_key = str_create_key_for_filename (a->fname->str, case_sensitive); str 118 src/filemanager/dir.c b->name_sort_key = str_create_key_for_filename (b->fname->str, case_sensitive); str 360 src/filemanager/dir.c result = filevercmp (a->fname->str, b->fname->str); str 383 src/filemanager/dir.c a->extension_sort_key = str_create_key (extension (a->fname->str), case_sensitive); str 385 src/filemanager/dir.c b->extension_sort_key = str_create_key (extension (b->fname->str), case_sensitive); str 507 src/filemanager/dir.c dot_dot_found = DIR_IS_DOTDOT (fentry->fname->str) ? 1 : 0; str 749 src/filemanager/dir.c g_hash_table_insert (marked_files, dfentry->fname->str, dfentry); str 484 src/filemanager/ext.c fputs (export_variables->str, cmd_file); str 488 src/filemanager/ext.c fputs (shell_string->str, cmd_file); str 566 src/filemanager/file.c q = vfs_path_build_filename (p->str, dst_path, (char *) NULL); str 575 src/filemanager/file.c tmp_vpath2 = vfs_path_from_str (p->str); str 579 src/filemanager/file.c g_strlcpy (link_target, s != NULL ? s : p->str, sizeof (link_target)); str 727 src/filemanager/file.c p = vfs_path_append_new (panel->cwd_vpath, fe->fname->str, (char *) NULL); str 1039 src/filemanager/file.c do_file_error (file_op_context_t *ctx, gboolean allow_retry, const char *str) str 1052 src/filemanager/file.c return parent_call (pntr.p, ctx, 2, sizeof (allow_retry), allow_retry, strlen (str), str); str 1054 src/filemanager/file.c return real_do_file_error (ctx, Foreground, allow_retry, str); str 1106 src/filemanager/file.c do_file_error (file_op_context_t *ctx, gboolean allow_retry, const char *str) str 1108 src/filemanager/file.c return real_do_file_error (ctx, Foreground, allow_retry, str); str 1782 src/filemanager/file.c return panel->dir.list[i].fname->str; str 1787 src/filemanager/file.c return (fe == NULL ? NULL : fe->fname->str); str 1803 src/filemanager/file.c source = fe == NULL ? NULL : fe->fname->str; str 3669 src/filemanager/file.c source2 = panel->dir.list[i].fname->str; str 158 src/filemanager/filemanager.c sel_dir = tree_box (fe->fname->str); str 732 src/filemanager/filemanager.c vpath = vfs_path_append_new (panel->cwd_vpath, fe->fname->str, (char *) NULL); str 785 src/filemanager/filemanager.c command_insert (cmdline, fe->fname->str, TRUE); str 805 src/filemanager/filemanager.c command_insert (cmdline, fe->fname->str, TRUE); str 813 src/filemanager/filemanager.c command_insert (cmdline, panel->dir.list[i].fname->str, TRUE); str 1861 src/filemanager/find.c && strcmp (list->list[list->len - 1].fname->str, p) == 0) str 1301 src/filemanager/hotlist.c if (strncmp (tkn_buf->str, "GROUP", l) == 0) str 1303 src/filemanager/hotlist.c else if (strncmp (tkn_buf->str, "ENTRY", l) == 0) str 1305 src/filemanager/hotlist.c else if (strncmp (tkn_buf->str, "ENDGROUP", l) == 0) str 1307 src/filemanager/hotlist.c else if (strncmp (tkn_buf->str, "URL", l) == 0) str 1333 src/filemanager/hotlist.c add2hotlist (g_strndup (tkn_buf->str, tkn_buf->len), 0, HL_TYPE_GROUP, str 1342 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); str 1345 src/filemanager/hotlist.c url = tilde_expand (tkn_buf->str); str 1351 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); str 1387 src/filemanager/hotlist.c add2hotlist (g_strndup (tkn_buf->str, tkn_buf->len), 0, HL_TYPE_GROUP, str 1396 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); str 1399 src/filemanager/hotlist.c url = tilde_expand (tkn_buf->str); str 1405 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); str 207 src/filemanager/info.c tty_print_string (buff->str); str 214 src/filemanager/info.c tty_print_string (buff->str); str 220 src/filemanager/info.c tty_print_string (buff->str); str 226 src/filemanager/info.c tty_print_string (buff->str); str 235 src/filemanager/info.c tty_print_string (buff->str); str 272 src/filemanager/info.c vpath = vfs_path_from_str (fe->fname->str); str 299 src/filemanager/info.c fname = fe->fname->str; str 301 src/filemanager/info.c tty_print_string (buff->str); str 1018 src/filemanager/layout.c mc_prompt = subshell_prompt->str; str 1046 src/filemanager/layout.c set_hintbar (const char *str) str 1048 src/filemanager/layout.c label_set_text (the_hint, str); str 1207 src/filemanager/layout.c file_name = fe->fname->str; str 81 src/filemanager/layout.h void set_hintbar (const char *str); str 589 src/filemanager/mountlist.c unescape_tab (char *str) str 594 src/filemanager/mountlist.c len = strlen (str) + 1; str 598 src/filemanager/mountlist.c if (str[i] == '\\' && (i + 4 < len) str 599 src/filemanager/mountlist.c && str[i + 1] >= '0' && str[i + 1] <= '3' str 600 src/filemanager/mountlist.c && str[i + 2] >= '0' && str[i + 2] <= '7' && str[i + 3] >= '0' && str[i + 3] <= '7') str 602 src/filemanager/mountlist.c str[j++] = (str[i + 1] - '0') * 64 + (str[i + 2] - '0') * 8 + (str[i + 3] - '0'); str 606 src/filemanager/mountlist.c str[j++] = str[i]; str 499 src/filemanager/panel.c return string_file_name_buffer->str; str 550 src/filemanager/panel.c if (DIR_IS_DOTDOT (fe->fname->str)) str 572 src/filemanager/panel.c if ((S_ISDIR (fe->st.st_mode) || link_isdir (fe)) && !DIR_IS_DOTDOT (fe->fname->str)) str 1052 src/filemanager/panel.c (panel->quick_search.buffer->str, w->rect.cols - 3, J_LEFT)); str 1070 src/filemanager/panel.c lc_link_vpath = vfs_path_append_new (panel->cwd_vpath, fe->fname->str, (char *) NULL); str 1082 src/filemanager/panel.c else if (DIR_IS_DOTDOT (fe->fname->str)) str 1584 src/filemanager/panel.c char *str; str 1586 src/filemanager/panel.c str = g_strdup_printf ("%s%s", sort_sign, Q_ (panel->sort_field->hotkey)); str 1588 src/filemanager/panel.c tty_print_string (str); str 1589 src/filemanager/panel.c g_free (str); str 1661 src/filemanager/panel.c tty_print_string (str_fit_to_term (format_txt->str, fi->field_len, J_CENTER_LEFT)); str 2075 src/filemanager/panel.c vpath = vfs_path_from_str (fe->fname->str); str 2130 src/filemanager/panel.c cur_file_ext = str_regex_escape (extension (fe->fname->str)); str 2146 src/filemanager/panel.c if (DIR_IS_DOTDOT (fe->fname->str) || S_ISDIR (fe->st.st_mode)) str 2149 src/filemanager/panel.c if (!mc_search_run (search, fe->fname->str, 0, fe->fname->len, NULL)) str 2370 src/filemanager/panel.c if (g_path_is_absolute (fname->str)) str 2377 src/filemanager/panel.c mc_build_filename (vfs_path_as_str (panel->panelized_descr->root_vpath), fname->str, str 2383 src/filemanager/panel.c bname = x_basename (fname->str); str 2385 src/filemanager/panel.c if (bname == fname->str) str 2389 src/filemanager/panel.c g_string_truncate (fname, bname - fname->str); str 2390 src/filemanager/panel.c dname_vpath = vfs_path_from_str (fname->str); str 2440 src/filemanager/panel.c vpath = vfs_path_from_str (fe->fname->str); str 2657 src/filemanager/panel.c const char *history_name, const char *help_section, char **str) str 2693 src/filemanager/panel.c if (str != NULL) str 2694 src/filemanager/panel.c *str = NULL; str 2703 src/filemanager/panel.c if (str != NULL) str 2704 src/filemanager/panel.c *str = reg_exp; str 2746 src/filemanager/panel.c if (DIR_IS_DOTDOT (panel->dir.list[i].fname->str)) str 2752 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) str 2836 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; str 2837 src/filemanager/panel.c str_prev_noncomb_char (&act, panel->quick_search.buffer->str); str 2838 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, act - panel->quick_search.buffer->str); str 2867 src/filemanager/panel.c reg_exp = g_strdup_printf ("%s*", panel->quick_search.buffer->str); str 2898 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) str 2914 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; str 2915 src/filemanager/panel.c str_prev_noncomb_char (&act, panel->quick_search.buffer->str); str 2916 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, act - panel->quick_search.buffer->str); str 2979 src/filemanager/panel.c const char *fname = fe->fname->str; str 3091 src/filemanager/panel.c new_dir_vpath = vfs_path_append_new (panel->cwd_vpath, entry->fname->str, (char *) NULL); str 3132 src/filemanager/panel.c panel_set_current_by_name (other_panel, fe->fname->str); str 3158 src/filemanager/panel.c i = readlink (fe->fname->str, buffer, MC_MAXPATHLEN - 1); str 3162 src/filemanager/panel.c panel_fname_vpath = vfs_path_from_str (fe->fname->str); str 4224 src/filemanager/panel.c vpath = vfs_path_from_str (list->list[i].fname->str); str 4270 src/filemanager/panel.c my_current_file = g_strndup (fe->fname->str, fe->fname->len); str 4337 src/filemanager/panel.c mc_event_raise (MCEVENT_GROUP_CORE, "clipboard_text_to_file", (gpointer) fe->fname->str); str 4353 src/filemanager/panel.c flist = g_strndup (fe->fname->str, fe->fname->len); str 4361 src/filemanager/panel.c tmp = g_strconcat (flist, "\n", fe->fname->str, (char *) NULL); str 4484 src/filemanager/panel.c if (strcmp (subdir, panel->dir.list[i].fname->str) == 0) str 4900 src/filemanager/panel.c if (DIR_IS_DOTDOT (panel->dir.list[idx].fname->str)) str 5021 src/filemanager/panel.c filename = g_strndup (fe->fname->str, fe->fname->len); str 5027 src/filemanager/panel.c if (strcmp (panel->dir.list[i - 1].fname->str, filename) == 0) str 5057 src/filemanager/panel.c current_file = g_strndup (fe->fname->str, fe->fname->len); str 5161 src/filemanager/panel.c path_element->path = g_strndup (tmp_conv->str, tmp_conv->len); str 5377 src/filemanager/panel.c if (panelized_same || DIR_IS_DOTDOT (plist->list[i].fname->str)) str 5384 src/filemanager/panel.c vfs_path_append_new (pdescr->root_vpath, plist->list[i].fname->str, (char *) NULL); str 5446 src/filemanager/panel.c if (list->len > 1 && g_path_is_absolute (list->list[1].fname->str)) str 369 src/filemanager/panelize.c if (line->str[line->len - 1] == '\n') str 378 src/filemanager/panelize.c g_string_append_len (remain_file_name, line->str, line->len); str 392 src/filemanager/panelize.c g_string_append_len (remain_file_name, line->str, line->len); str 399 src/filemanager/panelize.c name = line->str; str 244 src/filemanager/tree.c tty_print_string (str_fit_to_term (tree->search_buffer->str, tree_cols - 2, J_LEFT_FIT)); str 632 src/filemanager/tree.c if (strncmp (current->subname, text->str, text->len) == 0) str 414 src/help.c w = str_term_width1 (word->str); str 426 src/help.c tty_print_string (word->str); str 1649 src/subshell/common.c printf ("\r\n%s", subshell_prompt->str); str 1761 src/subshell/common.c write_all (mc_global.tty.subshell_pty, temp->str, temp->len); str 285 src/usermenu.c && mc_search (arg, DEFAULT_CHARSET, fe->fname->str, search_type); str 813 src/usermenu.c fname = fe == NULL ? NULL : fe->fname->str; str 955 src/usermenu.c tmp = quote_func (panel->dir.list[i].fname->str, FALSE); str 628 src/vfs/extfs/extfs.c if (err_msg->str[err_msg->len - 1] != '\n') str 647 src/vfs/extfs/extfs.c if (buffer->str[buffer->len - 1] == '\n') str 656 src/vfs/extfs/extfs.c g_string_append_len (remain_file_name, buffer->str, buffer->len); str 670 src/vfs/extfs/extfs.c g_string_append_len (remain_file_name, buffer->str, buffer->len); str 677 src/vfs/extfs/extfs.c ret = extfs_add_file (archive, buffer->str); str 689 src/vfs/extfs/extfs.c mc_propagate_error (error, 0, "%s", err_msg->str); str 494 src/vfs/ftpfs/ftpfs.c if (strncmp (cmdstr->str, "PASS ", 5) == 0) str 500 src/vfs/ftpfs/ftpfs.c ret = fwrite (cmdstr->str, cmdstr->len, 1, me->logfile); str 509 src/vfs/ftpfs/ftpfs.c status = write (ftp_super->sock, cmdstr->str, cmdstr->len); str 522 src/vfs/ftpfs/ftpfs.c if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0)) str 549 src/vfs/ftpfs/ftpfs.c if (status != 0 && (write (ftp_super->sock, cmdstr->str, cmdstr->len) > 0)) str 2434 src/vfs/ftpfs/ftpfs.c func (name->str); str 84 src/vfs/sftpfs/dir.c libssh2_sftp_open_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, 0, 0, str 182 src/vfs/sftpfs/dir.c libssh2_sftp_mkdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len, mode); str 218 src/vfs/sftpfs/dir.c res = libssh2_sftp_rmdir_ex (sftpfs_super->sftp_session, fixfname->str, fixfname->len); str 170 src/vfs/sftpfs/file.c libssh2_sftp_open_ex (super->sftp_session, fixfname->str, fixfname->len, str 132 src/vfs/sftpfs/internal.c res = libssh2_sftp_stat_ex ((*super)->sftp_session, fixfname->str, fixfname->len, str 359 src/vfs/sftpfs/internal.c libssh2_sftp_symlink_ex (super->sftp_session, fixfname->str, fixfname->len, buf, size, str 398 src/vfs/sftpfs/internal.c tmp_path = g_strndup (ctmp_path->str, ctmp_path->len); str 457 src/vfs/sftpfs/internal.c libssh2_sftp_stat_ex (super->sftp_session, fixfname->str, fixfname->len, str 510 src/vfs/sftpfs/internal.c libssh2_sftp_stat_ex (super->sftp_session, fixfname->str, fixfname->len, str 556 src/vfs/sftpfs/internal.c res = libssh2_sftp_unlink_ex (super->sftp_session, fixfname->str, fixfname->len); str 594 src/vfs/sftpfs/internal.c tmp_path = g_strndup (ctmp_path->str, ctmp_path->len); str 603 src/vfs/sftpfs/internal.c libssh2_sftp_rename_ex (super->sftp_session, fixfname->str, fixfname->len, tmp_path, str 666 src/vfs/sftpfs/sftpfs.c func (name->str); str 318 src/vfs/shell/shell.c r = shell_command (me, super, wait_reply, command->str, command->len); str 807 src/vfs/undelfs/undelfs.c char *str; str 810 src/vfs/undelfs/undelfs.c str = g_strdup_vprintf (fmt, ap); str 813 src/vfs/undelfs/undelfs.c message (D_ERROR, _("Ext2lib error"), "%s (%s: %ld)", str, whoami, err_code); str 814 src/vfs/undelfs/undelfs.c g_free (str); str 197 src/viewer/actions_cmd.c mcview_load (view, 0, fe->fname->str, 0, 0, 0); str 307 src/viewer/actions_cmd.c if (fname_len == fe->fname->len && strncmp (fname, fe->fname->str, fname_len) == 0) str 361 src/viewer/actions_cmd.c vfs_path_append_new (view->workdir_vpath, dir->list[*dir_idx].fname->str, (char *) NULL); str 582 src/viewer/ascii.c char str[(1 + MAX_COMBINING_CHARS) * UTF8_CHAR_LEN + 1]; str 686 src/viewer/ascii.c j += mcview_char_display (view, cs[i], str + j); str 687 src/viewer/ascii.c str[j] = '\0'; str 692 src/viewer/ascii.c tty_printf ("%s", str); str 154 src/viewer/datasource.c gchar *str = NULL; str 162 src/viewer/datasource.c str = mcview_get_ptr_growing_buffer (view, byte_index); str 165 src/viewer/datasource.c str = mcview_get_ptr_file (view, byte_index); str 168 src/viewer/datasource.c str = mcview_get_ptr_string (view, byte_index); str 177 src/viewer/datasource.c if (str == NULL) str 180 src/viewer/datasource.c res = g_utf8_get_char_validated (str, -1); str 198 src/viewer/datasource.c str = utf8buf; str 199 src/viewer/datasource.c res = g_utf8_get_char_validated (str, -1); str 205 src/viewer/datasource.c *ch = *str; str 214 src/viewer/datasource.c next_ch = g_utf8_next_char (str); str 215 src/viewer/datasource.c *ch_len = next_ch - str; str 160 src/viewer/search.c if (search_end > search_start + (off_t) view->search->original.str->len str 162 src/viewer/search.c search_end = search_start + view->search->original.str->len; str 414 src/viewer/search.c growbufsize = view->search->original.str->len; str 430 src/viewer/search.c search_start = growbufsize - view->search->original.str->len; str 97 tests/lib/search/glob_translate_to_regex.c mctest_assert_str_eq (dest_str->str, data->expected_result); str 167 tests/lib/search/hex_translate_to_regex.c mctest_assert_str_eq (dest_str->str, data->expected_result); str 130 tests/lib/search/regex_process_escape_sequence.c mctest_assert_str_eq (actual_string->str, data->expected_string); str 74 tests/lib/search/translate_replace_glob_to_regex.c mctest_assert_str_eq (dest_str->str, data->expected_result); str 68 tests/lib/utilunix__mc_pstream_get_string.c const char *str[MAX_CHUNKS]; /* chunks */ str 77 tests/lib/utilunix__mc_pstream_get_string.c .str = { "" }, str 84 tests/lib/utilunix__mc_pstream_get_string.c .str = { "\n" }, str 91 tests/lib/utilunix__mc_pstream_get_string.c .str = { "\\\n" }, str 98 tests/lib/utilunix__mc_pstream_get_string.c .str = { "\\\\\n" }, str 105 tests/lib/utilunix__mc_pstream_get_string.c .str = { "\\\\\\\n" }, str 112 tests/lib/utilunix__mc_pstream_get_string.c .str = { "\\\\\\\\\n" }, str 119 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345" }, str 126 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\n" }, str 133 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\\\n" }, str 140 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\\\\\n" }, str 147 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\n", "abcd" }, str 154 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\\\nabcd" }, str 161 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\\\\\n", "abcd" }, str 168 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\\\\\\\nabcd" }, str 175 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\\\\\\\\\n", "abcd" }, str 182 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\n", "abcd\n" }, str 189 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\n", "abcd\n", "~!@#$%^" }, str 196 tests/lib/utilunix__mc_pstream_get_string.c .str = { "12345\n", "abcd\n", "~!@#$%^\n" }, str 227 tests/lib/utilunix__mc_pstream_get_string.c mctest_assert_str_eq (ret->str, data->str[j]); str 324 tests/lib/utilunix__mc_pstream_get_string.c if (line->str[line->len - 1] == '\n') str 333 tests/lib/utilunix__mc_pstream_get_string.c g_string_append_len (remain_file_name, line->str, line->len); str 346 tests/lib/utilunix__mc_pstream_get_string.c g_string_append_len (remain_file_name, line->str, line->len); str 361 tests/lib/utilunix__mc_pstream_get_string.c g_string_append_len (result_long_file_list, line->str, line->len); str 369 tests/lib/utilunix__mc_pstream_get_string.c mctest_assert_str_eq (etalon_long_file_list, result_long_file_list->str); str 99 tests/lib/vfs/vfs_path_from_str_flags.c mctest_assert_str_eq (actual_result->str, data->expected_result); str 298 tests/src/editor/edit_complete_word_cmd.c mctest_assert_str_eq (actual_completed_str->str, data->expected_completed_word); str 372 tests/src/editor/edit_complete_word_cmd.c mctest_assert_str_eq (actual_completed_str->str, data->expected_completed_word); str 78 tests/src/filemanager/examine_cd.c ck_assert_msg (strcmp (result->str, etalon) == 0, \ str 79 tests/src/filemanager/examine_cd.c "\ninput (%s)\nactial (%s) not equal to\netalon (%s)", input, result->str, etalon); \ str 105 tests/src/filemanager/exec_get_export_variables_ext.c mctest_assert_str_eq (actual_string->str, expected_string);