Searched refs:fptr (Results 1 – 2 of 2) sorted by relevance
24 FILE *fptr; member74 return fileno(data->file.fptr); in perf_data__fd()
189 data->file.fptr = fdopen(fd, mode); in check_pipe()191 if (data->file.fptr == NULL) { in check_pipe()382 fclose(data->file.fptr); in perf_data__close()390 if (fread(buf, size, 1, data->file.fptr) == 1) in perf_data__read()392 return feof(data->file.fptr) ? 0 : -1; in perf_data__read()407 if (fwrite(buf, size, 1, data->file.fptr) == 1) in perf_data__write()