/drivers/peripheral/usb/sample/device/liteos/ |
H A D | prop_test.c | 80 static int32_t TestPropGet(const char *propName) in TestPropGet() argument 84 if (!HdfSbufWriteString(g_data, propName)) { in TestPropGet() 98 printf("%s: %s = %s\n", __func__, propName, propVal); in TestPropGet() 104 static int32_t TestPropSet(const char *propName, const char *propValue) in TestPropSet() argument 107 if (!HdfSbufWriteString(g_data, propName)) { in TestPropSet() 108 HDF_LOGE("%{public}s:failed to write propName : %{public}s", __func__, propName); in TestPropSet() 123 static int32_t TestPropRegist(const char *propName, const char *propValue) in TestPropRegist() argument 132 if (!HdfSbufWriteString(g_data, propName)) { in TestPropRegist() 133 HDF_LOGE("%{public}s:failed to write propName in TestPropRegist() 154 TestProp(const char *propName, const char *propValue, bool setProp, bool getProp, bool registProp) TestProp() argument 174 const char *propName = NULL; PropTest() local [all...] |
/drivers/peripheral/usb/sample/device/linux/ |
H A D | prop_test.c | 72 static int32_t TestPropGet(const char *propName) in TestPropGet() argument 76 if (!HdfSbufWriteString(g_data, propName)) { in TestPropGet() 90 HDF_LOGE("%{public}s: %{public}s = %{public}s", __func__, propName, propVal); in TestPropGet() 96 static int32_t TestPropSet(const char *propName, const char *propValue) in TestPropSet() argument 99 if (!HdfSbufWriteString(g_data, propName)) { in TestPropSet() 100 HDF_LOGE("%{public}s:failed to write propName : %{public}s", __func__, propName); in TestPropSet() 115 static int32_t TestPropRegist(const char *propName, const char *propValue) in TestPropRegist() argument 124 if (!HdfSbufWriteString(g_data, propName)) { in TestPropRegist() 125 HDF_LOGE("%{public}s:failed to write propName in TestPropRegist() 148 const char *propName = NULL; PropTest() local [all...] |
/drivers/peripheral/usb/test/moduletest/common/liteos/ |
H A D | usb_device_serial_func_test.cpp | 174 const char *propName = "idVendor"; in HWTEST_F() local 177 acm_prop_write(propName, writeBuf); in HWTEST_F() 178 acm_prop_read(propName, readBuf); in HWTEST_F() 193 const char *propName = "idVendor"; in HWTEST_F() local 196 acm_prop_write(propName, writeBuf); in HWTEST_F() 197 acm_prop_read(propName, readBuf); in HWTEST_F() 212 const char *propName = "testp"; in HWTEST_F() local 215 acm_prop_regist(propName, propValue); in HWTEST_F() 216 acm_prop_read(propName, readBuf); in HWTEST_F() 231 const char *propName in HWTEST_F() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | app_style_sheet.cpp | 123 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/graphic/graphic_2d/rosen/modules/render_service_base/src/screen_manager/ |
H A D | rs_screen_props.cpp | 20 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()
|
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | dataview.js | 138 gettersSetters.forEach (function (propName) { 140 var routine = DataView.prototype[propName]; 142 DataView.prototype[propName].call (5); 150 DataView.prototype[propName].call ({}); 160 view[propName] ({ toString : function () { throw new ReferenceError ('fooBar') } }); 171 if (propName.indexOf("get") !== -1) { 172 assert(view[propName] (1.5) === 0); 174 assert(view[propName] (1.5) === undefined); 179 view[propName] (-1); 187 view[propName] (2 [all...] |
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 113 * @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...] |
/drivers/peripheral/usb/sample/device/liteos/lib/src/ |
H A D | lib_acm_test.c | 136 void acm_prop_regist(const char *propName, const char *propValue) in acm_prop_regist() argument 143 (void)HdfSbufWriteString(g_data, propName); in acm_prop_regist() 150 printf("prop_regist:%s = %s\n", propName, propValue); in acm_prop_regist() 153 void acm_prop_write(const char *propName, const char *propValue) in acm_prop_write() argument 161 (void)HdfSbufWriteString(g_data, propName); in acm_prop_write() 172 printf("prop_write:%s = %s\n", propName, propValue); in acm_prop_write() 175 void acm_prop_read(const char *propName, char *propValue) in acm_prop_read() argument 183 (void)HdfSbufWriteString(g_data, propName); in acm_prop_read()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/ |
H A D | stylemgr_tdd_test.h | 55 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 D | stylemgr_tdd_test.cpp | 93 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/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 65 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 D | config_reader.cpp | 104 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...] |
/drivers/peripheral/usb/sample/device/liteos/lib/include/ |
H A D | lib_acm_test.h | 24 void acm_prop_regist(const char *propName, const char *propValue); 25 void acm_prop_write(const char *propName, const char *propValue); 26 void acm_prop_read(const char *propName, char *propValue);
|
/third_party/typescript/tests/baselines/reference/ |
H A D | derivedClassSuperProperties.js | 281 propName = "prop"; 285 get [this.propName]() { 288 set [this.propName](param) { 297 propName = "prop"; 313 propName = "prop"; 316 prop: this.propName, 323 propName = "prop"; 326 [this.propName]: true, 822 Object.defineProperty(_a, _this.propName, {
829 Object.defineProperty(_a, _this.propName, {
[all...] |
/drivers/peripheral/usb/ddk/host/src/ |
H A D | ddk_sysfs_device.c | 32 static inline int32_t DdkSysfsGetBase(const char *propName) in DdkSysfsGetBase() argument 34 if (strcmp(propName, "idProduct") == 0 || strcmp(propName, "idVendor") == 0) { in DdkSysfsGetBase() 45 static int32_t DdkSysfsReadProperty(const char *deviceDir, const char *propName, int64_t *value, uint64_t maxVal) in DdkSysfsReadProperty() argument 48 int32_t num = sprintf_s(pathTmp, SYSFS_PATH_LEN, "%s%s/%s", SYSFS_DEVICES_DIR, deviceDir, propName); in DdkSysfsReadProperty() 51 "%{public}s: sprintf_s error deviceDir:%{public}s, propName:%{public}s", __func__, deviceDir, propName); in DdkSysfsReadProperty() 85 int64_t res = strtoll(buf, NULL, DdkSysfsGetBase(propName)); in DdkSysfsReadProperty()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/api/ |
H A D | ObjectTest.cpp | 101 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/featureAbility/ |
H A D | feature_ability_constant.cpp | 67 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 D | feature_ability_constant.h | 33 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/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | analog_clock_component.cpp | 187 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/graphic_2d_configure/src/ |
H A D | graphic_2d_xml_parser.cpp | 162 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/filemanagement/file_api/utils/filemgmt_libn/src/ |
H A D | n_val.cpp | 244 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()
|
/third_party/icu/tools/unicode/c/genprops/ |
H A D | emojipropsbuilder.cpp | 210 const char *propName; 323 char *propName = const_cast<char *>(u_skipWhitespace(fields[1][0])); 324 u_rtrim(propName); 327 if (strcmp(pn2i.propName, propName) == 0) { 334 unrecognized.insert(propName); 344 "genprops/emoji error: single code points %s for %s\n", rangeOrString, propName); 362 rangeOrString, propName, fields[2][0]); 370 "genprops/emoji error: single code point %s for %s\n", rangeOrString, propName);
|
/foundation/filemanagement/file_api/utils/filemgmt_libn/include/ |
H A D | n_val.h | 79 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/ability/ability_runtime/frameworks/js/napi/wantConstant/ |
H A D | want_constant.h | 34 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);
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | napi_value.cpp | 219 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()
|