Home
last modified time | relevance | path

Searched refs:SetNamedProperty (Results 1 – 17 of 17) sorted by relevance

/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_app_account_constant.cpp27 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()
29SetNamedProperty(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()
34SetNamedProperty(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 …]
Dnapi_app_account_common.cpp365 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/
Dhks_lite_api.cpp28 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 …]
Dhks_lite_api_common.cpp405 JSI::SetNamedProperty(res, HKS_RESULT_PROPERTY_OUTDATA, typedArray); in HksConstructJSIReturnResult()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_app_event_holder.cpp69 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()
Dnapi_util.cpp399 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/
Dhiview_napi_util.cpp97 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/
Dnapi_hitrace_util.cpp53 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/
Dhiview_napi_util.h49 static void SetNamedProperty(
/base/print/print_fwk/frameworks/helper/include/
Dnapi_print_utils.h46 …static void SetNamedProperty(napi_env env, napi_value object, const std::string &name, napi_value …
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_util.h67 void SetNamedProperty(const napi_env env, const napi_value obj, const std::string& key, const napi_…
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp489 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/
Dnapi_app_account_common.h252 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/
Dnapi_atmanager.h174 …static void SetNamedProperty(napi_env env, napi_value dstObj, const int32_t objValue, const char *…
/base/security/access_token/interfaces/kits/accesstoken/napi/src/
Dnapi_atmanager.cpp283 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/
Dnapi_print_utils.cpp57 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/
Dhilog_module.cpp323 JSI::SetNamedProperty(target, "LogLevel", logLevel); in InitLogLevelType()