Lines Matching refs:table
26 fn table(&self) -> Table { in table() method
47 let table = Table::new(store.store.context_mut(), tt, init).ok()?; in wasm_table_new() localVariable
51 which: table.into(), in wasm_table_new()
58 let table = t.table(); in wasm_table_type() localVariable
60 Box::new(wasm_tabletype_t::new(table.ty(&store))) in wasm_table_type()
68 let table = t.table(); in wasm_table_get() localVariable
69 let r = table.get(t.ext.store.context_mut(), u64::from(index))?; in wasm_table_get()
79 let table = t.table(); in wasm_table_set() localVariable
80 let val = option_wasm_ref_t_to_ref(r, &table.ty(t.ext.store.context())); in wasm_table_set()
81 table in wasm_table_set()
88 let table = t.table(); in wasm_table_size() localVariable
90 u32::try_from(table.size(&store)).unwrap() in wasm_table_size()
99 let table = t.table(); in wasm_table_grow() localVariable
100 let init = option_wasm_ref_t_to_ref(init, &table.ty(t.ext.store.context())); in wasm_table_grow()
101 table in wasm_table_grow()
129 |table| *out = table, in wasmtime_table_new()
136 table: &Table, in wasmtime_table_type()
138 Box::new(wasm_tabletype_t::new(table.ty(store))) in wasmtime_table_type()
144 table: &Table, in wasmtime_table_get()
149 match table.get(&mut scope, index) { in wasmtime_table_get()
161 table: &Table, in wasmtime_table_set()
170 .and_then(|val| table.set(scope, index, val)), in wasmtime_table_set()
176 pub extern "C" fn wasmtime_table_size(store: WasmtimeStoreContext<'_>, table: &Table) -> u64 { in wasmtime_table_size()
177 table.size(store) in wasmtime_table_size()
183 table: &Table, in wasmtime_table_grow()
193 .and_then(|val| table.grow(scope, delta, val)), in wasmtime_table_grow()