Lines Matching defs:optarg
380 if ((optarg != nullptr) && strcmp(optarg, "astpage") && strcmp(optarg, "ayer")) {
394 (void)StrToInt(optarg, abilityRecordId);
402 if ((optarg != nullptr) && strcmp(optarg, "nspector")) {
413 if (isfirstCommand == false && optarg == nullptr) {
417 if ((optarg != nullptr) && strcmp(optarg, "lement")) {
428 if (isfirstCommand == false && optarg == nullptr) {
440 if (isfirstCommand == false && optarg == nullptr) {
446 if ((optarg != nullptr) && strcmp(optarg, "ender") && strcmp(optarg, "otation") &&
447 strcmp(optarg, "ontend")) {
458 if (isfirstCommand == false && optarg == nullptr) {
669 bundleName = optarg;
831 const char* optarg, const size_t paramLength, std::string &perfCmd)
833 if (optarg == nullptr) {
834 TAG_LOGE(AAFwkTag::AA_TOOL, "null optarg");
838 if (strlen(optarg) >= paramLength) {
843 perfCmd = optarg;
871 int index = optind + 1; // optind is the index of 'start' which is right behind optarg
883 std::string key = optarg;
899 std::string key = optarg;
912 std::string key = optarg;
1089 abilityName = optarg;
1095 bundleName = optarg;
1101 moduleName = optarg;
1107 if (strlen(optarg) < PARAM_LENGTH) {
1108 perfCmd = optarg;
1116 if (!isPerf && strlen(optarg) < PARAM_LENGTH) {
1118 debugCmd = optarg;
1217 bundleName = optarg;
1573 if (optarg != nullptr) {
1574 deviceId = optarg;
1583 abilityName = optarg;
1591 bundleName = optarg;
1598 entities.push_back(optarg);
1605 typeVal = optarg;
1611 windowMode = optarg;
1619 moduleName = optarg;
1627 if (!CheckPerfCmdString(optarg, PARAM_LENGTH, perfCmd)) {
1693 if (!std::regex_match(optarg, std::regex(STRING_REGEX_ALL_NUMBERS))) {
1698 windowLeft = int(atof(optarg));
1706 if (!std::regex_match(optarg, std::regex(STRING_REGEX_ALL_NUMBERS))) {
1711 windowTop = int(atof(optarg));
1719 if (!std::regex_match(optarg, std::regex(STRING_REGEX_ALL_NUMBERS))) {
1724 windowHeight = int(atof(optarg));
1732 if (!std::regex_match(optarg, std::regex(STRING_REGEX_ALL_NUMBERS))) {
1737 windowWidth = int(atof(optarg));
1747 uri = optarg;
1754 action = optarg;
2053 TAG_LOGI(AAFwkTag::AA_TOOL, "aa ApplicationNotResponding 'aa optarg: %{public}s'", optarg);
2054 pid = optarg;
2138 pid = optarg;
2144 reason = optarg;
2243 errorName = optarg;
2249 errorMessage = optarg;
2255 errorStack = optarg;
2261 faultType = optarg;
2267 pid = optarg;