g_strndup 171 lib/mcconfig/history.c hist = list_append_unique (hist, g_strndup (buffer->str, buffer->len)); g_strndup 422 lib/search/regex.c tmp_str = g_strndup (&str[loop + 2], tmp_len); g_strndup 450 lib/search/regex.c return g_strndup (lc_mc_search->regex_buffer->str + fnd_start, fnd_end - fnd_start); g_strndup 569 lib/search/regex.c tmp_str = g_strndup (curr_str + 2, *skip_len); g_strndup 183 lib/serialize.c return g_strndup (data, data_len); g_strndup 72 lib/skin/ini-file.c sname = g_strndup (cname, slen); g_strndup 1121 lib/strutil/strutilutf8.c return g_strndup (text, end - text); g_strndup 245 lib/strutil/tokenize.c g_ptr_array_add (result, g_strndup (string + start, i - start)); g_strndup 791 lib/utilunix.c name = g_strndup (p, q - p); g_strndup 832 lib/vfs/parse_ls_vga.c *filename = g_strndup (p + column_ptr[idx], column_ptr[idx2] - column_ptr[idx] - 1); g_strndup 1063 lib/vfs/path.c return g_strndup (semi, slash - semi); g_strndup 254 lib/vfs/utilvfs.c pcopy = g_strndup (path, pcopy_len); g_strndup 268 lib/vfs/utilvfs.c path_element->path = g_strndup (dir, pcopy_len - (size_t) (dir - pcopy)); g_strndup 411 lib/widget/input.c kill_buffer = g_strndup (in->buffer->str + first, last - first); g_strndup 544 lib/widget/input.c kill_buffer = g_strndup (in->buffer->str + chp, in->buffer->len - chp); g_strndup 119 lib/widget/input.h return g_strndup (in->buffer->str, in->buffer->len); g_strndup 173 lib/widget/input_complete.c dirname = g_strndup (text, temp - text); g_strndup 461 lib/widget/input_complete.c name = g_strndup (lc_start, bi - lc_start); g_strndup 766 lib/widget/input_complete.c g_ptr_array_insert (match_list, 0, g_strndup (string, low)); g_strndup 965 lib/widget/input_complete.c tail = g_strndup (in->buffer->str + end, tail_len); g_strndup 1289 lib/widget/input_complete.c state.word = g_strndup (text + *lc_start, *lc_end - *lc_start); g_strndup 207 lib/widget/widget-common.c result.start = g_strndup (text, cp - text); g_strndup 212 lib/widget/widget-common.c result.hotkey = g_strndup (cp, p - cp); g_strndup 542 src/args.c fname = g_strndup (tmp, p - 1 - tmp); g_strndup 1649 src/diffviewer/ydiff.c p.p = g_strndup (str, sz); g_strndup 235 src/editor/etags.c filename = g_strndup (buf, pos); g_strndup 1255 src/editor/syntax.c c->keyword_first_chars = g_strndup (first_chars->str, first_chars->len); g_strndup 88 src/file_history.c fhd->file_name = g_strndup (buf, s - buf); g_strndup 90 src/file_history.c fhd->file_pos = g_strndup (s + 1, len - 1); /* ignore '\n' */ g_strndup 870 src/filemanager/file.c s = g_strndup (str_trunc (a, width), width); g_strndup 1702 src/filemanager/filemanager.c result = g_strndup (data + start, len - start); g_strndup 1333 src/filemanager/hotlist.c add2hotlist (g_strndup (tkn_buf->str, tkn_buf->len), 0, HL_TYPE_GROUP, g_strndup 1342 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); g_strndup 1351 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); g_strndup 1387 src/filemanager/hotlist.c add2hotlist (g_strndup (tkn_buf->str, tkn_buf->len), 0, HL_TYPE_GROUP, g_strndup 1396 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); g_strndup 1405 src/filemanager/hotlist.c label = g_strndup (tkn_buf->str, tkn_buf->len); g_strndup 1869 src/filemanager/panel.c tmp_format = g_strndup (format, pos); g_strndup 4270 src/filemanager/panel.c my_current_file = g_strndup (fe->fname->str, fe->fname->len); g_strndup 4353 src/filemanager/panel.c flist = g_strndup (fe->fname->str, fe->fname->len); g_strndup 5021 src/filemanager/panel.c filename = g_strndup (fe->fname->str, fe->fname->len); g_strndup 5057 src/filemanager/panel.c current_file = g_strndup (fe->fname->str, fe->fname->len); g_strndup 5161 src/filemanager/panel.c path_element->path = g_strndup (tmp_conv->str, tmp_conv->len); g_strndup 758 src/usermenu.c var_name = g_strndup (p + 4, dots - 2 - (p + 3)); g_strndup 765 src/usermenu.c *v = g_strndup (dots, q - dots); g_strndup 1628 src/vfs/extfs/extfs.c info.prefix = g_strndup (filename, len); g_strndup 622 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strndup (name, name_len); g_strndup 1154 src/vfs/ftpfs/ftpfs_parse_ls.c tmp_line = g_strndup (b, blen); g_strndup 1195 src/vfs/ftpfs/ftpfs_parse_ls.c tmp_line = g_strndup (b, blen); g_strndup 398 src/vfs/sftpfs/internal.c tmp_path = g_strndup (ctmp_path->str, ctmp_path->len); g_strndup 594 src/vfs/sftpfs/internal.c tmp_path = g_strndup (ctmp_path->str, ctmp_path->len); g_strndup 804 src/vfs/shell/shell.c ent->name = g_strndup (filename, filename_bound - filename); g_strndup 809 src/vfs/shell/shell.c ent->ino->linkname = g_strndup (linkname, linkname_bound - linkname); g_strndup 829 src/vfs/shell/shell.c ent->name = g_strndup (filename, filename_bound - filename); g_strndup 237 src/vfs/tar/tar-internal.c *string = g_strndup (value, n); g_strndup 758 src/vfs/tar/tar.c s1 = g_strndup (h->prefix, sizeof (h->prefix)); g_strndup 760 src/vfs/tar/tar.c s2 = g_strndup (h->name, sizeof (h->name)); g_strndup 786 src/vfs/tar/tar.c link_name = g_strndup (h->linkname, sizeof (h->linkname)); g_strndup 187 src/vfs/undelfs/undelfs.c tmp = g_strndup (dirname, p - dirname); g_strndup 432 src/viewer/datasource.c view->ds_string_data = (byte *) g_strndup (s, view->ds_string_len); g_strndup 315 src/viewer/mcviewer.c dir = g_strndup (file, (size_t) (fname - file));