Lines Matching refs:buf2
52 char *localvalue = NULL, *buf2 = NULL; in do_extends() local
122 while (M.mi_nlines = readline(&buf2, efp)) { in do_extends()
125 if (!non_empty(buf2)) { /* is line non empty */ in do_extends()
126 free(buf2); in do_extends()
127 buf2 = NULL; in do_extends()
130 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); in do_extends()
136 split(buf2, key, localvalue); in do_extends()
142 free(buf2); in do_extends()
143 buf2 = NULL; in do_extends()
194 free(buf2); in do_extends()
195 buf2 = NULL; in do_extends()
197 while (M.mi_nlines = readline(&buf2, efp)) { in do_extends()
200 if (!non_empty(buf2)) { /* is line non empty */ in do_extends()
201 free(buf2); in do_extends()
202 buf2 = NULL; in do_extends()
205 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); in do_extends()
208 sizeof (char)*(strlen(buf2)+1)); in do_extends()
216 split(buf2, key, localvalue); in do_extends()
248 free(buf2); in do_extends()
249 buf2 = NULL; in do_extends()
261 free(buf2); in do_extends()
315 char key[20], buf[BUFSIZ], *buf2 = NULL, *localvalue = NULL, *p; in arch_match() local
330 buf2 = line_to_buf(buf2, buf); /* append buf to buf2 */ in arch_match()
335 buf2 = line_to_buf(buf2, buf); in arch_match()
339 buf2 = line_to_buf(buf2, buf); in arch_match()
343 if (!non_empty(buf2)) { /* is line non empty */ in arch_match()
344 free(buf2); in arch_match()
345 buf2 = NULL; in arch_match()
348 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); in arch_match()
351 sizeof (char)*(strlen(buf2)+1)); in arch_match()
359 split(buf2, key, localvalue); in arch_match()
366 free(buf2); in arch_match()
379 free(buf2); in arch_match()
380 buf2 = NULL; in arch_match()
384 free(buf2); in arch_match()