Searched refs:limit (Results 1 - 25 of 447) sorted by relevance

1234567891011>>

/freebsd-10-stable/lib/libc/db/hash/
H A Dhash_log2.c47 u_int32_t i, limit; local
49 limit = 1;
50 for (i = 0; limit < num; limit = limit << 1, i++);
/freebsd-10-stable/lib/libc/gen/
H A Dulimit.c41 struct rlimit limit; local
46 if (getrlimit(RLIMIT_FSIZE, &limit) == -1)
48 limit.rlim_cur /= 512;
49 if (limit.rlim_cur > LONG_MAX)
51 return ((long)limit.rlim_cur);
60 limit.rlim_max = limit.rlim_cur = arg * 512;
63 if (setrlimit(RLIMIT_FSIZE, &limit) == -1)
/freebsd-10-stable/usr.sbin/bluetooth/btpand/
H A Dsdp.c52 * _sdp_match_uuid16(ptr, limit, uuid)
56 * limit is the first address past the end of valid data.
59 _sdp_match_uuid16(uint8_t **ptr, uint8_t *limit, uint16_t uuid) argument
67 if (!_sdp_get_uuid(&p, limit, &u2)
76 * _sdp_get_uuid(ptr, limit, uuid)
80 * limit is the first address past the end of valid data.
83 _sdp_get_uuid(uint8_t **ptr, uint8_t *limit, uuid_t *uuid) argument
87 if (p + 1 > limit)
92 if (p + 2 > limit)
101 if (p + 4 > limit)
133 _sdp_get_seq(uint8_t **ptr, uint8_t *limit, uint8_t **seq) argument
185 _sdp_get_uint16(uint8_t **ptr, uint8_t *limit, uint16_t *value) argument
[all...]
/freebsd-10-stable/contrib/xz/src/liblzma/common/
H A Dmemcmplen.h29 /// \param limit How many bytes to compare at most, including the
33 /// the specified limit from both buf1 and buf2.
36 /// This is always at least len and at most limit.
44 uint32_t len, uint32_t limit)
46 assert(len <= limit);
47 assert(limit <= UINT32_MAX / 2);
63 while (len < limit) {
74 return my_min(len, limit);
80 return limit;
96 while (len < limit) {
43 lzma_memcmplen(const uint8_t *buf1, const uint8_t *buf2, uint32_t len, uint32_t limit) argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DMemoryObject.cpp20 uint64_t limit = getBase() + getExtent(); local
22 if (current + size > limit)
/freebsd-10-stable/sys/gnu/dts/arm/
H A Domap3-gta04a3.dts32 st,click-click-time-limit = <9>;
41 st,min-limit-x = <32>;
42 st,min-limit-y = <3>;
43 st,min-limit-z = <3>;
44 st,max-limit-x = <3>;
45 st,max-limit-y = <32>;
46 st,max-limit-z = <32>;
/freebsd-10-stable/contrib/ncurses/ncurses/widechar/
H A Dlib_in_wchnstr.c54 int j, k, limit; local
57 limit = getmaxx(win) - col;
61 n = limit;
62 } else if (n > limit) {
63 n = limit;
/freebsd-10-stable/contrib/wpa/wpa_supplicant/
H A Dautoscan_exponential.c18 int limit; member in struct:autoscan_exponential_data
39 data->limit = atoi(pos);
60 "and limit is %d", data->base, data->limit);
84 if (data->interval >= data->limit)
85 return data->limit;
91 if (data->interval > data->limit)
92 return data->limit;
/freebsd-10-stable/contrib/gcc/config/i386/
H A Dptx4-i.h62 const unsigned char *limit = _ascii_bytes + (LENGTH); \
64 for (; _ascii_bytes < limit; _ascii_bytes++) \
72 for (p = _ascii_bytes; p < limit && *p != '\0'; p++) \
74 if (p < limit && (p - _ascii_bytes) <= (long) STRING_LIMIT) \
H A Di386elf.h70 const unsigned char *limit = _ascii_bytes + (LENGTH); \
72 for (; _ascii_bytes < limit; _ascii_bytes++) \
80 for (p = _ascii_bytes; p < limit && *p != '\0'; p++) \
82 if (p < limit && (p - _ascii_bytes) <= (long) STRING_LIMIT) \
H A Dsysv4.h57 const unsigned char *limit = _ascii_bytes + (LENGTH); \
59 for (; _ascii_bytes < limit; _ascii_bytes++) \
67 for (p = _ascii_bytes; p < limit && *p != '\0'; p++) \
69 if (p < limit && (p - _ascii_bytes) <= (long) STRING_LIMIT) \
H A Datt.h39 { size_t i = 0, limit = (SIZE); \
40 while (i < limit) \
/freebsd-10-stable/contrib/ncurses/ncurses/base/
H A Dlib_slkset.c56 int limit; local
73 limit = MAX_SKEY_LEN(SP->slk_format);
92 if (wcwidth(wc) + numcols > limit)
103 if (numcols > limit)
104 numcols = limit;
114 (unsigned) (limit +
125 offset = (limit - numcols) / 2;
128 offset = limit - numcols;
140 if (offset < limit) {
143 (unsigned) (limit
[all...]
H A Dlib_scroll.c55 int limit; local
83 limit = top - n;
84 for (line = bottom; line >= limit && line >= 0; line--) {
92 for (line = top; line < limit && line <= win->_maxy; line++) {
102 limit = bottom - n;
103 for (line = top; line <= limit && line <= win->_maxy; line++) {
110 for (line = bottom; line > limit && line >= 0; line--) {
/freebsd-10-stable/contrib/libarchive/test_utils/
H A Dtest_utils.c76 int get_test_set(int *test_set, int limit, const char *test, argument
84 for (;idx < limit; idx++)
86 return (limit);
101 end = limit - 1;
112 if (start < 0 || end >= limit || start > end)
117 for (start = 0; start < limit; ++start) {
/freebsd-10-stable/contrib/subversion/subversion/libsvn_delta/
H A Dcompose_delta.c49 /* 'offset' and 'limit' define the range in the source window. */
51 apr_size_t limit;
74 'offset' and 'limit' always refer to the "virtual" source data
80 /* 'offset' and 'limit' define the range. */
82 apr_size_t limit;
241 apr_size_t limit,
246 node->limit = limit;
404 clean_tree(range_index_t *ndx, apr_size_t limit)
406 apr_size_t top_offset = limit
50 apr_size_t limit; member in struct:range_index_node_t
81 apr_size_t limit; member in struct:range_list_node_t
236 alloc_range_index_node(range_index_t *ndx, apr_size_t offset, apr_size_t limit, apr_size_t target_offset) argument
401 clean_tree(range_index_t *ndx, apr_size_t limit) argument
435 insert_range(apr_size_t offset, apr_size_t limit, apr_size_t target_offset, range_index_t *ndx) argument
521 alloc_range_list(range_list_node_t **list, range_list_node_t **tail, range_index_t *ndx, enum range_kind kind, apr_size_t offset, apr_size_t limit, apr_size_t target_offset) argument
567 build_range_list(apr_size_t offset, apr_size_t limit, range_index_t *ndx) argument
638 copy_source_ops(apr_size_t offset, apr_size_t limit, apr_size_t target_offset, apr_size_t hint, svn_txdelta__ops_baton_t *build_baton, const svn_txdelta_window_t *window, const offset_index_t *ndx, apr_pool_t *pool) argument
801 const apr_size_t limit = op->offset + op->length; local
[all...]
/freebsd-10-stable/crypto/heimdal/appl/login/
H A Dlimits_conf.c44 struct limit { struct
49 struct rlimit limit; member in struct:limit
81 static struct limit *
84 struct limit *l;
106 struct limit *l;
154 syslog(LOG_ERR, "%s: line %d: unknown limit %s", file, lineno, args[2]);
176 /* XXX unclear: if you set group hard and user soft limit,
177 should the hard limit still apply? this code doesn't. */
191 if(getrlimit(l->resource, &l->limit) < 0)
199 l->limit
[all...]
/freebsd-10-stable/crypto/heimdal/appl/rsh/
H A Dlimits_conf.c44 struct limit { struct
49 struct rlimit limit; member in struct:limit
81 static struct limit *
84 struct limit *l;
106 struct limit *l;
154 syslog(LOG_ERR, "%s: line %d: unknown limit %s", file, lineno, args[2]);
176 /* XXX unclear: if you set group hard and user soft limit,
177 should the hard limit still apply? this code doesn't. */
191 if(getrlimit(l->resource, &l->limit) < 0)
199 l->limit
[all...]
/freebsd-10-stable/sys/ia64/ia64/
H A Dmem.c65 mem_phys2virt(vm_offset_t offset, int prot, void **ptr, u_long *limit) argument
81 *limit = (md->md_pages * EFI_PAGE_SIZE) - (offset - md->md_phys);
93 u_long limit; local
118 error = mem_phys2virt(ofs, rw, &ptr, &limit);
122 count = min(uio->uio_resid, limit);
133 limit = round_page(ofs + count);
137 for (; addr < limit; addr += PAGE_SIZE) {
159 u_long limit; local
171 error = mem_phys2virt(offset, prot, &ptr, &limit);
/freebsd-10-stable/contrib/ntp/lib/isc/include/isc/
H A Dhash.h41 * upper limit of the input length, and may run slow to calculate the
85 isc_hash_ctxcreate(isc_mem_t *mctx, isc_entropy_t *entropy, unsigned int limit,
88 isc_hash_create(isc_mem_t *mctx, isc_entropy_t *entropy, size_t limit);
101 * 'limit' specifies the maximum number of hash keys. If it is too large,
174 * 'keylen' specifies the key length, which must not be larger than the limit
/freebsd-10-stable/contrib/gcc/
H A Dscan.h24 char *limit; member in struct:sstring
27 #define INIT_SSTRING(STR) ((STR)->base = 0, (STR)->ptr = 0, (STR)->limit = 0)
30 if ((STR)->limit <= (STR)->ptr) make_sstring_space (STR, 1); \
34 if ((STR)->limit - (STR)->ptr < (COUNT)) make_sstring_space (STR, COUNT);
/freebsd-10-stable/contrib/ncurses/ncurses/trace/
H A Dtrace_xnames.c46 int limit = tp->ext_Booleans + tp->ext_Numbers + tp->ext_Strings; local
48 if (limit) {
54 limit,
57 for (n = 0; n < limit; n++) {
/freebsd-10-stable/tools/tools/mtxstat/
H A Dmtxstat.pl37 print(STDERR "usage: mtxstat [-gr] [-a|c|m|t] [-l limit]\n");
44 my $limit; # Output limit
72 $limit = $opts{'l'};
117 if ($limit) {
118 while (@list > $limit) {
/freebsd-10-stable/usr.bin/procstat/
H A Dprocstat_rlimit.c70 humanize_rlimit(int indx, rlim_t limit) argument
75 if (limit == RLIM_INFINITY)
78 scale = humanize_number(buf, sizeof(buf) - 1, (int64_t)limit,
80 (void)humanize_number(buf, sizeof(buf) - 1, (int64_t)limit,
/freebsd-10-stable/contrib/unbound/sldns/
H A Dparse.h53 * \param[in] *limit how much to read. If 0 the builtin maximum is used
56 ssize_t sldns_fget_token(FILE *f, char *token, const char *delim, size_t limit);
65 * \param[in] *limit how much to read. If 0 use builtin maximum
69 ssize_t sldns_fget_token_l(FILE *f, char *token, const char *delim, size_t limit, int *line_nr);
78 * \param[in] *limit how much to read. If 0 the builtin maximum is used
87 ssize_t sldns_bget_token_par(struct sldns_buffer *b, char *token, const char *delim, size_t limit, int* par, const char* skipw);
96 * \param[in] *limit how much to read. If 0 the builtin maximum is used
99 ssize_t sldns_bget_token(struct sldns_buffer *b, char *token, const char *delim, size_t limit);

Completed in 243 milliseconds

1234567891011>>