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()
126 std::string strPath = Base::UnicodeToUtf8(path, true); in PullupServerWin32()
141 … if (sprintf_s(buf, sizeof(buf), "dummy -l %d -s %s -m", Base::GetLogLevel(), listenString) < 0) { in PullupServerWin32()
193 Base::CloseFd(fd); in PullupServer()
260 …out = Base::StringFormat("%s\t\t%s\t%s\t%s\n", hdi->connectKey.c_str(), sConn.c_str(), sStatus.c_s… in BuildDaemonVisableLine()
264 out = Base::StringFormat("%s\n", hdi->connectKey.c_str()); in BuildDaemonVisableLine()
424 Base::DelayDoSimple(&loopMain, waitDaemonReconnect, funcDelayUsbNotify); in NotifyInstanceSessionFree()
581 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); // detch client channel in FetchCommand()
619 … buf = Base::StringFormat("%s %s %s\n", hfi->connectKey.c_str(), hfi->taskString.c_str(), in BuildForwardVisableLine()
622 buf = Base::StringFormat("%s\n", hfi->taskString.c_str()); in BuildForwardVisableLine()
721 uv_close((uv_handle_t *)handle, Base::CloseTimerCallback); in UsbPreConnect()
757 uv_close((uv_handle_t *)handle, Base::CloseTimerCallback); in UartPreConnect()
865 Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP); in AttachChannel()
869 Base::SetTcpOptions((uv_tcp_t *)&hChannel->hChildWorkTCP); in AttachChannel()
891 …Base::DoNextLoop(&hSession->childLoop, hChannel, [](const uint8_t flag, string &msg, const void *d… in DeatchChannel()
897 … Base::TryCloseHandle((uv_handle_t *)&hChannel->hChildWorkTCP, [](uv_handle_t *handle) -> void { in DeatchChannel()