/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | realm_iter.c | 37 static const char *const names[] = { "realms", 0 }; local 39 return profile_iterator_create(context->profile, names,
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | tcsearch.c | 48 _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));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | gram.y | 59 %type <namel> namelist, names, opt_namelist 88 | LP names RP = { 93 names: /* VOID */ { label 96 | names NAME = {
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_util.c | 36 static const char *const names[] = { "event", "fmri", "auth", "list" }; local 39 item < sizeof (names) / sizeof (char *) ? names[item] : "???"); 76 static const char *names[] = { local 85 mem < sizeof (names) / sizeof (char *) ? names[mem] : "???");
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | getlist.c | 70 * Assemble the list of names 73 names(filename) function 129 list = names(argv[1]);
|
/illumos-gate/usr/src/cmd/oawk/ |
H A D | makeprctab.c | 92 char *names[SIZE]; variable 104 names[i] = ""; 119 names[p->token-FIRSTTOKEN] = p->pname; 121 printf("/*%s*/\t\"%s\",\n", tokname(i+FIRSTTOKEN), names[i]);
|
/illumos-gate/usr/src/cmd/praudit/ |
H A D | main.c | 43 static int process_options(int *argc, char *argv[], char *names[]); 64 char *names[MAXFILENAMES]; local 70 * get audit file names 72 if ((retstat = process_options(&argc, argv, names)) == 0) { 81 if (freopen(names[i], "r", stdin) == NULL) { 85 names[i], strerror(errno)); 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) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_dir.c | 55 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...] |
/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetproject.c | 38 char **names; local 48 names = proj->pj_users; 49 if (names != NULL) { 50 if (*names != NULL) 51 if (fputs(*names++, fp) == EOF) 53 while (*names != NULL) 54 if (fprintf(fp, ",%s", *names++) == EOF) 59 names = proj->pj_groups; 60 if (names != NULL) { 61 if (*names ! [all...] |
/illumos-gate/usr/src/ucbcmd/users/ |
H A D | users.c | 24 static char **names; variable 43 names = namp = (char **)realloc((void *)NULL, BUFSIZ * sizeof (char *)); 56 names = (char **)realloc(names, 58 namp = names + nusers; 81 qsort(names, namp - names, sizeof (names[0]), scmp); 82 for (p = names; p < namp; p++) { 83 if (p != names) [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_set.c | 84 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...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | scandir.c | 41 struct direct *d, *p, **names; local 58 names = (struct direct **)malloc(arraysz * sizeof(struct direct *)); 59 if (names == NULL) 65 continue; /* just selected names */ 84 names = (struct direct **)realloc((char *)names, 86 if (names == NULL) 89 names[nitems-1] = p; 93 qsort(names, nitems, sizeof(struct direct *), dcomp); 94 *namelist = names; [all...] |
/illumos-gate/usr/src/cmd/awk/ |
H A D | maketab.c | 109 char *names[SIZE]; variable 139 names[tok-FIRSTTOKEN] = malloc(strlen(name)+1); 140 strcpy(names[tok-FIRSTTOKEN], name); 151 printf("\tnullproc,\t/* %s */\n", names[i]); 153 printf("\t%s,\t/* %s */\n", table[i], names[i]);
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | scandir.c | 76 struct direct64 *d, *p, **names; local 93 names = (struct direct64 **)malloc(arraysz * 95 if (names == NULL) 101 continue; /* just selected names */ 121 names = (struct direct64 **)realloc((char *)names, 123 if (names == NULL) 126 names[nitems-1] = p; 130 qsort(names, nitems, sizeof (struct direct64 *), 132 *namelist = names; 143 struct direct *d, *p, **names; local [all...] |
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | getdents.c | 72 * assuming the worst case of 256 byte names. 75 * get more names than we can handle, we tell the rpc 76 * routine that we only have space for MAXDENT names if 93 char names[MAXDENTS][NFS_MAXNAMLEN+1]; member in struct:__anon4422 120 rdbuf.etlist[j].name = rdbuf.names[(MAXDENTS-1) - j]; 128 * 256 bytes! Assume the worst case of all 1 byte names. 132 bzero((caddr_t)rdbuf.names, sizeof (rdbuf.names));
|
H A D | getdents3.c | 72 * assuming the worst case of 256 byte names. 75 * get more names than we can handle, we tell the rpc 76 * routine that we only have space for MAXDENT names if 94 char names[MAXDENTS][NFS_MAXNAMLEN+1]; member in struct:__anon4423 121 rdbuf.etlist[j].name = rdbuf.names[(MAXDENTS-1) - j]; 129 * 256 bytes! Assume the worst case of all 1 byte names. 133 bzero((caddr_t)rdbuf.names, sizeof (rdbuf.names));
|
H A D | getdents4.c | 72 * assuming the worst case of 256 byte names. 75 * get more names than we can handle, we tell the rpc 76 * routine that we only have space for MAXDENT names if 95 char names[MAXDENTS][NFS_MAXNAMLEN+1]; member in struct:__anon4424 131 rdbuf.names[(MAXDENTS-1) - j]; 139 * 256 bytes! Assume the worst case of all 1 byte names. 145 bzero((caddr_t)rdbuf.names, sizeof (rdbuf.names));
|
/illumos-gate/usr/src/lib/krb5/kadm5/ |
H A D | misc_free.c | 49 kadm5_free_name_list(void *server_handle, char **names, int count) argument 54 free(names[count]); 55 free(names);
|
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getbootparams.c | 62 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 D | getnetent.c | 70 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...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | appdefault.c | 41 const char *names[5]; local 62 names[0] = "appdefaults"; 63 names[1] = appname; 66 names[2] = realmstr; 67 names[3] = option; 68 names[4] = 0; 69 retval = profile_get_values(profile, names, &nameval); 85 names[2] = option; 86 names[3] = 0; 87 retval = profile_get_values(profile, names, [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | scandir.c | 78 struct dirent64 *d, *p, **names = NULL; local 99 names = malloc(arraysz * sizeof (struct dirent64 *)); 100 if (names == NULL) 105 continue; /* just selected names */ 128 tmp = realloc(names, 134 names = tmp; 136 names[nitems++] = p; 140 qsort(names, nitems, sizeof (struct dirent64 *), 142 *namelist = names; 148 free(names[ 163 struct dirent *d, *p, **names = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | stats.c | 89 uint64_t *values, char **names, size_t nr) 95 ASSERT(!(strlen(names[i]) >= sizeof (ctr.name))); 96 (void) strncpy((char *)ctr.name, names[i], 88 rdsv3_stats_info_copy(struct rdsv3_info_iterator *iter, uint64_t *values, char **names, size_t nr) argument
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_profile.c | 98 const char *names[5]; local 117 names[0] = "realms"; 118 names[1] = realmname; 119 names[2] = option; 120 names[3] = 0; 121 retval = profile_get_values(profile, names, &values); 133 names[0] = "kdcdefaults"; 134 names[1] = option; 135 names[2] = 0; 136 retval = profile_get_values(profile, names, 235 const char *names[5]; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_smf.c | 37 static int online(char *svc_names[], char **names); 124 char *names = NULL; local 127 if (online(svm_core_svcs, &names) == 0) 131 if (online(svm_diskset_svcs, &names) == 0) 135 if (online(svm_mn_diskset_svcs, &names) == 0) 140 (void) mderror(ep, MDE_SMF_NO_SERVICE, names); 141 Free(names); 280 char *names = NULL; local 283 if (online(svc_names, &names)) 288 if (names ! 298 online(char *svc_names[], char **names) argument [all...] |