Home
last modified time | relevance | path

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

123

/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.cpp47 CString recordNameStr = ConvertToString(moduleRecordName); in FreeModuleRecord()
75 CString recordNameStr = ConvertToString(moduleName); in ReviseLoadedModuleCount()
88 …LOG_FULL(INFO) << "Remove native module " << ConvertToString(moduleRecordName).c_str() << " succes… in RemoveModule()
90 …LOG_FULL(INFO) << "Remove native module " << ConvertToString(moduleRecordName).c_str() << " failed… in RemoveModule()
95 … LOG_ECMA_IF(entry == -1, FATAL) << "Can not get module: " << ConvertToString(moduleRecordName) << in RemoveModule()
118 moduleName = ConvertToString(requiredModule->GetEcmaModuleFilename()); in IncreaseRegisterCounts()
125 moduleName = ConvertToString(requiredModule->GetEcmaModuleRecordName()); in IncreaseRegisterCounts()
168 moduleName = ConvertToString(requiredModule->GetEcmaModuleFilename()); in DecreaseRegisterCounts()
175 moduleName = ConvertToString(requiredModule->GetEcmaModuleRecordName()); in DecreaseRegisterCounts()
200 …LOG_FULL(DEBUG) << "try to remove module " << ConvertToString(module->GetEcmaModuleRecordName()).c… in DecreaseRegisterCounts()
Djs_module_source_text.cpp90 CString moduleRequestName = ConvertToString(EcmaString::Cast(moduleRequest->GetTaggedObject())); in HostResolveImportedModuleWithMerge()
97 CString baseFilename = ConvertToString(module->GetEcmaModuleFilename()); in HostResolveImportedModuleWithMerge()
99 CString moduleRecordName = ConvertToString(module->GetEcmaModuleRecordName()); in HostResolveImportedModuleWithMerge()
132 ConvertToString(module->GetEcmaModuleFilename())); in HostResolveImportedModule()
137 HostResolveImportedModule(ConvertToString(moduleFilename.GetTaggedValue())); in HostResolveImportedModule()
346 CString moduleRequestName = ConvertToString(EcmaString::Cast(moduleRequest->GetTaggedObject())); in LoadNativeModule()
381 LOG_FULL(WARN) << "LoadNativeModule " << ConvertToString( in InstantiateNativeModule()
432 ConvertToString(host->GetModuleRequest()) + in InitializeEnvironment()
434 ConvertToString(importName.GetTaggedValue()) + in InitializeEnvironment()
436 ConvertToString(currentModule->GetEcmaModuleRecordName()) + "'"; in InitializeEnvironment()
[all …]
Djs_dynamic_import.cpp38 CString requestPath = ConvertToString(specifierString.GetTaggedValue()); in ExecuteNativeModule()
Djs_module_manager.cpp145 …LOG_FULL(WARN) << "GetNativeModuleValue: currentModule " + ConvertToString(curModuleName.GetTagged… in GetNativeModuleValue()
146 … ", find requireModule " + ConvertToString(nativeModuleName.GetTaggedValue()) + " failed"; in GetNativeModuleValue()
163 …CString errorMsg = "GetCJSModuleValue: currentModule" + ConvertToString(curModuleName.GetTaggedVal… in GetCJSModuleValue()
164 … "find requireModule" + ConvertToString(cjsModuleName.GetTaggedValue()) + "failed"; in GetCJSModuleValue()
323 << ConvertToString(referencing); in HostGetImportedModule()
654 entry = ConvertToString(module); in GetRecordName()
659 entry = ConvertToString(sourceTextModule->GetEcmaModuleRecordName()); in GetRecordName()
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dfile.cpp108 CString dirnameStr = ConvertToString(EcmaString::Cast(dirname.GetTaggedObject())); in ResolveFilenameFromNative()
109 CString requestStr = ConvertToString(EcmaString::Cast(request.GetTaggedObject())); in ResolveFilenameFromNative()
131 resolvedFilename = ConvertToString(absPath); in ResolveFilenameFromNative()
156 …CString soName = base::PathHelper::GetStrippedModuleName(ConvertToString(module->GetEcmaModuleReco… in TryToRemoveSO()
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dfile.cpp134 CString dirnameStr = ConvertToString(EcmaString::Cast(dirname.GetTaggedObject())); in ResolveFilenameFromNative()
135 CString requestStr = ConvertToString(EcmaString::Cast(request.GetTaggedObject())); in ResolveFilenameFromNative()
153 resolvedFilename = ConvertToString(absPath); in ResolveFilenameFromNative()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler.cpp42 CString calleeRecordName = ConvertToString(calleeRecordNameValue); in ProfileCall()
56 CString currentRecordName = ConvertToString(currentRecordNameValue); in ProfileCall()
90 CString recordName = ConvertToString(recordNameValue); in ProfileOpType()
109 CString recordName = ConvertToString(recordNameValue); in ProfileDefineClass()
171 CString recordName = ConvertToString(recordNameValue); in ProfileCreateObject()
222 CString recordName = ConvertToString(recordNameValue); in ProfileObjLayout()
/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()
Djs_api_tree_set.cpp31 … "The type of \"value\" must be Key of JS. Received value is: " + ConvertToString(*result); in Add()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_job.cpp154 CString fileNameStr = ConvertToString(dirPath.GetTaggedValue()); in DynamicImportJob()
155 CString requestPath = ConvertToString(specifierString.GetTaggedValue()); in DynamicImportJob()
169 fileNameStr = ConvertToString(moduleName.GetTaggedValue()); in DynamicImportJob()
171 CString recordNameStr = ConvertToString(recordName.GetTaggedValue()); in DynamicImportJob()
198 … thread->GetEcmaVM()->PushToDeregisterModuleList(ConvertToString(moduleName.GetTaggedValue())); in DynamicImportJob()
/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/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()
283 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Set()
317 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
388 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveByIndex()
439 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ReplaceAllElements()
497 … "The type of \"comparator\" must be callable. Received value is: " + ConvertToString(*result); in Sort()
557 … "The type of \"fromIndex\" must be number. Received value is: " + ConvertToString(*result); in GetSubList()
568 … "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()
454 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveAt()
509 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in SetValueAt()
541 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
618 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in GetValueAt()
Dcontainers_lightweightset.cpp101 … "The type of \"set\" must be LightWeightSet. Received value is: " + ConvertToString(*result); in AddAll()
151 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in GetValueAt()
184 … "The type of \"set\" must be LightWeightSet. Received value is: " + ConvertToString(*result); in HasAll()
276 … "The type of \"minimumCapacity\" must be number. Received value is: " + ConvertToString(*result); in IncreaseCapacityTo()
373 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
445 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveAt()
Dcontainers_treeset.cpp62 … "The type of \"comparefn\" must be callable. Received value is: " + ConvertToString(*result); in TreeSetConstructor()
229 "The type of \"key\" must be not null. Received value is: " + ConvertToString(*result); in GetLowerValue()
260 "The type of \"key\" must be not null. Received value is: " + ConvertToString(*result); in GetHigherValue()
373 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
Dcontainers_linked_list.cpp183 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Insert()
281 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Get()
351 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in RemoveByIndex()
496 "The type of \"index\" must be number. Received value is: " + ConvertToString(*result); in Set()
549 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp207 …std::shared_ptr<JSPandaFile> patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName)… in IsQuickFixCausedException()
208 if (patchFile == nullptr || ConvertToString(patchFileName) != patchFile->GetJSPandaFileDesc()) { in IsQuickFixCausedException()
215 CString stackInfo = ConvertToString(*stack); in IsQuickFixCausedException()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dscope_info_extractor.cpp53 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()
Decma_context.cpp323 CString fullName = ConvertToString(filename.GetTaggedValue()); in CJSExecution()
528 CString string = ConvertToString(*result); in HandleUncaughtException()
560 CString nameBuffer = ConvertToString(*name); in PrintJSErrorInfo()
561 CString msgBuffer = ConvertToString(*msg); in PrintJSErrorInfo()
562 CString stackBuffer = ConvertToString(*stack); in PrintJSErrorInfo()
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp274 CString gapString = ConvertToString(*primString, StringConvertedUsage::LOGICOPERATION); in CalculateStringGap()
352 … result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty()
376 CString str = ConvertToString(*string, StringConvertedUsage::LOGICOPERATION); in SerializeJSONProperty()
424 …str = ConvertToString(EcmaString::Cast(key->GetTaggedObject()), StringConvertedUsage::LOGICOPERATI… in SerializeObjectKey()
428 …str = ConvertToString(*JSTaggedValue::ToString(thread_, key), StringConvertedUsage::LOGICOPERATION… in SerializeObjectKey()
651 CString str = ConvertToString(*priStr, StringConvertedUsage::LOGICOPERATION); in SerializePrimitiveRef()
658 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef()

123