Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libast/common/path/
H A Dpathtemp.c96 char* pfx; member
102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) in pathtemp() argument
118 if (pfx && *pfx == '/') in pathtemp()
120 pfx++; in pathtemp()
121 if (streq(pfx, "cycle")) in pathtemp()
131 return (char*)pfx; in pathtemp()
133 else if (streq(pfx, "prefix")) in pathtemp()
135 if (tmp.pfx) in pathtemp()
136 free(tmp.pfx); in pathtemp()
137 tmp.pfx = dir ? strdup(dir) : (char*)0; in pathtemp()
[all …]
H A Dpathposix.c100 static const char pfx[] = "/dev/fs"; in pathposix() local
103 if (!strncasecmp(path, pfx, sizeof(pfx) - 1)) in pathposix()
H A Dpathtmp.c35 pathtmp(char* buf, const char* dir, const char* pfx, int* fdp) in pathtmp() argument
40 return pathtemp(buf, len, dir, pfx, fdp); in pathtmp()
/titanic_41/usr/src/lib/libast/common/disc/
H A Dsfdcprefix.c56 register Prefix_t* pfx = (Prefix_t*)dp; local
77 if (pfx->skip)
78 pfx->skip = 0;
80 sfwr(f, pfx->prefix, n > 1 ? pfx->length : pfx->empty, dp);
85 pfx->skip = skip;
121 register Prefix_t* pfx; local
131 if (!(pfx = (Prefix_t*)malloc(sizeof(Prefix_t) + n)))
133 memset(pfx, 0, sizeof(*pfx));
135 pfx->disc.writef = pfxwrite;
136 pfx->disc.exceptf = pfxexcept;
[all …]
/titanic_41/usr/src/lib/libcmd/common/
H A Dmktemp.c77 char* pfx; in b_mktemp() local
92 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU); in b_mktemp()
94 error(ERROR_exit(0), "%s: invalid mode", pfx); in b_mktemp()
126 if (error_info.errors || (pfx = *argv++) && *argv) in b_mktemp()
132 if (!pfx) in b_mktemp()
134 pfx = "tmp_"; in b_mktemp()
138 if (t = strrchr(pfx, '/')) in b_mktemp()
140 i = ++t - pfx; in b_mktemp()
142 memcpy(dir, pfx, i); in b_mktemp()
144 pfx = t; in b_mktemp()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccbase.c183 char *pfx, *cp; in krb5_cc_resolve() local
193 pfx = NULL; in krb5_cc_resolve()
206 pfx = strdup("FILE"); in krb5_cc_resolve()
207 if (!pfx) in krb5_cc_resolve()
214 pfx = malloc (pfxlen+1); in krb5_cc_resolve()
215 if (!pfx) in krb5_cc_resolve()
218 memcpy (pfx, name, pfxlen); in krb5_cc_resolve()
219 pfx[pfxlen] = '\0'; in krb5_cc_resolve()
224 err = krb5int_cc_getops(context, pfx, &ops); in krb5_cc_resolve()
225 if (pfx != NULL) in krb5_cc_resolve()
[all …]
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktbase.c133 char *pfx; in krb5_kt_resolve() local
147 pfx = strdup("FILE"); in krb5_kt_resolve()
148 if (!pfx) in krb5_kt_resolve()
155 pfx = malloc (pfxlen+1); in krb5_kt_resolve()
156 if (!pfx) in krb5_kt_resolve()
159 memcpy (pfx, name, pfxlen); in krb5_kt_resolve()
160 pfx[pfxlen] = '\0'; in krb5_kt_resolve()
174 if (strcmp (tlist->ops->prefix, pfx) == 0) { in krb5_kt_resolve()
175 free(pfx); in krb5_kt_resolve()
179 free(pfx); in krb5_kt_resolve()
/titanic_41/usr/src/cmd/lp/filter/postscript/common/
H A Dtempnam.c31 char *tempnam(dir, pfx) in tempnam() argument
32 char *dir, *pfx; in tempnam()
40 len = strlen(dir) + strlen(pfx) + 10;
46 sprintf(tnm, "%s/%s%d%d", dir, pfx, pid, seq++);
/titanic_41/usr/src/lib/libbc/libc/stdio/common/
H A Dtempnam.c45 tempnam(dir, pfx) in tempnam() argument
47 char *pfx; /* use this (if non-NULL) as filename prefix */
73 if(pfx) {
75 (void)strncat(p, pfx, 5);
/titanic_41/usr/src/cmd/fmt/
H A Dfmt.c56 int pfx; /* Current leading blank count */ variable
321 if (crown_state == c_none && np != pfx && (np > pfx || abs(pfx-np) > 8)) in prefix()
337 pfx = np; in prefix()
340 crown_head = pfx; in prefix()
344 crown_body = pfx; in prefix()
348 crown_body = pfx; in prefix()
593 l = pfx; in leadin()
/titanic_41/usr/src/lib/libc/port/stdio/
H A Dtempnam.c55 const char *pfx) /* use this (if non-NULL) as filename prefix */ in tempnam() argument
83 if (pfx) { in tempnam()
85 (void) strncat(p, pfx, 5); in tempnam()
/titanic_41/usr/src/lib/libast/common/comp/
H A Dtempnam.c55 tempnam(const char* dir, const char* pfx) in tempnam() argument
57 return pathtmp(NiL, dir, pfx, NiL); in tempnam()
/titanic_41/usr/src/uts/common/os/
H A Dklpd.c729 klpd_reg_t *pfx; in pfexec_reg() local
740 pfx = kmem_zalloc(sizeof (*pfx), KM_SLEEP); in pfexec_reg()
742 pfx->klpd_door = dh; in pfexec_reg()
743 pfx->klpd_door_pid = di.di_target; in pfexec_reg()
744 pfx->klpd_ref = 1; in pfexec_reg()
745 pfx->klpd_cred = NULL; in pfexec_reg()
747 pfx = klpd_link(pfx, &myzone->zone_pfexecd, B_TRUE); in pfexec_reg()
749 if (pfx != NULL) in pfexec_reg()
750 klpd_rele(pfx); in pfexec_reg()
/titanic_41/usr/src/lib/libast/common/regex/
H A Dregdecomp.c312 char pfx[1024]; in decomp() local
318 detrie(e->re.trie.root[c], sp, pfx, pfx, &pfx[sizeof(pfx)], delimiter); in decomp()
/titanic_41/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c826 uchar_t *pfx; in PKCS_DigestData() local
830 pfx = MD5_DER_PREFIX; in PKCS_DigestData()
834 pfx = SHA1_DER_PREFIX; in PKCS_DigestData()
838 pfx = SHA256_DER_PREFIX; in PKCS_DigestData()
842 pfx = SHA384_DER_PREFIX; in PKCS_DigestData()
846 pfx = SHA512_DER_PREFIX; in PKCS_DigestData()
853 (void) memcpy(output->Data, pfx, pfxlen); in PKCS_DigestData()
/titanic_41/usr/src/uts/common/io/sdcard/impl/
H A Dsda_slot.c872 const char *pfx, *sfx; in sda_slot_vprintf() local
875 pfx = "!"; in sda_slot_vprintf()
878 pfx = sfx = ""; in sda_slot_vprintf()
885 "%s%s%d: slot %d: %s%s", pfx, in sda_slot_vprintf()
890 pfx, fmt, sfx); in sda_slot_vprintf()
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dtrap.c313 static char* sig_name(int sig, char* buf, int pfx) in sig_name() argument
338 else if(pfx) in sig_name()
/titanic_41/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c1337 const char *pfx, *sfx; in main() local
1340 pfx = "flt"; in main()
1344 pfx = "err"; in main()
1347 pfx = "info"; in main()
1353 g_root ? g_root : "", pfx, sfx); in main()
/titanic_41/usr/src/cmd/make/bin/
H A Dread.cc137 char *pfx = make_install_prefix(); in read_simple_file() local
145 asprintf(&path, "%s/../share/lib/make", pfx); in read_simple_file()
150 asprintf(&path, "%s/../../share/", pfx); in read_simple_file()
161 free(pfx); in read_simple_file()
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c2591 const char *pfx; in include_values_support() local
2618 for (pfx = prefixes[0], i = 0; in include_values_support()
2619 pfx != NULL; in include_values_support()
2620 ++i, pfx = prefixes[i]) { in include_values_support()
2621 if (strncmp(prop->sc_property_name, pfx, in include_values_support()
2622 strlen(pfx)) == 0) { in include_values_support()
/titanic_41/usr/src/lib/libbsm/
H A Dauditxml36 -e pfx Internal event prefix (default: AUE)
37 -i pfx Interface prefix (default: adt)
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_api.c1958 const char *pfx, boolean_t chkpfx) in fmd_nvl_create_suspect() argument
1965 chkpfx == B_TRUE && strncmp(class, pfx, strlen(pfx)) != 0) in fmd_nvl_create_suspect()
1967 pfx, class ? class : "(empty)"); in fmd_nvl_create_suspect()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A DREADME579 openssl pkcs12 -in example.pfx -out user.pem -clcerts
581 openssl pkcs12 -in example.pfx -out ca.pem -cacerts -nokeys
/titanic_41/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c1847 printsatime(FILE *file, int64_t lt, const char *msg, const char *pfx, in printsatime() argument
1864 (void) fprintf(file, msg, pfx, tp); in printsatime()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dcaps253 pkey_xmit, "pfx" "px" Prog funct key #1 to xmit string #2

12