Lines Matching refs:Base
43 Base::TryCloseLoop(&loopMain, "HdcServer::~HdcServer"); in ClearInstanceResource()
83 if (Base::ProgramMutex(SERVER_NAME.c_str(), false) != 0) { in Initial()
87 Base::RemoveLogFile(); in Initial()
125 std::string strPath = Base::UnicodeToUtf8(path, true); in PullupServerWin32()
140 … if (sprintf_s(buf, sizeof(buf), "dummy -l %d -s %s -m", Base::GetLogLevel(), listenString) < 0) { in PullupServerWin32()
192 Base::CloseFd(fd); in PullupServer()
259 …out = Base::StringFormat("%s\t\t%s\t%s\t%s\n", hdi->connectKey.c_str(), sConn.c_str(), sStatus.c_s… in BuildDaemonVisableLine()
263 out = Base::StringFormat("%s\n", hdi->connectKey.c_str()); in BuildDaemonVisableLine()
422 Base::DelayDoSimple(&loopMain, waitDaemonReconnect, funcDelayUsbNotify); in NotifyInstanceSessionFree()
591 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); // detch client channel in FetchCommand()
633 buf = Base::StringFormat("'%s'\t%s\n", hfi->taskString.c_str(), in BuildForwardVisableLine()
636 buf = Base::StringFormat("%s\n", hfi->taskString.c_str()); in BuildForwardVisableLine()
741 uv_close((uv_handle_t *)handle, Base::CloseTimerCallback); in UsbPreConnect()
777 uv_close((uv_handle_t *)handle, Base::CloseTimerCallback); in UartPreConnect()
879 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); in AttachChannel()
883 Base::SetTcpOptions((uv_tcp_t *)&hChannel->hChildWorkTCP); in AttachChannel()
905 …Base::DoNextLoop(&hSession->childLoop, hChannel, [](const uint8_t flag, string &msg, const void *d… in DeatchChannel()
911 … Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP, [](uv_handle_t *handle) -> void { in DeatchChannel()