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

/barrelfish-master/lib/libc/locale/
H A Dtolower.c50 size_t lim; local
60 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
61 re = base + (lim >> 1);
66 lim--;
H A Dtoupper.c50 size_t lim; local
60 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
61 re = base + (lim >> 1);
68 lim--;
H A Drunetype.c50 size_t lim; local
60 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
61 re = base + (lim >> 1);
69 lim--;
H A Dnextwctype.c43 size_t lim; local
67 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
68 re = base + (lim >> 1);
73 lim--;
/barrelfish-master/lib/libc/stdlib/
H A Dbsearch.c50 * divide the work in half by moving either left or right. If lim
51 * is odd, moving left simply involves halving lim: e.g., when lim
52 * is 5 we look at item 2, so we change lim to 2 so that we will
53 * look at items 0 & 1. If lim is even, the same applies. If lim
54 * is odd, moving right again involes halving lim, this time moving
55 * the base up one item past p: e.g., when lim is 5 we change base
56 * to item 3 and make lim 2 so that we will look at items 3 and 4.
57 * If lim i
73 size_t lim; local
[all...]
H A Drandom.c241 int i, lim; local
245 lim = NSHUFF;
251 lim = 10 * rand_deg;
253 for (i = 0; i < lim; i++)
/barrelfish-master/lib/libc/xdr/
H A Dxdr_float.c103 struct sgl_limits *lim; local
113 for (i = 0, lim = sgl_limits; i < nitems(sgl_limits);
114 i++, lim++) {
115 if ((vs.mantissa2 == lim->s.mantissa2) &&
116 (vs.exp == lim->s.exp) &&
117 (vs.mantissa1 == lim->s.mantissa1)) {
118 is = lim->ieee;
136 for (i = 0, lim = sgl_limits; i < nitems(sgl_limits);
137 i++, lim++) {
138 if ((is.exp == lim
[all...]
/barrelfish-master/usr/eclipseclp/Shm/src/
H A Dshared_mem.c199 hd->shared_header->lim = start_shared_area + map_default;
215 char *lim; local
263 lim = tmp_header->lim;
268 lim - start_shared_area,
326 avail = hd->shared_header->lim - p;
330 if (hd->shared_header->lim + needed > hd->shared_header->stop)
337 if ((char *) mmap(hd->shared_header->lim, needed,
344 (off_t) (hd->shared_header->lim - hd->shared_header->start))
345 != hd->shared_header->lim)
392 char *lim; /* current mapping limit */ local
[all...]
H A Dmemman.h251 char *lim; /* end of the mapped region */ member in struct:shm_desc
/barrelfish-master/lib/libc/net/
H A Dip6opt.c44 static int ip6optlen(u_int8_t *opt, u_int8_t *lim);
243 u_int8_t *lim; local
263 lim = (u_int8_t *)ip6e + hdrlen;
267 if ((optlen = ip6optlen(*tptrp, lim)) == 0)
272 if (*tptrp >= lim) { /* there is no option */
280 if (ip6optlen(*tptrp, lim) == 0)
299 u_int8_t *optp, *lim; local
319 lim = (u_int8_t *)ip6e + hdrlen;
323 if ((optlen = ip6optlen(*tptrp, lim)) == 0)
328 for (optp = *tptrp; optp < lim; opt
348 ip6optlen(u_int8_t *opt, u_int8_t *lim) argument
504 u_int8_t *optp, *lim; local
553 u_int8_t *optp, *lim; local
[all...]
H A Dsctp_sys_calls.c401 caddr_t lim; local
432 lim = (caddr_t)addrs + opt_len;
433 while (((caddr_t)sa < lim) && (sa->sa_len > 0)) {
455 caddr_t lim; local
495 lim = (caddr_t)addrs + opt_len;
496 while (((caddr_t)sa < lim) && (sa->sa_len > 0)) {
H A Dname6.c909 u_char *lim, r; local
918 lim = s + addrlen;
925 lim = s + addrlen;
931 while (s < lim)
H A Dgetaddrinfo.c928 u_char *lim, r; local
937 lim = s + addrlen;
944 lim = s + addrlen;
950 while (s < lim)
/barrelfish-master/lib/libc/db/btree/
H A Dbt_search.c67 indx_t base, idx, lim; local
78 for (base = 0, lim = NEXTINDEX(h); lim; lim >>= 1) {
79 t->bt_cur.index = idx = base + (lim >> 1);
89 --lim;
/barrelfish-master/lib/posixcompat/
H A Drandom.c268 int i, lim; local
272 lim = NSHUFF;
278 lim = 10 * rand_deg;
280 for (i = 0; i < lim; i++)
/barrelfish-master/lib/lua/src/
H A Dldo.c163 int lim = L->stacksize; local
167 for (; lim < newsize; lim++)
168 setnilvalue(L->stack + lim); /* erase new segment */
196 StkId lim = L->top; local
199 if (lim < ci->top) lim = ci->top;
201 return cast_int(lim - L->stack) + 1; /* part of stack in use */
H A Dltable.c236 int lim = ttlg; local
237 if (lim > t->sizearray) {
238 lim = t->sizearray; /* adjust upper limit */
239 if (i > lim)
243 for (; i <= lim; i++) {
H A Dlgc.c503 StkId lim = th->stack + th->stacksize; /* real end of stack */ local
504 for (; o < lim; o++) /* clear not-marked stack slice */
H A Dlvm.c736 StkId lim = nci->u.l.base + getproto(nfunc)->numparams;
741 for (aux = 0; nfunc + aux < lim; aux++)
/barrelfish-master/usr/eclipseclp/lib_tcl/widget/
H A Dconsole.tcl1606 ;proc MatchPair {w c1 c2 {lim 1.0}} {
1609 if {[string compare [set ix [$w search -back $c1 insert $lim]] {}]} {
1611 [string compare [set ix [$w search -back $c1 $ix-1c $lim]] {}]} {}
1624 [set ix [$w search -back $c1 $ix $lim]] {}]} {
1629 if {[string match {} $ix]} { set ix [$w index $lim] }
1631 set ix [$w index $lim]
1647 ;proc MatchQuote {w {lim 1.0}} {
1652 while {[string compare {} [set i [$w search -back \" $i $lim]]]} {

Completed in 211 milliseconds