Lines Matching refs:rep
1399 let (rep, is_done) = handle_table.future_remove_readable(src, index)?; in lift_index_to_future()
1403 let id = TableId::<TransmitHandle>::new(rep); in lift_index_to_future()
1429 let rep = concurrent_state.get_mut(state)?.read_handle.rep(); in lower_future_to_index() localVariable
1434 .future_insert_read(dst, rep)?; in lower_future_to_index()
1784 let (rep, is_done) = handle_table.stream_remove_readable(src, index)?; in lift_index_to_stream()
1788 let id = TableId::<TransmitHandle>::new(rep); in lift_index_to_stream()
1806 let rep = concurrent_state.get_mut(state)?.read_handle.rep(); in lower_stream_to_index() localVariable
1811 .stream_insert_read(dst, rep)?; in lower_stream_to_index()
1959 rep: u32, field
1963 pub(crate) fn new(rep: u32) -> Self { in new()
1964 Self { rep } in new()
1969 Val::ErrorContext(ErrorContextAny(self.rep)) in into_val()
1974 let Val::ErrorContext(ErrorContextAny(rep)) = value else { in from_val()
1977 Ok(Self::new(*rep)) in from_val()
1983 let rep = cx in lift_from_index() localVariable
1988 Ok(Self { rep }) in lift_from_index()
1996 rep: u32, in lower_error_context_to_index()
2003 tbl.error_context_insert(rep) in lower_error_context_to_index()
2031 lower_error_context_to_index(self.rep, cx, ty)?.linear_lower_to_flat( in linear_lower_to_flat()
2044 lower_error_context_to_index(self.rep, cx, ty)?.linear_lower_to_memory( in linear_lower_to_memory()
2369 write_handle.rep(), in host_drop_reader()
2387 write_handle.rep(), in host_drop_reader()
2468 read_handle.rep(), in host_drop_writer()
2487 read_handle.rep(), in host_drop_writer()
3194 rep: u32, in copy()
3338 let id = TableId::<TransmitHandle>::new(rep); in copy()
3414 let (rep, state) = self.id().get_mut(store.0).get_mut_by_index(ty, handle)?; in guest_write()
3424 let transmit_handle = TableId::<TransmitHandle>::new(rep); in guest_write()
3506 let read_handle_rep = transmit.read_handle.rep(); in guest_write()
3523 rep, in guest_write()
3656 let (rep, state) = self.id().get_mut(store.0).get_mut_by_index(ty, handle)?; in guest_read()
3666 let transmit_handle = TableId::<TransmitHandle>::new(rep); in guest_read()
3724 let write_handle_rep = transmit.write_handle.rep(); in guest_read()
3749 rep, in guest_read()
4053 let (rep, state) = in guest_cancel_write()
4055 let id = TableId::<TransmitHandle>::new(rep); in guest_cancel_write()
4094 let (rep, state) = in guest_cancel_read()
4096 let id = TableId::<TransmitHandle>::new(rep); in guest_cancel_read()
4128 let (rep, _is_done) = match ty { in guest_drop_readable()
4136 let id = TableId::<TransmitHandle>::new(rep); in guest_drop_readable()
4162 TypeComponentGlobalErrorContextTableIndex::from_u32(table_id.rep()); in error_context_new()
4179 .error_context_insert(table_id.rep())?; in error_context_new()
4305 table.future_insert_read(ty, read.rep())?, in guest_new()
4306 table.future_insert_write(ty, write.rep())?, in guest_new()
4309 table.stream_insert_read(ty, read.rep())?, in guest_new()
4310 table.stream_insert_write(ty, write.rep())?, in guest_new()
4335 let rep = local_handle_table.error_context_drop(error_context)?; in error_context_drop() localVariable
4337 let global_ref_count_idx = TypeComponentGlobalErrorContextTableIndex::from_u32(rep); in error_context_drop()
4358 .delete(TableId::<ErrorContextState>::new(rep)) in error_context_drop()
4376 let (rep, is_done) = match src { in guest_transfer()
4385 TransmitIndex::Future(idx) => dst_table.future_insert_read(idx, rep), in guest_transfer()
4386 TransmitIndex::Stream(idx) => dst_table.stream_insert_read(idx, rep), in guest_transfer()
4390 .get_mut(TableId::<TransmitHandle>::new(rep))? in guest_transfer()
4457 let rep = instance in error_context_transfer() localVariable
4463 .error_context_insert(rep)?; in error_context_transfer()
4471 .get_mut(&TypeComponentGlobalErrorContextTableIndex::from_u32(rep)) in error_context_transfer()
4515 let write_handle = self.get_mut(id)?.write_handle.rep(); in send_write_result()
4538 let read_handle = self.get_mut(id)?.read_handle.rep(); in send_read_result()
4671 let (rep, state, code) = match event { in on_delivery()
4681 let (rep, state) = instance.instance_states().0[runtime_instance] in on_delivery()
4684 (rep, state, code) in on_delivery()
4695 let (rep, state) = instance.instance_states().0[runtime_instance] in on_delivery()
4698 (rep, state, code) in on_delivery()
4702 if rep != self.rep() { in on_delivery()
4719 let transmit_handle = TableId::<TransmitHandle>::new(rep); in on_delivery()