Home
last modified time | relevance | path

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

1234567891011

/titanic_41/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,
/titanic_41/usr/src/lib/pam_modules/list/
H A Dlist.c87 if (strncasecmp(argv[i], "debug", sizeof ("debug")) == 0) { in pam_sm_acct_mgmt()
89 } else if (strncasecmp(argv[i], "user", sizeof ("user")) == 0) { in pam_sm_acct_mgmt()
91 } else if (strncasecmp(argv[i], "nouser", in pam_sm_acct_mgmt()
94 } else if (strncasecmp(argv[i], "host", sizeof ("host")) == 0) { in pam_sm_acct_mgmt()
96 } else if (strncasecmp(argv[i], "nohost", in pam_sm_acct_mgmt()
99 } else if (strncasecmp(argv[i], "user_host_exact", in pam_sm_acct_mgmt()
110 } else if (strncasecmp(argv[i], "allow=", in pam_sm_acct_mgmt()
123 } else if (strncasecmp(argv[i], "deny=", in pam_sm_acct_mgmt()
/titanic_41/usr/src/cmd/ssh/sshd/
H A Dauth-options.c80 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
87 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
94 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
101 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
108 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
138 strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
174 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
220 if (strncasecmp(opts, cp, strlen(cp)) == 0) { in auth_parse_options()
/titanic_41/usr/src/lib/libast/common/comp/
H A Dstrncasecmp.c28 NoN(strncasecmp)
34 #undef strncasecmp
37 strncasecmp(register const char* a, register const char* b, size_t n)
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c498 if (strncasecmp(value, "catia=", 6) == 0) { in smb_autohome_parse_options()
503 if (strncasecmp(value, "csc=", 4) == 0) { in smb_autohome_parse_options()
508 if (strncasecmp(value, "abe=", 4) == 0) { in smb_autohome_parse_options()
513 if (strncasecmp(value, "description=", 12) == 0) { in smb_autohome_parse_options()
519 if (strncasecmp(value, "rw=", 3) == 0) { in smb_autohome_parse_options()
525 if (strncasecmp(value, "ro=", 3) == 0) { in smb_autohome_parse_options()
531 if (strncasecmp(value, "none=", 5) == 0) { in smb_autohome_parse_options()
/titanic_41/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()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dstricmp.c66 strncasecmp(char *s1, char *s2, int n) in strncasecmp() function
88 return (strncasecmp(s1, s2, n)); in strnicmp()
/titanic_41/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()
/titanic_41/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
/titanic_41/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()
/titanic_41/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c101 return (strncasecmp(a, b, lb) == 0); in ns_samedomain()
141 return (strncasecmp(cp, b, lb) == 0); in ns_samedomain()
/titanic_41/usr/src/lib/libast/common/misc/
H A Dmime.c348 …if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] ||… in list()
578 if (pp.name.size == c && !strncasecmp(pp.name.data, t, c)) in expand()
644 …else c ^= (a1.name.size == 6 ? strncmp : strncasecmp)(a2.name.data, a3.name.data, a2.name.size) ==… in mimeview()
679 … else c ^= (a4.name.size ? strncasecmp : strncmp)(a1.name.data, a3.name.data, a1.name.size) == 0; in mimeview()
739 if (!strncasecmp(s, "original-", 9)) in mimehead()
741 if (!strncasecmp(s, "content-", 8)) in mimehead()
762 return !strncasecmp(s, "x-", 2); in mimehead()
/titanic_41/usr/src/cmd/sendmail/aux/
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) {
/titanic_41/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()
/titanic_41/usr/src/stand/lib/sa/
H A Dstrings.h49 extern int strncasecmp(const char *, const char *, size_t);
/titanic_41/usr/src/lib/nsswitch/ldap/common/
H A Dgetkeyent.c90 if (strncasecmp(*pkey_array, keytype, keytypelen) == NULL) in _nss_ldap_key2str()
115 if (strncasecmp(*skey_array, keytype, keytypelen) == NULL) in _nss_ldap_key2str()
/titanic_41/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()
/titanic_41/usr/src/cmd/avs/dsstat/
H A Ddsstat.c167 if (strncasecmp("sndr", m, strlen(m)) == 0) { in set_mode()
172 if (strncasecmp("ii", m, strlen(m)) == 0) { in set_mode()
177 if (strncasecmp("cache", m, strlen(m)) == 0) { in set_mode()
/titanic_41/usr/src/head/
H A Dstrings.h63 extern int strncasecmp(const char *, const char *, size_t);
/titanic_41/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))
/titanic_41/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()
/titanic_41/usr/src/cmd/krb5/kwarn/
H A Dkwarnd_proc.c303 if (strncasecmp(opt, "log", in cmp_renew_opts()
306 } else if (strncasecmp(opt, "log-success", in cmp_renew_opts()
309 } else if (strncasecmp(opt, "log-failure", in cmp_renew_opts()
399 if (strncasecmp(op, "renew", sizeof ("renew")) == 0) { in parseConfigLine()
461 } else if (strncasecmp(send_to, "renew", in parseConfigLine()
/titanic_41/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()
/titanic_41/usr/src/lib/libresolv2/common/bsd/
H A Dstrcasecmp.c106 strncasecmp(const char *s1, const char *s2, size_t n) { in strncasecmp() function

1234567891011