Home
last modified time | relevance | path

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

12345678910>>...21

/titanic_51/usr/src/contrib/ast/src/lib/libdll/
H A Ddll_lib.c39 * split <name,base,type,opts> from name into names
43 dllnames(const char* id, const char* name, Dllnames_t* names) in dllnames() argument
54 if (!names) in dllnames()
56 s = fmtbuf(sizeof(Dllnames_t*) + sizeof(names) - 1); in dllnames()
57 if (n = (s - (char*)0) % sizeof(names)) in dllnames()
58 s += sizeof(names) - n; in dllnames()
59 names = (Dllnames_t*)s; in dllnames()
72 b = names->base = names->data; in dllnames()
73 e = b + sizeof(names in dllnames()
110 dll_lib(Dllnames_t * names,unsigned long version,Dllerror_f dllerrorf,void * disc) dll_lib() argument
185 Dllnames_t names; dllmeth() local
[all...]
/titanic_51/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()
105 continue; /* just selected names */ 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[ in scandir64()
163 struct dirent *d, *p, **names = NULL; scandir() local
[all...]
/titanic_51/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, 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[ in krb5_425_conv_principal()
[all...]
/titanic_51/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, in pkinit_kdcdefault_strings()
235 const char *names[5]; pkinit_libdefault_strings() local
[all...]
/titanic_51/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_51/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, in profile_get_string()
230 const char *names[4]; profile_get_integer() local
311 const char *names[4]; profile_get_boolean() local
337 profile_get_subsection_names(profile_t profile,const char ** names,char *** ret_names) profile_get_subsection_names() argument
373 profile_get_relation_names(profile_t profile,const char ** names,char *** ret_names) profile_get_relation_names() argument
405 profile_iterator_create(profile_t profile,const char * const * names,int flags,void ** ret_iter) profile_iterator_create() argument
[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; cp in profile_clear_relation()
182 profile_rename_section(profile_t profile,const char ** names,const char * new_name) profile_rename_section() argument
235 profile_add_relation(profile_t profile,const char ** names,const char * new_value) profile_add_relation() argument
[all...]
/titanic_51/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()
101 continue; /* just selected names */ 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; scandir() local
[all...]
/titanic_51/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 ! in putprojent()
[all...]
/titanic_51/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()
[all...]
/titanic_51/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()
65 continue; /* just selected names */ 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()
[all...]
/titanic_51/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_51/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
70 * get audit file names in main()
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()
114 * process_options() - get command line flags and file names
115 * input: - praudit [-r]/[-s] [-l] [-x] [-ddel] [-c] {audit file names}
116 * output: - {audit file names}
124 process_options(int *argc, char **argv, char **names) in process_options() argument
[all...]
/titanic_51/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c375 * Set the rpcsec_gss svc names for all net interfaces.
421 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[ in main()
[all...]
/titanic_51/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 in _nss_ldap_networks2str()
[all...]
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 in _nss_ldap_protocols2str()
[all...]
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()
132 * fully qualified host names (e.g., foo.bar.sun.com).
/titanic_51/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_51/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_51/usr/src/common/ficl/
H A Dloader.c77 int names, values; in ficlSetenv() local
81 names = ficlStackPopInteger(ficlVmGetDataStack(pVM)); in ficlSetenv()
86 name = (char *)ficlMalloc(names+1); in ficlSetenv()
89 strncpy(name, namep, names); in ficlSetenv()
90 name[names] = '\0'; in ficlSetenv()
107 int names, values, overwrite; in ficlSetenvq() local
112 names = ficlStackPopInteger(ficlVmGetDataStack(pVM)); in ficlSetenvq()
117 name = (char *)ficlMalloc(names+1); in ficlSetenvq()
120 strncpy(name, namep, names); in ficlSetenvq()
121 name[names] in ficlSetenvq()
138 int names; ficlGetenv() local
166 int names; ficlUnsetenv() local
235 int names, types; ficlFindfile() local
[all...]
/titanic_51/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()
176 * A string has been found to contain member names.
178 * Handle it pretty much as enter_name() does for simple names.
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[ in find_target_groups()
[all...]
/titanic_51/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_51/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>>...21