Searched defs:prefix (Results 151 - 175 of 266) sorted by relevance

1234567891011

/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Dsys.c178 * prefix string in front.
181 write_help_str(const char *str, const char *prefix) argument
191 elfedit_printf(prefix);
239 /* Output the help text with a tab prefix */
/illumos-gate/usr/src/cmd/drd/
H A Ddrd_rcm.c106 static void dump_cpu_list(char *prefix, cpuid_t *cpuids, int ncpuids);
107 static void dump_cpu_rsrc_list(char *prefix, drctl_rsrc_t *, int nrsrc);
920 dump_cpu_list(char *prefix, cpuid_t *cpuids, int ncpuids) argument
930 /* print just the prefix if CPU list is empty */
932 if (prefix)
933 drd_dbg("%s", prefix);
942 /* start with the prefix */
943 (void) sprintf(curr, "%s", (prefix) ? prefix : "");
957 dump_cpu_rsrc_list(char *prefix, drctl_rsrc_ argument
1214 dump_mem_rsrc_list(char *prefix, drctl_rsrc_t *rsrcs, int nrsrc) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c470 const char *prefix = MSG_ORIG(MSG_PTH_OBJECT); local
481 * prefix name.
490 * Concatenate the prefix with the object filename, open the file and
494 if ((nname = malloc(strlen(prefix) + strlen(ofile) + 1)) != 0) {
495 (void) strcpy(nname, prefix);
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c195 char *prefix; local
203 /* Length of prefix and of suffix */
459 * prefix, left padding zeroes, a value,
469 * The prefix is a sign, a blank, "0x",
471 * "prefix".
522 prefix = "-";
535 prefix = "+";
538 prefix = " ";
665 prefix = "0x";
669 prefix
[all...]
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastconf.c275 int prefix; member in struct:__anon2776
329 state.prefix = strlen(state.name) + 1;
330 n = state.prefix + 3 * MAXVAL;
338 state.data += state.prefix - 1;
439 state.data -= state.prefix;
445 state.data += state.prefix;
456 error(-3, "astconf synthesize %s", state.data - state.prefix);
458 setenviron(state.data - state.prefix);
460 (*state.notify)(NiL, NiL, state.data - state.prefix);
825 for (p = prefix;
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftRSA.c960 get_rsa_sha1_prefix(CK_MECHANISM_PTR mech, CK_BYTE_PTR *prefix) { argument
962 *prefix = (CK_BYTE *)SHA1_DER_PREFIX;
966 *prefix = (CK_BYTE *)SHA1_DER_PREFIX_OID;
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_util.c153 * Initialize the prefix list. First add the "net" prefix for the
608 dlmgmt_generate_name(const char *prefix, char *name, size_t size, argument
615 * See whether the requested prefix is already in the list.
620 strcmp(prefix, lpp->lp_prefix) == 0)
631 * First add this new prefix into the prefix list.
640 (void) strlcpy(lpp->lp_prefix, prefix, MAXLINKNAMELEN);
643 * Now determine this prefix's nextppa.
646 prefix,
667 char prefix[MAXLINKNAMELEN]; local
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_ident.c52 int argc, dt_node_t *args, const char *prefix, const char *suffix)
75 "passed, %s%d expected\n", prefix, idp->di_name, suffix,
91 prefix, idp->di_name, suffix,
51 dt_idcook_sign(dt_node_t *dnp, dt_ident_t *idp, int argc, dt_node_t *args, const char *prefix, const char *suffix) argument
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_engine.c540 char *prefix; local
543 prefix = gettext("Warning: ");
545 prefix = "";
547 tmpl_errors_print(stderr, errs, prefix);
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddiskmon_conf.c670 print_inds(indicator_t *indp, FILE *fp, char *prefix) argument
674 (void) fprintf(fp, "%sindicators {\n", prefix);
677 (void) fprintf(fp, "%s\t%c%s = \"%s\"\n", prefix, plusminus,
681 (void) fprintf(fp, "%s}\n", prefix);
685 print_indrules(indrule_t *lrp, FILE *fp, char *prefix) argument
690 (void) fprintf(fp, "%sindicator_rules {\n", prefix);
692 (void) fprintf(fp, "%s\t%12s -> %12s\t{ ", prefix,
707 (void) fprintf(fp, "%s}\n", prefix);
711 print_props(nvlist_t *nvlp, FILE *fp, char *prefix) argument
720 (void) fprintf(fp, "%s%s = \"%s\"\n", prefix, nam
726 print_ap(nvlist_t *dpp, FILE *fp, char *prefix) argument
741 print_disks(diskmon_t *dmp, FILE *fp, char *prefix) argument
772 print_cfgdata(cfgdata_t *cfgp, FILE *fp, char *prefix) argument
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dconfigd.c398 configd_vlog(int severity, const char *prefix, const char *message, argument
405 if (prefix != NULL)
406 (void) fprintf(stderr, "%s", prefix);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgethostent.c642 int ifindex, prefix, flag3, flag4; local
649 address, &ifindex, &prefix, &flag3, &flag4, name) == 6)
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dtypeset.c50 char *prefix; member in struct:tdata
96 tdata.prefix = command;
116 if(tdata.prefix)
117 sfputr(sfstdout,tdata.prefix,' ');
126 if(!tdata.sh->prefix)
127 tdata.sh->prefix = "";
155 tdata.prefix = argv[0];
280 tdata.prefix = opt_info.arg;
308 tdata.prefix = argv[0];
388 sfputr(stkp,tdata.prefix,
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dglob.c296 register char* prefix; local
331 prefix = dirname = ap->gl_path + gp->gl_extra;
332 first = (rescan == prefix);
353 c = (*gp->gl_type)(gp, prefix, 0);
356 addmatch(gp, NiL, prefix, NiL, rescan - 1, anymeta);
358 else if ((anymeta || !(gp->gl_flags & GLOB_NOCHECK)) && (*gp->gl_type)(gp, prefix, 0))
359 addmatch(gp, NiL, prefix, NiL, NiL, anymeta);
406 if (pat == prefix)
408 prefix = 0;
419 if (pat == prefix
[all...]
H A Dmime.c77 int prefix; member in struct:__anon5
348 if (!wp->pattern || !strncasecmp(ent->name, wp->pattern, wp->prefix) && (!ent->name[wp->prefix] || ent->name[wp->prefix] == '/'))
390 static const char* prefix[] = { "", "", "x-", "x-", "" }; local
412 for (i = 0; i < elementsof(prefix) - 1; i++)
414 sfprintf(mp->buf, "%s%s/%s%s", prefix[i], lp, prefix[i + 1], rp);
422 sfprintf(mp->buf, "%s%s/%s%s", prefix[i], lp, prefix[
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb.c1074 const char *prefix = "", *usage = ""; local
1080 prefix = "address::";
1082 prefix = "address";
1087 prefix = "[address]::";
1089 prefix = "[address]";
1096 mdb_iob_printf(iob, "Usage: %s%s %s\n", prefix, idcp->idc_name, usage);
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c198 char *prefix; member in struct:__anon1
257 for (i = 0; types[i].prefix != NULL; i++) {
258 len = strlen(types[i].prefix);
260 if (strncmp(name, types[i].prefix, len) != 0)
265 if (types[i].prefix == NULL)
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c317 snmp_get_int(picl_snmphdl_t hdl, char *prefix, int row, int *val, argument
325 if (smd == NULL || prefix == NULL || val == NULL)
332 if ((grp = locate_oid_group(smd, prefix)) == NULL) {
333 ret = fetch_single_int(smd, prefix, row, val, &err);
344 if (lookup_int(prefix, row, val, grp->is_volatile) == 0)
357 if (lookup_int(prefix, row, val, grp->is_volatile) < 0)
371 snmp_get_str(picl_snmphdl_t hdl, char *prefix, int row, char **strp, argument
380 if (smd == NULL || prefix == NULL || strp == NULL)
388 if ((grp = locate_oid_group(smd, prefix)) == NULL) {
389 ret = fetch_single_str(smd, prefix, ro
435 snmp_get_bitstr(picl_snmphdl_t hdl, char *prefix, int row, uchar_t **bitstrp, uint_t *nbytes, int *snmp_syserr) argument
501 snmp_get_nextrow(picl_snmphdl_t hdl, char *prefix, int row, int *nextrow, int *snmp_syserr) argument
595 lookup_int(char *prefix, int row, int *valp, int is_vol) argument
649 lookup_str(char *prefix, int row, char **valp, int is_vol) argument
703 lookup_bitstr(char *prefix, int row, uchar_t **valp, uint_t *nelem, int is_vol) argument
741 search_oid_in_group(char *prefix, char *oidstrs, int n_oids) argument
758 locate_oid_group(struct picl_snmphdl *smd, char *prefix) argument
779 fetch_single_int(struct picl_snmphdl *smd, char *prefix, int row, int *ival, int *snmp_syserr) argument
814 fetch_single_str(struct picl_snmphdl *smd, char *prefix, int row, char **valp, int *snmp_syserr) argument
837 fetch_single_bitstr(struct picl_snmphdl *smd, char *prefix, int row, uchar_t **valp, uint_t *nelem, int *snmp_syserr) argument
867 fetch_single(struct picl_snmphdl *smd, char *prefix, int row, int *snmp_syserr) argument
965 fetch_next(struct picl_snmphdl *smd, char *prefix, int row, int *snmp_syserr) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dttyname.c390 char prefix; local
398 prefix = 't';
409 prefix = 'p';
425 prefix, 'p' + dmin / 16, "0123456789abcdef"[dmin % 16]);
/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Dattribute.c1073 char *prefix = NULL; local
1084 while (vsnprintf(prefix, size, newfmt, ap) > size) {
1086 mem = realloc(prefix, size);
1088 prefix = mem;
1094 while (papiAttributeListToString(attributes, prefix, buffer,
1103 fprintf(fp, "%s%s\n", prefix, buffer ? buffer : "");
1108 free(prefix);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dexec.c592 register char * prefix; local
594 prefix = makestr(
614 prefix,
/illumos-gate/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c459 dns2dn(const char *dns, const char *prefix) argument
470 buf = (char *)malloc(strlen(prefix) + strlen(dns) + 4 * num_lvl);
471 (void) strcpy(buf, prefix);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvtree.c372 static void outtype(Namval_t *np, Namfun_t *fp, Sfio_t* out, const char *prefix) argument
382 outtype(np,fp,out,prefix);
386 if(prefix && *prefix=='t')
388 else if(!prefix)
404 void nv_attribute(register Namval_t *np,Sfio_t *out,char *prefix,int noname) argument
419 if(prefix && *prefix)
422 sfprintf(out,"%s -C ",prefix);
424 sfputr(out,prefix,' ');
755 genvalue(char **argv, const char *prefix, int n, struct Walk *wp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspace_map.c74 uint8_t prefix = SM_PREFIX_DECODE(e); local
75 return (prefix != SM_DEBUG_PREFIX && prefix != SM2_PREFIX);
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.c71 /* Converts a prefix length to IPv6 network mask */
232 * Converts prefix length to network mask. Assumes
233 * addr points to a zeroed out buffer and prefix <= sizeof(addr)
237 static void plen_to_netmask(int prefix, unsigned char *addr) { argument
238 for (; prefix > 8; prefix -= 8)
240 for (; prefix > 0; prefix--)
746 /* Some platforms (*BSD) inject the prefix in IPv6LL addresses */

Completed in 131 milliseconds

1234567891011