Home
last modified time | relevance | path

Searched refs:argc_ (Results 1 – 12 of 12) sorted by relevance

/base/security/access_token/tools/accesstoken/src/
Datm_command.cpp77 AtmCommand::AtmCommand(int32_t argc, char *argv[]) : argc_(argc), argv_(argv), name_(TOOLS_NAME) in AtmCommand()
131 if ((optind < 0) || (optind >= argc_)) { in RunAsCommandError()
150 if ((optind < 0) || (optind > argc_)) { in GetUnknownOptionMsg()
299 int32_t option = getopt_long(argc_, argv_, shortOption.c_str(), longOption, nullptr); in HandleComplexCommand()
300 if ((optind < 0) || (optind > argc_)) { in HandleComplexCommand()
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_func_arg.cpp28 argc_ = argc; in SetArgc()
38 return argc_; in GetArgc()
Dn_func_arg.h81 size_t argc_ = 0; variable
/base/notification/distributed_notification_service/tools/dump/src/
Dshell_command.cpp26 argc_ = argc; in ShellCommand()
82 if (optind < 0 || optind > argc_) { in GetUnknownOptionMsg()
Dnotification_shell_command.cpp190 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS, LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
247 int option = getopt_long(argc_, argv_, SETTING_SHORT_OPTIONS, SETTING_LONG_OPTIONS, nullptr); in RunAsSettingCommand()
/base/notification/common_event_service/tools/cem/include/
Dshell_command.h82 int argc_;
/base/account/os_account/tools/acm/src/
Daccount_command.cpp48 for (int i = 0; i < argc_; i++) { in AccountCommand()
100 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsCreateCommand()
214 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunCommand()
287 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseCommandOpt()
466 if (optind < 0 || optind >= argc_) { in RunCommandError()
/base/notification/distributed_notification_service/tools/dump/include/
Dshell_command.h99 int argc_; variable
/base/notification/common_event_service/tools/cem/src/
Dshell_command.cpp28 argc_ = argc; in ShellCommand()
Dcommon_event_command.cpp114 … while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetPublishCmdInfo()
207 … while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
/base/security/access_token/tools/accesstoken/include/
Datm_command.h63 int32_t argc_; variable
/base/powermgr/power_manager/utils/shell/src/
Dpower_shell_command.cpp152 int option = getopt_long(argc_, argv_, "h", SET_MODE_OPTIONS, &ind); in RunAsSetModeCommand()
349 int option = getopt_long(argc_, argv_, "hrcs:o:b:d:e:", DISPLAY_OPTIONS, &ind); in RunAsDisplayCommand()
363 int option = getopt_long(argc_, argv_, "hro:", TIME_OUT_OPTIONS, &ind); in RunAsTimeOutCommand()