/freebsd-10.0-release/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.0-release/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.0-release/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.0-release/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 register size_t lim; local [all...] |
/freebsd-10.0-release/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.0-release/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.0-release/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 193 vm_paddr_t base, lim, pa; local [all...] |
/freebsd-10.0-release/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.0-release/lib/libc/net/ |
H A D | ip6opt.c | 45 static int ip6optlen(u_int8_t *opt, u_int8_t *lim); 234 u_int8_t *lim; local 254 lim = (u_int8_t *)ip6e + hdrlen; 258 if ((optlen = ip6optlen(*tptrp, lim)) == 0) 263 if (*tptrp >= lim) { /* there is no option */ 271 if (ip6optlen(*tptrp, lim) == 0) 290 u_int8_t *optp, *lim; local 310 lim = (u_int8_t *)ip6e + hdrlen; 314 if ((optlen = ip6optlen(*tptrp, lim)) == 0) 319 for (optp = *tptrp; optp < lim; opt 339 ip6optlen(u_int8_t *opt, u_int8_t *lim) argument 498 u_int8_t *optp, *lim; local 547 u_int8_t *optp, *lim; local [all...] |
/freebsd-10.0-release/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.0-release/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.0-release/sys/fs/fdescfs/ |
H A D | fdesc_vfsops.c | 183 int lim; local 198 lim = lim_cur(td->td_proc, RLIMIT_NOFILE); 203 if (lim > limit) 204 lim = limit; 205 last = min(fdp->fd_nfiles, lim); 215 if (fdp->fd_nfiles < lim) 216 freefd += (lim - fdp->fd_nfiles); 225 sbp->f_files = lim + 1; /* Allow for "." */
|
/freebsd-10.0-release/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.0-release/contrib/expat/xmlwf/ |
H A D | codepage.c | 24 int j, lim; local 27 lim = info.LeadByte[i + 1]; 28 for (j = info.LeadByte[i]; j <= lim; j++)
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/common/nvpair/ |
H A D | 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.0-release/sys/dev/netmap/ |
H A D | if_igb_netmap.h | 124 u_int j, k, l, n = 0, lim = kring->nkr_num_slots - 1; local 130 if (k > lim) 189 j = (j == lim) ? 0 : j + 1; 190 l = (l == lim) ? 0 : l + 1; 243 u_int j, l, n, lim = kring->nkr_num_slots - 1; local 248 if (k > lim) 277 j = (j == lim) ? 0 : j + 1; 278 l = (l == lim) ? 0 : l + 1; 290 if (resvd + ring->avail >= lim + 1) { 294 k = (k >= resvd) ? k - resvd : k + lim [all...] |
H A D | if_lem_netmap.h | 131 u_int j, k, l, n = 0, lim = kring->nkr_num_slots - 1; local 138 if (k > lim) 185 j = (j == lim) ? 0 : j + 1; 186 l = (l == lim) ? 0 : l + 1; 234 int j, l, n, lim = kring->nkr_num_slots - 1; local 238 if (k > lim) 274 j = (j == lim) ? 0 : j + 1; 275 l = (l == lim) ? 0 : l + 1; 287 if (resvd + ring->avail >= lim + 1) { 291 k = (k >= resvd) ? k - resvd : k + lim [all...] |
H A D | if_re_netmap.h | 121 int j, k, l, n, lim = kring->nkr_num_slots - 1; local 124 if (k > lim) 173 if (l == lim) /* mark end of ring */ 188 j = (j == lim) ? 0 : j + 1; 189 l = (l == lim) ? 0 : l + 1; 220 int j, l, n, lim = kring->nkr_num_slots - 1; local 225 if (k > lim) 242 * is to limit the amount of data reported up to 'lim' 249 for (n = kring->nr_hwavail; n < lim ; n++) { 264 j = (j == lim) [all...] |
H A D | ixgbe_netmap.h | 229 u_int const k = ring->cur, lim = kring->nkr_num_slots - 1; local 238 if (k > lim) 292 j = (j == lim) ? 0 : j + 1; 293 l = (l == lim) ? 0 : l + 1; 402 l = (l == lim) ? 0 : l + 1; 418 if (kring->nr_hwavail > lim) 455 u_int j, l, n, lim = kring->nkr_num_slots - 1; local 459 if (k > lim) 500 j = (j == lim) ? 0 : j + 1; 501 l = (l == lim) [all...] |
H A D | if_em_netmap.h | 170 u_int j, k, l, n = 0, lim = kring->nkr_num_slots - 1; local 176 if (k > lim) 222 j = (j == lim) ? 0 : j + 1; 223 l = (l == lim) ? 0 : l + 1; 272 u_int j, l, n, lim = kring->nkr_num_slots - 1; local 277 if (k > lim) 306 j = (j == lim) ? 0 : j + 1; 309 l = (l == lim) ? 0 : l + 1; 321 if (resvd + ring->avail >= lim + 1) { 325 k = (k >= resvd) ? k - resvd : k + lim [all...] |
/freebsd-10.0-release/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...] |
/freebsd-10.0-release/sys/amd64/vmm/intel/ |
H A D | vmcs.c | 115 vmcs_seg_desc_encoding(int seg, uint32_t *base, uint32_t *lim, uint32_t *acc) argument 121 *lim = VMCS_GUEST_ES_LIMIT; 126 *lim = VMCS_GUEST_CS_LIMIT; 131 *lim = VMCS_GUEST_SS_LIMIT; 136 *lim = VMCS_GUEST_DS_LIMIT; 141 *lim = VMCS_GUEST_FS_LIMIT; 146 *lim = VMCS_GUEST_GS_LIMIT; 151 *lim = VMCS_GUEST_TR_LIMIT; 156 *lim = VMCS_GUEST_LDTR_LIMIT; 161 *lim [all...] |