Lines Matching refs:traceFD
306 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() local
307 if (traceFD == -1) { in truncateFile()
313 close(traceFD); in truncateFile()
922 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace() local
923 if (traceFD == -1) { in streamTrace()
929 ssize_t bytes_read = read(traceFD, trace_data, 4096); in streamTrace()
947 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace() local
948 if (traceFD == -1) { in dumpTrace()
961 close(traceFD); in dumpTrace()
970 close(traceFD); in dumpTrace()
983 result = read(traceFD, in.get(), bufSize); in dumpTrace()
1033 while ((rc = TEMP_FAILURE_RETRY(read(traceFD, buf, sizeof(buf)))) > 0) { in dumpTrace()
1044 close(traceFD); in dumpTrace()