Searched refs:table (Results 1 - 25 of 153) sorted by relevance

1234567

/barrelfish-master/lib/acpica/tests/aslts/src/runtime/collections/functional/table/
H A DMakefile0 # table
3 AMLMOD= table
/barrelfish-master/lib/devif/backends/net/mlx4/drivers/net/mlx4/
H A Dicm.c223 int mlx4_table_get(struct mlx4_priv *priv, struct mlx4_icm_table *table, argument
225 u32 i = (obj & (table->num_obj - 1))
226 / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
229 /*mutex_lock(&table->mutex);*/
231 if (table->icm[i]) {
232 ++table->icm[i]->refcount;
236 table->icm[i] = mlx4_alloc_icm(priv, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT,
237 table->coherent);
238 if (!table->icm[i]) {
243 if (mlx4_MAP_ICM(priv, table
282 mlx4_table_find(struct mlx4_icm_table *table, u32 obj, genpaddr_t *dma_handle) argument
328 mlx4_table_get_range(struct mlx4_priv *priv, struct mlx4_icm_table *table, u32 start, u32 end) argument
360 mlx4_init_icm_table(struct mlx4_priv *priv, struct mlx4_icm_table *table, u64 virt, int obj_size, u64 nobj, int reserved, int use_lowmem, int use_coherent) argument
[all...]
H A Dport.c65 void mlx4_init_mac_table(struct mlx4_priv *priv, struct mlx4_mac_table *table) { argument
68 /*mutex_init(&table->mutex);*/
70 table->entries[i] = 0;
71 table->refs[i] = 0;
73 table->max = 1 << priv->dev.caps.log_num_macs;
74 table->total = 0;
77 void mlx4_init_vlan_table(struct mlx4_priv *priv, struct mlx4_vlan_table *table) { argument
80 /*mutex_init(&table->mutex);*/
82 table->entries[i] = 0;
83 table
136 struct mlx4_mac_table *table = &info->mac_table; local
[all...]
H A Dicm.h76 int mlx4_table_get(struct mlx4_priv *priv, struct mlx4_icm_table *table,
78 void mlx4_table_put(struct mlx4_dev *dev, struct mlx4_icm_table *table, u32 obj);
79 int mlx4_table_get_range(struct mlx4_priv *priv, struct mlx4_icm_table *table,
82 void mlx4_table_put_range(struct mlx4_dev *dev, struct mlx4_icm_table *table,
86 int mlx4_init_icm_table(struct mlx4_priv *priv, struct mlx4_icm_table *table,
90 void mlx4_cleanup_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table);
92 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj,
/barrelfish-master/usr/eclipseclp/Visualisation/src/com/parctechnologies/eclipse/visualisation/
H A DTableViewer.java31 import javax.swing.table.*;
37 * A text table viewer based on JTable
46 private SpreadSheet table; field in class:TableViewer
115 //table = new JTable(getViewletArray());
116 table = new SpreadSheet(getViewletDataStore(), null, null);
117 table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
118 table.setAutoCreateColumnsFromModel(false);
119 table.setColumnSelectionAllowed(true);
120 table.setRowSelectionAllowed(true);
121 table
[all...]
H A DMultiViewletDataStore.java27 import javax.swing.table.*;
H A DSpreadSheetModel.java25 import javax.swing.table.*;
35 * to initialize the table's row header name. Note: this name does
36 * not need to be unique; two rows in a table can have the same name.
H A DSpreadSheet.java31 import javax.swing.table.*;
45 /** Implements the table row hedaers */
57 * installing the table's <code>tableHeader</code> as the <code>columnHeaderView</code> of the scroll pane.
60 * called in the <code>JTable</code> (when the table is added to the viewport).
90 * Returns the table row header component
95 // initialy just return a table set to display the row headers
97 JTable table = new JTable(model);
104 table.setIntercellSpacing(new Dimension(0,0));
105 table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
106 table
294 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
[all...]
/barrelfish-master/lib/acpica/tests/aslts/src/runtime/collections/functional/
H A DMakefile15 table
/barrelfish-master/lib/libc/locale/
H A Dcollate.c70 __collate_load_tables_l(const char *encoding, struct xlocale_collate *table);
75 struct xlocale_collate *table = t; local
76 if (table->map && (table->maplen > 0)) {
77 (void) munmap(table->map, table->maplen);
88 struct xlocale_collate *table = calloc(sizeof(struct xlocale_collate), 1); local
89 table->header.header.destructor = destruct_collate;
92 if (__collate_load_tables_l(encoding, table) != _LDP_LOADED) {
93 xlocale_release(table);
110 __collate_load_tables_l(const char *encoding, struct xlocale_collate *table) argument
209 substsearch(struct xlocale_collate *table, const wchar_t key, int pass) argument
229 chainsearch(struct xlocale_collate *table, const wchar_t *key, int *len) argument
261 largesearch(struct xlocale_collate *table, const wchar_t key) argument
287 _collate_lookup(struct xlocale_collate *table, const wchar_t *t, int *len, int *pri, int which, const int **state) argument
390 _collate_wxfrm(struct xlocale_collate *table, const wchar_t *src, wchar_t *xf, size_t room) argument
518 xfrm(struct xlocale_collate *table, unsigned char *p, int pri, int pass) argument
535 _collate_sxfrm(struct xlocale_collate *table, const wchar_t *src, char *xf, size_t room) argument
671 struct xlocale_collate *table = local
[all...]
/barrelfish-master/usr/replay/
H A Dhash.c1 /* simple hash table
13 hash->table = calloc(size, sizeof(hash_entry_t *));
14 if (!hash || !hash->table){
32 for (curr = hash->table[i]; curr != NULL; curr = curr->next)
44 for (curr = hash->table[i]; curr != NULL; ) {
49 free(hash->table);
60 curr = hash->table[bucket];
76 new_entry->next = hash->table[bucket];
77 hash->table[bucket] = new_entry;
86 curr = hash->table[bucke
[all...]
H A Dhash.h5 * Simple hash table implementation
20 /* hash table: each entry is is a pointer to
22 hash_entry_t **table; member in struct:hash_st
27 * hash_init: initialize a hash table
28 * size: size of the table
/barrelfish-master/lib/openssl-1.0.0d/crypto/engine/
H A Deng_table.c60 /* The type of the items in the table */
103 /* Internal functions for the "piles" hash table */
129 * ENGINEs from the implementation table */
130 int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup, argument
136 if(!(*table))
138 if(!int_table_check(table, 1))
146 fnd = lh_ENGINE_PILE_retrieve(&(*table)->piles, &tmplate);
160 (void)lh_ENGINE_PILE_insert(&(*table)->piles, fnd);
206 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e)
209 if(int_table_check(table,
240 engine_table_select(ENGINE_TABLE **table, int nid) argument
[all...]
H A Deng_int.h117 /* This represents an implementation table. Dependent code should instantiate it
120 int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup,
122 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e);
123 void engine_table_cleanup(ENGINE_TABLE **table);
125 ENGINE *engine_table_select(ENGINE_TABLE **table, int nid);
127 ENGINE *engine_table_select_tmp(ENGINE_TABLE **table, int nid, const char *f, int l);
131 void engine_table_doall(ENGINE_TABLE *table, engine_table_doall_cb *cb, void *arg);
/barrelfish-master/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.c221 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) argument
223 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE;
227 mutex_lock(&table->mutex);
229 if (table->icm[i]) {
230 ++table->icm[i]->refcount;
234 table->icm[i] = mthca_alloc_icm(dev, MTHCA_TABLE_CHUNK_SIZE >> PAGE_SHIFT,
235 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) |
236 __GFP_NOWARN, table->coherent);
237 if (!table
257 mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) argument
280 mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle) argument
323 mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table, int start, int end) argument
346 mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table, int start, int end) argument
363 struct mthca_icm_table *table; local
428 mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table) argument
[all...]
H A Dmthca_memfree.h90 void mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table);
91 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj);
92 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj);
93 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle);
94 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table,
96 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table,
H A Dmthca_allocator.c46 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last);
49 obj = find_first_zero_bit(alloc->table, alloc->max);
53 set_bit(obj, alloc->table);
71 clear_bit(obj, alloc->table);
92 alloc->table = kmalloc(BITS_TO_LONGS(num) * sizeof (long),
94 if (!alloc->table)
97 bitmap_zero(alloc->table, num);
99 set_bit(i, alloc->table);
106 kfree(alloc->table);
/barrelfish-master/lib/libc/stdio/
H A Dprintf-pos.c59 * Type ids for argument type table.
71 enum typeid *table; /* table of types */ member in struct:typetable
73 int tablesize; /* current size of type table */
74 int tablemax; /* largest used index in table */
89 types->table = types->stattable;
94 types->table[n] = T_UNUSED;
104 if (types->table != types->stattable)
105 free (types->table);
109 * Ensure that there is space to add a new argument type to the type table
[all...]
/barrelfish-master/lib/zlib/
H A Dinftrees.h13 indexed that table entry, or it provides a pointer to another
14 table that indexes more bits of the code. op indicates whether
15 the entry is a pointer to another table, a literal, a length or
16 distance, an end-of-block, or an invalid code. For a table
18 that table. For a length or distance, the low four bits of op
23 the current table to the next table. Each entry is four bytes. */
25 unsigned char op; /* operation, extra bits, table bits */
27 unsigned short val; /* offset in table or code value */
32 0000tttt - table lin
[all...]
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
26 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table
28 requested root table index bits, and on return it is the actual root
29 table index bits. It will differ if the request is greater than the
32 int inflate_table(type, lens, codes, table, bits, work)
36 code FAR * FAR *table;
43 unsigned root; /* number of index bits for root table */
44 unsigned curr; /* number of index bits for current table */
45 unsigned drop; /* code bits to drop for sub-table */
47 unsigned used; /* code entries in table use
[all...]
H A Dzutil.c208 local ptr_table table[MAX_PTR]; variable
209 /* This table is used to remember the original form of pointers
211 * Since MSDOS is not a preemptive multitasking OS, this table is not
231 table[next_ptr].org_ptr = buf;
236 table[next_ptr++].new_ptr = buf;
249 if (ptr != table[n].new_ptr) continue;
251 farfree(table[n].org_ptr);
253 table[n-1] = table[n];
/barrelfish-master/lib/libc/string/
H A Dwcscoll.c50 struct xlocale_collate *table = local
53 if (table->__collate_load_error)
74 for (pass = 0; pass <= table->info->directive_count; pass++) {
83 if (pass == table->info->directive_count) {
86 direc = table->info->directive[pass];
119 _collate_lookup(table, w1, &len1,
132 _collate_lookup(table, w2, &len2,
158 _collate_lookup(table, w1,
171 _collate_lookup(table, w2,
H A Dstrxfrm.c59 struct xlocale_collate *table = local
75 if (table->__collate_load_error)
84 if ((xlen = _collate_sxfrm(table, wcs, dest, len)) == (size_t)-1)
H A Dwcsxfrm.c47 struct xlocale_collate *table = local
56 if ((table->__collate_load_error) ||
57 ((slen = _collate_wxfrm(table, src, dest, len)) == (size_t)-1)) {
/barrelfish-master/lib/devif/backends/net/mlx4/drivers/infiniband/core/
H A Dcache.c48 u16 table[0]; member in struct:ib_pkey_cache
53 union ib_gid table[0]; member in struct:ib_gid_cache
90 *gid = cache->table[index];
117 if (!memcmp(gid, &cache->table[i], sizeof *gid)) {
152 *pkey = cache->table[index];
180 if ((cache->table[i] & 0x7fff) == (pkey & 0x7fff)) {
229 + tprops->pkey_tbl_len * sizeof *pkey_cache->table);
236 sizeof *gid_cache + tprops->gid_tbl_len * sizeof *gid_cache->table);
243 ret = ib_query_pkey(device, port, i, pkey_cache->table + i);
252 ret = ib_query_gid(device, port, i, gid_cache->table
[all...]

Completed in 199 milliseconds

1234567