Searched refs:PNG_FP_SAW_DIGIT (Results 1 – 4 of 4) sorted by relevance
2733 case 48: type = PNG_FP_SAW_DIGIT; break;2736 case 57: type = PNG_FP_SAW_DIGIT + PNG_FP_NONZERO; break;2760 else if ((state & PNG_FP_SAW_DIGIT) != 0) /* trailing dot? */2768 case PNG_FP_INTEGER + PNG_FP_SAW_DIGIT:2777 if ((state & PNG_FP_SAW_DIGIT) == 0)2790 case PNG_FP_FRACTION + PNG_FP_SAW_DIGIT:2799 if ((state & PNG_FP_SAW_DIGIT) == 0)2817 case PNG_FP_EXPONENT + PNG_FP_SAW_DIGIT:2818 png_fp_add(state, PNG_FP_SAW_DIGIT | PNG_FP_WAS_VALID);2839 return (state & PNG_FP_SAW_DIGIT) != 0;
1896 #define PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */ macro1924 #define PNG_FP_NZ_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)1926 #define PNG_FP_Z_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)1929 #define PNG_FP_IS_ZERO(state) (((state) & PNG_FP_Z_MASK) == PNG_FP_SAW_DIGIT)
2695 case 48: type = PNG_FP_SAW_DIGIT; break;2698 case 57: type = PNG_FP_SAW_DIGIT + PNG_FP_NONZERO; break;2722 else if ((state & PNG_FP_SAW_DIGIT) != 0) /* trailing dot? */2730 case PNG_FP_INTEGER + PNG_FP_SAW_DIGIT:2739 if ((state & PNG_FP_SAW_DIGIT) == 0)2752 case PNG_FP_FRACTION + PNG_FP_SAW_DIGIT:2761 if ((state & PNG_FP_SAW_DIGIT) == 0)2779 case PNG_FP_EXPONENT + PNG_FP_SAW_DIGIT:2780 png_fp_add(state, PNG_FP_SAW_DIGIT | PNG_FP_WAS_VALID);2801 return (state & PNG_FP_SAW_DIGIT) != 0;
1771 #define PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */ macro1799 #define PNG_FP_NZ_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)1801 #define PNG_FP_Z_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)1804 #define PNG_FP_IS_ZERO(state) (((state) & PNG_FP_Z_MASK) == PNG_FP_SAW_DIGIT)