Searched refs:optStr (Results 1 – 6 of 6) sorted by relevance
/base/update/updater/services/ui/ |
D | updater_ui_config.cpp | 75 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/ |
D | test.cpp | 67 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/ |
D | dump_implement.cpp | 179 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/ |
D | dump_implement.h | 72 bool IsShortOptionReqArg(const char* optStr); 78 void CheckIncorrectCmdOption(const char* optStr, char* argv[]);
|
/base/security/selinux/interfaces/tools/service_check/ |
D | test.cpp | 68 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/ |
D | test.cpp | 167 const char *optStr = "hgrwln:"; in SetOptions() local 169 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions()
|