Home
last modified time | relevance | path

Searched refs:propName (Results 1 - 25 of 103) sorted by relevance

12345

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/
H A Drs_screen_props.cpp20 RSScreenProps::RSScreenProps(std::string propName, uint32_t propId, uint64_t value) in RSScreenProps() argument
21 : propName_(propName), propId_(propId), value_(value) in RSScreenProps()
25 void RSScreenProps::SetPropertyName(const std::string& propName) in SetPropertyName() argument
27 propName_ = propName; in SetPropertyName()
71 std::string propName; in Unmarshalling() local
74 if (!parcel.ReadString(propName)) { in Unmarshalling()
83 RSScreenProps* screenProps = new RSScreenProps(propName, propId, value); in Unmarshalling()
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style_sheet.cpp123 jerry_value_t propName = jerry_create_string(reinterpret_cast<jerry_char_t *>(const_cast<char *>(attrIdSelectors))); in InitNormalSelectors() local
124 if (HasOwnProperty(styleSheetObj, propName)) { in InitNormalSelectors()
125 jerry_value_t propValue = jerry_get_property(styleSheetObj, propName); in InitNormalSelectors()
129 jerry_release_value(propName); in InitNormalSelectors()
133 propName = jerry_create_string(reinterpret_cast<jerry_char_t *>(const_cast<char *>(attrClassSelectors))); in InitNormalSelectors()
134 if (HasOwnProperty(styleSheetObj, propName)) { in InitNormalSelectors()
135 jerry_value_t propValue = jerry_get_property(styleSheetObj, propName); in InitNormalSelectors()
139 jerry_release_value(propName); in InitNormalSelectors()
143 propName = jerry_create_string(reinterpret_cast<jerry_char_t *>(const_cast<char *>(keyFrames))); in InitNormalSelectors()
144 if (HasOwnProperty(styleSheetObj, propName)) { in InitNormalSelectors()
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/
H A Dstylemgr_tdd_test.h55 const char* propName,
65 JSValue PrepareStyleOption(const char* styleType, const char* propName, uint16_t propValue) const;
66 JSValue PrepareAttrOption(const char* propName, const char* propValue) const;
67 void AddValueToAttrOption(jerry_value_t attrOption, const char* propName, const char* propValue) const;
68 void AddStrValueToOption(jerry_value_t option, const char* propName, const char* propValue) const;
H A Dstylemgr_tdd_test.cpp93 const char* propName, in PrepareStyleSheet()
97 (strlen(selectorName) == 0) || (propName == nullptr) || (strlen(propName) == 0)) { in PrepareStyleSheet()
125 JSValue heightKey = jerry_create_string(reinterpret_cast<const jerry_char_t *>(propName)); in PrepareStyleSheet()
181 JSValue StyleMgrTddTest::PrepareStyleOption(const char* styleType, const char* propName, uint16_t propValue) const in PrepareStyleOption() argument
183 if ((styleType == nullptr) || (strlen(styleType) == 0) || (propName == nullptr) || (strlen(propName) == 0)) { in PrepareStyleOption()
203 JSValue propKey = jerry_create_string(reinterpret_cast<const jerry_char_t *>(propName)); in PrepareStyleOption()
214 JSValue StyleMgrTddTest::PrepareAttrOption(const char* propName, const char* propValue) const in PrepareAttrOption() argument
216 if ((propName in PrepareAttrOption()
91 PrepareStyleSheet(const char* selectors, const char* selectorName, const char* propName, uint16_t propValue) const PrepareStyleSheet() argument
244 AddValueToAttrOption(jerry_value_t attrOption, const char* propName, const char* propValue) const AddValueToAttrOption() argument
263 AddStrValueToOption(jerry_value_t option, const char* propName, const char* propValue) const AddStrValueToOption() argument
[all...]
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/
H A Djsi.h113 * @param [in] propName: name of the property to set
116 static void SetNamedProperty(JSIValue object, const char * const propName, JSIValue value);
122 * @param [in] propName: name of the number property to set
125 static void SetNumberProperty(JSIValue object, const char * const propName, double value);
131 * @param [in] propName: name of the boolean property to set
134 static void SetBooleanProperty(JSIValue object, const char * const propName, bool value);
140 * @param [in] propName: name of the string property to set
143 static void SetStringProperty(JSIValue object, const char * const propName, const char *value);
149 * @param [in] propName: name of the string property to set
154 SetStringPropertyWithBufferSize(JSIValue object, const char *const propName, cons
[all...]
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/
H A Djsi.cpp65 void JSI::SetNamedProperty(JSIValue object, const char * const propName, JSIValue value) in SetNamedProperty() argument
67 if (!ValueIsObject(object) || (propName == nullptr)) { in SetNamedProperty()
72 jerry_value_t jKey = jerry_create_string(reinterpret_cast<const jerry_char_t *>(propName)); in SetNamedProperty()
80 void JSI::SetNumberProperty(JSIValue object, const char * const propName, double value) in SetNumberProperty() argument
87 SetNamedProperty(object, propName, numValue); in SetNumberProperty()
91 void JSI::SetBooleanProperty(JSIValue object, const char * const propName, bool value) in SetBooleanProperty() argument
98 SetNamedProperty(object, propName, boolValue); in SetBooleanProperty()
102 void JSI::SetStringProperty(JSIValue object, const char * const propName, const char *value) in SetStringProperty() argument
109 SetNamedProperty(object, propName, strValue); in SetStringProperty()
113 void JSI::SetStringPropertyWithBufferSize(JSIValue object, const char * const propName, cons argument
344 GetNamedProperty(JSIValue object, const char * const propName) GetNamedProperty() argument
361 GetNumberProperty(JSIValue object, const char * const propName) GetNumberProperty() argument
373 GetBooleanProperty(JSIValue object, const char * const propName) GetBooleanProperty() argument
385 GetStringProperty(JSIValue object, const char * const propName) GetStringProperty() argument
397 GetStringPropertyWithBufferSize(JSIValue object, const char * const propName, size_t &size) GetStringPropertyWithBufferSize() argument
1082 DefineProperty(JSIValue object, JSIValue propName, JSPropertyDescriptor descriptor) DefineProperty() argument
1124 jerry_value_t propName = jerry_create_string(reinterpret_cast<const jerry_char_t *>(propNameStr)); DefineNamedProperty() local
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/services/resschedmgr/resschedfwk/src/
H A Dconfig_reader.cpp104 auto propName = xmlGetProp(currNodePtr, reinterpret_cast<const xmlChar*>(XML_ATTR_NAME)); in ParseConfig() local
105 if (!propName) { in ParseConfig()
106 RESSCHED_LOGW("%{public}s, propName null!", __func__); in ParseConfig()
110 string configName(reinterpret_cast<char*>(propName)); in ParseConfig()
111 xmlFree(propName); in ParseConfig()
119 auto propName = xmlGetProp(&currNode, reinterpret_cast<const xmlChar*>(XML_ATTR_NAME)); in ParsePluginConfig() local
120 if (!propName) { in ParsePluginConfig()
121 RESSCHED_LOGW("%{public}s, propName null!", __func__); in ParsePluginConfig()
124 string pluginName(reinterpret_cast<char*>(propName)); in ParsePluginConfig()
125 xmlFree(propName); in ParsePluginConfig()
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/
H A Dfeature_ability_constant.cpp67 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() argument
72 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
75 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) in SetNamedProperty() argument
80 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
H A Dfeature_ability_constant.h33 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName);
34 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName);
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/
H A DObjectTest.cpp101 static constexpr auto propName = "value"; in HWTEST_F() local
112 o1.MetaProperty(propName, 5); in HWTEST_F()
120 auto p1 = o1.Metadata().GetPropertyByName(propName); in HWTEST_F()
121 auto p2 = o2.Metadata().GetPropertyByName(propName); in HWTEST_F()
122 auto p3 = o3.Metadata().GetPropertyByName(propName); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/js/napi/wantConstant/
H A Dwant_constant.h34 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName);
35 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName);
H A Dwant_constant.cpp146 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() argument
151 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
154 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) in SetNamedProperty() argument
159 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
/foundation/graphic/graphic_2d/rosen/modules/graphic_2d_configure/src/
H A Dgraphic_2d_xml_parser.cpp162 std::string Graphic2dXmlParser::ExtractPropertyValue(const std::string &propName, xmlNode &node) in ExtractPropertyValue() argument
164 RS_LOGD("Graphic2dXmlParser extracting value : %{public}s", propName.c_str()); in ExtractPropertyValue()
168 if (xmlHasProp(&node, reinterpret_cast<const xmlChar*>(propName.c_str()))) { in ExtractPropertyValue()
169 tempValue = xmlGetProp(&node, reinterpret_cast<const xmlChar*>(propName.c_str())); in ExtractPropertyValue()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Danalog_clock_component.cpp187 jerry_value_t propName = jerry_create_string((const jerry_char_t*)name); in GetIntegerProperty() local
188 jerry_value_t propValue = jerry_get_property(obj, propName); in GetIntegerProperty()
194 jerry_release_value(propName); in GetIntegerProperty()
200 jerry_value_t propName = jerry_create_string((const jerry_char_t*)name); in GetBoolProperty() local
201 jerry_value_t propValue = jerry_get_property(obj, propName); in GetBoolProperty()
205 jerry_release_value(propName); in GetBoolProperty()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/screen_manager/
H A Drs_screen_props.h32 RSScreenProps(std::string propName, uint32_t propId, uint64_t value);
37 void SetPropertyName(const std::string& propName);
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/
H A Dn_val.h79 bool HasProp(std::string propName) const;
81 NVal GetPropValue(std::string propName) const;
83 NVal GetProp(std::string propName) const;
86 bool AddProp(std::string propName, napi_value nVal) const;
/foundation/filemanagement/file_api/utils/filemgmt_libn/src/
H A Dn_val.cpp244 bool NVal::HasProp(string propName) const in HasProp()
252 napi_status status = napi_has_named_property(env_, val_, propName.c_str(), &res); in HasProp()
257 NVal NVal::GetPropValue(string propName) const in GetPropValue()
259 NVal NVal::GetProp(string propName) const in GetPropValue()
262 if (!HasProp(propName)) { in GetPropValue()
267 napi_status status = napi_get_named_property(env_, val_, propName.c_str(), &prop); in GetPropValue()
289 bool NVal::AddProp(string propName, napi_value val) const in AddProp() argument
291 if (!TypeIs(napi_valuetype::napi_object) || HasProp(propName)) { in AddProp()
296 napi_status status = napi_set_named_property(env_, val_, propName.c_str(), val); in AddProp()
/foundation/filemanagement/file_api/interfaces/kits/js/src/common/napi/
H A Dn_val.h73 bool HasProp(std::string propName) const;
74 NVal GetProp(std::string propName) const;
76 bool AddProp(std::string propName, napi_value nVal) const;
H A Dn_val.cpp220 bool NVal::HasProp(string propName) const in HasProp()
226 napi_status status = napi_has_named_property(env_, val_, propName.c_str(), &res); in HasProp()
230 NVal NVal::GetProp(string propName) const in GetProp()
232 if (!HasProp(propName)) { in GetProp()
237 napi_status status = napi_get_named_property(env_, val_, propName.c_str(), &prop); in GetProp()
261 bool NVal::AddProp(string propName, napi_value val) const in AddProp() argument
263 if (!TypeIs(napi_valuetype::napi_object) || HasProp(propName)) { in AddProp()
268 napi_status status = napi_set_named_property(env_, val_, propName.c_str(), val); in AddProp()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/
H A Dn_val.h110 bool HasProp(std::string propName) const;
112 NVal GetProp(std::string propName) const;
116 bool AddProp(std::string propName, napi_value val) const;
H A Dn_val.cpp302 bool NVal::HasProp(string propName) const in HasProp()
310 napi_status status = napi_has_named_property(env_, val_, propName.c_str(), &res); in HasProp()
314 NVal NVal::GetProp(string propName) const in GetProp()
316 if (!HasProp(propName)) { in GetProp()
320 napi_status status = napi_get_named_property(env_, val_, propName.c_str(), &prop); in GetProp()
339 bool NVal::AddProp(string propName, napi_value val) const in AddProp() argument
341 if (!TypeIs(napi_valuetype::napi_object) || HasProp(propName)) { in AddProp()
345 napi_status status = napi_set_named_property(env_, val_, propName.c_str(), val); in AddProp()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/
H A Dnapi_value.cpp219 bool NapiValue::HasProp(const string& propName) const in HasProp()
227 napi_status status = napi_has_named_property(env_, val_, propName.c_str(), &res); in HasProp()
231 NapiValue NapiValue::GetProp(const string &propName) const in GetProp()
233 if (!HasProp(propName)) { in GetProp()
238 napi_status status = napi_get_named_property(env_, val_, propName.c_str(), &prop); in GetProp()
262 bool NapiValue::AddProp(const string &propName, napi_value val) const in AddProp() argument
264 if (!TypeIs(napi_valuetype::napi_object) || HasProp(propName)) { in AddProp()
269 napi_status status = napi_set_named_property(env_, val_, propName.c_str(), val); in AddProp()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/
H A Dnative_module.cpp26 static void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() argument
30 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, dstObj, propName, prop)); in SetNamedProperty()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/
H A Dnapi_zlib_common.cpp93 void SetNamedProperty(napi_env env, napi_value obj, const char *propName, const int propValue) in SetNamedProperty() argument
97 napi_set_named_property(env, obj, propName, prop); in SetNamedProperty()
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
H A Dinit.cpp47 void SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() argument
51 napi_set_named_property(env, dstObj, propName, prop); in SetNamedPropertyByInteger()

Completed in 13 milliseconds

12345