Lines Matching refs:flen
49 size_t flen; in strcount() local
57 flen = strlen(find); in strcount()
58 if (strlen(source) == 0 || flen == 0) in strcount()
63 if (strncmp(p, find, flen) == 0) { /* found an instance */ in strcount()
64 p += flen; in strcount()
96 size_t flen; in replaceall() local
111 flen = strlen(find); in replaceall()
115 if (slen == 0 || flen == 0 || slen < flen) in replaceall()
119 if (rlen > flen) { in replaceall()
131 if (strncmp(t, find, flen) == 0) { in replaceall()
135 t += flen; in replaceall()