Lines Matching refs:ci

582   CodeInfo ci(region);  in TEST()  local
583 CodeInfoEncoding encoding = ci.ExtractEncoding(); in TEST()
586 StackMap sm0 = ci.GetStackMapAt(0, encoding); in TEST()
587 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm0, encoding, number_of_dex_registers); in TEST()
588 ASSERT_EQ(0, dex_registers0.GetMachineRegister(0, number_of_dex_registers, ci, encoding)); in TEST()
589 ASSERT_EQ(-2, dex_registers0.GetConstant(1, number_of_dex_registers, ci, encoding)); in TEST()
592 StackMap sm1 = ci.GetStackMapAt(1, encoding); in TEST()
593 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapOf(sm1, encoding, number_of_dex_registers); in TEST()
594 ASSERT_EQ(0, dex_registers1.GetMachineRegister(0, number_of_dex_registers, ci, encoding)); in TEST()
595 ASSERT_EQ(-2, dex_registers1.GetConstant(1, number_of_dex_registers, ci, encoding)); in TEST()
598 StackMap sm2 = ci.GetStackMapAt(2, encoding); in TEST()
599 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapOf(sm2, encoding, number_of_dex_registers); in TEST()
600 ASSERT_EQ(2, dex_registers2.GetMachineRegister(0, number_of_dex_registers, ci, encoding)); in TEST()
601 ASSERT_EQ(-2, dex_registers2.GetConstant(1, number_of_dex_registers, ci, encoding)); in TEST()
732 CodeInfo ci(region); in TEST() local
733 CodeInfoEncoding encoding = ci.ExtractEncoding(); in TEST()
737 StackMap sm0 = ci.GetStackMapAt(0, encoding); in TEST()
739 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm0, encoding, 2); in TEST()
740 ASSERT_EQ(0, dex_registers0.GetStackOffsetInBytes(0, 2, ci, encoding)); in TEST()
741 ASSERT_EQ(4, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
743 InlineInfo if0 = ci.GetInlineInfoOf(sm0, encoding); in TEST()
752 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapAtDepth(0, if0, encoding, 1); in TEST()
753 ASSERT_EQ(8, dex_registers1.GetStackOffsetInBytes(0, 1, ci, encoding)); in TEST()
755 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapAtDepth(1, if0, encoding, 3); in TEST()
756 ASSERT_EQ(16, dex_registers2.GetStackOffsetInBytes(0, 3, ci, encoding)); in TEST()
757 ASSERT_EQ(20, dex_registers2.GetConstant(1, 3, ci, encoding)); in TEST()
758 ASSERT_EQ(15, dex_registers2.GetMachineRegister(2, 3, ci, encoding)); in TEST()
763 StackMap sm1 = ci.GetStackMapAt(1, encoding); in TEST()
765 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm1, encoding, 2); in TEST()
766 ASSERT_EQ(56, dex_registers0.GetStackOffsetInBytes(0, 2, ci, encoding)); in TEST()
767 ASSERT_EQ(0, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
769 InlineInfo if1 = ci.GetInlineInfoOf(sm1, encoding); in TEST()
781 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapAtDepth(0, if1, encoding, 1); in TEST()
782 ASSERT_EQ(12, dex_registers1.GetStackOffsetInBytes(0, 1, ci, encoding)); in TEST()
784 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapAtDepth(1, if1, encoding, 3); in TEST()
785 ASSERT_EQ(80, dex_registers2.GetStackOffsetInBytes(0, 3, ci, encoding)); in TEST()
786 ASSERT_EQ(10, dex_registers2.GetConstant(1, 3, ci, encoding)); in TEST()
787 ASSERT_EQ(5, dex_registers2.GetMachineRegister(2, 3, ci, encoding)); in TEST()
794 StackMap sm2 = ci.GetStackMapAt(2, encoding); in TEST()
796 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm2, encoding, 2); in TEST()
798 ASSERT_EQ(4, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
804 StackMap sm3 = ci.GetStackMapAt(3, encoding); in TEST()
806 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm3, encoding, 2); in TEST()
807 ASSERT_EQ(56, dex_registers0.GetStackOffsetInBytes(0, 2, ci, encoding)); in TEST()
808 ASSERT_EQ(0, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
810 InlineInfo if2 = ci.GetInlineInfoOf(sm3, encoding); in TEST()
824 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapAtDepth(1, if2, encoding, 1); in TEST()
825 ASSERT_EQ(2, dex_registers1.GetMachineRegister(0, 1, ci, encoding)); in TEST()
827 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapAtDepth(2, if2, encoding, 2); in TEST()
829 ASSERT_EQ(3, dex_registers2.GetMachineRegister(1, 2, ci, encoding)); in TEST()