Lines Matching refs:uval
24 png_uint_32 uval = png_get_uint_32(buf); in png_get_uint_31() local
26 if (uval > PNG_UINT_31_MAX) in png_get_uint_31()
29 return (uval); in png_get_uint_31()
43 png_uint_32 uval = png_get_uint_32(buf); in png_get_fixed_point() local
45 if (uval <= PNG_UINT_31_MAX) in png_get_fixed_point()
46 return (png_fixed_point)uval; /* known to be in range */ in png_get_fixed_point()
70 png_uint_32 uval = in png_uint_32() local
76 return uval; in png_uint_32()
87 png_uint_32 uval = png_get_uint_32(buf); in png_int_32() local
88 if ((uval & 0x80000000) == 0) /* non-negative */ in png_int_32()
89 return (png_int_32)uval; in png_int_32()
91 uval = (uval ^ 0xffffffff) + 1; /* 2's complement: -x = ~x+1 */ in png_int_32()
92 if ((uval & 0x80000000) == 0) /* no overflow */ in png_int_32()
93 return -(png_int_32)uval; in png_int_32()