Home
last modified time | relevance | path

Searched refs:ConvertToString (Results 1 – 25 of 81) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/mem/
Dc_string.cpp71 CString ConvertToString(T sp) in ConvertToString() function
90 CString ConvertToString(const std::string &str) in ConvertToString() function
100 CString ConvertToString(const EcmaString *s, StringConvertedUsage usage) in ConvertToString() function
108 CString ConvertToString(JSTaggedValue key) in ConvertToString() function
112 return ConvertToString(EcmaString::ConstCast(key.GetTaggedObject())); in ConvertToString()
120 return ConvertToString(EcmaString::ConstCast(desc.GetTaggedObject())); in ConvertToString()
Dc_string.h55 CString ConvertToString(const std::string &str);
59 CString ConvertToString(const ecmascript::EcmaString *s, StringConvertedUsage usage = StringConvert…
60 CString ConvertToString(ecmascript::JSTaggedValue key);
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_deregister.cpp50 CString recordNameStr = ConvertToString(moduleRecordName); in FreeModuleRecord()
78 CString recordNameStr = ConvertToString(moduleName); in ReviseLoadedModuleCount()
92 …LOG_FULL(INFO) << "Remove native module " << ConvertToString(moduleRecordName).c_str() << " succes… in RemoveModule()
94 …LOG_FULL(INFO) << "Remove native module " << ConvertToString(moduleRecordName).c_str() << " failed… in RemoveModule()
99 … LOG_ECMA_IF(entry == -1, FATAL) << "Can not get module: " << ConvertToString(moduleRecordName) << in RemoveModule()
122 moduleName = ConvertToString(requiredModule->GetEcmaModuleFilename()); in IncreaseRegisterCounts()
129 moduleName = ConvertToString(requiredModule->GetEcmaModuleRecordName()); in IncreaseRegisterCounts()
172 moduleName = ConvertToString(requiredModule->GetEcmaModuleFilename()); in DecreaseRegisterCounts()
179 moduleName = ConvertToString(requiredModule->GetEcmaModuleRecordName()); in DecreaseRegisterCounts()
205 ConvertToString(SourceTextModule::GetModuleName(module.GetTaggedValue())).c_str(); in DecreaseRegisterCounts()
Djs_module_manager.cpp121 context->FindPatchModule(ConvertToString(module->GetEcmaModuleRecordName())); in GetModuleValueOutterInternal()
161 ConvertToString(curModuleName.GetTaggedValue()) + ", find requireModule " + in GetNativeModuleValue()
162 ConvertToString(nativeModuleName.GetTaggedValue()) + " failed"; in GetNativeModuleValue()
186 ConvertToString(curModuleName.GetTaggedValue()) + ", find requireModule " + in GetNativeModuleValue()
187 ConvertToString(nativeModuleName.GetTaggedValue()) + " failed"; in GetNativeModuleValue()
204 …CString errorMsg = "GetCJSModuleValue: currentModule" + ConvertToString(curModuleName.GetTaggedVal… in GetCJSModuleValue()
205 … "find requireModule" + ConvertToString(cjsModuleName.GetTaggedValue()) + "failed"; in GetCJSModuleValue()
364 << ConvertToString(referencing); in HostGetImportedModule()
715 entry = ConvertToString(module); in GetRecordName()
720 entry = ConvertToString(sourceTextModule->GetEcmaModuleRecordName()); in GetRecordName()
[all …]
Djs_module_source_text.cpp89 CString moduleRequestName = ConvertToString(moduleRequest.GetTaggedValue()); in HostResolveImportedModuleWithMerge()
118 CString baseFilename = ConvertToString(module->GetEcmaModuleFilename()); in HostResolveImportedModuleWithMerge()
120 CString moduleRecordName = ConvertToString(module->GetEcmaModuleRecordName()); in HostResolveImportedModuleWithMerge()
153 ConvertToString(module->GetEcmaModuleFilename())); in HostResolveImportedModule()
158 HostResolveImportedModule(ConvertToString(moduleFilename.GetTaggedValue())); in HostResolveImportedModule()
367 …CString moduleRequestName = ConvertToString(EcmaString::Cast(requiredModule->GetEcmaModuleRecordNa… in LoadNativeModule()
402 LOG_FULL(WARN) << "LoadNativeModule " << ConvertToString( in InstantiateNativeModule()
453 ConvertToString(host->GetModuleRequest()) + in InitializeEnvironment()
455 ConvertToString(importName.GetTaggedValue()) + in InitializeEnvironment()
457 ConvertToString(currentModule->GetEcmaModuleRecordName()) + "'"; in InitializeEnvironment()
[all …]
Djs_module_deregister.h37 ConvertToString(SourceTextModule::GetModuleName(moduleRecord.GetTaggedValue()))); in InitForDeregisterModule()
Djs_dynamic_import.cpp42 CString requestPath = ConvertToString(specifierString.GetTaggedValue()); in ExecuteNativeOrJsonModule()
/arkcompiler/runtime_core/static_core/runtime/mem/
Dpanda_string.cpp62 PandaString ConvertToString(Span<const uint8_t> sp) in ConvertToString() function
75 PandaString ConvertToString(const std::string &str) in ConvertToString() function
85 PandaString ConvertToString(coretypes::String *s) in ConvertToString() function
94 return ConvertToString(sp); in ConvertToString()
98 return ConvertToString(sp); in ConvertToString()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dfile.cpp133 CString dirnameStr = ConvertToString(EcmaString::Cast(dirname.GetTaggedObject())); in ResolveFilenameFromNative()
134 CString requestStr = ConvertToString(EcmaString::Cast(request.GetTaggedObject())); in ResolveFilenameFromNative()
156 resolvedFilename = ConvertToString(absPath); in ResolveFilenameFromNative()
181 …CString soName = base::PathHelper::GetStrippedModuleName(ConvertToString(module->GetEcmaModuleReco… in TryToRemoveSO()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dfile.cpp148 CString dirnameStr = ConvertToString(EcmaString::Cast(dirname.GetTaggedObject())); in ResolveFilenameFromNative()
149 CString requestStr = ConvertToString(EcmaString::Cast(request.GetTaggedObject())); in ResolveFilenameFromNative()
167 resolvedFilename = ConvertToString(absPath); in ResolveFilenameFromNative()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_hashset.cpp37 … "The type of \"value\" must be Key of JS. Received value is: " + ConvertToString(*result); in Has()
51 … "The type of \"value\" must be Key of JS. Received value is: " + ConvertToString(*result); in Add()
86 "The type of \"key\" must be not null. Received value is: " + ConvertToString(*result); in Remove()
/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dpanda_string.h38 PANDA_PUBLIC_API PandaString ConvertToString(const std::string &str);
39 PANDA_PUBLIC_API PandaString ConvertToString(coretypes::String *s);
/arkcompiler/runtime_core/static_core/runtime/
Dintrinsics.cpp292 return static_cast<int32_t>(PandaStringToLL(ConvertToString(s))); in ConvertStringToI32()
297 return static_cast<uint32_t>(PandaStringToULL(ConvertToString(s))); in ConvertStringToU32()
302 return static_cast<int64_t>(PandaStringToLL(ConvertToString(s))); in ConvertStringToI64()
307 return static_cast<uint64_t>(PandaStringToULL(ConvertToString(s))); in ConvertStringToU64()
312 return PandaStringToF(ConvertToString(s)); in ConvertStringToF32()
317 return PandaStringToD(ConvertToString(s)); in ConvertStringToF64()
Drelayout_profiler.cpp71 auto pandaFileName = ConvertToString(fileName); in AddProfileItem()
72 auto pandaItem = ConvertToString(item); in AddProfileItem()
Dtime_utils.cpp69 return ConvertToString(!date.empty() ? date : "1970-01-01 00:00:00"); in GetCurrentTimeString()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_plainarray.cpp75 "The type of \"key\" must be number. Received value is: " + ConvertToString(*result); in Add()
146 "The type of \"key\" must be number. Received value is: " + ConvertToString(*result); in Has()
177 "The type of \"key\" must be number. Received value is: " + ConvertToString(*result); in Get()
228 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
275 "The type of \"key\" must be number. Received value is: " + ConvertToString(*result); in GetIndexOfKey()
346 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in GetKeyAt()
376 "The type of \"key\" must be number. Received value is: " + ConvertToString(*result); in Remove()
405 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveAt()
435 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveRangeFrom()
443 "The type of \"size\" must be number. Received value is: " + ConvertToString(*result); in RemoveRangeFrom()
[all …]
Dcontainers_list.cpp99 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Insert()
212 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Get()
286 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Set()
320 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
391 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveByIndex()
442 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ReplaceAllElements()
500 … "The type of \"comparator\" must be callable. Received value is: " + ConvertToString(*result); in Sort()
560 … "The type of \"fromIndex\" must be number. Received value is: " + ConvertToString(*result); in GetSubList()
571 … "The type of \"toIndex\" must be number. Received value is: " + ConvertToString(*result); in GetSubList()
Dcontainers_arraylist.cpp98 … errorMsg = "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Insert()
224 … "The type of \"newCapacity\" must be number. Received value is: " + ConvertToString(*result); in IncreaseCapacityTo()
373 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveByIndex()
437 … "The type of \"fromIndex\" must be number. Received value is: " + ConvertToString(*result); in RemoveByRange()
446 … "The type of \"toIndex\" must be number. Received value is: " + ConvertToString(*result); in RemoveByRange()
480 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ReplaceAllElements()
539 … "The type of \"fromIndex\" must be number. Received value is: " + ConvertToString(*result); in SubArrayList()
548 … "The type of \"toIndex\" must be number. Received value is: " + ConvertToString(*result); in SubArrayList()
580 … "The type of \"comparator\" must be callable. Received value is: " + ConvertToString(*result); in Sort()
691 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
Dcontainers_lightweightmap.cpp108 … "The type of \"map\" must be LightWeightMap. Received value is: " + ConvertToString(*result); in HasAll()
186 … "The type of \"minimumCapacity\" must be number. Received value is: " + ConvertToString(*result); in IncreaseCapacityTo()
324 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in GetKeyAt()
373 … "The type of \"map\" must be LightWeightMap. Received value is: " + ConvertToString(*result); in SetAll()
455 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveAt()
510 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in SetValueAt()
542 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
619 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in GetValueAt()
/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module.cpp111 mergedFilename = ConvertToString(filename.GetTaggedValue()); in Load()
113 CString currentEntryPoint = ConvertToString(entrypointVal.GetTaggedValue()); in Load()
114 CString requestStr = ConvertToString(request.GetTaggedValue()); in Load()
130 CString fullName = ConvertToString(filename.GetTaggedValue()); in Load()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_job.cpp156 CString fileNameStr = ConvertToString(dirPath.GetTaggedValue()); in DynamicImportJob()
157 CString requestPath = ConvertToString(specifierString.GetTaggedValue()); in DynamicImportJob()
163 recordNameStr = ConvertToString(recordName.GetTaggedValue()); in DynamicImportJob()
184 fileNameStr = ConvertToString(moduleName.GetTaggedValue()); in DynamicImportJob()
/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp234 …std::shared_ptr<JSPandaFile> patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName)… in IsQuickFixCausedException()
235 if (patchFile == nullptr || ConvertToString(patchFileName) != patchFile->GetJSPandaFileDesc()) { in IsQuickFixCausedException()
242 CString stackInfo = ConvertToString(*stack); in IsQuickFixCausedException()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dscope_info_extractor.cpp54 CString name = ConvertToString(EcmaString::Cast(val.GetTaggedObject())); in GenerateScopeInfo()
/arkcompiler/ets_runtime/ecmascript/
Dsubtyping_operator.cpp220 << ConvertToString(EcmaString::Cast(key->GetTaggedObject())); in TryMaintainTSSubtyping()
253 << ConvertToString(EcmaString::Cast(key->GetTaggedObject())); in TryMaintainTSSubtypingOnPrototype()
260 << ConvertToString(EcmaString::Cast(key->GetTaggedObject())); in TryMaintainTSSubtypingOnPrototype()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp171 CString gapString = ConvertToString(*primString, StringConvertedUsage::LOGICOPERATION); in CalculateStringGap()
256 … result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty()
295 CString str = ConvertToString(*string, StringConvertedUsage::LOGICOPERATION); in SerializeJSONProperty()
343 …str = ConvertToString(EcmaString::Cast(key->GetTaggedObject()), StringConvertedUsage::LOGICOPERATI… in SerializeObjectKey()
347 …str = ConvertToString(*JSTaggedValue::ToString(thread_, key), StringConvertedUsage::LOGICOPERATION… in SerializeObjectKey()
572 CString str = ConvertToString(*priStr, StringConvertedUsage::LOGICOPERATION); in SerializePrimitiveRef()
579 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef()

1234