Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 605) sorted by relevance

12345678910>>...25

/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_hashitem.c68 if (table != 0) { in __nis_init_hash_table()
93 (void) memset(table->keys, 0, sizeof (table->keys)); in __nis_init_hash_table()
94 table->first = 0; in __nis_init_hash_table()
104 if (table != 0) { in __nis_lock_hash_table()
121 myself, table)); in __nis_lock_hash_table()
123 &table->lock); in __nis_lock_hash_table()
178 if (table != 0) { in __nis_ulock_hash_table()
243 key %= (sizeof (table->keys) / sizeof (table->keys[0])); in __find_item_mt()
299 if (table->first) in __nis_insert_item_mt()
680 if (table == 0) { in __nis_scan_table_mt()
[all …]
H A Ddb_mindex.cc66 table = NULL; in db_mindex()
117 table = new db_table(); in init()
118 if (table == NULL) { in init()
145 if (table) table->reset(); in reset_tables()
182 (table->mapping.fromLDAP || in satisfy_query()
287 table, checkExpire); in satisfy_query_dbonly()
446 table->mapping.ttl; in first()
658 if (table == NULL) { in all()
846 if (table != NULL && table->getsize() > 0) { in remove()
1080 if (table) { delete table; table = NULL; } in reset()
[all …]
H A Ddb_mindex3.cc141 table->mapping.enumTid = 0; in entriesFromLDAP()
333 db_table *table; in entriesFromLDAPreal() local
376 if (table != 0) { in entriesFromLDAPreal()
448 table->mapping.enumTime = in entriesFromLDAPreal()
525 TRYWRITELOCK(table, stat3, in entriesFromLDAPreal()
599 table->setEnumMode(0); in entriesFromLDAPreal()
631 table->enumTouch(i); in entriesFromLDAPreal()
834 table->mapping.ttl; in entriesFromLDAPreal()
909 table->mapping.enumTime, in entriesFromLDAPreal()
910 table->mapping.enumTime/ in entriesFromLDAPreal()
[all …]
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_db.c221 rfs4_table_t *table; in rfs4_database_shutdown() local
224 for (table = db->db_tables; table; table = table->dbt_tnext) { in rfs4_database_shutdown()
315 table->dbt_db = db; in rfs4_table_create()
372 return (table); in rfs4_table_create()
409 kmem_free(table->dbt_name, strlen(table->dbt_name) + 1); in rfs4_table_destroy()
425 ASSERT(table->dbt_idxcnt < table->dbt_maxcnt); in rfs4_index_create()
438 table->dbt_ccnt++; in rfs4_index_create()
506 table->dbt_count--; in rfs4_dbe_destroy()
591 table->dbt_name, time_t, table->dbt_id_reap); in rfs4_dbe_tabreap_adjust()
647 table->dbt_maxentries == table->dbt_count) { in rfs4_dbsearch()
[all …]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtable.c62 hash_table table = taid->table; in ht_insert() local
75 if (((table[x].key == key) && (table[x].info == 1)) || in ht_insert()
132 if ((table[x].key == key) && (table[x].info == 1)) { in ht_search()
159 hash_table table = taid->table; in ht_retrieve() local
200 hash_table table = taid->table; in ht_remove() local
213 if ((table[x].key == key) && (table[x].info == 1)) { in ht_remove()
223 table[x].elements = table[x].next->elements; in ht_remove()
224 table[x].info = table[x].next->info; in ht_remove()
225 table[x].key = table[x].next->key; in ht_remove()
227 table[x].next = table[x].next->next; in ht_remove()
[all …]
H A Dba_table.c48 ba_table_t *table = &bataid->table; in ba_insert() local
66 (void) ipgpc_list_insert(&table->masks, mask); in ba_insert()
68 ++table->masked_values[mskd_val].info; in ba_insert()
91 ba_table_t *table = &bataid->table; in ba_retrieve() local
97 table->masked_values[0].filter_list; in ba_retrieve()
106 for (p = table->masks; p != NULL; p = p->next) { in ba_retrieve()
108 if (bataid->table.masked_values[masked_value].info == 0) { in ba_retrieve()
113 table->masked_values[masked_value].filter_list; in ba_retrieve()
134 ba_table_t *table = &bataid->table; in ba_remove() local
145 --table->masked_values[masked_value].info; in ba_remove()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dpart.c277 table = NULL; in ptable_gptread()
287 table->sectorsize - 1) / table->sectorsize); in ptable_gptread()
301 table->sectors - 1, table->sectorsize); in ptable_gptread()
504 table = NULL; in ptable_bsdread()
763 table = NULL; in ptable_open()
774 table = malloc(sizeof (*table)); in ptable_open()
820 table = ptable_gptread(table, dev, dread); in ptable_open()
850 table = ptable_gptread(table, dev, dread); in ptable_open()
885 table = ptable_ebrread(table, dev, dread); in ptable_open()
909 free(table); in ptable_close()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/
H A DMakefile.com39 maz%wi2.c maz%win2.c orig%646de%8859.c table.8859-1.IBM-500.c table.IBM-500.8859-1.c table.alt.iso.…
40 table.alt.mac.c table.alt.win.c table.dhn.ib2.c table.dhn.is2.c table.dhn.maz.c table.dhn.wi2.c tab…
41 table.ib2.maz.c table.ib2.wi2.c table.is2.dhn.c table.is2.ib2.c table.is2.maz.c table.is2.wi2.c tab…
42 table.iso.mac.c table.iso.win.c table.koi.alt.c table.koi.iso.c table.koi.mac.c table.koi.win.c tab…
43 table.mac.koi.c table.mac.win.c table.maz.dhn.c table.maz.ib2.c table.maz.is2.c table.maz.wi2.c tab…
44 table.wi2.is2.c table.wi2.maz.c table.win.alt.c table.win.iso.c table.win.koi.c table.win.mac.c wi2…
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios.c55 if (table == NULL) { in smbios_test_table_init()
67 table->stt_nextid = 1; in smbios_test_table_init()
69 return (table); in smbios_test_table_init()
81 if (len + table->stt_offset >= table->stt_buflen) { in smbios_test_table_append_common()
95 (void) memcpy(newbuf, table->stt_data, table->stt_buflen); in smbios_test_table_append_common()
96 umem_free(table->stt_data, table->stt_buflen); in smbios_test_table_append_common()
101 start = (void *)((uintptr_t)table->stt_data + table->stt_offset); in smbios_test_table_append_common()
138 table->stt_nents++; in smbios_test_table_append()
142 table->stt_nextid++; in smbios_test_table_append()
219 if (table == NULL) { in smbios_test_table_fini()
[all …]
H A Dsmbios_test_strprop.c26 smbios_test_strprop_mktable_basic(smbios_test_table_t *table) in smbios_test_strprop_mktable_basic() argument
36 (void) smbios_test_table_append(table, &str, sizeof (str)); in smbios_test_strprop_mktable_basic()
37 smbios_test_table_append_string(table, smbios_strprop_path); in smbios_test_strprop_mktable_basic()
38 smbios_test_table_str_fini(table); in smbios_test_strprop_mktable_basic()
39 smbios_test_table_append_eot(table); in smbios_test_strprop_mktable_basic()
57 smbios_test_table_str_fini(table); in smbios_test_strprop_mktable_badstr()
58 smbios_test_table_append_eot(table); in smbios_test_strprop_mktable_badstr()
72 smbios_test_table_append_eot(table); in smbios_test_strprop_mktable_invlen1()
94 (void) smbios_test_table_append_raw(table, &endstring, in smbios_test_strprop_mktable_invlen2()
97 (void) smbios_test_table_append_raw(table, &endstring, in smbios_test_strprop_mktable_invlen2()
[all …]
H A Dsmbios_test_chassis.c39 smbios_test_table_append_eot(table); in smbios_test_chassis_mktable_invlen_base()
95 smbios_test_chassis_mktable_append_strings(table); in smbios_test_chassis_mktable_base()
96 smbios_test_table_str_fini(table); in smbios_test_chassis_mktable_base()
97 smbios_test_table_append_eot(table); in smbios_test_chassis_mktable_base()
114 smbios_test_chassis_mktable_append_strings(table); in smbios_test_chassis_mktable_comps()
115 smbios_test_table_str_fini(table); in smbios_test_chassis_mktable_comps()
116 smbios_test_table_append_eot(table); in smbios_test_chassis_mktable_comps()
133 smbios_test_table_str_fini(table); in smbios_test_chassis_mktable_sku_nocomps()
134 smbios_test_table_append_eot(table); in smbios_test_chassis_mktable_sku_nocomps()
155 smbios_test_table_str_fini(table); in smbios_test_chassis_mktable_sku()
[all …]
/illumos-gate/usr/src/lib/iconv_modules/euro/utils/gentbl/
H A DMakefile143 TABLES = table.8859-1.IBM-500.c table.IBM-500.8859-1.c table.alt.iso.c table.alt.koi.c \
144 table.alt.mac.c table.alt.win.c table.dhn.ib2.c table.dhn.is2.c table.dhn.maz.c table.dhn.wi2.c tab…
145 table.ib2.maz.c table.ib2.wi2.c table.is2.dhn.c table.is2.ib2.c table.is2.maz.c table.is2.wi2.c tab…
146 table.iso.mac.c table.iso.win.c table.koi.alt.c table.koi.iso.c table.koi.mac.c table.koi.win.c tab…
147 table.mac.koi.c table.mac.win.c table.maz.dhn.c table.maz.ib2.c table.maz.is2.c table.maz.wi2.c tab…
148 table.wi2.is2.c table.wi2.maz.c table.win.alt.c table.win.iso.c table.win.koi.c table.win.mac.c
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dtable.test24 do_test table-1.1 {
42 do_test table-1.3 {
44 } {test1 test1 table}
49 do_test table-1.4 {
53 } {test1 test1 table}
57 do_test table-1.5 {
65 do_test table-1.6 {
73 do_test table-1.10 {
77 do_test table-1.11 {
81 do_test table-1.12 {
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c319 if (*table == NULL) { in ib_rcm_info_table()
322 newtable = realloc(*table, strlen(*table) + table_size); in ib_rcm_info_table()
324 *table = newtable; in ib_rcm_info_table()
326 free(*table); in ib_rcm_info_table()
327 *table = NULL; in ib_rcm_info_table()
332 if (*table == NULL) { in ib_rcm_info_table()
340 (void) strlcat(*table, "\n", sizeof (*table)); in ib_rcm_info_table()
344 (void) strcat(*table, " "); in ib_rcm_info_table()
346 (void) strlcat(*table, rsrc, sizeof (*table)); in ib_rcm_info_table()
358 (void) strlcat(*table, info, sizeof (*table)); in ib_rcm_info_table()
[all …]
/illumos-gate/usr/src/cmd/tbl/
H A Dt5.c63 table[nlin] = (struct colstr *) alocv((ncol+2)*sizeof(table[0][0])); in gettbl()
75 table[nlin][icol].rcol=0; in gettbl()
79 table[nlin][icol].col = in gettbl()
91 table[nlin][icol].rcol = in gettbl()
95 table[nlin][icol].rcol = table[nlin][icol].col; in gettbl()
106 table[nlin][icol].col = ""; in gettbl()
107 table [nlin][icol].rcol=0; in gettbl()
164 start = table[is][jcol].col; in permute()
172 table[is][jcol].rcol =0; in permute()
173 table[is][jcol].col= SPAN; in permute()
[all …]
H A Dt9.c26 for(useln=0; useln<MAXLIN && table[useln]==0; useln++); in yetmore()
29 table[0]=table[useln]; in yetmore()
61 table[0][icol].col = dataln; in domore()
62 table[0][icol].rcol=0; in domore()
69 table[0][icol].rcol = maknew(table[0][icol].col); in domore()
72 table[0][icol].rcol = table[0][icol].col; in domore()
73 table[0][icol].col= ""; in domore()
77 table[0][++icol].col = ""; in domore()
81 table[0][icol].col = ""; in domore()
/illumos-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c250 if (*table == NULL) { in sata_rcm_info_table()
253 if (*table == NULL) { in sata_rcm_info_table()
257 newtable = realloc(*table, strlen(*table) + table_size); in sata_rcm_info_table()
261 *table = newtable; in sata_rcm_info_table()
269 (void) strcat(*table, "\n"); in sata_rcm_info_table()
273 (void) strcat(*table, " "); in sata_rcm_info_table()
275 (void) strcat(*table, rsrc); in sata_rcm_info_table()
278 (void) strcat(*table, " "); in sata_rcm_info_table()
282 (void) strcat(*table, " "); in sata_rcm_info_table()
285 (void) strcat(*table, " "); in sata_rcm_info_table()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c272 if (*table == NULL) { in usb_rcm_info_table()
275 if (*table == NULL) { in usb_rcm_info_table()
281 newtable = realloc(*table, strlen(*table) + table_size); in usb_rcm_info_table()
287 *table = newtable; in usb_rcm_info_table()
294 (void) strcat(*table, "\n"); in usb_rcm_info_table()
298 (void) strcat(*table, " "); in usb_rcm_info_table()
300 (void) strcat(*table, rsrc); in usb_rcm_info_table()
303 (void) strcat(*table, " "); in usb_rcm_info_table()
307 (void) strcat(*table, " "); in usb_rcm_info_table()
310 (void) strcat(*table, " "); in usb_rcm_info_table()
[all …]
/illumos-gate/usr/src/cmd/acpi/iasl/
H A Dnew_table.txt1 How to add a new ACPI table to ACPICA and the iASL compiler.
5 new ACPI table:
6 1) Create a full definition of the table and any subtables
8 2) Add disassembler support for the new table
9 3) Add iASL table compiler support for the new table
23 Use ACPI_TABLE_HEADER for the common ACPI table header.
29 the table came from.
30 Use other table definitions for additional guidance.
37 Add table access macro(s) of the form ACPI_xxxx_OFFSET
48 similar table can often be ported for the new table.
[all …]
/illumos-gate/usr/src/lib/libdisasm/common/
H A Ddis_riscv.c665 table->drv_name, in dis_riscv_fence()
1388 dis_riscv_c_loadstore(dhp, table->drv_c_name, in dis_riscv_c_lwsp()
1400 dis_riscv_c_loadstore(dhp, table->drv_c_name, in dis_riscv_c_ldsp()
1412 dis_riscv_c_loadstore(dhp, table->drv_c_name, in dis_riscv_c_flwsp()
1424 dis_riscv_c_loadstore(dhp, table->drv_c_name, in dis_riscv_c_fldsp()
1580 dis_riscv_c_regimm(dhp, table->drv_c_name, in dis_riscv_c_branch()
1592 dis_riscv_c_regimm(dhp, table->drv_c_name, in dis_riscv_c_bigimmint()
1602 dis_riscv_c_regimm(dhp, table->drv_c_name, in dis_riscv_c_zext_bigimmint()
1616 dis_riscv_c_regimm(dhp, table->drv_c_name, in dis_riscv_c_addi16sp()
1646 dis_riscv_c_regimm(dhp, table->drv_c_name, in dis_riscv_c_immint()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c230 old_table = table; in hcreate()
231 table = local_table; in hcreate()
251 p = table[i]; in hdestroy()
265 table = 0; in hdestroy()
303 RETURN(&table[i]); in hsearch()
320 RETURN(&table[i]) in hsearch()
367 table[curpos] = table[curj]; /* Old key to new site */ in hsearch()
431 q = &table[i];
432 p = table[i];
446 RETURN(build(&table[i], table[i], item));
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_biggest.c48 insertn(nsc_keephot_t *table, uint_t n, void *data) in insertn() argument
53 if (n < 1 || table[1].num > n) { in insertn()
57 size = table[0].num; in insertn()
58 if (table[size].num < n) /* biggest so far */ in insertn()
65 if (table[guess].num == n) in insertn()
67 if (table[guess].num > n) in insertn()
76 olddata = table[1].ptr; in insertn()
77 (void) memmove(table + 1, table + 2, in insertn()
79 table[guess].ptr = data; in insertn()
80 table[guess].num = n; in insertn()
/illumos-gate/usr/src/cmd/oawk/
H A Db.c846 for (i = 0, table = table_base; i < table_size; i++, table++) { in insert_table()
923 if (MLCMPLT(ne, ce, table->cc_ns, (table->cc_cs - 1))) { in insert_table()
926 if (MLCMPLE(table->cc_ns, (table->cc_cs - 1), ne, ce) && in insert_table()
927 MLCMPLE(ne, ce, table->cc_ne, (table->cc_ce + 1))) { in insert_table()
931 if (MLCMPLT(ne, ce, table->cc_ne, table->cc_ce)) { in insert_table()
935 table++; in insert_table()
982 for (i = 0, table = table_base; i < table_size; i++, table++) { in delete_table()
1031 table++; in delete_table()
1041 table->cc_ns, table->cc_cs)) { in delete_table()
1047 } else if (MLCMPGT(table->cc_ne, table->cc_ce, in delete_table()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c310 if (*table == NULL) { in scsi_rcm_info_table()
313 if (*table == NULL) in scsi_rcm_info_table()
316 newtable = realloc(*table, strlen(*table) + table_size); in scsi_rcm_info_table()
320 *table = newtable; in scsi_rcm_info_table()
326 (void) strcat(*table, "\n"); in scsi_rcm_info_table()
329 (void) strcat(*table, " "); in scsi_rcm_info_table()
330 (void) strcat(*table, rsrc); in scsi_rcm_info_table()
332 (void) strcat(*table, " "); in scsi_rcm_info_table()
335 (void) strcat(*table, " "); in scsi_rcm_info_table()
338 (void) strcat(*table, " "); in scsi_rcm_info_table()
[all …]
/illumos-gate/usr/src/lib/krb5/ss/
H A Dinvocation.c27 register ss_data **table; local
30 table = _ss_table;
33 if (table == (ss_data **) NULL) {
34 table = (ss_data **) malloc(2 * size);
35 table[0] = table[1] = (ss_data *)NULL;
38 for (sci_idx = 1; table[sci_idx] != (ss_data *)NULL; sci_idx++)
40 table = (ss_data **) realloc((char *)table,
42 table[sci_idx+1] = (ss_data *) NULL;
43 table[sci_idx] = new_table;
67 _ss_table = table;

12345678910>>...25