/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | c_string.cpp | 68 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()
|
H A D | c_string.h | 55 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/ |
H A D | panda_string.cpp | 62 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/stubs/ |
H A D | runtime_optimized_stubs-inl.h | 46 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding() 53 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding() 59 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding() 73 CString errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in UTF16EncodeCodePoint() 101 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding() 107 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding() 146 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding() 154 errorMsg = "DecodeURI: invalid character: " + ConvertToString(str.GetTaggedValue()); in DecodePercentEncoding()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
H A D | containers_bitvector.cpp | 45 CString errorMsg = "The type of \"length\" must be integer. Received value is: " + ConvertToString(*result); in BitVectorConstructor() 128 CString errorMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in Has() 135 CString errorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*result); in Has() 169 CString errorMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in SetBitsByRange() 176 CString errorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*result); in SetBitsByRange() 208 CString errorMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in GetBitsByRange() 215 CString errorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*result); in GetBitsByRange() 244 CString errorMsg = "The type of \"size\" must be integer. Received value is: " + ConvertToString(*result); in Resize() 299 CString errorMsg = "The type of \"fromIndex\" must be integer. Received value is: " + ConvertToString(*result); in GetBitCountByRange() 306 CString errorMsg = "The type of \"toIndex\" must be integer. Received value is: " + ConvertToString(*resul in GetBitCountByRange() [all...] |
H A D | containers_plainarray.cpp | 75 "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(*resul in RemoveRangeFrom() [all...] |
H A D | containers_arraylist.cpp | 98 "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(*resul in ForEach() [all...] |
H A D | containers_list.cpp | 99 "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()
|
H A D | containers_lightweightset.cpp | 98 "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 "The 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()
|
H A D | containers_lightweightmap.cpp | 101 "The type of \"map\" must be LightWeightMap. Received value is: " + ConvertToString(*result); in HasAll() 184 "The type of \"minimumCapacity\" must be small integer. Received value is: " + ConvertToString(*result); in IncreaseCapacityTo() 325 "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in GetKeyAt() 374 "The type of \"map\" must be LightWeightMap. Received value is: " + ConvertToString(*result); in SetAll() 460 "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in RemoveAt() 518 "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in SetValueAt() 550 "The type of \"callbackfn\" must be callable. Received value is: " + ConvertToString(*result); in ForEach() 630 "The type of \"index\" must be small integer. Received value is: " + ConvertToString(*result); in GetValueAt()
|
/arkcompiler/runtime_core/static_core/runtime/include/mem/ |
H A D | panda_string.h | 38 PANDA_PUBLIC_API PandaString ConvertToString(const std::string &str); 39 PANDA_PUBLIC_API PandaString ConvertToString(coretypes::String *s);
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_hashset.cpp | 35 "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()
|
H A D | js_api_tree_map.cpp | 31 "The type of \"key\" must be not null. Received value is: " + ConvertToString(*result); in Set()
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | intrinsics.cpp | 292 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()
|
H A D | relayout_profiler.cpp | 71 auto pandaFileName = ConvertToString(fileName); in AddProfileItem() 72 auto pandaItem = ConvertToString(item); in AddProfileItem()
|
H A D | time_utils.cpp | 69 return ConvertToString(!date.empty() ? date : "1970-01-01 00:00:00"); in GetCurrentTimeString()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_global.cpp | 264 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(st in DecodePercentEncoding() [all...] |
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | json_stringifier.cpp | 160 CString gapString = ConvertToString(*primString, StringConvertedUsage::LOGICOPERATION); in CalculateStringGap() 259 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty() 303 CString str = ConvertToString(*string, StringConvertedUsage::LOGICOPERATION); in SerializeJSONProperty() 320 result_ += ConvertToString(*bigIntStr); in SerializeJSONProperty() 363 str = ConvertToString(EcmaString::Cast(key->GetTaggedObject()), StringConvertedUsage::LOGICOPERATION); in SerializeObjectKey() 367 str = ConvertToString(*JSTaggedValue::ToString(thread_, key), StringConvertedUsage::LOGICOPERATION); in SerializeObjectKey() 592 CString str = ConvertToString(*priStr, StringConvertedUsage::LOGICOPERATION); in SerializePrimitiveRef() 598 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef() 610 result_ += ConvertToString(*bigIntStr); in SerializePrimitiveRef()
|
H A D | fast_json_stringifier.cpp | 102 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, tagValue)); in SerializeJSONProperty() 128 CString str = ConvertToString(*string, StringConvertedUsage::LOGICOPERATION); in SerializeJSONProperty() 169 str = ConvertToString(EcmaString::Cast(key->GetTaggedObject()), StringConvertedUsage::LOGICOPERATION); in SerializeObjectKey() 173 str = ConvertToString(*JSTaggedValue::ToString(thread_, key), StringConvertedUsage::LOGICOPERATION); in SerializeObjectKey() 383 CString str = ConvertToString(*priStr, StringConvertedUsage::LOGICOPERATION); in SerializePrimitiveRef() 389 result_ += ConvertToString(*base::NumberHelper::NumberToString(thread_, priNum)); in SerializePrimitiveRef()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | scope_info_extractor.cpp | 53 CString name = ConvertToString(EcmaString::Cast(val.GetTaggedObject())); in GenerateScopeInfo()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/etsnative/ |
H A D | etsnative_library_path_test.cpp | 88 ASSERT_EQ(GetParam().expected, pandaVm->LoadNativeLibrary(GetEnv(), ConvertToString(GetParam().libraryFile))) in TEST_P()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interpreter/ |
H A D | interpreter-inl.h | 221 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/runtime/profilesaver/ |
H A D | profile_dump_info.cpp | 105 *error += "Profile IO error for " + source + ConvertToString(os::Error(errno).ToString()); in FillFromFd() 180 if (!AddMethodWrapper(ConvertToString(method.pandaFile->GetFilename()), method.pandaFile->GetHeader()->checksum, in AddMethodsAndClasses() 214 auto infoIt = dumpInfo_.find(ConvertToString(methodRef.pandaFile->GetFilename())); in ContainsMethod() 227 auto infoIt = dumpInfo_.find(ConvertToString(pandafile.GetFilename())); in ContainsClass()
|
H A D | profile_saver.cpp | 208 ExtractedResolvedClasses tmpResolvedClasses(ConvertToString(pandafile->GetFilename()), in CallBackTranverseResolvedClassAndMethods() 256 if (locations.find(ConvertToString(ref.pandaFile->GetFilename())) != locations.end()) { in TranverseAndCacheResolvedClassAndMethods()
|
/arkcompiler/ets_runtime/ecmascript/patch/ |
H A D | quick_fix_manager.cpp | 241 std::shared_ptr<JSPandaFile> patchFile = pfManager->FindJSPandaFile(ConvertToString(patchFileName)); in IsQuickFixCausedException() 242 if (patchFile == nullptr || ConvertToString(patchFileName) != patchFile->GetJSPandaFileDesc()) { in IsQuickFixCausedException() 249 CString stackInfo = ConvertToString(*stack); in IsQuickFixCausedException()
|