/base/time/time_service/framework/js/napi/system_timer/src/ |
D | timer_type.cpp | 22 …d SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() argument 26 napi_set_named_property(env, dstObj, propName, prop); in SetNamedPropertyByInteger()
|
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/ |
D | n_val.cpp | 176 bool NVal::HasProp(string propName) const in HasProp() 182 napi_status status = napi_has_named_property(env_, val_, propName.c_str(), &res); in HasProp() 186 NVal NVal::GetProp(string propName) const in GetProp() 188 if (!HasProp(propName)) { in GetProp() 192 napi_status status = napi_get_named_property(env_, val_, propName.c_str(), &prop); in GetProp() 211 bool NVal::AddProp(string propName, napi_value val) const in AddProp() argument 213 if (!TypeIs(napi_valuetype::napi_object) || HasProp(propName)) { in AddProp() 217 napi_status status = napi_set_named_property(env_, val_, propName.c_str(), val); in AddProp()
|
D | n_val.h | 89 bool HasProp(std::string propName) const; 91 NVal GetProp(std::string propName) const; 95 bool AddProp(std::string propName, napi_value nVal) const;
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_watch.cpp | 72 for (auto& propName : COND_PROPS) { in IsValidCondition() local 73 napi_value propValue = NapiUtil::GetProperty(env, cond, propName); in IsValidCondition() 78 … NapiUtil::ThrowError(env, NapiError::ERR_PARAM, NapiUtil::CreateErrMsg(propName, "number")); in IsValidCondition()
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_srv_config_parser.cpp | 554 std::string propName = reinterpret_cast<const char*>(actionProp->name); in ParsePolicyActionInfo() local 559 propName.c_str(), propValue.c_str()); in ParsePolicyActionInfo() 560 policyAction.actionPropMap.emplace(std::pair(propName, propValue)); in ParsePolicyActionInfo() 563 THERMAL_HILOGE(COMP_SVC, "prop [%{public}s] value is null", propName.c_str()); in ParsePolicyActionInfo()
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_config_file_parser.cpp | 492 std::string propName = reinterpret_cast<const char*>(actionProp->name); in ParsePolicySubnode() local 497 propName.c_str(), propValue.c_str()); in ParsePolicySubnode() 498 policyAction.actionPropMap.emplace(std::pair(propName, propValue)); in ParsePolicySubnode()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | constant.cpp | 22 …d SetNamedPropertyByInteger(napi_env env, napi_value dstObj, int32_t objName, const char *propName) in SetNamedPropertyByInteger() argument 26 napi_set_named_property(env, dstObj, propName, prop); in SetNamedPropertyByInteger()
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_app_account_common.h | 252 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName); 254 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName…
|
/base/notification/common_event_service/interfaces/kits/napi/support/src/ |
D | support.cpp | 21 …medPropertyByStr(napi_env env, napi_value dstObj, const std::string &objName, const char *propName) in SetNamedPropertyByStr() argument 25 napi_set_named_property(env, dstObj, propName, prop); in SetNamedPropertyByStr()
|
/base/security/access_token/interfaces/kits/accesstoken/napi/include/ |
D | napi_atmanager.h | 217 …id SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName);
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account_common.cpp | 388 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() argument 392 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty() 395 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) in SetNamedProperty() argument 399 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
|
/base/account/os_account/interfaces/kits/napi/osaccount/include/ |
D | napi_os_account.h | 348 void SetEnumProperty(napi_env env, napi_value dstObj, const int objValue, const char *propName);
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
D | napi_os_account.cpp | 189 void SetEnumProperty(napi_env env, napi_value dstObj, const int objValue, const char *propName) in SetEnumProperty() argument 193 napi_set_named_property(env, dstObj, propName, prop); in SetEnumProperty()
|
/base/security/access_token/interfaces/kits/accesstoken/napi/src/ |
D | napi_atmanager.cpp | 351 …er::SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) in SetNamedProperty() argument 355 napi_set_named_property(env, dstObj, propName, prop); in SetNamedProperty()
|