Lines Matching refs:Base
120 if (path[strlen(path) - 1] != Base::GetPathSep()) { in AppendCwdWhenTransfer()
121 path[strlen(path)] = Base::GetPathSep(); in AppendCwdWhenTransfer()
126 string utf8Path = Base::UnicodeToUtf8(path, true); in AppendCwdWhenTransfer()
127 outCommand += Base::StringFormat("\"%s\"", utf8Path.c_str()); in AppendCwdWhenTransfer()
150 string packageCmd = Base::StringFormat("\"%s\"", argv[i]); in SplitOptionAndCommand()
155 outOption += Base::StringFormat("\"%s\"", argv[i]); in SplitOptionAndCommand()
171 Base::PrintMessage("Initial failed"); in RunServerMode()
181 Base::PrintMessage("Not support command..."); in RunPcDebugMode()
206 Base::PrintMessage("Unknown operation command..."); in RunClientMode()
216 if (isPullServer && Base::ProgramMutex(SERVER_NAME.c_str(), true) == 0) { in RunClientMode()
229 Base::PrintMessage("Unknown content of parament '-s'"); in ParseServerListenString()
234 Base::PrintMessage("strcpy_s error %d", errno); in ParseServerListenString()
240 Base::PrintMessage("The port-string's length must < 5"); in ParseServerListenString()
246 Base::PrintMessage("The port must be digit buf:%s", buf); in ParseServerListenString()
252 Base::PrintMessage("Port range incorrect"); in ParseServerListenString()
263 Base::PrintMessage("The port must be digit str:%s", str); in ParseServerListenString()
272 Base::PrintMessage("-s content port incorrect."); in ParseServerListenString()
282 Base::PrintMessage("-s content IP incorrect."); in ParseServerListenString()
307 string ver = Base::GetVersion(); in GetCommandlineOptions()
318 Base::PrintMessage("Loglevel error!"); in GetCommandlineOptions()
323 Base::SetLogLevel(logLevel); in GetCommandlineOptions()
344 Base::PrintMessage("Sizeo of of parament '-t' %d is too long", strlen(optarg)); in GetCommandlineOptions()
369 Base::PrintMessage("Unknown debug parameters"); in GetCommandlineOptions()
378 Base::PrintMessage("Unknown parameters"); in GetCommandlineOptions()
443 char **optArgv = Base::SplitCommandToArgs(options.c_str(), &optArgc); in main()
459 Base::SetLogLevel(LOG_INFO); in main()
463 Hdc::Base::RemoveLogCache(); in main()
494 Base::PrintMessage("No any target"); in main()
499 Base::PrintMessage("Specify one target"); in main()
510 Hdc::Base::RemoveLogCache(); in main()