Lines Matching +full:0 +full:x2a
62 Label l(0x060b9f974eaf301eULL); in TEST()
65 EXPECT_EQ(v, 0x060b9f974eaf301eULL); in TEST()
66 EXPECT_EQ(l.Value(), 0x060b9f974eaf301eULL); in TEST()
74 EXPECT_EQ(0U, v); in TEST()
83 EXPECT_EQ(0U, l-m); in TEST()
87 EXPECT_EQ(0U, d); in TEST()
95 EXPECT_EQ(0U, l-m); in TEST()
99 EXPECT_EQ(0U, d); in TEST()
105 l = 0x8fd16e55b20a39c1ULL; in TEST()
107 EXPECT_EQ(0U, l-m); in TEST()
111 EXPECT_EQ(0U, d); in TEST()
113 EXPECT_EQ(0x8fd16e55b20a39c1ULL, m.Value()); in TEST()
120 EXPECT_EQ(0U, l-n); in TEST()
124 EXPECT_EQ(0U, d); in TEST()
133 EXPECT_EQ(0U, n-o); in TEST()
137 EXPECT_EQ(0U, d); in TEST()
144 l = 0xd2011f8c82ad56f2ULL; in TEST()
147 EXPECT_EQ(0xd2011f8c82ad56f2ULL, l.Value()); in TEST()
149 EXPECT_EQ(0xd2011f8c82ad56f2ULL, m.Value()); in TEST()
151 EXPECT_EQ(0xd2011f8c82ad56f2ULL, n.Value()); in TEST()
156 m = 0x50b024c0d6073887ULL; in TEST()
159 EXPECT_EQ(0x50b024c0d6073887ULL, l.Value()); in TEST()
161 EXPECT_EQ(0x50b024c0d6073887ULL, m.Value()); in TEST()
167 m = 0x5348883655c727e5ULL; in TEST()
170 EXPECT_EQ(0x5348883655c727e5ULL, l.Value()); in TEST()
172 EXPECT_EQ(0x5348883655c727e5ULL, m.Value()); in TEST()
174 EXPECT_EQ(0x5348883655c727e5ULL, n.Value()); in TEST()
179 l = 0x36c209c20987564eULL; in TEST()
180 m = 0x36c209c20987564eULL; in TEST()
183 EXPECT_EQ(0x36c209c20987564eULL, l.Value()); in TEST()
185 EXPECT_EQ(0x36c209c20987564eULL, m.Value()); in TEST()
190 l = 0xc02495f4d7f5a957ULL; in TEST()
192 EXPECT_EQ(0xc02495f4d7f5a957ULL, l.Value()); in TEST()
198 l = 0x4577901cf275488dULL; in TEST()
200 EXPECT_EQ(0x4577901cf275488dULL, l.Value()); in TEST()
202 EXPECT_EQ(0x4577901cf275488dULL, m.Value()); in TEST()
207 l = 0xec0b9c369b7e8ea7ULL; in TEST()
208 l = 0xec0b9c369b7e8ea7ULL; in TEST()
210 EXPECT_EQ(0xec0b9c369b7e8ea7ULL, l.Value()); in TEST()
235 m = l + 0x5248d93e8bbe9497ULL; in TEST()
239 EXPECT_EQ(0x5248d93e8bbe9497ULL, d); in TEST()
245 m = 0xf51e94e00d6e3c84ULL + l; in TEST()
249 EXPECT_EQ(0xf51e94e00d6e3c84ULL, d); in TEST()
255 l = 0x16286307042ce0d8ULL; in TEST()
256 m = l + 0x3fdddd91306719d7ULL; in TEST()
260 EXPECT_EQ(0x3fdddd91306719d7ULL, d); in TEST()
262 EXPECT_EQ(0x16286307042ce0d8ULL + 0x3fdddd91306719d7ULL, m.Value()); in TEST()
267 l = 0x50f62d0cdd1031deULL; in TEST()
268 m = 0x1b13462d8577c538ULL + l; in TEST()
272 EXPECT_EQ(0x1b13462d8577c538ULL, d); in TEST()
274 EXPECT_EQ(0x50f62d0cdd1031deULL + 0x1b13462d8577c538ULL, m.Value()); in TEST()
279 m = l - 0x0620884d21d3138eULL; in TEST()
283 EXPECT_EQ(-0x0620884d21d3138eULL, d); in TEST()
289 l = 0x6237fbaf9ef7929eULL; in TEST()
290 m = l - 0x317730995d2ab6eeULL; in TEST()
294 EXPECT_EQ(-0x317730995d2ab6eeULL, d); in TEST()
296 EXPECT_EQ(0x6237fbaf9ef7929eULL - 0x317730995d2ab6eeULL, m.Value()); in TEST()
306 l = m + 0x7fa77ec63e28a17aULL; in TEST()
307 EXPECT_EQ(0x7fa77ec63e28a17aULL, l - m); in TEST()
308 EXPECT_EQ(-0x7fa77ec63e28a17aULL, m - l); in TEST()
325 l = 0xf374b1bdd6a22576ULL; in TEST()
375 b = a + 0x1; in TEST()
376 c = b + 0x10; in TEST()
377 d = c + 0x100; in TEST()
378 EXPECT_EQ(0x111U, d-x); in TEST()
379 EXPECT_EQ(0x11U, c-x); in TEST()
380 EXPECT_EQ(0x1U, b-x); in TEST()
381 EXPECT_EQ(0U, a-x); in TEST()
388 d = c + 0x100; in TEST()
389 c = b + 0x10; in TEST()
390 b = a + 0x1; in TEST()
391 EXPECT_EQ(0x111U, d-x); in TEST()
392 EXPECT_EQ(0x11U, c-x); in TEST()
393 EXPECT_EQ(0x1U, b-x); in TEST()
394 EXPECT_EQ(0U, a-x); in TEST()
400 b = a + 0x1; in TEST()
401 c = b + 0x10; in TEST()
402 d = c + 0x100; in TEST()
404 EXPECT_EQ(0x111U, d-x); in TEST()
405 EXPECT_EQ(0x11U, c-x); in TEST()
406 EXPECT_EQ(0x1U, b-x); in TEST()
407 EXPECT_EQ(0U, a-x); in TEST()
413 d = c + 0x100; in TEST()
414 c = b + 0x10; in TEST()
415 b = a + 0x1; in TEST()
417 EXPECT_EQ(0x111U, d-x); in TEST()
418 EXPECT_EQ(0x11U, c-x); in TEST()
419 EXPECT_EQ(0x1U, b-x); in TEST()
420 EXPECT_EQ(0U, a-x); in TEST()
425 a = 0xa131200190546ac2ULL; in TEST()
426 b = a + 0x1; in TEST()
427 c = b + 0x10; in TEST()
428 d = c + 0x100; in TEST()
429 EXPECT_EQ(0xa131200190546ac2ULL + 0x111U, d.Value()); in TEST()
430 EXPECT_EQ(0xa131200190546ac2ULL + 0x11U, c.Value()); in TEST()
431 EXPECT_EQ(0xa131200190546ac2ULL + 0x1U, b.Value()); in TEST()
432 EXPECT_EQ(0xa131200190546ac2ULL + 0U, a.Value()); in TEST()
437 a = 0x8da17e1670ad4fa2ULL; in TEST()
438 d = c + 0x100; in TEST()
439 c = b + 0x10; in TEST()
440 b = a + 0x1; in TEST()
441 EXPECT_EQ(0x8da17e1670ad4fa2ULL + 0x111U, d.Value()); in TEST()
442 EXPECT_EQ(0x8da17e1670ad4fa2ULL + 0x11U, c.Value()); in TEST()
443 EXPECT_EQ(0x8da17e1670ad4fa2ULL + 0x1U, b.Value()); in TEST()
444 EXPECT_EQ(0x8da17e1670ad4fa2ULL + 0U, a.Value()); in TEST()
449 b = a + 0x1; in TEST()
450 c = b + 0x10; in TEST()
451 d = c + 0x100; in TEST()
452 a = 0x99b8f51bafd41adaULL; in TEST()
453 EXPECT_EQ(0x99b8f51bafd41adaULL + 0x111U, d.Value()); in TEST()
454 EXPECT_EQ(0x99b8f51bafd41adaULL + 0x11U, c.Value()); in TEST()
455 EXPECT_EQ(0x99b8f51bafd41adaULL + 0x1U, b.Value()); in TEST()
456 EXPECT_EQ(0x99b8f51bafd41adaULL + 0U, a.Value()); in TEST()
461 d = c + 0x100; in TEST()
462 c = b + 0x10; in TEST()
463 b = a + 0x1; in TEST()
464 a = 0xc86ca1d97ab5df6eULL; in TEST()
465 EXPECT_EQ(0xc86ca1d97ab5df6eULL + 0x111U, d.Value()); in TEST()
466 EXPECT_EQ(0xc86ca1d97ab5df6eULL + 0x11U, c.Value()); in TEST()
467 EXPECT_EQ(0xc86ca1d97ab5df6eULL + 0x1U, b.Value()); in TEST()
468 EXPECT_EQ(0xc86ca1d97ab5df6eULL + 0U, a.Value()); in TEST()
475 b = a + 0x1; in TEST()
476 c = b + 0x10; in TEST()
477 d = c + 0x100; in TEST()
478 EXPECT_EQ(-(uint64_t)0x111U, a-x); in TEST()
479 EXPECT_EQ(-(uint64_t)0x110U, b-x); in TEST()
480 EXPECT_EQ(-(uint64_t)0x100U, c-x); in TEST()
481 EXPECT_EQ(-(uint64_t)0U, d-x); in TEST()
488 d = c + 0x100; in TEST()
489 c = b + 0x10; in TEST()
490 b = a + 0x1; in TEST()
491 EXPECT_EQ(-(uint64_t)0x111U, a-x); in TEST()
492 EXPECT_EQ(-(uint64_t)0x110U, b-x); in TEST()
493 EXPECT_EQ(-(uint64_t)0x100U, c-x); in TEST()
494 EXPECT_EQ(-(uint64_t)0U, d-x); in TEST()
500 b = a + 0x1; in TEST()
501 c = b + 0x10; in TEST()
502 d = c + 0x100; in TEST()
504 EXPECT_EQ(-(uint64_t)0x111U, a-x); in TEST()
505 EXPECT_EQ(-(uint64_t)0x110U, b-x); in TEST()
506 EXPECT_EQ(-(uint64_t)0x100U, c-x); in TEST()
507 EXPECT_EQ(-(uint64_t)0x000U, d-x); in TEST()
513 d = c + 0x100; in TEST()
514 c = b + 0x10; in TEST()
515 b = a + 0x1; in TEST()
517 EXPECT_EQ(-(uint64_t)0x111U, a-x); in TEST()
518 EXPECT_EQ(-(uint64_t)0x110U, b-x); in TEST()
519 EXPECT_EQ(-(uint64_t)0x100U, c-x); in TEST()
520 EXPECT_EQ(-(uint64_t)0x000U, d-x); in TEST()
525 d = 0xa131200190546ac2ULL; in TEST()
526 b = a + 0x1; in TEST()
527 c = b + 0x10; in TEST()
528 d = c + 0x100; in TEST()
529 EXPECT_EQ(0xa131200190546ac2ULL - 0x111, a.Value()); in TEST()
530 EXPECT_EQ(0xa131200190546ac2ULL - 0x110, b.Value()); in TEST()
531 EXPECT_EQ(0xa131200190546ac2ULL - 0x100, c.Value()); in TEST()
532 EXPECT_EQ(0xa131200190546ac2ULL - 0x000, d.Value()); in TEST()
537 d = 0x8da17e1670ad4fa2ULL; in TEST()
538 d = c + 0x100; in TEST()
539 c = b + 0x10; in TEST()
540 b = a + 0x1; in TEST()
541 EXPECT_EQ(0x8da17e1670ad4fa2ULL - 0x111, a.Value()); in TEST()
542 EXPECT_EQ(0x8da17e1670ad4fa2ULL - 0x110, b.Value()); in TEST()
543 EXPECT_EQ(0x8da17e1670ad4fa2ULL - 0x100, c.Value()); in TEST()
544 EXPECT_EQ(0x8da17e1670ad4fa2ULL - 0x000, d.Value()); in TEST()
549 b = a + 0x1; in TEST()
550 c = b + 0x10; in TEST()
551 d = c + 0x100; in TEST()
552 d = 0x99b8f51bafd41adaULL; in TEST()
553 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x111, a.Value()); in TEST()
554 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x110, b.Value()); in TEST()
555 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x100, c.Value()); in TEST()
556 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x000, d.Value()); in TEST()
561 d = c + 0x100; in TEST()
562 c = b + 0x10; in TEST()
563 b = a + 0x1; in TEST()
564 d = 0xc86ca1d97ab5df6eULL; in TEST()
565 EXPECT_EQ(0xc86ca1d97ab5df6eULL - 0x111, a.Value()); in TEST()
566 EXPECT_EQ(0xc86ca1d97ab5df6eULL - 0x110, b.Value()); in TEST()
567 EXPECT_EQ(0xc86ca1d97ab5df6eULL - 0x100, c.Value()); in TEST()
568 EXPECT_EQ(0xc86ca1d97ab5df6eULL - 0x000, d.Value()); in TEST()
574 Label b(a + 0x1); in TEST()
575 Label c(b + 0x10); in TEST()
576 Label d(c + 0x100); in TEST()
577 EXPECT_EQ(0x111U, d-x); in TEST()
578 EXPECT_EQ(0x11U, c-x); in TEST()
579 EXPECT_EQ(0x1U, b-x); in TEST()
580 EXPECT_EQ(0U, a-x); in TEST()
586 Label b(a + 0x1); in TEST()
587 Label c(b + 0x10); in TEST()
588 Label d(c + 0x100); in TEST()
590 EXPECT_EQ(0x111U, d-x); in TEST()
591 EXPECT_EQ(0x11U, c-x); in TEST()
592 EXPECT_EQ(0x1U, b-x); in TEST()
593 EXPECT_EQ(0U, a-x); in TEST()
597 Label a(0x5d234d177d01ccc8ULL); in TEST()
598 Label b(a + 0x1); in TEST()
599 Label c(b + 0x10); in TEST()
600 Label d(c + 0x100); in TEST()
601 EXPECT_EQ(0x5d234d177d01ccc8ULL + 0x111U, d.Value()); in TEST()
602 EXPECT_EQ(0x5d234d177d01ccc8ULL + 0x011U, c.Value()); in TEST()
603 EXPECT_EQ(0x5d234d177d01ccc8ULL + 0x001U, b.Value()); in TEST()
604 EXPECT_EQ(0x5d234d177d01ccc8ULL + 0x000U, a.Value()); in TEST()
609 Label b(a + 0x1); in TEST()
610 Label c(b + 0x10); in TEST()
611 Label d(c + 0x100); in TEST()
612 a = 0xded85d54586e84fcULL; in TEST()
613 EXPECT_EQ(0xded85d54586e84fcULL + 0x111U, d.Value()); in TEST()
614 EXPECT_EQ(0xded85d54586e84fcULL + 0x011U, c.Value()); in TEST()
615 EXPECT_EQ(0xded85d54586e84fcULL + 0x001U, b.Value()); in TEST()
616 EXPECT_EQ(0xded85d54586e84fcULL + 0x000U, a.Value()); in TEST()
622 Label b(a + 0x1); in TEST()
623 Label c(b + 0x10); in TEST()
624 Label d(c + 0x100); in TEST()
626 EXPECT_EQ(-(uint64_t)0x111U, a-x); in TEST()
627 EXPECT_EQ(-(uint64_t)0x110U, b-x); in TEST()
628 EXPECT_EQ(-(uint64_t)0x100U, c-x); in TEST()
629 EXPECT_EQ(-(uint64_t)0x000U, d-x); in TEST()
634 Label b(a + 0x1); in TEST()
635 Label c(b + 0x10); in TEST()
636 Label d(c + 0x100); in TEST()
637 d = 0x99b8f51bafd41adaULL; in TEST()
638 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x111, a.Value()); in TEST()
639 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x110, b.Value()); in TEST()
640 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x100, c.Value()); in TEST()
641 EXPECT_EQ(0x99b8f51bafd41adaULL - 0x000, d.Value()); in TEST()
650 l = 0x536b5de3d468a1b5ULL; in TEST()
651 EXPECT_EQ(0x536b5de3d468a1b5ULL, o.Value()); in TEST()
664 Label m = 0x0d3962f280f07d24ULL; in TEST()
665 Label n = 0x0d3962f280f07d24ULL; in TEST()
670 Label m = 0xa347f1e5238fe6a1ULL; in TEST()
673 n = 0xa347f1e5238fe6a1ULL; in TEST()
678 Label m = 0xd4cc0f4f630ec741ULL; in TEST()
679 Label n = 0x934cd2d8254fc3eaULL; in TEST()
684 Label m = 0xd4cc0f4f630ec741ULL; in TEST()
687 o = 0xcfbe3b83ac49ce86ULL; in TEST()
701 l = 0xca8bae92f0376d4fULL; in TEST()
702 ASSERT_EQ(0xca8bae92f0376d4fULL, l.Value()); in TEST()
713 n = 0x7a0b0c576672daafULL; in TEST()
719 ASSERT_EQ(0x7a0b0c576672daafULL, l.Value()); in TEST()
740 0x87, 0x4f, 0x43, 0x67, 0x30, 0xd0, 0xd4, 0x0e
759 sizeof(expected_bytes)) == 0); \
761 while(0)
769 EXPECT_TRUE(0 == memcmp(contents.data(), (const char *) data, sizeof(data))); in TEST_F()
777 ASSERT_TRUE(0 == memcmp(contents.data(), (const char *) data, sizeof(data))); in TEST_F()
778 ASSERT_TRUE(0 == memcmp(contents.data() + sizeof(data), in TEST_F()
796 ASSERT_EQ(string("howdy\0\0there\0", 13), contents); in TEST_F()
803 section.AppendCString("natalie", 0); in TEST_F()
806 ASSERT_EQ(string("howtherefred\0\0\0\0\0\0\0\0\0\0\0\0", 24), contents); in TEST_F()
822 section.Append(kLittleEndian, 2, 0x15a1); in TEST_F()
824 ASSERT_BYTES(contents, I2(0xa1, 0x15)); in TEST_F()
828 section.Append(kLittleEndian, 3, 0x59ae8d); in TEST_F()
830 ASSERT_BYTES(contents, I3(0x8d, 0xae, 0x59)); in TEST_F()
834 section.Append(kLittleEndian, 4, 0x51603c56); in TEST_F()
836 ASSERT_BYTES(contents, I4(0x56, 0x3c, 0x60, 0x51)); in TEST_F()
840 section.Append(kLittleEndian, 5, 0x385e2803b4ULL); in TEST_F()
842 ASSERT_BYTES(contents, I5(0xb4, 0x03, 0x28, 0x5e, 0x38)); in TEST_F()
846 section.Append(kLittleEndian, 6, 0xc7db9534dd1fULL); in TEST_F()
848 ASSERT_BYTES(contents, I6(0x1f, 0xdd, 0x34, 0x95, 0xdb, 0xc7)); in TEST_F()
852 section.Append(kLittleEndian, 7, 0x1445c9f1b843e6ULL); in TEST_F()
854 ASSERT_BYTES(contents, I7(0xe6, 0x43, 0xb8, 0xf1, 0xc9, 0x45, 0x14)); in TEST_F()
858 section.Append(kLittleEndian, 8, 0xaf48019dfe5c01e5ULL); in TEST_F()
860 ASSERT_BYTES(contents, I8(0xe5, 0x01, 0x5c, 0xfe, 0x9d, 0x01, 0x48, 0xaf)); in TEST_F()
864 section.Append(kBigEndian, 1, 0xd0ULL); in TEST_F()
866 ASSERT_BYTES(contents, I1(0xd0)); in TEST_F()
870 section.Append(kBigEndian, 2, 0x2e7eULL); in TEST_F()
872 ASSERT_BYTES(contents, I2(0x2e, 0x7e)); in TEST_F()
876 section.Append(kBigEndian, 3, 0x37dad6ULL); in TEST_F()
878 ASSERT_BYTES(contents, I3(0x37, 0xda, 0xd6)); in TEST_F()
882 section.Append(kBigEndian, 4, 0x715935c7ULL); in TEST_F()
884 ASSERT_BYTES(contents, I4(0x71, 0x59, 0x35, 0xc7)); in TEST_F()
888 section.Append(kBigEndian, 5, 0x42baeb02b7ULL); in TEST_F()
890 ASSERT_BYTES(contents, I5(0x42, 0xba, 0xeb, 0x02, 0xb7)); in TEST_F()
894 section.Append(kBigEndian, 6, 0xf1cdf10e7b18ULL); in TEST_F()
896 ASSERT_BYTES(contents, I6(0xf1, 0xcd, 0xf1, 0x0e, 0x7b, 0x18)); in TEST_F()
900 section.Append(kBigEndian, 7, 0xf50a724f0b0d20ULL); in TEST_F()
902 ASSERT_BYTES(contents, I7(0xf5, 0x0a, 0x72, 0x4f, 0x0b, 0x0d, 0x20)); in TEST_F()
906 section.Append(kBigEndian, 8, 0xa6b2cb5e98dc9c16ULL); in TEST_F()
908 ASSERT_BYTES(contents, I8(0xa6, 0xb2, 0xcb, 0x5e, 0x98, 0xdc, 0x9c, 0x16)); in TEST_F()
922 l = 0x15a1; in TEST_F()
924 ASSERT_BYTES(contents, I2(0xa1, 0x15)); in TEST_F()
930 l = 0x59ae8d; in TEST_F()
932 ASSERT_BYTES(contents, I3(0x8d, 0xae, 0x59)); in TEST_F()
938 l = 0x51603c56; in TEST_F()
940 ASSERT_BYTES(contents, I4(0x56, 0x3c, 0x60, 0x51)); in TEST_F()
946 l = 0x385e2803b4ULL; in TEST_F()
948 ASSERT_BYTES(contents, I5(0xb4, 0x03, 0x28, 0x5e, 0x38)); in TEST_F()
954 l = 0xc7db9534dd1fULL; in TEST_F()
956 ASSERT_BYTES(contents, I6(0x1f, 0xdd, 0x34, 0x95, 0xdb, 0xc7)); in TEST_F()
962 l = 0x1445c9f1b843e6ULL; in TEST_F()
964 ASSERT_BYTES(contents, I7(0xe6, 0x43, 0xb8, 0xf1, 0xc9, 0x45, 0x14)); in TEST_F()
970 l = 0xaf48019dfe5c01e5ULL; in TEST_F()
972 ASSERT_BYTES(contents, I8(0xe5, 0x01, 0x5c, 0xfe, 0x9d, 0x01, 0x48, 0xaf)); in TEST_F()
978 l = 0xd0ULL; in TEST_F()
980 ASSERT_BYTES(contents, I1(0xd0)); in TEST_F()
986 l = 0x2e7eULL; in TEST_F()
988 ASSERT_BYTES(contents, I2(0x2e, 0x7e)); in TEST_F()
994 l = 0x37dad6ULL; in TEST_F()
996 ASSERT_BYTES(contents, I3(0x37, 0xda, 0xd6)); in TEST_F()
1002 l = 0x715935c7ULL; in TEST_F()
1004 ASSERT_BYTES(contents, I4(0x71, 0x59, 0x35, 0xc7)); in TEST_F()
1010 l = 0x42baeb02b7ULL; in TEST_F()
1012 ASSERT_BYTES(contents, I5(0x42, 0xba, 0xeb, 0x02, 0xb7)); in TEST_F()
1018 l = 0xf1cdf10e7b18ULL; in TEST_F()
1020 ASSERT_BYTES(contents, I6(0xf1, 0xcd, 0xf1, 0x0e, 0x7b, 0x18)); in TEST_F()
1026 l = 0xf50a724f0b0d20ULL; in TEST_F()
1028 ASSERT_BYTES(contents, I7(0xf5, 0x0a, 0x72, 0x4f, 0x0b, 0x0d, 0x20)); in TEST_F()
1034 l = 0xa6b2cb5e98dc9c16ULL; in TEST_F()
1036 ASSERT_BYTES(contents, I8(0xa6, 0xb2, 0xcb, 0x5e, 0x98, 0xdc, 0x9c, 0x16)); in TEST_F()
1040 section.Append(1, 0x2a); in TEST_F()
1041 section.B8(0xd3U); in TEST_F()
1043 ASSERT_BYTES(contents, I2(0x2a, 0xd3)); in TEST_F()
1048 section.Append(1, 0x2a); in TEST_F()
1050 l = 0x4bU; in TEST_F()
1052 ASSERT_BYTES(contents, I2(0x2a, 0x4b)); in TEST_F()
1056 section.Append(1, 0x2a); in TEST_F()
1057 section.B16(0x472aU); in TEST_F()
1059 ASSERT_BYTES(contents, I3(0x2a, 0x47, 0x2a)); in TEST_F()
1064 section.Append(1, 0x2a); in TEST_F()
1066 l = 0x55e8U; in TEST_F()
1068 ASSERT_BYTES(contents, I3(0x2a, 0x55, 0xe8)); in TEST_F()
1072 section.Append(1, 0x2a); in TEST_F()
1073 section.B32(0xbd412cbcU); in TEST_F()
1075 ASSERT_BYTES(contents, I5(0x2a, 0xbd, 0x41, 0x2c, 0xbc)); in TEST_F()
1080 section.Append(1, 0x2a); in TEST_F()
1082 l = 0x208e37d5U; in TEST_F()
1084 ASSERT_BYTES(contents, I5(0x2a, 0x20, 0x8e, 0x37, 0xd5)); in TEST_F()
1088 section.Append(1, 0x2a); in TEST_F()
1089 section.B64(0x3402a013111e68adULL); in TEST_F()
1092 I9(0x2a, 0x34, 0x02, 0xa0, 0x13, 0x11, 0x1e, 0x68, 0xad)); in TEST_F()
1097 section.Append(1, 0x2a); in TEST_F()
1099 l = 0x355dbfbb4ac6d57fULL; in TEST_F()
1102 I9(0x2a, 0x35, 0x5d, 0xbf, 0xbb, 0x4a, 0xc6, 0xd5, 0x7f)); in TEST_F()
1106 section.Append(1, 0x2a); in TEST_F()
1107 section.L8(0x26U); in TEST_F()
1109 ASSERT_BYTES(contents, I2(0x2a, 0x26)); in TEST_F()
1114 section.Append(1, 0x2a); in TEST_F()
1116 l = 0xa8U; in TEST_F()
1118 ASSERT_BYTES(contents, I2(0x2a, 0xa8)); in TEST_F()
1122 section.Append(1, 0x2a); in TEST_F()
1123 section.L16(0xca6dU); in TEST_F()
1125 ASSERT_BYTES(contents, I3(0x2a, 0x6d, 0xca)); in TEST_F()
1130 section.Append(1, 0x2a); in TEST_F()
1132 l = 0xd21fU; in TEST_F()
1134 ASSERT_BYTES(contents, I3(0x2a, 0x1f, 0xd2)); in TEST_F()
1138 section.Append(1, 0x2a); in TEST_F()
1139 section.L32(0x558f6181U); in TEST_F()
1141 ASSERT_BYTES(contents, I5(0x2a, 0x81, 0x61, 0x8f, 0x55)); in TEST_F()
1146 section.Append(1, 0x2a); in TEST_F()
1148 l = 0x4b810f82U; in TEST_F()
1150 ASSERT_BYTES(contents, I5(0x2a, 0x82, 0x0f, 0x81, 0x4b)); in TEST_F()
1154 section.Append(1, 0x2a); in TEST_F()
1155 section.L64(0x564384f7579515bfULL); in TEST_F()
1158 I9(0x2a, 0xbf, 0x15, 0x95, 0x57, 0xf7, 0x84, 0x43, 0x56)); in TEST_F()
1163 section.Append(1, 0x2a); in TEST_F()
1165 l = 0x424b1d020667c8dbULL; in TEST_F()
1168 I9(0x2a, 0xdb, 0xc8, 0x67, 0x06, 0x02, 0x1d, 0x4b, 0x42)); in TEST_F()
1173 section.Append(1, 0x2a); in TEST_F()
1174 section.D8(0xe6U); in TEST_F()
1176 ASSERT_BYTES(contents, I2(0x2a, 0xe6)); in TEST_F()
1182 section.Append(1, 0x2a); in TEST_F()
1184 l = 0xeeU; in TEST_F()
1186 ASSERT_BYTES(contents, I2(0x2a, 0xee)); in TEST_F()
1191 section.Append(1, 0x2a); in TEST_F()
1192 section.D16(0x83b1U); in TEST_F()
1194 ASSERT_BYTES(contents, I3(0x2a, 0x83, 0xb1)); in TEST_F()
1200 section.Append(1, 0x2a); in TEST_F()
1202 l = 0x5b55U; in TEST_F()
1204 ASSERT_BYTES(contents, I3(0x2a, 0x5b, 0x55)); in TEST_F()
1209 section.Append(1, 0x2a); in TEST_F()
1210 section.D32(0xd0b0e431U); in TEST_F()
1212 ASSERT_BYTES(contents, I5(0x2a, 0xd0, 0xb0, 0xe4, 0x31)); in TEST_F()
1218 section.Append(1, 0x2a); in TEST_F()
1220 l = 0x312fb340U; in TEST_F()
1222 ASSERT_BYTES(contents, I5(0x2a, 0x31, 0x2f, 0xb3, 0x40)); in TEST_F()
1227 section.Append(1, 0x2a); in TEST_F()
1228 section.D64(0xb109843500dbcb16ULL); in TEST_F()
1231 I9(0x2a, 0xb1, 0x09, 0x84, 0x35, 0x00, 0xdb, 0xcb, 0x16)); in TEST_F()
1237 section.Append(1, 0x2a); in TEST_F()
1239 l = 0x9a0d61b70f671fd7ULL; in TEST_F()
1242 I9(0x2a, 0x9a, 0x0d, 0x61, 0xb7, 0x0f, 0x67, 0x1f, 0xd7)); in TEST_F()
1247 section.Append(1, 0x2a); in TEST_F()
1248 section.D8(0x42U); in TEST_F()
1250 ASSERT_BYTES(contents, I2(0x2a, 0x42)); in TEST_F()
1256 section.Append(1, 0x2a); in TEST_F()
1258 l = 0x05U; in TEST_F()
1260 ASSERT_BYTES(contents, I2(0x2a, 0x05)); in TEST_F()
1265 section.Append(1, 0x2a); in TEST_F()
1266 section.D16(0xc5c5U); in TEST_F()
1268 ASSERT_BYTES(contents, I3(0x2a, 0xc5, 0xc5)); in TEST_F()
1274 section.Append(1, 0x2a); in TEST_F()
1276 l = 0xb620U; in TEST_F()
1278 ASSERT_BYTES(contents, I3(0x2a, 0x20, 0xb6)); in TEST_F()
1283 section.Append(1, 0x2a); in TEST_F()
1284 section.D32(0x1a87d0feU); in TEST_F()
1286 ASSERT_BYTES(contents, I5(0x2a, 0xfe, 0xd0, 0x87, 0x1a)); in TEST_F()
1292 section.Append(1, 0x2a); in TEST_F()
1294 l = 0xb8012d6bU; in TEST_F()
1296 ASSERT_BYTES(contents, I5(0x2a, 0x6b, 0x2d, 0x01, 0xb8)); in TEST_F()
1301 section.Append(1, 0x2a); in TEST_F()
1302 section.D64(0x42de75c61375a1deULL); in TEST_F()
1305 I9(0x2a, 0xde, 0xa1, 0x75, 0x13, 0xc6, 0x75, 0xde, 0x42)); in TEST_F()
1311 section.Append(1, 0x2a); in TEST_F()
1313 l = 0x8b3bececf3fb5312ULL; in TEST_F()
1316 I9(0x2a, 0x12, 0x53, 0xfb, 0xf3, 0xec, 0xec, 0x3b, 0x8b)); in TEST_F()
1323 .Append(kBigEndian, 1, 0x8bULL) in TEST_F()
1324 .Append(kLittleEndian, 8, 0x0ea56540448f4439ULL) in TEST_F()
1327 .Append(kBigEndian, 2, 0xcf15ULL) in TEST_F()
1328 .Append(kLittleEndian, 7, 0x29694f04c5724aULL) in TEST_F()
1331 .Append(kBigEndian, 3, 0x8c3ffdULL) in TEST_F()
1332 .Append(kLittleEndian, 6, 0x6f11ba80187aULL) in TEST_F()
1335 .Append(kBigEndian, 4, 0x2fda2472ULL) in TEST_F()
1336 .Append(kLittleEndian, 5, 0x0aa02d423fULL) in TEST_F()
1339 .Append(kBigEndian, 5, 0x53ba432138ULL) in TEST_F()
1340 .Append(kLittleEndian, 4, 0xf139ae60ULL) in TEST_F()
1343 .Append(kBigEndian, 6, 0x168e436af716ULL) in TEST_F()
1344 .Append(kLittleEndian, 3, 0x3ef189ULL) in TEST_F()
1347 .Append(kBigEndian, 7, 0xacd4ef233e47d9ULL) in TEST_F()
1348 .Append(kLittleEndian, 2, 0x5311ULL) in TEST_F()
1351 .Append(kBigEndian, 8, 0x4668d5f1c93637a1ULL) in TEST_F()
1352 .Append(kLittleEndian, 1, 0x65ULL); in TEST_F()
1353 a = 0x79ac9bd8aa256b35ULL; in TEST_F()
1354 b = 0x22d13097ef86c91cULL; in TEST_F()
1355 c = 0xf204968b0a05862fULL; in TEST_F()
1356 d = 0x163177f15a0eb4ecULL; in TEST_F()
1357 e = 0xbd1b0f1d977f2246ULL; in TEST_F()
1358 f = 0x2b0842eee83c6461ULL; in TEST_F()
1359 g = 0x92f4b928a4bf875eULL; in TEST_F()
1360 h = 0x61a199a8f7286ba6ULL; in TEST_F()
1365 0x35, 0xa6, 0x6b, 0x28, 0xf7, 0xa8, 0x99, 0xa1, 0x61, in TEST_F()
1366 0x8b, 0x39, 0x44, 0x8f, 0x44, 0x40, 0x65, 0xa5, 0x0e, in TEST_F()
1367 0xc9, 0x1c, 0x5e, 0x87, 0xbf, 0xa4, 0x28, 0xb9, 0xf4, in TEST_F()
1368 0xcf, 0x15, 0x4a, 0x72, 0xc5, 0x04, 0x4f, 0x69, 0x29, in TEST_F()
1369 0x05, 0x86, 0x2f, 0x61, 0x64, 0x3c, 0xe8, 0xee, 0x42, in TEST_F()
1370 0x8c, 0x3f, 0xfd, 0x7a, 0x18, 0x80, 0xba, 0x11, 0x6f, in TEST_F()
1371 0x5a, 0x0e, 0xb4, 0xec, 0x46, 0x22, 0x7f, 0x97, 0x1d, in TEST_F()
1372 0x2f, 0xda, 0x24, 0x72, 0x3f, 0x42, 0x2d, 0xa0, 0x0a, in TEST_F()
1373 0x1d, 0x97, 0x7f, 0x22, 0x46, 0xec, 0xb4, 0x0e, 0x5a, in TEST_F()
1374 0x53, 0xba, 0x43, 0x21, 0x38, 0x60, 0xae, 0x39, 0xf1, in TEST_F()
1375 0x42, 0xee, 0xe8, 0x3c, 0x64, 0x61, 0x2f, 0x86, 0x05, in TEST_F()
1376 0x16, 0x8e, 0x43, 0x6a, 0xf7, 0x16, 0x89, 0xf1, 0x3e, in TEST_F()
1377 0xf4, 0xb9, 0x28, 0xa4, 0xbf, 0x87, 0x5e, 0x1c, 0xc9, in TEST_F()
1378 0xac, 0xd4, 0xef, 0x23, 0x3e, 0x47, 0xd9, 0x11, 0x53, in TEST_F()
1379 0x61, 0xa1, 0x99, 0xa8, 0xf7, 0x28, 0x6b, 0xa6, 0x35, in TEST_F()
1380 0x46, 0x68, 0xd5, 0xf1, 0xc9, 0x36, 0x37, 0xa1, 0x65, in TEST_F()
1383 ASSERT_TRUE(0 == memcmp(contents.data(), expected, sizeof(expected))); in TEST_F()
1407 m = 0x66726565; in TEST_F()
1416 section.LEB128(0); in TEST_F()
1418 EXPECT_EQ(string("\0", 1), contents); in TEST_F()
1422 section.LEB128(0x3f); in TEST_F()
1428 section.LEB128(0x40); in TEST_F()
1434 section.LEB128(0x7f); in TEST_F()
1440 section.LEB128(0x80); in TEST_F()
1446 section.LEB128(0xff); in TEST_F()
1452 section.LEB128(0x1fff); in TEST_F()
1458 section.LEB128(0x2000); in TEST_F()
1470 section.LEB128(-0x40); in TEST_F()
1476 section.LEB128(-0x41); in TEST_F()
1482 section.LEB128(-0x7f); in TEST_F()
1488 section.LEB128(-0x80); in TEST_F()
1494 section.LEB128(-0x2000); in TEST_F()
1500 section.LEB128(-0x2001); in TEST_F()
1506 section.ULEB128(0); in TEST_F()
1508 EXPECT_EQ(string("\0", 1), contents); in TEST_F()
1518 section.ULEB128(0x3f); in TEST_F()
1524 section.ULEB128(0x40); in TEST_F()
1530 section.ULEB128(0x7f); in TEST_F()
1536 section.ULEB128(0x80); in TEST_F()
1542 section.ULEB128(0xff); in TEST_F()
1548 section.ULEB128(0x100); in TEST_F()
1554 section.ULEB128(0x1fff); in TEST_F()
1560 section.ULEB128(0x2000); in TEST_F()
1566 section.ULEB128(0x3fff); in TEST_F()
1572 section.ULEB128(0x4000); in TEST_F()
1584 section.LEB128(-0x80).ULEB128(12857).Append("*"); in TEST_F()
1602 EXPECT_EQ(0U, section.Size()); in TEST_F()
1622 EXPECT_EQ(0U, section.Size()); in TEST_F()
1623 l = 0x8d231bf0U; in TEST_F()