Searched refs:s2len (Results 1 – 5 of 5) sorted by relevance
40 int s2len = strlen(s2); /* length of the second string */ local45 if (s2len == 0)48 while (strlen(s1) >= s2len) { 49 if (strncmp(s1, s2, s2len) == 0)
113 int s2len = strlen(s2); in strncpy_spacepad() local116 if (s2len < n) in strncpy_spacepad()117 (void) memset(s1 + s2len, ' ', n - s2len); in strncpy_spacepad()
65 int s2len; local
1946 uint_t s2len = strlen(s2); /* length of the second string */ in str_case_index() local1949 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()
2022 int s2len = strlen(s2); in strncpy_spacepad() local2024 if (s2len < n) in strncpy_spacepad()2025 (void) memset(s1 + s2len, ' ', n - s2len); in strncpy_spacepad()