Searched refs:new_buf (Results 1 – 3 of 3) sorted by relevance
162 char *new_buf; in control_readln() local164 new_buf = realloc(buf, buflen + 80); in control_readln()165 if (!new_buf) { in control_readln()170 buf = new_buf; in control_readln()
151 void *new_buf; in read_from_pipe() local154 new_buf = realloc(buf, buf_sz); in read_from_pipe()156 if (!new_buf) { in read_from_pipe()162 buf = new_buf; in read_from_pipe()
1409 char *new_buf; in append() local1411 new_buf = realloc(*buf, strlen(*buf) + strlen(delim) + strlen(str) + 1); in append()1412 if (!new_buf) in append()1414 strcat(new_buf, delim); in append()1415 strcat(new_buf, str); in append()1416 *buf = new_buf; in append()