Lines Matching refs:str
97 rep_add(char *str)
110 if ((str == NULL) || (*str == '\0')) {
119 if ((pt1 = strchr(str+1, *str)) == NULL) {
120 paxwarn(1, "Invalid replacement string %s", str);
135 if ((rep->rcmp = regcomp(str+1)) == NULL) {
137 if ((res = regcomp(&(rep->rcmp), str+1, 0)) != 0) {
139 paxwarn(1, "%s while compiling regular expression %s", rebuf, str);
150 *pt1++ = *str;
151 if ((pt2 = strchr(pt1, *str)) == NULL) {
158 paxwarn(1, "Invalid replacement string %s", str);
187 *pt1 = *str;
188 paxwarn(1, "Invalid replacement string option %s", str);
219 pat_add(char *str, char *chdnam)
226 if ((str == NULL) || (*str == '\0')) {
241 pt->pstr = str;
243 pt->plen = strlen(str);