/openbsd/usr.sbin/rpki-client/ |
H A D | validate.c | 38 valid_as(struct auth *a, uint32_t min, uint32_t max) in valid_as() argument 53 return valid_as(a->issuer, min, max); in valid_as() 79 return valid_ip(a->issuer, afi, min, max); in valid_ip() 91 uint32_t min, max; in valid_cert() local 99 max = cert->as[i].id; in valid_cert() 102 max = cert->as[i].range.max; in valid_cert() 105 if (valid_as(a, min, max)) in valid_cert() 117 cert->ips[i].max)) in valid_cert() 442 uint32_t min, max; in valid_rsc() local 447 max = rsc->as[i].id; in valid_rsc() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | missed-error2.C | 11 inline int max(int a, int b) {return a > b ? a : b;}; // ERROR - candidate in max() function 12 inline double max(double a, double b) {return a > b ? a : b;}; // ERROR - candidate in max() function 24 std::cout << "Max(int): " << max(i,j) << " Max(double): " << in foo() 25 max(x,y) << '\n'; in foo() 26 std::cout << "Max(int, double): " << max(i, y) << '\n';// ERROR - in foo()
|
/openbsd/regress/sbin/pfctl/ |
H A D | pf44.in | 3 match in on lo0 from any to any scrub(min-ttl 15, no-df, max-mss 224) 4 match in on lo0 from any to any scrub(no-df max-mss 224 min-ttl 15) 5 match in on lo0 from any to any scrub(max-mss 224, min-ttl 15 no-df) 6 match in on lo0 from any to any scrub(min-ttl 15 no-df, max-mss 224) 7 match in on lo0 from any to any scrub(no-df max-mss 224 min-ttl 15) 8 match in on lo0 from any to any scrub(max-mss 224 min-ttl 15 no-df reassemble tcp)
|
/openbsd/sys/dev/pci/drm/i915/ |
H A D | i915_scatterlist.h | 30 unsigned int max; member 37 s.max = s.curr = s.sgp->offset; in __sgt_iter() 40 s.max += sg_dma_len(s.sgp); in __sgt_iter() 43 s.max += s.sgp->length; in __sgt_iter() 92 (((__iter).curr += (__step)) >= (__iter).max) ? \ 105 (((__iter).curr += PAGE_SIZE) >= (__iter).max) ? \ 134 size_t max = min_t(size_t, UINT_MAX, dma_max_mapping_size(dev)); in i915_sg_segment_size() local 150 max = PAGE_SIZE; in i915_sg_segment_size() 151 return round_down(max, PAGE_SIZE); in i915_sg_segment_size()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dsc/ |
H A D | rc_calc_fpu.c | 37 #define TABLE_CASE(mode, bpc, max) case (table_hash(mode, BPC_##bpc, max)): \ argument 39 …table_size = sizeof(qp_table_##mode##_##bpc##bpc_##max)/sizeof(*qp_table_##mode##_##bpc##bpc_##max… 76 TABLE_CASE(444, 8, max); in get_qp_set() 78 TABLE_CASE(444, 10, max); in get_qp_set() 80 TABLE_CASE(444, 12, max); in get_qp_set() 82 TABLE_CASE(422, 8, max); in get_qp_set() 84 TABLE_CASE(422, 10, max); in get_qp_set() 86 TABLE_CASE(422, 12, max); in get_qp_set() 88 TABLE_CASE(420, 8, max); in get_qp_set() 90 TABLE_CASE(420, 10, max); in get_qp_set() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | params.def | 205 "max-gcse-memory", 210 "max-gcse-passes", 238 "max-unrolled-insns", 249 "max-unroll-times", 254 "max-peeled-insns", 259 "max-peel-times", 280 "max-unswitch-insns", 285 "max-unswitch-level", 309 "sms-max-ii-factor", 400 "max-cse-insns", [all …]
|
/openbsd/games/banner/ |
H A D | banner.c | 1111 int debug, i, j, linen, max, nchars, pc, term, trace, x, y; variable 1213 max = 0; in main() 1222 printf("pc=%d, term=%d, max=%d, linen=%d, x=%d\n",pc,term,max,linen,x); in main() 1228 for (j=0; j < max && j < DWIDTH; j++) in main() 1236 max = 0; in main() 1249 max = x+y; in main() 1250 while (x < max && x < DWIDTH) in main() 1254 printf("x=%d, y=%d, max=%d\n",x,y,max); in main()
|
/openbsd/gnu/usr.bin/perl/Porting/ |
H A D | harness-timer-report.pl | 64 'max=s' => \$Opt{max}, 91 if (defined $Opt{max}) { 92 for my $s (split(/,/, $Opt{max})) { 149 $ma = max($wall, $ma // $wall); 150 $mb = max($self, $mb // $self); 151 $mc = max($kids, $mc // $kids); 152 $md = max($cpu, $md // $cpu); 153 $me = max($ratio, $md // $ratio); 228 if ($SHOW{max}) {
|
/openbsd/gnu/lib/libreadline/ |
H A D | history.c | 318 stifle_history (max) in stifle_history() argument 319 int max; in stifle_history() 323 if (max < 0) 324 max = 0; 326 if (history_length > max) 329 for (i = 0, j = history_length - max; i < j; i++) 336 for (j = 0, i = history_length - max; j < max; i++, j++) 343 max_input_history = history_max_entries = max;
|
/openbsd/gnu/llvm/lld/MachO/ |
H A D | OutputSegment.cpp | 81 .Case(segment_names::llvm, std::numeric_limits<int>::max() - 1) in segmentOrder() 84 .Case(segment_names::linkEdit, std::numeric_limits<int>::max()) in segmentOrder() 99 .Case(section_names::unwindInfo, std::numeric_limits<int>::max() - 1) in sectionOrder() 100 .Case(section_names::ehFrame, std::numeric_limits<int>::max()) in sectionOrder() 113 return std::numeric_limits<int>::max() - 3; in sectionOrder() 115 return std::numeric_limits<int>::max() - 2; in sectionOrder() 117 return std::numeric_limits<int>::max() - 1; in sectionOrder() 119 return std::numeric_limits<int>::max(); in sectionOrder() 140 .Case(section_names::codeSignature, std::numeric_limits<int>::max()) in sectionOrder() 148 return std::numeric_limits<int>::max(); in sectionOrder()
|
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_6_ppt.c | 430 if (max) in smu_v13_0_6_get_dpm_ultimate_freq() 446 if (max) { in smu_v13_0_6_get_dpm_ultimate_freq() 604 pstate_table->gfxclk_pstate.curr.max = gfx_table->max; in smu_v13_0_6_populate_umd_state_clk() 609 pstate_table->uclk_pstate.curr.max = mem_table->max; in smu_v13_0_6_populate_umd_state_clk() 614 pstate_table->socclk_pstate.curr.max = soc_table->max; in smu_v13_0_6_populate_umd_state_clk() 1503 (max == pstate_table->gfxclk_pstate.curr.max)) in smu_v13_0_6_set_soft_freq_limited_range() 1509 pstate_table->gfxclk_pstate.curr.max = max; in smu_v13_0_6_set_soft_freq_limited_range() 1517 (max > dpm_context->dpm_tables.gfx_table.max)) { in smu_v13_0_6_set_soft_freq_limited_range() 1521 max); in smu_v13_0_6_set_soft_freq_limited_range() 1537 max); in smu_v13_0_6_set_soft_freq_limited_range() [all …]
|
/openbsd/gnu/gcc/gcc/config/c4x/ |
H A D | c4x.c | 4232 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4244 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4251 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4258 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4265 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4272 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4279 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4286 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4293 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() 4300 max = SET_USE_COST > max ? SET_USE_COST : max; in c4x_adjust_cost() [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/27_io/ |
H A D | ios_base_storage.cc | 54 int max = std::numeric_limits<int>::max() - 1; in test02() local 69 v = ios.pword(max); in test02() 88 v = ios.pword(std::numeric_limits<int>::max()); in test02() 107 l = ios.iword(max); in test02() 126 l = ios.iword(std::numeric_limits<int>::max()); in test02()
|
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/ |
H A D | WinEHFuncInfo.h | 99 int UnwindHelpFrameIdx = std::numeric_limits<int>::max(); 100 int PSPSymFrameIdx = std::numeric_limits<int>::max(); 107 int EHRegNodeFrameIndex = std::numeric_limits<int>::max(); 108 int EHRegNodeEndOffset = std::numeric_limits<int>::max(); 109 int EHGuardFrameIndex = std::numeric_limits<int>::max(); 110 int SEHSetFrameOffset = std::numeric_limits<int>::max();
|
/openbsd/sys/dev/usb/dwc2/ |
H A D | bitmap.h | 42 find_next_zero_bit(volatile void *p, int max, int b) in find_next_zero_bit() argument 46 for (; b < max; b += 32) { in find_next_zero_bit() 55 return max; in find_next_zero_bit() 59 find_next_bit(volatile void *p, int max, int b) in find_next_bit() argument 63 for (; b < max; b+= 32) { in find_next_bit() 72 return max; in find_next_bit()
|
/openbsd/lib/libcrypto/x509/ |
H A D | x509_asid.c | 393 b->u.range->max); in ASIdOrRange_cmp() 451 ASN1_INTEGER *max) in ASIdOrRanges_add_id_or_range() argument 458 if (max != NULL) { in ASIdOrRanges_add_id_or_range() 468 if (max == NULL) { in ASIdOrRanges_add_id_or_range() 475 asr->max = max; in ASIdOrRanges_add_id_or_range() 498 ASN1_INTEGER *max) in X509v3_asid_add_id_or_range() argument 554 *max = aor->u.id; in extract_min_max() 558 *max = aor->u.range->max; in extract_min_max() 562 *max = NULL; in extract_min_max() 762 r->max = b_max; in ASIdentifierChoice_canonize() [all …]
|
/openbsd/lib/libc/asr/ |
H A D | asr_utils.c | 74 if (dst && max >= 1) in _asr_dname_from_fqdn() 94 max -= 1; in _asr_dname_from_fqdn() 95 n = (l > max) ? max : l; in _asr_dname_from_fqdn() 97 max -= n; in _asr_dname_from_fqdn() 98 if (max == 0) in _asr_dname_from_fqdn() 143 if (dst != NULL && max != 0) { in dname_expand() 144 count = (max < n + 1) ? (max) : (n + 1); in dname_expand() 147 max -= count; in dname_expand() 157 if (dst != NULL && max != 0) in dname_expand() 515 snprintf(dst, max, in _asr_addr_as_fqdn() [all …]
|
/openbsd/regress/usr.sbin/relayd/ |
H A D | funcs.pl | 348 my $max = shift // $self->{max}; 351 read_block($self, $max); 357 if (defined($max) && $max == 0) { 364 if (defined($max) && $len >= $max) { 378 my $max = shift // $self->{max}; 384 if (defined($max) && $len >= $max) { 389 if (defined($max) && $rlen > $max - $len) { 390 $rlen = $max - $len; 397 my $pct = ($len / $max) * 100.0; 399 printf(STDERR "%.2f%% $len/$max\n", $pct);
|
/openbsd/usr.sbin/dhcpd/ |
H A D | parse.c | 328 if (!bufp && *max) { in parse_numeric_aggregate() 329 bufp = malloc(*max * size / 8); in parse_numeric_aggregate() 339 if (!*max) in parse_numeric_aggregate() 374 } while (++count != *max); in parse_numeric_aggregate() 382 *max = count; in parse_numeric_aggregate() 399 int negative = 0, tval, max; in convert_num() local 446 max = (1 << (size - 1)); in convert_num() 449 if (val > max) { in convert_num() 453 negative ? "-" : "", val, max); in convert_num() 457 negative ? "-" : "", val, max); in convert_num() [all …]
|
/openbsd/usr.sbin/bgpd/ |
H A D | rde_sets.c | 34 size_t max; member 123 set->max = nmemb; in set_new() 132 rdemem.aset_size += set->size * set->max; in set_new() 143 rdemem.aset_size -= set->size * set->max; in set_free() 152 if (set->max < nelms || set->max - nelms < set->nmemb) { in set_add() 160 for (new_size = set->max; new_size < set->nmemb + nelms; ) in set_add() 166 rdemem.aset_size += set->size * (new_size - set->max); in set_add() 168 set->max = new_size; in set_add()
|
/openbsd/gnu/llvm/libcxx/include/__algorithm/ |
H A D | max.h | 31 max(const _Tp& __a, const _Tp& __b, _Compare __comp) in max() function 40 max(const _Tp& __a, const _Tp& __b) in max() function 42 return _VSTD::max(__a, __b, __less<_Tp>()); in max() 51 max(initializer_list<_Tp> __t, _Compare __comp) in max() function 60 max(initializer_list<_Tp> __t) in max() function
|
/openbsd/gnu/usr.bin/perl/ |
H A D | pp_sort.c | 693 SSize_t max, i; in PP() local 804 max = AvFILL(av) + 1; in PP() 805 MEXTEND(SP, max); in PP() 819 p1 = p2 = SP - (max-1); in PP() 823 max = SP - MARK; in PP() 830 for (i=max; i > 0 ; i--) { in PP() 860 max--; in PP() 862 if (max > 1) { in PP() 918 start = p1 - max; in PP() 999 SV **q = start+max-1; in PP() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/ |
H A D | GCNHazardRecognizer.cpp | 561 return std::numeric_limits<int>::max(); in getWaitStatesSince() 761 WaitStatesNeeded = std::max( in checkDPPHazards() 1126 std::numeric_limits<int>::max()) in fixVcmpxPermlaneHazards() 1179 std::numeric_limits<int>::max()) in fixVMEMtoScalarWriteHazards() 1265 std::numeric_limits<int>::max()) in fixSMEMtoVectorWriteHazards() 1304 std::numeric_limits<int>::max()) in fixVcmpxExecWARHazard() 1380 std::numeric_limits<int>::max(); in fixLdsBranchVmemWARHazard() 1384 std::numeric_limits<int>::max()) in fixLdsBranchVmemWARHazard() 1461 std::numeric_limits<int>::max()) in fixLdsDirectVMEMHazard() 1751 std::numeric_limits<int>::max()) in fixWMMAHazards() [all …]
|
/openbsd/usr.sbin/smtpd/ |
H A D | unpack_dns.c | 145 size_t *newoffset, char *dst, size_t max) in dname_expand() argument 172 if (dst != NULL && max != 0) { in dname_expand() 173 count = (max < n + 1) ? (max) : (n + 1); in dname_expand() 176 max -= count; in dname_expand() 186 if (dst != NULL && max != 0) in dname_expand() 194 print_dname(const char *_dname, char *buf, size_t max) in print_dname() argument 201 (void)strlcpy(buf, ".", max); in print_dname() 206 left = max - 1; in print_dname() 275 unpack_dname(struct unpack *p, char *dst, size_t max) in unpack_dname() argument 282 e = dname_expand(p->buf, p->len, p->offset, &p->offset, dst, max); in unpack_dname()
|
/openbsd/gnu/gcc/libstdc++-v3/include/std/ |
H A D | std_limits.h | 324 static bool max() throw() 378 static signed char max() throw() 482 static char max() throw() 535 static wchar_t max() throw() 586 static short max() throw() 688 static int max() throw() 790 static long max() throw() 892 static long long max() throw() 994 static float max() throw() 1051 static double max() throw() [all …]
|