Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/util/
Dllvm-utils.c100 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local
114 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe()
117 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe()
128 read_sz += fread(buf + read_sz, 1, READ_SIZE, file); in read_from_pipe()
131 if (buf_sz - read_sz < 1) { in read_from_pipe()
156 ((char *)buf)[read_sz] = '\0'; in read_from_pipe()
164 *p_read_sz = read_sz; in read_from_pipe()