Home
last modified time | relevance | path

Searched refs:list (Results 76 – 100 of 1471) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/cmd/cpc/common/
H A Dcaps.c45 char *list; member
104 struct evlist *list = arg; in cap_walker() local
106 list->size += strlen(name); in cap_walker()
107 if ((list->list = realloc(list->list, list->size + 1)) == NULL) { in cap_walker()
112 (void) strcat(list->list, name); in cap_walker()
131 lists[i]->list = emalloc(1); in allpics_equal()
132 lists[i]->list[0] = '\0'; in allpics_equal()
138 strncmp(lists[i]->list, lists[0]->list, in allpics_equal()
145 free(lists[i]->list); in allpics_equal()
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dprintlist.c85 printlist(FILE *fp, char **list) in printlist() argument
87 return (fdprintlist(fileno(fp), list)); in printlist()
91 fdprintlist(int fd, char **list) in fdprintlist() argument
95 if (list) in fdprintlist()
96 for (sep = ""; *list; *list++, sep = print_sep) { in fdprintlist()
100 q_print (fd, *list, print_sep); in fdprintlist()
102 (void)fdprintf (fd, "%s", *list); in fdprintlist()
H A Dlenlist.c36 char ** list in lenlist() argument
39 lenlist (list) in lenlist()
40 char **list; in lenlist()
45 if (!list)
47 for (pl = list; *pl; pl++)
49 return (pl - list);
H A Dfreelist.c41 char ** list in freelist() argument
44 freelist (list) in freelist()
45 char **list; in freelist()
50 if (list) {
51 for (pp = list; *pp; pp++)
53 Free ((char *)list);
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.c50 nvlist_t *auth, *fmri, *list, *test_arr[TEST_ARR_SZ]; in main() local
66 nvlist_alloc(&list, NV_UNIQUE_NAME, 0) != 0) { in main()
96 err |= nvlist_add_uint8(list, FM_VERSION, FM_SUSPECT_VERSION); in main()
98 err |= nvlist_add_string(list, FM_SUSPECT_UUID, "12345678"); in main()
99 err |= nvlist_add_string(list, FM_SUSPECT_DIAG_CODE, code); in main()
101 err |= nvlist_add_nvlist(list, FM_SUSPECT_DE, fmri); in main()
102 err |= nvlist_add_uint32(list, FM_SUSPECT_FAULT_SZ, 0); in main()
200 if ((s = fmd_msg_getitem_nv(h, NULL, list, i)) == NULL) { in main()
214 if ((s = fmd_msg_gettext_nv(h, NULL, list)) == NULL) { in main()
235 if ((s = fmd_msg_gettext_nv(h, NULL, list)) == NULL) { in main()
[all …]
/illumos-gate/usr/src/cmd/filesync/
H A Dignore.c68 static struct list *ign_hash(const char *, int);
74 struct list { struct
76 struct list *l_next; /* pointer to next element */ argument
79 static struct list *expr_list; /* list of regular expressions */
109 { struct list *lp; in ignore_check()
174 { struct list *lp; in ignore_expr()
254 static struct list *
258 struct list *lp; in ign_hash()
259 struct list **pp; in ign_hash()
338 struct list *np = 0; /* for LINT */ in ignore_reset()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend_007_pos.ksh85 list=$(getds_with_suffix $dstds @snapA)
86 list="$list $(getds_with_suffix $dstds @snapB)"
87 list="$list $(getds_with_suffix $dstds @snapC)"
88 list="$list $(getds_with_suffix $dstds @final)"
89 log_must destroy_tree $list
/illumos-gate/usr/src/cmd/abi/appcert/scripts/
H A Dabi_index.pl128 my @list = ();
130 push(@list, $liblist[$i-1]);
132 do_pvs(@list) if (@list);
133 @list = ();
136 do_pvs(@list) if (@list); # finish any remainder.
195 my (@list) = @_;
197 my (%list, $paths, $path, $cnt);
205 foreach $path (@list) {
206 $list{$path} = 1;
233 if ($list{$file} && $out =~ /\bELF\b/) {
[all …]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_utils.c194 if (!(*list)) { in slp_add2list()
195 if (!(*list = strdup(item))) in slp_add2list()
202 if (slp_onlist(item, *list)) in slp_add2list()
205 if (!(*list = realloc(*list, strlen(*list) + strlen(item) + 2))) { in slp_add2list()
209 (void) strcat(*list, ","); in slp_add2list()
210 (void) strcat(*list, item); in slp_add2list()
221 if (!*list || !slp_onlist(item, *list)) in slp_list_subtract()
224 for (p = *list; p; p++) { in slp_list_subtract()
237 if (!p && s == *list) { in slp_list_subtract()
239 free(*list); in slp_list_subtract()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsetlist.c121 struct cl_attr **list, *struct_ptr; in setlist() local
173 struct_ptr = list[sn]; in setlist()
175 list[i] = list[i - 1]; in setlist()
176 list[0] = struct_ptr; in setlist()
181 *plist = list; in setlist()
222 if (list && *list) { in cl_putl()
224 for (i = 0; list[i]; i++) in cl_putl()
225 j += strlen(list[i]->name) + 1; in cl_putl()
227 (void) strcpy(pt, list[0]->name); in cl_putl()
228 for (i = 1; list[i]; i++) { in cl_putl()
[all …]
/illumos-gate/usr/src/cmd/getent/
H A Ddogetethers.c52 dogetethers(const char **list) in dogetethers() argument
56 if (list == NULL || *list == NULL) { in dogetethers()
59 for (; *list != NULL; list++) { in dogetethers()
66 if ((e = ether_aton(*list)) != NULL) { in dogetethers()
70 hp = (char *)*list; in dogetethers()
H A Ddogetproto.c62 dogetproto(const char **list) in dogetproto() argument
67 if (list == NULL || *list == NULL) { in dogetproto()
71 for (; *list != NULL; list++) { in dogetproto()
72 int protocol = atoi(*list); in dogetproto()
76 pp = getprotobyname(*list); in dogetproto()
H A Ddogetuserattr.c68 dogetuserattr(const char **list) in dogetuserattr() argument
76 if (list == NULL || *list == NULL) { in dogetuserattr()
82 for (; *list != NULL; list++) { in dogetuserattr()
83 uid = strtoul(*list, &ptr, 10); in dogetuserattr()
86 puser = getusernam(*list); in dogetuserattr()
91 puser = getusernam(*list); in dogetuserattr()
H A Ddogetsp.c40 dogetsp(const char **list) in dogetsp() argument
46 if (list == NULL || *list == NULL) { in dogetsp()
52 for (; *list != NULL; list++) { in dogetsp()
53 sp = getspnam(*list); in dogetsp()
H A Ddogetproject.c75 dogetproject(const char **list) in dogetproject() argument
84 if (list == NULL || *list == NULL) { in dogetproject()
90 for (; *list != NULL; list++) { in dogetproject()
91 projid = strtol(*list, &ptr, 10); in dogetproject()
92 if (ptr == *list) in dogetproject()
93 pproj = getprojbyname(*list, &proj, in dogetproject()
H A Ddogetgr.c67 dogetgr(const char **list) in dogetgr() argument
74 if (list == NULL || *list == NULL) { in dogetgr()
78 for (; *list != NULL; list++) { in dogetgr()
90 gid = strtoul(*list, &ptr, 10); in dogetgr()
93 grp = getgrnam(*list); in dogetgr()
H A Ddogethost.c70 dogethost(const char **list) in dogethost() argument
75 if (list == NULL || *list == NULL) { in dogethost()
79 for (; *list != NULL; list++) { in dogethost()
81 addr.s_addr = inet_addr(*list); in dogethost()
86 hp = gethostbyname(*list); in dogethost()
/illumos-gate/usr/src/cmd/print/lpget/
H A Dlpget.c86 ns_kvp_t **list = printer->attributes; in display_value() local
88 for (list = printer->attributes; in display_value()
89 (list != NULL && *list != NULL); list++) { in display_value()
91 if (((*list)->key[0] == '\t') || in display_value()
92 ((*list)->key[0] == ' ')) in display_value()
95 string = ns_get_value_string((*list)->key, in display_value()
97 rc += display_kvp((*list)->key, string); in display_value()
/illumos-gate/usr/src/cmd/format/
H A Dctlr_ata.c289 list->header.magicno = (uint_t)DEFECT_MAGIC; in ata_convert_list()
290 list->list = new_defect; in ata_convert_list()
306 list->header.count = 0; in ata_convert_list()
307 list->header.magicno = (uint_t)DEFECT_MAGIC; in ata_convert_list()
315 list->list = new_defect; in ata_convert_list()
323 (void) checkdefsum(list, CK_MAKESUM); in ata_convert_list()
340 ata_ex_cur(struct defect_list *list) in ata_ex_cur() argument
351 (void) ata_convert_list(list, BFI_FORMAT); in ata_ex_cur()
430 ata_wr_cur(struct defect_list *list) in ata_wr_cur() argument
442 sec_count = list->header.count; in ata_wr_cur()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list.kshlib42 typeset list=$2
57 EXPECTED=$(echo $list | awk "{print \$$index}")
70 if [ $index -ne $(echo $list | awk '{print split($0,arr)+1}') ]
84 typeset list=$2
88 typeset -i index=$(echo $list | awk '{print split($0,arr)}')
91 "expecting the reverse of '$list'"
99 EXPECTED=$(echo $list | awk "{print \$$index}")
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c190 destroy_rep_val_list(uu_list_t *list) in destroy_rep_val_list() argument
192 if (list != NULL) { in destroy_rep_val_list()
193 empty_rep_val_list(list); in destroy_rep_val_list()
194 uu_list_destroy(list); in destroy_rep_val_list()
204 rv = uu_list_next(list, rv)) { in find_rep_val()
233 uu_list_remove(list, rv); in remove_rep_val()
240 empty_rep_val_list(uu_list_t *list) in empty_rep_val_list() argument
253 get_single_rep_val(uu_list_t *list) in get_single_rep_val() argument
267 if (add_rep_val(list, val) == -1) in set_single_rep_val()
431 empty_rep_val_list(list); in _retrieve_rep_vals()
[all …]
/illumos-gate/usr/src/head/iso/
H A Dstdarg_iso.h72 #define va_start(list, name) __va_start(list, name) argument
73 #define va_arg(list, type) __va_arg(list, type) argument
74 #define va_end(list) __va_end(list) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dvarargs.h63 #define va_start(list, name) __va_start(list, name) argument
64 #define va_arg(list, type) __va_arg(list, type) argument
66 #define va_end(list) __va_end(list) argument
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_reset_notify.c110 } *list; in scsi_hba_reset_notify_callback() local
121 list = kmem_alloc(count * sizeof (struct notify_entry), KM_NOSLEEP); in scsi_hba_reset_notify_callback()
122 if (list == NULL) { in scsi_hba_reset_notify_callback()
128 list[i].callback = p->callback; in scsi_hba_reset_notify_callback()
129 list[i].arg = p->arg; in scsi_hba_reset_notify_callback()
134 if (list[i].callback != NULL) in scsi_hba_reset_notify_callback()
135 (void) (*list[i].callback)(list[i].arg); in scsi_hba_reset_notify_callback()
137 kmem_free(list, count * sizeof (struct notify_entry)); in scsi_hba_reset_notify_callback()
/illumos-gate/usr/src/head/
H A Dvarargs.h59 #define va_start(list) __va_start(list, va_alist) argument
60 #define va_arg(list, type) __va_arg(list, type) argument
61 #define va_end(list) __va_end(list) argument

12345678910>>...59