/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/property/ |
H A D | property_handle_util.h | 29 IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType) in MakeScopedHandle() 32 if (metaData.name == propertyName) { in MakeScopedHandle() 47 ScopedHandle<T> MakeScopedHandle(IPropertyHandle& handle, BASE_NS::string_view propertyName) in MakeScopedHandle() argument 51 return MakeScopedHandle<T>(handle, propertyName, propertyType); in MakeScopedHandle() 56 IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType, T&& propertyValue) in SetPropertyValue() 59 if (auto scoped = MakeScopedHandle<BaseT>(handle, propertyName, propertyType); scoped) { in SetPropertyValue() 67 bool SetPropertyValue(IPropertyHandle& handle, BASE_NS::string_view propertyName, T&& propertyValue) in SetPropertyValue() argument 71 return SetPropertyValue(handle, propertyName, propertyType, BASE_NS::forward<T>(propertyValue)); in SetPropertyValue() 75 T GetPropertyValue(IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType) in GetPropertyValue() argument 78 if (auto scoped = MakeScopedHandle<const BaseT>(handle, propertyName, propertyTyp in GetPropertyValue() 28 MakeScopedHandle( IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType) MakeScopedHandle() argument 55 SetPropertyValue( IPropertyHandle& handle, BASE_NS::string_view propertyName, const PropertyTypeDecl& propertyType, T&& propertyValue) SetPropertyValue() argument 85 GetPropertyValue(IPropertyHandle& handle, BASE_NS::string_view propertyName) GetPropertyValue() argument [all...] |
/foundation/communication/netmanager_base/frameworks/js/napi/common/ |
H A D | napi_common.h | 64 static void SetPropertyBool(napi_env env, napi_value object, const std::string &propertyName, bool property); 65 static void SetPropertyInt32(napi_env env, napi_value object, const std::string &propertyName, int32_t property); 66 static void SetPropertyInt64(napi_env env, napi_value object, const std::string &propertyName, int64_t property); 67 static void SetPropertyUint32(napi_env env, napi_value object, const std::string &propertyName, uint32_t property); 68 static void SetPropertyString(napi_env env, napi_value object, const std::string &propertyName, 70 static void GetPropertyString(napi_env env, napi_value object, const std::string &propertyName, 72 static void GetPropertyInt32(napi_env env, napi_value object, const std::string &propertyName, int32_t &property); 73 static void GetPropertyInt64(napi_env env, napi_value object, const std::string &propertyName, int64_t &property); 77 static napi_value GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName); 90 static bool HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName); [all...] |
H A D | napi_common.cpp | 68 napi_env env, napi_value object, const std::string &propertyName, bool property) in SetPropertyBool() 72 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, object, propertyName.c_str(), propertyDest)); in SetPropertyBool() 76 napi_env env, napi_value object, const std::string &propertyName, int32_t property) in SetPropertyInt32() 80 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, object, propertyName.c_str(), propertyDest)); in SetPropertyInt32() 84 napi_env env, napi_value object, const std::string &propertyName, int64_t property) in SetPropertyInt64() 88 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, object, propertyName.c_str(), propertyDest)); in SetPropertyInt64() 92 napi_env env, napi_value object, const std::string &propertyName, uint32_t property) in SetPropertyUint32() 96 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, object, propertyName.c_str(), propertyDest)); in SetPropertyUint32() 100 napi_env env, napi_value object, const std::string &propertyName, const std::string &property) in SetPropertyString() 104 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, object, propertyName in SetPropertyString() 67 SetPropertyBool( napi_env env, napi_value object, const std::string &propertyName, bool property) SetPropertyBool() argument 75 SetPropertyInt32( napi_env env, napi_value object, const std::string &propertyName, int32_t property) SetPropertyInt32() argument 83 SetPropertyInt64( napi_env env, napi_value object, const std::string &propertyName, int64_t property) SetPropertyInt64() argument 91 SetPropertyUint32( napi_env env, napi_value object, const std::string &propertyName, uint32_t property) SetPropertyUint32() argument 99 SetPropertyString( napi_env env, napi_value object, const std::string &propertyName, const std::string &property) SetPropertyString() argument 107 GetPropertyString( napi_env env, napi_value object, const std::string &propertyName, std::string &property) GetPropertyString() argument 119 GetPropertyInt32( napi_env env, napi_value object, const std::string &propertyName, int32_t &property) GetPropertyInt32() argument 127 GetPropertyInt64( napi_env env, napi_value object, const std::string &propertyName, int64_t &property) GetPropertyInt64() argument 165 GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName) GetNamedProperty() argument 346 HasNamedTypeProperty( napi_env env, napi_value object, napi_valuetype type, const std::string &propertyName) HasNamedTypeProperty() argument 359 HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName) HasNamedProperty() argument [all...] |
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
H A D | napi_common_util.h | 86 * @param propertyName Indicates the name of the property. 90 bool IsExistsByPropertyName(napi_env env, napi_value jsObject, const char *propertyName); 97 * @param propertyName Indicates the name of the property. 103 napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType); 105 bool SetPropertyValueByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, napi_value value); 112 * @param propertyName Indicates the name of the property. 117 bool UnwrapInt32ByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, int32_t &value); 124 * @param propertyName Indicates the name of the property. 129 bool UnwrapDoubleByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, double &value); 136 * @param propertyName Indicate [all...] |
H A D | napi_common_util.cpp | 659 * @param propertyName Indicates the name of the property. 663 bool IsExistsByPropertyName(napi_env env, napi_value jsObject, const char *propertyName) in IsExistsByPropertyName() argument 666 if (napi_has_named_property(env, jsObject, propertyName, &result) == napi_ok) { in IsExistsByPropertyName() 678 * @param propertyName Indicates the name of the property. 684 napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType) in GetPropertyValueByPropertyName() 687 if (IsExistsByPropertyName(env, jsObject, propertyName) == false) { in GetPropertyValueByPropertyName() 691 if (napi_get_named_property(env, jsObject, propertyName, &value) != napi_ok) { in GetPropertyValueByPropertyName() 702 bool SetPropertyValueByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, napi_value value) in SetPropertyValueByPropertyName() argument 704 if (value != nullptr && propertyName != nullptr) { in SetPropertyValueByPropertyName() 705 NAPI_CALL_BASE(env, napi_set_named_property(env, jsObject, propertyName, valu in SetPropertyValueByPropertyName() 683 GetPropertyValueByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, napi_valuetype expectType) GetPropertyValueByPropertyName() argument 721 UnwrapInt32ByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, int32_t &value) UnwrapInt32ByPropertyName() argument 741 UnwrapDoubleByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, double &value) UnwrapDoubleByPropertyName() argument 761 UnwrapBooleanByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, bool &value) UnwrapBooleanByPropertyName() argument 771 UnwrapBooleanArrayByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, std::vector<bool> &value) UnwrapBooleanArrayByPropertyName() argument 792 UnwrapStringByPropertyName(napi_env env, napi_value jsObject, const char *propertyName, std::string &value) UnwrapStringByPropertyName() argument 802 UnwrapStringArrayByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, std::vector<std::string> &value) UnwrapStringArrayByPropertyName() argument 813 UnwrapComplexArrayByPropertyName( napi_env env, napi_value jsObject, const char *propertyName, ComplexArrayData &value) UnwrapComplexArrayByPropertyName() argument [all...] |
/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/context/ |
H A D | net_firewall_param_check.cpp | 462 for (std::string &propertyName : numberParam) {
in CheckFirewallRule() 463 ret = CheckRuleNumberParam(env, object, propertyName);
in CheckFirewallRule() 465 NETMANAGER_EXT_LOGE("CheckRuleNumberParam %{public}s is error=%{public}d", propertyName.c_str(), ret);
in CheckFirewallRule() 504 for (const std::string &propertyName : objectParam) {
in CheckRuleObjectParams() 505 ret = CheckRuleObjectParamValue(env, object, propertyName);
in CheckRuleObjectParams() 507 NETMANAGER_EXT_LOGE("CheckRuleObjectParams %{public}s is error=%{public}d", propertyName.c_str(), ret);
in CheckRuleObjectParams() 515 const std::string &propertyName)
in CheckRuleObjectParamValue() 517 if (!NapiUtils::HasNamedProperty(env, object, propertyName)) {
in CheckRuleObjectParamValue() 520 napi_value value = NapiUtils::GetNamedProperty(env, object, propertyName);
in CheckRuleObjectParamValue() 525 if (propertyName in CheckRuleObjectParamValue() 514 CheckRuleObjectParamValue(napi_env env, napi_value object, const std::string &propertyName) CheckRuleObjectParamValue() argument 572 CheckRuleNumberParam(napi_env env, napi_value object, const std::string &propertyName) CheckRuleNumberParam() argument [all...] |
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
H A D | js_plugin_util.h | 88 * @param propertyName Indicates the name of the property. 92 bool AceIsExistsByPropertyName(napi_env env, napi_value jsObject, const char* propertyName); 99 * @param propertyName Indicates the name of the property. 105 napi_env env, napi_value jsObject, const char* propertyName, napi_valuetype expectType); 107 bool AceSetPropertyValueByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, napi_value value); 114 * @param propertyName Indicates the name of the property. 119 bool AceUnwrapInt32ByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, int32_t& value); 126 * @param propertyName Indicates the name of the property. 131 bool AceUnwrapDoubleByPropertyName(napi_env env, napi_value jsObject, const char* propertyName, double& value); 138 * @param propertyName Indicate [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | property_util.h | 74 void AddOffsetProperty(const BASE_NS::string_view propertyName, const BASE_NS::string_view displayName, 76 void AddOffsetProperty(const BASE_NS::string_view propertyName, const BASE_NS::string_view displayName, 79 bool SetValue(const BASE_NS::string_view propertyName, const BASE_NS::array_view<uint8_t> data); 88 bool SetValue(const BASE_NS::string_view propertyName, T&& propertyValue) in SetValue() argument 90 CORE_NS::SetPropertyValue<T>(*this, propertyName, propertyValue); in SetValue() 93 T GetValue(const BASE_NS::string_view propertyName) in GetValue() argument 95 return CORE_NS::GetPropertyValue<T>(*this, propertyName); in GetValue() 170 void AddOffsetProperty(const BASE_NS::string_view propertyName, const BASE_NS::string_view displayName, 177 bool SetValue(const BASE_NS::string_view propertyName, T&& propertyValue) in SetValue() argument 179 CORE_NS::SetPropertyValue<T>(*this, propertyName, propertyValu in SetValue() 182 GetValue(const BASE_NS::string_view propertyName) GetValue() argument [all...] |
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_sync_n_exporter.cpp | 31 char propertyName[] = "State"; in InitState() local 45 napi_set_named_property(env, exports, propertyName, obj); in InitState() 80 char propertyName[] = "SyncState"; in InitCloudSyncState() local 92 napi_set_named_property(env, exports, propertyName, obj); in InitCloudSyncState() 97 char propertyName[] = "FileSyncState"; in InitFileSyncState() local 107 napi_set_named_property(env, exports, propertyName, obj); in InitFileSyncState() 112 char propertyName[] = "ErrorType"; in InitErrorType() local 127 napi_set_named_property(env, exports, propertyName, obj); in InitErrorType() 132 char propertyName[] = "DownloadErrorType"; in InitDownloadErrorType() local 149 napi_set_named_property(env, exports, propertyName, ob in InitDownloadErrorType() 154 const char propertyName[] = "NotifyType"; InitNotifyType() local [all...] |
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | property_util.h | 74 void AddOffsetProperty(BASE_NS::string_view propertyName, BASE_NS::string_view displayName, uintptr_t offset, 76 void AddOffsetProperty(BASE_NS::string_view propertyName, BASE_NS::string_view displayName, uintptr_t offset, 78 bool SetValue(BASE_NS::string_view propertyName, BASE_NS::array_view<const uint8_t> data); 88 bool SetValue(BASE_NS::string_view propertyName, T&& propertyValue) in SetValue() argument 90 return CORE_NS::SetPropertyValue(*this, propertyName, BASE_NS::forward<T>(propertyValue)); in SetValue() 93 T GetValue(BASE_NS::string_view propertyName) in GetValue() argument 95 return CORE_NS::GetPropertyValue<T>(*this, propertyName); in GetValue()
|
/foundation/communication/netmanager_base/utils/napi_utils/include/ |
H A D | napi_utils.h | 35 bool HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName); 36 napi_value GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName); 43 uint32_t GetUint32Property(napi_env env, napi_value object, const std::string &propertyName); 49 int32_t GetInt32Property(napi_env env, napi_value object, const std::string &propertyName); 54 int64_t GetInt64Property(napi_env env, napi_value object, const std::string &propertyName); 62 std::string GetStringPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName); 63 SecureData GetSecureDataPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName); 87 bool GetBooleanProperty(napi_env env, napi_value object, const std::string &propertyName);
|
/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/include/context/ |
H A D | net_firewall_rule_parse.h | 44 static void SetIpList(napi_env env, napi_value object, const std::string &propertyName,
47 static void SetPortList(napi_env env, napi_value object, const std::string &propertyName,
51 static void SetDomainList(napi_env env, napi_value object, const std::string &propertyName,
|
/foundation/arkui/napi/native_engine/ |
H A D | native_sendable.cpp | 137 Local<JSValueRef>& propertyName, in NapiDefineSendabledProperty() 161 result = obj->SetAccessorProperty(vm, propertyName, localGetter, localSetter, attr); in NapiDefineSendabledProperty() 167 fullName += propertyName->IsString(vm) ? Local<StringRef>(propertyName)->ToString(vm) in NapiDefineSendabledProperty() 168 : Local<SymbolRef>(propertyName)->GetDescription(vm)->ToString(vm); in NapiDefineSendabledProperty() 173 result = obj->Set(vm, propertyName, func); in NapiDefineSendabledProperty() 176 result = obj->Set(vm, propertyName, val); in NapiDefineSendabledProperty() 134 NapiDefineSendabledProperty(napi_env env, Local<ObjectRef>& obj, NapiPropertyDescriptor& propertyDescriptor, Local<JSValueRef>& propertyName, bool& result) NapiDefineSendabledProperty() argument
|
/foundation/communication/netmanager_base/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 213 bool HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName) in HasNamedProperty() argument 216 NAPI_CALL_BASE(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty), false); in HasNamedProperty() 220 napi_value GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName) in GetNamedProperty() argument 223 NAPI_CALL(env, napi_get_named_property(env, object, propertyName.c_str(), &value)); in GetNamedProperty() 269 uint32_t GetUint32Property(napi_env env, napi_value object, const std::string &propertyName) in GetUint32Property() argument 271 if (!HasNamedProperty(env, object, propertyName)) { in GetUint32Property() 274 napi_value value = GetNamedProperty(env, object, propertyName); in GetUint32Property() 305 int32_t GetInt32Property(napi_env env, napi_value object, const std::string &propertyName) in GetInt32Property() argument 307 if (!HasNamedProperty(env, object, propertyName)) { in GetInt32Property() 310 napi_value value = GetNamedProperty(env, object, propertyName); in GetInt32Property() 334 GetInt64Property(napi_env env, napi_value object, const std::string &propertyName) GetInt64Property() argument 396 GetStringPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName) GetStringPropertyUtf8() argument 405 GetSecureDataPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName) GetSecureDataPropertyUtf8() argument 501 GetBooleanProperty(napi_env env, napi_value object, const std::string &propertyName) GetBooleanProperty() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/ |
H A D | localization_module.cpp | 29 jerry_value_t propertyName = jerry_create_string(reinterpret_cast<const jerry_char_t *>(name)); in Init() local 30 if (JerryHasProperty(globalContext, propertyName)) { in Init() 32 jerry_value_t currentApp = jerry_get_property(globalContext, propertyName); in Init() 49 ReleaseJerryValue(propertyName, globalContext, VA_ARG_END_FLAG); in Init()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/include/ |
H A D | common.h | 64 * @param propertyName The name of property. 69 const std::string &propertyName, ErrCode errCode); 75 * @param propertyName The name of property. 80 const std::string &propertyName, ErrCode errCode); 86 * @param propertyName The name of property. 91 const std::string &propertyName, ErrCode errCode); 97 * @param propertyName The name of property. 102 const std::string &propertyName, ErrCode errCode);
|
/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | napi_utils.h | 46 bool HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName); 48 napi_value GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName); 61 int64_t GetInt64Property(napi_env env, napi_value object, const std::string &propertyName); 65 uint32_t GetUint32Property(napi_env env, napi_value object, const std::string &propertyName); 76 int32_t GetInt32Property(napi_env env, napi_value object, const std::string &propertyName); 87 std::string GetStringPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName); 93 std::vector<std::string> GetDnsServers(napi_env env, napi_value object, const std::string &propertyName); 121 bool GetBooleanProperty(napi_env env, napi_value object, const std::string &propertyName);
|
/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | napi_utils.cpp | 98 bool HasNamedProperty(napi_env env, napi_value object, const std::string &propertyName) in HasNamedProperty() argument 105 NAPI_CALL_BASE(env, napi_has_named_property(env, object, propertyName.c_str(), &hasProperty), false); in HasNamedProperty() 109 napi_value GetNamedProperty(napi_env env, napi_value object, const std::string &propertyName) in GetNamedProperty() argument 116 NAPI_CALL(env, napi_get_named_property(env, object, propertyName.c_str(), &value)); in GetNamedProperty() 183 int64_t GetInt64Property(napi_env env, napi_value object, const std::string &propertyName) in GetInt64Property() argument 185 if (!HasNamedProperty(env, object, propertyName)) { in GetInt64Property() 188 napi_value value = GetNamedProperty(env, object, propertyName); in GetInt64Property() 203 uint32_t GetUint32Property(napi_env env, napi_value object, const std::string &propertyName) in GetUint32Property() argument 205 if (!HasNamedProperty(env, object, propertyName)) { in GetUint32Property() 208 napi_value value = GetNamedProperty(env, object, propertyName); in GetUint32Property() 253 GetInt32Property(napi_env env, napi_value object, const std::string &propertyName) GetInt32Property() argument 320 GetStringPropertyUtf8(napi_env env, napi_value object, const std::string &propertyName) GetStringPropertyUtf8() argument 459 GetBooleanProperty(napi_env env, napi_value object, const std::string &propertyName) GetBooleanProperty() argument [all...] |
/foundation/filemanagement/user_file_service/frameworks/js/napi/common/ |
H A D | file_extension_info_napi.cpp | 76 char propertyName[] = "DeviceFlag"; in InitDeviceFlag() local 84 napi_set_named_property(env, exports, propertyName, obj); in InitDeviceFlag() 89 char propertyName[] = "DocumentFlag"; in InitDocumentFlag() local 99 napi_set_named_property(env, exports, propertyName, obj); in InitDocumentFlag() 123 char propertyName[] = "DeviceType"; in InitDeviceType() local 137 napi_set_named_property(env, exports, propertyName, obj); in InitDeviceType() 162 char propertyName[] = "OPENFLAGS"; in InitOpenFlags() local 171 napi_set_named_property(env, exports, propertyName, obj); in InitOpenFlags() 176 char propertyName[] = "FileKey"; in InitQueryFlags() local 190 napi_set_named_property(env, exports, propertyName, ob in InitQueryFlags() [all...] |
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/ |
H A D | fileshare_n_exporter.cpp | 64 char propertyName[] = "OperationMode"; in InitOperationMode() local 82 status = napi_set_named_property(env, exports, propertyName, obj); in InitOperationMode() 91 char propertyName[] = "PolicyErrorCode"; in InitPolicyErrorCode() local 112 status = napi_set_named_property(env, exports, propertyName, obj); in InitPolicyErrorCode()
|
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | napi_common_fileaccess.cpp | 51 bool UnwrapUint32ByPropertyName(napi_env env, napi_value param, const char *propertyName, uint32_t &value) in UnwrapUint32ByPropertyName() argument 53 napi_value jsValue = GetPropertyValueByPropertyName(env, param, propertyName, napi_number); in UnwrapUint32ByPropertyName() 89 bool UnwrapBigIntUint64ByPropertyName(napi_env env, napi_value param, const char *propertyName, uint64_t &value) in UnwrapBigIntUint64ByPropertyName() argument 91 napi_value jsValue = GetPropertyValueByPropertyName(env, param, propertyName, napi_bigint); in UnwrapBigIntUint64ByPropertyName()
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | common.cpp | 282 const std::string &propertyName, ErrCode errCode) in GetIntProperty() 286 napi_status getNameStatus = napi_get_named_property(env, object, propertyName.c_str(), &value); in GetIntProperty() 293 WS_HILOGD("Unset %{public}s.", propertyName.c_str()); in GetIntProperty() 296 WS_HILOGE("%{public}s type error, number expect.", propertyName.c_str()); in GetIntProperty() 305 const std::string &propertyName, ErrCode errCode) in GetBoolProperty() 309 napi_status getNameStatus = napi_get_named_property(env, object, propertyName.c_str(), &value); in GetBoolProperty() 316 WS_HILOGD("Unset %{public}s.", propertyName.c_str()); in GetBoolProperty() 319 WS_HILOGE("%{public}s type error, boolean expect.", propertyName.c_str()); in GetBoolProperty() 328 const std::string &propertyName, ErrCode errCode) in GetBoolToIntProperty() 332 napi_status getNameStatus = napi_get_named_property(env, object, propertyName in GetBoolToIntProperty() 281 GetIntProperty(napi_env env, napi_value object, const std::string &propertyName, ErrCode errCode) GetIntProperty() argument 304 GetBoolProperty(napi_env env, napi_value object, const std::string &propertyName, ErrCode errCode) GetBoolProperty() argument 327 GetBoolToIntProperty(napi_env env, napi_value object, const std::string &propertyName, ErrCode errCode) GetBoolToIntProperty() argument 353 GetStringProperty(napi_env env, napi_value object, const std::string &propertyName, ErrCode errCode) GetStringProperty() argument [all...] |
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/ |
H A D | napi_common_fileaccess.h | 33 bool UnwrapUint32ByPropertyName(napi_env env, napi_value param, const char *propertyName, uint32_t &value); 38 bool UnwrapBigIntUint64ByPropertyName(napi_env env, napi_value param, const char *propertyName, uint64_t &value);
|
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudsyncmanager/ |
H A D | cloud_sync_manager_napi.cpp | 47 char propertyName[] = "Action"; in InitENumACtions() local 55 napi_set_named_property(env, exports, propertyName, actionObj); in InitENumACtions()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/common_napi_utils/ |
H A D | common_napi_utils.h | 62 static void SetNamedProperty(napi_env env, napi_value object, const std::string& propertyName, napi_value value); 63 static napi_value GetNamedProperty(napi_env env, napi_value object, const std::string& propertyName); 64 static bool HasNamedProperty(napi_env env, napi_value object, const std::string& propertyName);
|