Home
last modified time | relevance | path

Searched refs:oss (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/assembler/tests/
Dassembler_aarch64_test.cpp147 std::ostringstream oss; in HWTEST_F_L0() local
148 DisassembleChunk(TARGET_AARCH64, &masm, oss); in HWTEST_F_L0()
149 ASSERT_EQ(oss.str(), expectResult); in HWTEST_F_L0()
161 std::ostringstream oss; in HWTEST_F_L0() local
162 DisassembleChunk(TARGET_AARCH64, &masm, oss); in HWTEST_F_L0()
163 ASSERT_EQ(oss.str(), expectResult); in HWTEST_F_L0()
178 std::ostringstream oss; in HWTEST_F_L0() local
179 DisassembleChunk(TARGET_AARCH64, &masm, oss); in HWTEST_F_L0()
180 ASSERT_EQ(oss.str(), expectResult); in HWTEST_F_L0()
209 std::ostringstream oss; in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_list.cpp62 std::ostringstream oss; in Insert() local
63 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << nodeLength in Insert()
65 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Insert()
79 std::ostringstream oss; in Set() local
80 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (nodeLength - 1) in Set()
82 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Set()
137 std::ostringstream oss; in RemoveByIndex() local
138 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << size in RemoveByIndex()
140 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in RemoveByIndex()
188 std::ostringstream oss; in GetSubList() local
[all …]
Djs_api_arraylist.cpp48 std::ostringstream oss; in Insert() local
49 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << length in Insert()
51 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Insert()
128 std::ostringstream oss; in Get() local
129 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " in Get()
131 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Get()
178 std::ostringstream oss; in RemoveByIndex() local
179 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in RemoveByIndex()
181 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in RemoveByIndex()
222 std::ostringstream oss; in RemoveByRange() local
[all …]
Djs_api_linked_list.cpp33 std::ostringstream oss; in Insert() local
34 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << nodeLength in Insert()
36 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Insert()
98 std::ostringstream oss; in RemoveByIndex() local
99 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << size in RemoveByIndex()
101 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in RemoveByIndex()
180 std::ostringstream oss; in Set() local
181 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (nodeLength - 1) in Set()
183 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Set()
247 std::ostringstream oss; in GetOwnProperty() local
[all …]
Djs_api_queue.cpp108 std::ostringstream oss; in Get() local
109 oss << "The value of \"Get property index\" is out of range. It must be >= 0 && <= " in Get()
111 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Get()
126 std::ostringstream oss; in Set() local
127 oss << "The value of \"Set property index\" is out of range. It must be >= 0 && <= " in Set()
129 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in Set()
210 std::ostringstream oss; in GetOwnProperty() local
211 oss << "The value of \"index\" is out of range. It must be > " << (length - 1) in GetOwnProperty()
213 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetOwnProperty()
228 std::ostringstream oss; in GetProperty() local
[all …]
Djs_api_plain_array.cpp141 std::ostringstream oss; in RemoveRangeFrom() local
142 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (size - 1) in RemoveRangeFrom()
144 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in RemoveRangeFrom()
148 std::ostringstream oss; in RemoveRangeFrom() local
149oss << "The value of \"size\" is out of range. It must be > 0" << ". Received value is: " << batch… in RemoveRangeFrom()
150 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in RemoveRangeFrom()
174 std::ostringstream oss; in GetOwnProperty() local
175 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (size - 1) in GetOwnProperty()
177 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetOwnProperty()
192 std::ostringstream oss; in GetProperty() local
[all …]
Djs_api_stack.cpp155 std::ostringstream oss; in GetOwnProperty() local
156 oss << "The value of \"index\" is out of range. It must be > " << (length - 1) in GetOwnProperty()
158 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetOwnProperty()
172 std::ostringstream oss; in GetProperty() local
173 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in GetProperty()
175 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetProperty()
Djs_api_deque.cpp255 std::ostringstream oss; in GetOwnProperty() local
256 oss << "The value of \"index\" is out of range. It must be > " << (length - 1) in GetOwnProperty()
258 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetOwnProperty()
280 std::ostringstream oss; in GetProperty() local
281 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in GetProperty()
283 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetProperty()
Djs_api_lightweightmap.cpp214 std::ostringstream oss; in GetKeyAt() local
215 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in GetKeyAt()
217 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetKeyAt()
229 std::ostringstream oss; in GetValueAt() local
230 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in GetValueAt()
232 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in GetValueAt()
311 std::ostringstream oss; in SetValueAt() local
312 oss << "The value of \"index\" is out of range. It must be >= 0 && <= " << (length - 1) in SetValueAt()
314 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in SetValueAt()
Djs_api_lightweightset.cpp296 std::ostringstream oss; in IncreaseCapacityTo() local
297 oss << "The value of \"minimumCapacity\" is out of range. It must be > " << intCapacity in IncreaseCapacityTo()
299 …JSTaggedValue error = ContainerError::BusinessError(thread, ErrorFlag::RANGE_ERROR, oss.str().c_st… in IncreaseCapacityTo()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_ark_tools.cpp48 std::ostringstream oss; in ObjectDump() local
49 obj->Dump(oss); in ObjectDump()
52 LOG_ECMA(ERROR) << ": " << oss.str(); in ObjectDump()
68 std::ostringstream oss; in CompareHClass() local
69 obj1Hclass->Dump(oss); in CompareHClass()
70 obj2Hclass->Dump(oss); in CompareHClass()
73 LOG_ECMA(ERROR) << "These two object don't share the same hclass:" << oss.str(); in CompareHClass()
86 std::ostringstream oss; in DumpHClass() local
87 objHclass->Dump(oss); in DumpHClass()
89 LOG_ECMA(ERROR) << "hclass:" << oss.str(); in DumpHClass()
/arkcompiler/runtime_core/libpandabase/tests/
Dspan_test.cpp29 std::ostringstream oss; in ToString() local
31 oss << e << " "; in ToString()
33 return oss.str(); in ToString()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate.cpp724 std::ostringstream oss; in Print() local
725 oss << std::hex << TryGetValue(); in Print()
726 log += "bitfield=0x" + oss.str() + ", "; in Print()
782 std::ostringstream oss; in ShortPrint() local
783 oss << std::hex << TryGetValue(); in ShortPrint()
784 log += "bitfield=0x" + oss.str() + ", "; in ShortPrint()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp1926 std::ostringstream oss; in DEF_RUNTIME_STUBS() local
1927 receiver->Dump(oss); in DEF_RUNTIME_STUBS()
1928 LOG_ECMA(ERROR) << "Verify VTable Load Failed, receiver: " << oss.str(); in DEF_RUNTIME_STUBS()
1929 oss.str(""); in DEF_RUNTIME_STUBS()
1934 typedPathValue->Dump(oss); in DEF_RUNTIME_STUBS()
1935 LOG_ECMA(ERROR) << "Verify VTable Load Failed, typed path value: " << oss.str(); in DEF_RUNTIME_STUBS()
1936 oss.str(""); in DEF_RUNTIME_STUBS()
1938 verifiedPathValue->Dump(oss); in DEF_RUNTIME_STUBS()
1939 LOG_ECMA(ERROR) << "Verify VTable Load Failed, verified path value: " << oss.str(); in DEF_RUNTIME_STUBS()
1953 std::ostringstream oss; in DEF_RUNTIME_STUBS() local
[all …]
/arkcompiler/ets_runtime/ecmascript/mem/
Dheap.cpp464 std::ostringstream oss; in ThrowOutOfMemoryError() local
465oss << "OutOfMemory when trying to allocate " << size << " bytes" << " function name: " << functio… in ThrowOutOfMemoryError()
466 LOG_ECMA_MEM(ERROR) << oss.str().c_str(); in ThrowOutOfMemoryError()
467 THROW_OOM_ERROR(thread_, oss.str().c_str()); in ThrowOutOfMemoryError()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_arraylist.cpp433 std::ostringstream oss; in RemoveByRange() local
442 std::ostringstream oss; in RemoveByRange() local
535 std::ostringstream oss; in SubArrayList() local
544 std::ostringstream oss; in SubArrayList() local
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp127 std::ostringstream oss; in ValueToQuotedString() local
128oss << "\\u" << std::hex << std::setfill('0') << std::setw(FOUR_HEX) << static_cast<int>(*c); in ValueToQuotedString()
129 product += oss.str(); in ValueToQuotedString()