Home
last modified time | relevance | path

Searched refs:options (Results 1 - 25 of 275) sorted by relevance

1234567891011

/base/startup/init/services/etc/appender/
H A Dfile_appender.py36 options, _ = parser.parse_args(args)
37 return options
77 def append_group_by_lines(options, source_dict):
78 for line in options.lines:
92 def append_group_by_files(options, source_dict):
93 for append_f in options.files:
98 def append_group_files(target_f, options):
99 with open(options.source_file, 'r') as source_f:
101 if options.files:
102 append_group_by_files(options, source_dic
[all...]
/base/telephony/state_registry/frameworks/cj/src/
H A Dtelephony_observer_ffi.cpp25 int32_t FfiTelephonyObserverOnNetworkStateChange(ObserverOptions options, int64_t funcId) in FfiTelephonyObserverOnNetworkStateChange() argument
27 return TelephonyObserverImpl::OnNetworkStateChange(options, funcId); in FfiTelephonyObserverOnNetworkStateChange()
40 int32_t FfiTelephonyObserverOnSignalInfoChange(ObserverOptions options, int64_t funcId) in FfiTelephonyObserverOnSignalInfoChange() argument
42 return TelephonyObserverImpl::OnSignalInfoChange(options, funcId); in FfiTelephonyObserverOnSignalInfoChange()
55 int32_t FfiTelephonyObserverOnCallStateChange(ObserverOptions options, int64_t funcId) in FfiTelephonyObserverOnCallStateChange() argument
57 return TelephonyObserverImpl::OnCallStateChange(options, funcId); in FfiTelephonyObserverOnCallStateChange()
71 ObserverOptions options, in FfiTelephonyObserverOnCellularDataConnectionStateChange()
74 return TelephonyObserverImpl::OnCellularDataConnectionStateChange(options, funcId); in FfiTelephonyObserverOnCellularDataConnectionStateChange()
87 int32_t FfiTelephonyObserverOnCellularDataFlowChange(ObserverOptions options, int64_t funcId) in FfiTelephonyObserverOnCellularDataFlowChange() argument
89 return TelephonyObserverImpl::OnCellularDataFlowChange(options, funcI in FfiTelephonyObserverOnCellularDataFlowChange()
70 FfiTelephonyObserverOnCellularDataConnectionStateChange( ObserverOptions options, int64_t funcId) FfiTelephonyObserverOnCellularDataConnectionStateChange() argument
102 FfiTelephonyObserverOnSimStateChange(ObserverOptions options, int64_t funcId) FfiTelephonyObserverOnSimStateChange() argument
119 ObserverOptions options; FfiTelephonyObserverOnIccAccountInfoChange() local
[all...]
H A Dtelephony_observer_ffi.h25 FFI_EXPORT int32_t FfiTelephonyObserverOnNetworkStateChange(ObserverOptions options, int64_t funcId);
28 FFI_EXPORT int32_t FfiTelephonyObserverOnSignalInfoChange(ObserverOptions options, int64_t funcId);
31 FFI_EXPORT int32_t FfiTelephonyObserverOnCallStateChange(ObserverOptions options, int64_t funcId);
35 ObserverOptions options,
39 FFI_EXPORT int32_t FfiTelephonyObserverOnCellularDataFlowChange(ObserverOptions options, int64_t funcId);
42 FFI_EXPORT int32_t FfiTelephonyObserverOnSimStateChange(ObserverOptions options, int64_t funcId);
/base/startup/init/services/etc/passwd_appender/
H A Dpasswd_appender.py37 options, _ = parser.parse_args(args)
38 return options
78 def append_group_by_lines(options, source_dict):
79 for line in options.lines:
93 def append_group_by_files(options, source_dict):
94 for append_f in options.files:
99 def append_group_files(target_f, options):
100 with open(options.source_file, 'r') as source_f:
102 if options.files:
103 append_group_by_files(options, source_dic
[all...]
/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test.cpp145 map<string, string> options = { { "year", "numeric" }, in HWTEST_F() local
153 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); in HWTEST_F()
181 map<string, string> options = { { "hourCycle", "h11" }, in HWTEST_F() local
184 LocaleInfo *loc = new (std::nothrow) LocaleInfo(locale, options); in HWTEST_F()
246 map<string, string> options = { { "dateStyle", dateStyle }, in HWTEST_F() local
250 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); in HWTEST_F()
275 map<string, string> options = { { "year", "numeric" }, in HWTEST_F() local
279 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); in HWTEST_F()
311 map<string, string> options = { { "useGrouping", useGrouping }, in HWTEST_F() local
317 NumberFormat *numFmt = new (std::nothrow) NumberFormat(locales, options); in HWTEST_F()
345 map<string, string> options = { { "style", style }, HWTEST_F() local
375 map<string, string> options = { { "style", style }, HWTEST_F() local
403 map<string, string> options = { { "style", style }, HWTEST_F() local
441 map<string, string> options = { { "style", style }, HWTEST_F() local
466 map<string, string> options = { { "style", style }, HWTEST_F() local
488 map<string, string> options = { HWTEST_F() local
545 map<string, string> options = {}; HWTEST_F() local
569 map<string, string> options = { { "timeZone", "America/Los_Angeles" }, { "timeZoneName", "long" } }; HWTEST_F() local
592 map<string, string> options = { HWTEST_F() local
623 map<string, string> options; HWTEST_F() local
686 map<string, string> options; HWTEST_F() local
726 map<string, string> options; HWTEST_F() local
785 map<string, string> options; HWTEST_F() local
826 map<string, string> options; HWTEST_F() local
857 map<string, string> options; HWTEST_F() local
886 map<string, string> options; HWTEST_F() local
924 map<string, string> options = { HWTEST_F() local
964 map<string, string> options = { HWTEST_F() local
1001 map<string, string> options; HWTEST_F() local
1051 map<string, string> options; HWTEST_F() local
1088 map<string, string> options = { HWTEST_F() local
1139 map<string, string> options = { HWTEST_F() local
1188 map<string, string> options = { HWTEST_F() local
1226 map<string, string> options = { HWTEST_F() local
1253 map<string, string> options = { HWTEST_F() local
1308 map<string, string> options = { HWTEST_F() local
1364 map<string, string> options = { HWTEST_F() local
1412 map<string, string> options = { HWTEST_F() local
1458 map<string, string> options = { HWTEST_F() local
1504 map<string, string> options = { HWTEST_F() local
1528 map<string, string> options = { HWTEST_F() local
1583 map<string, string> options = { HWTEST_F() local
1666 map<string, string> options; HWTEST_F() local
1714 map<string, string> options; HWTEST_F() local
1769 map<string, string> options; HWTEST_F() local
1824 map<string, string> options; HWTEST_F() local
1875 map<string, string> options; HWTEST_F() local
[all...]
/base/inputmethod/imf/frameworks/ndk/src/
H A Dinputmethod_attach_options_capi.cpp26 void OH_AttachOptions_Destroy(InputMethod_AttachOptions *options) in OH_AttachOptions_Destroy() argument
28 if (options == nullptr) { in OH_AttachOptions_Destroy()
31 delete options; in OH_AttachOptions_Destroy()
34 InputMethod_ErrorCode OH_AttachOptions_IsShowKeyboard(InputMethod_AttachOptions *options, bool *showKeyboard) in OH_AttachOptions_IsShowKeyboard() argument
36 if (options == nullptr) { in OH_AttachOptions_IsShowKeyboard()
37 IMSA_HILOGE("options is nullptr"); in OH_AttachOptions_IsShowKeyboard()
46 *showKeyboard = options->showKeyboard; in OH_AttachOptions_IsShowKeyboard()
/base/startup/appspawn/etc/sandbox/
H A Dappdata_sandbox_fixer.py195 options, _ = parser.parse_args(args)
196 return options
199 def __substitude_contents(options, source_file):
202 if not options.patterns:
204 for pattern in options.patterns:
210 def _get_json_list(options):
213 contents = __substitude_contents(options, options.source_file)
217 if options.extra_sandbox_cfgs is None:
221 for sandbox_cfg in options
[all...]
/base/account/os_account/test/fuzztest/appaccount/selectaccountsbyoptions_fuzzer/
H A Dselectaccountsbyoptions_fuzzer.cpp58 SelectAccountsOptions options; in SelectAccountsByOptionsFuzzTest() local
59 options.hasAccounts = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsFuzzTest()
60 options.hasOwners = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsFuzzTest()
61 options.hasLabels = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsFuzzTest()
62 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest()
63 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest()
65 result = AppAccountManager::SelectAccountsByOptions(options, callback); in SelectAccountsByOptionsFuzzTest()
/base/web/webview/interfaces/kits/napi/protos/
H A Dprotoc_runner.py37 options = parser.parse_args(argv)
39 protos_dir = os.path.relpath(options.protos_dir)
40 proto_files = options.protos
43 protoc_cmd = [os.path.realpath(options.protoc)]
44 if options.cpp_out:
45 cpp_out = options.cpp_out
/base/account/os_account/frameworks/appaccount/native/src/
H A Dapp_account_authenticator_stub.cpp66 std::shared_ptr<AAFwk::WantParams> options(data.ReadParcelable<AAFwk::WantParams>()); in ProcAddAccountImplicitly()
69 if ((options == nullptr) || (callback == nullptr)) { in ProcAddAccountImplicitly()
73 result = AddAccountImplicitly(authType, callerBundleName, *options, callback); in ProcAddAccountImplicitly()
87 std::shared_ptr<AAFwk::WantParams> options(data.ReadParcelable<AAFwk::WantParams>()); in ProcAuthenticate()
90 if ((options == nullptr) || (callback == nullptr)) { in ProcAuthenticate()
94 result = Authenticate(name, authType, callerBundleName, *options, callback); in ProcAuthenticate()
105 sptr<CreateAccountImplicitlyOptions> options = data.ReadParcelable<CreateAccountImplicitlyOptions>(); in ProcCreateAccountImplicitly() local
108 if ((options == nullptr) || (callback == nullptr)) { in ProcCreateAccountImplicitly()
112 result = CreateAccountImplicitly(*options, callback); in ProcCreateAccountImplicitly()
125 std::shared_ptr<AAFwk::WantParams> options(dat in ProcAuth()
144 sptr<VerifyCredentialOptions> options = data.ReadParcelable<VerifyCredentialOptions>(); ProcVerifyCredential() local
182 sptr<SetPropertiesOptions> options = data.ReadParcelable<SetPropertiesOptions>(); ProcSetProperties() local
[all...]
/base/notification/common_event_service/interfaces/kits/cj/src/
H A Dcommon_event_manager_impl.cpp38 CommonEventPublishDataBycj options) in PublishEventWithData()
43 if (options.parameters.size != 0) { in PublishEventWithData()
45 SetDataParameters(options.parameters, wantP); in PublishEventWithData()
48 auto data = CommonEventData(want, options.code, std::string(options.data)); in PublishEventWithData()
51 if (options.permissions.size != 0) { in PublishEventWithData()
53 charPtrToVector(options.permissions.head, options.permissions.size, subscriberPermissions); in PublishEventWithData()
56 publishInfo.SetOrdered(options.isOrdered); in PublishEventWithData()
57 publishInfo.SetSticky(options in PublishEventWithData()
37 PublishEventWithData(char *event, int32_t userId, CommonEventPublishDataBycj options) PublishEventWithData() argument
[all...]
/base/global/i18n/frameworks/intl/src/
H A Dcollator.cpp36 std::string Collator::ParseOption(std::map<std::string, std::string> &options, const std::string &key) in ParseOption() argument
38 std::map<std::string, std::string>::iterator it = options.find(key); in ParseOption()
39 if (it != options.end()) { in ParseOption()
46 void Collator::ParseAllOptions(std::map<std::string, std::string> &options) in ParseAllOptions() argument
48 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions()
53 usage = ParseOption(options, "usage"); in ParseAllOptions()
58 sensitivity = ParseOption(options, "sensitivity"); in ParseAllOptions()
63 ignorePunctuation = ParseOption(options, "ignorePunctuation"); in ParseAllOptions()
68 numeric = ParseOption(options, "numeric"); in ParseAllOptions()
69 caseFirst = ParseOption(options, "caseFirs in ParseAllOptions()
73 Collator(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options) Collator() argument
283 ResolvedOptions(std::map<std::string, std::string> &options) ResolvedOptions() argument
[all...]
H A Dplural_rules.cpp37 std::string PluralRules::ParseOption(std::map<std::string, std::string> &options, const std::string &key) in ParseOption() argument
39 std::map<std::string, std::string>::iterator it = options.find(key); in ParseOption()
40 if (it != options.end()) { in ParseOption()
63 void PluralRules::ParseAllOptions(std::map<std::string, std::string> &options) in ParseAllOptions() argument
65 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions()
67 type = ParseOption(options, "type"); in ParseAllOptions()
69 std::string minIntegerStr = ParseOption(options, "minimumIntegerDigits"); in ParseAllOptions()
75 std::string minFractionStr = ParseOption(options, "minimumFractionDigits"); in ParseAllOptions()
76 std::string maxFractionStr = ParseOption(options, "maximumFractionDigits"); in ParseAllOptions()
77 std::string minSignificantStr = ParseOption(options, "minimumSignificantDigit in ParseAllOptions()
102 InitPluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options) InitPluralRules() argument
155 PluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options) PluralRules() argument
[all...]
/base/global/i18n/interfaces/js/kits/src/
H A Dintl_addon.cpp173 void GetOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetOptionValue() argument
178 napi_status status = napi_typeof(env, options, &type); in GetOptionValue()
184 napi_status propStatus = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetOptionValue()
186 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetOptionValue()
200 int64_t GetIntegerOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetIntegerOptionValue() argument
206 napi_status status = napi_typeof(env, options, &type); in GetIntegerOptionValue()
212 napi_status propStatus = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetIntegerOptionValue()
214 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetIntegerOptionValue()
225 void GetBoolOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetBoolOptionValue() argument
230 napi_status status = napi_typeof(env, options, in GetBoolOptionValue()
248 GetDateOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetDateOptionValues() argument
271 GetRelativeTimeOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetRelativeTimeOptionValues() argument
556 GetNumberOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetNumberOptionValues() argument
991 SetOptionProperties(napi_env env, napi_value &result, std::map<std::string, std::string> &options, const std::string &option) SetOptionProperties() argument
1006 SetIntegerOptionProperties(napi_env env, napi_value &result, std::map<std::string, std::string> &options, const std::string &option) SetIntegerOptionProperties() argument
1025 SetBooleanOptionProperties(napi_env env, napi_value &result, std::map<std::string, std::string> &options, const std::string &option) SetBooleanOptionProperties() argument
1055 std::map<std::string, std::string> options = {}; GetRelativeTimeResolvedOptions() local
1078 std::map<std::string, std::string> options = {}; GetDateTimeResolvedOptions() local
1117 std::map<std::string, std::string> options = {}; GetNumberResolvedOptions() local
1166 GetCollatorLocaleMatcher(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorLocaleMatcher() argument
1181 GetCollatorUsage(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorUsage() argument
1196 GetCollatorSensitivity(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorSensitivity() argument
1211 GetCollatorIgnorePunctuation(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorIgnorePunctuation() argument
1226 GetCollatorNumeric(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorNumeric() argument
1239 GetCollatorCaseFirst(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorCaseFirst() argument
1252 GetCollatorCollation(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorCollation() argument
1281 GetCollatorOptionValue(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetCollatorOptionValue() argument
1562 std::map<std::string, std::string> options = {}; GetCollatorResolvedOptions() local
1575 GetPluralRulesType(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetPluralRulesType() argument
1590 GetPluralRulesInteger(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetPluralRulesInteger() argument
1607 GetPluralRulesFractions(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetPluralRulesFractions() argument
1634 GetPluralRulesSignificant(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetPluralRulesSignificant() argument
1667 GetPluralRulesOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map) GetPluralRulesOptionValues() argument
[all...]
/base/account/os_account/services/accountmgr/test/mock/app_account/
H A Dmock_app_account_authenticator_stub.h26 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback);
28 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback);
30 const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callback);
33 ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback);
35 ErrCode CreateAccountImplicitly(const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback);
36 ErrCode Auth(const std::string &name, const std::string &authType, const AAFwk::WantParams &options,
H A Dmock_app_account_authenticator_stub.cpp23 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in AddAccountImplicitly()
31 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in Authenticate()
38 const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callback) in VerifyCredential()
52 const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback) in SetProperties()
65 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) in CreateAccountImplicitly()
72 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in Auth()
21 AddAccountImplicitly( const std::string &authType, const std::string &callerBundleName, const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) AddAccountImplicitly() argument
29 Authenticate( const std::string &name, const std::string &authType, const std::string &callerBundleName, const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) Authenticate() argument
37 VerifyCredential( const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callback) VerifyCredential() argument
51 SetProperties( const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback) SetProperties() argument
64 CreateAccountImplicitly( const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) CreateAccountImplicitly() argument
71 Auth(const std::string &name, const std::string &authType, const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) Auth() argument
/base/account/os_account/frameworks/appaccount/native/include/
H A Diapp_account_authenticator.h31 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0;
34 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0;
36 const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callback) = 0;
39 virtual ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback) = 0;
42 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) = 0;
44 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0;
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/rule/
H A Dchain_rule_test.cpp78 std::string options = "source IP range 192.168.6.1-192.168.6.254"; in HWTEST_F() local
82 chainRule->GetOption(options, key, value); in HWTEST_F()
85 options = "destination IP range 192.168.5.1-192.168.5.254 udp spts:55:66 dpts:55:77"; in HWTEST_F()
89 chainRule->GetOption(options, key, value); in HWTEST_F()
92 options = "spt:55 dpt:55 owner UID match 6667"; in HWTEST_F()
96 chainRule->GetOption(options, key, intValue); in HWTEST_F()
109 std::string options = "source IP range 192.168.6.1-192.168.6.254"; in HWTEST_F() local
113 chainRule->TruncateOption(options, key, value); in HWTEST_F()
116 options = "destination IP range 192.168.5.1-192.168.5.254 udp spts:55:66 dpts:55:77"; in HWTEST_F()
120 chainRule->TruncateOption(options, ke in HWTEST_F()
[all...]
/base/account/os_account/test/fuzztest/appaccount_stub/selectaccountsbyoptionsstub_fuzzer/
H A Dselectaccountsbyoptionsstub_fuzzer.cpp45 SelectAccountsOptions options; in SelectAccountsByOptionsStubFuzzTest() local
46 options.hasAccounts = fuzzData.GenerateRandomBool(); in SelectAccountsByOptionsStubFuzzTest()
47 options.hasOwners = fuzzData.GenerateRandomBool(); in SelectAccountsByOptionsStubFuzzTest()
48 options.hasLabels = fuzzData.GenerateRandomBool(); in SelectAccountsByOptionsStubFuzzTest()
49 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest()
50 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest()
60 if (!dataTemp.WriteParcelable(&options)) { in SelectAccountsByOptionsStubFuzzTest()
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/
H A Dchain_rule.cpp64 void ChainRule::GetOption(const std::string& options, const std::string& key, std::string& value) in GetOption() argument
67 TruncateOption(options, key, result); in GetOption()
74 void ChainRule::GetOption(const std::string& options, const std::string& key, uint32_t& value) in GetOption() argument
77 TruncateOption(options, key, result); in GetOption()
84 void ChainRule::TruncateOption(const std::string& options, const std::string& key, std::string &result) in TruncateOption() argument
86 auto index = options.find(key); in TruncateOption()
88 result = options.substr(index + key.length()); in TruncateOption()
/base/global/i18n/frameworks/intl/test/fuzztest/collator_fuzzer/
H A Dcollator_fuzzer.cpp31 std::map<std::string, std::string> options; in DoSomethingInterestingWithMyAPI() local
32 options[input] = input; in DoSomethingInterestingWithMyAPI()
33 Collator collator(localeTags, options); in DoSomethingInterestingWithMyAPI()
35 collator.ResolvedOptions(options); in DoSomethingInterestingWithMyAPI()
/base/update/updater/services/script/
H A Dgenerate_yacc.py26 options = parser.parse_args() variable
28 yacc_path = options.output
35 bison_cmd = ['bison', '-o', parser_file, options.bisoninput]
37 flex_cmd = ['flex', '-+', '-o', lexer_file, options.flexinput]
/base/account/os_account/frameworks/domain_account/test/moduletest/src/
H A Dmock_domain_plugin.cpp131 const GetDomainAccountInfoOptions &options, const std::shared_ptr<DomainAccountCallback> &callback) in GetDomainAccountInfo()
134 if (options.accountInfo.accountName_ == ACCOUNT_NAME) { in GetDomainAccountInfo()
136 parameters.SetParam("domain", OHOS::AAFwk::String::Box(options.accountInfo.domain_)); in GetDomainAccountInfo()
137 parameters.SetParam("accountName", OHOS::AAFwk::String::Box(options.accountInfo.accountName_)); in GetDomainAccountInfo()
142 if (options.accountInfo.accountName_ == STRING_NAME) { in GetDomainAccountInfo()
144 parameters.SetParam("domain", OHOS::AAFwk::String::Box(options.accountInfo.domain_)); in GetDomainAccountInfo()
145 parameters.SetParam("accountName", OHOS::AAFwk::String::Box(options.accountInfo.accountName_)); in GetDomainAccountInfo()
150 if (options.accountInfo.accountName_ == STRING_NAME_NEW) { in GetDomainAccountInfo()
152 parameters.SetParam("domain", OHOS::AAFwk::String::Box(options.accountInfo.domain_)); in GetDomainAccountInfo()
153 parameters.SetParam("accountName", OHOS::AAFwk::String::Box(options in GetDomainAccountInfo()
130 GetDomainAccountInfo( const GetDomainAccountInfoOptions &options, const std::shared_ptr<DomainAccountCallback> &callback) GetDomainAccountInfo() argument
[all...]
/base/account/os_account/services/accountmgr/include/appaccount/
H A Dapp_account_authenticator_proxy.h30 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override;
33 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override;
35 const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callback) override;
38 ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback) override;
41 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) override;
43 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override;
/base/global/i18n/frameworks/intl/test/fuzztest/phonenumberformat_fuzzer/
H A Dphonenumberformat_fuzzer.cpp31 std::map<std::string, std::string> options; in DoSomethingInterestingWithMyAPI() local
32 options[input] = input; in DoSomethingInterestingWithMyAPI()
33 PhoneNumberFormat formatter(input, options); in DoSomethingInterestingWithMyAPI()
40 PhoneNumberFormat::CreateInstance(input, options); in DoSomethingInterestingWithMyAPI()

Completed in 10 milliseconds

1234567891011