Searched refs:strncasecmp (Results 1 - 25 of 139) sorted by relevance

123456

/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dstrings.in.h69 extern int strncasecmp (char const *s1, char const *s2, size_t n)
73 /* strncasecmp() does not work with multibyte strings:
76 # undef strncasecmp macro
78 _GL_WARN_ON_USE (strncasecmp, "strncasecmp cannot work correctly on character "
H A Dstrncasecmp.c0 /* strncasecmp.c -- case insensitive string comparator
34 strncasecmp (const char *s1, const char *s2, size_t n) function
/osnet-11/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)
/osnet-11/usr/src/lib/pam_modules/list/
H A Dlist.c108 if (strncasecmp(argv[i], "debug", sizeof ("debug")) == 0) {
110 } else if (strncasecmp(argv[i], "user", sizeof ("user")) == 0) {
112 } else if (strncasecmp(argv[i], "nouser",
115 } else if (strncasecmp(argv[i], "host", sizeof ("host")) == 0) {
117 } else if (strncasecmp(argv[i], "nohost",
120 } else if (strncasecmp(argv[i], "user_host_exact",
123 } else if (strncasecmp(argv[i], "role", sizeof ("role")) == 0) {
125 } else if (strncasecmp(argv[i], "norole",
136 } else if (strncasecmp(argv[i], "allow=",
149 } else if (strncasecmp(arg
[all...]
/osnet-11/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)));
99 return ((len == olen) && (!strncasecmp(value, other, len)));
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dstrncasecmp.c40 strncasecmp(const char *s1, const char *s2, size_t n) function
/osnet-11/usr/src/lib/libresolv2/common/bsd/
H A Dstrcasecmp.c106 strncasecmp(const char *s1, const char *s2, size_t n) { function
/osnet-11/usr/src/lib/libresolv2/common/nameser/
H A Dns_samedomain.c101 return (strncasecmp(a, b, lb) == 0);
141 return (strncasecmp(cp, b, lb) == 0);
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathposix.c103 if (!strncasecmp(path, pfx, sizeof(pfx) - 1))
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsmb_autohome.c495 if (strncasecmp(value, "catia=", 6) == 0) {
500 if (strncasecmp(value, "csc=", 4) == 0) {
505 if (strncasecmp(value, "abe=", 4) == 0) {
510 if (strncasecmp(value, "description=", 12) == 0) {
518 if (strncasecmp(value, "rw=", 3) == 0) {
526 if (strncasecmp(value, "ro=", 3) == 0) {
534 if (strncasecmp(value, "none=", 5) == 0) {
/osnet-11/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
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dprinc_comp.c48 (strncasecmp(realm1->data, realm2->data, realm2->length) == 0) :
125 && strncasecmp(p1->data, p2->data, p2->length) == 0);
/osnet-11/usr/src/lib/libtsol/common/
H A Dstob.c52 ((strncasecmp(sl, ADMIN_LOW, (sizeof (ADMIN_LOW) - 1)) == 0))
55 ((strncasecmp(sh, ADMIN_HIGH, (sizeof (ADMIN_HIGH) - 1)) == 0))
94 * strncasecmp.
218 * strncasecmp.
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetkeyent.c90 if (strncasecmp(*pkey_array, keytype, keytypelen) == NULL)
115 if (strncasecmp(*skey_array, keytype, keytypelen) == NULL)
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dsm_gethost.c146 strncasecmp(src, "IPv6:", 5) == 0)
/osnet-11/usr/src/lib/libdladm/common/
H A Dflowattr.c347 if (strncasecmp(protostr, "tcp", 3) == 0)
349 else if (strncasecmp(protostr, "udp", 3) == 0)
351 else if (strncasecmp(protostr, "sctp", 4) == 0)
353 else if (strncasecmp(protostr, "icmpv6", 6) == 0)
355 else if (strncasecmp(protostr, "icmp", 4) == 0)
/osnet-11/usr/src/lib/libast/common/misc/
H A Dmime.c348 if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] || ent->name[wp->prefix] == '/'))
578 if (pp.name.size == c && !strncasecmp(pp.name.data, t, c))
644 else c ^= (a1.name.size == 6 ? strncmp : strncasecmp)(a2.name.data, a3.name.data, a2.name.size) == 0;
679 else c ^= (a4.name.size ? strncasecmp : strncmp)(a1.name.data, a3.name.data, a1.name.size) == 0;
739 if (!strncasecmp(s, "original-", 9))
741 if (!strncasecmp(s, "content-", 8))
762 return !strncasecmp(s, "x-", 2);
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetvalues.c183 if ( 0 == strncasecmp( thisToken, "lang-", 5 ) ) {
225 if ( 0 == strncasecmp( thisToken, "lang-", 5 ) ) {
275 if ( (tlen == alen) && !strncasecmp( t, a, tlen ) )
/osnet-11/usr/src/lib/libsmbns/common/
H A Dlibsmbns.h117 strncasecmp((cfg)->kc_orig_drealm, (cfg)->kc_realm, \
/osnet-11/usr/src/lib/libnsl/include/rpcsvc/
H A Dnis_dhext.h99 (strncasecmp(NIS_SEC_CF_DES_ALIAS, \
/osnet-11/usr/src/lib/libcryptoutil/common/
H A Dmechstr.c378 if (strncasecmp(mech_str, "0x", 2) == 0) {
392 if (strncasecmp(mech_str, "CKM_", 4) != 0) {
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dstr_conv.c175 if (!strncasecmp(neg, string, nsize)) {
179 else if (psize && !strncasecmp(positive, string, psize)) {
/osnet-11/usr/src/cmd/ldap/common/
H A Dldapsearch.c406 if ( strncasecmp( optarg, "base", 4 ) == 0 ) {
408 } else if ( strncasecmp( optarg, "one", 3 ) == 0 ) {
410 } else if ( strncasecmp( optarg, "sub", 3 ) == 0 ) {
419 if ( strncasecmp( optarg, "never", 5 ) == 0 ) {
421 } else if ( strncasecmp( optarg, "search", 5 ) == 0 ) {
423 } else if ( strncasecmp( optarg, "find", 4 ) == 0 ) {
425 } else if ( strncasecmp( optarg, "always", 6 ) == 0 ) {
445 }else if ( strlen(optarg) < 3 || (strncasecmp(optarg, "dn:", 3) != 0) ) {
/osnet-11/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c464 if (strncasecmp(bufp, "eui.", 4) == 0) {
467 } else if (strncasecmp(bufp, "hca:", 4) == 0) {
/osnet-11/usr/src/lib/libwrap/
H A Dtcpd.h115 #define STRN_EQ(x,y,l) (strncasecmp((x),(y),(l)) == 0)
116 #define STRN_NE(x,y,l) (strncasecmp((x),(y),(l)) != 0)

Completed in 110 milliseconds

123456