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

1234567

/freebsd-10-stable/contrib/binutils/libiberty/
H A Dbsearch.c57 * divide the work in half by moving either left or right. If lim
58 * is odd, moving left simply involves halving lim: e.g., when lim
59 * is 5 we look at item 2, so we change lim to 2 so that we will
60 * look at items 0 & 1. If lim is even, the same applies. If lim
61 * is odd, moving right again involes halving lim, this time moving
62 * the base up one item past p: e.g., when lim is 5 we change base
63 * to item 3 and make lim 2 so that we will look at items 3 and 4.
64 * If lim i
75 register int lim, cmp; local
[all...]
/freebsd-10-stable/contrib/gcclibs/libiberty/
H A Dbsearch.c57 * divide the work in half by moving either left or right. If lim
58 * is odd, moving left simply involves halving lim: e.g., when lim
59 * is 5 we look at item 2, so we change lim to 2 so that we will
60 * look at items 0 & 1. If lim is even, the same applies. If lim
61 * is odd, moving right again involes halving lim, this time moving
62 * the base up one item past p: e.g., when lim is 5 we change base
63 * to item 3 and make lim 2 so that we will look at items 3 and 4.
64 * If lim i
75 register int lim, cmp; local
[all...]
/freebsd-10-stable/lib/libc/stdlib/
H A Dbsearch.c43 * divide the work in half by moving either left or right. If lim
44 * is odd, moving left simply involves halving lim: e.g., when lim
45 * is 5 we look at item 2, so we change lim to 2 so that we will
46 * look at items 0 & 1. If lim is even, the same applies. If lim
47 * is odd, moving right again involes halving lim, this time moving
48 * the base up one item past p: e.g., when lim is 5 we change base
49 * to item 3 and make lim 2 so that we will look at items 3 and 4.
50 * If lim i
64 size_t lim; local
[all...]
/freebsd-10-stable/sys/libkern/
H A Dbsearch.c43 * divide the work in half by moving either left or right. If lim
44 * is odd, moving left simply involves halving lim: e.g., when lim
45 * is 5 we look at item 2, so we change lim to 2 so that we will
46 * look at items 0 & 1. If lim is even, the same applies. If lim
47 * is odd, moving right again involes halving lim, this time moving
48 * the base up one item past p: e.g., when lim is 5 we change base
49 * to item 3 and make lim 2 so that we will look at items 3 and 4.
50 * If lim i
64 size_t lim; local
[all...]
/freebsd-10-stable/contrib/groff/src/libs/libgroff/
H A Dprime.cpp11 unsigned lim = unsigned(sqrt((double)n)); local
14 if (d > lim)
19 if (d > lim)
/freebsd-10-stable/lib/libc/locale/
H A Dtolower.c52 size_t lim; local
62 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
63 re = base + (lim >> 1);
68 lim--;
H A Dtoupper.c52 size_t lim; local
62 for (lim = rr->__nranges; lim != 0; lim >>= 1) {
63 re = base + (lim >> 1);
70 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--;
/freebsd-10-stable/sys/ia64/ia64/
H A Dphysmem.c45 ia64_physmem_find(vm_paddr_t base, vm_paddr_t lim) argument
50 if (phys_avail[idx] >= lim ||
58 ia64_physmem_insert(u_int idx, vm_paddr_t base, vm_paddr_t lim) argument
72 phys_avail[idx + 1] = lim;
95 vm_paddr_t lim; local
100 lim = base + len;
101 idx = ia64_physmem_find(base, lim);
102 if (phys_avail[idx] == lim) {
107 phys_avail[idx - 1] = lim;
110 return (ia64_physmem_insert(idx, base, lim));
116 vm_paddr_t lim; local
143 vm_paddr_t base, lim, size; local
199 vm_paddr_t base, lim, pa; local
[all...]
/freebsd-10-stable/lib/libc/xdr/
H A Dxdr_float.c111 struct sgl_limits *lim; local
121 for (i = 0, lim = sgl_limits;
123 i++, lim++) {
124 if ((vs.mantissa2 == lim->s.mantissa2) &&
125 (vs.exp == lim->s.exp) &&
126 (vs.mantissa1 == lim->s.mantissa1)) {
127 is = lim->ieee;
145 for (i = 0, lim = sgl_limits;
147 i++, lim++) {
148 if ((is.exp == lim
[all...]
/freebsd-10-stable/lib/libc/net/
H A Dip6opt.c45 static int ip6optlen(u_int8_t *opt, u_int8_t *lim);
246 u_int8_t *lim; local
266 lim = (u_int8_t *)ip6e + hdrlen;
270 if ((optlen = ip6optlen(*tptrp, lim)) == 0)
275 if (*tptrp >= lim) { /* there is no option */
283 if (ip6optlen(*tptrp, lim) == 0)
302 u_int8_t *optp, *lim; local
322 lim = (u_int8_t *)ip6e + hdrlen;
326 if ((optlen = ip6optlen(*tptrp, lim)) == 0)
331 for (optp = *tptrp; optp < lim; opt
351 ip6optlen(u_int8_t *opt, u_int8_t *lim) argument
510 u_int8_t *optp, *lim; local
559 u_int8_t *optp, *lim; local
[all...]
/freebsd-10-stable/usr.sbin/rtsold/
H A Drtsock.c94 char *lim, *next; local
104 lim = msg + n;
105 for (next = msg; next < lim; next += len) {
107 if (lim - next < lenlim)
128 ret = (*rtsock_dispatch[idx].func)(s, rtm, lim);
138 rtsock_input_ifannounce(int s __unused, struct rt_msghdr *rtm, char *lim) argument
144 if ((char *)(ifan + 1) > lim)
/freebsd-10-stable/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;
/freebsd-10-stable/sys/fs/fdescfs/
H A Dfdesc_vfsops.c188 int lim; local
203 lim = lim_cur(td->td_proc, RLIMIT_NOFILE);
208 if (lim > limit)
209 lim = limit;
210 last = min(fdp->fd_nfiles, lim);
220 if (fdp->fd_nfiles < lim)
221 freefd += (lim - fdp->fd_nfiles);
230 sbp->f_files = lim + 1; /* Allow for "." */
/freebsd-10-stable/gnu/usr.bin/grep/
H A Dexclude.c90 char const *lim; local
118 for (pattern = p = buf, lim = buf + buf_count; p <= lim; p++)
119 if (p < lim ? *p == line_end : buf < p && p[-1])
/freebsd-10-stable/contrib/netbsd-tests/include/sys/
H A Dt_types.c120 rlim_t lim; local
126 lim = 0;
132 ATF_CHECK((lim - 1) > 0);
/freebsd-10-stable/sys/cddl/contrib/opensolaris/common/nvpair/
H A Dopensolaris_nvpair_alloc_fixed.c67 uintptr_t lim = base + va_arg(valist, size_t); local
70 if (base == 0 || (uintptr_t)&nvb[1] > lim)
75 nvb->nvb_lim = lim;
/freebsd-10-stable/contrib/expat/xmlwf/
H A Dcodepage.c25 int j, lim; local
28 lim = info.LeadByte[i + 1];
29 for (j = info.LeadByte[i]; j <= lim; j++)
/freebsd-10-stable/sys/dev/netmap/
H A Dif_lem_netmap.h95 u_int const lim = kring->nkr_num_slots - 1; local
121 n += lim + 1;
159 nm_i = nm_next(nm_i, lim);
160 nic_i = nm_next(nic_i, lim);
253 u_int delta = lim/8;
263 x = nm_next(x, lim);
265 tdh += lim + 1;
272 tdh += lim + 1;
285 else if (!bh_active && csbd[15] < lim/2)
302 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
323 u_int const lim = kring->nkr_num_slots - 1; local
[all...]
H A Dixgbe_netmap.h165 u_int const lim = kring->nkr_num_slots - 1; local
259 nm_i = nm_next(nm_i, lim);
260 nic_i = nm_next(nic_i, lim);
294 if (nic_i > lim)
295 nic_i -= lim + 1;
322 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
354 u_int const lim = kring->nkr_num_slots - 1; local
362 if (head > lim)
401 nm_i = nm_next(nm_i, lim);
402 nic_i = nm_next(nic_i, lim);
[all...]
H A Dif_igb_netmap.h92 u_int const lim = kring->nkr_num_slots - 1; local
152 nm_i = nm_next(nm_i, lim);
153 nic_i = nm_next(nic_i, lim);
180 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
201 u_int const lim = kring->nkr_num_slots - 1; local
209 if (head > lim)
235 nm_i = nm_next(nm_i, lim);
236 nic_i = nm_next(nic_i, lim);
271 nm_i = nm_next(nm_i, lim);
272 nic_i = nm_next(nic_i, lim);
[all...]
/freebsd-10-stable/sys/dev/ixgbe/
H A Dixgbe_netmap.c159 u_int const lim = kring->nkr_num_slots - 1; local
253 nm_i = nm_next(nm_i, lim);
254 nic_i = nm_next(nic_i, lim);
288 if (nic_i > lim)
289 nic_i -= lim + 1;
315 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
347 u_int const lim = kring->nkr_num_slots - 1; local
355 if (head > lim)
394 nm_i = nm_next(nm_i, lim);
395 nic_i = nm_next(nic_i, lim);
[all...]
H A Dixv_netmap.c145 u_int const lim = kring->nkr_num_slots - 1; local
239 nm_i = nm_next(nm_i, lim);
240 nic_i = nm_next(nic_i, lim);
274 if (nic_i > lim)
275 nic_i -= lim + 1;
301 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
333 u_int const lim = kring->nkr_num_slots - 1; local
341 if (head > lim)
380 nm_i = nm_next(nm_i, lim);
381 nic_i = nm_next(nic_i, lim);
[all...]
/freebsd-10-stable/contrib/mdocml/
H A Dmandoc.c104 int i, lim, ssz, rlim; local
112 i = lim = 0;
124 lim = 2;
176 lim = 2;
182 lim = 1;
277 lim = 2;
286 lim = 1;
303 lim = 1;
348 assert(lim > 0);
356 if ((size_t)lim > strle
[all...]

Completed in 148 milliseconds

1234567