Home
last modified time | relevance | path

Searched refs:pref (Results 1 – 25 of 31) sorted by relevance

12

/titanic_41/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c50 char **array, **arrayp, *name, *p, *pref, buf[MAXPATHLEN]; local
75 if ((pref = getcwd(buf, sizeof(buf))) == NULL)
78 pref = NULL;
82 return (__build_data(dblp, pref, listp, db_malloc));
135 if ((ret = __absname(pref, name, &array[n])) != 0)
181 __build_data(dblp, pref, listp, db_malloc) in __build_data() argument
183 char *pref, ***listp;
293 if (pref != NULL) {
294 ret = __absname(pref, real_name, &array[last]);
341 __absname(pref, name, newnamep) in __absname() argument
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dgetdxbyname.c175 int i, n, pref, txt_len; in decode_answer() local
187 pref = 0; in decode_answer()
189 pref *= 10; in decode_answer()
190 pref += ( *r - '0' ); in decode_answer()
195 dx_pref[ dx_count ] = pref; in decode_answer()
/titanic_41/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_ecache.c59 ecache_scan_dir(const char *dir, const char *pref, char *buf, size_t bufsz) in ecache_scan_dir() argument
72 if (strncmp(dp->d_name, pref, strlen(pref)) != 0) in ecache_scan_dir()
/titanic_41/usr/src/cmd/rexd/
H A Dwhere.c249 preflen(str, pref) in preflen() argument
250 char *str, *pref; in preflen()
254 len = strlen(pref);
255 if (strncmp(str, pref, len) == 0)
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_retr.c132 pref (krb5_enctype my_ktype, int nktypes, krb5_enctype *ktypes) in pref() function
215 int pref; in krb5_cc_retrieve_cred_seq() member
241 fetched.pref = pref (fetchcreds.keyblock.enctype, in krb5_cc_retrieve_cred_seq()
243 if (fetched.pref < 0) in krb5_cc_retrieve_cred_seq()
245 else if (!have_creds || fetched.pref < best.pref) { in krb5_cc_retrieve_cred_seq()
/titanic_41/usr/src/uts/intel/promif/
H A Dprom_env.c67 prom_set_outfuncs(void (*pref)(void), void (*postf)(void)) in prom_set_outfuncs()
69 pmwrapper.preout = pref; in prom_set_outfuncs()
/titanic_41/usr/src/cmd/power/
H A Dconf.c396 conf_scanner(prmup_t *pref) in conf_scanner() argument
398 mesg(MDEBUG, "\nscanning set is %s\n", pref ? pref->set : "both"); in conf_scanner()
399 checkup = pref; in conf_scanner()
400 parse_conf_file((pref == NULL || pref->perm) in conf_scanner()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncinit.c48 static int prefix(char *arg, char *pref);
284 prefix(char *arg, char *pref) in prefix() argument
286 return (strncmp(arg, pref, strlen(pref)) == 0); in prefix()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_bmap.c317 daddr_t ob, nb, pref, lbn, llbn, tbn; in bmap_write() local
397 pref = blkpref(ip, llbn, (int)llbn, &ip->i_db[0]); in bmap_write()
398 err = realloccg(ip, ob, pref, (int)osize, (int)bsize, in bmap_write()
468 pref = blkpref(ip, lbn, (int)lbn, in bmap_write()
470 err = realloccg(ip, ob, pref, (int)osize, in bmap_write()
499 pref = blkpref(ip, lbn, (int)lbn, &ip->i_db[0]); in bmap_write()
500 err = alloc(ip, pref, (int)nsize, &nb, cr); in bmap_write()
592 pref = 0; in bmap_write()
628 pref = blkpref(ip, lbn, 0, (daddr32_t *)0); in bmap_write()
629 err = alloc(ip, pref, (int)bsize, &nb, cr); in bmap_write()
[all …]
/titanic_41/usr/src/psm/promif/ieee1275/common/
H A Dprom_env.c169 prom_set_outfuncs(void (*pref)(void), void (*postf)(void)) in prom_set_outfuncs()
171 pmwrapper.preout = pref; in prom_set_outfuncs()
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_common.h108 uint32_t pref:1; /* [28] preference */ member
116 uint32_t pref:1; /* [28] preference */
/titanic_41/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c66 pathsuffix(char *full, char *pref) in pathsuffix() argument
70 if (full == NULL || pref == NULL) in pathsuffix()
73 preflen = strlen(pref); in pathsuffix()
74 if (strncmp(pref, full, preflen) != 0) in pathsuffix()
/titanic_41/usr/src/cmd/sendmail/src/
H A Ddomain.c224 unsigned short pref, type; local
367 GETSHORT(pref, cp);
388 bp, pref);
391 if (!seenlocal || pref < localpref)
392 localpref = pref;
400 prefs[nmx] = pref;
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/
H A DCLChoice.java425 Dimension pref = menu.preferredSize(); in getMenuBounds() local
430 r.x = Math.min(x, size.width - pref.width); in getMenuBounds()
432 r.width = Math.min(pref.width, size.width - r.x); in getMenuBounds()
468 Dimension pref = menu.preferredSize(); in getWindowMenuBounds() local
478 r.width = pref.width; in getWindowMenuBounds()
/titanic_41/usr/src/cmd/diff/
H A Ddiff.c129 int pref, suff; /* length of prefix and suffix */ variable
588 J[i] = i <= pref ? i : in unravel()
592 J[q->x + pref] = q->y + pref; in unravel()
1971 for (pref = 0; pref < len[0] && pref < len[1] && in prune()
1972 file[0][pref + 1].value == file[1][pref + 1].value; in prune()
1973 pref++) in prune()
1975 for (suff = 0; (suff < len[0] - pref) && in prune()
1976 (suff < len[1] - pref) && in prune()
1987 sfile[j] = file[j] + pref; in prune()
1988 slen[j] = len[j] - pref - suff; in prune()
/titanic_41/usr/src/uts/common/os/
H A Dpid.c636 proc_unref(void *pref) in proc_unref() argument
639 PID_RELE((struct pid *)pref); in proc_unref()
651 proc_signal(void *pref, int sig) in proc_signal() argument
653 struct pid *pidp = pref; in proc_signal()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drdisc.c877 uint32_t pref, /* signed and in network order */ in parse_ad() argument
908 pref = UNSIGN_PREF(ntohl(pref)); in parse_ad()
910 if (pref == DEF_PREFERENCELEVEL || life < MIN_MAXADVERTISEINTERVAL) { in parse_ad()
911 pref = DEF_PREFERENCELEVEL; in parse_ad()
933 (pref > drp->dr_pref && in parse_ad()
970 new_drp->dr_recv_pref = pref; in parse_ad()
972 new_drp->dr_pref = PREF(pref, ifp); in parse_ad()
H A Dtable.c320 uint8_t pref, in ag_check() argument
349 nc_ag.ag_pref = pref; in ag_check()
440 if (pref <= ag->ag_pref) { in ag_check()
446 ag->ag_pref = pref; in ag_check()
495 ag->ag_pref == pref && in ag_check()
525 } else if (ag->ag_pref >= pref && in ag_check()
570 ag->ag_pref = pref; in ag_check()
571 pref = tmp; in ag_check()
653 nag->ag_pref = pref; in ag_check()
1979 uint8_t metric, pref; in walk_kern() local
[all …]
H A Doutput.c495 uint8_t metric, pref; in walk_supply() local
697 pref = RT->rt_poison_metric + ws.metric; in walk_supply()
708 pref = (HOPCNT_INFINITY+1); in walk_supply()
718 if (!(ws.state & WS_ST_QUERY) && (pref >= HOPCNT_INFINITY || in walk_supply()
729 ag_check(dst, RT->rt_mask, 0, RT->rt_ifp, nhop, metric, pref, in walk_supply()
H A Dif.c695 int pref; in check_dup() local
724 pref = 0; in check_dup()
726 pref++; in check_dup()
728 pref += 2; in check_dup()
730 pref += 4; in check_dup()
731 if (pref > best_pref) { in check_dup()
732 best_pref = pref; in check_dup()
/titanic_41/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c901 pathsuffix(char *full, char *pref) in pathsuffix() argument
905 if (full == NULL || pref == NULL) in pathsuffix()
908 preflen = strlen(pref); in pathsuffix()
909 if (strncmp(pref, full, preflen) != 0) in pathsuffix()
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_common.h329 uint32_t pref:1; /* [28] preference */ member
337 uint32_t pref:1; /* [28] preference */
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c178 show_header(char *pref, char *str, int len) in show_header() argument
180 prot_prefix = pref; in show_header()
183 prot_nest_prefix, pref, str); in show_header()
/titanic_41/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Drequest.c441 int pref = *(const uchar_t *)(d6o + 1); in compute_points_v6() local
443 if (pref == 255) in compute_points_v6()
445 points += 10 * pref; in compute_points_v6()
/titanic_41/usr/src/cmd/mdb/sparc/mdb/
H A Dproc_isadep.c520 pt_addfpreg(mdb_nv_t *nvp, uint_t rnum, uint_t rnam, char pref, ushort_t flags) in pt_addfpreg() argument
525 (void) mdb_iob_snprintf(name, sizeof (name), "%c%u", pref, rnam); in pt_addfpreg()

12