/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tbl_opts.c | 37 const char *name; member in struct:tbl_phrase 106 tbl->parse, ln, *pos, keys[key].name); 110 keys[key].name, want, len); 137 /* Parse one option name. */ 150 /* Look up the option name. */ 154 (strncasecmp(p + pos, keys[i].name, len) || 155 keys[i].name[len] != '\0'))
|
/illumos-gate/usr/src/common/ficl/ |
H A D | hash.c | 36 * the name before hashing it... 89 * Find a name in the hash table given the hashcode and text of the name. 97 ficlHashLookup(ficlHash *hash, ficlString name, ficlUnsigned16 hashCode) argument 99 ficlUnsigned nCmp = name.length; 113 if ((word->length == name.length) && 114 (!ficlStrincmp(name.text, word->name, nCmp))) 141 hash->name = NULL;
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | boot_module.h | 64 const char *name; member in struct:boot_module_t
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_tab.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 235 /* if cname is NULL then the meta/hsp name is invalid */ 329 char *name, 333 char *cname = meta_canonicalize(sp, name); 336 /* if name is not legal meta name then return NULL */ 326 meta_tab_find( mdsetname_t *sp, md_tab_t *tabp, char *name, mdinittypes_t type ) argument
|
/illumos-gate/usr/src/lib/nsswitch/ad/common/ |
H A D | getgrent.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 31 const char *name, const char *domain, gid_t gid) 39 buflen = snprintf(NULL, 0, "%s@%s::%u:", name, domain, gid) + 1; 53 (void) snprintf(buffer, buflen, "%s@%s::%u:", name, domain, gid); 58 * getbynam gets a group entry by name. This function constructs an ldap 59 * search filter using the name invocation parameter and the getgrnam search 68 char name[SEARCHFILTERLEN]; local 77 /* Sanitize name so that it can be used in our LDAP filter */ 78 if (_ldap_filter_name(name, argp->key.name, sizeo 30 update_buffer(ad_backend_ptr be, nss_XbyY_args_t *argp, const char *name, const char *domain, gid_t gid) argument [all...] |
/illumos-gate/usr/src/lib/nsswitch/files/common/ |
H A D | getprojent.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 38 const char *name; local 43 name = argp->key.name; 44 namelen = strlen(name); 46 name = line; 53 hash = hash * 15 + name[i];
|
/illumos-gate/usr/src/lib/pam_modules/krb5/ |
H A D | utils.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 89 * To get the kerberos user name for the specified user. 108 char *name, *princname, *lasts; local 118 /* just interested in princ name before the @REALM part */ 119 if ((name = strtok_r(princname, "@", &lasts)) == NULL) { 124 if (strlcpy(kuser, name, length) >= length) { 182 "PAM-KRB5 (%s): can't parse name (%s)",
|
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | nss_attr.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 39 struct passwd *private_getpwnam_r(const char *name, struct passwd *result, 42 int nss_getattr(char *name, attrlist *item, pwu_repository_t *rep); 43 int nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, 74 * We should use sysconf, but there is no sysconf name for SHADOW 82 * nss_getpwnam(name, items, rep, buf) 87 nss_getpwnam(char *name, attrlist *items, pwu_repository_t *rep, void **buf) argument 163 if (getpwnam_r(name, pwbuf->pwd, pwbuf->pwd_scratch, 175 if (getspnam_r(name, pwbuf->spwd, pwbuf->spwd_scratch, 188 if (private_getpwnam_r(name, 219 nss_getattr(char *name, attrlist *items, pwu_repository_t *rep) argument [all...] |
H A D | utils.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 152 def_getuint(char *name, int defvalue, void *defp) argument 157 if ((p = defread_r(name, defp)) != NULL) 208 def_getint(char *name, int defvalue) argument 216 val = def_getuint(name, defvalue, defp);
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http-addr.c | 33 * address records for the specified name. 175 char * /* O - Host name */ 177 char *name, /* I - Host name buffer */ 178 int namelen) /* I - Size of name buffer */ 180 struct hostent *host; /* Host from name service */ 183 DEBUG_printf(("httpAddrLookup(addr=%p, name=%p, namelen=%d)\n", 184 addr, name, namelen)); 195 strlcpy(name, addr->un.sun_path, namelen); 196 return (name); 176 httpAddrLookup(const http_addr_t *addr, char *name, int namelen) argument 269 httpGetHostByName(const char *name) argument [all...] |
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | uri.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 120 char *name = strrchr(path, '/'); local 124 if (name != NULL) { 127 query = strrchr(name, '?'); 136 fragment = strrchr(name, '#');
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | printer.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 51 papiPrinterQuery(papi_service_t handle, char *name, argument 60 if ((svc == NULL) || (name == NULL) || (printer == NULL)) 63 if ((status = service_fill_in(svc, name)) == PAPI_OK) { 77 PAPI_ATTR_APPEND, "printer-name", 97 papiPrinterPurgeJobs(papi_service_t handle, char *name, papi_job_t **jobs) argument 102 if ((svc == NULL) || (name == NULL)) 105 if ((status = service_fill_in(svc, name)) == PAPI_OK) 112 papiPrinterListJobs(papi_service_t handle, char *name, argument 119 if ((svc == NULL) || (name 165 papiPrinterDisable(papi_service_t handle, char *name, char *message) argument 179 papiPrinterEnable(papi_service_t handle, char *name) argument 194 papiPrinterResume(papi_service_t handle, char *name) argument 209 papiPrinterPause(papi_service_t handle, char *name, char *message) argument [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_convert.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 85 if (snprintf(buf, buflen, "%s", printer->name) >= buflen) { 141 char *name = NULL, local 157 if (name == NULL) 158 name = strdup(buf); 164 name, aliases, ns, NULL); 183 if (name == NULL) 184 name = strdup(buf);
|
H A D | nss_printer.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 53 * us to select a specific name service, we need to dummy up 55 * the * default_config entry to the name service we are 58 p->name = NSS_DBNAM__PRINTERS; /* "_printers" */ 62 p->name = NSS_DBNAM_PRINTERS; /* "printers" */ 66 (p->name ? p->name : "NULL"), 137 getprinterbyname(char *name, char *linebuf, int linelen, char *ns) argument 144 arg.key.name = name; [all...] |
/illumos-gate/usr/src/lib/efcode/fcdriver/ |
H A D | property.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 78 os_get_prop_common(common_data_t *cdp, fc_phandle_t node, char *name, argument 84 i = getproplen(cdp, node, name, inherit); 92 " getproplen(%s) returned %d\n", name, i); 97 j = getprop(cdp, node, name, bp, inherit); 104 " return %d, getproplen returned %d\n", name, j, i); 119 char *name; local 129 name = pop_a_string(env, &len); 136 } else if (os_get_prop_common(pd->common, node, name, inherit, &prop,
|
/illumos-gate/usr/src/lib/efcode/packages/ |
H A D | populate.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 51 * Convoluted name just in case someone has "do-dropin" word in Fcode. 124 * We need to lookup the builtin name via an FC_RUN_PRIV call to make sure 126 * do-builtin-dropin on the stack and remember the name for do-dropin. This is 188 make_a_node(fcode_env_t *env, char *name, int finish) argument 191 push_a_string(env, name);
|
/illumos-gate/usr/src/lib/fm/libfmd_log/common/ |
H A D | fmd_filter.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 72 * Note: the uuid filter matches *any* member whose name is 'uuid'. 74 * other event that decides to embed uuids, too, using the same name. 103 char *name = argt->nvarg_name; local 110 if (nvlist_lookup_nvpair_embedded_index(rp->rec_nvl, name, 112 return (0); /* name filter failure */ 117 return (1); /* name/value filter pass */
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | fmd.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 94 fmd_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, argument 116 char *name; local 118 if (nvlist_lookup_string(nvl, FM_FMRI_FMD_NAME, &name) != 0) 122 "%s:///module/%s", FM_FMRI_SCHEME_FMD, name)); 131 char *name = NULL; local 138 (name = topo_mod_alloc(mod, len + 1)) == NULL || 139 fmri_nvl2str(nvl, name, len + 1) == 0) { 140 if (name != NULL) 141 topo_mod_free(mod, name, le [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 78 const char *name, topo_instance_t min, topo_instance_t max, 86 if (strcmp(name, DISK) != 0) { 77 disk_enum(topo_mod_t *mod, tnode_t *baynode, const char *name, topo_instance_t min, topo_instance_t max, void *arg, void *notused) argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/hostbridge/ |
H A D | hb_i86pc.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 139 platform_hb_enum(topo_mod_t *mod, tnode_t *parent, const char *name, argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/hostbridge/ |
H A D | hb_sun4u.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 172 platform_hb_enum(topo_mod_t *mod, tnode_t *parent, const char *name, argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/zambezi/ |
H A D | zambezi.c | 17 * information: Portions Copyright [yyyy] [name of copyright owner] 92 const char *name, topo_instance_t i, void *priv) 99 fmri = topo_mod_hcfmri(mod, parent, FM_HC_SCHEME_VERSION, name, i, 106 name, topo_mod_errmsg(mod)); 110 ntn = topo_node_bind(mod, parent, name, i, fmri); 116 name, i, 137 zam_declare(tnode_t *parent, const char *name, topo_instance_t i, argument 144 if ((ntn = zam_tnode_create(mod, parent, name, i, NULL)) == NULL) { 145 topo_mod_dprintf(mod, "%s ntn = NULL\n", name); 167 zambezi_enum(topo_mod_t *mod, tnode_t *rnode, const char *name, argument 91 zam_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, void *priv) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | cred.c | 18 * information: Portions Copyright [yyyy] [name of copyright owner] 46 * Note in Diffie-Hellman the supplied principal name must be that of 93 /* Get the principal name of the caller */ 159 * gss_name_t name, gss_OID mech, gss_cred_usage_t usage, 175 gss_name_t *name, /* name of principal */ 197 if (name) 198 *name = (gss_name_t)(*cntx->keyopts->get_principal)(); 207 if (name) 208 *name 172 __dh_gss_inquire_cred(void *ctx, OM_uint32 *minor, gss_cred_id_t cred, gss_name_t *name, OM_uint32 *lifetime, gss_cred_usage_t *usage, gss_OID_set *mechs ) argument 245 __dh_gss_inquire_cred_by_mech(void *ctx, OM_uint32 *minor, gss_cred_id_t cred, gss_OID mech, gss_name_t *name, OM_uint32 *init_time, OM_uint32 *accept_time, gss_cred_usage_t *usage ) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/ |
H A D | rc_mem.c | 99 return (((struct mem_data *)(id->data))->name); 179 krb5_rc_mem_resolve(krb5_context context, krb5_rcache id, char *name) argument 205 if (name) { 206 t->name = malloc(strlen(name)+1); 207 if (!t->name) { 211 strcpy(t->name, name); 213 t->name = 0; 226 if (t->name) [all...] |
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | ctl.h | 57 const char * name; member in struct:ctl_verb
|