Home
last modified time | relevance | path

Searched refs:propertyList (Results 1 – 11 of 11) sorted by relevance

/base/print/print_fwk/frameworks/helper/src/
Dprint_resolution_helper.cpp57 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
65 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
69 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
72 for (auto propertypItem : propertyList) { in ValidateProperty()
Dprint_preview_attribute_helper.cpp74 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
81 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
85 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
88 for (auto propertypItem : propertyList) { in ValidateProperty()
Dprint_range_helper.cpp110 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
118 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
122 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
124 bool hasStartPage = propertyList[PARAM_RANGE_STARTPAGE] == PRINT_PARAM_SET; in ValidateProperty()
125 bool hasEndPage = propertyList[PARAM_RANGE_ENDPAGE] == PRINT_PARAM_SET; in ValidateProperty()
126 bool hasPages = propertyList[PARAM_RANGE_PAGES] == PRINT_PARAM_SET; in ValidateProperty()
Dprint_page_size_helper.cpp71 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
80 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
84 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
87 for (auto propertypItem : propertyList) { in ValidateProperty()
Dprint_margin_helper.cpp87 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
96 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
100 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
Dprinter_info_helper.cpp119 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
131 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
135 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
138 for (auto propertypItem : propertyList) { in ValidateProperty()
Dprinter_capability_helper.cpp177 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
188 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
192 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
195 for (auto propertypItem : propertyList) { in ValidateProperty()
Dprint_job_helper.cpp254 std::map<std::string, PrintParamStatus> propertyList = { in ValidateProperty() local
274 if (propertyList.find(name) == propertyList.end()) { in ValidateProperty()
278 propertyList[name] = PRINT_PARAM_SET; in ValidateProperty()
281 for (auto propertypItem : propertyList) { in ValidateProperty()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account.cpp307 std::vector<PropertyType> propertyList = { PropertyType::NAME }; in RemoveAccountInternal() local
309 …if ((!ParseContextForAppAccount(env, cbInfo, asyncContext.get(), propertyList, &result)) && isThro… in RemoveAccountInternal()
340 std::vector<PropertyType> propertyList = {PropertyType::NAME, PropertyType::BUNDLE_NAME}; in DisableAppAccess() local
342 ParseContextForAppAccount(env, cbInfo, asyncContext.get(), propertyList, &result); in DisableAppAccess()
369 std::vector<PropertyType> propertyList = {PropertyType::NAME, PropertyType::BUNDLE_NAME}; in EnableAppAccess() local
371 ParseContextForAppAccount(env, cbInfo, asyncContext.get(), propertyList, &result); in EnableAppAccess()
399 std::vector<PropertyType> propertyList = { in SetAppAccess() local
402 if (!ParseContextForAppAccount(env, cbInfo, context.get(), propertyList, &result)) { in SetAppAccess()
439 std::vector<PropertyType> propertyList = { PropertyType::NAME }; in CheckDataSyncEnabledInternal() local
441 …if ((!ParseContextForAppAccount(env, cbInfo, asyncContext.get(), propertyList, &result)) && isThro… in CheckDataSyncEnabledInternal()
[all …]
Dnapi_app_account_common.cpp632 …OAuthAsyncContext *asyncContext, const std::vector<PropertyType> &propertyList, napi_value *result) in ParseContextForOAuth() argument
635 size_t argcSize = propertyList.size() + 1; in ParseContextForOAuth()
647 for (uint32_t i = 0; i < propertyList.size(); i++) { in ParseContextForOAuth()
648 if (!ParseContextOAuthProperty(env, argv[i], propertyList[i], asyncContext)) { in ParseContextForOAuth()
701 …AppAccountAsyncContext *context, const std::vector<PropertyType> &propertyList, napi_value *result) in ParseContextForAppAccount() argument
703 size_t argcSize = propertyList.size() + 1; in ParseContextForAppAccount()
715 for (size_t i = 0; i < propertyList.size(); i++) { in ParseContextForAppAccount()
716 if (!ParseAppAccountProperty(env, argv[i], propertyList[i], context)) { in ParseContextForAppAccount()
717 context->errMsg = ErrMsgList[propertyList[i]]; in ParseContextForAppAccount()
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_app_account_common.h281 …OAuthAsyncContext *asyncContext, const std::vector<PropertyType> &propertyList, napi_value *result…
284 …AppAccountAsyncContext *asyncContext, const std::vector<PropertyType> &propertyList, napi_value *r…