Lines Matching refs:string
22 #include <string.h>
148 modifyString(char *string, const char *before, const char *after, int noalloc)
154 s = strstr(string, before);
156 return string;
163 return string;
170 s = realloc(string, strlen(string)+((newlen-oldlen)*chgcnt)+1);
171 /* If we failed to realloc, return the original alloc'd string */
173 string = s;
175 return string;
178 s = string;
183 return string;
189 return string;