Home
last modified time | relevance | path

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

1234

/arkcompiler/ets_runtime/ecmascript/mem/
Dc_string.cpp68 CString ConvertToString(T sp) in ConvertToString() function
87 CString ConvertToString(const std::string &str) in ConvertToString() function
97 CString ConvertToString(const EcmaString *s, StringConvertedUsage usage, bool cesu8) in ConvertToString() function
105 CString ConvertToString(JSTaggedValue key) in ConvertToString() function
109 return ConvertToString(EcmaString::ConstCast(key.GetTaggedObject())); in ConvertToString()
117 return ConvertToString(EcmaString::ConstCast(desc.GetTaggedObject())); in ConvertToString()
Dc_string.h55 CString ConvertToString(const std::string &str);
60 CString PUBLIC_API ConvertToString(const ecmascript::EcmaString *s,
62 CString ConvertToString(ecmascript::JSTaggedValue key);
/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/containers/
Dcontainers_bitvector.cpp47 …rrorMsg = "The type of \"length\" must be integer. Received value is: " + ConvertToString(*result); in BitVectorConstructor()
131 …rMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in Has()
138 …rorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*result); in Has()
172 …rMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in SetBitsByRange()
179 …rorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*result); in SetBitsByRange()
211 …rMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in GetBitsByRange()
218 …rorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*result); in GetBitsByRange()
247 … errorMsg = "The type of \"size\" must be integer. Received value is: " + ConvertToString(*result); in Resize()
302 …rMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in GetBitCountByRange()
309 …rorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*result); in GetBitCountByRange()
[all …]
Dcontainers_plainarray.cpp75 … "The type of \"key\" must be small integer. Received value is: " + ConvertToString(*result); in Add()
149 … "The type of \"key\" must be small integer. Received value is: " + ConvertToString(*result); in Has()
183 … "The type of \"key\" must be small integer. Received value is: " + ConvertToString(*result); in Get()
234 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
284 … "The type of \"key\" must be small integer. Received value is: " + ConvertToString(*result); in GetIndexOfKey()
358 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in GetKeyAt()
391 … "The type of \"key\" must be small integer. Received value is: " + ConvertToString(*result); in Remove()
423 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveAt()
459 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveRangeFrom()
467 … "The type of \"size\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveRangeFrom()
[all …]
Dcontainers_arraylist.cpp98 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in Insert()
224 … "The type of \"newCapacity\" must be number. Received value is: " + ConvertToString(*result); in IncreaseCapacityTo()
376 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveByIndex()
440 … "The type of \"fromIndex\" must be number. Received value is: " + ConvertToString(*result); in RemoveByRange()
449 … "The type of \"toIndex\" must be number. Received value is: " + ConvertToString(*result); in RemoveByRange()
483 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ReplaceAllElements()
542 … "The type of \"fromIndex\" must be number. Received value is: " + ConvertToString(*result); in SubArrayList()
551 … "The type of \"toIndex\" must be number. Received value is: " + ConvertToString(*result); in SubArrayList()
583 … "The type of \"comparator\" must be callable. Received value is: " + ConvertToString(*result); in Sort()
694 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
Dcontainers_list.cpp99 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in Insert()
215 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in Get()
289 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in Set()
323 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
397 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveByIndex()
448 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ReplaceAllElements()
506 … "The type of \"comparator\" must be callable. Received value is: " + ConvertToString(*result); in Sort()
570 … "The type of \"fromIndex\" must be number. Received value is: " + ConvertToString(*result); in GetSubList()
586 … "The type of \"toIndex\" must be number. Received value is: " + ConvertToString(*result); in GetSubList()
Dcontainers_lightweightmap.cpp104 … "The type of \"map\" must be LightWeightMap. Received value is: " + ConvertToString(*result); in HasAll()
187 …type of \"minimumCapacity\" must be small integer. Received value is: " + ConvertToString(*result); in IncreaseCapacityTo()
328 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in GetKeyAt()
377 … "The type of \"map\" must be LightWeightMap. Received value is: " + ConvertToString(*result); in SetAll()
463 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveAt()
521 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in SetValueAt()
553 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
633 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in GetValueAt()
Dcontainers_lightweightset.cpp98 … "The type of \"set\" must be LightWeightSet. Received value is: " + ConvertToString(*result); in AddAll()
151 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in GetValueAt()
183 … "The type of \"set\" must be LightWeightSet. Received value is: " + ConvertToString(*result); in HasAll()
281 …type of \"minimumCapacity\" must be small integer. Received value is: " + ConvertToString(*result); in IncreaseCapacityTo()
378 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
455 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveAt()
Dcontainers_linked_list.cpp182 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in Insert()
282 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in Get()
355 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveByIndex()
503 … "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in Set()
556 … "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach()
/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/ets_runtime/ecmascript/js_api/
Djs_api_hashset.cpp35 … "The type of \"value\" must be Key of JS. Received value is: " + ConvertToString(*result); in Has()
49 … "The type of \"value\" must be Key of JS. Received value is: " + ConvertToString(*result); in Add()
84 "The type of \"key\" must be not null. Received value is: " + ConvertToString(*result); in Remove()
Djs_api_tree_set.cpp30 … "The type of \"value\" must be Key of JS. Received value is: " + ConvertToString(*result); in Add()
/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/builtins/
Dbuiltins_global.cpp264 … errorMsg = "DecodeURI: invalid character: " + ConvertToString(string.GetTaggedValue()); in Encode()
282 … errorMsg = "DecodeURI: invalid character: " + ConvertToString(string.GetTaggedValue()); in Encode()
287 … errorMsg = "DecodeURI: invalid character: " + ConvertToString(string.GetTaggedValue()); in Encode()
531 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
537 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
576 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
584 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
608 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
613 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
621 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
[all …]
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp162 CString gapString = ConvertToString(*primString, StringConvertedUsage::LOGICOPERATION); in CalculateStringGap()
262 … result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty()
306 CString str = ConvertToString(*string, StringConvertedUsage::LOGICOPERATION); in SerializeJSONProperty()
324 result_ += ConvertToString(*bigIntStr); in SerializeJSONProperty()
367 …str = ConvertToString(EcmaString::Cast(key->GetTaggedObject()), StringConvertedUsage::LOGICOPERATI… in SerializeObjectKey()
371 …str = ConvertToString(*JSTaggedValue::ToString(thread_, key), StringConvertedUsage::LOGICOPERATION… in SerializeObjectKey()
597 CString str = ConvertToString(*priStr, StringConvertedUsage::LOGICOPERATION); in SerializePrimitiveRef()
604 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef()
616 result_ += ConvertToString(*bigIntStr); in SerializePrimitiveRef()
Dfast_json_stringifier.cpp103 … result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty()
129 CString str = ConvertToString(*string, StringConvertedUsage::LOGICOPERATION); in SerializeJSONProperty()
171 …str = ConvertToString(EcmaString::Cast(key->GetTaggedObject()), StringConvertedUsage::LOGICOPERATI… in SerializeObjectKey()
175 …str = ConvertToString(*JSTaggedValue::ToString(thread_, key), StringConvertedUsage::LOGICOPERATION… in SerializeObjectKey()
386 CString str = ConvertToString(*priStr, StringConvertedUsage::LOGICOPERATION); in SerializePrimitiveRef()
393 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dscope_info_extractor.cpp53 CString name = ConvertToString(EcmaString::Cast(val.GetTaggedObject())); in GenerateScopeInfo()
/arkcompiler/ets_runtime/ecmascript/patch/
Dquick_fix_manager.cpp240 …std::shared_ptr<JSPandaFile> patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName)… in IsQuickFixCausedException()
241 if (patchFile == nullptr || ConvertToString(patchFileName) != patchFile->GetJSPandaFileDesc()) { in IsQuickFixCausedException()
248 CString stackInfo = ConvertToString(*stack); in IsQuickFixCausedException()
/arkcompiler/runtime_core/static_core/runtime/profilesaver/
Dprofile_dump_info.cpp105 … *error += "Profile IO error for " + source + ConvertToString(os::Error(errno).ToString()); in FillFromFd()
180 …if (!AddMethodWrapper(ConvertToString(method.pandaFile->GetFilename()), method.pandaFile->GetHeade… in AddMethodsAndClasses()
214 auto infoIt = dumpInfo_.find(ConvertToString(methodRef.pandaFile->GetFilename())); in ContainsMethod()
227 auto infoIt = dumpInfo_.find(ConvertToString(pandafile.GetFilename())); in ContainsClass()
Dprofile_saver.cpp208 ExtractedResolvedClasses tmpResolvedClasses(ConvertToString(pandafile->GetFilename()), in CallBackTranverseResolvedClassAndMethods()
256 if (locations.find(ConvertToString(ref.pandaFile->GetFilename())) != locations.end()) { in TranverseAndCacheResolvedClassAndMethods()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/
Dinterpreter-inl.h221 auto errorMsg = "Class " + ark::ConvertToString(klass->GetName()) + in HandleEtsLdobjName()
263 auto errorMsg = "Class " + ark::ConvertToString(klass->GetName()) + in HandleEtsLdobjNameWide()
307 auto errorMsg = "Class " + ark::ConvertToString(klass->GetName()) + in HandleEtsLdobjNameObj()
349 auto errorMsg = "Class " + ark::ConvertToString(klass->GetName()) + in HandleEtsStobjName()
391 auto errorMsg = "Class " + ark::ConvertToString(klass->GetName()) + in HandleEtsStobjNameWide()
435 auto errorMsg = "Class " + ark::ConvertToString(klass->GetName()) + in HandleEtsStobjNameObj()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_String.cpp310 …auto message = "Language tag '" + ConvertToString(langTag->GetCoreType()) + "' is invalid or not s… in StdCoreStringToLocaleUpperCase()
324 …auto message = "Language tag '" + ConvertToString(langTag->GetCoreType()) + "' is invalid or not s… in StdCoreStringToLocaleLowerCase()
338 …auto message = "Language tag '" + ConvertToString(langTag->GetCoreType()) + "' is invalid or not s… in StdCoreStringLocaleCmp()

1234