Searched refs:lim (Results 1 - 12 of 12) sorted by relevance

/seL4-refos-master/libs/libmuslc/src/internal/
H A Dshgetc.c3 void __shlim(FILE *f, off_t lim) argument
5 f->shlim = lim;
7 if (lim && f->shcnt > lim)
8 f->shend = f->rpos + lim;
H A Dshgetc.h7 #define shlim(f, lim) __shlim((f), (lim))
H A Dintscan.c26 unsigned long long __intscan(FILE *f, unsigned base, int pok, unsigned long long lim) argument
85 y = lim;
86 if (lim&1) neg = 0;
90 if (y>=lim) {
91 if (!(lim&1) && !neg) {
93 return lim-1;
94 } else if (y>lim) {
96 return lim;
/seL4-refos-master/libs/libmuslc/src/stdlib/
H A Dstrtol.c9 static unsigned long long strtox(const char *s, char **p, int base, unsigned long long lim) argument
21 unsigned long long y = __intscan(&f, base, 1, lim);
H A Dwcstol.c32 static unsigned long long wcstox(const wchar_t *s, wchar_t **p, int base, unsigned long long lim) argument
46 unsigned long long y = __intscan(&f, base, 1, lim);
/seL4-refos-master/libs/libmuslc/src/conf/
H A Dsysconf.c175 struct rlimit lim; local
176 getrlimit(values[name]&16383, &lim);
177 return lim.rlim_cur > LONG_MAX ? LONG_MAX : lim.rlim_cur;
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dpotion.c415 register int i, ii, lim; local
431 lim = AMAX(i);
432 if (i == A_STR && u.uhs >= 3) --lim; /* WEAK */
433 if (ABASE(i) < lim) {
434 ABASE(i) = lim;
H A Dread.c254 int lim = (obj->otyp == WAN_WISHING) ? 3 : local
257 n = (lim == 3) ? 3 : rn1(5, lim + 1 - 5);
266 if (obj->spe >= lim) p_glow2(obj, NH_BLUE);
H A Dmakemon.c794 uchar lim = mbirth_limit(mndx); local
797 result = (((int) mvitals[mndx].born < lim) && !gone) ? TRUE : FALSE;
804 if ((int) mvitals[mndx].born >= lim && !(mons[mndx].geno & G_NOGEN) &&
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dpotion.c415 register int i, ii, lim; local
431 lim = AMAX(i);
432 if (i == A_STR && u.uhs >= 3) --lim; /* WEAK */
433 if (ABASE(i) < lim) {
434 ABASE(i) = lim;
H A Dread.c254 int lim = (obj->otyp == WAN_WISHING) ? 3 : local
257 n = (lim == 3) ? 3 : rn1(5, lim + 1 - 5);
266 if (obj->spe >= lim) p_glow2(obj, NH_BLUE);
H A Dmakemon.c794 uchar lim = mbirth_limit(mndx); local
797 result = (((int) mvitals[mndx].born < lim) && !gone) ? TRUE : FALSE;
804 if ((int) mvitals[mndx].born >= lim && !(mons[mndx].geno & G_NOGEN) &&

Completed in 113 milliseconds