/freebsd-10.0-release/crypto/openssl/crypto/buffer/ |
H A D | buffer.c | 79 ret->max=0; 91 memset(a->data,0,(unsigned int)a->max); 107 if (str->max >= len) 132 str->max=n; 150 if (str->max >= len) 166 ret=OPENSSL_realloc_clean(str->data,str->max,n); 175 str->max=n;
|
/freebsd-10.0-release/usr.bin/banner/ |
H A D | banner.c | 1024 static int debug, i, j, linen, max, nchars, pc, term, trace, x, y; variable 1132 max = 0; 1141 printf("pc=%d, term=%d, max=%d, linen=%d, x=%d\n",pc,term,max,linen,x); 1147 for (j=0; j <= max; j++) 1163 max = x+y; 1164 while (x < max) line[x++] = '#'; 1167 printf("x=%d, y=%d, max=%d\n",x,y,max);
|
/freebsd-10.0-release/contrib/binutils/gas/ |
H A D | messages.c | 449 offsetT max, 459 if (val >= min && val <= max) 461 addressT right = max & -max; 463 if (max <= 1) 479 && max < HEX_MAX_THRESHOLD 482 && max > HEX_MIN_THRESHOLD) 489 prefix, (int) val, (int) min, (int) max); 492 prefix, (int) val, (int) min, (int) max); 505 sprintf_vma (max_buf, max); 446 as_internal_value_out_of_range(char * prefix, offsetT val, offsetT min, offsetT max, char * file, unsigned line, int bad) argument 518 as_warn_value_out_of_range(char * prefix, offsetT value, offsetT min, offsetT max, char * file, unsigned line) argument 529 as_bad_value_out_of_range(char * prefix, offsetT value, offsetT min, offsetT max, char * file, unsigned line) argument [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | log.c | 41 int max; member in struct:facility 144 int max, 156 fp->max = max; 187 krb5_log_facility *facility, int min, int max, 207 return krb5_addlog_func(context, facility, min, max, 254 open_file(krb5_context context, krb5_log_facility *fac, int min, int max, argument 268 return krb5_addlog_func(context, fac, min, max, log_file, close_file, fd); 277 int min = 0, max = -1, n; local 281 n = sscanf(p, "%d%c%d/", &min, &c, &max); 141 krb5_addlog_func(krb5_context context, krb5_log_facility *fac, int min, int max, krb5_log_log_func_t log_func, krb5_log_close_func_t close_func, void *data) argument 186 open_syslog(krb5_context context, krb5_log_facility *facility, int min, int max, const char *sev, const char *fac) argument [all...] |
/freebsd-10.0-release/sys/dev/ixgbe/ |
H A D | ixgbe_dcb.c | 48 s32 ixgbe_dcb_calculate_tc_credits(u8 *bw, u16 *refill, u16 *max, argument 73 max[i] = bw[i] ? (bw[i]*IXGBE_DCB_MAX_CREDIT)/100 : min_credit; 128 * larger than the max frame size so here we find the smallest 130 * greater than the max frame size. 223 void ixgbe_dcb_unpack_max_cee(struct ixgbe_dcb_config *cfg, u16 *max) argument 229 max[tc] = tc_config[tc].desc_credits_max; 450 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS] = { 0 }; local 453 ixgbe_dcb_unpack_max_cee(dcb_config, max); 460 ret = ixgbe_dcb_config_rx_arbiter_82598(hw, refill, max, tsa); 465 ret = ixgbe_dcb_config_rx_arbiter_82599(hw, refill, max, bwgi 489 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS]; local 529 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS]; local 631 u16 max[IXGBE_DCB_MAX_TRAFFIC_CLASS]; local 692 ixgbe_dcb_hw_config(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa, u8 *map) argument [all...] |
H A D | ixgbe_dcb_82598.c | 119 u16 *max, u8 *tsa) 142 credit_max = max[i]; 174 u16 *refill, u16 *max, u8 *bwg_id, 193 max_credits = max[i]; 218 u16 *refill, u16 *max, u8 *bwg_id, 235 reg |= (u32)(max[i]) << IXGBE_TDPT2TCCR_MCL_SHIFT; 347 u16 *refill, u16 *max, u8 *bwg_id, 350 ixgbe_dcb_config_rx_arbiter_82598(hw, refill, max, tsa); 351 ixgbe_dcb_config_tx_desc_arbiter_82598(hw, refill, max, bwg_id, 353 ixgbe_dcb_config_tx_data_arbiter_82598(hw, refill, max, bwg_i 118 ixgbe_dcb_config_rx_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *tsa) argument 173 ixgbe_dcb_config_tx_desc_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument 217 ixgbe_dcb_config_tx_data_arbiter_82598(struct ixgbe_hw *hw, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument 346 ixgbe_dcb_hw_config_82598(struct ixgbe_hw *hw, int link_speed, u16 *refill, u16 *max, u8 *bwg_id, u8 *tsa) argument [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/asn1/ |
H A D | asn1_lib.c | 65 static int asn1_get_length(const unsigned char **pp,int *inf,long *rl,int max); 101 long max=omax; local 103 if (!max) goto err; 110 if (--max == 0) goto err; 116 if (--max == 0) goto err; 122 if (--max == 0) goto err; 128 if (--max == 0) goto err; 132 if (!asn1_get_length(&p,&inf,plength,(int)max)) goto err; 157 static int asn1_get_length(const unsigned char **pp, int *inf, long *rl, int max) argument 163 if (max [all...] |
/freebsd-10.0-release/sbin/dhclient/ |
H A D | parse.c | 235 * token specified in separator. If max is zero, any number of numbers 236 * will be parsed; otherwise, exactly max numbers are expected. Base 241 parse_numeric_aggregate(FILE *cfile, unsigned char *buf, int *max, argument 250 if (!bufp && *max) { 251 bufp = malloc(*max * size / 8); 261 if (!*max) 301 } while (++count != *max); 309 *max = count; 326 int negative = 0, tval, max; local 372 max [all...] |
/freebsd-10.0-release/sys/dev/syscons/daemon/ |
H A D | daemon_saver.c | 215 int min, max; local 245 * the picture is between min and max. 255 max = 10; 258 max = scp->xsize - DAEMON_MAX_WIDTH; 263 } else if (dxpos >= max) { 264 dxpos = max; 270 max = 10; 273 max = scp->ysize - DAEMON_MAX_HEIGHT; 278 } else if (dypos >= max) { 279 dypos = max; [all...] |
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | wpm.d | 94 @max = max(this->elapsed); 137 printa("Maximum keystroke latency : %@d ms\n\n", @max);
|
/freebsd-10.0-release/cddl/contrib/dtracetoolkit/Misc/ |
H A D | wpm.d | 94 @max = max(this->elapsed); 137 printa("Maximum keystroke latency : %@d ms\n\n", @max);
|
/freebsd-10.0-release/contrib/libreadline/examples/ |
H A D | rlptytest.c | 159 int max; local 161 max = (masterfd > STDIN_FILENO) ? masterfd : STDIN_FILENO; 162 max = (max > slavefd) ? max : slavefd; 174 if (select(max + 1, &rset, NULL, NULL, NULL) == -1)
|
/freebsd-10.0-release/libexec/talkd/ |
H A D | announce.c | 84 #define max(a,b) ( (a) > (b) ? (a) : (b) ) macro 115 max_size = max(max_size, sizes[i]); 123 max_size = max(max_size, sizes[i]); 131 max_size = max(max_size, sizes[i]); 136 max_size = max(max_size, sizes[i]); 140 max_size = max(max_size, sizes[i]);
|
/freebsd-10.0-release/crypto/openssh/ |
H A D | kexgex.c | 48 int min, int wantbits, int max, BIGNUM *prime, BIGNUM *gen, 71 if (min == -1 || max == -1) 76 buffer_put_int(&b, max); 41 kexgex_hash( const EVP_MD *evp_md, char *client_version_string, char *server_version_string, char *ckexinit, int ckexinitlen, char *skexinit, int skexinitlen, u_char *serverhostkeyblob, int sbloblen, int min, int wantbits, int max, BIGNUM *prime, BIGNUM *gen, BIGNUM *client_dh_pub, BIGNUM *server_dh_pub, BIGNUM *shared_secret, u_char **hash, u_int *hashlen) argument
|
/freebsd-10.0-release/tools/regression/security/cap_test/ |
H A D | cap_test.h | 111 /* Ensure that 'rights' are a subset of 'max'. */ 112 #define CHECK_RIGHTS(rights, max) do { \ 113 if ((success == PASSED) && (rights != max)) \ 115 (cap_rights_t) rights, (cap_rights_t) max); \
|
/freebsd-10.0-release/tools/regression/ufs/uprintf/ |
H A D | ufs_uprintf.c | 132 int fd, i, max; local 146 max = i; 167 for (i = 0; i < max; i++) {
|
/freebsd-10.0-release/lib/libkse/test/ |
H A D | guard_b.c | 49 int max; /* Maximum recursion depth. */ member in struct:args 80 if (parms->cur < parms->max) 131 args.max = (stacksize / FRAME_SIZE) - 1; 142 args.max = (stacksize / FRAME_SIZE) + 1;
|
/freebsd-10.0-release/lib/libufs/ |
H A D | inode.c | 52 ino_t min, max; local 63 max = disk->d_inomax; 73 if (inode >= min && inode < max) 78 disk->d_inomax = max = min + INOPB(fs);
|
/freebsd-10.0-release/sys/compat/linux/ |
H A D | stats_timing.d | 60 @longest[probeprov, probefunc] = max(this->timediff); 76 @longlock[probefunc] = max(this->timediff);
|
/freebsd-10.0-release/usr.bin/bc/ |
H A D | scan.l | 52 #define YY_INPUT(buf,retval,max) \ 53 (retval = bc_yyinput(buf, max))
|
/freebsd-10.0-release/contrib/ncurses/ncurses/base/ |
H A D | lib_color.c | 293 short min, max, t; local 297 if ((max = g > r ? g : r) < b) 298 max = b; 301 *l = (min + max) / 20; 303 if (min == max) { /* black, white and all shades of gray */ 311 *s = ((max - min) * 100) / (max + min); 313 *s = ((max - min) * 100) / (2000 - max - min); 316 if (r == max) [all...] |
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | alloc.c | 50 obj = find_next_zero_bit(bitmap->table, bitmap->max, bitmap->last); 51 if (obj >= bitmap->max) { 52 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) 54 obj = find_first_zero_bit(bitmap->table, bitmap->max); 57 if (obj < bitmap->max) { 60 if (bitmap->last == bitmap->max) 120 bitmap->max, cnt, align, skip_mask); 121 if (obj >= bitmap->max) { 122 bitmap->top = (bitmap->top + bitmap->max + bitmap->reserved_top) 124 obj = find_aligned_range(bitmap->table, 0, bitmap->max, [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_addr.c | 80 ASN1_SIMPLE(IPAddressRange, max, ASN1_BIT_STRING) 233 if (!i2r_address(out, afi, 0xFF, aor->u.addressRange->max)) 390 const unsigned char *max, 396 OPENSSL_assert(memcmp(min, max, length) <= 0); 397 for (i = 0; i < length && min[i] == max[i]; i++) 399 for (j = length - 1; j >= 0 && min[j] == 0x00 && max[j] == 0xFF; j--) 405 mask = min[i] ^ max[i]; 416 if ((min[i] & mask) != 0 || (max[i] & mask) != mask) 462 unsigned char *max, 468 if ((prefixlen = range_should_be_prefix(min, max, lengt [all...] |
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 118 int logsize, max; local 123 * Put max in a temporary variable to work around gcc bug 126 max = srq->max; 127 logsize = ilog2(max); 142 mthca_buf_free(dev, srq->max << srq->wqe_shift, &srq->queue, 158 srq->wrid = kmalloc(srq->max * sizeof (u64), GFP_KERNEL); 162 err = mthca_buf_alloc(dev, srq->max << srq->wqe_shift, 175 for (i = 0; i < srq->max; ++i) { 180 if (i < srq->max [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.multiaggs3.d | 53 @e = max(i);
|