Searched refs:PNG_FP_SAW_DIGIT (Results 1 – 6 of 6) sorted by relevance
2660 case 48: type = PNG_FP_SAW_DIGIT; break;2663 case 57: type = PNG_FP_SAW_DIGIT + PNG_FP_NONZERO; break;2687 else if ((state & PNG_FP_SAW_DIGIT) != 0) /* trailing dot? */2695 case PNG_FP_INTEGER + PNG_FP_SAW_DIGIT:2704 if ((state & PNG_FP_SAW_DIGIT) == 0)2717 case PNG_FP_FRACTION + PNG_FP_SAW_DIGIT:2726 if ((state & PNG_FP_SAW_DIGIT) == 0)2744 case PNG_FP_EXPONENT + PNG_FP_SAW_DIGIT:2745 png_fp_add(state, PNG_FP_SAW_DIGIT | PNG_FP_WAS_VALID);2766 return (state & PNG_FP_SAW_DIGIT) != 0;
1769 #define PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */ macro1797 #define PNG_FP_NZ_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)1799 #define PNG_FP_Z_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)1802 #define PNG_FP_IS_ZERO(state) (((state) & PNG_FP_Z_MASK) == PNG_FP_SAW_DIGIT)
2692 case 48: type = PNG_FP_SAW_DIGIT; break;2695 case 57: type = PNG_FP_SAW_DIGIT + PNG_FP_NONZERO; break;2719 else if ((state & PNG_FP_SAW_DIGIT) != 0) /* trailing dot? */2727 case PNG_FP_INTEGER + PNG_FP_SAW_DIGIT:2736 if ((state & PNG_FP_SAW_DIGIT) == 0)2749 case PNG_FP_FRACTION + PNG_FP_SAW_DIGIT:2758 if ((state & PNG_FP_SAW_DIGIT) == 0)2776 case PNG_FP_EXPONENT + PNG_FP_SAW_DIGIT:2777 png_fp_add(state, PNG_FP_SAW_DIGIT | PNG_FP_WAS_VALID);2798 return (state & PNG_FP_SAW_DIGIT) != 0;
1821 #define PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */ macro1849 #define PNG_FP_NZ_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)1851 #define PNG_FP_Z_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)1854 #define PNG_FP_IS_ZERO(state) (((state) & PNG_FP_Z_MASK) == PNG_FP_SAW_DIGIT)
2661 case 48: type = PNG_FP_SAW_DIGIT; break;2664 case 57: type = PNG_FP_SAW_DIGIT + PNG_FP_NONZERO; break;2688 else if ((state & PNG_FP_SAW_DIGIT) != 0) /* trailing dot? */2696 case PNG_FP_INTEGER + PNG_FP_SAW_DIGIT:2705 if ((state & PNG_FP_SAW_DIGIT) == 0)2718 case PNG_FP_FRACTION + PNG_FP_SAW_DIGIT:2727 if ((state & PNG_FP_SAW_DIGIT) == 0)2745 case PNG_FP_EXPONENT + PNG_FP_SAW_DIGIT:2746 png_fp_add(state, PNG_FP_SAW_DIGIT | PNG_FP_WAS_VALID);2767 return (state & PNG_FP_SAW_DIGIT) != 0;