Lines Matching refs:ASSERT_EQ
69 ASSERT_EQ(0x10U, byte); in TEST_F()
71 ASSERT_EQ(0x18U, byte); in TEST_F()
73 ASSERT_EQ(0xffU, byte); in TEST_F()
75 ASSERT_EQ(0xfeU, byte); in TEST_F()
76 ASSERT_EQ(4U, dwarf_mem_->cur_offset()); in TEST_F()
80 ASSERT_EQ(0xffU, byte); in TEST_F()
81 ASSERT_EQ(3U, dwarf_mem_->cur_offset()); in TEST_F()
91 ASSERT_EQ(static_cast<int8_t>(-10), static_cast<int8_t>(value)); in TEST_F()
93 ASSERT_EQ(static_cast<int8_t>(200), static_cast<int8_t>(value)); in TEST_F()
100 ASSERT_EQ(static_cast<int16_t>(-1000), static_cast<int16_t>(value)); in TEST_F()
102 ASSERT_EQ(static_cast<int16_t>(50100), static_cast<int16_t>(value)); in TEST_F()
109 ASSERT_EQ(static_cast<int32_t>(-1000000000), static_cast<int32_t>(value)); in TEST_F()
111 ASSERT_EQ(static_cast<int32_t>(3000000000), static_cast<int32_t>(value)); in TEST_F()
118 ASSERT_EQ(static_cast<int64_t>(-2000000000000), static_cast<int64_t>(value)); in TEST_F()
120 ASSERT_EQ(static_cast<int64_t>(5000000000000), static_cast<int64_t>(value)); in TEST_F()
128 ASSERT_EQ(1U, dwarf_mem_->cur_offset()); in TEST_F()
129 ASSERT_EQ(1U, value); in TEST_F()
132 ASSERT_EQ(3U, dwarf_mem_->cur_offset()); in TEST_F()
133 ASSERT_EQ(0x1200U, value); in TEST_F()
136 ASSERT_EQ(7U, dwarf_mem_->cur_offset()); in TEST_F()
137 ASSERT_EQ(0xfffe1ffU, value); in TEST_F()
146 ASSERT_EQ(1U, dwarf_mem_->cur_offset()); in TEST_F()
147 ASSERT_EQ(6U, value); in TEST_F()
150 ASSERT_EQ(2U, dwarf_mem_->cur_offset()); in TEST_F()
151 ASSERT_EQ(0xffffffffffffffc0ULL, static_cast<uint64_t>(value)); in TEST_F()
154 ASSERT_EQ(4U, dwarf_mem_->cur_offset()); in TEST_F()
155 ASSERT_EQ(0x1a02U, value); in TEST_F()
158 ASSERT_EQ(6U, dwarf_mem_->cur_offset()); in TEST_F()
159 ASSERT_EQ(0xfffffffffffff209ULL, static_cast<uint64_t>(value)); in TEST_F()
162 ASSERT_EQ(10U, dwarf_mem_->cur_offset()); in TEST_F()
163 ASSERT_EQ(0x5e3e1f9U, value); in TEST_F()
166 ASSERT_EQ(14U, dwarf_mem_->cur_offset()); in TEST_F()
167 ASSERT_EQ(0xfffffffffbfde1bfULL, static_cast<uint64_t>(value)); in TEST_F()
174 ASSERT_EQ(expected, dwarf_mem_->GetEncodedSize<AddressType>(encoding)) in GetEncodedSizeTest()
243 ASSERT_EQ(0U, value); in ReadEncodedValue_omit()
261 ASSERT_EQ(4U, dwarf_mem_->cur_offset()); in TEST_F()
262 ASSERT_EQ(0x12345678U, value); in TEST_F()
272 ASSERT_EQ(8U, dwarf_mem_->cur_offset()); in TEST_F()
273 ASSERT_EQ(0x12345678f1f2f3f4ULL, value); in TEST_F()
284 ASSERT_EQ(8U, dwarf_mem_->cur_offset()); in TEST_F()
285 ASSERT_EQ(0x12345678U, value); in TEST_F()
296 ASSERT_EQ(16U, dwarf_mem_->cur_offset()); in TEST_F()
297 ASSERT_EQ(0x12345678f1f2f3f4ULL, value); in TEST_F()
307 ASSERT_EQ(0x2100U, value); in ReadEncodedValue_leb128()
312 ASSERT_EQ(0xffffffffffffe100ULL, value); in ReadEncodedValue_leb128()
329 ASSERT_EQ(0xe0U, value); in ReadEncodedValue_data1()
333 ASSERT_EQ(0xffffffffffffffe0ULL, value); in ReadEncodedValue_data1()
350 ASSERT_EQ(0xe000U, value); in ReadEncodedValue_data2()
354 ASSERT_EQ(0xffffffffffffe000ULL, value); in ReadEncodedValue_data2()
371 ASSERT_EQ(0xe0000000U, value); in ReadEncodedValue_data4()
375 ASSERT_EQ(0xffffffffe0000000ULL, value); in ReadEncodedValue_data4()
392 ASSERT_EQ(0xe000000000000000ULL, value); in ReadEncodedValue_data8()
396 ASSERT_EQ(0xe000000000000000ULL, value); in ReadEncodedValue_data8()
414 ASSERT_EQ(0xe000000000002000ULL, value); in ReadEncodedValue_non_zero_adjust()
451 ASSERT_EQ(0x75234U, value); in ReadEncodedValue_high_bit_set()
470 ASSERT_EQ(0U, value); in ReadEncodedValue_all()
486 ASSERT_EQ(0x1234U, value); in TEST_F()
495 ASSERT_EQ(0x3234U, value); in TEST_F()
500 ASSERT_EQ(0x1230U, value); in TEST_F()
509 ASSERT_EQ(0x9234U, value); in TEST_F()
514 ASSERT_EQ(0x8224U, value); in TEST_F()
523 ASSERT_EQ(0xc434U, value); in TEST_F()
528 ASSERT_EQ(0xb134U, value); in TEST_F()
537 ASSERT_EQ(0x75234U, value); in TEST_F()
542 ASSERT_EQ(0x14234U, value); in TEST_F()