Lines Matching refs:INVALID_FD
26 static int32_t g_DebugLogFd = INVALID_FD;
27 static int32_t g_StdErrFd = INVALID_FD;
43 if (g_DebugLogFd != INVALID_FD) { in WriteLog()
53 } else if (fd == INVALID_FD) { in WriteLog()
82 if (g_DebugLogFd != INVALID_FD) { in InitDebugLog()
96 g_DebugLogFd = INVALID_FD; in InitDebugLog()
103 g_DebugLogFd = INVALID_FD; in InitDebugLog()
104 g_StdErrFd = INVALID_FD; in InitDebugLog()
115 if (g_DebugLogFd == INVALID_FD) { in CloseDebugLog()
119 if (g_StdErrFd != INVALID_FD) { in CloseDebugLog()
123 g_DebugLogFd = INVALID_FD; in CloseDebugLog()
124 g_StdErrFd = INVALID_FD; in CloseDebugLog()