Home
last modified time | relevance | path

Searched refs:s2len (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dstrstr.c40 int s2len = strlen(s2); /* length of the second string */ local
45 if (s2len == 0)
48 while (strlen(s1) >= s2len) {
49 if (strncmp(s1, s2, s2len) == 0)
/titanic_41/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_kcf.c113 int s2len = strlen(s2); in strncpy_spacepad() local
116 if (s2len < n) in strncpy_spacepad()
117 (void) memset(s1 + s2len, ' ', n - s2len); in strncpy_spacepad()
/titanic_41/usr/src/cmd/krb5/kadmin/dbutil/
H A Dutil.c65 int s2len; local
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dfindevs.c1946 uint_t s2len = strlen(s2); /* length of the second string */ in str_case_index() local
1949 if (s2len == 0) { in str_case_index()
1953 while (strlen(s1) >= s2len) { in str_case_index()
1954 if (strncasecmp(s1, s2, s2len) == 0) { in str_case_index()
/titanic_41/usr/src/uts/common/io/tpm/
H A Dtpm.c2022 int s2len = strlen(s2); in strncpy_spacepad() local
2024 if (s2len < n) in strncpy_spacepad()
2025 (void) memset(s1 + s2len, ' ', n - s2len); in strncpy_spacepad()