Lines Matching refs:source
48 strcount(const char *source, const char *find) in strcount() argument
50 const char *p = source; in strcount()
55 if (source == NULL || find == NULL) in strcount()
60 if (strlen(source) == 0 || flen == 0) in strcount()
93 replaceall(char *source, const char *find, const char *replace) in replaceall() argument
106 if (source == NULL) in replaceall()
109 return (strlen(source)); in replaceall()
112 slen = strlen(source); in replaceall()
125 memcpy(temp, source, slen + 1); in replaceall()
127 temp = source; in replaceall()
130 p = source; t = temp; /* position elements */ in replaceall()
146 if (temp != source) in replaceall()
150 return (strlen(source)); in replaceall()
180 void strexpand(char *source) in strexpand() argument
188 pos = chr = source; in strexpand()
268 void strexpandnl(char *source) in strexpandnl() argument
275 cp1 = cp2 = source; in strexpandnl()
298 strtolower(char *source) in strtolower() argument
300 char *p = source; in strtolower()
302 if (source == NULL) in strtolower()