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()
100 int r; in gdGetInt() local
101 r = (ctx->getC) (ctx); in gdGetInt()
102 GD_IO_EOF_CHK(r); in gdGetInt()
103 *result = r << 24; in gdGetInt()
105 r = (ctx->getC) (ctx); in gdGetInt()
106 GD_IO_EOF_CHK(r); in gdGetInt()
107 *result += r << 16; in gdGetInt()
109 r = (ctx->getC) (ctx); in gdGetInt()
110 if (r == EOF) { in gdGetInt()
113 *result += r << 8; in gdGetInt()
115 r = (ctx->getC) (ctx); in gdGetInt()
116 GD_IO_EOF_CHK(r); in gdGetInt()
117 *result += r; in gdGetInt()