Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathtemp.c96 char* pfx; member
118 if (pfx && *pfx == '/') in pathtemp()
120 pfx++; in pathtemp()
131 return (char*)pfx; in pathtemp()
135 if (tmp.pfx) in pathtemp()
136 free(tmp.pfx); in pathtemp()
138 return (char*)pfx; in pathtemp()
239 if (!pfx && !(pfx = tmp.pfx)) in pathtemp()
240 pfx = "ast"; in pathtemp()
241 m = strlen(pfx); 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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcprefix.c77 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
133 memset(pfx, 0, sizeof(*pfx));
135 pfx->disc.writef = pfxwrite;
137 pfx->length = n;
144 pfx->empty = n;
146 if (sfdisc(f, &pfx->disc) != &pfx->disc)
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dmktemp.c77 char* pfx; in b_mktemp() local
90 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU); in b_mktemp()
92 error(ERROR_exit(0), "%s: invalid mode", pfx); in b_mktemp()
124 if (error_info.errors || (pfx = *argv++) && *argv) in b_mktemp()
130 if (!pfx) in b_mktemp()
132 pfx = "tmp_"; in b_mktemp()
136 if (t = strrchr(pfx, '/')) in b_mktemp()
138 i = ++t - pfx; in b_mktemp()
140 memcpy(dir, pfx, i); in b_mktemp()
142 pfx = t; in b_mktemp()
[all …]
/illumos-gate/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()
225 if (pfx != NULL) in krb5_cc_resolve()
226 free(pfx); in krb5_cc_resolve()
[all …]
/illumos-gate/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()
/illumos-gate/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++);
/illumos-gate/usr/src/cmd/fmt/
H A Dfmt.c56 int pfx; /* Current leading blank count */ variable
322 if (crown_state == c_none && np != pfx && (np > pfx || abs(pfx-np) > 8)) in prefix()
338 pfx = np; in prefix()
341 crown_head = pfx; in prefix()
345 crown_body = pfx; in prefix()
349 crown_body = pfx; in prefix()
594 l = pfx; in leadin()
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dtempnam.c55 tempnam(const char* dir, const char* pfx) in tempnam() argument
57 return pathtmp(NiL, dir, pfx, NiL); in tempnam()
/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c731 klpd_reg_t *pfx; in pfexec_reg() local
742 pfx = kmem_zalloc(sizeof (*pfx), KM_SLEEP); in pfexec_reg()
744 pfx->klpd_door = dh; in pfexec_reg()
745 pfx->klpd_door_pid = di.di_target; in pfexec_reg()
746 pfx->klpd_ref = 1; in pfexec_reg()
747 pfx->klpd_cred = NULL; in pfexec_reg()
749 pfx = klpd_link(pfx, &myzone->zone_pfexecd, B_TRUE); in pfexec_reg()
751 if (pfx != NULL) in pfexec_reg()
752 klpd_rele(pfx); in pfexec_reg()
H A Dlogsubr.c189 const char *pfx = (num == 0) ? "\r" : ""; in log_bootbanner_print() local
191 printf("%s%s\n", pfx, line); in log_bootbanner_print()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/sdcard/impl/
H A Dsda_slot.c875 const char *pfx, *sfx; in sda_slot_vprintf() local
878 pfx = "!"; in sda_slot_vprintf()
881 pfx = sfx = ""; in sda_slot_vprintf()
888 "%s%s%d: slot %d: %s%s", pfx, in sda_slot_vprintf()
893 pfx, fmt, sfx); in sda_slot_vprintf()
/illumos-gate/usr/src/cmd/connstat/
H A Dconnstat_main.c442 char *pfx = parsable ? "= " : ""; in print_timestamp() local
454 (void) printf("%s%ld\n", pfx, t); in print_timestamp()
462 (void) printf("%s%s\n", pfx, dstr); in print_timestamp()
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtrap.c337 static char* sig_name(Shell_t *shp,int sig, char* buf, int pfx) in sig_name() argument
362 else if(pfx) in sig_name()
/illumos-gate/usr/src/cmd/make/bin/
H A Dread.cc139 char *pfx = make_install_prefix(); in read_simple_file() local
147 asprintf(&path, "%s/../share/lib/make", pfx); in read_simple_file()
152 asprintf(&path, "%s/../../share/", pfx); in read_simple_file()
163 free(pfx); in read_simple_file()
/illumos-gate/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()
/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) 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()
/illumos-gate/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
/illumos-gate/usr/src/cmd/init/
H A Dinit.c924 const char *pfx = (num == 0) ? "\n\n" : ""; in init_bootbanner_print() local
926 console(B_FALSE, "%s%s\r\n", pfx, line); in init_bootbanner_print()

12