Lines Matching refs:ci
683 CodeInfo ci(region); in TEST() local
684 CodeInfoEncoding encoding = ci.ExtractEncoding(); in TEST()
687 StackMap sm0 = ci.GetStackMapAt(0, encoding); in TEST()
688 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm0, encoding, number_of_dex_registers); in TEST()
689 ASSERT_EQ(0, dex_registers0.GetMachineRegister(0, number_of_dex_registers, ci, encoding)); in TEST()
690 ASSERT_EQ(-2, dex_registers0.GetConstant(1, number_of_dex_registers, ci, encoding)); in TEST()
693 StackMap sm1 = ci.GetStackMapAt(1, encoding); in TEST()
694 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapOf(sm1, encoding, number_of_dex_registers); in TEST()
695 ASSERT_EQ(0, dex_registers1.GetMachineRegister(0, number_of_dex_registers, ci, encoding)); in TEST()
696 ASSERT_EQ(-2, dex_registers1.GetConstant(1, number_of_dex_registers, ci, encoding)); in TEST()
699 StackMap sm2 = ci.GetStackMapAt(2, encoding); in TEST()
700 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapOf(sm2, encoding, number_of_dex_registers); in TEST()
701 ASSERT_EQ(2, dex_registers2.GetMachineRegister(0, number_of_dex_registers, ci, encoding)); in TEST()
702 ASSERT_EQ(-2, dex_registers2.GetConstant(1, number_of_dex_registers, ci, encoding)); in TEST()
836 CodeInfo ci(region); in TEST() local
837 CodeInfoEncoding encoding = ci.ExtractEncoding(); in TEST()
841 StackMap sm0 = ci.GetStackMapAt(0, encoding); in TEST()
843 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm0, encoding, 2); in TEST()
844 ASSERT_EQ(0, dex_registers0.GetStackOffsetInBytes(0, 2, ci, encoding)); in TEST()
845 ASSERT_EQ(4, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
847 InlineInfo if0 = ci.GetInlineInfoOf(sm0, encoding); in TEST()
854 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapAtDepth(0, if0, encoding, 1); in TEST()
855 ASSERT_EQ(8, dex_registers1.GetStackOffsetInBytes(0, 1, ci, encoding)); in TEST()
857 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapAtDepth(1, if0, encoding, 3); in TEST()
858 ASSERT_EQ(16, dex_registers2.GetStackOffsetInBytes(0, 3, ci, encoding)); in TEST()
859 ASSERT_EQ(20, dex_registers2.GetConstant(1, 3, ci, encoding)); in TEST()
860 ASSERT_EQ(15, dex_registers2.GetMachineRegister(2, 3, ci, encoding)); in TEST()
865 StackMap sm1 = ci.GetStackMapAt(1, encoding); in TEST()
867 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm1, encoding, 2); in TEST()
868 ASSERT_EQ(56, dex_registers0.GetStackOffsetInBytes(0, 2, ci, encoding)); in TEST()
869 ASSERT_EQ(0, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
871 InlineInfo if1 = ci.GetInlineInfoOf(sm1, encoding); in TEST()
880 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapAtDepth(0, if1, encoding, 1); in TEST()
881 ASSERT_EQ(12, dex_registers1.GetStackOffsetInBytes(0, 1, ci, encoding)); in TEST()
883 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapAtDepth(1, if1, encoding, 3); in TEST()
884 ASSERT_EQ(80, dex_registers2.GetStackOffsetInBytes(0, 3, ci, encoding)); in TEST()
885 ASSERT_EQ(10, dex_registers2.GetConstant(1, 3, ci, encoding)); in TEST()
886 ASSERT_EQ(5, dex_registers2.GetMachineRegister(2, 3, ci, encoding)); in TEST()
893 StackMap sm2 = ci.GetStackMapAt(2, encoding); in TEST()
895 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm2, encoding, 2); in TEST()
897 ASSERT_EQ(4, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
903 StackMap sm3 = ci.GetStackMapAt(3, encoding); in TEST()
905 DexRegisterMap dex_registers0 = ci.GetDexRegisterMapOf(sm3, encoding, 2); in TEST()
906 ASSERT_EQ(56, dex_registers0.GetStackOffsetInBytes(0, 2, ci, encoding)); in TEST()
907 ASSERT_EQ(0, dex_registers0.GetConstant(1, 2, ci, encoding)); in TEST()
909 InlineInfo if2 = ci.GetInlineInfoOf(sm3, encoding); in TEST()
920 DexRegisterMap dex_registers1 = ci.GetDexRegisterMapAtDepth(1, if2, encoding, 1); in TEST()
921 ASSERT_EQ(2, dex_registers1.GetMachineRegister(0, 1, ci, encoding)); in TEST()
923 DexRegisterMap dex_registers2 = ci.GetDexRegisterMapAtDepth(2, if2, encoding, 2); in TEST()
925 ASSERT_EQ(3, dex_registers2.GetMachineRegister(1, 2, ci, encoding)); in TEST()