/freebsd-10-stable/contrib/binutils/libiberty/ |
H A D | bsearch.c | 57 * 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 D | bsearch.c | 57 * 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 D | bsearch.c | 43 * 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 D | bsearch.c | 43 * 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 D | prime.cpp | 11 unsigned lim = unsigned(sqrt((double)n)); local 14 if (d > lim) 19 if (d > lim)
|
/freebsd-10-stable/lib/libc/locale/ |
H A D | tolower.c | 52 size_t lim; local 62 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 63 re = base + (lim >> 1); 68 lim--;
|
H A D | toupper.c | 52 size_t lim; local 62 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 63 re = base + (lim >> 1); 70 lim--;
|
H A D | runetype.c | 50 size_t lim; local 60 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 61 re = base + (lim >> 1); 69 lim--;
|
H A D | nextwctype.c | 43 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 D | physmem.c | 45 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 D | xdr_float.c | 111 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 D | ip6opt.c | 45 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 D | rtsock.c | 94 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 D | bt_search.c | 67 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 D | fdesc_vfsops.c | 188 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 D | exclude.c | 90 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 D | t_types.c | 120 rlim_t lim; local 126 lim = 0; 132 ATF_CHECK((lim - 1) > 0);
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/common/nvpair/ |
H A D | opensolaris_nvpair_alloc_fixed.c | 67 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 D | codepage.c | 25 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 D | if_lem_netmap.h | 95 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 D | ixgbe_netmap.h | 165 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 D | if_igb_netmap.h | 92 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 D | ixgbe_netmap.c | 159 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 D | ixv_netmap.c | 145 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 D | mandoc.c | 104 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...] |