Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 1 – 25 of 249) sorted by relevance

12345678910

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dextras.c36 } else if (!strncasecmp(**cp, "ipopt", 5)) {
51 } else if (!strncasecmp(**cp, "mbcast", 6)) {
56 } else if (!strncasecmp(**cp, "nat", 3)) {
61 } else if (!strncasecmp(**cp, "frag", 4)) {
66 } else if (!strncasecmp(**cp, "opt", 3)) {
91 } else if (!strncasecmp(**cp, "short", 5)) {
H A Dicmpcode.c43 if (!strncasecmp(str, icmpcodes[i], MIN(len,
/illumos-gate/usr/src/lib/pam_modules/list/
H A Dlist.c95 if (strncasecmp(argv[i], "debug", sizeof ("debug")) == 0) { in pam_sm_acct_mgmt()
97 } else if (strncasecmp(argv[i], "group", in pam_sm_acct_mgmt()
100 } else if (strncasecmp(argv[i], "user", sizeof ("user")) == 0) { in pam_sm_acct_mgmt()
102 } else if (strncasecmp(argv[i], "nouser", in pam_sm_acct_mgmt()
105 } else if (strncasecmp(argv[i], "host", sizeof ("host")) == 0) { in pam_sm_acct_mgmt()
107 } else if (strncasecmp(argv[i], "nohost", in pam_sm_acct_mgmt()
110 } else if (strncasecmp(argv[i], "user_host_exact", in pam_sm_acct_mgmt()
121 } else if (strncasecmp(argv[i], "allow=", in pam_sm_acct_mgmt()
134 } else if (strncasecmp(argv[i], "deny=", in pam_sm_acct_mgmt()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dstrncasecmp.c28 NoN(strncasecmp)
34 #undef strncasecmp
37 strncasecmp(register const char* a, register const char* b, size_t n)
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c502 if (strncasecmp(value, "catia=", 6) == 0) { in smb_autohome_parse_options()
507 if (strncasecmp(value, "csc=", 4) == 0) { in smb_autohome_parse_options()
512 if (strncasecmp(value, "abe=", 4) == 0) { in smb_autohome_parse_options()
517 if (strncasecmp(value, "description=", 12) == 0) { in smb_autohome_parse_options()
523 if (strncasecmp(value, "rw=", 3) == 0) { in smb_autohome_parse_options()
529 if (strncasecmp(value, "ro=", 3) == 0) { in smb_autohome_parse_options()
535 if (strncasecmp(value, "none=", 5) == 0) { in smb_autohome_parse_options()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_item.cc45 int strncasecmp(const char *s1, const char *s2, int n);
89 (!strncasecmp(value, other->value, len))); in equal()
99 return ((len == olen) && (!strncasecmp(value, other, len))); in equal()
/illumos-gate/usr/src/cmd/mandoc/
H A Dpreconv.c154 strncasecmp(ln, "coding:", 7)) { in preconv_cue()
172 if (phsz > 4 && !strncasecmp(ln, "utf-8", 5)) in preconv_cue()
174 if (phsz > 10 && !strncasecmp(ln, "iso-latin-1", 11)) in preconv_cue()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrptime.c258 if (strncasecmp(buf, tptr->am, len) == 0) { in __strptime()
268 if (strncasecmp(buf, tptr->pm, len) == 0) { in __strptime()
283 if (strncasecmp(buf, tptr->weekday[i], len) == in __strptime()
287 if (strncasecmp(buf, tptr->wday[i], len) == 0) in __strptime()
368 if (strncasecmp(buf, tptr->month[i], len) == 0) in __strptime()
378 if (strncasecmp(buf, tptr->mon[i], in __strptime()
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dportable.h265 int strncasecmp(const char *, const char *, int);
268 int strncasecmp(const char *, const char *, size_t);
362 int strncasecmp(char *, char *, int);
400 #define strncasecmp _strnicmp macro
421 #define strncasecmp strnicmp macro
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c338 if (strncasecmp(protostr, "tcp", 3) == 0) in dladm_str2proto()
340 else if (strncasecmp(protostr, "udp", 3) == 0) in dladm_str2proto()
342 else if (strncasecmp(protostr, "sctp", 4) == 0) in dladm_str2proto()
344 else if (strncasecmp(protostr, "icmpv6", 6) == 0) in dladm_str2proto()
346 else if (strncasecmp(protostr, "icmp", 4) == 0) in dladm_str2proto()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddnssd_clientlib.c37 #define strncasecmp _strnicmp macro
82 if (p <= e && *keylen <= x[0] && !strncasecmp(key, (char*)x+1, *keylen)) in InternalTXTRecordSearch()
115 …if (strncasecmp((regtype + len - 4), "_tcp", 4) && strncasecmp((regtype + len - 4), "_udp", 4)) re… in DNSServiceConstructFullName()
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c97 return (strncasecmp(a, b, lb) == 0); in ns_samedomain()
137 return (strncasecmp(cp, b, lb) == 0); in ns_samedomain()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Dmail.local.c407 if (strncasecmp(buf, "lhlo ", 5) == 0)
430 if (strncasecmp(buf, "mail ", 5) == 0) {
435 if (strncasecmp(buf+5, "from:", 5) != 0 ||
463 if (strncasecmp(buf, "rcpt ", 5) == 0) {
478 if (strncasecmp(buf+5, "to:", 3) != 0 ||
507 if (strncasecmp(buf, "vrfy ", 5) == 0) {
644 if (strncasecmp("Content-Length:", line, 15) == 0) {
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmime.c348 …if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] ||… in list()
600 if (pp.name.size == c && !strncasecmp(pp.name.data, t, c)) in expand()
676 …else c ^= (a1.name.size == 6 ? strncmp : strncasecmp)(a2.name.data, a3.name.data, a2.name.size) ==… in mimeview()
711 … else c ^= (a4.name.size ? strncasecmp : strncmp)(a1.name.data, a3.name.data, a1.name.size) == 0; in mimeview()
777 if (!strncasecmp(s, "original-", 9)) in mimehead()
779 if (!strncasecmp(s, "content-", 8)) in mimehead()
800 return !strncasecmp(s, "x-", 2); in mimehead()
/illumos-gate/usr/src/lib/libnsl/ipsec/
H A Dalgs.c207 if (strncasecmp(line, LIBIPSEC_ALGS_LINE_PROTO, in build_list()
209 strncasecmp(line, LIBIPSEC_ALGS_LINE_ALG, in build_list()
211 strncasecmp(line, LIBIPSEC_ALGS_LINE_PKGSTART, in build_list()
213 strncasecmp(line, LIBIPSEC_ALGS_LINE_PKGEND, in build_list()
225 if (strncasecmp(line, LIBIPSEC_ALGS_LINE_PROTO, in build_list()
292 } else if (strncasecmp(line, LIBIPSEC_ALGS_LINE_ALG, in build_list()
530 } else if (strncasecmp(line, LIBIPSEC_ALGS_LINE_PKGSTART, in build_list()
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetkeyent.c88 if (strncasecmp(*pkey_array, keytype, keytypelen) == 0) in _nss_ldap_key2str()
113 if (strncasecmp(*skey_array, keytype, keytypelen) == 0) in _nss_ldap_key2str()
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dmisc.c210 if (strncasecmp(host, "localhost", 10) == 0) in is_localhost()
215 if (strncasecmp(host, hostname, strlen(hostname)) == 0) in is_localhost()
/illumos-gate/usr/src/stand/lib/sa/
H A Dstrings.h49 extern int strncasecmp(const char *, const char *, size_t);
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c407 if ( strncasecmp( optarg, "base", 4 ) == 0 ) { in options_callback()
409 } else if ( strncasecmp( optarg, "one", 3 ) == 0 ) { in options_callback()
411 } else if ( strncasecmp( optarg, "sub", 3 ) == 0 ) { in options_callback()
420 if ( strncasecmp( optarg, "never", 5 ) == 0 ) { in options_callback()
422 } else if ( strncasecmp( optarg, "search", 5 ) == 0 ) { in options_callback()
424 } else if ( strncasecmp( optarg, "find", 4 ) == 0 ) { in options_callback()
426 } else if ( strncasecmp( optarg, "always", 6 ) == 0 ) { in options_callback()
446 }else if ( strlen(optarg) < 3 || (strncasecmp(optarg, "dn:", 3) != 0) ) { in options_callback()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c301 if (strncasecmp(opt, "log", in cmp_renew_opts()
304 } else if (strncasecmp(opt, "log-success", in cmp_renew_opts()
307 } else if (strncasecmp(opt, "log-failure", in cmp_renew_opts()
397 if (strncasecmp(op, "renew", sizeof ("renew")) == 0) { in parseConfigLine()
459 } else if (strncasecmp(send_to, "renew", in parseConfigLine()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetvalues.c183 if ( 0 == strncasecmp( thisToken, "lang-", 5 ) ) { in parse_subtypes()
225 if ( 0 == strncasecmp( thisToken, "lang-", 5 ) ) { in parse_subtypes()
275 if ( (tlen == alen) && !strncasecmp( t, a, tlen ) ) in check_lang_match()
/illumos-gate/usr/src/lib/libtsol/common/
H A Dstob.c54 ((strncasecmp(sl, ADMIN_LOW, (sizeof (ADMIN_LOW) - 1)) == 0))
57 ((strncasecmp(sh, ADMIN_HIGH, (sizeof (ADMIN_HIGH) - 1)) == 0))
/illumos-gate/usr/src/head/
H A Dstrings.h63 extern int strncasecmp(const char *, const char *, size_t);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c268 if (strncasecmp("net", lptr, 3) != 0 && in gwkludge()
269 strncasecmp("host", lptr, 4) != 0) { in gwkludge()
597 #define PARSEQ(str) (strncasecmp(tgt, str"=", sizeof (str)) == 0) in parse_parms()
617 if (strncasecmp(line, "subnet=", sizeof ("subnet=") - 1) == 0 && in parse_parms()
651 if (!strncasecmp(line, "ripv1_mask=", sizeof ("ripv1_mask=") - 1) && in parse_parms()
679 if (strncasecmp("norip", line, 5) == 0) { in parse_parms()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dpkgadm.h48 #define ci_strneq(a, b, c) (strncasecmp((a), (b), (c)) == 0)

12345678910