Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 139) sorted by relevance

123456

/ohos5.0/foundation/ability/ability_runtime/tools/aa/src/
H A Daccessibility_ability_command.cpp422 std::string name = argument.bundleName + "/" + argument.abilityName; in RunAsEnableAbility()
448 std::string name = argument.bundleName + "/" + argument.abilityName; in RunAsDisableAbility()
526 if (argument.bundleName.empty() || argument.bundleName[0] == '-') { in CheckBundleArgument()
545 if (argument.abilityName.empty() || argument.abilityName[0] == '-') { in CheckAbilityArgument()
607 argument.capabilityNamesArgumentNum + argument.unknownArgumentNum; in CheckEnableCommandArgument()
610 if (argument.bundleArgumentNum > 1 || argument.abilityArgumentNum > 1 || in CheckEnableCommandArgument()
640 argument.bundleName.c_str(), argument.abilityName.c_str()); in CheckEnableCommandArgument()
681 argument.capabilityNamesArgumentNum + argument.unknownArgumentNum; in CheckCommandArgument()
684 if (argument.bundleArgumentNum > 1 || argument.abilityArgumentNum > 1) { in CheckCommandArgument()
709 argument.bundleName.c_str(), argument.abilityName.c_str()); in CheckCommandArgument()
[all …]
/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/
H A Daccessibility_ability_command_second_test.cpp474 argument.bundleArgumentNum = 1;
475 argument.bundleName = "bundle";
508 argument.bundleArgumentNum = 1;
509 argument.bundleName = "bundle";
536 argument.bundleArgumentNum = 1;
537 argument.bundleName = "bundle";
565 argument.bundleArgumentNum = 0;
566 argument.bundleName = "bundle";
593 argument.bundleArgumentNum = 1;
594 argument.bundleName = "bundle";
[all …]
H A Daccessibility_ability_command_first_test.cpp179 argument.abilityArgumentNum = 0;
226 argument.abilityName[0] = '-';
272 argument.bundleArgumentNum = 0;
295 argument.bundleArgumentNum = 2;
318 argument.bundleArgumentNum = 1;
319 argument.bundleName[0] = '-';
342 argument.bundleArgumentNum = 1;
462 argument.setArgumentNum = 2;
486 argument.setArgumentNum = 0;
510 argument.setArgumentNum = 0;
[all …]
/ohos5.0/foundation/ability/ability_runtime/tools/aa/include/
H A Daccessibility_ability_command.h57 ErrCode MakeEnableCommandArgumentFromCmd(AccessibilityCommandArgument& argument);
58 void CheckEnableCommandOption(const int option, AccessibilityCommandArgument& argument);
59 ErrCode MakeDisableCommandArgumentFromCmd(AccessibilityCommandArgument& argument);
63 const AccessibilityCommandArgument& argument,
66 const AccessibilityCommandArgument& argument,
69 const AccessibilityCommandArgument& argument,
73 const AccessibilityCommandArgument& argument,
95 ErrCode MakeSetShortKeyTargetCommandArgumentFromCmd(AccessibilityCommandArgument& argument);
96 ErrCode MakeSetCommandArgumentFromCmd(AccessibilityCommandArgument& argument);
97 ErrCode MakeCommandArgumentFromCmd(AccessibilityCommandArgument& argument);
[all …]
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_argument.cpp35 DHCP_LOGE("%s format error.", argument); in PutIpArgument()
38 return PutArgument(argument, val); in PutIpArgument()
50 return PutArgument(argument, val); in PutPoolArgument()
61 DHCP_LOGI("Input argument is: [%s], value is [%s]", (argument == nullptr) ? "" : argument, in DefaultArgument()
104 int HasArgument(const char *argument) in HasArgument() argument
107 if (!argument) { in HasArgument()
110 size_t ssize = strlen(argument); in HasArgument()
223 int PutArgument(const char *argument, const char *val) in PutArgument() argument
226 if (!argument) { in PutArgument()
233 if (HasArgument(argument)) { in PutArgument()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/
H A Dmain.py46 argument = parser.parse_args()
47 argument.input_file = argument.i
48 argument.detailed = argument.m
49 argument.dump_from_device = argument.r
50 argument.debug = argument.d
51 return argument
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_timer_list.cpp95 void TimerList::ReleaseArguments(Arguments *&argument) in ReleaseArguments() argument
97 if (argument) { in ReleaseArguments()
98 jerry_release_value(argument->func); in ReleaseArguments()
99 if ((argument->argsNum > 0) && (argument->args != nullptr)) { in ReleaseArguments()
100 for (uint32_t i = 0; i < argument->argsNum; i++) { in ReleaseArguments()
101 jerry_release_value((argument->args)[i]); in ReleaseArguments()
104 ACE_FREE(argument->args); in ReleaseArguments()
105 delete argument; in ReleaseArguments()
106 argument = nullptr; in ReleaseArguments()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Djs_third_accessibility_hover_ng.cpp356 argument.useWindowId = true; in GetDumpInfoArgument()
366 argument.mode = DumpMode::HOVER_TEST; in GetDumpInfoArgument()
374 argument.pointX = StringUtils::StringToInt(*arg); in GetDumpInfoArgument()
378 argument.verbose = true; in GetDumpInfoArgument()
380 argument.mode = DumpMode::TREE; in GetDumpInfoArgument()
382 if (argument.mode == DumpMode::NODE) { in GetDumpInfoArgument()
383 argument.mode = DumpMode::HANDLE_EVENT; in GetDumpInfoArgument()
387 argument.mode = DumpMode::NODE; in GetDumpInfoArgument()
426 DumpInfoArgument argument; in OnDumpChildInfoForThirdRecursive() local
427 if (GetDumpInfoArgument(params, argument) == false) { in OnDumpChildInfoForThirdRecursive()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_javascript_result_callback.cpp28 std::shared_ptr<WebJSValue> GetWebJSValueHelper(std::shared_ptr<NWebValue> argument) in GetWebJSValueHelper() argument
30 if (!argument) { in GetWebJSValueHelper()
34 switch (argument->GetType()) { in GetWebJSValueHelper()
36 return std::make_shared<WebJSValue>(argument->GetInt()); in GetWebJSValueHelper()
38 return std::make_shared<WebJSValue>(argument->GetDouble()); in GetWebJSValueHelper()
40 return std::make_shared<WebJSValue>(argument->GetBoolean()); in GetWebJSValueHelper()
42 return std::make_shared<WebJSValue>(argument->GetString()); in GetWebJSValueHelper()
44 size_t length = argument->GetListValueSize(); in GetWebJSValueHelper()
54 auto dict = argument->GetDictionaryValue(); in GetWebJSValueHelper()
62 auto size = argument->GetBinaryValueSize(); in GetWebJSValueHelper()
[all …]
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Devent_query_wrapper_builder.cpp291 void BaseEventQueryWrapper::SetQueryArgument(QueryArgument argument) in SetQueryArgument() argument
295 ", toSeq=%{public} " PRId64 ".", argument.beginTime, argument.endTime, in SetQueryArgument()
296 argument.maxEvents, argument.fromSeq, argument.toSeq); in SetQueryArgument()
297 argument_ = argument; in SetQueryArgument()
470 const QueryArgument& argument, std::shared_ptr<EventStore::SysEventQuery> query) in CreateQueryWrapperByArgument() argument
472 …if (argument.fromSeq != INVALID_SEQ && argument.toSeq != INVALID_SEQ && argument.fromSeq < argumen… in CreateQueryWrapperByArgument()
478 void EventQueryWrapperBuilder::InitQueryWrapper(const QueryArgument& argument) in InitQueryWrapper() argument
482 ", toSeq=%{public} " PRId64 ".", argument.beginTime, argument.endTime, in InitQueryWrapper()
483 argument.maxEvents, argument.fromSeq, argument.toSeq); in InitQueryWrapper()
484 queryWrapper_ = CreateQueryWrapperByArgument(argument, nullptr); in InitQueryWrapper()
[all …]
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_common.c451 (void)argument; in ReportMainLoopStopInner()
513 (void)argument; in DeviceDiscoverInner()
521 (void)argument; in DeviceDiscoverInnerAn()
540 static void DiscConfig(void *argument) in DiscConfig() argument
565 (void)argument; in DeviceDiscoverStopInner()
800 (void)argument; in SubscribeModuleInner()
819 (void)argument; in UnsubscribeModuleInner()
1223 char *serviceData = argument; in RegisterServiceDataInner()
1271 char *businessData = argument; in RegisterBusinessDataInner()
1744 (void)argument; in DeviceDiscoverInnerRestart()
[all …]
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-64bits-coding-guide.md232 format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka l…
233 format ‘%zx’ expects argument of type ‘size_t’, but argument 2 has type ‘uint64_t {aka long long un…
234 format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘uint64_t {aka long long uns…
237 format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t …
238 format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘uint64_t {aka long unsigned…
/ohos5.0/base/telephony/core_service/test/fuzztest/isvalidnumberstring_fuzzer/
H A Disvalidnumberstring_fuzzer.cpp43 char argument = static_cast<char>(*data + offset); in DoSomethingInterestingWithMyAPI() local
51 simNumberDecode->CharToBCD(argument, result, bcdExtType); in DoSomethingInterestingWithMyAPI()
53 simNumberDecode->BcdToChar(result, argument, bcdExtType); in DoSomethingInterestingWithMyAPI()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-securityLabel.md72 | 13900020 | Invalid argument |
115 | 13900020 | Invalid argument |
159 | 13900020 | Invalid argument |
201 | 13900020 | Invalid argument |
243 | 13900020 | Invalid argument |
292 | 13900020 | Invalid argument |
H A Djs-apis-file-environment-sys.md38 | 13900020 | Invalid argument |
74 | 13900020 | Invalid argument |
112 | 13900020 | Invalid argument |
148 | 13900020 | Invalid argument |
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-loglibrary-sys.md58 | 401 | Invalid argument.|
105 | 401 | Invalid argument.|
157 | 401 | Invalid argument.|
210 | 401 | Invalid argument.|
262 | 401 | Invalid argument.|
308 | 401 | Invalid argument.|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-library-kit/
H A Djs-apis-sendablePhotoAccessHelper.md89 | 13900020 | Invalid argument. |
228 | 13900020 | Invalid argument. |
287 | 13900020 | Invalid argument. |
352 | 13900020 | Invalid argument. |
407 | 13900020 | Invalid argument. |
465 | 13900020 | Invalid argument. |
519 | 13900020 | Invalid argument. |
569 | 13900020 | Invalid argument. |
622 | 13900020 | Invalid argument. |
685 | 13900020 | Invalid argument. |
[all …]
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_argument.h54 int HasArgument(const char *argument);
56 int PutArgument(const char *argument, const char *val);
/ohos5.0/base/telephony/core_service/test/fuzztest/isshowableasciionly_fuzzer/
H A Disshowableasciionly_fuzzer.cpp37 char argument = static_cast<char>(*data); in DoSomethingInterestingWithMyAPI() local
44 simUtils->HexCharConvertToInt(argument); in DoSomethingInterestingWithMyAPI()
/ohos5.0/drivers/hdf_core/framework/model/storage/src/mmc/
H A Dmmc_protocol.c124 cmd.argument = 0; in MmcGoIdleState()
143 cmd.argument = arg; in MmcSendOpCond()
182 cmd.argument = 0; in MmcAllSendCid()
236 cmd.argument = 0; in MmcSendExtCsd()
504 cmd.argument = arg; in MmcSendEraseStartCmd()
533 cmd.argument = arg; in MmcSendEraseEndCmd()
557 cmd.argument = arg; in MmcSendEraseCmd()
1768 cmd.argument = 0; in SdAcmdSdStatus()
1799 cmd.argument = 0; in SdAppSendScr()
1866 cmd.argument = 0; in SdCmdSendRelativeAddr()
[all …]
/ohos5.0/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
H A Devent_query_wrapper_builder.h59 void SetQueryArgument(QueryArgument argument);
138 … std::shared_ptr<BaseEventQueryWrapper> CreateQueryWrapperByArgument(const QueryArgument& argument,
140 void InitQueryWrapper(const QueryArgument& argument);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_web_controller.cpp29 if (!argument || !vm) { in ToJsValueHelper()
33 switch (argument->GetType()) { in ToJsValueHelper()
35 return ToJSValue(argument->GetInt()); in ToJsValueHelper()
37 return ToJSValue(argument->GetDouble()); in ToJsValueHelper()
39 return ToJSValue(argument->GetBoolean()); in ToJsValueHelper()
41 return ToJSValue(argument->GetString()); in ToJsValueHelper()
43 size_t length = argument->GetListValueSize(); in ToJsValueHelper()
46 auto nPtr = std::make_shared<WebJSValue>(argument->GetListValue(i)); in ToJsValueHelper()
56 auto dict = argument->GetDictionaryValue(); in ToJsValueHelper()
64 auto size = argument->GetBinaryValueSize(); in ToJsValueHelper()
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-file-securityLabel.md72 | 13900020 | Invalid argument |
115 | 13900020 | Invalid argument |
159 | 13900020 | Invalid argument |
201 | 13900020 | Invalid argument |
243 | 13900020 | Invalid argument |
292 | 13900020 | Invalid argument |
/ohos5.0/docs/en/application-dev/reference/apis-arkgraphics2d/
H A D_native_window.md270 | SET_STRIDE | Setting the stride for the local window buffer, in bytes.<br>Variable argument in th…
271 | GET_STRIDE | Obtaining the stride of the local window buffer, in bytes.<br>Variable argument in t…
272 | SET_SWAP_INTERVAL | Setting the swap interval for the local window buffer.<br>Variable argument i…
273 | GET_SWAP_INTERVAL | Obtaining the swap interval of the local window buffer.<br>Variable argument
274 … the local window buffer, in ms.<br>Default value: 3000 ms.<br>Variable argument in the function: …
275 … the local window buffer, in ms.<br>Default value: 3000 ms.<br>Variable argument in the function: …
280 | SET_UI_TIMESTAMP | Setting the UI timestamp for the local window buffer.<br>Variable argument in …
281 | GET_BUFFERQUEUE_SIZE<sup>12+</sup> | Obtaining the memory queue size.<br>Variable argument in the…
284 …Setting the application framework name of the local window.<br>Variable argument in the function: …
285 …taining the application framework name of the local window.<br>Variable argument in the function: …
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-media-library-kit/
H A Djs-apis-sendablePhotoAccessHelper.md89 | 13900020 | Invalid argument. |
228 | 13900020 | Invalid argument. |
287 | 13900020 | Invalid argument. |
352 | 13900020 | Invalid argument. |
407 | 13900020 | Invalid argument. |
465 | 13900020 | Invalid argument. |
519 | 13900020 | Invalid argument. |
569 | 13900020 | Invalid argument. |
622 | 13900020 | Invalid argument. |
684 | 13900020 | Invalid argument. |
[all …]

123456