Searched refs:optarg (Results 1 - 10 of 10) sorted by relevance
/developtools/hdc/src/host/ |
H A D | main.cpp | 220 bool ParseServerListenString(string &serverListenString, char *optarg) in ParseServerListenString() argument 222 if (strlen(optarg) > strlen("0000::0000:0000:0000:0000%interfacename:65535")) { in ParseServerListenString() 227 if (strcpy_s(buf, sizeof(buf), optarg) != 0) { in ParseServerListenString() 272 serverListenString += optarg; in ParseServerListenString() 274 serverListenString = optarg; in ParseServerListenString() 310 int logLevel = atoi(optarg); in GetCommandlineOptions() 337 if (strlen(optarg) > MAX_CONNECTKEY_SIZE) { in GetCommandlineOptions() 338 Base::PrintMessage("Sizeo of of parament '-t' %d is too long", strlen(optarg)); in GetCommandlineOptions() 342 g_connectKey = optarg; in GetCommandlineOptions() 346 if (!Hdc::ParseServerListenString(g_serverListenString, optarg)) { in GetCommandlineOptions() [all...] |
/developtools/profiler/device/plugins/native_hook/test/ |
H A D | hook_test.c | 434 if (!strcmp("mmap", optarg)) { in CommandParse() 435 printf("Type: %s \n", optarg); in CommandParse() 437 } else if (!strcmp("alloc", optarg)) { in CommandParse() 438 printf("Type: %s \n", optarg); in CommandParse() 440 } else if (!strcmp("all", optarg)) { in CommandParse() 441 printf("Type: %s \n", optarg); in CommandParse() 448 g_mallocSize = atoi(optarg); in CommandParse() 456 g_threadNum = atoi(optarg); in CommandParse() 463 g_fileName = optarg; in CommandParse()
|
H A D | malloc_test.cpp | 451 if (!strcmp("mmap", optarg)) { in CommandParse() 452 printf("Type: %s \n", optarg); in CommandParse() 454 } else if (!strcmp("alloc", optarg)) { in CommandParse() 455 printf("Type: %s \n", optarg); in CommandParse() 457 } else if (!strcmp("all", optarg)) { in CommandParse() 458 printf("Type: %s \n", optarg); in CommandParse() 465 g_mallocSize = atoi(optarg); in CommandParse() 473 g_threadNum = atoi(optarg); in CommandParse() 480 TEST_FILE_NAME = optarg; in CommandParse()
|
/developtools/syscap_codec/src/ |
H A D | main.c | 167 g_customerfileinfo.pcidfile = optarg;
in SetBitMap() 172 g_customerfileinfo.inputfile = optarg;
in SetBitMap() 175 (*outputpath) = optarg;
in SetBitMap()
|
/developtools/packing_tool/ohos_packing_tool/frameworks/src/ |
H A D | shell_command.cpp | 78 std::string paramValue = optarg; in ParseParam() 79 parameterMap_[paramName] = optarg; in ParseParam()
|
/developtools/global_resource_tool/src/ |
H A D | cmd_parser.cpp | 495 if ((optarg == nullptr && (optind - 1 < 0 || optind - 1 >= argc)) || in CheckError() 496 (optarg != nullptr && (optind - 2 < 0 || optind - 2 >= argc))) { // 1 or 2 menas optind offset value in CheckError() 499 string curOpt = (optarg == nullptr) ? argv[optind - 1] : argv[optind - 2]; in CheckError() 548 string argValue = (optarg != nullptr) ? optarg : ""; in ParseCommand()
|
/developtools/packing_tool/packing_tool/frameworks/src/ |
H A D | shell_command.cpp | 83 std::string paramValue = optarg; in ParseParam() 84 parameterMap_[paramName] = optarg; in ParseParam()
|
/developtools/hdc/src/daemon/ |
H A D | main.cpp | 158 int logLevel = atoi(optarg); in GetDaemonCommandlineOptions()
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/ |
H A D | ebpf_converter.cpp | 565 inputPath = optarg; in main() 569 outputPath = optarg; in main()
|
/developtools/profiler/device/cmds/src/ |
H A D | main.cpp | 561 if (option == 'c' && strcmp(optarg, "-") == 0) { in main()
|
Completed in 8 milliseconds