Searched defs:pfx (Results 1 - 15 of 15) sorted by relevance

/osnet-11/usr/src/lib/libast/common/comp/
H A Dtempnam.c55 tempnam(const char* dir, const char* pfx) argument
57 return pathtmp(NiL, dir, pfx, NiL);
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathtmp.c35 pathtmp(char* buf, const char* dir, const char* pfx, int* fdp) argument
40 return pathtemp(buf, len, dir, pfx, fdp);
H A Dpathposix.c100 static const char pfx[] = "/dev/fs"; local
103 if (!strncasecmp(path, pfx, sizeof(pfx) - 1))
H A Dpathtemp.c28 * [<dir>/][<pfx>]<bas>.<suf>
30 * length(<pfx>)<=5
46 * dir and pfx may be 0
47 * if pfx contains trailing X's then it is a mktemp(3) template
48 * otherwise only first 5 chars of pfx are used
56 * / as first pfx char provides tmp file generation control
96 char* pfx; member in struct:__anon1176
102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) argument
118 if (pfx && *pfx
[all...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dmktemp.c77 char* pfx; local
90 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU);
92 error(ERROR_exit(0), "%s: invalid mode", pfx);
124 if (error_info.errors || (pfx = *argv++) && *argv)
130 if (!pfx)
132 pfx = "tmp_";
136 if (t = strrchr(pfx, '/'))
138 i = ++t - pfx;
140 memcpy(dir, pfx, i);
142 pfx
[all...]
/osnet-11/usr/src/lib/libc/port/stdio/
H A Dtempnam.c55 const char *pfx) /* use this (if non-NULL) as filename prefix */
83 if (pfx) {
85 (void) strncat(p, pfx, 5);
54 tempnam(const char *dir, const char *pfx) argument
/osnet-11/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,
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dtrap.c311 * pfx!=0 prepends SIG to default signal number
313 static char* sig_name(Shell_t *shp,int sig, char* buf, int pfx) argument
338 else if(pfx)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcccursor.c43 char *pfx; member in struct:cc_fullname
86 n->fullnames[i].pfx = n->fullnames[i].res = NULL;
185 if (c->fullnames[i].pfx != NULL)
186 free(c->fullnames[i].pfx);
273 if (fullname->pfx == NULL || fullname->res == NULL)
275 if (strcmp(prefix, fullname->pfx))
307 fullname->pfx = strdup(krb5_cc_get_type(context, *ccache));
H A Dccbase.c192 char *pfx, *cp; local
200 pfx = NULL;
213 pfx = strdup("FILE");
214 if (!pfx)
221 pfx = malloc (pfxlen+1);
222 if (!pfx)
225 memcpy (pfx, name, pfxlen);
226 pfx[pfxlen] = '\0';
231 err = krb5int_cc_getops(context, pfx, &ops);
232 if (pfx !
247 krb5int_cc_getops(krb5_context context, const char *pfx, const krb5_cc_ops **ops) argument
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktbase.c166 char *pfx = NULL; local
182 pfx = strdup("FILE");
183 if (!pfx)
188 pfx = strdup("FILE");
189 if (!pfx)
195 pfx = malloc (pfxlen+1);
196 if (!pfx)
199 memcpy (pfx, name, pfxlen);
200 pfx[pfxlen] = '\0';
214 if (strcmp (tlist->ops->prefix, pfx)
[all...]
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregdecomp.c312 char pfx[1024]; local
318 detrie(e->re.trie.root[c], sp, pfx, pfx, &pfx[sizeof(pfx)], delimiter);
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c834 uchar_t *pfx; local
838 pfx = MD5_DER_PREFIX;
842 pfx = SHA1_DER_PREFIX;
846 pfx = SHA256_DER_PREFIX;
850 pfx = SHA384_DER_PREFIX;
854 pfx = SHA512_DER_PREFIX;
861 (void) memcpy(output->Data, pfx, pfxlen);
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dcrypto.c169 static int ntfs_pkcs12_load_pfxfile(const char *keyfile, u8 **pfx, argument
175 if (!keyfile || !pfx || !pfx_size) {
199 *pfx = malloc(key_stat.st_size + 1);
200 if (!*pfx) {
208 br = read(f, *pfx + total, to_read);
220 (*pfx)[key_stat.st_size] = 0;
224 free(*pfx);
297 static ntfs_rsa_private_key_t *ntfs_pkcs12_extract_rsa_key(u8 *pfx, argument
328 dpfx.data = pfx;
341 * to get password less .pfx file
[all...]
/osnet-11/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c1845 printsatime(FILE *file, int64_t lt, const char *msg, const char *pfx, argument
1862 (void) fprintf(file, msg, pfx, tp);

Completed in 55 milliseconds