Searched refs:best (Results 1 - 25 of 174) sorted by relevance

1234567

/openbsd-current/lib/libc/net/
H A Dinet_ntop.c105 struct { int base, len; } best, cur; local
118 best.base = -1;
128 if (best.base == -1 || cur.len > best.len)
129 best = cur;
135 if (best.base == -1 || cur.len > best.len)
136 best = cur;
138 if (best.base != -1 && best
[all...]
/openbsd-current/sys/netinet/
H A Dinet_ntop.c136 struct { int base, len; } best, cur; local
149 best.base = -1;
159 if (best.base == -1 || cur.len > best.len)
160 best = cur;
166 if (best.base == -1 || cur.len > best.len)
167 best = cur;
169 if (best.base != -1 && best
[all...]
/openbsd-current/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-current/gnu/gcc/gcc/
H A Dtracer.c121 edge best = NULL; local
125 if (!best || better_p (e, best))
126 best = e;
127 if (!best || ignore_bb_p (best->dest))
129 if (best->probability <= probability_cutoff)
131 return best;
140 edge best = NULL; local
144 if (!best || better_
331 edge e, best = NULL; local
[all...]
H A Dbb-reorder.c297 /* Information about the best end (end after rotation) of the loop. */
302 /* The best edge is preferred when its destination is not visited yet
321 /* The best edge is preferred. */
483 /* The probability and frequency of the best edge. */
547 /* If the best destination has multiple predecessors, and can be
843 best edge (details are in function). The probability of edge E is PROB. The
844 frequency of the successor is FREQ. The current best probability is
845 BEST_PROB, the best frequency is BEST_FREQ.
855 /* The BEST_* values do not have to be best, but can be a bit smaller than
861 /* The edge has higher probability than the temporary best edg
930 edge e, best; local
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dtracer.c120 edge best = NULL; local
123 if (!best || better_p (e, best))
124 best = e;
125 if (!best || ignore_bb_p (best->dest))
127 if (best->probability <= probability_cutoff)
129 return best;
139 edge best = NULL; local
142 if (!best || better_
331 edge e, best = NULL; local
[all...]
/openbsd-current/regress/lib/libc/getopt_long/
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-current/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-current/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-current/sys/dev/pci/drm/
H A Ddrm_vma_manager.c136 * Returns NULL if no suitable node can be found. Otherwise, the best match
144 struct drm_mm_node *node, *best; local
149 best = NULL;
156 best = node;
165 if (best) {
166 offset = best->start + best->size;
168 best = NULL;
171 if (!best)
174 return container_of(best, struc
[all...]
/openbsd-current/regress/usr.sbin/bgpd/integrationtests/
H A Dbgpd.capa.master.conf38 announce add-path send best plus 3 enforce
/openbsd-current/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-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace.cpp162 uptr best = 0; local
164 if (Distance(trace[i], pc) < Distance(trace[best], pc)) best = i;
166 return best;
/openbsd-current/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 i
[all...]
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-current/usr.bin/ssh/
H A Ddh.c157 int best, bestcount, which, linenum; local
167 best = bestcount = 0;
178 if ((dhg.size > wantbits && dhg.size < best) ||
179 (dhg.size > best && best < wantbits)) {
180 best = dhg.size;
183 if (dhg.size == best)
206 dhg.size != best ||
/openbsd-current/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 switc
[all...]
/openbsd-current/usr.sbin/smtpd/
H A Dparser.c177 struct node *node, *tmp, *stack[ARGVMAX], *best; local
195 best = NULL;
201 if (best)
203 best = tmp;
205 if (best == NULL)
207 stack[i] = best;
208 node = best;
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dcpu-sh.c436 unsigned int best = ~arch_set; local
460 if (((try & ~arch_set) < (best & ~arch_set)
461 || ((try & ~arch_set) == (best & ~arch_set)
462 && (~try & arch_set) < (~best & arch_set)))
466 best = try;
/openbsd-current/sys/dev/isa/
H A Disapnp.c364 * Return the best configuration for each logical device, remove and
371 struct isa_attach_args *c, *best, *f = *ipa; local
380 /* Find the best config */
381 for (best = c = f; c != NULL; c = c->ipa_sibling) {
384 if (c->ipa_pref < best->ipa_pref)
385 best = c;
388 best->ia_isa = isa;
389 /* Test the best config */
390 error = isapnp_testconfig(sc->sc_iot, sc->sc_memt, best, 0);
393 if (best
[all...]
/openbsd-current/lib/libcurses/tinfo/
H A Dlib_termcap.c149 int best = 0; local
152 if (LAST_SEQ < MyCache[best].sequence) {
153 best = CacheInx;
156 CacheInx = best;
/openbsd-current/usr.sbin/ntpd/
H A Dcontrol.c344 int shift, best = -1, validdelaycnt = 0, jittercnt = 0; local
369 if (best == -1 ||
370 p->reply[shift].delay < p->reply[best].delay)
371 best = shift;
383 if (best != -1) {
385 if (p->reply[shift].delay > 0.0 && shift != best) {
387 p->reply[best].delay);
/openbsd-current/sys/kern/
H A Dkern_sched.c492 struct proc *best = NULL; local
523 if (best == NULL || cost < bestcost) {
524 best = p;
529 if (best == NULL)
532 TRACEPOINT(sched, steal, best->p_tid + THREAD_PID_OFFSET,
533 best->p_p->ps_pid, CPU_INFO_UNIT(self));
535 remrunqueue(best);
536 best->p_cpu = self;
540 return (best);
564 * be the best candidat
[all...]
/openbsd-current/gnu/usr.bin/binutils/opcodes/
H A Dm68k-dis.c187 const struct m68k_opcode *best;
237 best = NULL;
338 best = opc;
344 if (best == NULL)
355 for (d = best->args; *d; d += 2)
393 if (p - buffer < 4 && (best->match & 0xFFFF) != 0)
399 && (best->match & 0xffff) == 0xffff
400 && best->args[0] == '#'
401 && best->args[1] == 'w')
415 d = best
185 const struct m68k_opcode *best; local
[all...]
/openbsd-current/sys/dev/acpi/
H A Dacpicpu.c1158 struct acpi_cstate *best, *cx; local
1177 best = cx = SLIST_FIRST(&sc->sc_cstates);
1182 best = cx;
1185 if (best->state >= 3 &&
1186 (best->flags & CST_FLAG_MWAIT_BM_AVOIDANCE) &&
1198 best = cx;
1202 atomic_inc_long(&cst_stats[best->state]);
1205 switch (best->method) {
1212 inb((u_short)best->address);
1243 hints = (unsigned)best
1289 struct acpi_cstate *best, *cx; local
[all...]

Completed in 221 milliseconds

1234567