Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 1419) sorted by relevance

12345678910>>...57

/openbsd/regress/lib/libcrypto/x509/rfc3779/
H A Drfc3779.c83 .max = {
97 .max = {
114 .max = {
130 .max = {
152 .max = {
172 .max = {
187 .max = {
269 if (memcmp(max, test->max, afi_len) != 0) { in test_IPAddressOrRange()
272 test->max, afi_len, max, afi_len); in test_IPAddressOrRange()
802 memcpy(max, ipv4->range.max, sizeof(ipv4->range.max)); in addr_block_add_ipv4_addr()
[all …]
/openbsd/sys/dev/pci/drm/i915/display/
H A Dintel_dpll.c32 int min, max; member
43 .n = { .min = 2, .max = 16 },
46 .m2 = { .min = 6, .max = 16 },
47 .p = { .min = 4, .max = 128 },
48 .p1 = { .min = 2, .max = 33 },
56 .n = { .min = 2, .max = 16 },
69 .n = { .min = 2, .max = 16 },
82 .n = { .min = 1, .max = 6 },
95 .n = { .min = 1, .max = 6 },
109 .n = { .min = 1, .max = 4 },
[all …]
/openbsd/regress/sys/kern/sosplice/
H A Dfuncs.pl168 my $max = $self->{max};
207 $max && $max < $size ? $max : $size);
241 if ($max && $len == $max) {
254 my $max = $self->{max};
299 if ($max && $len == $max) {
323 my $max = $self->{max};
376 my $max = $self->{max};
402 if ($max && $max > $len) {
421 if ($max && $max == $len) {
515 my $max = $self->{max};
[all …]
/openbsd/gnu/gcc/gcc/
H A Dtree-vrp.c332 vr->max = max; in set_value_range()
1092 max = limit_vr->max; in extract_range_from_assert()
1292 max = vr_p->max; in extract_range_from_assert()
1930 max = vr0.max; in extract_range_from_binary_expr()
1940 max = vr1.max; in extract_range_from_binary_expr()
2365 max = vr0.max; in extract_range_from_unary_expr()
2552 max = vr->max; in adjust_range_with_scev()
4657 max = vr1->max; in vrp_meet()
4659 max = vr0->max; in vrp_meet()
5082 max = max; in test_for_singularity()
[all …]
/openbsd/usr.sbin/rpki-client/
H A Dip.c91 memcmp(ips[i].max, max, sz) >= 0) in ip_addr_check_covered()
152 memcmp(ips[i].min, ip->max, sz) >= 0) in ip_addr_check_overlap()
278 if (inet_ntop(af, ip.max, max, sizeof(max)) == NULL) in ip_addr_range_print()
303 memset(p->max, 0xff, sizeof(p->max)); in ip_cert_compose_ranges()
304 memcpy(p->max, p->ip.addr, sz); in ip_cert_compose_ranges()
312 memset(p->max, 0xff, sizeof(p->max)); in ip_cert_compose_ranges()
314 memcpy(p->max, p->range.max.addr, sz); in ip_cert_compose_ranges()
316 p->max[sz - 1] |= in ip_cert_compose_ranges()
324 return memcmp(p->min, p->max, sz) <= 0; in ip_cert_compose_ranges()
338 memset(p->max, 0xff, sizeof(p->max)); in ip_roa_compose_ranges()
[all …]
H A Dconstraints.c147 (*max)++; in constraints_split_range()
148 while (isspace((unsigned char)**max)) in constraints_split_range()
149 (*max)++; in constraints_split_range()
190 if (inet_pton(af, max, max_addr) != 1) in constraints_parse_ip_range()
201 min, max); in constraints_parse_ip_range()
207 const char *min, *max; in constraints_parse_ip() local
263 min, max); in constraints_parse_asn_range()
269 const char *min, *max; in constraints_parse_as() local
517 uint32_t min, max; in constraints_check_as() local
525 max = cert->id; in constraints_check_as()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dgenattr.c35 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;
171 for (i = 0; (1 << i) < blockage->max; i++)
177 i = MAX (blockage->max, ready_cost->max);
339 blockage.max = MAX (unit->ready_cost.max
341 blockage.max);
350 blockage.max = MAX (unit->ready_cost.max - fill_time,
[all …]
/openbsd/usr.bin/mklocale/
H A Dyacc.y433 if (list->max + 1 == r->min) { in add_map()
447 if (list->min >= r->min && list->max <= r->max) { in add_map()
459 if (list->min <= r->min && list->max >= r->max) { in add_map()
479 r->max = list->max; in add_map()
516 for (i = r->max+1; i <= list->max; ++i) in add_map()
519 r->max = list->max; in add_map()
528 if (r->max >= lr->max) { in add_map()
543 for (i = r->max+1; i <= lr->max; ++i) in add_map()
546 r->max = lr->max; in add_map()
549 if (lr->max > r->max) in add_map()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Dmax.t7 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 …]
/openbsd/regress/usr.sbin/bgpd/integrationtests/
H A Dbgpd.maxcomm.rdomain1.conf15 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/regress/lib/libc/asr/bin/
H A Dres_mkquery.c112 snprintf(buf, max, in print_header()
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()
236 snprintf(buf, max, in print_rr()
270 snprintf(buf, max, "%s %s %s", in print_query()
302 strlcpy(buf, ".", max); in print_dname()
[all …]
H A Dres_query.c148 snprintf(buf, max, in print_header()
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()
272 snprintf(buf, max, in print_rr()
306 snprintf(buf, max, "%s %s %s", in print_query()
338 strlcpy(buf, ".", max); in print_dname()
[all …]
/openbsd/gnu/usr.bin/perl/t/op/
H A Drand.t69 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/gnu/usr.bin/perl/t/porting/
H A Dreadme.t64 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/lib/libc/gen/
H A Dgetbsize.c40 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/regress/sbin/pfctl/
H A Dpf68.ok20 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 …]
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dinftrees.c42 unsigned min, max; /* minimum and maximum code lengths */ in inflate_table() local
114 for (max = MAXBITS; max >= 1; max--) in inflate_table()
115 if (count[max] != 0) break; in inflate_table()
116 if (root > max) root = max; in inflate_table()
117 if (max == 0) { /* no symbols to code at all */ in inflate_table()
126 for (min = 1; min < max; min++) in inflate_table()
137 if (left > 0 && (type == CODES || max != 1)) in inflate_table()
253 if (len == max) break; in inflate_table()
269 while (curr + drop < max) { in inflate_table()
/openbsd/lib/libz/
H A Dinftrees.c35 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/sys/lib/libz/
H A Dinftrees.c35 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/lib/libc/asr/
H A Dasr_debug.c58 return (_asr_strdname(_dname, buf, max)); in print_dname()
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()
100 print_dname(rr->rr.ptr.ptrname, buf, max); in print_rr()
138 snprintf(buf, max, "%s %s %s", in print_query()
[all …]
/openbsd/etc/etc.landisk/
H A Dlogin.conf44 :datasize-max=512M:\
46 :maxproc-max=256:\
48 :openfiles-max=1024:\
64 :openfiles-max=1024:\
75 :datasize-max=infinity:\
76 :maxproc-max=512:\
94 :datasize-max=infinity:\
96 :maxproc-max=1024:\
/openbsd/etc/etc.alpha/
H A Dlogin.conf44 :datasize-max=512M:\
46 :maxproc-max=256:\
48 :openfiles-max=1024:\
64 :openfiles-max=1024:\
75 :datasize-max=infinity:\
76 :maxproc-max=512:\
94 :datasize-max=infinity:\
96 :maxproc-max=1024:\
/openbsd/etc/etc.hppa/
H A Dlogin.conf44 :datasize-max=768M:\
46 :maxproc-max=256:\
48 :openfiles-max=1024:\
64 :openfiles-max=1024:\
75 :datasize-max=infinity:\
76 :maxproc-max=512:\
94 :datasize-max=infinity:\
96 :maxproc-max=1024:\
/openbsd/etc/etc.luna88k/
H A Dlogin.conf44 :datasize-max=512M:\
46 :maxproc-max=256:\
48 :openfiles-max=1024:\
64 :openfiles-max=1024:\
75 :datasize-max=infinity:\
76 :maxproc-max=512:\
94 :datasize-max=infinity:\
96 :maxproc-max=1024:\
/openbsd/etc/etc.arm64/
H A Dlogin.conf44 :datasize-max=1536M:\
46 :maxproc-max=256:\
48 :openfiles-max=1024:\
64 :openfiles-max=1024:\
75 :datasize-max=infinity:\
76 :maxproc-max=512:\
94 :datasize-max=infinity:\
96 :maxproc-max=1024:\

12345678910>>...57