Home | History | Annotate | Download | only in testsuite

Lines Matching defs:string

32 #include <string.h>
42 char *pattern = NULL, *string = NULL;
153 string = realloc (string, len - 3);
154 if (string == NULL)
156 printf ("%lu: Cannot record search string: %m\n", linenum);
163 memcpy (string, line + 4, len - 3);
177 if (regexec (&re, string, 20, rm, 0))
190 printf ("%lu: No preceeding pattern or search string\n", linenum);
200 linenum, pattern, string, rm[0].rm_so, rm[0].rm_eo);
224 linenum, pattern, string, num,
233 || strncmp (p + 2, string + rm[num].rm_so,
237 linenum, pattern, string, p + 2, num,
245 free (string);