Home
last modified time | relevance | path

Searched refs:argc_ (Results 1 - 16 of 16) sorted by relevance

/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
H A Dn_func_arg.cpp28 argc_ = argc; in SetArgc()
38 return argc_; in GetArgc()
H A Dn_func_arg.h81 size_t argc_ = 0; member in OHOS::HiviewDFX::final
/base/notification/distributed_notification_service/tools/dump/src/
H A Dshell_command.cpp26 argc_ = argc; in ShellCommand()
84 if (optind < 0 || optind > argc_) { in GetUnknownOptionMsg()
H A Dnotification_shell_command.cpp205 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS, LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
272 int option = getopt_long(argc_, argv_, SETTING_SHORT_OPTIONS, SETTING_LONG_OPTIONS, nullptr); in RunAsSettingCommand()
/base/security/access_token/tools/accesstoken/src/
H A Datm_command.cpp123 AtmCommand::AtmCommand(int32_t argc, char *argv[]) : argc_(argc), argv_(argv), name_(TOOLS_NAME) in AtmCommand()
178 if ((optind < 0) || (optind >= argc_)) { in RunAsCommandError()
197 if ((optind < 0) || (optind > argc_)) { in GetUnknownOptionMsg()
417 int32_t option = getopt_long(argc_, argv_, shortOption.c_str(), longOption, nullptr); in HandleComplexCommand()
418 if ((optind < 0) || (optind > argc_)) { in HandleComplexCommand()
/base/account/os_account/tools/acm/src/
H A Daccount_command.cpp56 argc_ = argc; in AccountCommand()
68 for (int i = 0; i < argc_; i++) { in AccountCommand()
98 if (optind < 0 || optind > argc_) { in GetUnknownOptionMsg()
141 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseCreateCommandOpt()
273 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunCommand()
346 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseCommandOpt()
544 if (optind < 0 || optind >= argc_) { in RunCommandError()
/base/notification/common_event_service/tools/cem/include/
H A Dshell_command.h75 int argc_; member in OHOS::EventFwk::ShellCommand
/base/customization/enterprise_device_management/tools/edm/include/
H A Dshell_command.h44 int argc_; member in OHOS::EDM::ShellCommand
/base/notification/common_event_service/tools/cem/src/
H A Dshell_command.cpp28 argc_ = argc; in ShellCommand()
H A Dcommon_event_command.cpp102 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetPublishCmdInfo()
201 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr)) != -1) { in SetDumpCmdInfo()
/base/notification/distributed_notification_service/tools/dump/include/
H A Dshell_command.h99 int argc_; member in OHOS::Notification::ShellCommand
/base/powermgr/power_manager/utils/shell/src/
H A Dpower_shell_command.cpp247 int option = getopt_long(argc_, argv_, "h", SET_MODE_OPTIONS, &ind); in RunAsSetModeCommand()
283 int option = getopt_long(argc_, argv_, "abcde", WAKE_UP_TYPES, &ind); in RunAsWakeupCommand()
330 int option = getopt_long(argc_, argv_, "h", HIBERNATE_OPTIONS, &ind); in RunAsHibernateCommand()
431 int option = getopt_long(argc_, argv_, "hp:u:", PROXYLOCK_OPTIONS, &ind); in RunAsProxyLockCommand()
627 int option = getopt_long(argc_, argv_, "hrcs:o:b:d:", DISPLAY_OPTIONS, &ind); in RunAsDisplayCommand()
645 int option = getopt_long(argc_, argv_, "hro:", TIME_OUT_OPTIONS, &ind); in RunAsTimeOutCommand()
/base/customization/enterprise_device_management/tools/edm/src/
H A Dshell_command.cpp27 argc_ = argc; in ShellCommand()
H A Dedm_command.cpp128 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in ParseEnableAdminCommandOption()
/base/security/access_token/tools/accesstoken/include/
H A Datm_command.h57 int32_t argc_; member in OHOS::Security::AccessToken::final
/base/account/os_account/tools/acm/include/
H A Daccount_command.h149 int argc_ = 0; member in OHOS::AccountSA::AccountCommand

Completed in 8 milliseconds