Home
last modified time | relevance | path

Searched refs:names (Results 1 – 25 of 451) sorted by relevance

12345678910>>...19

/titanic_44/usr/src/lib/libc/port/gen/
H A Dscandir.c78 struct dirent64 *d, *p, **names = NULL; in scandir64() local
99 names = malloc(arraysz * sizeof (struct dirent64 *)); in scandir64()
100 if (names == NULL) in scandir64()
128 tmp = realloc(names, in scandir64()
134 names = tmp; in scandir64()
136 names[nitems++] = p; in scandir64()
140 qsort(names, nitems, sizeof (struct dirent64 *), in scandir64()
142 *namelist = names; in scandir64()
148 free(names[--nitems]); in scandir64()
150 if (names) in scandir64()
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dappdefault.c41 const char *names[5]; in appdefault_get() local
62 names[0] = "appdefaults"; in appdefault_get()
63 names[1] = appname; in appdefault_get()
66 names[2] = realmstr; in appdefault_get()
67 names[3] = option; in appdefault_get()
68 names[4] = 0; in appdefault_get()
69 retval = profile_get_values(profile, names, &nameval); in appdefault_get()
85 names[2] = option; in appdefault_get()
86 names[3] = 0; in appdefault_get()
87 retval = profile_get_values(profile, names, &nameval); in appdefault_get()
[all …]
H A Dconv_princ.c267 const char *names[5], *names2[2]; in krb5_425_conv_principal() local
282 names [0] = "realms"; in krb5_425_conv_principal()
283 names [1] = realm_name; in krb5_425_conv_principal()
284 names [2] = "v4_realm"; in krb5_425_conv_principal()
285 names [3] = NULL; in krb5_425_conv_principal()
287 retval = profile_get_values (context -> profile, names, &v4realms); in krb5_425_conv_principal()
328 names[0] = "realms"; in krb5_425_conv_principal()
329 names[1] = realm; in krb5_425_conv_principal()
330 names[2] = "v4_instance_convert"; in krb5_425_conv_principal()
331 names[3] = instance; in krb5_425_conv_principal()
[all …]
/titanic_44/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_profile.c98 const char *names[5]; in pkinit_kdcdefault_strings() local
117 names[0] = "realms"; in pkinit_kdcdefault_strings()
118 names[1] = realmname; in pkinit_kdcdefault_strings()
119 names[2] = option; in pkinit_kdcdefault_strings()
120 names[3] = 0; in pkinit_kdcdefault_strings()
121 retval = profile_get_values(profile, names, &values); in pkinit_kdcdefault_strings()
133 names[0] = "kdcdefaults"; in pkinit_kdcdefault_strings()
134 names[1] = option; in pkinit_kdcdefault_strings()
135 names[2] = 0; in pkinit_kdcdefault_strings()
136 retval = profile_get_values(profile, names, &values); in pkinit_kdcdefault_strings()
[all …]
/titanic_44/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) in __os_dirfree() argument
92 char **names; in __os_dirfree()
[all …]
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_get.c127 profile_get_values(profile_t profile, const char *const *names, in profile_get_values() argument
135 if ((retval = profile_node_iterator_create(profile, names, in profile_get_values()
167 errcode_t profile_get_value(profile_t profile, const char **names, in profile_get_value() argument
174 if ((retval = profile_node_iterator_create(profile, names, in profile_get_value()
199 const char *names[4]; in profile_get_string() local
202 names[0] = name; in profile_get_string()
203 names[1] = subname; in profile_get_string()
204 names[2] = subsubname; in profile_get_string()
205 names[3] = 0; in profile_get_string()
206 retval = profile_get_value(profile, names, &value); in profile_get_string()
[all …]
H A Dprof_set.c84 profile_update_relation(profile_t profile, const char **names, in profile_update_relation() argument
96 if (names == 0 || names[0] == 0 || names[1] == 0) in profile_update_relation()
106 for (cpp = names; cpp[1]; cpp++) { in profile_update_relation()
137 profile_clear_relation(profile_t profile, const char **names) in profile_clear_relation() argument
148 if (names == 0 || names[0] == 0 || names[1] == 0) in profile_clear_relation()
152 for (cpp = names; cpp[1]; cpp++) { in profile_clear_relation()
182 profile_rename_section(profile_t profile, const char **names, in profile_rename_section() argument
194 if (names == 0 || names[0] == 0 || names[1] == 0) in profile_rename_section()
201 for (cpp = names; cpp[1]; cpp++) { in profile_rename_section()
235 profile_add_relation(profile_t profile, const char **names, in profile_add_relation() argument
[all …]
/titanic_44/usr/src/ucblib/libucb/port/gen/
H A Dscandir.c76 struct direct64 *d, *p, **names; in scandir64() local
93 names = (struct direct64 **)malloc(arraysz * in scandir64()
95 if (names == NULL) in scandir64()
121 names = (struct direct64 **)realloc((char *)names, in scandir64()
123 if (names == NULL) in scandir64()
126 names[nitems-1] = p; in scandir64()
130 qsort(names, nitems, sizeof (struct direct64 *), in scandir64()
132 *namelist = names; in scandir64()
143 struct direct *d, *p, **names; in scandir() local
164 names = (struct direct **)malloc(arraysz * sizeof (struct direct *)); in scandir()
[all …]
/titanic_44/usr/src/cmd/getent/
H A Ddogetproject.c38 char **names; in putprojent() local
48 names = proj->pj_users; in putprojent()
49 if (names != NULL) { in putprojent()
50 if (*names != NULL) in putprojent()
51 if (fputs(*names++, fp) == EOF) in putprojent()
53 while (*names != NULL) in putprojent()
54 if (fprintf(fp, ",%s", *names++) == EOF) in putprojent()
59 names = proj->pj_groups; in putprojent()
60 if (names != NULL) { in putprojent()
61 if (*names != NULL) in putprojent()
[all …]
/titanic_44/usr/src/ucbcmd/users/
H A Dusers.c24 static char **names; variable
43 names = namp = (char **)realloc((void *)NULL, BUFSIZ * sizeof (char *)); in main()
56 names = (char **)realloc(names, in main()
58 namp = names + nusers; in main()
81 qsort(names, namp - names, sizeof (names[0]), scmp); in summary()
82 for (p = names; p < namp; p++) { in summary()
83 if (p != names) in summary()
87 if (namp != names) /* at least one user */ in summary()
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dscandir.c41 struct direct *d, *p, **names; in scandir() local
58 names = (struct direct **)malloc(arraysz * sizeof(struct direct *)); in scandir()
59 if (names == NULL) in scandir()
84 names = (struct direct **)realloc((char *)names, in scandir()
86 if (names == NULL) in scandir()
89 names[nitems-1] = p; in scandir()
93 qsort(names, nitems, sizeof(struct direct *), dcomp); in scandir()
94 *namelist = names; in scandir()
/titanic_44/usr/src/cmd/fm/fminject/common/
H A Dinj_util.c36 static const char *const names[] = { "event", "fmri", "auth", "list" }; in inj_item2str() local
39 item < sizeof (names) / sizeof (char *) ? names[item] : "???"); in inj_item2str()
76 static const char *names[] = { in inj_mem2str() local
85 mem < sizeof (names) / sizeof (char *) ? names[mem] : "???"); in inj_mem2str()
/titanic_44/usr/src/cmd/praudit/
H A Dmain.c43 static int process_options(int *argc, char *argv[], char *names[]);
64 char *names[MAXFILENAMES]; in main() local
72 if ((retstat = process_options(&argc, argv, names)) == 0) { in main()
81 if (freopen(names[i], "r", stdin) == NULL) { in main()
85 names[i], strerror(errno)); in main()
124 process_options(int *argc, char **argv, char **names) in process_options() argument
187 *names++ = *++argv; in process_options()
/titanic_44/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c421 auth_gssapi_name names[6]; in main() local
469 names[0].name = names[1].name = names[2].name = names[3].name = NULL; in main()
470 names[4].name = names[5].name =NULL; in main()
471 names[0].type = names[1].type = names[2].type = names[3].type = in main()
473 names[4].type = names[5].type = (gss_OID) nt_krb5_name_oid; in main()
854 &names[0].name)) { in main()
868 &names[1].name)) { in main()
880 names[2].name = KADM5_ADMIN_SERVICE_P; in main()
881 names[3].name = KADM5_CHANGEPW_SERVICE_P; in main()
882 names[4].name = OVSEC_KADM_ADMIN_SERVICE_P; in main()
[all …]
/titanic_44/usr/src/lib/nsswitch/ldap/common/
H A Dgetrpcent.c67 ns_ldap_attr_t *names; in _nss_ldap_rpc2str() local
86 names = __ns_ldap_getAttrStruct(result->entry, _R_NAME); in _nss_ldap_rpc2str()
87 if (names == NULL || names->attrvalue == NULL) { in _nss_ldap_rpc2str()
92 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_rpc2str()
106 for (i = 0; i < names->value_count; i++) { in _nss_ldap_rpc2str()
107 if (names->attrvalue[i] == NULL) { in _nss_ldap_rpc2str()
112 if (strcasecmp(names->attrvalue[i], cname) != 0) { in _nss_ldap_rpc2str()
114 names->attrvalue[i]); in _nss_ldap_rpc2str()
H A Dgetnetent.c70 ns_ldap_attr_t *names; in _nss_ldap_networks2str() local
88 names = __ns_ldap_getAttrStruct(result->entry, _N_NAME); in _nss_ldap_networks2str()
89 if (names == NULL || names->attrvalue == NULL) { in _nss_ldap_networks2str()
94 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_networks2str()
106 cname = names->attrvalue[0]; in _nss_ldap_networks2str()
120 for (i = 0; i < names->value_count; i++) { in _nss_ldap_networks2str()
121 if (names->attrvalue[i] == NULL) { in _nss_ldap_networks2str()
126 if (strcasecmp(names->attrvalue[i], cname) != 0) { in _nss_ldap_networks2str()
128 names->attrvalue[i]); in _nss_ldap_networks2str()
H A Dgetprotoent.c142 ns_ldap_attr_t *names; in _nss_ldap_protocols2str() local
160 names = __ns_ldap_getAttrStruct(result->entry, _P_NAME); in _nss_ldap_protocols2str()
161 if (names == NULL || names->attrvalue == NULL) { in _nss_ldap_protocols2str()
166 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_protocols2str()
180 if (names->value_count == 1) { in _nss_ldap_protocols2str()
187 for (i = 0; i < names->value_count; i++) { in _nss_ldap_protocols2str()
188 if (names->attrvalue[i] == NULL) { in _nss_ldap_protocols2str()
193 if (strcasecmp(names->attrvalue[i], cname) != 0) { in _nss_ldap_protocols2str()
195 names->attrvalue[i]); in _nss_ldap_protocols2str()
H A Dgetbootparams.c62 char *buffer, **names; in _nss_ldap_bootparams2str() local
80 names = __ns_ldap_getAttr(result->entry, _B_HOSTNAME); in _nss_ldap_bootparams2str()
81 if (names == NULL || names[0] == NULL || in _nss_ldap_bootparams2str()
82 (strlen(names[0]) < 1)) { in _nss_ldap_bootparams2str()
101 if (strcasecmp(names[0], bparams->attrvalue[i]) != 0) { in _nss_ldap_bootparams2str()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dprofile.h73 (profile_t profile, const char *const *names, char ***ret_values);
93 (profile_t profile, const char **names, char ***ret_names);
96 (profile_t profile, const char **names, char ***ret_names);
99 (profile_t profile, const char *const *names,
111 (profile_t profile, const char **names,
115 (profile_t profile, const char **names);
118 (profile_t profile, const char **names,
122 (profile_t profile, const char **names,
/titanic_44/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c56 char **names; member
165 char **new_names = realloc(data->names, in get_either_iter()
168 data->names = new_names; in get_either_iter()
176 data->names[data->n_names++] = name; in get_either_iter()
244 data.names = malloc(sizeof(char *) * data.sz_names); in kadm5_get_either()
245 if (data.names == NULL) { in kadm5_get_either()
265 free(data.names[i]); in kadm5_get_either()
266 free(data.names); in kadm5_get_either()
270 *princs = data.names; in kadm5_get_either()
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dmac.c144 mac_valid(const char *names) in mac_valid() argument
148 if (names == NULL || strcmp(names, "") == 0) in mac_valid()
150 maclist = cp = xstrdup(names); in mac_valid()
154 debug("bad mac %s [%s]", p, names); in mac_valid()
158 debug3("mac ok: %s [%s]", p, names); in mac_valid()
161 debug3("macs ok: [%s]", names); in mac_valid()
/titanic_44/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/
H A DBaseEnumHelper.java55 private Vector names = new Vector(); field in BaseEnumHelper
95 names.addElement(name); in add()
133 return (names.elements()); in elements()
141 String retval[] = new String[names.size()]; in descriptions()
142 names.copyInto(retval); in descriptions()
/titanic_44/usr/src/cmd/make/bin/
H A Dread2.cc143 if(current_names->used != 0 && current_names->names[current_names->used-1] == plus) { in enter_name()
150 if (current_names->used == VSIZEOF(current_names->names)) { in enter_name()
162 current_names->names[current_names->used++] = name; in enter_name()
286 if (current_names->used == VSIZEOF(current_names->names)) { in enter_member_name()
305 current_names->names[current_names->used++] = name; in enter_member_name()
488 next = &target_list->names[i + 1]; in find_target_groups()
491 &target_list->next->names[0] : NULL; in find_target_groups()
519 tail_target_group->name = target_list->names[i]; in find_target_groups()
525 target_group->name = target_list->names[i]; in find_target_groups()
589 (depes->names[0] == recursive_name)) { in enter_dependencies()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_010_pos.ksh85 snapshot=$($ECHO "$names" | $GREP $ds$clone_snap@snap)
150 names=$($ZFS list -rt all -o name $TESTPOOL)
159 names=$($ZFS list -rt all -o name $TESTPOOL)
168 names=$($ZFS list -rt all -o name $TESTPOOL)
186 names=$($ZFS list -rtall -o name $TESTPOOL)
188 status=$($ECHO "$names" | $GREP $snap)
194 status=$($ECHO "$names" | $GREP $dclone)
207 names=$($ZFS list -rt all -o name,clones $TESTPOOL)
/titanic_44/usr/src/cmd/awk/
H A Dmaketab.c109 char *names[SIZE]; variable
139 names[tok-FIRSTTOKEN] = malloc(strlen(name)+1); in main()
140 strcpy(names[tok-FIRSTTOKEN], name); in main()
151 printf("\tnullproc,\t/* %s */\n", names[i]); in main()
153 printf("\t%s,\t/* %s */\n", table[i], names[i]); in main()

12345678910>>...19