Lines Matching refs:buf2

50 	char *localvalue = NULL, *buf2 = NULL;  in do_extends()  local
120 while (M.mi_nlines = readline(&buf2, efp)) { in do_extends()
123 if (!non_empty(buf2)) { /* is line non empty */ in do_extends()
124 free(buf2); in do_extends()
125 buf2 = NULL; in do_extends()
128 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); in do_extends()
134 split(buf2, key, localvalue); in do_extends()
140 free(buf2); in do_extends()
141 buf2 = NULL; in do_extends()
192 free(buf2); in do_extends()
193 buf2 = NULL; in do_extends()
195 while (M.mi_nlines = readline(&buf2, efp)) { in do_extends()
198 if (!non_empty(buf2)) { /* is line non empty */ in do_extends()
199 free(buf2); in do_extends()
200 buf2 = NULL; in do_extends()
203 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); in do_extends()
206 sizeof (char)*(strlen(buf2)+1)); in do_extends()
214 split(buf2, key, localvalue); in do_extends()
246 free(buf2); in do_extends()
247 buf2 = NULL; in do_extends()
259 free(buf2); in do_extends()
313 char key[20], buf[BUFSIZ], *buf2 = NULL, *localvalue = NULL, *p; in arch_match() local
328 buf2 = line_to_buf(buf2, buf); /* append buf to buf2 */ in arch_match()
333 buf2 = line_to_buf(buf2, buf); in arch_match()
337 buf2 = line_to_buf(buf2, buf); in arch_match()
341 if (!non_empty(buf2)) { /* is line non empty */ in arch_match()
342 free(buf2); in arch_match()
343 buf2 = NULL; in arch_match()
346 p = realloc(localvalue, sizeof (char)*(strlen(buf2)+1)); in arch_match()
349 sizeof (char)*(strlen(buf2)+1)); in arch_match()
357 split(buf2, key, localvalue); in arch_match()
364 free(buf2); in arch_match()
377 free(buf2); in arch_match()
378 buf2 = NULL; in arch_match()
382 free(buf2); in arch_match()