Home
last modified time | relevance | path

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

1234

/titanic_44/usr/src/lib/libnsl/nss/
H A Dinet_ntop.c113 struct { int base, len; } best, cur; in inet_ntop6() local
125 best.base = -1; in inet_ntop6()
135 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
136 best = cur; in inet_ntop6()
142 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
143 best = cur; in inet_ntop6()
145 if (best.base != -1 && best.len < 2) in inet_ntop6()
146 best.base = -1; in inet_ntop6()
154 if (best.base != -1 && i >= best.base && in inet_ntop6()
155 i < (best.base + best.len)) { in inet_ntop6()
[all …]
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dinet_ntop.c138 struct { int base, len; } best, cur; local
151 best.base = -1;
161 if (best.base == -1 || cur.len > best.len)
162 best = cur;
168 if (best.base == -1 || cur.len > best.len)
169 best = cur;
171 if (best.base != -1 && best.len < 2)
172 best.base = -1;
181 if (best.base != -1 && i >= best.base &&
182 i < (best.base + best.len)) {
[all …]
/titanic_44/usr/src/lib/libresolv2/common/inet/
H A Dinet_cidr_ntop.c163 struct { int base, len; } best, cur; in inet_cidr_ntop_ipv6() local
180 best.base = -1; in inet_cidr_ntop_ipv6()
181 best.len = 0; in inet_cidr_ntop_ipv6()
192 if (best.base == -1 || cur.len > best.len) in inet_cidr_ntop_ipv6()
193 best = cur; in inet_cidr_ntop_ipv6()
199 if (best.base == -1 || cur.len > best.len) in inet_cidr_ntop_ipv6()
200 best = cur; in inet_cidr_ntop_ipv6()
202 if (best.base != -1 && best.len < 2) in inet_cidr_ntop_ipv6()
203 best.base = -1; in inet_cidr_ntop_ipv6()
211 if (best.base != -1 && i >= best.base && in inet_cidr_ntop_ipv6()
[all …]
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmvcur.c128 struct Sequence *best = &seqA; in row() local
146 zero_seq(best); in row()
147 add_op(best, __MOVE_ROW, nrow, 0); in row()
152 Make_seq_best(best, try); in row()
157 Make_seq_best(best, try); in row()
159 add_seq(outseq, best); in row()
183 struct Sequence seqA, seqB, *best, *try; in simp_col() local
191 best = &seqA; in simp_col()
232 zero_seq(best); in simp_col()
233 add_op(best, dir->_tab, tabs, 0); in simp_col()
[all …]
/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmvcur.c129 struct Sequence* best = &seqA; local
147 zero_seq(best);
148 add_op(best, __MOVE_ROW, nrow, 0);
153 Make_seq_best(best, try);
158 Make_seq_best(best, try);
160 add_seq(outseq, best);
186 struct Sequence seqA, seqB, *best, *try; local
194 best = &seqA;
235 zero_seq(best);
236 add_op(best, dir->_tab, tabs, 0);
[all …]
/titanic_44/usr/src/uts/common/rpc/
H A Drpc_subr.c755 struct { int base, len; } best, cur; local
769 best.base = -1;
780 if (best.base == -1 || cur.len > best.len)
781 best = cur;
787 if (best.base == -1 || cur.len > best.len)
788 best = cur;
791 if (best.base != -1 && best.len < 2)
792 best.base = -1;
800 if (best.base != -1 && i >= best.base &&
801 i < (best.base + best.len)) {
[all …]
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Ddh.c109 int best, bestcount, which; in choose_dh() local
120 best = bestcount = 0; in choose_dh()
131 if ((dhg.size > wantbits && dhg.size < best) || in choose_dh()
132 (dhg.size > best && best < wantbits)) { in choose_dh()
133 best = dhg.size; in choose_dh()
136 if (dhg.size == best) in choose_dh()
153 dhg.size != best || in choose_dh()
/titanic_44/usr/src/lib/libast/common/regex/
H A Dregnexec.c388 …tdout, "AHA better old ");for (i = 0; i <= env->nsub; i++)showmatch(&env->best[i]);sfprintf(sfstdo… in _better()
445 …->re.group.number, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo,… in parserep()
453 …e.group.number, r, env->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo,… in parserep()
1041 …nv->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so,… in parse()
1042 if ((i = env->best[0].rm_eo) >= 0) in parse()
1062 env->best[0].rm_eo = n; in parse()
1063 memcpy(&env->best[1], &env->match[1], r * sizeof(regmatch_t)); in parse()
1072 …nv->best[0].rm_so, env->best[0].rm_eo, env->best[1].rm_so, env->best[1].rm_eo, env->best[2].rm_so,… in parse()
1367 env->best[0].rm_so = t - s - n; in parse()
1398 env->best[0].rm_so = t - s - n; in parse()
[all …]
/titanic_44/usr/src/cmd/refer/
H A Dhunt2.c42 int nf = 0, best = 0, nterm = 0, i, g, j; in doquery() local
258 best = 0; in doquery()
260 if (coord[j] > best) best = coord[j]; in doquery()
262 fprintf(stderr, "colevel %d best %d\n", colevel, best); in doquery()
264 reached = best; in doquery()
266 if (coord[j] == best) { in doquery()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c216 } fetched, best; in krb5_cc_retrieve_cred_seq() local
222 memset(&best, 0, sizeof (best)); in krb5_cc_retrieve_cred_seq()
245 else if (!have_creds || fetched.pref < best.pref) { in krb5_cc_retrieve_cred_seq()
247 krb5_free_cred_contents (context, &best.creds); in krb5_cc_retrieve_cred_seq()
250 best = fetched; in krb5_cc_retrieve_cred_seq()
273 *creds = best.creds; in krb5_cc_retrieve_cred_seq()
/titanic_44/usr/src/cmd/sendmail/cf/feature/
H A Dbestmx_is_local.m431 # If we are the best MX for a site, then we want to accept
34 # listed us as their best MX.
37 # lower cost method is to list all the expected best MX hosts
/titanic_44/usr/src/cmd/sgs/yacc/common/
H A Dy3.c206 int i, j, k, best, count, cbest, times; in go2out() local
213 best = -1; in go2out()
218 if (tystate[j] == best) in go2out()
227 best = cbest; in go2out()
235 if (tystate[j] != 0 && tystate[j] != best) { in go2out()
244 (void) fprintf(ftemp, "%d\n", best); in go2out()
/titanic_44/usr/src/uts/common/io/drm/
H A Ddrm_mm.c245 struct drm_mm_node *best; in drm_mm_search_free() local
249 best = NULL; in drm_mm_search_free()
270 best = entry; in drm_mm_search_free()
276 return (best); in drm_mm_search_free()
/titanic_44/usr/src/stand/lib/inet/
H A Ddhcpv4.c450 PKT_LIST *wk, *tk, *best; in select_best() local
495 best = NULL; in select_best()
573 if (!best) in select_best()
574 best = wk; in select_best()
576 if (best->offset < wk->offset) in select_best()
577 best = wk; in select_best()
580 if (best) { in select_best()
582 printf("%s: Found best: points: %d\n", s_n, best->offset); in select_best()
584 remove_list(best, B_FALSE); in select_best()
590 return (best); in select_best()
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Drequest.c535 PKT_LIST *next, *best = NULL; in select_best() local
572 best = current; in select_best()
578 best = current; in select_best()
582 if (best != NULL) { in select_best()
584 remque(best); in select_best()
589 return (best); in select_best()
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c133 name_entry_t *ne, *best; in fix_paths() local
163 best = NULL; in fix_paths()
170 best = ne; in fix_paths()
185 if (count > matched || best == NULL) { in fix_paths()
186 best = ne; in fix_paths()
192 if (best == NULL) in fix_paths()
195 if (nvlist_add_string(nv, ZPOOL_CONFIG_PATH, best->ne_name) != 0) in fix_paths()
198 if ((devid = get_devid(best->ne_name)) == NULL) { in fix_paths()
/titanic_44/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c1592 uint64_t best; in do_mem_alloc() local
1609 best = (uint64_t)-size; in do_mem_alloc()
1621 best = next_avail_addr; in do_mem_alloc()
1628 if (start > next_avail_addr && start < best && in do_mem_alloc()
1630 best = RNDUP(start, align); in do_mem_alloc()
1638 next_avail_addr = best + size; in do_mem_alloc()
1645 (void) memset((void *)(uintptr_t)best, 0, size); in do_mem_alloc()
1646 return ((void *)(uintptr_t)best); in do_mem_alloc()
/titanic_44/usr/src/cmd/mailx/
H A Doptim.c56 static char best(int src, int dest);
819 n = best(state, *cp); in prefer()
831 best(int src, int dest) in best() function
/titanic_44/usr/src/uts/common/syscall/
H A Dlgrpsys.c572 lgrp_id_t best; in lgrp_affinity_set_thread() local
618 best = best_lpl->lpl_lgrpid; in lgrp_affinity_set_thread()
619 if (affs[best] > affs[home] || (affs[best] == affs[home] && in lgrp_affinity_set_thread()
620 best == lgrp)) in lgrp_affinity_set_thread()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dif.c496 struct interface **best) in addr_on_ifp() argument
498 struct interface *p_best = *best; in addr_on_ifp()
508 *best = NULL; in addr_on_ifp()
517 *best = NULL; in addr_on_ifp()
525 *best = ifp; in addr_on_ifp()
/titanic_44/usr/src/uts/sun4/io/
H A Dtrapstat.c756 hrtime_t ts, best = INT64_MAX; in trapstat_probe_laps() local
764 if ((ts = rdtick() - ts) < best) in trapstat_probe_laps()
765 best = ts; in trapstat_probe_laps()
769 return (best); in trapstat_probe_laps()
/titanic_44/usr/src/cmd/ssh/doc/
H A DREADME26 unices. This port has been best tested on Linux, Solaris, HPUX, NetBSD
/titanic_44/usr/src/cmd/loadkeys/type_4/
H A Dcanada58 # best place has already been used up with ^^.
/titanic_44/usr/src/lib/libshell/common/
H A Dbuiltins.mm93 It is best to set the value of the environment variable
249 The best thing to do is to include the header file \f5<shell.h>\fP.
309 For error messages it is best to use the \fBast\fP library
347 For consistency with the rest of \f5ksh\fP, it is best
446 The best way to to allocate variable sized storage is
/titanic_44/usr/src/cmd/lp/filter/postscript/postio/
H A DREADME35 status queries sent every block or two. It's not how to get the best performance,

1234