Home
last modified time | relevance | path

Searched refs:routes (Results 1 – 25 of 116) sorted by relevance

12345

/external/crosvm/devices/src/irqchip/
Dx86_64.rs70 routes: Vec<Vec<IrqSource>>, field
76 Routes { routes: vec![] } in new()
84 let routes = self.get_mut(route.gsi as usize); in add() localVariable
85 if routes.iter().any(|r| !Self::same_source(&route.source, r)) { in add()
92 routes.retain(|r| !Self::conflict(&route.source, r)); in add()
93 routes.push(route.source); in add()
99 pub fn replace_all(&mut self, routes: &[IrqRoute]) -> Result<()> { in replace_all()
100 self.routes.clear(); in replace_all()
101 for r in routes { in replace_all()
110 let mut routes: Vec<IrqRoute> = Vec::new(); in default_pic_ioapic_routes() localVariable
[all …]
Dwhpx.rs70 routes: Arc<Mutex<Routes>>, field
111 routes: Arc::new(Mutex::new(Routes::new())), in new()
256 self.routes.lock().add(route) in route_irq()
259 fn set_irq_routes(&mut self, routes: &[IrqRoute]) -> Result<()> { in set_irq_routes()
260 self.routes.lock().replace_all(routes) in set_irq_routes()
274 for route in self.routes.lock()[irq as usize].iter() { in service_irq()
322 for route in self.routes.lock()[evt.gsi as usize].iter() { in service_irq_event()
432 routes: self.routes.clone(), in try_clone()
/external/crosvm/devices/src/irqchip/geniezone/
Dmod.rs34 let mut routes: Vec<IrqRoute> = Vec::new(); in default_irq_routing_table() localVariable
37 routes.push(IrqRoute::gic_irq_route(i)); in default_irq_routing_table()
40 routes in default_irq_routing_table()
50 pub(super) routes: Arc<Mutex<Vec<IrqRoute>>>, field
117 routes: Arc::new(Mutex::new(default_irq_routing_table())), in new()
126 routes: self.routes.clone(), in arch_try_clone()
201 let mut routes = self.routes.lock(); in route_irq() localVariable
202 routes.retain(|r| r.gsi != route.gsi); in route_irq()
204 routes.push(route); in route_irq()
209 fn set_irq_routes(&mut self, routes: &[IrqRoute]) -> Result<()> { in set_irq_routes()
[all …]
/external/scapy/scapy/
Droute6.py41 self.routes = []
47 self.routes = read_routes6()
48 if self.routes == []:
54 for net, msk, gw, iface, cset, metric in self.routes:
92 self.routes.append(self.make_route(*args, **kargs))
105 l = [x for x in self.routes if in6_ptop(x[0]) == dst and x[1] == plen]
108 l = [x for x in self.routes if in6_ptop(x[2]) == gw]
114 i=self.routes.index(l[0])
116 del(self.routes[i])
126 for i, route in enumerate(self.routes):
[all …]
Droute.py36 self.routes = read_routes()
40 for net, msk, gw, iface, addr, metric in self.routes:
77 self.routes.append(self.make_route(*args,**kargs))
85 i=self.routes.index(route)
86 del(self.routes[i])
98 for i, route in enumerate(self.routes):
106 self.routes[i] = (the_net,the_msk,gw,iface,the_addr,metric)
108 self.routes[i] = (net,msk,gw,iface,the_addr,metric)
116 for rt in self.routes:
123 self.routes=new_routes
[all …]
/external/crosvm/devices/src/irqchip/kvm/
Dx86_64.rs59 let mut routes: Vec<IrqRoute> = Vec::new(); in kvm_default_irq_routing_table() localVariable
62 routes.push(IrqRoute::pic_irq_route(IrqSourceChip::PicPrimary, i)); in kvm_default_irq_routing_table()
63 routes.push(IrqRoute::ioapic_irq_route(i)); in kvm_default_irq_routing_table()
66 routes.push(IrqRoute::pic_irq_route(IrqSourceChip::PicSecondary, i)); in kvm_default_irq_routing_table()
67 routes.push(IrqRoute::ioapic_irq_route(i)); in kvm_default_irq_routing_table()
70 routes.push(IrqRoute::ioapic_irq_route(i)); in kvm_default_irq_routing_table()
73 routes in kvm_default_irq_routing_table()
82 pub(super) routes: Arc<Mutex<Vec<IrqRoute>>>, field
95 routes: Arc::new(Mutex::new(kvm_default_irq_routing_table(ioapic_pins))), in new()
103 routes: self.routes.clone(), in arch_try_clone()
[all …]
Dmod.rs89 let mut routes = self.routes.lock(); in route_irq() localVariable
90 routes.retain(|r| r.gsi != route.gsi); in route_irq()
92 routes.push(route); in route_irq()
94 self.vm.set_gsi_routing(&routes) in route_irq()
98 fn set_irq_routes(&mut self, routes: &[IrqRoute]) -> Result<()> { in set_irq_routes()
99 let mut current_routes = self.routes.lock(); in set_irq_routes()
100 *current_routes = routes.to_vec(); in set_irq_routes()
Daarch64.rs24 let mut routes: Vec<IrqRoute> = Vec::new(); in kvm_default_irq_routing_table() localVariable
27 routes.push(IrqRoute::gic_irq_route(i)); in kvm_default_irq_routing_table()
30 routes in kvm_default_irq_routing_table()
41 pub(super) routes: Arc<Mutex<Vec<IrqRoute>>>, field
140 routes: Arc::new(Mutex::new(kvm_default_irq_routing_table())), in new()
151 routes: self.routes.clone(), in arch_try_clone()
/external/pigweed/pw_router/
Dstatic_router_test.cc73 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local
74 StaticRouter router(routes); in TEST()
93 StaticRouter::Route routes[] = {{1, parser_egress}}; in TEST() local
94 StaticRouter router(routes); in TEST()
104 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local
105 StaticRouter router(routes); in TEST()
114 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local
115 StaticRouter router(routes); in TEST()
123 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local
124 StaticRouter router(routes); in TEST()
/external/tcpdump/tests/
Dbgp_mp_reach_nlri-oobr.out4 Withdrawn routes:
7 Withdrawn routes:
10 Withdrawn routes:
13 Withdrawn routes:
16 Withdrawn routes:
19 Withdrawn routes:
Dripv2_auth.out3 RIPv2, Request, length: 44, routes: 2 or less
8 RIPv2, Response, length: 44, routes: 2 or less
13 RIPv2, Request, length: 64, routes: 3 or less
20 RIPv2, Response, length: 64, routes: 3 or less
27 RIPv2, Request, length: 68, routes: 3 or less
35 RIPv2, Response, length: 68, routes: 3 or less
43 RIPv2, Request, length: 80, routes: 4 or less
51 RIPv2, Response, length: 80, routes: 4 or less
59 RIPv2, Request, length: 96, routes: 4 or less
68 RIPv2, Response, length: 96, routes: 4 or less
[all …]
Dbgp-large-community.out9 Updated routes:
17 Updated routes:
25 Updated routes:
33 Updated routes:
41 Updated routes:
Dripv1v2.out3 RIPv1, Request, length: 24, routes: 1
7 RIPv1, Response, length: 24, routes: 1
11 RIPv2, Request, length: 24, routes: 1 or less
15 RIPv2, Response, length: 24, routes: 1 or less
Dbgp-link-bw-extcommunity.out11 Updated routes:
21 Updated routes:
31 Updated routes:
42 Updated routes:
52 Updated routes:
62 Updated routes:
/external/scapy/scapy/arch/windows/
D__init__.py794 routes = []
805 routes.append((atol(line[0]), atol(line[1]), "0.0.0.0", iface,
813 routes.append((dst, mask, gw, iface, iface.ip, metric))
814 return routes
817 routes=[]
823 routes.append((atol(line[0]), atol(line[1]), line[2], iface, ip, int(line[4])))
826 return routes
829 routes = []
831 return routes
835 routes = _read_routes_post2008()
[all …]
/external/perfetto/ui/src/frontend/
Drouter.ts86 private routes: RoutesMap; property in Router
92 constructor(routes: RoutesMap) {
93 assertExists(routes[DEFAULT_ROUTE]);
94 this.routes = routes;
137 let component = this.routes[route.page];
139 component = assertExists(this.routes[DEFAULT_ROUTE]);
/external/scapy/scapy/arch/
Dunix.py54 routes = []
104 routes.append((dest,netmask, gw, netif, ifaddr, metric))
113 routes.append((dest, netmask, gw, guessed_netif, ifaddr, metric))
128 for rtdst,rtmask,_,rtif,rtaddr in routes[:]:
137 routes.append((dest,netmask, gw, gw_if, gw_if_addr, metric))
141 return routes
239 routes = []
333 routes.append((destination, destination_plen, next_hop, dev, cset, metric))
336 return routes
/external/nist-sip/java/gov/nist/javax/sip/stack/
DDefaultRouter.java173 RouteList routes = sipRequest.getRouteHeaders(); in getNextHop() local
192 if (routes != null) { in getNextHop()
196 Route route = (Route) routes.getFirst(); in getNextHop()
264 RouteList routes = req.getRouteHeaders(); in fixStrictRouting() local
265 Route first = (Route) routes.getFirst(); in fixStrictRouting()
267 routes.removeFirst(); in fixStrictRouting()
274 routes.add(route); // as last one in fixStrictRouting()
/external/openthread/tests/scripts/thread-cert/border_router/
Dtest_external_route.py151 routes = []
157 routes.append(ipaddress.IPv6Network(prefix))
158 return routes
161 routes = []
163 routes.append(ipaddress.IPv6Network(entry.split()[1]))
164 return routes
/external/python/httplib2/tests/
Dtest_http.py170 routes = {
176 with tests.server_route(routes, request_count=2) as uri:
184 with tests.server_route(routes, request_count=2) as uri:
224 routes = {
232 with tests.server_route(routes, request_count=3) as uri:
259 routes = {
267 with tests.server_route(routes, request_count=2) as uri:
305 routes = {
314 with tests.server_route(routes, request_count=7) as uri:
349 routes = {
[all …]
/external/openthread/tests/scripts/thread-cert/
Dnetwork_data.py125 routes = []
130 routes.append(route)
132 return routes
137 def __init__(self, routes, stable): argument
139 self._routes = routes
142 def routes(self): member in HasRoute
148 return self.routes == other.routes
151 routes_str = ", ".join(["{}".format(route) for route in self.routes])
161 routes = self._routes_factory.parse(data, message_info)
163 return HasRoute(routes, message_info.stable)
Dtest_netdata_publisher.py178 def check_num_of_routes(self, routes, num_low, num_med, num_high): argument
184 self.assertEqual(len(routes), min(num_high + num_med + num_low, DESIRED_NUM_EXTERNAL_ROUTE))
185 prfs = [route.split(' ')[2] for route in routes]
454 routes = leader.get_routes()
455 self.check_num_of_routes(routes, num, 0, 0)
461 routes = leader.get_routes()
462 self.check_num_of_routes(routes, num - 1, 0, 1)
470 routes = leader.get_routes()
471 self.check_num_of_routes(routes, num - 1, 0, 0)
Dtest_network_data.py45 def convert_routes_to_bytearray(routes): argument
47 for route in routes:
54 return convert_routes_to_bytearray(has_route.routes)
337 routes = any_routes()
341 data = convert_routes_to_bytearray(routes)
347 self.assertEqual(routes, actual_routes)
354 routes = any_routes()
356 has_route = network_data.HasRoute(routes, any_stable())
359 actual_routes = has_route.routes
362 self.assertEqual(routes, actual_routes)
[all …]
/external/scapy/test/
Dmock_windows.uts29 """Ensure that mandatory IPv6 routes are present."""
151 routes = _read_routes6_post2008()
152 for r in routes:
154 print(len(routes))
155 assert(len(routes) == 9)
156 assert(check_mandatory_ipv6_routes(routes))
186 routes = _read_routes_post2008()
187 for r in routes:
189 assert len(routes) == 2
191 assert routes[0][5] == 266
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_goto_ifs.c52 struct routes { struct
56 struct routes *loop_backup; argument
206 route_to(nir_builder *b, struct routes *routing, nir_block *target) in route_to()
237 route_to_cond(nir_builder *b, struct routes *routing, nir_src condition, in route_to_cond()
292 loop_routing_start(struct routes *routing, nir_builder *b, in loop_routing_start()
311 struct routes *routing_backup = rzalloc(mem_ctx, struct routes); in loop_routing_start()
379 loop_routing_end(struct routes *routing, nir_builder *b) in loop_routing_end()
381 struct routes *routing_backup = routing->loop_backup; in loop_routing_end()
661 struct set *reach, struct routes *routing, in organize_levels()
794 nir_structurize(struct routes *routing, nir_builder *b,
[all …]

12345