Lines Matching refs:optarg
225 bool ParseServerListenString(string &serverListenString, char *optarg) in ParseServerListenString() argument
227 if (strlen(optarg) > strlen("0000::0000:0000:0000:0000%interfacename:65535")) { in ParseServerListenString()
232 if (strcpy_s(buf, sizeof(buf), optarg) != 0) { in ParseServerListenString()
277 serverListenString += optarg; in ParseServerListenString()
279 serverListenString = optarg; in ParseServerListenString()
315 int logLevel = atoi(optarg); in GetCommandlineOptions()
342 if (strlen(optarg) > MAX_CONNECTKEY_SIZE) { in GetCommandlineOptions()
343 Base::PrintMessage("Sizeo of of parament '-t' %d is too long", strlen(optarg)); in GetCommandlineOptions()
347 g_connectKey = optarg; in GetCommandlineOptions()
351 if (!Hdc::ParseServerListenString(g_serverListenString, optarg)) { in GetCommandlineOptions()
363 if (optarg[0] == 't') { in GetCommandlineOptions()
365 } else if (optarg[0] == 'u') { in GetCommandlineOptions()
372 g_isTestMethod = atoi(optarg + 1); in GetCommandlineOptions()