Lines Matching defs:lim
85 static void ffshlim(FFFILE *f, ptrdiff_t lim)
87 f->shlim = lim;
89 /* If lim is nonzero, rend must be a valid pointer. */
90 if (lim && f->rend - f->rpos > lim)
91 f->shend = f->rpos + lim;
115 #define shlim(f, lim) ffshlim((f), (lim))
138 static unsigned long long ffintscan(FFFILE *f, unsigned base, int pok, unsigned long long lim)
197 y = lim;
198 if (lim&1) neg = 0;
202 if (y>=lim) {
203 if (!(lim&1) && !neg) {
205 return lim-1;
206 } else if (y>lim) {
208 return lim;