Home
last modified time | relevance | path

Searched refs:best (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/openbsd/lib/libc/net/
H A Dinet_ntop.c118 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 Dinet_ntop.c149 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 Dtracer.c125 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 Dbb-reorder.c970 && (!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 Dtracer.c123 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 Dixp.rdomain1.ok5 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 Dixp.rdomain2.ok5 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 DBuild.pm71 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 Ddrm_vma_manager.c144 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 Dtest.ok7 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 DMakefile12 ./${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 DQueue.pm191 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 DFindSpecRefs604 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 DCmpDriver53 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 Disapnp.c384 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 Ddh.c157 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 DLibrary.pm142 my $best = undef;
149 $best = "$sd/$e";
154 if (!defined $best) {
157 $best = $cand;
160 return $best;
/openbsd/usr.sbin/smtpd/
H A Dparser.c177 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 DLibSpec.pm135 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 Dcpu-sh.c436 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 Dsanitizer_stacktrace.cpp162 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 DBase.pm524 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 Dm68k-dis.c185 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 Dcontrol.c344 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 Dconst-c.inc28 /* 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 …]

12345678910>>...24