Lines Matching refs:r
26 #define GD_IO_EOF_CHK(r) \ argument
27 if (r == EOF) { \
78 int r; in gdGetByte() local
79 r = (ctx->getC) (ctx); in gdGetByte()
80 GD_IO_EOF_CHK(r); in gdGetByte()
81 *result = r; in gdGetByte()
87 int r; in gdGetWord() local
88 r = (ctx->getC) (ctx); in gdGetWord()
89 GD_IO_EOF_CHK(r); in gdGetWord()
90 *result = r << 8; in gdGetWord()
91 r = (ctx->getC) (ctx); in gdGetWord()
92 GD_IO_EOF_CHK(r); in gdGetWord()
93 *result += r; in gdGetWord()
120 unsigned int r; in gdGetInt() local
121 r = (ctx->getC) (ctx); in gdGetInt()
122 GD_IO_EOF_CHK(r); in gdGetInt()
123 *result = r << 24; in gdGetInt()
125 r = (ctx->getC) (ctx); in gdGetInt()
126 GD_IO_EOF_CHK(r); in gdGetInt()
127 *result += r << 16; in gdGetInt()
129 r = (ctx->getC) (ctx); in gdGetInt()
130 if (r == EOF) { in gdGetInt()
133 *result += r << 8; in gdGetInt()
135 r = (ctx->getC) (ctx); in gdGetInt()
136 GD_IO_EOF_CHK(r); in gdGetInt()
137 *result += r; in gdGetInt()
145 unsigned int r = 0; in gdGetIntLSB() local
151 r |= (c << 24); in gdGetIntLSB()
152 r >>= 8; in gdGetIntLSB()
158 r |= (c << 24); in gdGetIntLSB()
159 r >>= 8; in gdGetIntLSB()
165 r |= (c << 24); in gdGetIntLSB()
166 r >>= 8; in gdGetIntLSB()
172 r |= (c << 24); in gdGetIntLSB()
175 *result = (signed int)r; in gdGetIntLSB()