Searched defs:names (Results 1 - 25 of 56) sorted by relevance

123

/osnet-11/usr/src/cmd/parted/
H A Dcommand.h27 StrList* names; member in struct:__anon70
34 extern Command* command_create (const StrList* names,
H A Dcommand.c31 command_create (const StrList* names, argument
46 cmd->names = (StrList*) names;
57 str_list_destroy (cmd->names);
85 switch (str_list_match_any (list [i]->names, name)) {
115 str_list_duplicate ((*walk)->names));
/osnet-11/usr/src/lib/libcurses/screen/
H A Dtcsearch.c48 _tcsearch(char *cap, short offsets[], char *names[], int size, int n) argument
55 cmp = ((n == 0) ? strcmp(cap, names[offsets[m]]) :
56 strncmp(cap, names[offsets[m]], n));
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Drealm_iter.c37 static const char *const names[] = { "realms", 0 }; local
39 return profile_iterator_create(context->profile, names,
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dlsmmap.c28 static const char *names[] = variable
50 if (type < ARRAY_SIZE (names) && names[type])
52 (long long) addr, (long long) size, _(names[type]));
/osnet-11/usr/src/cmd/sendmail/db/os/
H A Dos_dir.c55 char **names; local
62 names = NULL;
66 if ((ret = __os_realloc(&names,
67 arraysz * sizeof(names[0]))) != 0)
70 if ((ret = __os_strdup(dp->d_name, &names[cnt])) != 0)
75 *namesp = names;
79 nomem: if (names != NULL)
80 __os_dirfree(names, cnt);
91 __os_dirfree(names, cnt)
92 char **names;
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dlibdef_parse.c70 const char *names[5]; local
86 names[0] = KRB5_CONF_LIBDEFAULTS;
97 names[1] = realmstr;
98 names[2] = option;
99 names[3] = 0;
100 retval = profile_get_values(profile, names, &nameval);
112 names[1] = option;
113 names[2] = 0;
114 retval = profile_get_values(profile, names, &nameval);
H A Dappdefault.c44 const char *names[5]; local
65 names[0] = "appdefaults";
66 names[1] = appname;
69 names[2] = realmstr;
70 names[3] = option;
71 names[4] = 0;
72 retval = profile_get_values(profile, names, &nameval);
88 names[2] = option;
89 names[3] = 0;
90 retval = profile_get_values(profile, names,
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_set.c84 profile_update_relation(profile_t profile, const char **names, argument
96 if (names == 0 || names[0] == 0 || names[1] == 0)
106 for (cpp = names; cpp[1]; cpp++) {
137 profile_clear_relation(profile_t profile, const char **names) argument
148 if (names == 0 || names[0] == 0 || names[1] == 0)
152 for (cpp = names; cp
182 profile_rename_section(profile_t profile, const char **names, const char *new_name) argument
235 profile_add_relation(profile_t profile, const char **names, const char *new_value) argument
[all...]
/osnet-11/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c43 kadm5_free_name_list(void *server_handle, char **names, int count) argument
48 free(names[count]);
49 free(names);
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_profile.c99 const char *names[5]; local
118 names[0] = KRB5_CONF_REALMS;
119 names[1] = realmname;
120 names[2] = option;
121 names[3] = 0;
122 retval = profile_get_values(profile, names, &values);
134 names[0] = KRB5_CONF_KDCDEFAULTS;
135 names[1] = option;
136 names[2] = 0;
137 retval = profile_get_values(profile, names,
231 const char *names[5]; local
[all...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dscandir.c75 struct dirent64 *d, *p, **names = NULL; local
96 names = malloc(arraysz * sizeof (struct dirent64 *));
97 if (names == NULL)
102 continue; /* just selected names */
125 tmp = realloc(names,
131 names = tmp;
133 names[nitems++] = p;
137 qsort(names, nitems, sizeof (struct dirent64 *),
139 *namelist = names;
145 free(names[
160 struct dirent *d, *p, **names = NULL; local
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetbootparams.c62 char *buffer, **names; local
80 names = __ns_ldap_getAttr(result->entry, _B_HOSTNAME);
81 if (names == NULL || names[0] == NULL ||
82 (strlen(names[0]) < 1)) {
101 if (strcasecmp(names[0], bparams->attrvalue[i]) != 0) {
132 * fully qualified host names (e.g., foo.bar.sun.com).
H A Dgetnetent.c70 ns_ldap_attr_t *names; local
88 names = __ns_ldap_getAttrStruct(result->entry, _N_NAME);
89 if (names == NULL || names->attrvalue == NULL) {
94 cname = __s_api_get_canonical_name(result->entry, names, 1);
106 cname = names->attrvalue[0];
120 for (i = 0; i < names->value_count; i++) {
121 if (names->attrvalue[i] == NULL) {
126 if (strcasecmp(names->attrvalue[i], cname) != 0) {
128 names
[all...]
H A Dgetprotoent.c142 ns_ldap_attr_t *names; local
160 names = __ns_ldap_getAttrStruct(result->entry, _P_NAME);
161 if (names == NULL || names->attrvalue == NULL) {
166 cname = __s_api_get_canonical_name(result->entry, names, 1);
180 if (names->value_count == 1) {
187 for (i = 0; i < names->value_count; i++) {
188 if (names->attrvalue[i] == NULL) {
193 if (strcasecmp(names->attrvalue[i], cname) != 0) {
195 names
[all...]
H A Dgetrpcent.c67 ns_ldap_attr_t *names; local
86 names = __ns_ldap_getAttrStruct(result->entry, _R_NAME);
87 if (names == NULL || names->attrvalue == NULL) {
92 cname = __s_api_get_canonical_name(result->entry, names, 1);
106 for (i = 0; i < names->value_count; i++) {
107 if (names->attrvalue[i] == NULL) {
112 if (strcasecmp(names->attrvalue[i], cname) != 0) {
114 names->attrvalue[i]);
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dtrap.c351 * if <flag> is zero, then print all signal names
360 const char *names[SH_TRAP]; local
367 names[sig] = 0;
383 else if(sig-- && sig < elementsof(names))
384 names[sig] = (char*)tp->sh_name;
399 if(sig > shp->gd->sigmax || !(sname=(char*)names[sig]))
412 /* print all the signal names */
415 if(!(sname=(char*)names[sig]))
/osnet-11/usr/src/lib/libilb/common/
H A Dilb_hc.c169 * Since getting the list of hc names and getting the info
244 ilbd_namelist_t *names; local
251 names = (ilbd_namelist_t *)&rbuf->ic_data;
253 for (i = 0; i < names->ilbl_count; i++) {
254 rc = ilb_get_hc_srvs(h, names->ilbl_name[i],
H A Dilb_rules.c294 ilbd_namelist_t *names; local
309 names = (ilbd_namelist_t *)&rbuf->ic_data;
310 for (i = 0; i < names->ilbl_count; i++) {
311 rc = i_ilb_walk_one_rule(h, f, names->ilbl_name[i], arg);
314 * we retrieve all the rule names, just continue.
/osnet-11/usr/src/grub/grub2/grub-core/lib/posix_wrap/
H A Dwctype.h38 static const char names[][10] = { "", local
44 if (grub_strcmp (names[i], name) == 0)
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog.c72 * file names there. Make it fairly large so that we don't have to
305 char **names, *p, *q; local
319 /* Get the list of file names. */
320 ret = __os_dirlist(dir, &names, &fcnt);
335 if (strncmp(names[cnt], LFPREFIX, sizeof(LFPREFIX) - 1) != 0)
338 clv = atoi(names[cnt] + (sizeof(LFPREFIX) - 1));
353 __os_dirfree(names, fcnt);
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_smf.c36 static int online(char *svc_names[], char **names);
123 char *names = NULL; local
126 if (online(svm_core_svcs, &names) == 0)
130 if (online(svm_diskset_svcs, &names) == 0)
134 if (online(svm_mn_diskset_svcs, &names) == 0)
139 (void) mderror(ep, MDE_SMF_NO_SERVICE, names);
140 Free(names);
279 char *names = NULL; local
282 if (online(svc_names, &names))
287 if (names !
297 online(char *svc_names[], char **names) argument
[all...]
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgen.c286 find_name(const char *name, const struct nameval names[]) { argument
289 for (n = 0; names[n].name != NULL; n++)
290 if (strcmp(name, names[n].name) == 0)
291 return (names[n].val);
/osnet-11/usr/src/lib/fm/topo/modules/common/ipmi/common/
H A Dipmi_enum.c108 char *name, **names; local
142 TOPO_PROP_IPMI_ENTITY_REF, &names, &nelems, &err)
156 if ((ep = ipmi_entity_lookup_sdr(ihp, names[i]))
161 topo_mod_strfree(mod, names[i]);
162 topo_mod_free(mod, names, (nelems * sizeof (char *)));
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dname.c328 /* All export names must start with this */
347 /* Export names must start with the token id of 0x04 0x01 */
545 gss_OID mech, gss_OID_set *names)
564 if ((*minor = __OID_copy_set_from_array(names,
544 __dh_gss_inquire_names_for_mech(OM_uint32 *minor, gss_OID mech, gss_OID_set *names) argument

Completed in 86 milliseconds

123