Searched defs:list (Results 101 - 125 of 605) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/lp/lib/access/
H A Dloadaccess.c127 register char **list; local
138 * Preallocate space for the initial list. We'll always
139 * allocate one more than the list size, for the terminating null.
142 list = (char **)Malloc((nalloc + 1) * sizeof(char *));
143 if (!list) {
159 list = (char **)Realloc(
160 (char *)list,
163 if (!list) {
169 list[nlist] = Strdup(buf); /* if fail, minor problem */
170 list[
[all...]
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dloadfilters.c91 char **list; local
118 list = getlist(DFLT(FL_PTYPS), LP_WS, LP_SEP);
119 pf->printer_types = sl_to_typel(list);
120 freelist (list);
122 list = getlist(DFLT(FL_ITYPS), LP_WS, LP_SEP);
123 pf->input_types = sl_to_typel(list);
124 freelist (list);
126 list = getlist(DFLT(FL_OTYPS), LP_WS, LP_SEP);
127 pf->output_types = sl_to_typel(list);
128 freelist (list);
[all...]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dprintlist.c87 printlist(FILE *fp, char **list) argument
89 return (fdprintlist(fileno(fp), list));
93 fdprintlist(int fd, char **list) argument
97 if (list)
98 for (sep = ""; *list; *list++, sep = print_sep) {
102 q_print (fd, *list, print_sep);
104 (void)fdprintf (fd, "%s", *list);
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-misc.c38 papiAttributeListAddLPString(papi_attribute_t ***list, int flags, char *name, argument
43 if ((list != NULL) && (name != NULL) && (value != NULL) &&
45 result = papiAttributeListAddString(list, flags, name, value);
50 papiAttributeListAddLPStrings(papi_attribute_t ***list, int flags, char *name, argument
56 if ((list == NULL) || (name == NULL) || (values == NULL))
61 result = papiAttributeListAddString(list, flgs, name,
/illumos-gate/usr/src/cmd/make/lib/makestate/
H A Dld_file.c39 * Linked list of strings - used to keep lists of names
51 static Stritem * list = NULL; variable
62 prepend_str(Stritem **list, const char * str) argument
78 new->next = *list;
79 *list = new;
94 prepend_str(&list, file);
124 if (list)
127 for (cur = list; cur; cur = cur->next)
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_ancil.c90 * check whether a map is already in an array/list
96 on_maplist(char *mapname, char **list) { argument
99 if (list == NULL) {
103 while (list[i] != NULL) {
104 if (strcmp(mapname, list[i++]) == 0) {
113 * add a map at the end of an array/list
115 * list_len: if -1, we do not know list length
121 add_in_maplist(char *mapname, char ***list, int *list_len) { argument
125 if (list == NULL) {
129 list_tmp = *list;
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_notify.c67 * list. If this is the last entry in the list, this field is zero. Each
68 * entry in the list must be longword aligned, so NextEntryOffset must be a
251 smb_slist_t *list; local
256 list = &ses->s_req_list;
258 smb_slist_enter(list);
260 sr = smb_slist_head(list);
267 sr = smb_slist_next(list, sr);
270 smb_slist_exit(list);
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Ddict.c152 * build_dict_database(list, char *path)
154 * Create the Crack Dictionary Database based on the list of sources
155 * dictionaries specified in "list". Store the database in "path".
158 build_dict_database(char *list, char *path) argument
160 return (packer(list, path) == -1 ? DICTDATABASE_BUILD_ERR : 0);
165 * files listed in "list", or older than the config-file PWADMIN.
168 update_dict_database(char *list, char *path) argument
183 if ((listcopy = strdup(list)) == NULL)
227 return (build_dict_database(list, path));
237 make_dict_database(char *list, cha argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_updrec.c101 delete_list(__ISC_ns_updrec *list) { argument
105 for (; list != 0; list = next) {
106 next = list->r_link.next;
107 __ISC_res_freeupdrec(list);
115 __ISC_ns_updrec *list = 0, *r, *p; local
124 delete_list(list);
143 list = r;
146 return (list);
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgetzcent.c106 parse_mlp_list(tsol_mlp_t **list, char *str, int *errp, char **errstrp) argument
114 if ((mlp = *list) != NULL) {
121 mlp = *list;
132 *list = mlp;
148 *list = mlp;
245 /* Field four: get zone-specific MLP list. */
258 /* Field five: get global MLP list. */
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_disk.c160 /* Create an array list */
193 zjni_Collection_t *list = ((zjni_ArrayCallbackData_t *)data)->list; local
197 (*env)->CallBooleanMethod(env, ((zjni_Object_t *)list)->object,
198 ((zjni_Collection_t *)list)->method_add, disk);
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/
H A Dscanf.c149 * This function reorganises the format string and argument list.
165 format_arg(unsigned char *format, unsigned char *list, unsigned char *newlist) argument
255 args[i].a_val = ((int **)(list += sizeof(int *)))[-1];
/illumos-gate/usr/src/lib/libidmap/common/
H A Ddirectory_helper.c174 * Attributes required to generate a canonical name, in named-list and
275 is_in_list(char **list, char *val) argument
277 for (; *list != NULL; list++) {
278 if (uu_strcaseeq(*list, val))
/illumos-gate/usr/src/common/list/
H A Dlist.c26 * Generic doubly-linked list implementation
29 #include <sys/list.h>
41 extern list_node_t *list_d2l(list_t *list, void *obj);
48 #define list_insert_after_node(list, node, object) { \
49 list_node_t *lnew = list_d2l(list, object); \
56 #define list_insert_before_node(list, node, object) { \
57 list_node_t *lnew = list_d2l(list, object); \
70 list_create(list_t *list, size_t size, size_t offset) argument
72 ASSERT(list);
76 list
83 list_destroy(list_t *list) argument
95 list_insert_after(list_t *list, void *object, void *nobject) argument
106 list_insert_before(list_t *list, void *object, void *nobject) argument
117 list_insert_head(list_t *list, void *object) argument
124 list_insert_tail(list_t *list, void *object) argument
131 list_remove(list_t *list, void *object) argument
140 list_remove_head(list_t *list) argument
150 list_remove_tail(list_t *list) argument
160 list_head(list_t *list) argument
168 list_tail(list_t *list) argument
176 list_next(list_t *list, void *object) argument
187 list_prev(list_t *list, void *object) argument
248 list_is_empty(list_t *list) argument
[all...]
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dabienv.c55 build_env_list(Liblist **list, char const *env) argument
74 lp->l_next = *list;
75 *list = lp;
81 build_env_list1(Liblist **list, Liblist **listend, const char *env) argument
94 appendlist(list, listend, envstr, 1);
103 appendlist(list, listend, tok, 1);
110 env_to_intlist(Intlist **list, char const *env) argument
133 ip->i_next = *list;
134 *list = ip;
140 appendlist(Liblist **list, Liblis argument
201 check_list(Liblist *list, char const *str) argument
234 check_intlist(Intlist *list, char const *iface) argument
[all...]
/illumos-gate/usr/src/cmd/print/lpset/
H A Dlpset.c43 #include <list.h>
56 gid_t *list; local
74 list = alloca(maxgrp * sizeof (gid_t));
76 if ((len = getgroups(maxgrp, list)) != -1)
78 if (list[len] == 14)
/illumos-gate/usr/src/cmd/prstat/
H A Dprsort.c38 list_alloc(list_t *list, int size) argument
40 list->l_size = size;
42 list->l_ptrs = Zalloc(sizeof (void *) * (size + 1));
44 list->l_ptrs = NULL;
48 list_free(list_t *list) argument
50 if (list && list->l_ptrs) {
51 free(list->l_ptrs);
52 list->l_ptrs = NULL;
108 list_setkeyfunc(char *arg, optdesc_t *opt, list_t *list, in argument
146 list_getkeyval(list_t *list, void *ptr) argument
152 compare_keys(list_t *list, ulong_t key1, ulong_t key2) argument
163 list_insert(list_t *list, void *ptr) argument
188 list_preinsert(list_t *list, void *ptr) argument
209 list_sort(list_t *list) argument
[all...]
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcaps.c45 char *list; member in struct:evlist
104 struct evlist *list = arg; local
106 list->size += strlen(name);
107 if ((list->list = realloc(list->list, list->size + 1)) == NULL) {
112 (void) strcat(list->list, nam
[all...]
/illumos-gate/usr/src/cmd/eqn/
H A De.y71 column : lcol '{' list '}' { column('L', $1); }
72 | ccol '{' list '}' { column('C', $1); }
73 | rcol '{' list '}' { column('R', $1); }
74 | col '{' list '}' { column('-', $1); }
95 | lpile '{' list '}' { lpile('L', $1, ct); ct = $1; }
96 | cpile '{' list '}' { lpile('C', $1, ct); ct = $1; }
97 | rpile '{' list '}' { lpile('R', $1, ct); ct = $1; }
98 | pile '{' list '}' { lpile('-', $1, ct); ct = $1; }
155 list : eqn { lp[ct++] = $1; } label
156 | list ABOV
[all...]
/illumos-gate/usr/src/cmd/filesync/
H A Drules.c419 * pointer to list base
432 struct rule **list; local
443 /* figure out which list to put it on */
445 list = &bp->b_excludes;
447 list = &bp->b_restrictions;
449 list = &bp->b_includes;
451 while (*list)
452 list = &((*list)->r_next);
453 *list
[all...]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_cmds.c70 inj_rand_add(inj_randelem_t *list, inj_randelem_t *new) argument
72 new->re_next = list;
/illumos-gate/usr/src/cmd/format/
H A Dctlr_ata.c239 (void) fprintf(stderr, "No current partition list\n");
284 ata_convert_list(struct defect_list *list, int list_format) argument
301 list->header.count = ap->ap_tblp->alts_ent_used;
302 list->header.magicno = (uint_t)DEFECT_MAGIC;
303 list->list = new_defect;
319 list->header.count = 0;
320 list->header.magicno = (uint_t)DEFECT_MAGIC;
328 list->list
353 ata_ex_cur(struct defect_list *list) argument
443 ata_wr_cur(struct defect_list *list) argument
[all...]
H A Ddefect.c27 * This file contains routines that manipulate the defect list.
62 * This routine reads the defect list off the disk. It also reads in the
63 * bad block table if the disk is a BAD144 type. The defect list is
69 read_list(struct defect_list *list) argument
82 * This indicates that no list manipulation is done in this controller
90 * Panther's working list is maintained by the controller
94 ((*cur_ops->op_ex_cur)(list)) == 0) {
95 if (list->header.magicno != DEFECT_MAGIC) {
96 fmt_print("Defect list BAD\n");
98 fmt_print("Controller working list foun
206 checkdefsum(struct defect_list *list, int mode) argument
272 sort_defect(struct defect_entry *def, struct defect_list *list) argument
320 write_deflist(struct defect_list *list) argument
407 add_ldef(diskaddr_t blkno, struct defect_list *list) argument
438 add_def(struct defect_entry *def, struct defect_list *list, int index) argument
470 kill_deflist(struct defect_list *list) argument
[all...]
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsggen.c55 "[l:list?List \acatfile\a in UTF-8 \amsgfile\a form.]"
91 " are combined into a single \b,\b separated list.]"
129 * append s to the translation list
229 int list = 0; local
239 format = list = 1;
242 list = 1;
261 * set and list only need catfile
269 else if (list)
/illumos-gate/usr/src/cmd/avs/dsstat/
H A Ddsstat.c112 " Multiple modes may be specified as a comma separated list,\n"));
134 " Where <sets> is a comma delimited list of set names\n\n"));
269 set_vol_list(char *list) argument
276 for (volume = strtok(list, ","); volume != NULL;

Completed in 108 milliseconds

1234567891011>>