/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account_constant.cpp | 27 SetNamedProperty(env, (*resultCode), ERR_JS_SUCCESS_V8, "SUCCESS"); in ResultCodeInit() 28 SetNamedProperty(env, (*resultCode), ERR_JS_ACCOUNT_NOT_EXIST, "ERROR_ACCOUNT_NOT_EXIST"); in ResultCodeInit() 29 …SetNamedProperty(env, (*resultCode), ERR_JS_APP_ACCOUNT_SERVICE_EXCEPTION, "ERROR_APP_ACCOUNT_SERV… in ResultCodeInit() 30 SetNamedProperty(env, (*resultCode), ERR_JS_INVALID_PASSWORD, "ERROR_INVALID_PASSWORD"); in ResultCodeInit() 31 SetNamedProperty(env, (*resultCode), ERR_JS_INVALID_REQUEST, "ERROR_INVALID_REQUEST"); in ResultCodeInit() 32 SetNamedProperty(env, (*resultCode), ERR_JS_INVALID_RESPONSE, "ERROR_INVALID_RESPONSE"); in ResultCodeInit() 33 SetNamedProperty(env, (*resultCode), ERR_JS_NETWORK_EXCEPTION, "ERROR_NETWORK_EXCEPTION"); in ResultCodeInit() 34 …SetNamedProperty(env, (*resultCode), ERR_JS_OAUTH_AUTHENTICATOR_NOT_EXIST, "ERROR_OAUTH_AUTHENTICA… in ResultCodeInit() 35 SetNamedProperty(env, (*resultCode), ERR_JS_OAUTH_CANCELED, "ERROR_OAUTH_CANCELED"); in ResultCodeInit() 36 SetNamedProperty(env, (*resultCode), ERR_JS_OAUTH_LIST_TOO_LARGE, "ERROR_OAUTH_LIST_TOO_LARGE"); in ResultCodeInit() [all …]
|
D | napi_app_account_common.cpp | 365 void SetNamedProperty(napi_env env, napi_value dstObj, const char *objName, const char *propName) in SetNamedProperty() function 372 void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *propName) in SetNamedProperty() function
|
/base/security/huks/interfaces/kits/liteapi/src/ |
D | hks_lite_api.cpp | 28 JSI::SetNamedProperty(object, name, numberProperty); in AddInt32PropertyInLite() 210 JSI::SetNamedProperty(exports, "HuksExceptionErrCode", CreateHuksErrCode()); in InitHuksModuleEnum() 211 JSI::SetNamedProperty(exports, "HuksKeyPurpose", CreateHuksKeyPurpose()); in InitHuksModuleEnum() 212 JSI::SetNamedProperty(exports, "HuksKeyPadding", CreateHuksKeyPadding()); in InitHuksModuleEnum() 213 JSI::SetNamedProperty(exports, "HuksCipherMode", CreateHuksCipherMode()); in InitHuksModuleEnum() 214 JSI::SetNamedProperty(exports, "HuksKeySize", CreateHuksKeySize()); in InitHuksModuleEnum() 215 JSI::SetNamedProperty(exports, "HuksKeyAlg", CreateHuksKeyAlg()); in InitHuksModuleEnum() 216 JSI::SetNamedProperty(exports, "HuksKeyFlag", CreateHuksKeyFlag()); in InitHuksModuleEnum() 217 JSI::SetNamedProperty(exports, "HuksKeyStorageType", CreateHuksKeyStorageType()); in InitHuksModuleEnum() 218 JSI::SetNamedProperty(exports, "HuksTagType", CreateHuksTagType()); in InitHuksModuleEnum() [all …]
|
D | hks_lite_api_common.cpp | 405 JSI::SetNamedProperty(res, HKS_RESULT_PROPERTY_OUTDATA, typedArray); in HksConstructJSIReturnResult()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_app_event_holder.cpp | 69 NapiUtil::SetNamedProperty(env, exports, HOLDER_CLASS_NAME, holderClass); in NapiExport() 109 …NapiUtil::SetNamedProperty(env, packageObj, "packageId", NapiUtil::CreateInt32(env, package->packa… in NapiTakeNext() 110 NapiUtil::SetNamedProperty(env, packageObj, "row", NapiUtil::CreateInt32(env, package->row)); in NapiTakeNext() 111 NapiUtil::SetNamedProperty(env, packageObj, "size", NapiUtil::CreateInt32(env, package->size)); in NapiTakeNext() 112 …NapiUtil::SetNamedProperty(env, packageObj, "data", NapiUtil::CreateStrings(env, package->events)); in NapiTakeNext()
|
D | napi_util.cpp | 399 void SetNamedProperty(const napi_env env, const napi_value obj, const std::string& key, const napi_… in SetNamedProperty() function
|
/base/hiviewdfx/hiview/interfaces/js/napi/src/ |
D | hiview_napi_util.cpp | 97 void HiviewNapiUtil::SetNamedProperty( in SetNamedProperty() function in OHOS::HiviewDFX::HiviewNapiUtil 127 SetNamedProperty(env, val, FILE_NAME_KEY, name); in CreateJsFileInfo() 131 SetNamedProperty(env, val, FILE_TIME_KEY, mtime); in CreateJsFileInfo() 135 SetNamedProperty(env, val, FILE_SIZE_KEY, size); in CreateJsFileInfo()
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
D | napi_hitrace_util.cpp | 53 napi_status SetNamedProperty(const napi_env env, napi_value& object, in SetNamedProperty() function 142 SetNamedProperty(env, object, propertyName, peropertyValue); in SetPropertyInt32() 149 SetNamedProperty(env, object, propertyName, peropertyValue); in SetPropertyInt64() 156 SetNamedProperty(env, object, propertyName, peropertyValue); in SetPropertyBigInt64()
|
/base/hiviewdfx/hiview/interfaces/js/napi/include/ |
D | hiview_napi_util.h | 49 static void SetNamedProperty(
|
/base/print/print_fwk/frameworks/helper/include/ |
D | napi_print_utils.h | 46 …static void SetNamedProperty(napi_env env, napi_value object, const std::string &name, napi_value …
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/ |
D | napi_util.h | 67 void SetNamedProperty(const napi_env env, const napi_value obj, const std::string& key, const napi_…
|
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
D | napi_hisysevent_util.cpp | 489 void SetNamedProperty(const napi_env env, napi_value& object, const std::string& propertyName, in SetNamedProperty() function 603 SetNamedProperty(env, params, key, array); in AppendArrayParams() 616 SetNamedProperty(env, params, key, property); in AppendParamsInfo() 693 SetNamedProperty(env, sysEventInfo, PARAMS_ATTR, params); in CreateHiSysEventInfoJsObject() 715 SetNamedProperty(env, jsObj, key, property); in CreateHiSysEventInfoJsObject() 723 SetNamedProperty(env, jsObj, key, property); in CreateHiSysEventInfoJsObject()
|
/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/security/access_token/interfaces/kits/accesstoken/napi/include/ |
D | napi_atmanager.h | 174 …static void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *…
|
/base/security/access_token/interfaces/kits/accesstoken/napi/src/ |
D | napi_atmanager.cpp | 283 void NapiAtManager::SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const… in SetNamedProperty() function in OHOS::Security::AccessToken::NapiAtManager 323 SetNamedProperty(env, grantStatus, PERMISSION_DENIED, "PERMISSION_DENIED"); in Init() 324 SetNamedProperty(env, grantStatus, PERMISSION_GRANTED, "PERMISSION_GRANTED"); in Init() 329 SetNamedProperty(env, permStateChangeType, PERMISSION_REVOKED_OPER, "PERMISSION_REVOKED_OPER"); in Init() 330 SetNamedProperty(env, permStateChangeType, PERMISSION_GRANTED_OPER, "PERMISSION_GRANTED_OPER"); in Init()
|
/base/print/print_fwk/frameworks/helper/src/ |
D | napi_print_utils.cpp | 57 void NapiPrintUtils::SetNamedProperty(napi_env env, napi_value object, const std::string &name, nap… in SetNamedProperty() function in OHOS::Print::NapiPrintUtils
|
/base/hiviewdfx/hilog_lite/frameworks/js/builtin/src/ |
D | hilog_module.cpp | 323 JSI::SetNamedProperty(target, "LogLevel", logLevel); in InitLogLevelType()
|