Home
last modified time | relevance | path

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

1234567891011

/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);
Dbuiltins_errors.cpp36 JSTaggedValue BuiltinsError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsError
49 JSTaggedValue BuiltinsRangeError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsRangeError
62 JSTaggedValue BuiltinsReferenceError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsReferenceError
75 JSTaggedValue BuiltinsTypeError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsTypeError
96 JSTaggedValue BuiltinsURIError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsURIError
109 JSTaggedValue BuiltinsSyntaxError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsSyntaxError
122 JSTaggedValue BuiltinsEvalError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsEvalError
157 JSHandle<EcmaString> handleStr = JSTaggedValue::ToString(thread, message); in AggregateErrorConstructor()
192 JSTaggedValue BuiltinsAggregateError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsAggregateError
205 JSTaggedValue BuiltinsOOMError::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsOOMError
Dbuiltins_string.cpp76 JSHandle<EcmaString> str = JSTaggedValue::ToString(thread, valTagNew); in StringConstructor()
217 EcmaString *nextSeg = *JSTaggedValue::ToString(thread, elementString); in Raw()
227 EcmaString *nextSub = *JSTaggedValue::ToString(thread, GetCallArg(argv, argsI)); in Raw()
251 JSHandle<EcmaString> thisHandle = JSTaggedValue::ToString(thread, thisTag); in CharAt()
282 JSHandle<EcmaString> thisHandle = JSTaggedValue::ToString(thread, thisTag); in CharCodeAt()
313 JSHandle<EcmaString> thisHandle = JSTaggedValue::ToString(thread, thisTag); in CodePointAt()
347 JSHandle<EcmaString> thisHandle = JSTaggedValue::ToString(thread, thisTag); in Concat()
362 JSHandle<EcmaString> nextHandle = JSTaggedValue::ToString(thread, nextTag); in Concat()
389 JSHandle<EcmaString> thisHandle = JSTaggedValue::ToString(thread, thisTag); in EndsWith()
395 JSHandle<EcmaString> searchHandle = JSTaggedValue::ToString(thread, searchTag); in EndsWith()
[all …]
Dbuiltins_symbol.cpp51 …JSHandle<JSTaggedValue> descHandle = JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToString(thread,… in SymbolConstructor()
60 JSTaggedValue BuiltinsSymbol::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::builtins::BuiltinsSymbol
63 BUILTINS_API_TRACE(argv->GetThread(), Symbol, ToString); in ToString()
112 factory->ConcatFromString(leftHandle, JSTaggedValue::ToString(thread, descHandle)); in SymbolDescriptiveString()
154 …JSHandle<JSTaggedValue> stringHandle = JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToString(threa… in For()
192 return JSTaggedValue::ToString(thread, JSHandle<JSTaggedValue>(thread, key)).GetTaggedValue(); in KeyFor()
/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()
DconstructorType.cpp22 void ConstructorType::ToString(std::stringstream &ss) const in ToString() function in panda::es2panda::checker::ConstructorType
29 (*it)->ToString(ss, variable_); in ToString()
DtypeReference.cpp20 void TypeReference::ToString(std::stringstream &ss) const in ToString() function in panda::es2panda::checker::TypeReference
23 (*ref_)->ToString(ss); in ToString()
Dsignature.cpp33 void Signature::ToString(std::stringstream &ss, const binder::Variable *variable, bool printAsMetho… in ToString() function in panda::es2panda::checker::Signature
46 (*it)->TsType()->ToString(ss); in ToString()
61 signatureInfo_->restVar->TsType()->ToString(ss); in ToString()
73 returnType_->ToString(ss); in ToString()
DfunctionType.cpp22 void FunctionType::ToString(std::stringstream &ss) const in ToString() function in panda::es2panda::checker::FunctionType
39 (*it)->ToString(ss, variable_, desc_->callSignatures.size() > 1); in ToString()
DnumberLiteralType.cpp24 void NumberLiteralType::ToString(std::stringstream &ss) const in ToString() function in panda::es2panda::checker::NumberLiteralType
26 ss << util::Helpers::ToString(value_); in ToString()
DarrayType.cpp23 void ArrayType::ToString(std::stringstream &ss) const in ToString() function in panda::es2panda::checker::ArrayType
29 ElementType()->ToString(ss); in ToString()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Djson_parser_test.cpp63 JSHandle<EcmaString> handleStr2(JSTaggedValue::ToString(thread, handleMsg2)); in HWTEST_F_L0()
68 JSHandle<EcmaString> handleStr3(JSTaggedValue::ToString(thread, handleMsg3)); in HWTEST_F_L0()
73 JSHandle<EcmaString> handleStr4(JSTaggedValue::ToString(thread, handleMsg4)); in HWTEST_F_L0()
94 JSHandle<EcmaString> handleStr2(JSTaggedValue::ToString(thread, handleMsg2)); in HWTEST_F_L0()
101 JSHandle<EcmaString> handleStr3(JSTaggedValue::ToString(thread, handleMsg3)); in HWTEST_F_L0()
108 JSHandle<EcmaString> handleStr4(JSTaggedValue::ToString(thread, handleMsg4)); in HWTEST_F_L0()
129 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Object in HWTEST_F_L0()
148 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Array in HWTEST_F_L0()
174 JSHandle<EcmaString> handleStr(JSTaggedValue::ToString(thread, handleMsg)); // JSON Object in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/backend/
Ddebugger_executor.cpp58 std::string varName = Local<StringRef>(name)->ToString(); in DebuggerGetValue()
83 std::string varName = StringRef::Cast(*name)->ToString(); in DebuggerSetValue()
142 int32_t index = DebuggerApi::GetVregIndex(frameHandler, name->ToString()); in GetLocalValue()
154 std::string varName = name->ToString(); in SetLocalValue()
170 auto [level, slot] = DebuggerApi::GetLevelSlot(frameHandler, name->ToString()); in GetLexicalValue()
182 std::string varName = name->ToString(); in SetLexicalValue()
207 std::string varName = name->ToString(); in GetModuleValue()
224 std::string varName = name->ToString(); in SetModuleValue()
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DintersectionTypeNormalization.ts80 type ToString = { alias
87 type IntersectionFail = BoxedValue & ToString
89 type IntersectionInline = { kind: 'int', num: number } & ToString
90 | { kind: 'string', str: string } & ToString
/arkcompiler/toolchain/tooling/test/testcases/
Djs_variable_second_test.h187 value->GetValue()->Typeof(vm_)->ToString() << std::endl; in PushValueInfo()
189 value->GetValue()->ToString(vm_)->ToString() << std::endl; in PushValueInfo()
190 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
Djs_container_test.h193 value->GetValue()->Typeof(vm_)->ToString() << std::endl; in PushValueInfo()
195 value->GetValue()->ToString(vm_)->ToString() << std::endl; in PushValueInfo()
196 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
Djs_variable_first_test.h187 value->GetValue()->Typeof(vm_)->ToString() << std::endl; in PushValueInfo()
189 value->GetValue()->ToString(vm_)->ToString() << std::endl; in PushValueInfo()
190 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
Djs_module_variable_test.h195 value->GetValue()->Typeof(vm_)->ToString() << std::endl; in PushValueInfo()
197 value->GetValue()->ToString(vm_)->ToString() << std::endl; in PushValueInfo()
198 infos.push_back(value->GetValue()->ToString(vm_)->ToString()); in PushValueInfo()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_plainarray.cpp72 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, key.GetTaggedValue()); in Add()
143 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, value.GetTaggedValue()); in Has()
174 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, key.GetTaggedValue()); in Get()
225 … JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, callbackFnHandle.GetTaggedValue()); in ForEach()
236 JSTaggedValue ContainersPlainArray::ToString(EcmaRuntimeCallInfo *argv) in ToString() function in panda::ecmascript::containers::ContainersPlainArray
240 BUILTINS_API_TRACE(thread, PlainArray, ToString); in ToString()
251 JSTaggedValue value = JSAPIPlainArray::ToString(thread, JSHandle<JSAPIPlainArray>::Cast(self)); in ToString()
272 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, value.GetTaggedValue()); in GetIndexOfKey()
343 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, value.GetTaggedValue()); in GetKeyAt()
373 JSHandle<EcmaString> result = JSTaggedValue::ToString(thread, key.GetTaggedValue()); in Remove()
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dspill_fill_data.h86 stm << " [" << ToString(GetType()) << "]"; in Dump()
99 inline auto ToString(const SpillFillData &sf, Arch arch) in ToString() function
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp198 ASSERT_EQ(typeString->ToString(), "string"); in HWTEST_F_L0()
202 ASSERT_EQ(typeString->ToString(), "number"); in HWTEST_F_L0()
306 ASSERT_EQ(toValue->ToString(vm_)->ToString(), "-123.3"); in HWTEST_F_L0()
408 ASSERT_EQ(Local<StringRef>(reason)->ToString(), "Reject"); in CheckReject()
1175 Local<StringRef> tostring = data->ToString(vm_); in HWTEST_F_L0()
1294 std::string str = s->ToString(); in HWTEST_F_L0()
1318 ASSERT_EQ(toValue->ToString(vm_)->ToString(), "-123.3"); in HWTEST_F_L0()
1425 ASSERT_EQ(res->ToString(vm_)->ToString(), value->ToString(vm_)->ToString()); in HWTEST_F_L0()
1431 ASSERT_EQ(res1->ToString(vm_)->ToString(), key->ToString(vm_)->ToString()); in HWTEST_F_L0()
1433 ASSERT_EQ(res2->ToString(vm_)->ToString(), value->ToString(vm_)->ToString()); in HWTEST_F_L0()
[all …]

1234567891011