Lines Matching refs:GetPcAdjustment
97 EXPECT_EQ(4U, arm64.GetPcAdjustment(0x10, elf_.get())); in TEST_F()
98 EXPECT_EQ(4U, arm64.GetPcAdjustment(0x4, elf_.get())); in TEST_F()
99 EXPECT_EQ(0U, arm64.GetPcAdjustment(0x3, elf_.get())); in TEST_F()
100 EXPECT_EQ(0U, arm64.GetPcAdjustment(0x2, elf_.get())); in TEST_F()
101 EXPECT_EQ(0U, arm64.GetPcAdjustment(0x1, elf_.get())); in TEST_F()
102 EXPECT_EQ(0U, arm64.GetPcAdjustment(0x0, elf_.get())); in TEST_F()
105 EXPECT_EQ(1U, x86.GetPcAdjustment(0x100, elf_.get())); in TEST_F()
106 EXPECT_EQ(1U, x86.GetPcAdjustment(0x2, elf_.get())); in TEST_F()
107 EXPECT_EQ(1U, x86.GetPcAdjustment(0x1, elf_.get())); in TEST_F()
108 EXPECT_EQ(0U, x86.GetPcAdjustment(0x0, elf_.get())); in TEST_F()
111 EXPECT_EQ(1U, x86_64.GetPcAdjustment(0x100, elf_.get())); in TEST_F()
112 EXPECT_EQ(1U, x86_64.GetPcAdjustment(0x2, elf_.get())); in TEST_F()
113 EXPECT_EQ(1U, x86_64.GetPcAdjustment(0x1, elf_.get())); in TEST_F()
114 EXPECT_EQ(0U, x86_64.GetPcAdjustment(0x0, elf_.get())); in TEST_F()
117 EXPECT_EQ(8U, mips.GetPcAdjustment(0x10, elf_.get())); in TEST_F()
118 EXPECT_EQ(8U, mips.GetPcAdjustment(0x8, elf_.get())); in TEST_F()
119 EXPECT_EQ(0U, mips.GetPcAdjustment(0x7, elf_.get())); in TEST_F()
120 EXPECT_EQ(0U, mips.GetPcAdjustment(0x6, elf_.get())); in TEST_F()
121 EXPECT_EQ(0U, mips.GetPcAdjustment(0x5, elf_.get())); in TEST_F()
122 EXPECT_EQ(0U, mips.GetPcAdjustment(0x4, elf_.get())); in TEST_F()
123 EXPECT_EQ(0U, mips.GetPcAdjustment(0x3, elf_.get())); in TEST_F()
124 EXPECT_EQ(0U, mips.GetPcAdjustment(0x2, elf_.get())); in TEST_F()
125 EXPECT_EQ(0U, mips.GetPcAdjustment(0x1, elf_.get())); in TEST_F()
126 EXPECT_EQ(0U, mips.GetPcAdjustment(0x0, elf_.get())); in TEST_F()
129 EXPECT_EQ(8U, mips64.GetPcAdjustment(0x10, elf_.get())); in TEST_F()
130 EXPECT_EQ(8U, mips64.GetPcAdjustment(0x8, elf_.get())); in TEST_F()
131 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x7, elf_.get())); in TEST_F()
132 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x6, elf_.get())); in TEST_F()
133 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x5, elf_.get())); in TEST_F()
134 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x4, elf_.get())); in TEST_F()
135 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x3, elf_.get())); in TEST_F()
136 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x2, elf_.get())); in TEST_F()
137 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x1, elf_.get())); in TEST_F()
138 EXPECT_EQ(0U, mips64.GetPcAdjustment(0x0, elf_.get())); in TEST_F()
146 EXPECT_EQ(2U, arm.GetPcAdjustment(0x5, elf_.get())); in TEST_F()
147 EXPECT_EQ(2U, arm.GetPcAdjustment(0x4, elf_.get())); in TEST_F()
148 EXPECT_EQ(2U, arm.GetPcAdjustment(0x3, elf_.get())); in TEST_F()
149 EXPECT_EQ(2U, arm.GetPcAdjustment(0x2, elf_.get())); in TEST_F()
150 EXPECT_EQ(0U, arm.GetPcAdjustment(0x1, elf_.get())); in TEST_F()
151 EXPECT_EQ(0U, arm.GetPcAdjustment(0x0, elf_.get())); in TEST_F()
154 EXPECT_EQ(0U, arm.GetPcAdjustment(0x1, elf_.get())); in TEST_F()
155 EXPECT_EQ(2U, arm.GetPcAdjustment(0x2, elf_.get())); in TEST_F()
156 EXPECT_EQ(2U, arm.GetPcAdjustment(0xff, elf_.get())); in TEST_F()
157 EXPECT_EQ(2U, arm.GetPcAdjustment(0x105, elf_.get())); in TEST_F()
158 EXPECT_EQ(2U, arm.GetPcAdjustment(0x104, elf_.get())); in TEST_F()
159 EXPECT_EQ(2U, arm.GetPcAdjustment(0x103, elf_.get())); in TEST_F()
160 EXPECT_EQ(2U, arm.GetPcAdjustment(0x102, elf_.get())); in TEST_F()
161 EXPECT_EQ(0U, arm.GetPcAdjustment(0x101, elf_.get())); in TEST_F()
162 EXPECT_EQ(0U, arm.GetPcAdjustment(0x100, elf_.get())); in TEST_F()
167 EXPECT_EQ(2U, arm.GetPcAdjustment(0x2005, elf_.get())); in TEST_F()
169 EXPECT_EQ(4U, arm.GetPcAdjustment(0x2005, elf_.get())); in TEST_F()
173 EXPECT_EQ(2U, arm.GetPcAdjustment(0x2505, elf_.get())); in TEST_F()
175 EXPECT_EQ(4U, arm.GetPcAdjustment(0x2505, elf_.get())); in TEST_F()
191 EXPECT_EQ(2U, regs_arm.GetPcAdjustment(0x500U, invalid_elf)); in TEST_F()
192 EXPECT_EQ(2U, regs_arm.GetPcAdjustment(0x511U, invalid_elf)); in TEST_F()
196 EXPECT_EQ(4U, regs_arm64.GetPcAdjustment(0x600U, invalid_elf)); in TEST_F()
200 EXPECT_EQ(1U, regs_x86.GetPcAdjustment(0x700U, invalid_elf)); in TEST_F()
204 EXPECT_EQ(1U, regs_x86_64.GetPcAdjustment(0x800U, invalid_elf)); in TEST_F()
208 EXPECT_EQ(8U, regs_mips.GetPcAdjustment(0x900U, invalid_elf)); in TEST_F()
212 EXPECT_EQ(8U, regs_mips64.GetPcAdjustment(0xa00U, invalid_elf)); in TEST_F()