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