Lines Matching refs:eptr

599 #define UCHAR21(eptr)        (*(eptr))  argument
600 #define UCHAR21TEST(eptr) (*(eptr)) argument
601 #define UCHAR21INC(eptr) (*(eptr)++) argument
602 #define UCHAR21INCTEST(eptr) (*(eptr)++) argument
617 #define GETCHAR(c, eptr) c = *eptr; argument
618 #define GETCHARTEST(c, eptr) c = *eptr; argument
619 #define GETCHARINC(c, eptr) c = *eptr++; argument
620 #define GETCHARINCTEST(c, eptr) c = *eptr++; argument
621 #define GETCHARLEN(c, eptr, len) c = *eptr; argument
636 #define GETUTF8(c, eptr) \ argument
639 c = ((c & 0x1f) << 6) | (eptr[1] & 0x3f); \
641 c = ((c & 0x0f) << 12) | ((eptr[1] & 0x3f) << 6) | (eptr[2] & 0x3f); \
643 c = ((c & 0x07) << 18) | ((eptr[1] & 0x3f) << 12) | \
644 ((eptr[2] & 0x3f) << 6) | (eptr[3] & 0x3f); \
646 c = ((c & 0x03) << 24) | ((eptr[1] & 0x3f) << 18) | \
647 ((eptr[2] & 0x3f) << 12) | ((eptr[3] & 0x3f) << 6) | \
648 (eptr[4] & 0x3f); \
650 c = ((c & 0x01) << 30) | ((eptr[1] & 0x3f) << 24) | \
651 ((eptr[2] & 0x3f) << 18) | ((eptr[3] & 0x3f) << 12) | \
652 ((eptr[4] & 0x3f) << 6) | (eptr[5] & 0x3f); \
658 #define GETUTF8INC(c, eptr) \ argument
661 c = ((c & 0x1f) << 6) | (*eptr++ & 0x3f); \
664 c = ((c & 0x0f) << 12) | ((*eptr & 0x3f) << 6) | (eptr[1] & 0x3f); \
665 eptr += 2; \
669 c = ((c & 0x07) << 18) | ((*eptr & 0x3f) << 12) | \
670 ((eptr[1] & 0x3f) << 6) | (eptr[2] & 0x3f); \
671 eptr += 3; \
675 c = ((c & 0x03) << 24) | ((*eptr & 0x3f) << 18) | \
676 ((eptr[1] & 0x3f) << 12) | ((eptr[2] & 0x3f) << 6) | \
677 (eptr[3] & 0x3f); \
678 eptr += 4; \
682 c = ((c & 0x01) << 30) | ((*eptr & 0x3f) << 24) | \
683 ((eptr[1] & 0x3f) << 18) | ((eptr[2] & 0x3f) << 12) | \
684 ((eptr[3] & 0x3f) << 6) | (eptr[4] & 0x3f); \
685 eptr += 5; \
717 #define GETCHAR(c, eptr) \ argument
718 c = *eptr; \
719 if (c >= 0xc0) GETUTF8(c, eptr);
724 #define GETCHARTEST(c, eptr) \ argument
725 c = *eptr; \
726 if (utf && c >= 0xc0) GETUTF8(c, eptr);
731 #define GETCHARINC(c, eptr) \ argument
732 c = *eptr++; \
733 if (c >= 0xc0) GETUTF8INC(c, eptr);
738 #define GETCHARINCTEST(c, eptr) \ argument
739 c = *eptr++; \
740 if (utf && c >= 0xc0) GETUTF8INC(c, eptr);
745 #define GETUTF8LEN(c, eptr, len) \ argument
749 c = ((c & 0x1f) << 6) | (eptr[1] & 0x3f); \
754 c = ((c & 0x0f) << 12) | ((eptr[1] & 0x3f) << 6) | (eptr[2] & 0x3f); \
759 c = ((c & 0x07) << 18) | ((eptr[1] & 0x3f) << 12) | \
760 ((eptr[2] & 0x3f) << 6) | (eptr[3] & 0x3f); \
765 c = ((c & 0x03) << 24) | ((eptr[1] & 0x3f) << 18) | \
766 ((eptr[2] & 0x3f) << 12) | ((eptr[3] & 0x3f) << 6) | \
767 (eptr[4] & 0x3f); \
772 c = ((c & 0x01) << 30) | ((eptr[1] & 0x3f) << 24) | \
773 ((eptr[2] & 0x3f) << 18) | ((eptr[3] & 0x3f) << 12) | \
774 ((eptr[4] & 0x3f) << 6) | (eptr[5] & 0x3f); \
782 #define GETCHARLEN(c, eptr, len) \ argument
783 c = *eptr; \
784 if (c >= 0xc0) GETUTF8LEN(c, eptr, len);
790 #define GETCHARLENTEST(c, eptr, len) \ argument
791 c = *eptr; \
792 if (utf && c >= 0xc0) GETUTF8LEN(c, eptr, len);
798 #define BACKCHAR(eptr) while((*eptr & 0xc0) == 0x80) eptr-- argument
801 #define FORWARDCHAR(eptr) while((*eptr & 0xc0) == 0x80) eptr++ argument
804 #define ACROSSCHAR(condition, eptr, action) \ argument
805 while((condition) && ((eptr) & 0xc0) == 0x80) action
830 #define GETUTF16(c, eptr) \ argument
831 { c = (((c & 0x3ff) << 10) | (eptr[1] & 0x3ff)) + 0x10000; }
836 #define GETCHAR(c, eptr) \ argument
837 c = *eptr; \
838 if ((c & 0xfc00) == 0xd800) GETUTF16(c, eptr);
843 #define GETCHARTEST(c, eptr) \ argument
844 c = *eptr; \
845 if (utf && (c & 0xfc00) == 0xd800) GETUTF16(c, eptr);
850 #define GETUTF16INC(c, eptr) \ argument
851 { c = (((c & 0x3ff) << 10) | (*eptr++ & 0x3ff)) + 0x10000; }
856 #define GETCHARINC(c, eptr) \ argument
857 c = *eptr++; \
858 if ((c & 0xfc00) == 0xd800) GETUTF16INC(c, eptr);
863 #define GETCHARINCTEST(c, eptr) \ argument
864 c = *eptr++; \
865 if (utf && (c & 0xfc00) == 0xd800) GETUTF16INC(c, eptr);
870 #define GETUTF16LEN(c, eptr, len) \ argument
871 { c = (((c & 0x3ff) << 10) | (eptr[1] & 0x3ff)) + 0x10000; len++; }
877 #define GETCHARLEN(c, eptr, len) \ argument
878 c = *eptr; \
879 if ((c & 0xfc00) == 0xd800) GETUTF16LEN(c, eptr, len);
885 #define GETCHARLENTEST(c, eptr, len) \ argument
886 c = *eptr; \
887 if (utf && (c & 0xfc00) == 0xd800) GETUTF16LEN(c, eptr, len);
894 #define BACKCHAR(eptr) if ((*eptr & 0xfc00) == 0xdc00) eptr-- argument
897 #define FORWARDCHAR(eptr) if ((*eptr & 0xfc00) == 0xdc00) eptr++ argument
900 #define ACROSSCHAR(condition, eptr, action) \ argument
901 if ((condition) && ((eptr) & 0xfc00) == 0xdc00) action
915 #define GETCHAR(c, eptr) \ argument
916 c = *(eptr);
921 #define GETCHARTEST(c, eptr) \ argument
922 c = *(eptr);
927 #define GETCHARINC(c, eptr) \ argument
928 c = *((eptr)++);
933 #define GETCHARINCTEST(c, eptr) \ argument
934 c = *((eptr)++);
940 #define GETCHARLEN(c, eptr, len) \ argument
941 GETCHAR(c, eptr)
947 #define GETCHARLENTEST(c, eptr, len) \ argument
948 GETCHARTEST(c, eptr)
956 #define BACKCHAR(eptr) do { } while (0) argument
959 #define FORWARDCHAR(eptr) do { } while (0) argument
962 #define ACROSSCHAR(condition, eptr, action) do { } while (0) argument