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

1234567891011

/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c100 char *prefix; member in struct:__anon2535
192 /* Remove the "/dev/cfg/" prefix */
839 if (snprintf(cp, len, "%s%d", disk_slices[i].prefix, j)
977 /* not top level - Remove DEV_DIR SLASH prefix */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c111 u_short prefix; /* preceding code */ member in struct:bsd_db::bsd_dict::__anon125::__anon126
117 u_short prefix; /* preceding code */
164 #define BSD_HASH(prefix,suffix,hshift) ((((u_int32_t)(suffix)) << (hshift)) \
165 ^ (u_int32_t)(prefix))
166 #define BSD_KEY(prefix,suffix) ((((u_int32_t)(suffix)) << 16) \
167 + (u_int32_t)(prefix))
473 continue; /* found (prefix,suffix) */
487 continue; /* finally found (prefix,suffix) */
489 nomatch: /* output (count) the prefix */
671 finchar = dictp->f.hs.prefix;
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dconfig.c36 * prefix <prefix>/<length> <ifname> [<variable> <value>]*
39 * "if" and "prefix" entries.
122 * Per prefix: AdvPrefixList configuration variables.
304 } else if (strcmp(argvec[0], "prefix") == 0) {
372 logmsg(LOG_DEBUG, "Default prefix variables:\n");
646 char *ifname, *prefix; local
657 conferr("Missing prefix and/or interface name\n");
660 prefix = argvec[0];
665 prefixlen = parse_addrprefix(prefix,
[all...]
/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/uts/sparc/dtrace/
H A Dsdt.c190 char *prefix = prov->sdtp_prefix; local
192 if (strncmp(name, prefix, strlen(prefix)) == 0) {
193 name += strlen(prefix);
/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/contrib/mDNSResponder/mDNSPosix/
H A DmDNSUNP.c71 /* Converts a prefix length to IPv6 network mask */
220 * Converts prefix length to network mask. Assumes
221 * addr points to a zeroed out buffer and prefix <= sizeof(addr)
225 static void plen_to_netmask(int prefix, unsigned char *addr) argument
227 for (; prefix > 8; prefix -= 8)
229 for (; prefix > 0; prefix--)
735 /* Some platforms (*BSD) inject the prefix in IPv6LL addresses */
/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);

Completed in 309 milliseconds

1234567891011