Lines Matching refs:EXPECT_EQ

96   EXPECT_EQ(4U, GetPcAdjustment(0x10, elf_.get(), ARCH_ARM64));  in TEST_F()
97 EXPECT_EQ(4U, GetPcAdjustment(0x4, elf_.get(), ARCH_ARM64)); in TEST_F()
98 EXPECT_EQ(0U, GetPcAdjustment(0x3, elf_.get(), ARCH_ARM64)); in TEST_F()
99 EXPECT_EQ(0U, GetPcAdjustment(0x2, elf_.get(), ARCH_ARM64)); in TEST_F()
100 EXPECT_EQ(0U, GetPcAdjustment(0x1, elf_.get(), ARCH_ARM64)); in TEST_F()
101 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_ARM64)); in TEST_F()
103 EXPECT_EQ(1U, GetPcAdjustment(0x100, elf_.get(), ARCH_X86)); in TEST_F()
104 EXPECT_EQ(1U, GetPcAdjustment(0x2, elf_.get(), ARCH_X86)); in TEST_F()
105 EXPECT_EQ(1U, GetPcAdjustment(0x1, elf_.get(), ARCH_X86)); in TEST_F()
106 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_X86)); in TEST_F()
108 EXPECT_EQ(1U, GetPcAdjustment(0x100, elf_.get(), ARCH_X86_64)); in TEST_F()
109 EXPECT_EQ(1U, GetPcAdjustment(0x2, elf_.get(), ARCH_X86_64)); in TEST_F()
110 EXPECT_EQ(1U, GetPcAdjustment(0x1, elf_.get(), ARCH_X86_64)); in TEST_F()
111 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_X86_64)); in TEST_F()
113 EXPECT_EQ(8U, GetPcAdjustment(0x10, elf_.get(), ARCH_MIPS)); in TEST_F()
114 EXPECT_EQ(8U, GetPcAdjustment(0x8, elf_.get(), ARCH_MIPS)); in TEST_F()
115 EXPECT_EQ(0U, GetPcAdjustment(0x7, elf_.get(), ARCH_MIPS)); in TEST_F()
116 EXPECT_EQ(0U, GetPcAdjustment(0x6, elf_.get(), ARCH_MIPS)); in TEST_F()
117 EXPECT_EQ(0U, GetPcAdjustment(0x5, elf_.get(), ARCH_MIPS)); in TEST_F()
118 EXPECT_EQ(0U, GetPcAdjustment(0x4, elf_.get(), ARCH_MIPS)); in TEST_F()
119 EXPECT_EQ(0U, GetPcAdjustment(0x3, elf_.get(), ARCH_MIPS)); in TEST_F()
120 EXPECT_EQ(0U, GetPcAdjustment(0x2, elf_.get(), ARCH_MIPS)); in TEST_F()
121 EXPECT_EQ(0U, GetPcAdjustment(0x1, elf_.get(), ARCH_MIPS)); in TEST_F()
122 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_MIPS)); in TEST_F()
124 EXPECT_EQ(8U, GetPcAdjustment(0x10, elf_.get(), ARCH_MIPS64)); in TEST_F()
125 EXPECT_EQ(8U, GetPcAdjustment(0x8, elf_.get(), ARCH_MIPS64)); in TEST_F()
126 EXPECT_EQ(0U, GetPcAdjustment(0x7, elf_.get(), ARCH_MIPS64)); in TEST_F()
127 EXPECT_EQ(0U, GetPcAdjustment(0x6, elf_.get(), ARCH_MIPS64)); in TEST_F()
128 EXPECT_EQ(0U, GetPcAdjustment(0x5, elf_.get(), ARCH_MIPS64)); in TEST_F()
129 EXPECT_EQ(0U, GetPcAdjustment(0x4, elf_.get(), ARCH_MIPS64)); in TEST_F()
130 EXPECT_EQ(0U, GetPcAdjustment(0x3, elf_.get(), ARCH_MIPS64)); in TEST_F()
131 EXPECT_EQ(0U, GetPcAdjustment(0x2, elf_.get(), ARCH_MIPS64)); in TEST_F()
132 EXPECT_EQ(0U, GetPcAdjustment(0x1, elf_.get(), ARCH_MIPS64)); in TEST_F()
133 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_MIPS64)); in TEST_F()
139 EXPECT_EQ(2U, GetPcAdjustment(0x5, elf_.get(), ARCH_ARM)); in TEST_F()
140 EXPECT_EQ(2U, GetPcAdjustment(0x4, elf_.get(), ARCH_ARM)); in TEST_F()
141 EXPECT_EQ(2U, GetPcAdjustment(0x3, elf_.get(), ARCH_ARM)); in TEST_F()
142 EXPECT_EQ(2U, GetPcAdjustment(0x2, elf_.get(), ARCH_ARM)); in TEST_F()
143 EXPECT_EQ(0U, GetPcAdjustment(0x1, elf_.get(), ARCH_ARM)); in TEST_F()
144 EXPECT_EQ(0U, GetPcAdjustment(0x0, elf_.get(), ARCH_ARM)); in TEST_F()
147 EXPECT_EQ(0U, GetPcAdjustment(0x1, elf_.get(), ARCH_ARM)); in TEST_F()
148 EXPECT_EQ(2U, GetPcAdjustment(0x2, elf_.get(), ARCH_ARM)); in TEST_F()
149 EXPECT_EQ(2U, GetPcAdjustment(0xff, elf_.get(), ARCH_ARM)); in TEST_F()
150 EXPECT_EQ(2U, GetPcAdjustment(0x105, elf_.get(), ARCH_ARM)); in TEST_F()
151 EXPECT_EQ(2U, GetPcAdjustment(0x104, elf_.get(), ARCH_ARM)); in TEST_F()
152 EXPECT_EQ(2U, GetPcAdjustment(0x103, elf_.get(), ARCH_ARM)); in TEST_F()
153 EXPECT_EQ(2U, GetPcAdjustment(0x102, elf_.get(), ARCH_ARM)); in TEST_F()
154 EXPECT_EQ(0U, GetPcAdjustment(0x101, elf_.get(), ARCH_ARM)); in TEST_F()
155 EXPECT_EQ(0U, GetPcAdjustment(0x100, elf_.get(), ARCH_ARM)); in TEST_F()
160 EXPECT_EQ(2U, GetPcAdjustment(0x2005, elf_.get(), ARCH_ARM)); in TEST_F()
162 EXPECT_EQ(4U, GetPcAdjustment(0x2005, elf_.get(), ARCH_ARM)); in TEST_F()
166 EXPECT_EQ(2U, GetPcAdjustment(0x2505, elf_.get(), ARCH_ARM)); in TEST_F()
168 EXPECT_EQ(4U, GetPcAdjustment(0x2505, elf_.get(), ARCH_ARM)); in TEST_F()
176 EXPECT_EQ(0x500U, invalid_elf->GetRelPc(0x1500, &map_info)); in TEST_F()
177 EXPECT_EQ(2U, GetPcAdjustment(0x500U, invalid_elf, ARCH_ARM)); in TEST_F()
178 EXPECT_EQ(2U, GetPcAdjustment(0x511U, invalid_elf, ARCH_ARM)); in TEST_F()
180 EXPECT_EQ(0x600U, invalid_elf->GetRelPc(0x1600, &map_info)); in TEST_F()
181 EXPECT_EQ(4U, GetPcAdjustment(0x600U, invalid_elf, ARCH_ARM64)); in TEST_F()
183 EXPECT_EQ(0x700U, invalid_elf->GetRelPc(0x1700, &map_info)); in TEST_F()
184 EXPECT_EQ(1U, GetPcAdjustment(0x700U, invalid_elf, ARCH_X86)); in TEST_F()
186 EXPECT_EQ(0x800U, invalid_elf->GetRelPc(0x1800, &map_info)); in TEST_F()
187 EXPECT_EQ(1U, GetPcAdjustment(0x800U, invalid_elf, ARCH_X86_64)); in TEST_F()
189 EXPECT_EQ(0x900U, invalid_elf->GetRelPc(0x1900, &map_info)); in TEST_F()
190 EXPECT_EQ(8U, GetPcAdjustment(0x900U, invalid_elf, ARCH_MIPS)); in TEST_F()
192 EXPECT_EQ(0xa00U, invalid_elf->GetRelPc(0x1a00, &map_info)); in TEST_F()
193 EXPECT_EQ(8U, GetPcAdjustment(0xa00U, invalid_elf, ARCH_MIPS64)); in TEST_F()
201 EXPECT_EQ(0x100U, arm.sp()); in TEST_F()
202 EXPECT_EQ(0x200U, arm.pc()); in TEST_F()
210 EXPECT_EQ(0xb100000000U, arm64.sp()); in TEST_F()
211 EXPECT_EQ(0xc200000000U, arm64.pc()); in TEST_F()
219 EXPECT_EQ(0x23450000U, x86.sp()); in TEST_F()
220 EXPECT_EQ(0xabcd0000U, x86.pc()); in TEST_F()
228 EXPECT_EQ(0x1200000000U, x86_64.sp()); in TEST_F()
229 EXPECT_EQ(0x4900000000U, x86_64.pc()); in TEST_F()
237 EXPECT_EQ(0x100U, mips.sp()); in TEST_F()
238 EXPECT_EQ(0x200U, mips.pc()); in TEST_F()
246 EXPECT_EQ(0xb100000000U, mips64.sp()); in TEST_F()
247 EXPECT_EQ(0xc200000000U, mips64.pc()); in TEST_F()
255 EXPECT_EQ(0x0000007214bb3a04ULL, arm64.pc()); in TEST_F()
263 EXPECT_EQ(0x0000007214bb3a04ULL, arm64.pc()); in TEST_F()
268 EXPECT_EQ(ARCH_ARM, arm_regs.Arch()); in TEST_F()
271 EXPECT_EQ(ARCH_ARM64, arm64_regs.Arch()); in TEST_F()
274 EXPECT_EQ(ARCH_X86, x86_regs.Arch()); in TEST_F()
277 EXPECT_EQ(ARCH_X86_64, x86_64_regs.Arch()); in TEST_F()
280 EXPECT_EQ(ARCH_MIPS, mips_regs.Arch()); in TEST_F()
283 EXPECT_EQ(ARCH_MIPS64, mips64_regs.Arch()); in TEST_F()
298 EXPECT_EQ(register_values[i], clone_values[i]); in clone_test()