Lines Matching defs:UInt
80 typedef unsigned int UInt; /* Unsigned 32 bit integer */
91 UInt ras_magic; /* Magic Number */
92 UInt ras_width; /* Width */
93 UInt ras_height; /* Height */
94 UInt ras_depth; /* Number of bits per pixel (1,8,24,32) */
95 UInt ras_length; /* Length of image data (but may also be 0) */
96 UInt ras_type; /* Encoding */
97 UInt ras_maptype; /* Type of colormap */
98 UInt ras_maplength;/* Number of bytes for colormap */
160 static Boln readUInt (tkimg_MFile *ifp, UInt *i)
163 UInt c;
169 c = (((UInt)(buf[0])) << 24);
170 c |= (((UInt)(buf[1])) << 16);
171 c |= (((UInt)(buf[2])) << 8);
172 c |= ((UInt)(buf[3]));
177 static Boln writeUInt (tkimg_MFile *ofp, UInt c)
415 UInt type = sh->ras_type;
436 UInt *cp;
438 cp = (UInt *)sunhdr;
455 UInt *cp;
457 cp = (UInt *)sunhdr;
1106 length = (sizeof (SUNHEADER)/sizeof (UInt)) * 4 + sh.ras_maplength;