Lines Matching refs:source
46 strcount(const char *source, const char *find) in strcount() argument
48 const char *p = source; in strcount()
53 if (source == NULL || find == NULL) in strcount()
58 if (strlen(source) == 0 || flen == 0) in strcount()
91 replaceall(char *source, const char *find, const char *replace) in replaceall() argument
104 if (source == NULL) in replaceall()
107 return (strlen(source)); in replaceall()
110 slen = strlen(source); in replaceall()
123 memcpy(temp, source, slen + 1); in replaceall()
125 temp = source; in replaceall()
128 p = source; t = temp; /* position elements */ in replaceall()
144 if (temp != source) in replaceall()
148 return (strlen(source)); in replaceall()
178 void strexpand(char *source) in strexpand() argument
186 pos = chr = source; in strexpand()
266 void strexpandnl(char *source) in strexpandnl() argument
273 cp1 = cp2 = source; in strexpandnl()
296 strtolower(char *source) in strtolower() argument
298 char *p = source; in strtolower()
300 if (source == NULL) in strtolower()