/freebsd-10.0-release/sys/dev/acpica/ |
H A D | acpi_timer.c | 399 int delta, max, max2, min, n; local 403 max = max2 = 0; 411 if (delta > max) { 412 max2 = max; 413 max = delta; 423 if ((max - min > 8 || delta > 3) && vm_guest == VM_GUEST_NO) 425 else if (min < 0 || max == 0 || max2 == 0)
|
/freebsd-10.0-release/contrib/byacc/ |
H A D | output.c | 241 int max, min; local 281 max = 0; 288 if (max < symbol_value[j]) 289 max = symbol_value[j]; 294 width[i] = (Value_t) (max - min + 1); 301 max = 0; 308 if (max < symbol_value[j]) 309 max = symbol_value[j]; 314 width[nstates + i] = (Value_t) (max - min + 1); 328 int max; local 898 int i, j, k, max; local [all...] |
/freebsd-10.0-release/sys/netpfil/ipfw/ |
H A D | dn_heap.c | 182 int child, father, max = h->elements - 1; local 184 if (max < 0) { 207 while ( (child = HEAP_LEFT(father)) <= max ) { 208 if (child != max && 216 if (father != max) { 221 h->p[father] = h->p[max]; 234 int temp, i, max = h->elements-1; 252 while ( (temp = HEAP_LEFT(i)) <= max ) { 254 if (temp != max && 362 int b_max; /* max bucket [all...] |
/freebsd-10.0-release/usr.bin/rs/ |
H A D | rs.c | 248 int max; local 290 max = 0; 292 if ((n = strlen(*ep++)) > max) 293 max = n; 294 colwidths[i] = max + gutter; 298 max = 0; 300 if ((n = strlen(ep[j])) > max) 301 max = n; 302 colwidths[i] = max + gutter;
|
/freebsd-10.0-release/bin/ed/ |
H A D | ed.h | 46 #define SE_MAX 30 /* max subexpressions in a regular expression */ 48 # define LINECHARS INT_MAX /* max chars per line */ 50 # define LINECHARS MAXINT /* max chars per line */ 84 #ifndef max 85 # define max(a,b) ((a) > (b) ? (a) : (b)) macro 122 if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \ 129 if ((ts = (char *) malloc(ti += max((i), MINBUFSZ))) == NULL) { \ 147 if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \
|
/freebsd-10.0-release/contrib/ofed/libmlx4/src/ |
H A D | srq.c | 136 srq->wrid = malloc(srq->max * sizeof (uint64_t)); 146 buf_size = srq->max << srq->wqe_shift; 161 for (i = 0; i < srq->max; ++i) { 163 next->next_wqe_index = htons((i + 1) & (srq->max - 1)); 172 srq->tail = srq->max - 1;
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | utf_width.c | 76 bisearch(apr_uint32_t ucs, const struct interval *table, apr_uint32_t max) argument 81 if (ucs < table[0].first || ucs > table[max].last) 83 while (max >= min) { 84 mid = (min + max) / 2; 88 max = mid - 1; /* this is safe because ucs >= table[0].first */ 259 /* RFC 3629 restricts UTF-8 to max 4 bytes per character. */
|
/freebsd-10.0-release/crypto/openssl/crypto/asn1/ |
H A D | a_set.c | 187 c.max=(length == 0)?0:(c.p+length); 189 c.inf=ASN1_get_object(&c.p,&c.slen,&c.tag,&c.xclass,c.max-c.p); 201 if ((c.slen+c.p) > c.max) 210 c.max=c.p+c.slen; 212 while (c.p < c.max) 218 if ((s=func(NULL,&c.p,c.slen,c.max-c.p)) == NULL) */
|
/freebsd-10.0-release/sys/netinet/ |
H A D | accf_http.c | 51 int max, char *cmp); 129 * stop at 'max' characters 132 mbufstrncmp(struct mbuf *m, struct mbuf *npkt, int offset, int max, char *cmp) argument 141 for (; offset < m->m_len; offset++, cmp++, max--) { 142 if (max == 0 || *cmp == '\0') 147 if (max == 0 || *cmp == '\0')
|
/freebsd-10.0-release/sys/teken/ |
H A D | teken_wcwidth.h | 19 static int bisearch(teken_char_t ucs, const struct interval *table, int max) { argument 23 if (ucs < table[0].first || ucs > table[max].last) 25 while (max >= min) { 26 mid = (min + max) / 2; 30 max = mid - 1;
|
/freebsd-10.0-release/contrib/ldns/ldns/ |
H A D | wire2host.h | 150 * \param[in] max the length of the data buffer (in bytes) 155 ldns_status ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, size_t *pos); 169 * \param[in] max the length of the data buffer (in bytes) 174 ldns_status ldns_wire2rdf(ldns_rr *rr, const uint8_t *wire, size_t max, size_t *pos); 185 * \param[in] max the length of the data buffer (in bytes) 191 ldns_status ldns_wire2rr(ldns_rr **rr, const uint8_t *wire, size_t max, size_t *pos, ldns_pkt_section section);
|
/freebsd-10.0-release/contrib/ofed/management/libibumad/include/infiniband/ |
H A D | umad.h | 154 int umad_get_cas_names(char cas[][UMAD_CA_NAME_LEN], int max); 155 int umad_get_ca_portguids(char *ca_name, uint64_t *portguids, int max); 162 int umad_get_issm_path(char *ca_name, int portnum, char path[], int max);
|
/freebsd-10.0-release/share/examples/perfmon/ |
H A D | perfmon.c | 167 getnum(const char *buf, int min, int max) argument 175 if (l < min || l > max) { 177 buf, min, max);
|
/freebsd-10.0-release/sys/netinet/cc/ |
H A D | cc_newreno.c | 103 * ACKed capping the max increment per ACK to 126 incr = max((incr * incr / cw), 1); 171 max(2 * CCV(ccv, t_maxseg), 4380)); 190 win = max(CCV(ccv, snd_cwnd) / 2 / CCV(ccv, t_maxseg), 2) *
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_delta/ |
H A D | xdelta.c | 120 apr_uint32_t max; 145 apr_uint32_t h = hash_func(adlersum) & blocks->max; 148 for (; blocks->slots[h].pos != NO_POSITION; h = (h + 1) & blocks->max) 166 apr_uint32_t h = hash_func(adlersum) & blocks->max; 168 for (; blocks->slots[h].pos != NO_POSITION; h = (h + 1) & blocks->max) 202 actually fits into blocks->max. It's safe to use a hard assert 210 blocks->max = nslots - 1; 331 /* See if we can extend backwards (max MATCH_BLOCKSIZE-1 steps because A's 119 apr_uint32_t max; member in struct:blocks
|
/freebsd-10.0-release/crypto/openssl/crypto/ |
H A D | x86cpuid.pl | 26 &mov ("edi","eax"); # max value for standard query level 278 # OPENSSL_indirect_call(func,[up to $max arguments]); 285 my ($max,$i)=(7,); # $max has to be chosen as 4*n-1 290 &sub ("esp",$max*4); 295 for($i=2;$i<$max;$i++)
|
/freebsd-10.0-release/contrib/gdb/gdb/ |
H A D | environ.c | 22 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 75 e->allocated = max (i, e->allocated + 10);
|
/freebsd-10.0-release/contrib/ipfilter/tools/ |
H A D | lexer.c | 153 static char *yytexttostr(offset, max) 154 int offset, max; 160 (yytext[offset] == yytext[offset + max - 1])) { 162 max--; 165 if (max > yylast) 166 max = yylast; 167 str = malloc(max + 1); 169 for (i = offset; i < max; i++)
|
/freebsd-10.0-release/contrib/libc++/src/ |
H A D | ios.cpp | 166 const size_t mx = std::numeric_limits<size_t>::max(); 168 newcap = _VSTD::max(2 * __iarray_cap_, req_size); 183 __iarray_size_ = max<size_t>(__iarray_size_, req_size); 194 const size_t mx = std::numeric_limits<size_t>::max(); 196 newcap = _VSTD::max(2 * __parray_cap_, req_size); 211 __parray_size_ = max<size_t>(__parray_size_, req_size); 224 const size_t mx = std::numeric_limits<size_t>::max(); 226 newcap = _VSTD::max(2 * __event_cap_, req_size);
|
/freebsd-10.0-release/contrib/libstdc++/include/ext/pb_ds/detail/binary_heap_/ |
H A D | resize_policy.hpp | 178 return std::max(static_cast<size_type>(min_size), half_size); 215 std::max(m_next_grow_size / factor, static_cast<size_type>(min_size));
|
/freebsd-10.0-release/contrib/llvm/lib/Support/ |
H A D | Statistic.cpp | 120 MaxValLen = std::max(MaxValLen, 122 MaxNameLen = std::max(MaxNameLen,
|
/freebsd-10.0-release/contrib/nvi/common/ |
H A D | util.h | 45 #define NPFITS(max, cur, add) \ 46 (((unsigned long)(max)) - (cur) >= (add)) 58 /* Macros for min/max. */
|
/freebsd-10.0-release/libexec/getty/ |
H A D | chat.c | 107 getdigit(unsigned char **ptr, int base, int max) argument 114 for (i = 0, q = *ptr; i++ < max; ++q) {
|
/freebsd-10.0-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | resource.c | 153 if (rdev->stats.qid.cur > rdev->stats.qid.max) 154 rdev->stats.qid.max = rdev->stats.qid.cur; 223 if (rdev->stats.qid.cur > rdev->stats.qid.max) 224 rdev->stats.qid.max = rdev->stats.qid.cur; 262 if (rdev->stats.pbl.cur > rdev->stats.pbl.max) 263 rdev->stats.pbl.max = rdev->stats.pbl.cur; 310 if (rdev->stats.rqt.cur > rdev->stats.rqt.max) 311 rdev->stats.rqt.max = rdev->stats.rqt.cur;
|
/freebsd-10.0-release/sys/dev/nxge/xgehal/ |
H A D | xgehal-config.c | 175 new_queue->max = new_queue->initial; 177 if ((new_queue->max < XGE_HAL_MIN_FIFO_QUEUE_LENGTH) || 178 (new_queue->max > XGE_HAL_MAX_FIFO_QUEUE_LENGTH)) { 182 if (new_queue->max < new_config->reserve_threshold) { 233 new_config->max = new_config->initial; 235 if ((new_config->max < XGE_HAL_MIN_RING_QUEUE_BLOCKS) || 236 (new_config->max > XGE_HAL_MAX_RING_QUEUE_BLOCKS)) { 411 total_fifo_length += new_config->queue[i].max;
|