| /openbsd-src/regress/lib/libcrypto/x509/rfc3779/ |
| H A D | rfc3779.c | 68 const uint8_t max[RAW_ADDRESS_SIZE]; member 83 .max = { 97 .max = { 114 .max = { 130 .max = { 152 .max = { 172 .max = { 187 .max = { 201 .max = { 215 .max = { [all …]
|
| /openbsd-src/sys/dev/pci/drm/i915/display/ |
| H A D | intel_dpll.c | 32 int min, max; member 41 .dot = { .min = 25000, .max = 350000 }, 42 .vco = { .min = 908000, .max = 1512000 }, 43 .n = { .min = 2, .max = 16 }, 44 .m = { .min = 96, .max = 140 }, 45 .m1 = { .min = 18, .max = 26 }, 46 .m2 = { .min = 6, .max = 16 }, 47 .p = { .min = 4, .max = 128 }, 48 .p1 = { .min = 2, .max = 33 }, 54 .dot = { .min = 25000, .max = 350000 }, [all …]
|
| /openbsd-src/regress/sys/kern/sosplice/ |
| H A D | funcs.pl | 165 my $max = $self->{max}; 204 $max && $max < $size ? $max : $size); 214 if ($max && $len + $read > $max) { 215 $read = $max - $len; 238 if ($max && $len == $max) { 251 my $max = $self->{max}; 276 if ($max && $len + $read > $max) { 296 if ($max && $len == $max) { 322 my $max = $self->{max}; 330 my $splicemax = $max ? $max - $len : 0; [all …]
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | tree-vrp.c | 302 tree max, bitmap equiv) in set_value_range() argument 310 gcc_assert (min && max); in set_value_range() 313 gcc_assert (!vrp_val_is_min (min) || !vrp_val_is_max (max)); in set_value_range() 315 cmp = compare_values (min, max); in set_value_range() 320 || !is_overflow_infinity (max)); in set_value_range() 324 gcc_assert (min == NULL_TREE && max == NULL_TREE); in set_value_range() 332 vr->max = max; in set_value_range() 354 set_value_range (to, from->type, from->min, from->max, from->equiv); in copy_value_range() 364 vr->min = vr->max = NULL_TREE; in set_value_range_to_varying() 433 vr->min = vr->max = NULL_TREE; in set_value_range_to_undefined() [all …]
|
| /openbsd-src/usr.sbin/rpki-client/ |
| H A D | ip.c | 80 const unsigned char *min, const unsigned char *max, in ip_addr_check_covered() argument 91 memcmp(ips[i].max, max, sz) >= 0) in ip_addr_check_covered() 151 if (memcmp(ips[i].max, ip->min, sz) <= 0 || in ip_addr_check_overlap() 152 memcmp(ips[i].min, ip->max, sz) >= 0) in ip_addr_check_overlap() 254 char min[INET6_ADDRSTRLEN], max[INET6_ADDRSTRLEN]; in ip_addr_range_print() local 278 if (inet_ntop(af, ip.max, max, sizeof(max)) == NULL) in ip_addr_range_print() 281 ret = snprintf(buf, bufsz, "%s--%s", min, max); in ip_addr_range_print() [all...] |
| H A D | constraints.c | 133 constraints_split_range(char *p, const char **min, const char **max) in constraints_split_range() argument 138 if ((*max = pp = strchr(p, '-')) == NULL) in constraints_split_range() 147 (*max)++; in constraints_split_range() 148 while (isspace((unsigned char)**max)) in constraints_split_range() 149 (*max)++; in constraints_split_range() 182 constraints_parse_ip_range(const char *fn, const char *min, const char *max, in constraints_parse_ip_range() argument 190 if (inet_pton(af, max, max_addr) != 1) in constraints_parse_ip_range() 191 errx(1, "%s: failed to parse %s", fn, max); in constraints_parse_ip_range() 194 errx(1, "%s: failed to add range %s--%s", fn, min, max); in constraints_parse_ip_range() 201 min, max); in constraints_parse_ip_range() 207 const char *min, *max; constraints_parse_ip() local 245 constraints_parse_asn_range(const char * fn,const char * min,const char * max,ASIdentifiers * asids) constraints_parse_asn_range() argument 269 const char *min, *max; constraints_parse_as() local 517 uint32_t min, max; constraints_check_as() local [all...] |
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | genattr.c | 35 int max; member 60 extend_range (range, min, max) in extend_range() argument 63 int max; 66 if (range->max < max) range->max = max; 74 range->max = -1; 162 printf ("#define MAX_MULTIPLICITY %d\n", multiplicity->max); 164 printf ("#define MAX_SIMULTANEITY %d\n", simultaneity->max); 166 printf ("#define MAX_READY_COST %d\n", ready_cost->max); 168 printf ("#define MAX_ISSUE_DELAY %d\n", issue_delay->max); 170 printf ("#define MAX_BLOCKAGE %d\n", blockage->max); [all …]
|
| /openbsd-src/usr.bin/mklocale/ |
| H A D | yacc.y | 174 $$->max = ($1 & charsetmask) | charsetbits; 182 $$->max = ($3 & charsetmask) | charsetbits; 190 $$->max = ($2 & charsetmask) | charsetbits; 198 $$->max = ($4 & charsetmask) | charsetbits; 208 $$->max = ($2 & charsetmask) | charsetbits; 216 $$->max = ($3 & charsetmask) | charsetbits; 224 $$->max = ($4 & charsetmask) | charsetbits; 232 $$->max = ($5 & charsetmask) | charsetbits; 363 while (list->min < _CACHED_RUNES && list->min <= list->max) { in add_map() 370 if (list->min > list->max) { in add_map() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/ |
| H A D | max.t | 7 use List::Util qw(max); 11 ok(defined &max, 'defined'); 13 $v = max(1); 16 $v = max (1,2); 19 $v = max(2,1); 24 $v = max(@a); 31 $v = max($one,$two,$thr); 34 $v = max($thr,$two,$one); 57 $v = max($v1,$v2,$v1,$v3,$v1); 60 $v = max($v1, 1, 2, 3); [all …]
|
| H A D | product.t | 114 my $max = (1<<31)-1; 118 $t = product($min, $max); 120 $t = product($max, $min); 123 $t = product($max, $max); 128 $t = product($min*8, $max); 130 $t = product($max, $min*8); 132 $t = product($max, $max*8);
|
| /openbsd-src/regress/usr.sbin/bgpd/integrationtests/ |
| H A D | bgpd.maxcomm.rdomain1.conf | 15 match from any max-communities 0 set metric +1 16 match from any max-ext-communities 0 set metric +10 17 match from any max-large-communities 0 set metric +100 19 match from any max-communities 2 set metric +2 20 match from any max-ext-communities 2 set metric +20 21 match from any max-large-communities 2 set metric +200 23 match from any max-communities 1 max-ext-communities 1 max-large-communities 1 \
|
| /openbsd-src/regress/lib/libc/asr/bin/ |
| H A D | res_mkquery.c | 110 print_header(struct header *h, char *buf, size_t max) in print_header() argument 112 snprintf(buf, max, in print_header() 195 print_rr(struct rr *rr, char *buf, size_t max) in print_rr() argument 204 r = snprintf(buf, max, "%s %u %s %s ", in print_rr() 214 if ((size_t)r >= max) in print_rr() 217 max -= r; in print_rr() 222 print_dname(rr->rr.cname.cname, buf, max); in print_rr() 225 snprintf(buf, max, "%"PRIu32" %s", in print_rr() 230 print_dname(rr->rr.ns.nsname, buf, max); in print_rr() 233 print_dname(rr->rr.ptr.ptrname, buf, max); in print_rr() [all …]
|
| H A D | res_query.c | 146 print_header(struct header *h, char *buf, size_t max) in print_header() argument 148 snprintf(buf, max, in print_header() 231 print_rr(struct rr *rr, char *buf, size_t max) in print_rr() argument 240 r = snprintf(buf, max, "%s %u %s %s ", in print_rr() 250 if ((size_t)r >= max) in print_rr() 253 max -= r; in print_rr() 258 print_dname(rr->rr.cname.cname, buf, max); in print_rr() 261 snprintf(buf, max, "%"PRIu32" %s", in print_rr() 266 print_dname(rr->rr.ns.nsname, buf, max); in print_rr() 269 print_dname(rr->rr.ptr.ptrname, buf, max); in print_rr() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | rand.t | 69 my $max = $mean + $sigma6; 71 note("reps=$reps; slots=$nslots; min=$min mean=$mean max=$max"); 95 ok($slots[$i] >= $min && $slots[$i] <= $max, "checking slot $i") 96 or diag("slot $i; count $slots[$i] outside expected range $min..$max"); 103 my($max, $min); 104 $max = $min = rand(100); 107 $max = $n if $n > $max; 116 cmp_ok($max, '<', 100, "rand(100) < 100"); 117 cmp_ok($max - $min, '>=', 65, "rand(100) in 65 range");
|
| /openbsd-src/gnu/usr.bin/perl/t/porting/ |
| H A D | readme.t | 64 my $max = 0; 67 $max = $l if $l > $max; 69 $max = 36 if $max > 36; 70 note(sprintf " N %-${max}s %-${max}s\n", "Correct", "Current"); 73 my $line = sprintf "%2d %1s %-${max}s %-${max}s\n",
|
| /openbsd-src/lib/libc/gen/ |
| H A D | getbsize.c | 40 long n, max, mul, blocksize; in getbsize() local 58 max = MAXB / GB; in getbsize() 63 max = MAXB / KB; in getbsize() 68 max = MAXB / MB; in getbsize() 72 max = MAXB; in getbsize() 78 max = MAXB; in getbsize() 82 if (n > max) { in getbsize() 84 n = max; in getbsize()
|
| /openbsd-src/regress/sbin/pfctl/ |
| H A D | pf68.ok | 20 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 21 match in on lo0 proto tcp all scrub (max-mss 224) 22 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 24 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 26 match on lo0 proto tcp all scrub (max-mss 224) 30 match out log on lo1000000 inet proto tcp from any to 10.0.0.1 scrub (no-df max-mss 224) 44 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) 45 match in on lo0 proto tcp from any port = 81 to any scrub (no-df min-ttl 15 max-mss 224) 46 match in on lo0 proto tcp from any to any port = 80 scrub (max-mss 224) 47 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) [all …]
|
| H A D | pf89.in | 12 keep state (max-src-conn 10, max-src-conn-rate 3/99) 15 (max-src-conn 10) 18 (max-src-conn-rate 3/99) 21 (max-src-conn 100, max-src-conn-rate 10/5, overload <bad> flush) 24 (max-src-conn 1000, max-src-conn-rate 1000/5, overload <bad> \
|
| H A D | pf68.in | 14 match in on lo0 proto tcp from any to any scrub(max-mss 224 min-ttl 15 no-df) 15 match in on lo0 proto tcp from any to any scrub(max-mss 224) 16 match in on lo0 proto tcp from any to any scrub(min-ttl 15 no-df max-mss 224) 18 match in on lo0 proto tcp from any to any scrub(no-df max-mss 224 min-ttl 15) 20 match on lo0 proto tcp from any to any scrub(max-mss 224) 23 match out log on lo1000000 proto tcp from any to 10.0.0.1 scrub(no-df max-mss 224) 32 match in on lo0 proto tcp from any port {80, 81} to any scrub(max-mss 224 min-ttl 15 no-df) 33 match in on lo0 proto tcp from any to any port 80 scrub (max-mss 224) 34 match in on lo0 proto tcp from any port 80 to any scrub (max-mss 224 min-ttl 15 no-df) 35 match in on lo0 proto tcp from any port 80 to any scrub(min-ttl 15 no-df max-mss 224) [all …]
|
| /openbsd-src/sys/lib/libz/ |
| H A D | inftrees.c | 35 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() local 107 for (max = MAXBITS; max >= 1; max--) in inflate_table() 108 if (count[max] != 0) break; in inflate_table() 109 if (root > max) root = max; in inflate_table() 110 if (max == 0) { /* no symbols to code at all */ in inflate_table() 119 for (min = 1; min < max; min++) in inflate_table() 130 if (left > 0 && (type == CODES || max != 1)) in inflate_table() 246 if (len == max) break; in inflate_table() 262 while (curr + drop < max) { in inflate_table()
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/ |
| H A D | inftrees.c | 37 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() 109 for (max = MAXBITS; max >= 1; max--) in inflate_table() 110 if (count[max] != 0) break; in inflate_table() 111 if (root > max) root = max; in inflate_table() 112 if (max == 0) { /* no symbols to code at all */ in inflate_table() 121 for (min = 1; min < max; min++) in inflate_table() 132 if (left > 0 && (type == CODES || max ! in inflate_table() 42 unsigned min, max; /* minimum and maximum code lengths */ inflate_table() local [all...] |
| /openbsd-src/lib/libz/ |
| H A D | inftrees.c | 35 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() local 107 for (max = MAXBITS; max >= 1; max--) in inflate_table() 108 if (count[max] != 0) break; in inflate_table() 109 if (root > max) root = max; in inflate_table() 110 if (max == 0) { /* no symbols to code at all */ in inflate_table() 119 for (min = 1; min < max; min++) in inflate_table() 130 if (left > 0 && (type == CODES || max != 1)) in inflate_table() 246 if (len == max) break; in inflate_table() 262 while (curr + drop < max) { in inflate_table()
|
| /openbsd-src/lib/libc/asr/ |
| H A D | asr_debug.c | 56 print_dname(const char *_dname, char *buf, size_t max) in print_dname() argument 58 return (_asr_strdname(_dname, buf, max)); in print_dname() 62 print_rr(const struct asr_dns_rr *rr, char *buf, size_t max) in print_rr() argument 71 r = snprintf(buf, max, "%s %u %s %s ", in print_rr() 76 if (r < 0 || r >= max) { in print_rr() 81 if ((size_t)r >= max) in print_rr() 84 max -= r; in print_rr() 89 print_dname(rr->rr.cname.cname, buf, max); in print_rr() 92 snprintf(buf, max, "%lu %s", in print_rr() 97 print_dname(rr->rr.ns.nsname, buf, max); in print_rr() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/ |
| H A D | 101-standard_typemap_locations.t | 25 my $max = $#INC; 26 $max = $#stl if $#stl < $max; 27 foreach my $i (0.. $max) { 28 $max = $i, last if $stl[$i] =~ /\Q$updir\E/; 32 ( 0 < (grep -f $_, @stl[0..$max]) ),
|
| /openbsd-src/libexec/tradcpp/ |
| H A D | array.c | 56 a->num = a->max = 0; in array_init() 64 dofree(a->v, a->max * sizeof(a->v[0])); in array_cleanup() 76 if (num > a->max) { in array_setsize() 77 newmax = a->max; in array_setsize() 81 newptr = dorealloc(a->v, a->max * sizeof(a->v[0]), in array_setsize() 84 a->max = newmax; in array_setsize() 94 arrayassert(a->num <= a->max); in array_insert() 109 arrayassert(a->num <= a->max); in array_remove()
|