Lines Matching refs:traceFD
356 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() local
357 if (traceFD == -1) { in truncateFile()
363 close(traceFD); in truncateFile()
904 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace() local
905 if (traceFD == -1) { in streamTrace()
911 ssize_t bytes_read = read(traceFD, trace_data, 4096); in streamTrace()
929 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace() local
930 if (traceFD == -1) { in dumpTrace()
943 close(traceFD); in dumpTrace()
952 close(traceFD); in dumpTrace()
965 result = read(traceFD, in.get(), bufSize); in dumpTrace()
1015 while ((rc = TEMP_FAILURE_RETRY(read(traceFD, buf, sizeof(buf)))) > 0) { in dumpTrace()
1026 close(traceFD); in dumpTrace()