mirror of
https://github.com/MidnightCommander/source.git
synced 2026-02-02 11:11:55 -08:00
114 lines
20 KiB
HTML
114 lines
20 KiB
HTML
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
|
|
<html xmlns='http://www.w3.org/1999/xhtml'>
|
|
<head>
|
|
<title>strncmp</title>
|
|
<meta name='robots' content='noindex,nofollow' />
|
|
<meta name='generator' content='GLOBAL-6.6.11' />
|
|
<meta http-equiv='Content-Style-Type' content='text/css' />
|
|
<link rel='stylesheet' type='text/css' href='../style.css' />
|
|
</head>
|
|
<body>
|
|
<pre>
|
|
<span class='curline'><a href='../S/lib--search--regex.c.html#L109'>strncmp</a> 109 lib/search/regex.c if (strncmp (tmp_regex_str, *spec_chr, spec_chr_len) == 0</span>
|
|
<span class='curline'><a href='../S/lib--search--regex.c.html#L112'>strncmp</a> 112 lib/search/regex.c if (strncmp ("\\x", *spec_chr, spec_chr_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--strutil--strutil8bit.c.html#L671'>strncmp</a> 671 lib/strutil/strutil8bit.c return strncmp (t1, t2, MIN (l1, l2));</span>
|
|
<span class='curline'><a href='../S/lib--strutil--strutilascii.c.html#L655'>strncmp</a> 655 lib/strutil/strutilascii.c return strncmp (t1, t2, MIN (l1, l2));</span>
|
|
<span class='curline'><a href='../S/lib--strutil--strutilutf8.c.html#L1245'>strncmp</a> 1245 lib/strutil/strutilutf8.c result = strncmp (n1, n2, MIN (l1, l2));</span>
|
|
<span class='curline'><a href='../S/lib--strutil--strutilutf8.c.html#L1286'>strncmp</a> 1286 lib/strutil/strutilutf8.c result = strncmp (n1, n2, MIN (l1, l2));</span>
|
|
<span class='curline'><a href='../S/lib--strutil--strutilutf8.c.html#L1317'>strncmp</a> 1317 lib/strutil/strutilutf8.c if (strncmp (nt, np, nnt - nt) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--strutil--strutilutf8.c.html#L1354'>strncmp</a> 1354 lib/strutil/strutilutf8.c if (strncmp (nt, np, nnt - nt) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--tty--color-internal.c.html#L129'>strncmp</a> 129 lib/tty/color-internal.c if (strncmp (color_name, "rgb", 3) == 0 //</span>
|
|
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L93'>strncmp</a> 93 lib/tty/color-slang.c if ((i != 0) && (i == len) && (strncmp (s, terminal, i) == 0))</span>
|
|
<span class='curline'><a href='../S/lib--tty--key.c.html#L1326'>strncmp</a> 1326 lib/tty/key.c && (strncmp (term, "iris-ansi", 9) == 0 || strncmp (term, "xterm", 5) == 0</span>
|
|
<span class='curline'><a href='../S/lib--tty--key.c.html#L1327'>strncmp</a> 1327 lib/tty/key.c || strncmp (term, "rxvt", 4) == 0 || strncmp (term, "screen", 6) == 0)))</span>
|
|
<span class='curline'><a href='../S/lib--tty--key.c.html#L1339'>strncmp</a> 1339 lib/tty/key.c if (term != NULL && (strncmp (term, "qansi-m", 7) == 0))</span>
|
|
<span class='curline'><a href='../S/lib--tty--tty-ncurses.c.html#L273'>strncmp</a> 273 lib/tty/tty-ncurses.c (strncmp (ncurses_ver, "ncurses ", 8) == 0 && strcmp (ncurses_ver + 8, "6.5.20251115") < 0);</span>
|
|
<span class='curline'><a href='../S/lib--tty--tty.c.html#L138'>strncmp</a> 138 lib/tty/tty.c if (strncmp (termvalue, *p, strlen (*p)) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--tty--tty.c.html#L399'>strncmp</a> 399 lib/tty/tty.c if (strncmp (termvalue, "rxvt", 4) == 0</span>
|
|
<span class='curline'><a href='../S/lib--tty--tty.c.html#L400'>strncmp</a> 400 lib/tty/tty.c || (color_term != NULL && strncmp (color_term, "rxvt", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--util.c.html#L904'>strncmp</a> 904 lib/util.c if (len != (s - q) || strncmp (p, q, (size_t) len) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--util.c.html#L1012'>strncmp</a> 1012 lib/util.c if (strncmp (buf, filename_str, len) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--util.c.html#L1128'>strncmp</a> 1128 lib/util.c if (buf[len] == ' ' && strncmp (buf, filename_str, len) == 0</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L861'>strncmp</a> 861 lib/utilunix.c && strncmp (p - url_delim_len + 1, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L885'>strncmp</a> 885 lib/utilunix.c || strncmp (lpath + len - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L917'>strncmp</a> 917 lib/utilunix.c && strncmp (s - url_delim_len + 2, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L927'>strncmp</a> 927 lib/utilunix.c && strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L973'>strncmp</a> 973 lib/utilunix.c if (strncmp (s, VFS_ENCODING_PREFIX, enc_prefix_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L1008'>strncmp</a> 1008 lib/utilunix.c else if (strncmp (s, VFS_ENCODING_PREFIX, enc_prefix_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--utilunix.c.html#L1037'>strncmp</a> 1037 lib/utilunix.c && strncmp (s - url_delim_len, VFS_PATH_URL_DELIMITER, url_delim_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L208'>strncmp</a> 208 lib/vfs/direntry.c if (strlen (ent->name) == pseg && strncmp (ent->name, path, pseg) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--vfs--parse_ls_vga.c.html#L690'>strncmp</a> 690 lib/vfs/parse_ls_vga.c if (strncmp (p, "total", 5) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--vfs--path.c.html#L542'>strncmp</a> 542 lib/vfs/path.c if (strncmp (dir, home_dir, len) == 0 && (IS_PATH_SEP (dir[len]) || dir[len] == '\0'))</span>
|
|
<span class='curline'><a href='../S/lib--vfs--path.c.html#L999'>strncmp</a> 999 lib/vfs/path.c if (vfs->prefix != NULL && strncmp (prefix, vfs->prefix, strlen (vfs->prefix)) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--vfs--path.c.html#L1605'>strncmp</a> 1605 lib/vfs/path.c ret_val = strncmp (path1, path2, len) == 0;</span>
|
|
<span class='curline'><a href='../S/lib--vfs--utilvfs.c.html#L120'>strncmp</a> 120 lib/vfs/utilvfs.c || strncmp (uname, saveuname, MIN (uname_len, TUNMLEN - 1)) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--vfs--utilvfs.c.html#L155'>strncmp</a> 155 lib/vfs/utilvfs.c || strncmp (gname, savegname, MIN (gname_len, TGNMLEN - 1)) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L216'>strncmp</a> 216 lib/widget/input_complete.c || strncmp (filename, entry->d_name, filename_len) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L327'>strncmp</a> 327 lib/widget/input_complete.c if (text[1] == entry->pw_name[0] && strncmp (text + 1, entry->pw_name, userlen) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L364'>strncmp</a> 364 lib/widget/input_complete.c && strncmp (text + 1 + isbrace, *env_p, varlen) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L422'>strncmp</a> 422 lib/widget/input_complete.c if (strncmp (bi, "$include ", 9) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L503'>strncmp</a> 503 lib/widget/input_complete.c if (strncmp (text + textstart, g_ptr_array_index (hosts, host_p), textlen) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L616'>strncmp</a> 616 lib/widget/input_complete.c if (strncmp (*words, u_text, text_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L626'>strncmp</a> 626 lib/widget/input_complete.c if (strncmp (*words, u_text, text_len) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L743'>strncmp</a> 743 lib/widget/input_complete.c if (ni - si != nj - sj || strncmp (si, sj, ni - si) != 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L891'>strncmp</a> 891 lib/widget/input_complete.c if (strncmp (state->p, "cd", 2) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L1033'>strncmp</a> 1033 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, new_end - start) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L1087'>strncmp</a> 1087 lib/widget/input_complete.c if (strncmp (input->buffer->str + start, le->text, end - start) == 0</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L1088'>strncmp</a> 1088 lib/widget/input_complete.c && strncmp (le->text + end - start, buff, bl) == 0)</span>
|
|
<span class='curline'><a href='../S/lib--widget--input_complete.c.html#L1121'>strncmp</a> 1121 lib/widget/input_complete.c if (nexti - si != nextl - sl || strncmp (si, sl, nexti - si) != 0)</span>
|
|
<span class='curline'><a href='../S/src--args.c.html#L589'>strncmp</a> 589 src/args.c if (strncmp (base, "mcv", 3) == 0 || strcmp (base, "view") == 0)</span>
|
|
<span class='curline'><a href='../S/src--args.c.html#L595'>strncmp</a> 595 src/args.c else if (strncmp (base, "mce", 3) == 0 || strcmp (base, "vi") == 0)</span>
|
|
<span class='curline'><a href='../S/src--args.c.html#L602'>strncmp</a> 602 src/args.c else if (strncmp (base, "mcd", 3) == 0 || strcmp (base, "diff") == 0)</span>
|
|
<span class='curline'><a href='../S/src--consaver--cons.saver.c.html#L189'>strncmp</a> 189 src/consaver/cons.saver.c if (strncmp (console_name, tty_name, sizeof (console_name)) != 0)</span>
|
|
<span class='curline'><a href='../S/src--editor--editcomplete.c.html#L160'>strncmp</a> 160 src/editor/editcomplete.c if (strncmp (s->str + word_len, temp->str + word_len, MAX (len, s->len) - word_len)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--cmd.c.html#L395'>strncmp</a> 395 src/filemanager/cmd.c if (strncmp (prefix, machine, strlen (prefix)) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--command.c.html#L100'>strncmp</a> 100 src/filemanager/command.c if (strncmp (cmd, "cd", 2) == 0 && (cmd[2] == '\0' || whitespace (cmd[2])))</span>
|
|
<span class='curline'><a href='../S/src--filemanager--ext.c.html#L714'>strncmp</a> 714 src/filemanager/ext.c if (strncmp (content_string, real_name, real_len) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--ext.c.html#L905'>strncmp</a> 905 src/filemanager/ext.c if (strncmp (action, "View:", 5) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--ext.c.html#L937'>strncmp</a> 937 src/filemanager/ext.c if (strcmp (g, descr_group) == 0 || strncmp (g, "Include/", 8) == 0</span>
|
|
<span class='curline'><a href='../S/src--filemanager--ext.c.html#L1005'>strncmp</a> 1005 src/filemanager/ext.c cmp_func = ignore_case ? strncasecmp : strncmp;</span>
|
|
<span class='curline'><a href='../S/src--filemanager--find.c.html#L1162'>strncmp</a> 1162 src/filemanager/find.c if (strncmp (dir, *ignore_dir, ilen) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--hotlist.c.html#L1299'>strncmp</a> 1299 src/filemanager/hotlist.c if (strncmp (tkn_buf->str, "GROUP", l) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--hotlist.c.html#L1301'>strncmp</a> 1301 src/filemanager/hotlist.c else if (strncmp (tkn_buf->str, "ENTRY", l) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--hotlist.c.html#L1303'>strncmp</a> 1303 src/filemanager/hotlist.c else if (strncmp (tkn_buf->str, "ENDGROUP", l) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--hotlist.c.html#L1305'>strncmp</a> 1305 src/filemanager/hotlist.c else if (strncmp (tkn_buf->str, "URL", l) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--listmode.c.html#L245'>strncmp</a> 245 src/filemanager/listmode.c if (strncmp (oldlistformat, "full ", 5) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--listmode.c.html#L250'>strncmp</a> 250 src/filemanager/listmode.c if (strncmp (oldlistformat, "half ", 5) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--listmode.c.html#L254'>strncmp</a> 254 src/filemanager/listmode.c if (strncmp (oldlistformat, "2 ", 2) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--listmode.c.html#L259'>strncmp</a> 259 src/filemanager/listmode.c if (strncmp (oldlistformat, "1 ", 2) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--mountlist.c.html#L1692'>strncmp</a> 1692 src/filemanager/mountlist.c if (i > len && (strncmp (path, me->me_mountdir, i) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L1604'>strncmp</a> 1604 src/filemanager/panel.c if (strncmp (format, "full", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L1609'>strncmp</a> 1609 src/filemanager/panel.c else if (strncmp (format, "half", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L1722'>strncmp</a> 1722 src/filemanager/panel.c found = strncmp (format, panel_fields[i].id, klen) == 0;</span>
|
|
<span class='curline'><a href='../S/src--filemanager--panel.c.html#L3342'>strncmp</a> 3342 src/filemanager/panel.c if (p != NULL && strncmp (cwd, lwd, (size_t) (p - lwd)) == 0</span>
|
|
<span class='curline'><a href='../S/src--filemanager--tree.c.html#L629'>strncmp</a> 629 src/filemanager/tree.c if (strncmp (current->subname, text->str, text->len) == 0)</span>
|
|
<span class='curline'><a href='../S/src--filemanager--treestore.c.html#L225'>strncmp</a> 225 src/filemanager/treestore.c || strncmp (buffer, TREE_SIGNATURE, strlen (TREE_SIGNATURE)) != 0))</span>
|
|
<span class='curline'><a href='../S/src--filemanager--treestore.c.html#L580'>strncmp</a> 580 src/filemanager/treestore.c if (strncmp (vfs_path_as_str (vpath), l->data, strlen (l->data)) == 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L121'>strncmp</a> 121 src/usermenu.c if (strncmp (p, def_name, sizeof (def_name) - 1) != 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L703'>strncmp</a> 703 src/usermenu.c if (strncmp (p, "view", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L710'>strncmp</a> 710 src/usermenu.c if (strncmp (q, DEFAULT_CHARSET, 5) == 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L715'>strncmp</a> 715 src/usermenu.c else if (strncmp (q, "hex", 3) == 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L720'>strncmp</a> 720 src/usermenu.c else if (strncmp (q, "nroff", 5) == 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L725'>strncmp</a> 725 src/usermenu.c else if (strncmp (q, "unform", 6) == 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L744'>strncmp</a> 744 src/usermenu.c return (strncmp (p, "cd", 2)) != 0 ? 0 : 3;</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L757'>strncmp</a> 757 src/usermenu.c if (strncmp (p, "var{", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/src--usermenu.c.html#L1089'>strncmp</a> 1089 src/usermenu.c if (selected_entry >= 0 && strncmp (p, "#silent", 7) == 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L355'>strncmp</a> 355 src/vfs/cpio/cpio.c else if (TYPEIS (CPIO_OLDC) && (strncmp (buf + ptr, "070707", 6) == 0))</span>
|
|
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L360'>strncmp</a> 360 src/vfs/cpio/cpio.c else if (TYPEIS (CPIO_NEWC) && (strncmp (buf + ptr, "070701", 6) == 0))</span>
|
|
<span class='curline'><a href='../S/src--vfs--cpio--cpio.c.html#L365'>strncmp</a> 365 src/vfs/cpio/cpio.c else if (TYPEIS (CPIO_CRC) && (strncmp (buf + ptr, "070702", 6) == 0))</span>
|
|
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L724'>strncmp</a> 724 src/vfs/extfs/extfs.c if ((strncmp (path, info->prefix, path_len) == 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L492'>strncmp</a> 492 src/vfs/ftpfs/ftpfs.c if (strncmp (cmdstr->str, "PASS ", 5) == 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--sfs--sfs.c.html#L557'>strncmp</a> 557 src/vfs/sfs/sfs.c else if (strncmp (path, sfs_info[i].prefix, strlen (sfs_info[i].prefix)) == 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--sftpfs--connection.c.html#L318'>strncmp</a> 318 src/vfs/sftpfs/connection.c found = strncmp (store->name + 1, super->path_element->host, kh_name_size) == 0;</span>
|
|
<span class='curline'><a href='../S/src--vfs--sftpfs--connection.c.html#L789'>strncmp</a> 789 src/vfs/sftpfs/connection.c if (strncmp (name, kbi_super->path_element->user, name_len) != 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L259'>strncmp</a> 259 src/vfs/shell/shell.c if (strncmp (answer, "### ", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L503'>strncmp</a> 503 src/vfs/shell/shell.c if (strncmp (buffer, "### ", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L669'>strncmp</a> 669 src/vfs/shell/shell.c if (strncmp (vpath_element->vfs_prefix, "rsh", 3) == 0)</span>
|
|
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L934'>strncmp</a> 934 src/vfs/shell/shell.c if (strncmp (buffer, "### ", 4) == 0)</span>
|
|
<span class='curline'><a href='../S/src--viewer--actions_cmd.c.html#L271'>strncmp</a> 271 src/viewer/actions_cmd.c if (fname_len == fe->fname->len && strncmp (fname, fe->fname->str, fname_len) == 0)</span>
|
|
<span class='curline'><a href='../S/tests--lib--vfs--tempdir.c.html#L113'>strncmp</a> 113 tests/lib/vfs/tempdir.c ck_assert_msg (strncmp (pname, begin_pname, strlen (begin_pname)) == 0,</span>
|
|
<span class='curline'><a href='../S/tests--src--vfs--extfs--helpers-list--mc_parse_ls_l.c.html#L382'>strncmp</a> 382 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c if (strncmp (line, "total ", 6) == 0) // Convenience only: makes 'ls -l' parse cleanly.</span>
|
|
</pre>
|
|
</body>
|
|
</html>
|