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

1234567

/freebsd-11-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-11-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-11-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-11-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-11-stable/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...]
/freebsd-11-stable/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--;
/freebsd-11-stable/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...]
/freebsd-11-stable/lib/libc/string/
H A Dmemset_s.c40 rsize_t lim; local
45 lim = n < smax ? n : smax;
56 while (lim > 0)
57 dst[--lim] = v;
/freebsd-11-stable/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...]
/freebsd-11-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-11-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-11-stable/sys/fs/fdescfs/
H A Dfdesc_vfsops.c178 int lim; local
192 lim = lim_cur(td, RLIMIT_NOFILE);
196 if (lim > limit)
197 lim = limit;
198 last = min(fdp->fd_nfiles, lim);
208 if (fdp->fd_nfiles < lim)
209 freefd += (lim - fdp->fd_nfiles);
218 sbp->f_files = lim + 1; /* Allow for "." */
/freebsd-11-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-11-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-11-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-11-stable/contrib/expat/xmlwf/
H A Dcodepage.c52 int j, lim; local
55 lim = info.LeadByte[i + 1];
56 for (j = info.LeadByte[i]; j <= lim; j++)
/freebsd-11-stable/sys/dev/ixgbe/
H A Dixgbe_netmap.c194 u_int const lim = kring->nkr_num_slots - 1; local
288 nm_i = nm_next(nm_i, lim);
289 nic_i = nm_next(nic_i, lim);
323 if (nic_i > lim)
324 nic_i -= lim + 1;
350 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
380 u_int const lim = kring->nkr_num_slots - 1; local
388 if (head > lim)
426 nm_i = nm_next(nm_i, lim);
427 nic_i = nm_next(nic_i, lim);
[all...]
/freebsd-11-stable/sys/amd64/vmm/intel/
H A Dvmcs.c128 vmcs_seg_desc_encoding(int seg, uint32_t *base, uint32_t *lim, uint32_t *acc) argument
134 *lim = VMCS_GUEST_ES_LIMIT;
139 *lim = VMCS_GUEST_CS_LIMIT;
144 *lim = VMCS_GUEST_SS_LIMIT;
149 *lim = VMCS_GUEST_DS_LIMIT;
154 *lim = VMCS_GUEST_FS_LIMIT;
159 *lim = VMCS_GUEST_GS_LIMIT;
164 *lim = VMCS_GUEST_TR_LIMIT;
169 *lim = VMCS_GUEST_LDTR_LIMIT;
174 *lim
[all...]
/freebsd-11-stable/sys/dev/netmap/
H A Dif_em_netmap.h124 u_int const lim = kring->nkr_num_slots - 1; local
172 nm_i = nm_next(nm_i, lim);
173 nic_i = nm_next(nic_i, lim);
197 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
217 u_int const lim = kring->nkr_num_slots - 1; local
225 if (head > lim)
249 nm_i = nm_next(nm_i, lim);
252 nic_i = nm_next(nic_i, lim);
287 nm_i = nm_next(nm_i, lim);
288 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);
199 u_int const lim = kring->nkr_num_slots - 1; local
207 if (head > lim)
231 nm_i = nm_next(nm_i, lim);
232 nic_i = nm_next(nic_i, lim);
267 nm_i = nm_next(nm_i, lim);
268 nic_i = nm_next(nic_i, lim);
[all...]
H A Dif_lem_netmap.h107 u_int const lim = kring->nkr_num_slots - 1; local
154 nm_i = nm_next(nm_i, lim);
155 nic_i = nm_next(nic_i, lim);
180 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
199 u_int const lim = kring->nkr_num_slots - 1; local
206 if (head > lim)
237 nm_i = nm_next(nm_i, lim);
238 nic_i = nm_next(nic_i, lim);
279 nm_i = nm_next(nm_i, lim);
280 nic_i = nm_next(nic_i, lim);
[all...]
H A Dif_ixl_netmap.h167 u_int const lim = kring->nkr_num_slots - 1; local
250 nm_i = nm_next(nm_i, lim);
251 nic_i = nm_next(nic_i, lim);
272 kring->nr_hwtail = nm_prev(netmap_idx_n2k(kring, nic_i), lim);
301 u_int const lim = kring->nkr_num_slots - 1; local
310 if (head > lim)
351 nm_i = nm_next(nm_i, lim);
352 nic_i = nm_next(nic_i, lim);
397 nm_i = nm_next(nm_i, lim);
398 nic_i = nm_next(nic_i, lim);
[all...]

Completed in 290 milliseconds

1234567