Searched refs:PNG_FP_SAW_DIGIT (Results 1 – 4 of 4) sorted by relevance
2525 case 48: type = PNG_FP_SAW_DIGIT; break;2528 case 57: type = PNG_FP_SAW_DIGIT + PNG_FP_NONZERO; break;2552 else if (state & PNG_FP_SAW_DIGIT) /* trailing dot? */2560 case PNG_FP_INTEGER + PNG_FP_SAW_DIGIT:2569 if ((state & PNG_FP_SAW_DIGIT) == 0)2582 case PNG_FP_FRACTION + PNG_FP_SAW_DIGIT:2591 if ((state & PNG_FP_SAW_DIGIT) == 0)2609 case PNG_FP_EXPONENT + PNG_FP_SAW_DIGIT:2610 png_fp_add(state, PNG_FP_SAW_DIGIT | PNG_FP_WAS_VALID);2631 return (state & PNG_FP_SAW_DIGIT) != 0;
1803 #define PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */ macro1831 #define PNG_FP_NZ_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)1833 #define PNG_FP_Z_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)1836 #define PNG_FP_IS_ZERO(state) (((state) & PNG_FP_Z_MASK) == PNG_FP_SAW_DIGIT)
2618 case 48: type = PNG_FP_SAW_DIGIT; break;2621 case 57: type = PNG_FP_SAW_DIGIT + PNG_FP_NONZERO; break;2645 else if (state & PNG_FP_SAW_DIGIT) /* trailing dot? */2653 case PNG_FP_INTEGER + PNG_FP_SAW_DIGIT:2662 if ((state & PNG_FP_SAW_DIGIT) == 0)2675 case PNG_FP_FRACTION + PNG_FP_SAW_DIGIT:2684 if ((state & PNG_FP_SAW_DIGIT) == 0)2702 case PNG_FP_EXPONENT + PNG_FP_SAW_DIGIT:2703 png_fp_add(state, PNG_FP_SAW_DIGIT | PNG_FP_WAS_VALID);2724 return (state & PNG_FP_SAW_DIGIT) != 0;
1735 #define PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */ macro1763 #define PNG_FP_NZ_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)1765 #define PNG_FP_Z_MASK (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)1768 #define PNG_FP_IS_ZERO(state) (((state) & PNG_FP_Z_MASK) == PNG_FP_SAW_DIGIT)