Searched defs:list (Results 26 - 50 of 605) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddtrestore.c24 /* Restore dictionary from given tree or list of elements.
25 ** There are two cases. If called from within, list is nil.
26 ** From without, list is not nil and data->size must be 0.
32 int dtrestore(reg Dt_t* dt, reg Dtlink_t* list) argument
34 int dtrestore(dt, list)
36 reg Dtlink_t* list;
44 if(!list) /* restoring a flattened dictionary */
47 list = dt->data->here;
49 else /* restoring an extracted list of elements */
61 { *s = list;
[all...]
H A Ddttreeset.c30 static Dtlink_t* treebalance(Dtlink_t* list, int size) argument
32 static Dtlink_t* treebalance(list, size)
33 Dtlink_t* list;
41 return list;
43 for(l = list, n = size/2 - 1; n > 0; n -= 1)
47 mid->left = treebalance(list, (n = size/2) );
H A Ddtmethod.c37 reg Dtlink_t *list, *r; local
50 /* get the list of elements */
51 list = dtflatten(dt);
70 { if((r = list) )
74 list->left = r;
77 dt->data->head = list;
81 while(list)
82 { r = list->right;
83 (*meth->searchf)(dt,(Void_t*)list,DT_RENEW);
84 list
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dlist_impl.h43 struct list { struct
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-cancel.c42 char *list[2]; local
49 list[0] = buf;
50 list[1] = NULL;
52 if ((fd = lpd_open(svc, 'c', list, 15)) < 0)
92 /* if we canceled it, add it to the 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]; local
60 * Build up a valid list.suspect event for a fictional diagnosis
66 nvlist_alloc(&list, NV_UNIQUE_NAME, 0) != 0) {
96 err |= nvlist_add_uint8(list, FM_VERSION, FM_SUSPECT_VERSION);
97 err |= nvlist_add_string(list, FM_CLASS, FM_LIST_SUSPECT_CLASS);
98 err |= nvlist_add_string(list, FM_SUSPECT_UUID, "12345678");
99 err |= nvlist_add_string(list, FM_SUSPECT_DIAG_CODE, code);
100 err |= nvlist_add_int64_array(list, FM_SUSPECT_DIAG_TIME, tod, 2);
101 err |= nvlist_add_nvlist(list, FM_SUSPECT_DE, fmri);
102 err |= nvlist_add_uint32(list, FM_SUSPECT_FAULT_S
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dgetlist.c45 * Add a name to the list
70 * Assemble the list of names
128 listofnames *list; local
129 list = names(argv[1]);
131 print_listofnames(list);
133 free_listofnames(list);
142 print_listofnames(list)
143 listofnames *list;
145 if (list == NULL)
147 for (; list; lis
[all...]
H A Dyp_getalias.c58 static listofnames *list = NULL; variable
81 * if neccesary free previous list, then read in aliaslist
85 free_listofnames(list);
89 list = names(ALIASLIST);
136 for (entry = list, strcpy(name, entry->name); entry;
186 for (entry = list, strcpy(name, entry->name);
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dval_lgrp.c49 /* Validate a list of groups */
51 valid_lgroup(char *list, gid_t gid) argument
59 if( !list || !*list )
67 while ((ptr = strtok((i || n_invalid || dup_prim)? NULL: list, ","))) {
114 /* Terminate the list */
H A Dval_lprj.c45 /* Validate a list of projects */
47 valid_lproject(char *list) argument
57 if (!list || !*list)
60 while ((ptr = strtok((i || n_invalid) ? NULL : list, ","))) {
101 /* Terminate the list */
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DTest.java34 * action=[add,delete,modify,view,list]
50 * file_contents=[space seperated list]
51 * user_allow_list=[space seperated list]
52 * user_deny_list=[space seperated list]
222 if (action.equals("list")) {
305 private static void printPList(String[] list) argument
307 if (list == null)
309 if (list[0].equals("")) {
314 for (int i = 0; i < list.length; ) {
315 System.out.println("name: " + list[
[all...]
/illumos-gate/usr/src/cmd/sgs/include/
H A Dlist.h30 * This file maintains an old style of list processing that is required by
43 typedef struct list List;
45 struct listnode { /* a node on a linked list */
50 struct list { /* a linked list */ struct
60 struct listnode32 { /* a node on a linked list */
65 struct list32 { /* a linked list */
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dtokens.c44 char info[SYS_NMLN], * list, * ptr, * optr; local
64 if ((list = strdup(info)) == 0)
66 desc->isa_list = list;
72 for (no = 1, ptr = list; *ptr; ptr++) {
82 * Unpack the instruction set list.
84 for (optr = ptr = list; *ptr; ptr++) {
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dreplica.c60 free_replica(struct replica *list, int count) argument
65 if (list[i].host)
66 free(list[i].host);
67 if (list[i].path)
68 free(list[i].path);
70 free(list);
76 struct replica *list = NULL; local
106 * and grab the address and store it in the list
112 if ((list = realloc(list, (*coun
[all...]
/illumos-gate/usr/src/cmd/getent/
H A Ddogetipnodes.c91 dogetipnodes(const char **list) argument
101 if (list == NULL || *list == NULL) {
105 for (; *list != NULL; list++) {
106 if (strchr(*list, ':') != 0) {
115 if (inet_pton(af, *list, addr) == 1)
119 *list,
H A Ddogetnet.c91 dogetnet(const char **list) argument
96 if (list == NULL || *list == NULL) {
100 for (; *list != NULL; list++) {
101 long addr = inet_network(*list);
105 np = getnetbyname(*list);
H A Ddogetproject.c77 dogetproject(const char **list) argument
86 if (list == NULL || *list == NULL) {
92 for (; *list != NULL; list++) {
93 projid = strtol(*list, &ptr, 10);
94 if (ptr == *list)
95 pproj = getprojbyname(*list, &proj,
H A Ddogetserv.c69 dogetserv(const char **list) argument
74 if (list == NULL || *list == NULL) {
78 for (; *list != NULL; list++) {
85 (void) strncpy(key, *list, sizeof (key));
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Denv.c34 build_env_list(Elist **list, const char *env) argument
51 lp->l_next = *list;
52 *list = lp;
60 check_list(Elist *list, const char *str) argument
64 if (list == NULL)
76 for (; list; list = list->l_next) {
77 if (strchr(list->l_libname, '/') == NULL) {
78 if (strcmp(basestr, list
[all...]
/illumos-gate/usr/src/cmd/syslogd/
H A Ddataq.h35 ll_t list; member in struct:dataq_data
40 ll_t list; member in struct:dataq_waiter
/illumos-gate/usr/src/tools/protocmp/
H A Dexception_list.c33 #include "list.h"
39 * exception list to weed out innocuous problems in the IHV gate.
46 parse_exception_line(char *line, elem_list *list) argument
84 add_elem(list, e);
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dbootops.c64 * The memory list should always be updated last. The prom
65 * calls which are made to update a memory list may have the
67 * happen after the kernel has created its page free list.
69 * snapshots of memory. Updating the memory available list
107 update_memlist(char *name, char *prop, struct memlist **list) argument
110 *list = fill_memlists(name, prop, *list);
144 * The memory list should always be updated last. The prom
145 * calls which are made to update a memory list may have the
147 * happen after the kernel has created its page free list
[all...]
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/
H A Ddevname2devid.c62 devid_nmlist_t *list = NULL; local
103 &list)) {
108 /* loop through list and process device names and numbers */
109 for (i = 0; list[i].devname != NULL; i++) {
110 (void) printf("devname: %s %p\n", list[i].devname, list[i].dev);
112 devid_free_nmlist(list);
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ofs_gen_util.c40 * Doubly linked per user context IB resource list definitions
41 * Protection must occur * outside of the list.
47 * Adds the entry to the tail of the list.
50 add_genlist(genlist_t *list, uintptr_t data, void *data_context) argument
62 new_entry->prev = list->tail;
64 if (!list->count) {
65 list->tail = new_entry;
66 list->head = new_entry;
68 list->tail->next = new_entry;
69 list
79 delete_genlist(genlist_t *list, genlist_entry_t *entry) argument
104 remove_genlist_head(genlist_t *list) argument
122 flush_genlist(genlist_t *list) argument
135 genlist_empty(genlist_t *list) argument
146 insert_genlist_tail(genlist_t *list, genlist_entry_t *entry) argument
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dlistdev.c65 * void sortlist(list)
66 * char **list
68 * This function sorts a list of character strings
69 * so that the list is ordered alphabetically.
72 * list The list to be sorted
78 sortlist(char **list) /* List to be sorted */ argument
85 /* If the list isn't empty ... */
86 if (*list) {
88 /* Find the last item in the list */
135 char **list; /* Ptr to alloc'd list */ local
[all...]

Completed in 158 milliseconds

1234567891011>>