/freebsd-current/contrib/dialog/ |
H A D | editbox.c | 183 int limit = getmaxy(win); local 187 if (lastrow - firstrow >= limit) 188 lastrow = firstrow + limit;
|
/freebsd-current/contrib/libedit/ |
H A D | common.c | 84 el->el_line.limit) { 152 "\nD(b: %p(%ls) c: %p(%ls) last: %p(%ls) limit: %p(%ls)\n", 154 EL.lastchar, EL.limit, EL.limit);
|
H A D | hist.c | 135 blen = (size_t)(el->el_line.limit - el->el_line.buffer);
|
H A D | vi.c | 535 el->el_line.limit = un.buf + (el->el_line.limit - el->el_line.buffer); 1054 len = (size_t)(el->el_line.limit - el->el_line.buffer); 1121 lim = el->el_line.limit;
|
/freebsd-current/contrib/lua/src/ |
H A D | lvm.c | 48 /* limit for table tag-method chains (to avoid infinite loops) */ 73 /* limit for integers that fit in a float */ 165 ** Try to convert a 'for' limit to an integer, preserving the semantics 167 ** gets the integer limit. 170 ** If the limit is an integer or can be converted to an integer, 171 ** rounding down, that is the limit. 172 ** Otherwise, check whether the limit can be converted to a float. If 175 ** integer value is greater than such limit; so, the function returns 176 ** true to signal that. (For this latter case, no integer limit would be 177 ** correct; even a limit o 217 lua_Integer limit; local 241 lua_Number init; lua_Number limit; lua_Number step; local 272 lua_Number limit = fltvalue(s2v(ra + 1)); local [all...] |
H A D | ldblib.c | 450 int limit = (int)luaL_checkinteger(L, 1); local 451 int res = lua_setcstacklimit(L, limit);
|
/freebsd-current/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_mbox.c | 213 int limit = 1000; local 219 while ((mbox_read_4(sc, REG_STATUS) & STATUS_FULL) && --limit) 221 if (limit == 0) {
|
/freebsd-current/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 798 uintptr_t limit; local 876 limit = USD_GETLIMIT(desc) * (desc->sd_gran ? PAGESIZE : 1); 885 if (*addr > limit) 895 * If the expand-down bit is clear, we just check the limit as 897 * that the address is the range [limit + 1 .. 0xffff] or 898 * [limit + 1 ... 0xffffffff] depending on if the default 902 if (*addr > limit) 905 if (*addr < limit + 1 || 0xffff < *addr) 908 if (*addr < limit + 1 || 0xffffffff < *addr)
|
/freebsd-current/contrib/ncurses/progs/ |
H A D | infocmp.c | 131 int limit = NAMESIZE; local 133 while (--limit > 0) { 456 * macro is used for limit-checks against the symbols that tic uses to omit 460 #define check_user_definable(n,limit) if (!_nc_user_definable && (n) > (limit)) break 462 #define check_user_definable(n,limit) if ((n) > (limit)) break
|
/freebsd-current/crypto/heimdal/appl/login/ |
H A D | login.c | 419 if(limit(C_PROC, 0, L_CPU, t) < 0) 420 warn("limit C_PROC"); 428 if(limit(C_JOBPROCS, 0, L_CPU, t) < 0) 429 warn("limit C_JOBPROCS");
|
/freebsd-current/sys/contrib/openzfs/cmd/zfs/ |
H A D | zfs_iter.c | 139 * recurse into filesystems when we are at our depth limit. 434 zfs_sort_column_t *sortcol, zprop_list_t **proplist, int limit, 452 cb.cb_depth_limit = limit; 433 zfs_for_each(int argc, char **argv, int flags, zfs_type_t types, zfs_sort_column_t *sortcol, zprop_list_t **proplist, int limit, zfs_iter_f callback, void *data) argument
|
/freebsd-current/crypto/openssl/crypto/stack/ |
H A D | stack.c | 151 * The limit to avoid overflow is spot on. The modulo three correction term 152 * ensures that the limit is the largest number than can be expanded by the 153 * growth factor without exceeding the hard limit. 159 const int limit = (max_nodes / 3) * 2 + (max_nodes % 3 ? 1 : 0); local 162 /* Check to see if we're at the hard limit */ 167 current = current < limit ? current + current / 2 : max_nodes; 178 /* Check to see the reservation isn't exceeding the hard limit */
|
/freebsd-current/sys/netpfil/pf/ |
H A D | pf_syncookies.c | 132 V_pf_limits[PF_LIMIT_STATES].limit / 100; 134 V_pf_limits[PF_LIMIT_STATES].limit / 100;
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cpp | 116 void SetStackSizeLimitInBytes(uptr limit) { argument 117 setlim(RLIMIT_STACK, (rlim_t)limit);
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Disassembler.h | 442 Limit limit, bool mixed_source_and_assembly, 459 size_t ParseInstructions(Target &target, Address address, Limit limit,
|
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_scan.c | 161 int limit = length - 1; local 163 while (limit-- > 0) {
|
/freebsd-current/sys/dev/sound/pcm/ |
H A D | channel.c | 1919 int sblksz, sblkcnt, hblksz, hblkcnt, limit = 0, nsblksz, nsblkcnt; local 1983 limit = (pb != NULL) ? 1986 limit = (pb != NULL) ? 2042 limit = 0; 2044 limit = sndbuf_xbytes(sndbuf_getblksz(b), b, bs) * 2; 2047 if (limit > CHN_2NDBUFMAXSIZE) 2048 limit = CHN_2NDBUFMAXSIZE; 2051 while (limit > 0 && (sblksz * sblkcnt) > limit) { 2058 while ((sblksz * sblkcnt) < limit) [all...] |
/freebsd-current/sbin/pfctl/ |
H A D | pfctl.c | 1682 unsigned int limit; local 1688 if (pfctl_get_limit(pfh, pf_limits[i].index, &limit)) 1691 if (limit == UINT_MAX) 1694 printf("hard limit %8u\n", limit); 2342 pf->limit[PF_LIMIT_STATES] = PFSTATE_HIWAT; 2343 pf->limit[PF_LIMIT_FRAGS] = PFFRAG_FRENT_HIWAT; 2344 pf->limit[PF_LIMIT_SRC_NODES] = PFSNODE_HIWAT; 2345 pf->limit[PF_LIMIT_TABLE_ENTRIES] = PFR_KENTRY_HIWAT; 2367 if (pfctl_load_limit(pf, i, pf->limit[ 2426 pfctl_apply_limit(struct pfctl *pf, const char *opt, unsigned int limit) argument 2450 pfctl_load_limit(struct pfctl *pf, unsigned int index, unsigned int limit) argument [all...] |
/freebsd-current/contrib/libedit/TEST/ |
H A D | test_filecompletion.c | 538 line.limit = line.buffer + 64 * sizeof(*buffer);
|
/freebsd-current/sys/dev/mthca/ |
H A D | mthca_cmd.h | 307 int mthca_ARM_SRQ(struct mthca_dev *dev, int srq_num, int limit);
|
/freebsd-current/sys/contrib/ck/src/ |
H A D | ck_ht.c | 290 CK_HT_TYPE limit; local 293 limit = ck_ht_map_bound_get(map, h); 295 limit = CK_HT_TYPE_MAX; 311 if (probes++ > limit) 728 * We have hit the probe limit, the map needs to be even
|
/freebsd-current/sys/contrib/xen/ |
H A D | vm_event.h | 177 /* The limit field is right-shifted by 12 bits if .ar.g is set. */ 179 uint32_t limit : 20; member in struct:vm_event_x86_selector_reg
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | bufferevent-internal.h | 142 struct ev_token_bucket limit; member in struct:bufferevent_rate_limit 143 /* Pointer to the rate-limit configuration for this bufferevent.
|
/freebsd-current/sys/cddl/dev/dtrace/powerpc/ |
H A D | dtrace_subr.c | 119 dtrace_toxic_ranges(void (*func)(uintptr_t base, uintptr_t limit)) argument
|
/freebsd-current/sys/cddl/dev/dtrace/riscv/ |
H A D | dtrace_subr.c | 124 dtrace_toxic_ranges(void (*func)(uintptr_t base, uintptr_t limit)) argument
|