/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | ruserpass.c | 56 static void rnetrc(const char *host, char **aname, char **apass); 118 _ruserpass(const char *host, char **aname, char **apass) argument 121 if (*aname == 0 || *apass == 0) 122 rnetrc(host, aname, apass); 123 if (*aname == 0) { 126 *aname = malloc(MAXANAME + 1); 131 if (read(2, *aname, MAXANAME) <= 0) 133 aname[0][MAXANAME] = '\0'; 134 if ((*aname)[0] == '\n') 135 (void) strcpy(*aname, mynam 150 rnetrc(const char *host, char **aname, char **apass) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | ruserpass.c | 100 _ruserpass(char *host, char **aname, char **apass) argument 103 if (*aname == 0 || *apass == 0) 104 rnetrc(host, aname, apass); 105 if (*aname == 0) { 107 *aname = malloc(16); 110 if (read(2, *aname, 16) <= 0) 112 if ((*aname)[0] == '\n') 113 *aname = myname; 115 if (index(*aname, '\n')) 116 *index(*aname, '\ 127 rnetrc(char *host, char **aname, char **apass) argument [all...] |
/illumos-gate/usr/src/cmd/fm/fmdump/common/ |
H A D | fault.c | 89 char *class = NULL, *rname = NULL, *aname = NULL, *fname = NULL; local 101 aname = fmdump_nvl2str(asru); 134 aname ? aname : "-"); 143 free(aname);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | ruserpass.c | 45 static int rnetrc(char *host, char **aname, char **apass, char **aacct); 49 ruserpass(char *host, char **aname, char **apass, char **aacct) argument 52 renv(host, aname, apass, aacct); 53 if (*aname == 0 || *apass == 0) 55 return (rnetrc(host, aname, apass, aacct)); 84 rnetrc(char *host, char **aname, char **apass, char **aacct) argument 122 if (*aname == 0) { 123 *aname = malloc((unsigned) 125 if (*aname == NULL) { 130 (void) strcpy(*aname, tokva [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mod.c | 271 char *modname = NULL, *aname, *aval; local 310 aname = nvpair_name(apair); 313 aname, aval);
|
H A D | pkg.c | 256 char *pkgname = NULL, *aname, *aval; local 287 aname = nvpair_name(apair); 290 aname, aval);
|
H A D | sw.c | 444 char *aname, *aval; local 451 aname = nvpair_name(apair); 454 aname, aval);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 189 static char aname[128]; local 250 np = (char *)inet_ntop(AF_INET6, (void *)ipaddr, aname, 251 sizeof (aname)); 276 aname[0] = '\0'; 278 h.h_hostname = aname;
|
H A D | snoop_netbios.c | 510 netbiosname2ascii(char *aname, uchar_t *nbname) argument 525 aname[j++] = c; 527 sprintf(&aname[j], "[%x]", c);
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 67 const char *aname = PATHNAME(lmp); local 72 if ((_str = strrchr(aname, '/')) != NULL) 73 aname = ++_str; 77 if (strcmp(aname, cname)) {
|
H A D | a.out.c | 371 aout_findsb(const char *aname, Rt_map *lmp, int flag) argument 373 const char *name = aname; 412 name = aname;
|
/illumos-gate/usr/src/lib/libipp/ |
H A D | libipp.c | 118 const char *aname, 129 if (nvlpp == NULL || modname == NULL || aname == NULL) { 154 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { 178 const char *aname, 188 if (aname == NULL) { 210 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { 235 const char *aname, 246 if (nvlpp == NULL || aname == NULL) { 263 if ((rc = nvlist_add_string(nvlp, IPPCTL_ANAME, (char *)aname)) != 0) { 287 const char *aname, 116 ipp_action_create( const char *modname, const char *aname, nvlist_t **nvlpp, ipp_flags_t flags) argument 177 ipp_action_destroy( const char *aname, ipp_flags_t flags) argument 234 ipp_action_modify( const char *aname, nvlist_t **nvlpp, ipp_flags_t flags) argument 286 ipp_action_info( const char *aname, int (*fn)(nvlist_t *, void *), void *arg, ipp_flags_t flags) argument 344 ipp_action_mod( const char *aname, char **modnamep) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | an_to_ln.c | 96 * Implementation: This version uses a DBM database, indexed by aname, 103 db_an_to_ln(context, dbname, aname, lnsize, lname) 106 krb5_const_principal aname; 116 if ((retval = krb5_unparse_name(context, aname, &princ_name))) 498 * rule_an_to_ln() - Handle aname to lname translations for RULE rules. 504 rule_an_to_ln(krb5_context context, char *rule, krb5_const_principal aname, const unsigned int lnsize, char *lname) argument 520 if (!(kret = krb5_unparse_name(context, aname, &fprincname))) { 526 if (num_comps == aname->length) { 549 ? krb5_princ_component(context, aname, 551 : krb5_princ_realm(context, aname)) 642 an_to_ln_realm_chk( krb5_context context, krb5_const_principal aname, char *def_realm, int realm_length) argument 686 default_an_to_ln(krb5_context context, krb5_const_principal aname, const unsigned int lnsize, char *lname) argument 754 krb5_aname_to_localname(krb5_context context, krb5_const_principal aname, const int lnsize_in, char *lname) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout.c | 607 char *aname = NULL; local 608 error = get_device_access_name(request, disk, &aname); 613 moddisk->accessname = aname;
|
/illumos-gate/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 193 char *aname = dm_get_name(alias, error); local 198 names[j] = strdup(aname); 204 dm_free_name(aname);
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 427 char aname[MAXHOSTNAMELEN]; /* alias result (C_NAME) */ local 674 n = dn_expand(bom, eor, cp, aname, MAXHOSTNAMELEN); 675 if (n > 0 && (len = strlen(aname)) > 0) { 694 if (strlcpy(host, aname, MAXHOSTNAMELEN) >=
|
/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_diff.c | 386 mde_str_cookie_t aname; local 393 aname = md_find_name(mdp, "fwd"); 396 *countp = md_scan_dag(mdp, start, cname, aname, NULL); 406 (void) md_scan_dag(mdp, start, cname, aname, *nodespp);
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_target.c | 158 const char *aname = syma->se_name; local 203 if (aname == NULL) 208 while (*aname == '_' && *bname == '_') { 209 aname++; 215 if (*aname == '_')
|
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | interface.c | 666 const char *aname) 695 "checkaddr: expected %s %s on %s, have %s", aname, 709 "checkaddr: expected %s %s on %s, have %s", aname, 665 checkaddr(const dhcp_lif_t *lif, int ioccmd, const in6_addr_t *addr, const char *aname) argument
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | mdeg.c | 320 mde_str_cookie_t aname; local 362 aname = md_find_name(mdp, "fwd"); 364 nnodes = md_scan_dag(mdp, startnode, nname, aname, NULL); 381 nodechk = md_scan_dag(mdp, startnode, nname, aname, listp); 651 mde_str_cookie_t aname; local 659 aname = md_find_name(md, "fwd"); 661 nnodes = md_scan_dag(md, NULL, nname, aname, NULL); 667 (void) md_scan_dag(md, NULL, nname, aname, nodesp);
|
/illumos-gate/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 135 char *aname = NULL, *fname = NULL, *lname = NULL; local 140 (void) topo_fmri_nvl2str(thp, asru, &aname, &err); 144 if (aname != NULL) { 146 (void) printf("\tASRU: %s\n", aname); 147 topo_hdl_strfree(thp, aname); 1109 char *aname = NULL, *fname = NULL, *lname = NULL; local 1114 (void) topo_fmri_nvl2str(thp, asru, &aname, &err); 1122 if (aname != NULL) { 1123 (void) printf("\tASRU: %s\n", aname); 1124 topo_hdl_strfree(thp, aname); [all...] |
/illumos-gate/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 199 char aname[ANAME_SZ + 1]; member in struct:k4_data 694 k4->aname, k4->inst, k4->realm); 696 k4->aname[0] = 0; 735 if (k4->aname[0]) 741 k_errno = kname_parse(k4->aname, k4->inst, k4->realm, 759 k_errno = krb_get_tf_fullname(tkt_string(), k4->aname, 769 k_errno = kname_parse(k4->aname, k4->inst, k4->realm, 785 sprintf(k4->name, "%s.%s@%s", k4->aname, k4->inst, k4->realm); 787 sprintf(k4->name, "%s@%s", k4->aname, k4->realm); 791 if (k4->aname[ [all...] |
/illumos-gate/usr/src/uts/common/ipp/ |
H A D | ippctl.c | 908 char *aname = NULL; local 954 if ((rc = ippctl_extract_aname(nvlp, &aname)) != 0) { 961 FREE_TEXT(aname); 968 rc = ippctl_action_create(modname, aname, nvlp, flags); 983 if ((rc = ippctl_extract_aname(nvlp, &aname)) != 0) { 989 FREE_TEXT(aname); 994 rc = ippctl_action_modify(aname, nvlp, flags); 1009 if ((rc = ippctl_extract_aname(nvlp, &aname)) != 0) { 1015 FREE_TEXT(aname); 1021 rc = ippctl_action_destroy(aname, flag 1130 ippctl_action_create( char *modname, char *aname, nvlist_t *nvlp, ipp_flags_t flags) argument 1187 ippctl_action_destroy( char *aname, ipp_flags_t flags) argument 1222 ippctl_action_modify( char *aname, nvlist_t *nvlp, ipp_flags_t flags) argument 1267 ippctl_action_info( char *aname, ipp_flags_t flags) argument 1307 ippctl_action_mod( char *aname) argument [all...] |
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 69 char *aname, 243 output_xattr_header(char *fname, char *aname, int fd, argument 271 "/dev/null/%s.hdr", aname); 274 TLM_MAX_PATH_NAME, "%s.%03d", aname, section); 304 aname, hsize, attr->st_mode & 07777, attr->st_uid, attr->st_gid); 334 (void) strlcpy(&xbuf->h_names[strlen(fname) + 1], aname,
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab.c | 1351 byaddr_cmp_common(GElf_Sym *a, char *aname, GElf_Sym *b, char *bname) argument 1384 if (*aname == '$') 1390 while (*aname == '_' && *bname == '_') { 1391 aname++; 1397 if (*aname == '_') 1411 return (strcmp(aname, bname)); 1419 char *aname = sort_strs + a->st_name; local 1422 return (byaddr_cmp_common(a, aname, b, bname)); 1430 char *aname = sort_strs + a->st_name; local 1433 return (strcmp(aname, bnam [all...] |