• Home
  • Raw
  • Download

Lines Matching refs:Base

34     Base::ZeroStruct(terminalState);  in HdcClient()
46 Base::TryCloseLoop(loopMain, "ExecuteCommand finish"); in ~HdcClient()
67 … string path = Base::StringFormat("%s%c.%s.pid", bufPath, Base::GetPathSep(), SERVER_NAME.c_str()); in GetLastPID()
68 Base::ReadBinFile(path.c_str(), reinterpret_cast<void **>(&pidBuf), BUF_SIZE_TINY); in GetLastPID()
75 bool isNowRunning = Base::ProgramMutex(SERVER_NAME.c_str(), true) != 0; in StartKillServer()
96 Base::PrintMessage("Kill server finish"); in StartKillServer()
101 Base::PrintMessage("Kill server failed %s", buf); in StartKillServer()
128 Base::PrintMessage("Unknown command"); in DoCtrlServiceWork()
130 Base::TryCloseHandle((const uv_handle_t *)handle); in DoCtrlServiceWork()
200 string hdcPath = Base::GetHdcAbsolutePath(); in GetHilogPath()
201 int index = hdcPath.find_last_of(Base::GetPathSep()); in GetHilogPath()
202 string exePath = hdcPath.substr(0, index) + Base::GetPathSep() + HILOG_NAME; in GetHilogPath()
308 int ret = Base::ConnectKey2IPPort(channelHostPort.c_str(), ip, &port); in ExecuteCommand()
446 Base::ZeroArray(hChannel->bufStd); in ReadStd()
512 Base::SetTcpOptions((uv_tcp_t *)&hChannel->hWorkTCP); in Connect()
541 string clientVer = Base::GetVersion() + HDC_MSG_HASH; in PreHandshake()
545 serverVer = serverVer.substr(0, Base::GetVersion().size()); in PreHandshake()
587 …fprintf(stdout, "Client version:%s, server version:%s\n", Base::GetVersion().c_str(), version.c_st… in ReadChannel()
656 all = Base::ReplaceAll(all, "\n", "\thdc\n"); in ListTargetsAll()
674 Base::SplitString(str, "\n", devs); in UpdateList()