Home
last modified time | relevance | path

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

/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_func_arg.cpp48 return (argPos < GetArgc()) ? argv_[argPos] : nullptr; in GetArg()
59 argv_.reset(); in InitArgs()
68 argv_ = make_unique<napi_value[]>(argc); in InitArgs()
69 status = napi_get_cb_info(env_, info_, &argc, argv_.get(), &thisVar, nullptr); in InitArgs()
Dn_func_arg.h82 std::unique_ptr<napi_value[]> argv_ = {nullptr}; variable
/base/notification/common_event_service/tools/cem/include/
Dshell_command.h83 char **argv_; variable
/base/account/os_account/tools/acm/src/
Daccount_command.cpp49 ACCOUNT_LOGD("argv_[%{public}d]: %{public}s", i, argv_[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()
472 if (strcmp(argv_[optind], cmd_.c_str()) == 0) { in RunCommandError()
/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()
136 if (strcmp(argv_[optind], cmd_.c_str()) == 0) { in RunAsCommandError()
299 int32_t option = getopt_long(argc_, argv_, shortOption.c_str(), longOption, nullptr); in HandleComplexCommand()
/base/notification/distributed_notification_service/tools/dump/include/
Dshell_command.h100 char **argv_; variable
/base/notification/common_event_service/tools/cem/src/
Dshell_command.cpp29 argv_ = argv; 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.h64 char** argv_; 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()
/base/notification/distributed_notification_service/tools/dump/src/
Dshell_command.cpp27 argv_ = argv; in ShellCommand()
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()