Searched defs:table (Results 26 - 50 of 192) sorted by relevance

12345678

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dtable.c45 * Routines to handle insertion, deletion, etc on the table
71 static TABLE_ENTRY *table = NULL; variable
76 * Look in the table for an invitation that matches the current
90 ptr = table;
143 * out of date entries in the table while we are it.
146 ptr = table;
209 ptr->next = table;
214 table = ptr;
244 ptr = table;
274 if (table
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dhash.c58 static struct node **table; variable in typeref:struct:node
71 table = (struct node **)alloc(TABLENGTH * sizeof(struct node *));
75 table[j] = 0;
98 p = table[j];
121 if(table[i] == 0)
123 last = &table[i];
129 q = &table[i];
130 p = table[i];
/illumos-gate/usr/src/cmd/spell/
H A Dspellin.c44 unsigned *table; variable
55 table[wp] |= w1>>(B-bp);
100 table = (unsigned *)malloc(ND * sizeof (*table));
101 if (table == 0) {
102 (void) fprintf(stderr, gettext("%s: no space for table\n"),
152 (void) fwrite((char *)table, sizeof (*table), wp, stdout);
157 (void) fprintf(stderr, "%s: %f table bits/item, %f table
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_hash.c79 * _sdbc_hash_configure - create a hash table
86 * The address of the hash table just created
92 * and returns the hash table that is created.
95 * It is also the caller's responsibility to destroy the hash table
143 * _sdbc_hash_deconfigure - deconfigure a hash table
146 * hash_table - hash table that was created earlier on.
173 * _sd_hash_search - search the hash table for an entry
178 * hash_table - hash table to search in.
181 * returns a hash header if a match was found in the hash table
189 * table fo
193 _sd_hash_search(int cd, nsc_off_t block_num, _sd_hash_table_t *table) argument
290 _sd_hash_insert(int cd, nsc_off_t block_num, _sd_hash_hd_t *hptr, _sd_hash_table_t *table) argument
376 _sd_hash_delete(_sd_hash_hd_t *hptr, _sd_hash_table_t *table) argument
441 _sd_hash_replace(_sd_hash_hd_t *old, _sd_hash_hd_t *new, _sd_hash_table_t *table) argument
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c33 #define MAX_FORMAT 80 /* for info table */
182 * and appends the rcm_info_t data in the form of a table to the
186 sata_rcm_info_table(rcm_info_t *rinfo, char **table) argument
203 if (rinfo == NULL || table == NULL) {
207 /* Set localized table header strings */
248 /* Allocate space for the table */
250 if (*table == NULL) {
252 *table = calloc(table_size, sizeof (char));
253 if (*table == NULL) {
257 newtable = realloc(*table, strle
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c250 * the rcm_info_t data in the form of a table to the given character pointer.
253 scsi_rcm_info_table(rcm_info_t *rinfo, char **table) argument
270 if (rinfo == NULL || table == NULL)
273 /* Set localized table header strings */
308 /* Allocate space for the table */
310 if (*table == NULL) {
312 *table = calloc(table_size, sizeof (char));
313 if (*table == NULL)
316 newtable = realloc(*table, strlen(*table)
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c33 #define MAX_FORMAT 80 /* for info table */
83 DPRINTF("usb_rcm_offline: table = %s\n", *errstring);
202 * and appends the rcm_info_t data in the form of a table to the
206 usb_rcm_info_table(rcm_info_t *rinfo, char **table) argument
225 if (rinfo == NULL || table == NULL) {
229 /* Set localized table header strings */
270 /* Allocate space for the table */
272 if (*table == NULL) {
274 *table = calloc(table_size, sizeof (char));
275 if (*table
[all...]
/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_sparc.h69 typedef struct table { struct
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c33 #define MAX_FORMAT 80 /* for info table */
93 DPRINTF("ib_rcm_offline: table = %s\n", *errstring);
243 * table - table to be printed
250 * and appends the rcm_info_t data in the form of a table to the
254 ib_rcm_info_table(rcm_info_t *rinfo, char **table) argument
273 if (rinfo == NULL || table == NULL) {
277 /* Set localized table header strings */
317 /* Allocate space for the table */
319 if (*table
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dsyncinit.c49 static int lookup(char **table, char *arg);
290 lookup(char **table, char *arg) argument
295 for (ival = 0; *table != 0; ival++, table++)
296 if (equal(*table, val))
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtsol.c48 * Free the mdb storage pointed to by the given per-prefix table.
51 free_table(tnrhc_hash_t **table, int ntable) argument
54 if (*table != NULL)
55 mdb_free(*table, TNRHC_SIZE * sizeof (**table));
56 table++;
62 * hashes that are present. On successful return, the table will contain
67 read_table(const char *symname, tnrhc_hash_t **table, int ntable) argument
77 if (mdb_vread(table, ntable * sizeof (*table),
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/dfmounts/
H A Ddfmounts.c108 static struct mountbody *table[NTABLEENTRIES]; variable in typeref:struct:mountbody
175 tb = table;
176 for (; ml != NULL && tb < &table[NTABLEENTRIES]; ml = ml->ml_next)
178 if (ml != NULL && tb == &table[NTABLEENTRIES])
179 pr_err(gettext("table overflow: only %d entries shown\n"),
182 qsort(table, endtb - table, sizeof (struct mountbody *), sortpath);
190 for (tb = table; tb < endtb; tb++) {
/illumos-gate/usr/src/cmd/fs.d/nfs/showmount/
H A Dshowmount.c68 static struct mountbody **table; variable in typeref:struct:mountbody
79 struct mountbody **tb; /* pointer into table */
183 table = (struct mountbody **)calloc(numentries,
185 if (table == NULL) {
190 for (ml = result_list, tb = &table[0];
201 qsort(table, numentries, sizeof (struct mountbody *), sortpath);
203 qsort(table, numentries, sizeof (struct mountbody *), sorthost);
205 for (tb = table; tb < table + numentries; tb++)
210 for (tb = table; t
[all...]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool_y.y82 %type <num> role table inout
97 line: table role ipftree eol { iplo.ipo_unit = $2;
102 | table role ipfhash eol { ipht.iph_unit = $2;
132 table: IPT_TABLE { bzero((char *)&ipht, sizeof(ipht)); label
415 { "table", IPT_TABLE },
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.h59 htbl_t *table; /* ptr to table */ member in struct:hiter
64 * about function calls and is stored in the hash table. When read back from
65 * disk this is merged into the parent's hash table
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4_idmap_impl.h73 nfsidhq_t *table; /* hash table */ member in struct:__anon6766
91 idmap_cache_info_t u2s_ci; /* table mapping uid-to-string */
92 idmap_cache_info_t s2u_ci; /* table mapping string-to-uid */
93 idmap_cache_info_t g2s_ci; /* table mapping groupid-to-string */
94 idmap_cache_info_t s2g_ci; /* table mapping string-to-groupid */
/illumos-gate/usr/src/uts/common/zmod/
H A Dzutil.c214 local ptr_table table[MAX_PTR]; variable
215 /* This table is used to remember the original form of pointers
217 * Since MSDOS is not a preemptive multitasking OS, this table is not
237 table[next_ptr].org_ptr = buf;
242 table[next_ptr++].new_ptr = buf;
255 if (ptr != table[n].new_ptr) continue;
257 farfree(table[n].org_ptr);
259 table[n-1] = table[n];
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/
H A Dkiconv_cck_common.c119 * table. If we find it from the mapping table, we put that
299 kiconv_table_t *table; local
303 table = (kiconv_table_t *)tbl;
308 if (key < table[mid].key)
310 else if (key > table[mid].key)
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dinit.c134 RSTATUS **table = NULL; local
220 * element of table[] will be NULL, and cancel will
238 list_append((void ***)&table, (void *)rsp);
245 if (table != NULL) {
248 for (i = 0; table[i] != NULL; i++);
250 qsort((void *)table, i, sizeof(RSTATUS *),
253 for (i = 0; table[i] != NULL; i++) {
254 table[i]->next = table[i + 1];
255 if (table[
[all...]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dgetpaths.c63 char Lp_A_Filters[] = ETCDIR "/filter.table";
134 getfilterfile(char *table) argument
138 if (!table)
139 table = FILTERTABLE;
141 path = makepath(ETCDIR, table, NULL);
/illumos-gate/usr/src/boot/lib/libz/
H A Dzutil.c212 local ptr_table table[MAX_PTR]; variable
213 /* This table is used to remember the original form of pointers
215 * Since MSDOS is not a preemptive multitasking OS, this table is not
235 table[next_ptr].org_ptr = buf;
240 table[next_ptr++].new_ptr = buf;
253 if (ptr != table[n].new_ptr) continue;
255 farfree(table[n].org_ptr);
257 table[n-1] = table[n];
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dgpt.c58 struct gpt_ent *table)
66 * 2. Partition table checksum.
74 bcopy(&table[firstent], secbuf, DEV_BSIZE);
77 printf("%s: unable to update %s GPT partition table\n",
81 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
234 struct gpt_ent *table)
248 ent = &table[nent + part];
262 bcopy(&table[nent], secbuf, DEV_BSIZE);
264 printf("%s: unable to update %s GPT partition table\n",
270 hdr->hdr_crc_table = crc32(table, hd
57 gptupdate(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, struct gpt_ent *table) argument
233 gptbootconv(const char *which, struct dsk *dskp, struct gpt_hdr *hdr, struct gpt_ent *table) argument
280 gptread_table(const char *which, const uuid_t *uuid, struct dsk *dskp, struct gpt_hdr *hdr, struct gpt_ent *table) argument
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dactions.c246 install_actions(fcode_env_t *env, token_t *table) argument
252 p = (token_t)table;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dstring.c50 * <table> is searched for string <sp> and corresponding value is returned
54 const Shtable_t *sh_locate(register const char *sp,const Shtable_t *table,int size) argument
62 tp=table;
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceTable.java44 * that any exceptions internal to the service table are processed
56 private static final String locationMsg = "Service table";
75 static protected ServiceTable table = null; field in class:ServiceTable
114 * @return The distinguished table object.
125 if (table == null) {
127 table = createServiceTable();
131 return table;
135 * Return a service table object.
137 * @return The service table object.
143 ServiceTable table
[all...]

Completed in 161 milliseconds

12345678