Home
last modified time | relevance | path

Searched refs:optStr (Results 1 – 6 of 6) sorted by relevance

/base/update/updater/services/ui/
Dupdater_ui_config.cpp75 auto optStr = subCfgPathNode.As<std::string>(); in SelectConfig() local
76 if (!optStr.has_value()) { in SelectConfig()
80 std::string subConfigPath = *optStr; in SelectConfig()
/base/security/selinux/interfaces/tools/hap_restorecon/
Dtest.cpp67 const char *optStr = "hda:p:n:r:m:"; in SetOptions() local
69 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions()
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
Ddump_implement.cpp179 const char optStr[] = "-ht:lcsa:ep"; in CmdParseWithParameter() local
191 int c = getopt_long(argc, argv, optStr, longOptions, &optionIndex); in CmdParseWithParameter()
200 CheckIncorrectCmdOption(optStr, argv); in CmdParseWithParameter()
545 void DumpImplement::CheckIncorrectCmdOption(const char *optStr, char *argv[]) in CheckIncorrectCmdOption() argument
549 } else if (!IsShortOptionReqArg(optStr)) { in CheckIncorrectCmdOption()
556 bool DumpImplement::IsShortOptionReqArg(const char *optStr) in IsShortOptionReqArg() argument
558 int len = strlen(optStr); in IsShortOptionReqArg()
560 if (optStr[i] == optopt) { in IsShortOptionReqArg()
561 SendErrorMessage(requireError_ + optStr[i]); in IsShortOptionReqArg()
/base/hiviewdfx/hidumper/frameworks/native/include/manager/
Ddump_implement.h72 bool IsShortOptionReqArg(const char* optStr);
78 void CheckIncorrectCmdOption(const char* optStr, char* argv[]);
/base/security/selinux/interfaces/tools/service_check/
Dtest.cpp68 const char *optStr = "dhlagrn:"; in SetOptions() local
70 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions()
/base/security/selinux/interfaces/tools/param_check/
Dtest.cpp167 const char *optStr = "hgrwln:"; in SetOptions() local
169 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions()