Searched refs:propertyInfo (Results 1 - 3 of 3) sorted by relevance
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/ |
H A D | installer.cpp | 581 PropertyInfo propertyInfo = { in ParseBundleName() local 587 bool res = CommonFunc::ParsePropertyFromObject(env, args, propertyInfo, property); in ParseBundleName() 605 PropertyInfo propertyInfo = { in ParseModuleName() local 611 bool res = CommonFunc::ParsePropertyFromObject(env, args, propertyInfo, property); in ParseModuleName() 628 PropertyInfo propertyInfo = { in ParseVersionCode() local 634 bool res = CommonFunc::ParsePropertyFromObject(env, args, propertyInfo, property); in ParseVersionCode() 649 PropertyInfo propertyInfo = { in ParseUserId() local 655 bool res = CommonFunc::ParsePropertyFromObject(env, args, propertyInfo, property); in ParseUserId() 670 PropertyInfo propertyInfo = { in ParseAppIndex() local 676 bool res = CommonFunc::ParsePropertyFromObject(env, args, propertyInfo, propert in ParseAppIndex() 691 PropertyInfo propertyInfo = { ParseInstallFlag() local 721 PropertyInfo propertyInfo = { ParseIsKeepData() local 742 PropertyInfo propertyInfo = { ParseCrowdtestDeadline() local 786 PropertyInfo propertyInfo = { ParseSpecifiedDistributionType() local 810 PropertyInfo propertyInfo = { ParseAdditionalInfo() local [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
H A D | common_func.h | 69 static bool ParsePropertyFromObject(napi_env env, napi_value args, const PropertyInfo &propertyInfo,
|
H A D | common_func.cpp | 317 bool CommonFunc::ParsePropertyFromObject(napi_env env, napi_value args, const PropertyInfo &propertyInfo, in ParsePropertyFromObject() argument 326 napi_has_named_property(env, args, propertyInfo.propertyName.c_str(), &hasKey); in ParsePropertyFromObject() 328 if (propertyInfo.isNecessary) { in ParsePropertyFromObject() 329 APP_LOGE("%{public}s is not existed", propertyInfo.propertyName.c_str()); in ParsePropertyFromObject() 335 napi_status status = napi_get_named_property(env, args, propertyInfo.propertyName.c_str(), &property); in ParsePropertyFromObject() 340 if (type != propertyInfo.propertyType) { in ParsePropertyFromObject()
|
Completed in 7 milliseconds