/freebsd-11-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-11-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-11-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-11-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-11-stable/lib/libc/stdlib/ |
H A D | bsearch.c | 50 * 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 D | tolower.c | 50 size_t lim; local 60 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 61 re = base + (lim >> 1); 66 lim--;
|
H A D | toupper.c | 50 size_t lim; local 60 for (lim = rr->__nranges; lim != 0; lim >>= 1) { 61 re = base + (lim >> 1); 68 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-11-stable/lib/libc/xdr/ |
H A D | xdr_float.c | 103 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 D | memset_s.c | 40 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 D | ip6opt.c | 44 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 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-11-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-11-stable/sys/fs/fdescfs/ |
H A D | fdesc_vfsops.c | 178 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 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-11-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-11-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-11-stable/contrib/expat/xmlwf/ |
H A D | codepage.c | 52 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 D | ixgbe_netmap.c | 194 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 D | vmcs.c | 128 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 D | if_em_netmap.h | 124 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 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); 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 D | if_lem_netmap.h | 107 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 D | if_ixl_netmap.h | 167 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...] |