/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandocdb.c | 731 if ( ! strncmp(cp, "man", 3)) { in treescan() 734 } else if ( ! strncmp(cp, "cat", 3)) { in treescan() 797 if (strncmp(infile, "./", 2) == 0) in filescan() 929 if (strncmp(usefile, "man/", 4) == 0) in filescan() 945 if (strncmp(start, "man", 3) == 0) { in filescan() 948 } else if (strncmp(start, "cat", 3) == 0) { in filescan() 1571 if (0 == strncmp(start, "-", 1)) in parse_man() 1575 else if (0 == strncmp(start, "\\-", 2)) in parse_man() 1577 else if (0 == strncmp(start, "\\(en", 4)) in parse_man() 1579 else if (0 == strncmp(start, "\\(em", 4)) in parse_man() [all …]
|
/illumos-gate/usr/src/lib/libzoneinfo/common/ |
H A D | libzone.c | 266 if (strncmp(ccbuf, lp_cc, CCLEN) == 0) { in get_tz_countries() 288 (strncmp(cont->ctnt_name, lp_tz, len) == 0)) { in get_tz_countries() 344 if ((cmp = strncmp(cp->ctry_code, buff, CCLEN)) == 0) { in get_tz_countries() 492 if (strncmp(country->ctry_code, lp_cc, CCLEN) == 0) { in get_timezones_by_country() 551 if (strncmp("-", lp_tz, len_tz) == 0) { in get_timezones_by_country() 900 if (strncmp(buf, TZ_MAGIC, sizeof (TZ_MAGIC) - 1) != 0) { in isvalid_tz() 959 if (strncmp(buff, "TZ=", 3) == 0) { in get_system_tz() 1088 if (!replaced && (strncmp(buff, "TZ=", 3) == 0)) { in set_system_tz()
|
/illumos-gate/usr/src/cmd/eject/ |
H A D | eject.c | 517 if (strncmp(busy_base, mp.mnt_special, bblen) == 0) { in display_busy() 678 if (strncmp(path, raw_root, raw_root_len) == 0) { in eject_getfullblkname() 692 if (strncmp(path, raw_root, raw_root_len) == 0) { in eject_getfullblkname() 706 if (strncmp(path, raw_root, raw_root_len) == 0) { in eject_getfullblkname()
|
/illumos-gate/usr/src/cmd/sendmail/libsmdb/ |
H A D | smdb.c | 218 if ((strncmp(type, SMDB_TYPE_HASH, SMDB_TYPE_HASH_LEN) == 0) || 219 (strncmp(type, SMDB_TYPE_BTREE, SMDB_TYPE_BTREE_LEN) == 0)) 237 if (strncmp(type, SMDB_TYPE_NDBM, SMDB_TYPE_NDBM_LEN) == 0)
|
/illumos-gate/usr/src/test/libc-tests/tests/stdio/ |
H A D | fmemopentest.c | 108 if (strncmp(string, buffer, len)) { in updatetest() 155 if (strncmp(string, buffer, len)) { in writetest()
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | strncmp.S | 30 ENTRY(strncmp) function 97 SET_SIZE(strncmp)
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | disk_link.c | 560 } else if (strncmp(mn, MN_EFI, 2) != 0) { in disk_common() 599 if (*mn == *(MN_SMI) || (strncmp(mn, MN_EFI, 2) == 0)) { in disk_common() 681 is_vhci = (strncmp(path, "/scsi_vhci/", 11) == 0); in diskctrl() 822 (strncmp(mn, MN_EFI, 2) == 0))) { in reserved_links_exist() 866 if (*mn == *(MN_SMI) || (strncmp(mn, MN_EFI, 2) == 0)) { in reserved_links_exist() 882 } else if (strncmp(mn, MN_EFI, 2) == 0 && in reserved_links_exist()
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | expand.c | 430 if(strncmp(path, FS_ROOT_DIR, FS_ROOT_DIR_LEN) == 0) { in ef_expand_file() 516 for(nextp=pattern; *nextp && strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) != 0; in ef_match_relative_pathname() 551 strncmp(nextp, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_match_relative_pathname() 1088 strncmp(path + ppos, FS_DIR_SEP, FS_DIR_SEP_LEN); envlen++) in ef_expand_special() 1158 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN); usrlen++) in ef_expand_special() 1190 strncmp(pptr, FS_DIR_SEP, FS_DIR_SEP_LEN) == 0) { in ef_expand_special()
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | update.c | 95 if (0 == strncmp(key->dptr, yp_last_modified, yp_last_modified_sz)) { in update_entry_if_required() 375 if (0 == strncmp(key->dptr, yp_prefix, yp_prefix_sz)) in is_special_key()
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-support.c | 110 if (strncmp(uri, "//", 2) == 0) in httpSeparate2() 170 if (strncmp(uri, "//", 2) != 0) in httpSeparate2()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | arp.c | 259 if (strncmp(argv[0], "temp", 4) == 0) { in set() 261 } else if (strncmp(argv[0], "pub", 3) == 0) { in set() 263 } else if (strncmp(argv[0], "trail", 5) == 0) { in set()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | socks.c | 341 strncmp(buf, HTTP_10_407, strlen(HTTP_10_407)) == 0) { in socks_connect() 348 } else if (strncmp(buf, HTTP_10_200, in socks_connect() 349 strlen(HTTP_10_200)) != 0 && strncmp(buf, HTTP_11_200, in socks_connect()
|
/illumos-gate/usr/src/lib/libshare/smbfs/ |
H A D | libshare_smbfs.c | 127 if (strncmp(number, "0x", 2) == 0) { in is_a_number() 333 if (strncmp(value, "$$1", 3) != 0) in password_validator() 389 if (strncmp("S-", pgname, 2) != 0) in smbclnt_config_load() 412 if (strncmp("section", name, 7) == 0 && value != NULL) { in smbclnt_config_load()
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 584 (strncmp(key, "id1", 3) == 0))) { in list_devs() 601 (strncmp(key, livepath, strlen(key)) == 0))) in list_devs() 778 (strncmp(argdev, mpxpath, strlen(mpxpath)) == 0)) { in report_map() 788 (strncmp(argdev, mpxpath, strlen(mpxpath)) == 0)) { in report_map() 882 (strncmp(strdevfspath, devfspath, in print_node_name() 1016 if (strncmp(prop, "yes", 3) == 0) { in popcheck_devnvl() 1022 if (strncmp(di_driver_name(di_parent_node(thisnode)), in popcheck_devnvl() 1392 } else if (strncmp(phci_driver, "mpt", 10) == 0) { in vhci_to_phci() 1534 (rv = (strncmp(prefixt, curdev, strlen(prefixt)) != 0))) { in update_vfstab()
|
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | keytab.c | 227 if (strncmp("krbtgt", dat->data, dat->length) != 0) in is_xrealm_tgt() 232 if (strncmp(dat->data, princ->realm.data, dat->length) == 0) in is_xrealm_tgt()
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | linktest_stand.c | 40 void strncmp(void) {} in strncmp() function
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgexecv.c | 346 if (strncmp(filein, "/dev/tty", 8) == 0) { in pkgexecv() 381 if (strncmp(fileout, "/dev/tty", 8) == 0) { in pkgexecv()
|
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_lofs.c | 248 if (strncmp(mnp->mnt_mountp, path, len) == 0 && in z_resolve_lofs() 276 (strncmp(mnp->mnt_special, altroot, arlen) != 0 || in z_resolve_lofs()
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zpool_prop.c | 203 return (strncmp(name, prefix, strlen(prefix)) == 0); in zpool_prop_feature() 213 return (strncmp(name, prefix, strlen(prefix)) == 0); in zpool_prop_unsupported()
|
/illumos-gate/usr/src/lib/nsswitch/nis/common/ |
H A D | getspent.c | 143 if (strncmp(p + 1, "##", 2) == 0) 202 if (strncmp(p + 1, "##", 2) == 0) {
|
/illumos-gate/usr/src/tools/ctf/stabs/common/ |
H A D | forth.c | 320 if (strncmp(line, word, strlen(word)) == 0) { in fth_process_line() 323 strncmp(c, fth_model, strlen(fth_model)) == 0) in fth_process_line()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | goback.c | 76 strncmp(line, header[H_FROM].tag, strlen(header[H_FROM].tag)) 78 strncmp(line, header[H_FROM1].tag,
|
/illumos-gate/usr/src/tools/smatch/src/smatch_data/ |
H A D | kernel.sizeof_param.remove | 5 strncmp
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_ranges.c | 445 if (!strncmp(start, "max", 3)) { in parse_val() 448 } else if (!strncmp(start, "u64max", 6)) { in parse_val() 451 } else if (!strncmp(start, "s64max", 6)) { in parse_val() 454 } else if (!strncmp(start, "u32max", 6)) { in parse_val() 457 } else if (!strncmp(start, "s32max", 6)) { in parse_val() 460 } else if (!strncmp(start, "u16max", 6)) { in parse_val() 463 } else if (!strncmp(start, "s16max", 6)) { in parse_val() 466 } else if (!strncmp(start, "min", 3)) { in parse_val() 469 } else if (!strncmp(start, "s64min", 6)) { in parse_val() 472 } else if (!strncmp(start, "s32min", 6)) { in parse_val() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | mamake.c | 824 if (((q - t) != 1 || *t != '*') && strncmp(v, t, q - t)) in substitute() 978 if (!strncmp(file, vp->dir, vp->node)) in find() 1192 if (!strncmp(s, "mamake -r ", 10)) in run() 1407 if (n == 8 && !strncmp(t, "dontcare", n)) in attributes() 1411 if (n == 9 && !strncmp(t, "generated", n)) in attributes() 1415 if (n == 6 && !strncmp(t, "ignore", n)) in attributes() 1417 else if (n == 8 && !strncmp(t, "implicit", n)) in attributes() 1421 if (n == 7 && !strncmp(t, "virtual", n)) in attributes() 1856 if (i != ':' || strncmp(s, "command", 7)) in scan() 2174 …if (!strncmp(s, "debug-symbols", t - s) && append(state.opt, " -G") || !strncmp(s, "strip-symbols"… in main() [all …]
|