/openbsd/lib/libc/net/ |
H A D | inet_ntop.c | 118 best.base = -1; in inet_ntop6() 128 if (best.base == -1 || cur.len > best.len) in inet_ntop6() 129 best = cur; in inet_ntop6() 135 if (best.base == -1 || cur.len > best.len) in inet_ntop6() 136 best = cur; in inet_ntop6() 138 if (best.base != -1 && best.len < 2) in inet_ntop6() 139 best.base = -1; in inet_ntop6() 148 if (best.base != -1 && i >= best.base && in inet_ntop6() 149 i < (best.base + best.len)) { in inet_ntop6() 169 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6() [all …]
|
/openbsd/sys/netinet/ |
H A D | inet_ntop.c | 149 best.base = -1; in inet_ntop6() 159 if (best.base == -1 || cur.len > best.len) in inet_ntop6() 160 best = cur; in inet_ntop6() 166 if (best.base == -1 || cur.len > best.len) in inet_ntop6() 167 best = cur; in inet_ntop6() 169 if (best.base != -1 && best.len < 2) in inet_ntop6() 170 best.base = -1; in inet_ntop6() 179 if (best.base != -1 && i >= best.base && in inet_ntop6() 180 i < (best.base + best.len)) { in inet_ntop6() 196 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | tracer.c | 125 if (!best || better_p (e, best)) in find_best_successor() 126 best = e; in find_best_successor() 127 if (!best || ignore_bb_p (best->dest)) in find_best_successor() 131 return best; in find_best_successor() 144 if (!best || better_p (e, best)) in find_best_predecessor() 145 best = e; in find_best_predecessor() 146 if (!best || ignore_bb_p (best->src)) in find_best_predecessor() 151 return best; in find_best_predecessor() 339 && (!best || EDGE_FREQUENCY (e) > EDGE_FREQUENCY (best))) in layout_superblocks() 340 best = e; in layout_superblocks() [all …]
|
H A D | bb-reorder.c | 970 && (!best in connect_traces() 975 best = e; in connect_traces() 979 if (best) in connect_traces() 981 best->src->aux = best->dest; in connect_traces() 988 best->src->index, best->dest->index); in connect_traces() 1016 && (!best in connect_traces() 1021 best = e; in connect_traces() 1026 if (best) in connect_traces() 1031 best->src->index, best->dest->index); in connect_traces() 1049 && (!best || e->probability > best->probability)) in connect_traces() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | tracer.c | 123 if (!best || better_p (e, best)) 124 best = e; 125 if (!best || ignore_bb_p (best->dest)) 129 return best; 142 if (!best || better_p (e, best)) 143 best = e; 144 if (!best || ignore_bb_p (best->src)) 149 return best; 339 && (!best || EDGE_FREQUENCY (e) > EDGE_FREQUENCY (best))) in layout_superblocks() 340 best = e; in layout_superblocks() [all …]
|
/openbsd/regress/usr.sbin/bgpd/integrationtests/ |
H A D | ixp.rdomain1.ok | 5 Origin IGP, metric 0, localpref 100, weight 0, ovs valid, avs unknown, external, valid, best 11 Origin IGP, metric 0, localpref 1, weight 0, ovs invalid, avs unknown, external, valid, best 18 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 24 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best 31 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best 38 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best 45 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 53 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 61 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 69 Origin IGP, metric 0, localpref 1, weight 0, ovs not-found, avs unknown, external, valid, best [all …]
|
H A D | ixp.rdomain2.ok | 5 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 10 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 15 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 22 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 29 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 36 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 41 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 47 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 53 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best 58 Origin IGP, metric 0, localpref 100, weight 0, ovs not-found, avs unknown, external, valid, best [all …]
|
/openbsd/usr.sbin/pkg_add/OpenBSD/LibSpec/ |
H A D | Build.pm | 71 my $best; 73 if (!defined $best || $candidate->is_better($best)) { 74 $best = $candidate; 77 if (defined $best) { 78 if ($best->is_static) { 79 return $best; 81 if ($spec->match($best, $base)) { 82 return $best;
|
/openbsd/sys/dev/pci/drm/ |
H A D | drm_vma_manager.c | 144 struct drm_mm_node *node, *best; in drm_vma_offset_lookup_locked() local 149 best = NULL; in drm_vma_offset_lookup_locked() 156 best = node; in drm_vma_offset_lookup_locked() 165 if (best) { in drm_vma_offset_lookup_locked() 166 offset = best->start + best->size; in drm_vma_offset_lookup_locked() 168 best = NULL; in drm_vma_offset_lookup_locked() 171 if (!best) in drm_vma_offset_lookup_locked() 174 return container_of(best, struct drm_vma_offset_node, vm_node); in drm_vma_offset_lookup_locked()
|
/openbsd/regress/lib/libc/getopt_long/ |
H A D | test.ok | 7 getopt_long: onefile twofile --best -Williterate -i foo.in threefile 8 option best 28 getopt_long (POSIXLY_CORRECT): onefile twofile --best -Williterate -i foo.in threefile 29 remaining ARGV: onefile twofile --best -Williterate -i foo.in threefile 49 getopt_long_only: onefile twofile -best -Williterate -i foo.in threefile 50 option best 70 getopt_long_only (POSIXLY_CORRECT): onefile twofile -best -Williterate -i foo.in threefile 71 remaining ARGV: onefile twofile -best -Williterate -i foo.in threefile
|
H A D | Makefile | 12 ./${PROG} onefile twofile --best -Williterate -i foo.in threefile ; \ 17 ./${PROG} onefile twofile --best -Williterate -i foo.in threefile ; \ 22 ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \ 27 ./${PROG} onefile twofile -best -Williterate -i foo.in threefile ; \
|
/openbsd/gnu/usr.bin/perl/cpan/CPAN/lib/CPAN/ |
H A D | Queue.pm | 191 my $best = ""; 195 $best = $c; 198 $best = $c; 200 if ($best eq "") { 201 $best = $c; 207 return $best;
|
/openbsd/gnu/llvm/clang/utils/ |
H A D | FindSpecRefs | 604 best = None 625 if best is None or dist < best[0]: 626 best = (dist, (section, name, page)) 627 return best[1] 637 best = None 641 if best is None or dist < best[0]: 642 best = (dist,'l'+m.group(1)) 644 if best is not None: 645 return best[1]
|
H A D | CmpDriver | 53 best = None 57 if best is None or candidate < best[0]: 58 best = (candidate, a_0, j) 59 a = best[1]
|
/openbsd/sys/dev/isa/ |
H A D | isapnp.c | 384 if (c->ipa_pref < best->ipa_pref) in isapnp_bestconfig() 385 best = c; in isapnp_bestconfig() 388 best->ia_isa = isa; in isapnp_bestconfig() 393 if (best == f) in isapnp_bestconfig() 398 c->ipa_sibling = best->ipa_sibling; in isapnp_bestconfig() 405 if (c != best && SAMEDEV(c, best)) in isapnp_bestconfig() 410 return best; in isapnp_bestconfig() 413 free(best, M_DEVBUF, 0); in isapnp_bestconfig() 421 if (c == best) in isapnp_bestconfig() 424 if (SAMEDEV(c, best)) in isapnp_bestconfig() [all …]
|
/openbsd/usr.bin/ssh/ |
H A D | dh.c | 157 int best, bestcount, which, linenum; in choose_dh() local 167 best = bestcount = 0; in choose_dh() 178 if ((dhg.size > wantbits && dhg.size < best) || in choose_dh() 179 (dhg.size > best && best < wantbits)) { in choose_dh() 180 best = dhg.size; in choose_dh() 183 if (dhg.size == best) in choose_dh() 206 dhg.size != best || in choose_dh()
|
/openbsd/usr.bin/libtool/LT/ |
H A D | Library.pm | 142 my $best = undef; 149 $best = "$sd/$e"; 154 if (!defined $best) { 157 $best = $cand; 160 return $best;
|
/openbsd/usr.sbin/smtpd/ |
H A D | parser.c | 177 struct node *node, *tmp, *stack[ARGVMAX], *best; in cmd_run() local 195 best = NULL; in cmd_run() 201 if (best) in cmd_run() 203 best = tmp; in cmd_run() 205 if (best == NULL) in cmd_run() 207 stack[i] = best; in cmd_run() 208 node = best; in cmd_run()
|
/openbsd/usr.sbin/pkg_add/OpenBSD/ |
H A D | LibSpec.pm | 135 my $best; 139 if (!defined $best || $lib->is_better($best)) { 140 $best = $lib; 144 return $best;
|
/openbsd/gnu/usr.bin/binutils-2.17/bfd/ |
H A D | cpu-sh.c | 436 unsigned int best = ~arch_set; in sh_get_bfd_mach_from_arch_set() local 460 if (((try & ~arch_set) < (best & ~arch_set) in sh_get_bfd_mach_from_arch_set() 461 || ((try & ~arch_set) == (best & ~arch_set) in sh_get_bfd_mach_from_arch_set() 462 && (~try & arch_set) < (~best & arch_set))) in sh_get_bfd_mach_from_arch_set() 466 best = try; in sh_get_bfd_mach_from_arch_set()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stacktrace.cpp | 162 uptr best = 0; in LocatePcInTrace() local 164 if (Distance(trace[i], pc) < Distance(trace[best], pc)) best = i; in LocatePcInTrace() 166 return best; in LocatePcInTrace()
|
/openbsd/gnu/usr.bin/perl/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ |
H A D | Base.pm | 524 my @best = (1e38, ~0); 561 if ($rms < $best[0] || ($rms == $best[0] && ($max - $min) < $best[1])) { 562 @best = ($rms, $max - $min, $i, \%spread); 566 unless defined $best[2]; 568 my ($offset, $best) = @best[2,3]; 577 foreach my $char (sort keys %$best) { 594 @{$items}{@{$best->{$char}}}) {
|
/openbsd/gnu/usr.bin/binutils/opcodes/ |
H A D | m68k-dis.c | 185 const struct m68k_opcode *best; local 235 best = NULL; 336 best = opc; 342 if (best == NULL) 353 for (d = best->args; *d; d += 2) 398 && best->args[0] == '#' 399 && best->args[1] == 'w') 413 d = best->args; 433 best->name, 434 best->args); [all …]
|
/openbsd/usr.sbin/ntpd/ |
H A D | control.c | 344 int shift, best = -1, validdelaycnt = 0, jittercnt = 0; in build_show_peer() local 369 if (best == -1 || in build_show_peer() 370 p->reply[shift].delay < p->reply[best].delay) in build_show_peer() 371 best = shift; in build_show_peer() 383 if (best != -1) { in build_show_peer() 385 if (p->reply[shift].delay > 0.0 && shift != best) { in build_show_peer() 387 p->reply[best].delay); in build_show_peer()
|
/openbsd/gnu/usr.bin/perl/dist/Time-HiRes/fallback/ |
H A D | const-c.inc | 28 /* Offset 7 gives the best switch position. */ 107 /* Offset 10 gives the best switch position. */ 152 /* Offset 12 gives the best switch position. */ 209 /* Offset 8 gives the best switch position. */ 299 /* Offset 7 gives the best switch position. */ 355 /* Offset 9 gives the best switch position. */ 463 /* Offset 7 gives the best switch position. */ 494 /* Offset 5 gives the best switch position. */ 549 /* Offset 5 gives the best switch position. */ 592 /* Offset 7 gives the best switch position. */ [all …]
|