/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | devtype.c | 42 devtype(char *alias, struct pkgdev *devp) argument 46 devp->name = alias; 52 /* see if alias represents an existing file */ 53 if (alias[0] == '/') { 54 if (!isdir(alias)) { 60 /* see if alias represents a mountable device (e.g., a floppy) */ 61 if ((devp->mount = devattr(alias, "mountpt")) != NULL && 63 devp->bdevice = devattr(alias, "bdevice"); 77 devp->cdevice = devattr(alias, "cdevice"); 80 if (name = devattr(alias, "capacit [all...] |
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | charset.c | 49 register char *alias; local 63 alias = strchr(*list, '='); 64 if (alias && STREQU(alias+1, item))
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_getalias.c | 67 * Setup alias file, check /var/yp filesystem type 110 * Match key to alias 120 char *alias; local 140 alias = strtok(NULL, " \t\n"); 141 if (longname == NULL || alias == NULL) { 145 if ((int)strlen(alias) > (maxlen)) { 146 strncpy(key_alias, alias, (maxlen)); 149 strcpy(key_alias, alias); 154 /* alias not found */ 160 * Match alias t 170 char *alias; local [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/ |
H A D | removecert.c | 62 char *alias = NULL; local 76 alias = optarg; 95 if (alias == NULL) { 174 alias); 175 if (delete_cert_and_keys(err, keystore, alias) != 0) { 177 log_msg(LOG_MSG_ERR, MSG_NO_REMOVECERT, alias); 187 log_msg(LOG_MSG_ERR, MSG_NO_REMOVECERT, alias); 191 log_msg(LOG_MSG_INFO, MSG_REMOVED, alias);
|
H A D | listcert.c | 64 char *alias = NULL; local 83 alias = optarg; 217 if (print_certs(err, keystore, alias, format, outfile) != 0) {
|
H A D | addcert.c | 74 char *alias = NULL; local 106 alias = optarg; 133 if (!trusted && alias == NULL) { 138 } else if (trusted && alias != NULL) { 409 if (merge_cert_and_key(err, cert, key, alias, keystore) != 0) { 429 log_msg(LOG_MSG_INFO, MSG_ADDED, infile, alias);
|
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | handles.c | 35 EFI_HANDLE alias; member in struct:entry 58 entry[idx].alias = aliases[unit]; 60 entry[idx].alias = NULL; 88 if (entry[idx].handle != h && entry[idx].alias != h) 112 entry[idx].alias = NULL;
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_convert.c | 92 char **alias = printer->aliases; local 94 while (*alias != NULL) { 96 (void) strncat_escaped(buf, *alias++, buflen,
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 62 /* Find the alias for this descriptor */ 66 if (libdiskmgt_str_eq(dp->name, ap->alias)) { 67 /* we found the alias for this descriptor */ 97 /* get the status for this alias */ 125 descriptor_t *alias = NULL; local 134 alias = aliases[i]; 142 if (alias == NULL) { 146 return (alias); 183 if (ap->alias != NULL) { 184 cache_load_desc(DM_ALIAS, dp, ap->alias, NUL [all...] |
/illumos-gate/usr/src/lib/libadm/inc/ |
H A D | devtab.h | 105 * alias The device's alias 118 char *alias; /* Alias of the device */ member in struct:devtabent 170 * name Member name (a device alias or pathname) 201 * _validalias() Determine if a character-string is a valid alias
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getprotoent.c | 51 char *alias; member in struct:protocol_alias 80 * So it needs to replicate the canonical name as an alias of upper case. 92 * form as much as possible. If the alias can't be found in the aliases table, 93 * it assumes the alias is all upper case. 104 return (ip_aliases[i].alias); 140 char *buffer = NULL, **number, *alias; local 182 alias = get_alias(cname); 183 len = snprintf(buffer, buflen, " %s", alias);
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_getalias.c | 43 * 1 = alias not found; 109 __getldapaliasbyname(char *alias, int *retval) argument 123 if (!alias || !*alias) { 138 if (snprintf(filter, sizeof (filter), ALIAS_FILTER, alias, alias) < 0) { 146 alias, alias) < 0) {
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volmgt.c | 581 struct alias { struct 582 char *alias; member in struct:alias 589 static struct alias device_aliases[] = { 615 struct alias *s; 619 for (s = device_aliases; s->alias != NULL; s++) { 620 if (strcmp(start, s->alias) == 0) {
|
/illumos-gate/usr/src/lib/libnsl/include/rpcsvc/ |
H A D | nis_dhext.h | 77 char *alias; member in struct:__anon3663 90 * Except if the alias is equal to NIS_SEC_CF_DES_ALIAS, 98 #define AUTH_DES_COMPAT_CHK(mp) ((mp)->alias && \ 100 (mp)->alias,\ 114 VALID_ALIAS((mp)->alias)) 117 #define MECH_PK_TECH(mp) (((mp)->alias)[0] == 'd' && ((mp)->alias)[1] == 'h') 120 #define MECH_MAXALIASNAME 32 /* Mechanism max size of mech alias name */
|
/illumos-gate/usr/src/cmd/devmgmt/cmds/ |
H A D | putdev.c | 68 * EX_EXISTS The specified alias already exists 87 #define E_USAGE "usage: putdev -a alias [attribute=value [...]]\n putdev -m device attribute=value [attribute=value [...]]\n putdev -d device [attribute [...]]" 90 #define E_NOALIAS "Cannot use \"alias\" as an attribute" 94 #define E_INVALIAS "Not a valid device alias: %s" 170 * putdev -a alias [attribute=value [...]] 171 * putdev -m alias attribute=value [attribute=value [...]] 172 * putdev -d alias [attribute [...]] 174 * Modify the device-table. If -a specified, add a record for <alias> 180 * -a Add an alias description to the device table 189 * 1 Usage error (includes specifying "alias" a 202 char *alias; /* Ptr to <alias> on command-line */ local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_help.c | 312 const char *alias; local 354 if ((alias = mdb_macalias_lookup(s)) != NULL) { 355 mdb_printf("%s is a macro alias for '%s'\n", s, alias);
|
/illumos-gate/usr/src/cmd/availdevs/ |
H A D | availdevs.c | 81 xmlNodePtr alias = xmlNewChild( local 83 (void) xmlSetProp(alias,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ipaddr.c | 302 char *addr, *name, *alias; local 330 while ((alias = strtok(NULL, SEPARATORS)) != NULL && 331 (*alias != '#')) { 332 (void) addhost(family, naddr, alias, NULL);
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.parse.c | 39 * If word 0 of a command has an alias, do it. 43 alias(struct wordent *lex) function 49 tprintf("TRACE- alias()\n");
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | alias.c | 18 SM_RCSID("@(#)$Id: alias.c,v 8.219 2006/10/24 18:04:09 ca Exp $") 31 ** Scans the alias file for an alias for the given address. 32 ** If found, it arranges to deliver to the alias list instead. 36 ** a -- address to alias. 39 ** aliaslevel -- the current alias nesting depth. 54 alias(a, sendq, aliaslevel, e) function 66 sm_dprintf("alias(%s)\n", a->q_user); 94 /* Look for owner of alias */ 113 "alias databas [all...] |
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keylogin.c | 356 char *alias; local 364 if (VALID_ALIAS(mechlist[i]->alias)) 365 alias = mechlist[i]->alias; 367 alias = ""; 375 fullname, alias); 383 fullname, alias); 393 fullname, alias); 400 write_rootkey(secret, mechlist[i]->alias,
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 73 * with alias name (may be '\0' terminated) 487 * int appendlk(key, alias) 489 * char *alias 495 * alias The device alias being locked 509 char *alias) /* Alias to lock */ 516 (void) strcpy(lk.lk_alias, alias); 712 * not locked, it returns the device alias. 714 * A device is not locked if the device's alias does not appear in 721 * alias 507 appendlk( int key, char *alias) argument 736 char *alias; /* Alias of "device" */ local 802 char *alias; /* Device's alias (from devattr()) */ local 911 char *alias; /* Alias of dev to reserve */ local [all...] |
H A D | devtab.c | 47 * _validalias() Is a value a valid alias? 605 * int _validalias(alias) 606 * char *alias 608 * Determine if <alias> is a valid alias. Returns TRUE if it is 609 * a valid alias, FALSE otherwise. 612 * alias Value to check out 615 * TRUE if <alias> is a valid alias, FALSE otherwise. 619 _validalias(char *alias) /* Alia argument [all...] |
H A D | putdev.c | 94 * mkdevtabent Builds a device-table entry from the alias and the 400 * struct devtabent *mkdevtabent(alias, attrlist) 401 * char *alias 405 * alias <alias> using the information in the attribute list <attrlist>. 410 * alias The alias being added to the device table 411 * attrlist The attributes and values for that alias 415 * of the alias. The structure, and all of the data in the structure 420 * EINVAL If "alias" i 425 mkdevtabent( char *alias, char **attrlist) argument 769 _adddevtabrec( char *alias, char **attrval) argument [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | files.cc | 215 Name alias; local 218 * To avoid recursive search through VPATH when exists(alias) is called 235 alias = GETNAME(file_name, FIND_LENGTH); 236 if (exists(alias) != file_doesnt_exist) { 238 target->stat.mode = alias->stat.mode; 239 target->stat.size = alias->stat.size; 240 target->stat.is_dir = alias->stat.is_dir; 241 target->stat.time = alias->stat.time; 243 body.vpath_alias.alias = alias; [all...] |