Home
last modified time | relevance | path

Searched refs:CreateString (Results 1 – 25 of 32) sorted by relevance

12

/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_init.cpp61 eventMap["USER_LOGIN"] = NapiUtil::CreateString(env, "hiappevent.user_login"); in InitEventMap()
62 eventMap["USER_LOGOUT"] = NapiUtil::CreateString(env, "hiappevent.user_logout"); in InitEventMap()
63 …eventMap["DISTRIBUTED_SERVICE_START"] = NapiUtil::CreateString(env, "hiappevent.distributed_servic… in InitEventMap()
68 paramMap["USER_ID"] = NapiUtil::CreateString(env, "user_id"); in InitParamMap()
69 paramMap["DISTRIBUTED_SERVICE_NAME"] = NapiUtil::CreateString(env, "ds_name"); in InitParamMap()
70 paramMap["DISTRIBUTED_SERVICE_INSTANCE_ID"] = NapiUtil::CreateString(env, "ds_instance_id"); in InitParamMap()
Dnapi_util.cpp339 napi_value CreateString(const napi_env env, const std::string& str) in CreateString() function
353 SetElement(env, arr, i, CreateString(env, strs[i])); in CreateStrings()
445 …if (napi_create_error(env, CreateString(env, std::to_string(code)), CreateString(env, msg), &err) … in CreateError()
Dnapi_hiappevent_write.cpp59 napi_value resource = NapiUtil::CreateString(env, "NapiHiAppEventWriter"); in Write()
/base/hiviewdfx/hilog_lite/test/unittest/
Dhilog_lite_test.cpp241 ACELite::JSIValue thisVal = ACELite::JSI::CreateString(HILOG_THIS_VAL); in HWTEST_F()
242 ACELite::JSIValue args = ACELite::JSI::CreateString(HILOG_CONTENT); in HWTEST_F()
257 ACELite::JSIValue thisVal = ACELite::JSI::CreateString(HILOG_THIS_VAL); in HWTEST_F()
258 ACELite::JSIValue args = ACELite::JSI::CreateString(HILOG_CONTENT); in HWTEST_F()
273 ACELite::JSIValue thisVal = ACELite::JSI::CreateString(HILOG_THIS_VAL); in HWTEST_F()
274 ACELite::JSIValue args = ACELite::JSI::CreateString(HILOG_CONTENT); in HWTEST_F()
289 ACELite::JSIValue thisVal = ACELite::JSI::CreateString(HILOG_THIS_VAL); in HWTEST_F()
290 ACELite::JSIValue args = ACELite::JSI::CreateString(HILOG_CONTENT); in HWTEST_F()
305 ACELite::JSIValue thisVal = ACELite::JSI::CreateString(HILOG_THIS_VAL); in HWTEST_F()
306 ACELite::JSIValue args = ACELite::JSI::CreateString(HILOG_CONTENT); in HWTEST_F()
[all …]
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Daccount_related_group_auth_dir_test.cpp354 entry->userId = CreateString();
383 entry->userId = CreateString();
386 entry->id = CreateString();
415 entry->userId = CreateString();
418 entry->id = CreateString();
421 localAuthInfo->udid = CreateString();
449 entry->userId = CreateString();
451 entry->id = CreateString();
454 localAuthInfo->udid = CreateString();
456 localAuthInfo->udid = CreateString();
/base/global/i18n/interfaces/js/kits/src/
Dsystem_locale_manager_addon.cpp196 VariableConvertor::CreateString(env, timezoneCityItem.zoneId)); in CreateTimeZoneCityItem()
202 VariableConvertor::CreateString(env, timezoneCityItem.cityId)); in CreateTimeZoneCityItem()
208 VariableConvertor::CreateString(env, timezoneCityItem.cityDisplayName)); in CreateTimeZoneCityItem()
220 VariableConvertor::CreateString(env, timezoneCityItem.zoneDisplayName)); in CreateTimeZoneCityItem()
290 …status = napi_set_named_property(env, result, "id", VariableConvertor::CreateString(env, localeIte… in CreateLocaleItem()
296 VariableConvertor::CreateString(env, localeItem.displayName)); in CreateLocaleItem()
303 VariableConvertor::CreateString(env, localeItem.localName)); in CreateLocaleItem()
Dvariable_convertor.cpp130 napi_value VariableConvertor::CreateString(napi_env env, const std::string &str) in CreateString() function in OHOS::Global::I18n::VariableConvertor
/base/security/device_auth/common_lib/interfaces/
Dhc_string.h93 HcString CreateString(void);
/base/security/crypto_framework/test/unittest/src/
Dcrypto_common_cov_test.cpp390 HcString tmp = CreateString();
416 HcString tmp = CreateString();
424 HcString tmp = CreateString();
451 HcString tmp = CreateString();
459 HcString tmp = CreateString();
460 HcString sub = CreateString();
469 HcString tmp = CreateString();
483 HcString tmp = CreateString();
/base/security/crypto_framework/common/inc/
Dhcf_string.h106 HcString CreateString(void);
/base/global/i18n/interfaces/js/kits/include/
Dvariable_convertor.h35 static napi_value CreateString(napi_env env, const std::string &str);
/base/security/crypto_framework/common/src/
Dparams_parser.c129 HcString str = CreateString(); in ParseAndSetParameter()
130 HcString subStr = CreateString(); in ParseAndSetParameter()
Dhcf_string.c212 HcString CreateString(void) in CreateString() function
/base/notification/common_event_service/frameworks/extension/src/
Djs_static_subscriber_extension.cpp205 nativeEngine.CreateString(want.GetAction().c_str(), want.GetAction().size())); in OnReceiveEvent()
207 nativeEngine.CreateString(want.GetBundle().c_str(), want.GetBundle().size())); in OnReceiveEvent()
210 nativeEngine.CreateString(data->GetData().c_str(), data->GetData().size())); in OnReceiveEvent()
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/js/napi/
Dnapi_util.h37 static napi_value CreateString(const napi_env env, const std::string& str);
Dnapi_util.cpp70 napi_value NapiUtil::CreateString(const napi_env env, const std::string& str) in CreateString() function in OHOS::HiviewDFX::NapiUtil
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c147 HcString str = CreateString(); in LoadStringVectorFromParcel()
247 HcString ownerName = CreateString(); in GenerateGroupEntryFromEntry()
862 ptr->name = CreateString(); in CreateGroupEntry()
863 ptr->id = CreateString(); in CreateGroupEntry()
864 ptr->userId = CreateString(); in CreateGroupEntry()
865 ptr->sharedUserId = CreateString(); in CreateGroupEntry()
902 ptr->groupId = CreateString(); in CreateDeviceEntry()
903 ptr->udid = CreateString(); in CreateDeviceEntry()
904 ptr->authId = CreateString(); in CreateDeviceEntry()
905 ptr->userId = CreateString(); in CreateDeviceEntry()
[all …]
/base/security/device_auth/common_lib/impl/src/
Dhc_string.c155 HcString CreateString(void) in CreateString() function
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/mini/
Dhc_file.c118 HcString subFileName = CreateString(); in HcFileGetSubFileName()
Dhc_file_posix.c207 HcString subFileName = CreateString(); in HcFileGetSubFileName()
/base/security/huks/frameworks/crypto_lite/js/builtin/src/
Dcipher_module.cpp38 JSIValue data = JSI::CreateString("System error"); in Rsa()
116 JSIValue data = JSI::CreateString("System error"); in Aes()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_thread.c121 thread->name = CreateString(); in InitThread()
Dhc_file.c198 HcString subFileName = CreateString(); in HcFileGetSubFileName()
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/
Dhc_thread.c123 thread->name = CreateString(); in InitThread()
/base/hiviewdfx/hiappevent/frameworks/js/napi/include/
Dnapi_util.h60 napi_value CreateString(const napi_env env, const std::string& str);

12