/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
D | routing_test.py | 12 route = Route(r'/hello', None) 13 route, args, kwargs = route.match(Request.blank('/hello')) 15 url = route.build(Request.blank('/'), (), {}) 18 route = Route(r'/hello/world/', None) 19 route, args, kwargs = route.match(Request.blank('/hello/world/')) 21 url = route.build(Request.blank('/'), (), {}) 25 route = Route(r'/<:\d>', None) 26 self.assertEqual(route.match(Request.blank('/1')), (route, ('1',), {})) 27 self.assertEqual(route.match(Request.blank('/2')), (route, ('2',), {})) 29 route = Route(r'/<:\d{2,3}>', None) [all …]
|
/external/libnl/lib/route/ |
D | route_obj.c | 277 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_stats() local 281 if (route->ce_mask & ROUTE_ATTR_CACHEINFO) { in route_dump_stats() 282 struct rtnl_rtcacheinfo *ci = &route->rt_cacheinfo; in route_dump_stats() 294 struct rtnl_route *route = (struct rtnl_route *) obj; in route_dump_env() local 301 nl_af2str(route->rt_family, buf, sizeof(buf))); in route_dump_env() 303 if (route->ce_mask & ROUTE_ATTR_DST) in route_dump_env() 305 nl_addr2str(route->rt_dst, buf, sizeof(buf))); in route_dump_env() 307 if (route->ce_mask & ROUTE_ATTR_SRC) in route_dump_env() 309 nl_addr2str(route->rt_src, buf, sizeof(buf))); in route_dump_env() 311 if (route->ce_mask & ROUTE_ATTR_PREF_SRC) in route_dump_env() [all …]
|
D | route.c | 33 struct rtnl_route *route; in route_msg_parser() local 36 if ((err = rtnl_route_parse(nlh, &route)) < 0) in route_msg_parser() 39 err = pp->pp_cb((struct nl_object *) route, pp); in route_msg_parser() 41 rtnl_route_put(route); in route_msg_parser() 128 int rtnl_route_add(struct nl_sock *sk, struct rtnl_route *route, int flags) in rtnl_route_add() argument 133 if ((err = rtnl_route_build_add_request(route, flags, &msg)) < 0) in rtnl_route_add() 150 int rtnl_route_delete(struct nl_sock *sk, struct rtnl_route *route, int flags) in rtnl_route_delete() argument 155 if ((err = rtnl_route_build_del_request(route, flags, &msg)) < 0) in rtnl_route_delete()
|
/external/libnl/include/ |
D | Makefile.am | 31 netlink/route/cls/fw.h \ 32 netlink/route/cls/police.h \ 33 netlink/route/cls/u32.h \ 34 netlink/route/link/info-api.h \ 35 netlink/route/link/vlan.h \ 36 netlink/route/sch/cbq.h \ 37 netlink/route/sch/dsmark.h \ 38 netlink/route/sch/fifo.h \ 39 netlink/route/sch/htb.h \ 40 netlink/route/sch/netem.h \ [all …]
|
/external/libnl/src/ |
D | Makefile.am | 20 nl-route-add nl-route-delete nl-route-get nl-route-list \ 27 genl_ctrl_list_LDADD = -lnl-genl -lnl-route 39 nl_addr_add_LDADD = -lnl-route 41 nl_addr_delete_LDADD = -lnl-route 43 nl_addr_list_LDADD = -lnl-route 46 nl_link_list_LDADD = -lnl-route 48 nl_link_set_LDADD = -lnl-route 50 nl_link_stats_LDADD = -lnl-route 52 nl_link_ifindex2name_LDADD = -lnl-route 54 nl_link_name2ifindex_LDADD = -lnl-route [all …]
|
D | nl-route-add.c | 55 struct rtnl_route *route; in main() local 66 route = nl_cli_route_alloc(); in main() 108 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main() 109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 110 case 't': nl_cli_route_parse_table(route, optarg); break; in main() 111 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main() 112 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main() 113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 114 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main() 115 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main() [all …]
|
D | nl-route-list.c | 54 struct rtnl_route *route; in main() local 64 route = nl_cli_route_alloc(); in main() 108 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main() 109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 110 case 't': nl_cli_route_parse_table(route, optarg); break; in main() 111 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main() 112 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main() 113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 114 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main() 115 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main() [all …]
|
D | nl-route-delete.c | 63 struct rtnl_route *route = (struct rtnl_route *) obj; in delete_cb() local 73 if ((err = rtnl_route_delete(sock, route, 0)) < 0) in delete_cb() 87 struct rtnl_route *route; in main() local 94 route = nl_cli_route_alloc(); in main() 141 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; in main() 142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 143 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; in main() 144 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; in main() 145 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; in main() 146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() [all …]
|
/external/libnl/src/lib/ |
D | route.c | 24 struct rtnl_route *route; in nl_cli_route_alloc() local 26 route = rtnl_route_alloc(); in nl_cli_route_alloc() 27 if (!route) in nl_cli_route_alloc() 30 return route; in nl_cli_route_alloc() 47 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg) in nl_cli_route_parse_family() argument 52 rtnl_route_set_family(route, family); in nl_cli_route_parse_family() 55 void nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) in nl_cli_route_parse_dst() argument 60 addr = nl_cli_addr_parse(arg, rtnl_route_get_family(route)); in nl_cli_route_parse_dst() 61 if ((err = rtnl_route_set_dst(route, addr)) < 0) in nl_cli_route_parse_dst() 68 void nl_cli_route_parse_src(struct rtnl_route *route, char *arg) in nl_cli_route_parse_src() argument [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | SocketConnector.java | 65 public ConnectedSocket connectCleartext(int connectTimeout, int readTimeout, Route route) in connectCleartext() argument 67 Socket socket = connectRawSocket(readTimeout, connectTimeout, route); in connectCleartext() 68 return new ConnectedSocket(route, socket); in connectCleartext() 72 int writeTimeout, Request request, Route route, List<ConnectionSpec> connectionSpecs, in connectTls() argument 75 Address address = route.getAddress(); in connectTls() 79 Socket socket = connectRawSocket(readTimeout, connectTimeout, route); in connectTls() 80 if (route.requiresTunnel()) { in connectTls() 81 createTunnel(readTimeout, writeTimeout, request, route, socket); in connectTls() 130 return new ConnectedSocket(route, sslSocket, alpnProtocol, handshake); in connectTls() 147 private Socket connectRawSocket(int soTimeout, int connectTimeout, Route route) in connectRawSocket() argument [all …]
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
D | ConnPoolByRoute.java | 157 protected RouteSpecificPool newRouteSpecificPool(HttpRoute route) { in newRouteSpecificPool() argument 158 return new RouteSpecificPool(route, connPerRoute.getMaxForRoute(route)); in newRouteSpecificPool() 186 protected RouteSpecificPool getRoutePool(HttpRoute route, in getRoutePool() argument 192 rospl = routeToPool.get(route); in getRoutePool() 195 rospl = newRouteSpecificPool(route); in getRoutePool() 196 routeToPool.put(route, rospl); in getRoutePool() 208 public int getConnectionsInPool(HttpRoute route) { in getConnectionsInPool() argument 213 RouteSpecificPool rospl = getRoutePool(route, false); in getConnectionsInPool() 223 final HttpRoute route, in requestPoolEntry() argument 243 return getEntryBlocking(route, state, timeout, tunit, aborter); in requestPoolEntry() [all …]
|
D | RouteSpecificPool.java | 60 protected final HttpRoute route; field in RouteSpecificPool 85 public RouteSpecificPool(HttpRoute route, int maxEntries) { in RouteSpecificPool() argument 86 this.route = route; in RouteSpecificPool() 100 return route; in getRoute() 190 ("No entry created for this pool. " + route); in freeEntry() 194 ("No entry allocated from this pool. " + route); in freeEntry() 210 if (!route.equals(entry.getPlannedRoute())) { in createdEntry() 213 "\npool: " + route + in createdEntry()
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
D | Mixin.java | 45 public Object newInstance(int style, String[] classes, int[] route); in newInstance() argument 102 private int[] route; field in Mixin.Generator 139 Route r = route(delegates); in create() 141 route = r.route; in create() 165 …eturn (Mixin)super.create(KEY_FACTORY.newInstance(style, ReflectUtils.getNames( classes ), route)); in create() 171 new MixinEmitter(v, getClassName(), classes, route); in generateClass() 192 return (Class[])route(delegates).classes.clone(); in getClasses() 199 private static Route route(Object[] delegates) { in route() method in Mixin 201 Route route = (Route)ROUTE_CACHE.get(key); in route() local 202 if (route == null) { in route() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Connection.java | 62 private final Route route; field in Connection 80 public Connection(ConnectionPool pool, Route route) { in Connection() argument 82 this.route = route; in Connection() 141 if (route.address.getSslSocketFactory() != null) { in connect() 144 request, route, connectionSpecs, connectionRetryEnabled); in connect() 152 connectedSocket = socketConnector.connectCleartext(connectTimeout, readTimeout, route); in connect() 163 spdyConnection = new SpdyConnection.Builder(route.address.uriHost, true, socket) in connect() 184 List<ConnectionSpec> connectionSpecs = route.address.getConnectionSpecs(); in connectAndSetOwner() 203 return route; in getRoute() 322 + route.address.uriHost + ":" + route.address.uriPort in toString() [all …]
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | AbstractPoolEntry.java | 86 protected volatile HttpRoute route; field in AbstractPoolEntry 103 HttpRoute route) { in AbstractPoolEntry() argument 110 this.route = route; in AbstractPoolEntry() 141 public void open(HttpRoute route, in open() argument 145 if (route == null) { in open() 166 this.tracker = new RouteTracker(route); in open() 167 final HttpHost proxy = route.getProxyHost(); in open() 171 (proxy != null) ? proxy : route.getTargetHost(), in open() 172 route.getLocalAddress(), in open()
|
D | DefaultHttpRoutePlanner.java | 94 HttpRoute route = in determineRoute() local 96 if (route != null) in determineRoute() 97 return route; in determineRoute() 118 route = new HttpRoute(target, local, secure); in determineRoute() 120 route = new HttpRoute(target, local, proxy, secure); in determineRoute() 122 return route; in determineRoute()
|
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/ |
D | routes.py | 33 for route in self.routes: 34 for r in route.get_routes(): 43 for route in self.get_children(): 44 for r in route.get_match_routes(): 53 for route in self.get_children(): 54 for n, r in route.get_build_routes(): 156 for route in self.get_routes(): 157 setattr(route, self._attr, prefix + getattr(route, self._attr)) 337 for route in iter_func(): 339 match = route.match(request) [all …]
|
/external/dhcpcd/dhcpcd-hooks/ |
D | 25-static-routes.conf | 25 setprop dhcp.${interface}.route${next_set_interface}.dest $1 27 setprop dhcp.${interface}.route${next_set_interface}.via $1 37 setprop dhcp.${interface}.route${next_clear_interface}.dest "" 38 setprop dhcp.${interface}.route${next_clear_interface}.via "" 42 setprop dhcp.${interface}.route${next_clear_interface}.dest "" 43 setprop dhcp.${interface}.route${next_clear_interface}.via ""
|
/external/apache-http/src/org/apache/http/conn/params/ |
D | ConnRouteParams.java | 140 HttpRoute route = (HttpRoute) in getForcedRoute() local 142 if ((route != null) && NO_ROUTE.equals(route)) { in getForcedRoute() 144 route = null; in getForcedRoute() 146 return route; in getForcedRoute() 161 HttpRoute route) { in setForcedRoute() argument 165 params.setParameter(FORCED_ROUTE, route); in setForcedRoute()
|
D | ConnPerRouteBean.java | 86 public void setMaxForRoute(final HttpRoute route, int max) { in setMaxForRoute() argument 87 if (route == null) { in setMaxForRoute() 95 this.maxPerHostMap.put(route, Integer.valueOf(max)); in setMaxForRoute() 98 public int getMaxForRoute(final HttpRoute route) { in getMaxForRoute() argument 99 if (route == null) { in getMaxForRoute() 103 Integer max = this.maxPerHostMap.get(route); in getMaxForRoute()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/ |
D | DefaultRequestDirector.java | 298 final HttpRoute route) throws ProtocolException { in rewriteRequestURI() argument 302 if (route.getProxyHost() != null && !route.isTunnelled()) { in rewriteRequestURI() 305 HttpHost target = route.getTargetHost(); in rewriteRequestURI() 354 HttpRoute route = roureq.getRoute(); in execute() local 363 route, userToken); in execute() 394 managedConn.open(route, context, params); in execute() 400 establishRoute(route, context); in execute() 413 rewriteRequestURI(wrapper, route); in execute() 419 target = route.getTargetHost(); in execute() 422 HttpHost proxy = route.getProxyHost(); in execute() [all …]
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | RoutedRequest.java | 56 protected final HttpRoute route; field in RoutedRequest 64 public RoutedRequest(final RequestWrapper req, final HttpRoute route) { in RoutedRequest() argument 67 this.route = route; in RoutedRequest() 75 return route; in getRoute()
|
D | DefaultRequestDirector.java | 265 final HttpRoute route) throws ProtocolException { in rewriteRequestURI() argument 269 if (route.getProxyHost() != null && !route.isTunnelled()) { in rewriteRequestURI() 272 HttpHost target = route.getTargetHost(); in rewriteRequestURI() 318 HttpRoute route = roureq.getRoute(); in execute() local 326 route, userToken); in execute() 366 managedConn.open(route, context, params); in execute() 376 establishRoute(route, context); in execute() 389 rewriteRequestURI(wrapper, route); in execute() 396 target = route.getTargetHost(); in execute() 399 HttpHost proxy = route.getProxyHost(); in execute() [all …]
|
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
D | phase1-down.sh | 36 route delete default 37 route delete ${REMOTE_ADDR} 38 route add default ${DEFAULT_GW} -ifa ${LOCAL_ADDR} 42 route delete default 43 route delete ${REMOTE_ADDR} 45 route add default gw ${DEFAULT_GW}
|
D | phase1-up.sh | 37 route delete default 38 route add default ${DEFAULT_GW} -ifa ${INTERNAL_ADDR4} 39 route add ${REMOTE_ADDR} ${DEFAULT_GW} 44 route delete default 45 route add ${REMOTE_ADDR} gw ${DEFAULT_GW} dev ${if} 46 route add default gw ${DEFAULT_GW} dev ${if}:1
|