Lines Matching refs:traceFD
346 int traceFD = creat((g_traceFolder + path).c_str(), 0); in truncateFile() local
347 if (traceFD == -1) { in truncateFile()
353 close(traceFD); in truncateFile()
975 int traceFD = open((g_traceFolder + k_traceStreamPath).c_str(), O_RDWR); in streamTrace() local
976 if (traceFD == -1) { in streamTrace()
982 ssize_t bytes_read = read(traceFD, trace_data, 4096); in streamTrace()
1000 int traceFD = open((g_traceFolder + k_tracePath).c_str(), O_RDWR); in dumpTrace() local
1001 if (traceFD == -1) { in dumpTrace()
1014 close(traceFD); in dumpTrace()
1023 close(traceFD); in dumpTrace()
1036 result = read(traceFD, in.get(), bufSize); in dumpTrace()
1086 while ((rc = TEMP_FAILURE_RETRY(read(traceFD, buf, sizeof(buf)))) > 0) { in dumpTrace()
1097 close(traceFD); in dumpTrace()