Lines Matching full:s1_p1_len
504 int s1_p1_len, s2_p1_len;508 s1_p1_len = s1_p2 - s1; /* the prefix length is the difference in pointers */511 s1_p1_len = strlen(s1); /* the prefix length is the length of the string itself */521 strncpy(str1, s1, (s1_p1_len > sizeof(str1)) ? s1_p1_len : sizeof(str1)); *(str1 + s1_p1_len) = 0;