Home
last modified time | relevance | path

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

12345678910>>...32

/onnv-gate/usr/src/lib/libnisdb/
H A Dnis_hashitem.c63 __nis_init_hash_table(__nis_hash_table_mt *table, in __nis_init_hash_table() argument
68 if (table != 0) { in __nis_init_hash_table()
69 errorcode = pthread_mutex_init(&table->lock, 0); in __nis_init_hash_table()
76 errorcode = pthread_cond_init(&table->cond, 0); in __nis_init_hash_table()
83 errorcode = pthread_mutex_init(&table->traverser_id_lock, 0); in __nis_init_hash_table()
91 table->traversed = 0; in __nis_init_hash_table()
92 table->locked_items = 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()
95 table->destroyItem = itemDestructor; in __nis_init_hash_table()
[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()
183 table->mapping.objType != NIS_TABLE_OBJ)); in satisfy_query()
189 if (fromLDAP && table->mapping.matchFetch == mat_always) { in satisfy_query()
192 READLOCKNR(table, lockcode, in satisfy_query()
201 READUNLOCKNR(table, lockcode, in satisfy_query()
228 if (table->mapping.matchFetch != mat_never) { in satisfy_query()
[all …]
H A Ddb_mindex3.cc126 (void) mutex_lock(&table->mapping.enumLock); in entriesFromLDAP()
127 if (table->mapping.enumTid != 0) { in entriesFromLDAP()
130 stat = pthread_kill(table->mapping.enumTid, 0); in entriesFromLDAP()
134 myself, table->mapping.enumTid, in entriesFromLDAP()
135 NIL(t->objName), table->mapping.enumStat, in entriesFromLDAP()
136 ldap_err2string(table->mapping.enumStat)); in entriesFromLDAP()
138 table->mapping.enumTid = 0; in entriesFromLDAP()
139 table->mapping.enumStat = -1; in entriesFromLDAP()
141 if (table->mapping.enumDeferred) { in entriesFromLDAP()
144 table->mapping.enumDeferred = 0; in entriesFromLDAP()
[all …]
/onnv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_db.c184 rfs4_table_t *table = private; in rfs4_dbe_kmem_destructor() local
216 rfs4_table_t *table; in rfs4_database_shutdown() local
219 for (table = db->db_tables; table; table = table->dbt_tnext) { in rfs4_database_shutdown()
220 mutex_enter(&table->dbt_reaper_cv_lock); in rfs4_database_shutdown()
221 table->dbt_reaper_shutdown = TRUE; in rfs4_database_shutdown()
222 cv_broadcast(&table->dbt_reaper_wait); in rfs4_database_shutdown()
224 mutex_exit(&table->dbt_reaper_cv_lock); in rfs4_database_shutdown()
260 rfs4_table_t *table; in rfs4_table_create() local
265 table = kmem_alloc(sizeof (rfs4_table_t), KM_SLEEP); in rfs4_table_create()
266 table->dbt_db = db; in rfs4_table_create()
[all …]
/onnv-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()
76 (table[x].info == 0)) { in ht_insert()
77 table[x].key = key; in ht_insert()
78 table[x].info = 1; in ht_insert()
79 (void) ipgpc_list_insert(&table[x].elements, id); in ht_insert()
80 } else if (table[x].next == NULL) { in ht_insert()
81 table[x].next = kmem_cache_alloc(ht_node_cache, KM_SLEEP); in ht_insert()
82 table[x].next->elements = NULL; in ht_insert()
83 table[x].next->next = NULL; in ht_insert()
[all …]
H A Dba_table.c48 ba_table_t *table = &bataid->table; in ba_insert() local
60 if (ipgpc_list_insert(&table->masked_values[mskd_val].filter_list, in ba_insert()
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
[all …]
/onnv-gate/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/type/
H A DGBConstraintsConverter.java207 private int getIntegerFromTable(Hashtable table, String key) { in getIntegerFromTable() argument
208 String value = (String) table.get(key); in getIntegerFromTable()
215 private boolean getBooleanFromTable(Hashtable table, String key) { in getBooleanFromTable() argument
216 String value = (String) table.get(key); in getBooleanFromTable()
223 private double getDoubleFromTable(Hashtable table, String key) { in getDoubleFromTable() argument
224 String value = (String) table.get(key); in getDoubleFromTable()
231 private int getConstantFromTable(Hashtable table, String key) { in getConstantFromTable() argument
232 String value = (String) table.get(key); in getConstantFromTable()
247 Hashtable table = sft.getHashtable(); in convertFromString() local
250 if (table.containsKey(/* NOI18N */"x")) { in convertFromString()
[all …]
H A DInsetsConverter.java75 private int getIntegerFromTable(Hashtable table, String key) { in getIntegerFromTable() argument
76 String value = (String) table.get(key); in getIntegerFromTable()
104 Hashtable table = sft.getHashtable(); in convertFromString() local
107 Enumeration e = table.keys(); in convertFromString()
121 if (table.containsKey(/* NOI18N */"top")) in convertFromString()
122 insets.top = getIntegerFromTable(table, in convertFromString()
124 if (table.containsKey(/* NOI18N */"left")) in convertFromString()
125 insets.left = getIntegerFromTable(table, in convertFromString()
127 if (table.containsKey(/* NOI18N */"bottom")) in convertFromString()
128 insets.bottom = getIntegerFromTable(table, in convertFromString()
[all …]
/onnv-gate/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c254 ib_rcm_info_table(rcm_info_t *rinfo, char **table) in ib_rcm_info_table() argument
273 if (rinfo == NULL || table == NULL) { in ib_rcm_info_table()
319 if (*table == NULL) { in ib_rcm_info_table()
320 *table = malloc(table_size); 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()
[all …]
/onnv-gate/usr/src/lib/libsqlite/test/
H A Dtable.test17 # $Id: table.test,v 1.22 2003/01/29 18:46:54 drh Exp $
22 # Create a basic table and verify it is added to sqlite_master
24 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 {
62 # Close and reopen the database. Verify that the table is
65 do_test table-1.6 {
[all …]
/onnv-gate/usr/src/cmd/tbl/
H A Dt5.c63 table[nlin] = (struct colstr *) alocv((ncol+2)*sizeof(table[0][0])); in gettbl()
74 table[nlin][icol].col = cstore; in gettbl()
75 table[nlin][icol].rcol=0; in gettbl()
79 table[nlin][icol].col = in gettbl()
91 table[nlin][icol].rcol = in gettbl()
92 (char *)maknew(table[nlin][icol].col); in gettbl()
95 table[nlin][icol].rcol = table[nlin][icol].col; in gettbl()
96 table[nlin][icol].col = ""; in gettbl()
101 table[nlin][++icol].col = ""; in gettbl()
106 table[nlin][icol].col = ""; in gettbl()
[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()
/onnv-gate/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c186 sata_rcm_info_table(rcm_info_t *rinfo, char **table) in sata_rcm_info_table() argument
203 if (rinfo == NULL || table == NULL) { in sata_rcm_info_table()
250 if (*table == NULL) { in sata_rcm_info_table()
252 *table = calloc(table_size, sizeof (char)); 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()
[all …]
/onnv-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c206 usb_rcm_info_table(rcm_info_t *rinfo, char **table) in usb_rcm_info_table() argument
225 if (rinfo == NULL || table == NULL) { in usb_rcm_info_table()
272 if (*table == NULL) { in usb_rcm_info_table()
274 *table = calloc(table_size, sizeof (char)); 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()
[all …]
/onnv-gate/usr/src/lib/libbc/libc/gen/common/
H A Dhsearch.c124 static NODE **table; /* The address of the hash table */ variable
129 static TABELEM *table; /* The address of the hash table */ variable
223 table = (TABELEM *) calloc(length, sizeof(TABELEM)); in hcreate()
224 return (table != NULL); in hcreate()
230 free((POINTER) table); in hdestroy()
264 if(table[i].key == NULL) /* Empty slot? */ in hsearch()
266 else if(COMPARE(table[i].key, item.key) == 0) /* Match? */ in hsearch()
267 return(&table[i]); in hsearch()
281 if(table[i].key == NULL) /* Empty slot? */ in hsearch()
283 else if(COMPARE(table[i].key, item.key) == 0) /* Match? */ in hsearch()
[all …]
/onnv-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()
/onnv-gate/usr/src/lib/libc/port/gen/
H A Dhsearch.c122 static NODE **table; /* The address of the hash table */ variable
127 static TABELEM *table; /* The address of the hash table */ variable
230 old_table = table; in hcreate()
231 table = local_table; in hcreate()
250 if (table[i] != (NODE *)NULL) { in hdestroy()
251 p = table[i]; in hdestroy()
264 local_table = (POINTER)table; in hdestroy()
265 table = 0; in hdestroy()
300 if (table[i].key == NULL) /* Empty slot? */ in hsearch()
302 else if (COMPARE(table[i].key, item.key) == 0) /* Match? */ in hsearch()
[all …]
/onnv-gate/usr/src/lib/fm/libfmd_snmp/common/
H A Dinit.c53 const sunFm_table_t *table; in init_sunFM() local
55 for (table = sun_fm_tables; table->t_name != NULL; table++) { in init_sunFM()
56 int err = table->t_init(); in init_sunFM()
61 table->t_name)); in init_sunFM()
66 "registration\n", table->t_name); in init_sunFM()
71 "registration failure\n", table->t_name); in init_sunFM()
76 "unknown reason\n", table->t_name); in init_sunFM()
/onnv-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;
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/Symbol/
H A DMakefile.PL74 foreach my $table (keys %tables) {
75 push (@{$self->{'C'}},"$table.c");
79 push (@files,$table.$ext);
81 $self->{SOURCE} .= " $table.c"
82 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
94 foreach my $table (keys %tables) {
123 foreach my $table (keys %tables) {
137 foreach my $table (keys %tables)
139 $str .= " $table.c";
145 foreach my $table (keys %tables)
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/EBCDIC/
H A DMakefile.PL69 foreach my $table (keys %tables) {
70 push (@{$self->{'C'}},"$table.c");
74 push (@files,$table.$ext);
76 $self->{SOURCE} .= " $table.c"
77 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
89 foreach my $table (keys %tables) {
118 foreach my $table (keys %tables) {
132 foreach my $table (keys %tables)
134 $str .= " $table.c";
140 foreach my $table (keys %tables)
[all …]
/onnv-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c253 scsi_rcm_info_table(rcm_info_t *rinfo, char **table) in scsi_rcm_info_table() argument
270 if (rinfo == NULL || table == NULL) in scsi_rcm_info_table()
310 if (*table == NULL) { in scsi_rcm_info_table()
312 *table = calloc(table_size, sizeof (char)); 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()
[all …]
/onnv-gate/usr/src/cmd/oawk/
H A Db.c835 ccl_chars_t *table; in insert_table() local
846 for (i = 0, table = table_base; i < table_size; i++, table++) { in insert_table()
847 tns = table->cc_ns; in insert_table()
848 tcs = table->cc_cs; in insert_table()
849 tne = table->cc_ne; in insert_table()
850 tce = table->cc_ce; in insert_table()
857 for (; i < table_size; i++, table++) { in insert_table()
858 tns = table->cc_ns; in insert_table()
859 tcs = table->cc_cs; in insert_table()
860 tne = table->cc_ne; in insert_table()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/TW/
H A DMakefile.PL84 foreach my $table (keys %tables) {
85 push (@{$self->{'C'}},"$table.c");
89 push (@files,$table.$ext);
91 $self->{SOURCE} .= " $table.c"
92 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
104 foreach my $table (keys %tables) {
133 foreach my $table (keys %tables) {
147 foreach my $table (keys %tables)
149 $str .= " $table.c";
155 foreach my $table (keys %tables)
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/KR/
H A DMakefile.PL86 foreach my $table (keys %tables) {
87 push (@{$self->{'C'}},"$table.c");
91 push (@files,$table.$ext);
93 $self->{SOURCE} .= " $table.c"
94 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
106 foreach my $table (keys %tables) {
135 foreach my $table (keys %tables) {
149 foreach my $table (keys %tables)
151 $str .= " $table.c";
157 foreach my $table (keys %tables)
[all …]

12345678910>>...32