Home
last modified time | relevance | path

Searched refs:new_buf (Results 1 – 3 of 3) sorted by relevance

/tools/testing/vsock/
Dcontrol.c162 char *new_buf; in control_readln() local
164 new_buf = realloc(buf, buflen + 80); in control_readln()
165 if (!new_buf) { in control_readln()
170 buf = new_buf; in control_readln()
/tools/perf/util/
Dllvm-utils.c151 void *new_buf; in read_from_pipe() local
154 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()
/tools/lib/traceevent/
Devent-parse.c1409 char *new_buf; in append() local
1411 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()