Home
last modified time | relevance | path

Searched refs:PORT_COUNT (Results 1 – 4 of 4) sorted by relevance

/trusty/user/base/lib/tipc/rust/src/service/
Dhandle_set.rs35 const PORT_COUNT: usize, constant
38 ports: [Rc<Channel<D>>; PORT_COUNT],
44 impl<D: Dispatcher, const PORT_COUNT: usize, const MAX_CONNECTION_COUNT: usize>
45 HandleSet<D, PORT_COUNT, MAX_CONNECTION_COUNT>
47 pub fn try_new(ports: [Rc<Channel<D>>; PORT_COUNT]) -> Result<Self> { in try_new()
204 impl<D: Dispatcher, const PORT_COUNT: usize, const MAX_CONNECTION_COUNT: usize> fmt::Debug
205 for HandleSet<D, PORT_COUNT, MAX_CONNECTION_COUNT>
/trusty/user/app/secretkeeper/
Dlib.rs47 const PORT_COUNT: usize = 3; constant
226 fn add_service_port<const PORT_COUNT: usize, T>( in add_service_port()
227 dispatcher: &mut SkServiceDispatcher<PORT_COUNT>, in add_service_port() argument
277 let mut dispatcher = SkServiceDispatcher::<PORT_COUNT>::new().map_err(|e| { in inner_main()
291 Manager::<_, _, PORT_COUNT, MAX_CONNECTION_COUNT>::new_with_dispatcher(dispatcher, buffer) in inner_main()
/trusty/user/base/lib/tipc/rust/src/
Dservice.rs792 struct $name<$($elt,)? const PORT_COUNT: usize> {
793 ports: arrayvec::ArrayVec::<$crate::PortCfg, PORT_COUNT>,
794 services: arrayvec::ArrayVec::<ServiceKind$(<$elt>)?, PORT_COUNT>,
797 impl<$($elt,)? const PORT_COUNT: usize> $name<$($elt,)? PORT_COUNT> {
800 ports: arrayvec::ArrayVec::<_, PORT_COUNT>::new(),
801 services: arrayvec::ArrayVec::<_, PORT_COUNT>::new(),
835 impl<$($elt,)? const PORT_COUNT: usize> $crate::Dispatcher for $name<$($elt,)? PORT_COUNT> {
907 const PORT_COUNT: usize, constant
911 handle_set: HandleSet<D, PORT_COUNT, MAX_CONNECTION_COUNT>,
918 const PORT_COUNT: usize, constant
[all …]
/trusty/user/app/keymint/
Dipc_manager.rs52 const PORT_COUNT: usize = 3; constant
617 Manager::<_, _, PORT_COUNT, MAX_CONNECTION_COUNT>::new_with_dispatcher(dispatcher, buffer) in handle_port_connections()