Home
last modified time | relevance | path

Searched refs:ret_val (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/runtime_core/libpandabase/tests/
H A Dserializer_test.cpp31 void SerializerTypeToBuffer(const T &type, /* out */ std::vector<uint8_t> &buffer, size_t ret_val) in SerializerTypeToBuffer() argument
35 ASSERT_EQ(ret.Value(), ret_val); in SerializerTypeToBuffer()
39 void SerializerBufferToType(const std::vector<uint8_t> &buffer, /* out */ T &type, size_t ret_val) in SerializerBufferToType() argument
43 ASSERT_EQ(ret.Value(), ret_val); in SerializerBufferToType()
47 void DoTest(T value, int ret_val) in DoTest() argument
53 SerializerTypeToBuffer(a, buffer, ret_val); in DoTest()
55 SerializerBufferToType(buffer, b, ret_val); in DoTest()
/arkcompiler/runtime_core/platforms/unix/libpandabase/
H A Dsignal.h146 void **ret_val = nullptr; in StopThread() local
147 thread::ThreadJoin(catcher_thread_, ret_val); in StopThread()
/arkcompiler/runtime_core/compiler/tests/amd64/
H A Dencoder64_test.cpp706 auto ret_val = Target::Current().GetParamReg(0); in TestBitTestAndBranch() local
715 test->GetEncoder()->EncodeMov(ret_val, Imm(1)); in TestBitTestAndBranch()
719 test->GetEncoder()->EncodeMov(ret_val, Imm(0)); in TestBitTestAndBranch()
762 auto ret_val = Target::Current().GetParamReg(0, TypeInfo(T(0))); in TestAddOverflow() local
767 test->GetEncoder()->EncodeAddOverflow(label, ret_val, param1, param2, Condition::VS); in TestAddOverflow()
770 test->GetEncoder()->EncodeMov(ret_val, Imm(0)); in TestAddOverflow()
772 test->GetEncoder()->EncodeAddOverflow(end, ret_val, param1, param2, Condition::VC); in TestAddOverflow()
773 test->GetEncoder()->EncodeMov(ret_val, Imm(0)); in TestAddOverflow()
828 auto ret_val = Target::Current().GetParamReg(0, TypeInfo(T(0))); in TestSubOverflow() local
833 test->GetEncoder()->EncodeSubOverflow(label, ret_val, param in TestSubOverflow()
897 auto ret_val = Target::Current().GetParamReg(0); TestJumpCC() local
1017 auto ret_val = test->GetParameter(TypeInfo(T(0))); TestLdr() local
2349 auto ret_val = std::is_floating_point_v<T> ? Target::Current().GetReturnReg() : Target::Current().GetParamReg(0); TestCompare() local
3133 auto ret_val = Target::Current().GetParamReg(0); TestJumpTest() local
[all...]
/arkcompiler/runtime_core/compiler/tests/aarch64/
H A Dencoder64_test.cpp709 auto ret_val = Target::Current().GetReturnReg(); in TestBitTestAndBranch() local
717 test->GetEncoder()->EncodeMov(ret_val, Imm(1)); in TestBitTestAndBranch()
721 test->GetEncoder()->EncodeMov(ret_val, Imm(0)); in TestBitTestAndBranch()
763 auto ret_val = Target::Current().GetReturnReg(TypeInfo(T(0))); in TestAddOverflow() local
768 test->GetEncoder()->EncodeAddOverflow(label, ret_val, param1, param2, Condition::VS); in TestAddOverflow()
771 test->GetEncoder()->EncodeMov(ret_val, Imm(0)); in TestAddOverflow()
773 test->GetEncoder()->EncodeAddOverflow(end, ret_val, param1, param2, Condition::VC); in TestAddOverflow()
774 test->GetEncoder()->EncodeMov(ret_val, Imm(0)); in TestAddOverflow()
829 auto ret_val = Target::Current().GetReturnReg(TypeInfo(T(0))); in TestSubOverflow() local
834 test->GetEncoder()->EncodeSubOverflow(label, ret_val, param in TestSubOverflow()
898 auto ret_val = Target::Current().GetReturnReg(); TestJumpCC() local
1016 auto ret_val = test->GetParameter(TypeInfo(T(0))); TestLdr() local
3250 auto ret_val = Target::Current().GetParamReg(0); TestJumpTest() local
[all...]
/arkcompiler/runtime_core/compiler/tests/aarch32/
H A Dencoder32_test.cpp704 auto ret_val = Target::Current().GetReturnReg();
712 test->GetEncoder()->EncodeMov(ret_val, Imm(1));
716 test->GetEncoder()->EncodeMov(ret_val, Imm(0));
761 auto ret_val = Target::Current().GetReturnReg(); in TestJumpCC() local
767 test->GetEncoder()->EncodeMov(ret_val, Imm(0x1)); in TestJumpCC()
772 test->GetEncoder()->EncodeMov(ret_val, Imm(0x0)); in TestJumpCC()
899 auto ret_val = test->GetParameter(TypeInfo(T(0))); in TestLdr() local
902 test->GetEncoder()->EncodeLdr(ret_val, is_signed, mem); in TestLdr()
3138 auto ret_val = Target::Current().GetParamReg(0); in TestJumpTest() local
3150 test->GetEncoder()->EncodeMov(ret_val, Im in TestJumpTest()
[all...]

Completed in 11 milliseconds