/foundation/ability/idl_tool/test/unittest/cacheable_test/ |
H A D | cacheable_common.h | 31 ParameterArgv(const char** args, const int argc) : argc_(argc)
in ParameterArgv() 33 argv_ = new char* [argc_] {nullptr};
in ParameterArgv() 34 for (int i = 0; i < argc_; ++i) {
in ParameterArgv() 49 for (int i = 0; i < argc_; ++i) {
in ~ParameterArgv() 66 const int argc_;
member in OHOS::Idl::TestCommon::ParameterArgv
|
H A D | cacheable_test.cpp | 68 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 92 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 116 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 140 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 164 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 188 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 212 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 236 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 260 Options options(parameters.argc_, parameters.argv_); in HWTEST_F() 284 Options options(parameters.argc_, parameter in HWTEST_F() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | napi_arg.cpp | 22 argc_ = 0; in Init() 45 argc_ = argc; in Init() 53 return argc_; in GetArgc() 63 return (pos < argc_) ? argv_[pos] : nullptr; in GetArgv()
|
H A D | napi_arg.h | 45 size_t argc_ = 0; member in OHOS::AppExecFwk::NapiArg
|
/foundation/ability/idl_tool/test/ts/common/ |
H A D | idl_common.h | 135 ParameterArgv(const char** args, const int argc) : argc_(argc) in ParameterArgv() 137 argv_ = new char* [argc_] {nullptr}; in ParameterArgv() 138 for (int i = 0; i < argc_; ++i) { in ParameterArgv() 152 for (int i = 0; i < argc_; ++i) { in ~ParameterArgv() 169 const int argc_; member in OHOS::Idl::TestCommon::ParameterArgv
|
/foundation/ability/idl_tool/test/rust/common/ |
H A D | idl_common.h | 135 ParameterArgv(const char** args, const int argc) : argc_(argc) in ParameterArgv() 137 argv_ = new char* [argc_] {nullptr}; in ParameterArgv() 138 for (int i = 0; i < argc_; ++i) { in ParameterArgv() 152 for (int i = 0; i < argc_; ++i) { in ~ParameterArgv() 169 const int argc_; member in OHOS::Idl::TestCommon::ParameterArgv
|
/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/ |
H A D | js_component_snapshot.cpp | 98 JsComponentSnapshot::JsComponentSnapshot(napi_env env, napi_callback_info info) : env_(env), argc_(ARGC_MAX) in JsComponentSnapshot() 104 napi_get_cb_info(env, info, &argc_, argv_, &thisVar, &data); in JsComponentSnapshot() 112 if (argc_ < minArgc) { in CheckArgs() 119 if (argc_ > ARGC_MAX) { in CheckArgs() 141 if (argc_ >= 2) { in CreateCallback() 175 if (argc_ >= 2) { in ParseParamForBuilder() 183 if (argc_ >= 3) { in ParseParamForBuilder() 187 if (argc_ >= 4) { in ParseParamForBuilder() 191 if (argc_ == 5) { in ParseParamForBuilder() 199 if (argc_ > in ParseParamForGet() [all...] |
H A D | js_component_snapshot.h | 54 size_t argc_ = ARGC_MAX; member in OHOS::OHOS::Ace::Napi::JsComponentSnapshot
|
/foundation/deviceprofile/device_info_manager/old/tools/dp/src/ |
H A D | dp_command.cpp | 174 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in QueryCommand() 176 if (optind < 0 || optind > argc_) { in QueryCommand() 206 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in PutCommand() 208 if (optind < 0 || optind > argc_) { in PutCommand() 240 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in DeleteCommand() 242 if (optind < 0 || optind > argc_) { in DeleteCommand() 266 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in SyncCommand() 268 if (optind < 0 || optind > argc_) { in SyncCommand() 301 int option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in SubscribeCommand() 303 if (optind < 0 || optind > argc_) { in SubscribeCommand() [all...] |
H A D | shell_command.cpp | 38 argc_ = argc; in ShellCommand() 103 if (optind < 0 || optind > argc_) { in GetUnknownOptionMsg()
|
/foundation/bundlemanager/bundle_tool/frameworks/src/ |
H A D | bundle_command.cpp | 274 if (index >= argc_ || index < INDEX_OFFSET) { in IsInstallOption() 301 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS_COPY_AP.c_str(), in RunAsCopyApCommand() 304 if (optind < 0 || optind > argc_) { in RunAsCopyApCommand() 314 if (optind < 0 || optind > argc_) { in RunAsCopyApCommand() 409 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS_COMPILE.c_str(), LONG_OPTIONS_COMPILE, nullptr); in RunAsCompileCommand() 411 if (optind < 0 || optind > argc_) { in RunAsCompileCommand() 518 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsInstallCommand() 520 if (optind < 0 || optind > argc_) { in RunAsInstallCommand() 646 for (; index < argc_ && index >= INDEX_OFFSET; ++index) { in RunAsInstallCommand() 659 for (; hspIndex < argc_ in RunAsInstallCommand() [all...] |
H A D | bundle_test_tool.cpp | 1110 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsCheckCommand() 1112 if (optind < 0 || optind > argc_) { in RunAsCheckCommand() 1298 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsSetRemovableCommand() 1299 if (optind < 0 || optind > argc_) { in RunAsSetRemovableCommand() 1342 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS.c_str(), LONG_OPTIONS, nullptr); in RunAsGetRemovableCommand() 1344 if (optind < 0 || optind > argc_) { in RunAsGetRemovableCommand() 1490 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS_SANDBOX.c_str(), LONG_OPTIONS_SANDBOX, nullptr); in RunAsInstallSandboxCommand() 1492 if (optind < 0 || optind > argc_) { in RunAsInstallSandboxCommand() 1546 int32_t option = getopt_long(argc_, argv_, SHORT_OPTIONS_SANDBOX.c_str(), LONG_OPTIONS_SANDBOX, nullptr); in RunAsUninstallSandboxCommand() 1548 if (optind < 0 || optind > argc_) { in RunAsUninstallSandboxCommand() [all...] |
H A D | shell_command.cpp | 27 argc_ = argc; in ShellCommand() 97 if (optind < 0 || optind > argc_) { in GetUnknownOptionMsg()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/ |
H A D | drawing_demo.cpp | 32 argc_ = argc; in DrawingDemo() 33 for (int i = 0; i < argc_; i++) { in DrawingDemo() 51 if (argc_ <= INDEX_DRAWING_TYPE) { in Test() 186 if (argc_ <= INDEX_CASE_NAME) { in GetFunctionalParam() 200 if (argc_ > INDEX_FUNCTION_TIME) { in GetFunctionalParam() 261 if (argc_ <= INDEX_COUNT) { in GetPerformanceParam() 284 if (argc_ > INDEX_PERFORMANCE_TIME) { in GetPerformanceParam()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | napi_func_arg.cpp | 33 argc_ = argc; in SetArgc() 43 return argc_; in GetArgc()
|
H A D | napi_func_arg.h | 63 size_t argc_ = 0; member in OHOS::AppExecFwk::LIBZIP::final
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/ |
H A D | n_func_arg.cpp | 28 argc_ = argc; in SetArgc() 38 return argc_; in GetArgc()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/ |
H A D | n_func_arg.cpp | 30 argc_ = argc; in SetArgc() 40 return argc_; in GetArgc()
|
H A D | n_func_arg.h | 56 size_t argc_ = 0; member in OHOS::DistributedFS::final
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/ |
H A D | n_func_arg.cpp | 32 argc_ = argc; in SetArgc() 41 return argc_; in GetArgc()
|
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | ability_command.cpp | 152 for (int i = 0; i < argc_; i++) { in AbilityManagerShellCommand() 339 int option = getopt_long(argc_, argv_, SHORT_OPTIONS_DUMPSYS.c_str(), LONG_OPTIONS_DUMPSYS, nullptr); in RunAsDumpsysCommand() 344 if (optind < 0 || optind > argc_) { in RunAsDumpsysCommand() 537 for (auto index = INDEX_OFFSET; index < argc_; ++index) { in RunAsForceStop() 542 if (index <= argc_) { in RunAsForceStop() 549 if (index <= argc_) { in RunAsForceStop() 701 option = getopt_long(argc_, argv_, SHORT_OPTIONS_APPDEBUG.c_str(), LONG_OPTIONS_APPDEBUG, nullptr); in ParseAppDebugParameter() 703 if (optind < 0 || optind > argc_) { in ParseAppDebugParameter() 870 if (optind + extraArguments >= argc_) return false; in CheckParameters() 873 while (index < argc_ in CheckParameters() [all...] |
H A D | shell_command.cpp | 27 argc_ = argc; in ShellCommand() 104 if (optind < 0 || optind > argc_) { in GetUnknownOptionMsg()
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/ |
H A D | n_func_arg.h | 59 size_t argc_ = 0; member in OHOS::FileManagement::LibN::final
|
/foundation/ability/ability_runtime/tools/aa/include/ |
H A D | shell_command.h | 53 int argc_ = 0; member in OHOS::AAFwk::ShellCommand
|
/foundation/bundlemanager/bundle_tool/frameworks/include/ |
H A D | shell_command.h | 52 int argc_; member in OHOS::AppExecFwk::ShellCommand
|