Searched refs:pfx (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/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...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Dtempnam.c31 char *tempnam(dir, pfx)
32 char *dir, *pfx;
40 len = strlen(dir) + strlen(pfx) + 10;
46 sprintf(tnm, "%s/%s%d%d", dir, pfx, pid, seq++);
/illumos-gate/usr/src/lib/libast/common/path/
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:__anon2659
102 pathtemp(char* buf, size_t len, const char* dir, const char* pfx, int* fdp) argument
118 if (pfx && *pfx
[all...]
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))
/illumos-gate/usr/src/lib/libcmd/common/
H A Dmktemp.c77 char* pfx; local
92 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU);
94 error(ERROR_exit(0), "%s: invalid mode", pfx);
126 if (error_info.errors || (pfx = *argv++) && *argv)
132 if (!pfx)
134 pfx = "tmp_";
138 if (t = strrchr(pfx, '/'))
140 i = ++t - pfx;
142 memcpy(dir, pfx, i);
144 pfx
[all...]
/illumos-gate/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);
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dtempnam.c45 tempnam(dir, pfx)
47 char *pfx; /* use this (if non-NULL) as filename prefix */
73 if(pfx) {
75 (void)strncat(p, pfx, 5);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccbase.c183 char *pfx, *cp; local
193 pfx = NULL;
206 pfx = strdup("FILE");
207 if (!pfx)
214 pfx = malloc (pfxlen+1);
215 if (!pfx)
218 memcpy (pfx, name, pfxlen);
219 pfx[pfxlen] = '\0';
224 err = krb5int_cc_getops(context, pfx, &ops);
225 if (pfx !
240 krb5int_cc_getops( krb5_context context, const char *pfx, const krb5_cc_ops **ops) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dktbase.c133 char *pfx; local
147 pfx = strdup("FILE");
148 if (!pfx)
155 pfx = malloc (pfxlen+1);
156 if (!pfx)
159 memcpy (pfx, name, pfxlen);
160 pfx[pfxlen] = '\0';
174 if (strcmp (tlist->ops->prefix, pfx) == 0) {
175 free(pfx);
179 free(pfx);
[all...]
/illumos-gate/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
/illumos-gate/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))
337 pfx = np;
340 crown_head = pfx;
344 crown_body = pfx;
348 crown_body = pfx;
593 l = pfx;
/illumos-gate/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);
/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c731 klpd_reg_t *pfx; local
742 pfx = kmem_zalloc(sizeof (*pfx), KM_SLEEP);
744 pfx->klpd_door = dh;
745 pfx->klpd_door_pid = di.di_target;
746 pfx->klpd_ref = 1;
747 pfx->klpd_cred = NULL;
749 pfx = klpd_link(pfx, &myzone->zone_pfexecd, B_TRUE);
751 if (pfx !
[all...]
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_slot.c872 const char *pfx, *sfx; local
875 pfx = "!";
878 pfx = sfx = "";
885 "%s%s%d: slot %d: %s%s", pfx,
890 pfx, fmt, sfx);
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dpk11keys.c826 uchar_t *pfx; local
830 pfx = MD5_DER_PREFIX;
834 pfx = SHA1_DER_PREFIX;
838 pfx = SHA256_DER_PREFIX;
842 pfx = SHA384_DER_PREFIX;
846 pfx = SHA512_DER_PREFIX;
853 (void) memcpy(output->Data, pfx, pfxlen);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtrap.c311 * pfx!=0 prepends SIG to default signal number
313 static char* sig_name(int sig, char* buf, int pfx) argument
338 else if(pfx)
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c1337 const char *pfx, *sfx; local
1340 pfx = "flt";
1344 pfx = "err";
1347 pfx = "info";
1353 g_root ? g_root : "", pfx, sfx);
/illumos-gate/usr/src/cmd/make/bin/
H A Dread.cc137 char *pfx = make_install_prefix(); local
145 asprintf(&path, "%s/../share/lib/make", pfx);
150 asprintf(&path, "%s/../../share/", pfx);
161 free(pfx);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c2591 const char *pfx; local
2618 for (pfx = prefixes[0], i = 0;
2619 pfx != NULL;
2620 ++i, pfx = prefixes[i]) {
2621 if (strncmp(prop->sc_property_name, pfx,
2622 strlen(pfx)) == 0) {
/illumos-gate/usr/src/lib/libbsm/
H A Dauditxml36 -e pfx Internal event prefix (default: AUE)
37 -i pfx Interface prefix (default: adt)
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_api.c1958 const char *pfx, boolean_t chkpfx)
1965 chkpfx == B_TRUE && strncmp(class, pfx, strlen(pfx)) != 0)
1967 pfx, class ? class : "(empty)");
1956 fmd_nvl_create_suspect(fmd_hdl_t *hdl, const char *class, uint8_t certainty, nvlist_t *asru, nvlist_t *fru, nvlist_t *rsrc, const char *pfx, boolean_t chkpfx) argument
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c1847 printsatime(FILE *file, int64_t lt, const char *msg, const char *pfx, argument
1864 (void) fprintf(file, msg, pfx, tp);
/illumos-gate/usr/src/lib/libc/port/
H A Dllib-lc1333 char *tempnam(const char *dir, const char *pfx);

Completed in 124 milliseconds