Lines Matching refs:p
623 const u8 *p = (const u8 *)&n + sizeof(n) - 1; in run_packed_size() local
626 if (p[-7] || p[-6] || p[-5] || p[-4]) in run_packed_size()
627 p -= 4; in run_packed_size()
628 if (p[-3] || p[-2]) in run_packed_size()
629 p -= 2; in run_packed_size()
630 if (p[-1]) in run_packed_size()
631 p -= 1; in run_packed_size()
632 if (p[0] & 0x80) in run_packed_size()
633 p -= 1; in run_packed_size()
635 if (p[-7] != 0xff || p[-6] != 0xff || p[-5] != 0xff || in run_packed_size()
636 p[-4] != 0xff) in run_packed_size()
637 p -= 4; in run_packed_size()
638 if (p[-3] != 0xff || p[-2] != 0xff) in run_packed_size()
639 p -= 2; in run_packed_size()
640 if (p[-1] != 0xff) in run_packed_size()
641 p -= 1; in run_packed_size()
642 if (!(p[0] & 0x80)) in run_packed_size()
643 p -= 1; in run_packed_size()
645 return (const u8 *)&n + sizeof(n) - p; in run_packed_size()
651 const u8 *p = (u8 *)&v; in run_pack_s64() local
655 run_buf[7] = p[0]; in run_pack_s64()
658 run_buf[6] = p[1]; in run_pack_s64()
661 run_buf[5] = p[2]; in run_pack_s64()
664 run_buf[4] = p[3]; in run_pack_s64()
667 run_buf[3] = p[4]; in run_pack_s64()
670 run_buf[2] = p[5]; in run_pack_s64()
673 run_buf[1] = p[6]; in run_pack_s64()
676 run_buf[0] = p[7]; in run_pack_s64()
683 u8 *p = (u8 *)&v; in run_unpack_s64() local
687 p[0] = run_buf[7]; in run_unpack_s64()
690 p[1] = run_buf[6]; in run_unpack_s64()
693 p[2] = run_buf[5]; in run_unpack_s64()
696 p[3] = run_buf[4]; in run_unpack_s64()
699 p[4] = run_buf[3]; in run_unpack_s64()
702 p[5] = run_buf[2]; in run_unpack_s64()
705 p[6] = run_buf[1]; in run_unpack_s64()
708 p[7] = run_buf[0]; in run_unpack_s64()
717 const u8 *p = (const u8 *)&n; in run_packed_size() local
720 if (p[7] || p[6] || p[5] || p[4]) in run_packed_size()
721 p += 4; in run_packed_size()
722 if (p[3] || p[2]) in run_packed_size()
723 p += 2; in run_packed_size()
724 if (p[1]) in run_packed_size()
725 p += 1; in run_packed_size()
726 if (p[0] & 0x80) in run_packed_size()
727 p += 1; in run_packed_size()
729 if (p[7] != 0xff || p[6] != 0xff || p[5] != 0xff || in run_packed_size()
730 p[4] != 0xff) in run_packed_size()
731 p += 4; in run_packed_size()
732 if (p[3] != 0xff || p[2] != 0xff) in run_packed_size()
733 p += 2; in run_packed_size()
734 if (p[1] != 0xff) in run_packed_size()
735 p += 1; in run_packed_size()
736 if (!(p[0] & 0x80)) in run_packed_size()
737 p += 1; in run_packed_size()
740 return 1 + p - (const u8 *)&n; in run_packed_size()
746 const u8 *p = (u8 *)&v; in run_pack_s64() local
751 run_buf[7] = p[7]; in run_pack_s64()
754 run_buf[6] = p[6]; in run_pack_s64()
757 run_buf[5] = p[5]; in run_pack_s64()
760 run_buf[4] = p[4]; in run_pack_s64()
763 run_buf[3] = p[3]; in run_pack_s64()
766 run_buf[2] = p[2]; in run_pack_s64()
769 run_buf[1] = p[1]; in run_pack_s64()
772 run_buf[0] = p[0]; in run_pack_s64()
779 u8 *p = (u8 *)&v; in run_unpack_s64() local
784 p[7] = run_buf[7]; in run_unpack_s64()
787 p[6] = run_buf[6]; in run_unpack_s64()
790 p[5] = run_buf[5]; in run_unpack_s64()
793 p[4] = run_buf[4]; in run_unpack_s64()
796 p[3] = run_buf[3]; in run_unpack_s64()
799 p[2] = run_buf[2]; in run_unpack_s64()
802 p[1] = run_buf[1]; in run_unpack_s64()
805 p[0] = run_buf[0]; in run_unpack_s64()