Home
last modified time | relevance | path

Searched refs:ToString (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_sendable_tests.cpp169 ASSERT_EQ("name", constructor->GetName(vm_)->ToString(vm_)); in HWTEST_F_L0()
193 ASSERT_EQ("static", constructor->Get(vm_, staticKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
194 ASSERT_EQ("nonStatic", prototype->Get(vm_, nonStaticKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
195 ASSERT_EQ("undefined", constructor->Get(vm_, invalidKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
196 ASSERT_EQ("undefined", prototype->Get(vm_, invalidKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
200 ASSERT_EQ("static0", constructor->Get(vm_, staticKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
204 ASSERT_EQ("nonStatic0", prototype->Get(vm_, nonStaticKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
211 ASSERT_EQ("undefined", constructor->Get(vm_, invalidKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
218 ASSERT_EQ("undefined", prototype->Get(vm_, invalidKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
227 ASSERT_EQ("static", constructor->Get(vm_, staticKey)->ToString(vm_)->ToString(vm_)); in HWTEST_F_L0()
[all …]
Djsnapi_sample.cpp220 std::string charObjectStr = charObject->ToString(vm_); in HWTEST_F_L0()
250 std::string char16tObjectStr = char16tObject->ToString(vm_); in HWTEST_F_L0()
273 … GTEST_LOG_(INFO) << "sample_primitive_symbol_description : " << symbolDescription->ToString(vm_); in HWTEST_F_L0()
452 return temp->ToString(info->GetVM()); in Getter1()
462 return temp->ToString(info->GetVM()); in Getter2()
530 GTEST_LOG_(INFO) << "PropertyNames: " << symbol->GetDescription(vm)->ToString(vm); in GetProperty()
532 GTEST_LOG_(INFO) << "PropertyNames: " << value->ToString(vm)->ToString(vm); in GetProperty()
543 GTEST_LOG_(INFO) << "Key:1 Value:" << value->ToString(vm)->ToString(vm); in Get()
547 GTEST_LOG_(INFO) << "Key:Test2 Value:" << value->ToString(vm)->ToString(vm); in Get()
551 GTEST_LOG_(INFO) << "Key:AttributeKey1 Value:" << value->ToString(vm)->ToString(vm); in Get()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_errors.h28 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
36 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
44 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
52 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
62 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
70 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
78 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
86 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
93 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
100 static JSTaggedValue ToString(EcmaRuntimeCallInfo *argv);
Dbuiltins_errors.cpp29 JSTaggedValue BuiltinsError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsError
42 JSTaggedValue BuiltinsRangeError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsRangeError
55 JSTaggedValue BuiltinsReferenceError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsReferenceError
68 JSTaggedValue BuiltinsTypeError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsTypeError
89 JSTaggedValue BuiltinsURIError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsURIError
102 JSTaggedValue BuiltinsSyntaxError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsSyntaxError
115 JSTaggedValue BuiltinsEvalError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsEvalError
150 JSHandle<EcmaString> handleStr = JSTaggedValue::ToString(thread, message); in AggregateErrorConstructor()
185 JSTaggedValue BuiltinsAggregateError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsAggregateError
198 JSTaggedValue BuiltinsOOMError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsOOMError
[all …]
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dspan_test.cpp27 std::string ToString(Span<T> s) in ToString() function
58 EXPECT_EQ(ToString(Double(Span(c))), "2 4 6 "); in TEST()
59 EXPECT_EQ(ToString(Double(Span(v))), "8 10 12 "); in TEST()
60 EXPECT_EQ(ToString(Span(constV)), "-4 -5 -6 "); in TEST()
61 EXPECT_EQ(ToString(Double(Span(a))), "14 16 18 "); in TEST()
62 EXPECT_EQ(ToString(Double(Span(p.get(), sz))), "20 22 24 "); in TEST()
63 EXPECT_EQ(ToString(Double(Span(p.get(), p.get() + 2U))), "40 44 "); in TEST()
64 EXPECT_EQ(ToString(Double(Span(s))), "@ B D "); in TEST()
74 EXPECT_EQ(ToString(s), "2 3 4 "); in TEST()
75 EXPECT_EQ(ToString(f), "2 3 "); in TEST()
[all …]
/arkcompiler/runtime_core/libpandabase/tests/
Dspan_test.cpp27 std::string ToString(Span<T> s) in ToString() function
57 EXPECT_EQ(ToString(Double(Span(c))), "2 4 6 "); in TEST()
58 EXPECT_EQ(ToString(Double(Span(v))), "8 10 12 "); in TEST()
59 EXPECT_EQ(ToString(Span(const_v)), "-4 -5 -6 "); in TEST()
60 EXPECT_EQ(ToString(Double(Span(a))), "14 16 18 "); in TEST()
61 EXPECT_EQ(ToString(Double(Span(p.get(), sz))), "20 22 24 "); in TEST()
62 EXPECT_EQ(ToString(Double(Span(p.get(), p.get() + 2))), "40 44 "); in TEST()
63 EXPECT_EQ(ToString(Double(Span(s))), "@ B D "); in TEST()
73 EXPECT_EQ(ToString(s), "2 3 4 "); in TEST()
74 EXPECT_EQ(ToString(f), "2 3 "); in TEST()
[all …]
Dunix_error_test.cpp25 ASSERT_EQ(err1.ToString(), "error");
28 ASSERT_EQ(err2.ToString(), "Operation not permitted");
/arkcompiler/runtime_core/assembler/tests/
Dassembler_ins_test.cpp102 std::string ret = function_value[0].ToString("test", true, 0);
104 ret = function_value[0].ToString("test", false, 0);
107 ret = function_value[1].ToString("test", true, 0);
109 ret = function_value[1].ToString("test", false, 0);
112 ret = function_value[2].ToString("test", true, 0);
114 ret = function_value[2].ToString("test", false, 0);
137 std::string ret = ins.ToString("test", true, 0);
139 ret = ins.ToString("test", false, 0);
143 ret = ins.ToString("test", true, 0);
145 ret = ins.ToString("test", false, 0);
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/types/
DobjectLiteralType.cpp26 void ObjectLiteralType::ToString(std::stringstream &ss) const in ToString() function in panda::es2panda::checker::ObjectLiteralType
31 desc_->stringIndexInfo->ToString(ss, false); in ToString()
36 desc_->numberIndexInfo->ToString(ss, true); in ToString()
41 it->ToString(ss, nullptr, true); in ToString()
47 it->ToString(ss, nullptr, true); in ToString()
65 it->TsType()->ToString(ss); in ToString()
DindexInfo.cpp27 void IndexInfo::ToString(std::stringstream &ss, bool numIndex) const in ToString() function in panda::es2panda::checker::IndexInfo
41 type_->ToString(ss); in ToString()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DobjectLiteralType.cpp25 void ObjectLiteralType::ToString(std::stringstream &ss, [[maybe_unused]] bool precise) const in ToString() function in ark::es2panda::checker::ObjectLiteralType
30 desc_->stringIndexInfo->ToString(ss, false); in ToString()
35 desc_->numberIndexInfo->ToString(ss, true); in ToString()
40 it->ToString(ss, nullptr, true); in ToString()
46 it->ToString(ss, nullptr, true); in ToString()
64 it->TsType()->ToString(ss); in ToString()
DindexInfo.cpp26 void IndexInfo::ToString(std::stringstream &ss, bool numIndex) const in ToString() function in ark::es2panda::checker::IndexInfo
40 type_->ToString(ss); in ToString()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsExtensionFuncHelperType.cpp30 void ETSExtensionFuncHelperType::ToString(std::stringstream &ss, bool precise) const in ToString() function in ark::es2panda::checker::ETSExtensionFuncHelperType
32 classMethodType_->ToString(ss, precise); in ToString()
34 extensionFunctionType_->ToString(ss, precise); in ToString()
DetsAsyncFuncReturnType.cpp21 void ETSAsyncFuncReturnType::ToString(std::stringstream &ss, bool precise) const in ToString() function in ark::es2panda::checker::ETSAsyncFuncReturnType
23 promiseType_->ToString(ss, precise); in ToString()
25 GetPromiseTypeArg()->ToString(ss, precise); in ToString()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dason_test.cpp98 JSHandle<EcmaString> handleStr2(JSTaggedValue::ToString(thread, handleMsg2)); in HWTEST_F_L0()
103 JSHandle<EcmaString> handleStr3(JSTaggedValue::ToString(thread, handleMsg3)); in HWTEST_F_L0()
108 JSHandle<EcmaString> handleStr4(JSTaggedValue::ToString(thread, handleMsg4)); in HWTEST_F_L0()
113 JSHandle<EcmaString> handleStr5(JSTaggedValue::ToString(thread, handleMsg5)); in HWTEST_F_L0()
127 JSHandle<EcmaString> handleStr2(JSTaggedValue::ToString(thread, handleMsg2)); in HWTEST_F_L0()
134 JSHandle<EcmaString> handleStr3(JSTaggedValue::ToString(thread, handleMsg3)); in HWTEST_F_L0()
141 JSHandle<EcmaString> handleStr4(JSTaggedValue::ToString(thread, handleMsg4)); in HWTEST_F_L0()
154 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Object in HWTEST_F_L0()
165 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Array in HWTEST_F_L0()
176 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); in HWTEST_F_L0()
[all …]
Djson_parser_test.cpp116 JSHandle<EcmaString> handleStr2(JSTaggedValue::ToString(thread, handleMsg2)); in HWTEST_F_L0()
121 JSHandle<EcmaString> handleStr3(JSTaggedValue::ToString(thread, handleMsg3)); in HWTEST_F_L0()
126 JSHandle<EcmaString> handleStr4(JSTaggedValue::ToString(thread, handleMsg4)); in HWTEST_F_L0()
147 JSHandle<EcmaString> handleStr2(JSTaggedValue::ToString(thread, handleMsg2)); in HWTEST_F_L0()
154 JSHandle<EcmaString> handleStr3(JSTaggedValue::ToString(thread, handleMsg3)); in HWTEST_F_L0()
161 JSHandle<EcmaString> handleStr4(JSTaggedValue::ToString(thread, handleMsg4)); in HWTEST_F_L0()
182 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Object in HWTEST_F_L0()
201 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Array in HWTEST_F_L0()
227 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Object in HWTEST_F_L0()
286 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/constant_propagation/
Dlattice_element.cpp48 std::string TopElement::ToString() in ToString() function in panda::bytecodeopt::TopElement
66 std::string BottomElement::ToString() in ToString() function in panda::bytecodeopt::BottomElement
117 std::string ConstantElement::ToString() in ToString() function in panda::bytecodeopt::ConstantElement
119 return "Constant: " + value_.ToString(); in ToString()
Dlattice_element.h77 virtual std::string ToString() = 0;
90 std::string ToString() override;
102 std::string ToString() override;
121 std::string ToString() override;
/arkcompiler/runtime_core/static_core/verification/absint/
Dabs_int_inl.cpp51 LOG_VERIFIER_BAD_REGISTER_TYPE(RegisterName(reg, true), ToString(type), ToString(tgtType)); in CheckRegType()
71 prevAtvImage = ToString(&GetReg(regIdx)); in SetReg()
73 auto newAtvImage = ToString(&val); in SetReg()
173 LOG_VERIFIER_REGISTER_CONFLICT(RegisterName(regIdx), ToString(src.GetAbstractType()), in Sync()
174 ToString(dst.GetAbstractType())); in Sync()
Dabs_int_inl.h204 PandaString ToString(Type tp) const in ToString() function
206 return tp.ToString(GetTypeSystem()); in ToString()
209 PandaString ToString(PandaVector<Type> const &types) const in ToString() function
217 result += ToString(type); in ToString()
224 PandaString ToString(AbstractTypedValue const *atv) const in ToString() function
226 return atv->ToString(GetTypeSystem()); in ToString()
1547 LOG_VERIFIER_BAD_ARRAY_ELEMENT_TYPE(ToString(arrEltType), ToString(refType_)); in HandleLdarrObj()
1670 LOG_VERIFIER_DEBUG_TYPE(ToString(type)); in HandleNewarr()
1675 LOG_VERIFIER_ARRAY_OF_NON_ARRAY_TYPE(ToString(type)); in HandleNewarr()
1699 LOG_VERIFIER_DEBUG_TYPE(ToString(cachedType)); in HandleNewobj()
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/types/
Dtype.cpp52 void Type::ToString(std::stringstream &ss) const in ToString() function in ark::es2panda::checker::Type
54 ToString(ss, false); in ToString()
59 ToString(ss); in ToStringAsSrc()
62 std::string Type::ToString() const in ToString() function in ark::es2panda::checker::Type
65 ToString(ss); in ToString()
79 ToString(ss, true); in ToStringPrecise()
/arkcompiler/runtime_core/abc2program/tests/cpp_sources/
Dhello_world_test.cpp354 std::string pa_ins_str0 = ins0.ToString("", true, regs_num);
360 std::string pa_ins_str3 = ins3.ToString("", true, regs_num);
366 std::string pa_ins_str9 = ins9.ToString("", true, regs_num);
372 std::string pa_ins_str11 = ins11.ToString("", true, regs_num);
391 std::string pa_ins_str12 = ins12.ToString("", true, regs_num);
397 std::string pa_ins_str22 = ins22.ToString("", true, regs_num);
403 std::string pa_ins_str26 = ins26.ToString("", true, regs_num);
409 std::string pa_ins_str29 = ins29.ToString("", true, regs_num);
415 std::string pa_ins_str33 = ins33.ToString("", true, regs_num);
421 std::string pa_ins_str36 = ins36.ToString("", true, regs_num);
[all …]
/arkcompiler/toolchain/tooling/backend/
Ddebugger_executor.cpp59 std::string varName = Local<StringRef>(name)->ToString(vm); in DebuggerGetValue()
84 std::string varName = StringRef::Cast(*name)->ToString(vm); in DebuggerSetValue()
143 int32_t index = DebuggerApi::GetVregIndex(frameHandler, name->ToString(vm)); in GetLocalValue()
155 std::string varName = name->ToString(vm); in SetLocalValue()
171 auto [level, slot] = DebuggerApi::GetLevelSlot(frameHandler, name->ToString(vm)); in GetLexicalValue()
183 std::string varName = name->ToString(vm); in SetLexicalValue()
201 std::string varName = name->ToString(vm); in SetGlobalValue()
210 std::string varName = name->ToString(vm); in GetModuleValue()
227 std::string varName = name->ToString(vm); in SetModuleValue()
/arkcompiler/runtime_core/static_core/runtime/
Dloadable_agent.cpp36 …ERROR, RUNTIME) << "Couldn't load library '" << libraryPath_ << "': " << handle.Error().ToString(); in Load()
43 << "':" << loadCallback.Error().ToString(); in Load()
50 << "':" << unloadCallback.Error().ToString(); in Load()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_linear_scan.cpp155 … COMPILER_LOG(DEBUG, REGALLOC) << "Preassigned interval " << interval->template ToString<true>(); in PreprocessPreassignedIntervals()
201 …COMPILER_LOG(DEBUG, REGALLOC) << "Process interval " << currentInterval->template ToString<true>(); in WalkIntervals()
215 …<< currentInterval->GetLocation().ToString(GetGraph()->GetArch()) << " was assigned to the interva… in WalkIntervals()
216 << currentInterval->template ToString<true>(); in WalkIntervals()
225 … << currentInterval->GetLocation().ToString(GetGraph()->GetArch()); in WalkIntervals()
273 … COMPILER_LOG(DEBUG, REGALLOC) << "Found active interval: " << interval->template ToString<true>(); in SplitAndSpill()
296 …COMPILER_LOG(DEBUG, REGALLOC) << "Spill the whole interval " << interval->template ToString<true>(… in SplitActiveInterval()
300 …COMPILER_LOG(DEBUG, REGALLOC) << "Split interval " << interval->template ToString<true>() << " at … in SplitActiveInterval()
312 COMPILER_LOG(DEBUG, REGALLOC) << "Add to the queue: " << interval->template ToString<true>(); in AddToQueue()
460 COMPILER_LOG(DEBUG, REGALLOC) << interval->GetLocation().ToString(GetGraph()->GetArch()) in AssignStackSlot()
[all …]

12345678910>>...19