/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | Connection.java | 80 private final Route route; field in Connection 90 public Connection(Route route) { in Connection() argument 91 this.route = route; in Connection() 100 socket = (route.proxy.type() != Proxy.Type.HTTP) ? new Socket(route.proxy) : new Socket(); in connect() 101 Platform.get().connectSocket(socket, route.inetSocketAddress, connectTimeout); in connect() 106 if (route.address.sslSocketFactory != null) { in connect() 131 socket = route.address.sslSocketFactory in upgradeToTls() 132 .createSocket(socket, route.address.uriHost, route.address.uriPort, true /* autoClose */); in upgradeToTls() 134 if (route.modernTls) { in upgradeToTls() 135 platform.enableTlsExtensions(sslSocket, route.address.uriHost); in upgradeToTls() [all …]
|
D | RouteDatabase.java | 45 public synchronized void connected(Route route) { in connected() argument 46 failedRoutes.remove(route); in connected() 50 public synchronized boolean shouldPostpone(Route route) { in shouldPostpone() argument 51 return failedRoutes.contains(route); in shouldPostpone()
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
D | ConnPoolByRoute.java | 152 protected RouteSpecificPool newRouteSpecificPool(HttpRoute route) { in newRouteSpecificPool() argument 153 return new RouteSpecificPool(route, connPerRoute.getMaxForRoute(route)); in newRouteSpecificPool() 181 protected RouteSpecificPool getRoutePool(HttpRoute route, in getRoutePool() argument 187 rospl = routeToPool.get(route); in getRoutePool() 190 rospl = newRouteSpecificPool(route); in getRoutePool() 191 routeToPool.put(route, rospl); in getRoutePool() 203 public int getConnectionsInPool(HttpRoute route) { in getConnectionsInPool() argument 208 RouteSpecificPool rospl = getRoutePool(route, false); in getConnectionsInPool() 218 final HttpRoute route, in requestPoolEntry() argument 238 return getEntryBlocking(route, state, timeout, tunit, aborter); in requestPoolEntry() [all …]
|
D | RouteSpecificPool.java | 55 protected final HttpRoute route; field in RouteSpecificPool 80 public RouteSpecificPool(HttpRoute route, int maxEntries) { in RouteSpecificPool() argument 81 this.route = route; in RouteSpecificPool() 95 return route; in getRoute() 185 ("No entry created for this pool. " + route); in freeEntry() 189 ("No entry allocated from this pool. " + route); in freeEntry() 205 if (!route.equals(entry.getPlannedRoute())) { in createdEntry() 208 "\npool: " + route + in createdEntry()
|
D | AbstractConnPool.java | 161 HttpRoute route, in getEntry() argument 166 return requestPoolEntry(route, state).getPoolEntry(timeout, tunit); in getEntry() 173 public abstract PoolEntryRequest requestPoolEntry(HttpRoute route, Object state); in requestPoolEntry() argument 206 final HttpRoute route = in handleReference() local 209 log.debug("Connection garbage collected. " + route); in handleReference() 211 handleLostEntry(route); in handleReference() 228 protected abstract void handleLostEntry(HttpRoute route) in handleLostEntry() argument
|
D | BasicPoolEntry.java | 64 HttpRoute route, in BasicPoolEntry() argument 66 super(op, route); in BasicPoolEntry() 67 if (route == null) { in BasicPoolEntry() 78 return super.route; in getPlannedRoute()
|
D | ThreadSafeClientConnManager.java | 152 final HttpRoute route, in requestConnection() argument 156 route, state); in requestConnection() 167 if (route == null) { in requestConnection() 173 + route + ", timeout = " + timeout); in requestConnection() 270 public int getConnectionsInPool(HttpRoute route) { 272 route);
|
D | BasicPoolEntryRef.java | 49 private final HttpRoute route; field in BasicPoolEntryRef 65 route = entry.getPlannedRoute(); in BasicPoolEntryRef() 76 return this.route; in getRoute()
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | AbstractPoolEntry.java | 81 protected volatile HttpRoute route; field in AbstractPoolEntry 98 HttpRoute route) { in AbstractPoolEntry() argument 105 this.route = route; in AbstractPoolEntry() 136 public void open(HttpRoute route, in open() argument 140 if (route == null) { in open() 161 this.tracker = new RouteTracker(route); in open() 162 final HttpHost proxy = route.getProxyHost(); in open() 166 (proxy != null) ? proxy : route.getTargetHost(), in open() 167 route.getLocalAddress(), in open()
|
D | DefaultHttpRoutePlanner.java | 89 HttpRoute route = in determineRoute() local 91 if (route != null) in determineRoute() 92 return route; in determineRoute() 113 route = new HttpRoute(target, local, secure); in determineRoute() 115 route = new HttpRoute(target, local, proxy, secure); in determineRoute() 117 return route; in determineRoute()
|
D | SingleClientConnManager.java | 179 final HttpRoute route, in requestConnection() argument 191 route, state); in requestConnection() 207 public ManagedClientConnection getConnection(HttpRoute route, Object state) { 209 if (route == null) { 215 log.debug("Get connection for route " + route); 231 !tracker.toRoute().equals(route)); 266 managedConn = new ConnAdapter(uniquePoolEntry, route); 458 protected ConnAdapter(PoolEntry entry, HttpRoute route) { 461 entry.route = route;
|
D | ProxySelectorRoutePlanner.java | 129 HttpRoute route = in determineRoute() local 131 if (route != null) in determineRoute() 132 return route; in determineRoute() 164 route = new HttpRoute(target, local, secure); in determineRoute() 166 route = new HttpRoute(target, local, proxy, secure); in determineRoute() 168 return route; in determineRoute()
|
/external/apache-http/src/org/apache/http/conn/params/ |
D | ConnRouteParams.java | 135 HttpRoute route = (HttpRoute) in getForcedRoute() local 137 if ((route != null) && NO_ROUTE.equals(route)) { in getForcedRoute() 139 route = null; in getForcedRoute() 141 return route; in getForcedRoute() 156 HttpRoute route) { in setForcedRoute() argument 160 params.setParameter(FORCED_ROUTE, route); in setForcedRoute()
|
D | ConnPerRouteBean.java | 81 public void setMaxForRoute(final HttpRoute route, int max) { in setMaxForRoute() argument 82 if (route == null) { in setMaxForRoute() 90 this.maxPerHostMap.put(route, Integer.valueOf(max)); in setMaxForRoute() 93 public int getMaxForRoute(final HttpRoute route) { in getMaxForRoute() argument 94 if (route == null) { in getMaxForRoute() 98 Integer max = this.maxPerHostMap.get(route); in getMaxForRoute()
|
/external/chromium_org/remoting/host/ |
D | daemon_process.cc | 323 const SerializedTransportRoute& route) { in OnClientRouteChange() argument 327 if (route.type != protocol::TransportRoute::DIRECT && in OnClientRouteChange() 328 route.type != protocol::TransportRoute::STUN && in OnClientRouteChange() 329 route.type != protocol::TransportRoute::RELAY) { in OnClientRouteChange() 330 LOG(ERROR) << "An invalid RouteType " << route.type << " passed."; in OnClientRouteChange() 334 if (route.remote_address.size() != net::kIPv4AddressSize && in OnClientRouteChange() 335 route.remote_address.size() != net::kIPv6AddressSize) { in OnClientRouteChange() 337 << route.remote_address.size() << " passed."; in OnClientRouteChange() 341 if (route.local_address.size() != net::kIPv4AddressSize && in OnClientRouteChange() 342 route.local_address.size() != net::kIPv6AddressSize) { in OnClientRouteChange() [all …]
|
D | ipc_host_event_logger.cc | 58 const protocol::TransportRoute& route) { in OnClientRouteChange() argument 62 serialized_route.type = route.type; in OnClientRouteChange() 63 serialized_route.remote_address = route.remote_address.address(); in OnClientRouteChange() 64 serialized_route.remote_port = route.remote_address.port(); in OnClientRouteChange() 65 serialized_route.local_address = route.local_address.address(); in OnClientRouteChange() 66 serialized_route.local_port = route.local_address.port(); in OnClientRouteChange()
|
D | host_event_logger_posix.cc | 39 const protocol::TransportRoute& route) OVERRIDE; 84 const protocol::TransportRoute& route) { in OnClientRouteChange() argument 88 jid.c_str(), route.remote_address.ToString().c_str(), in OnClientRouteChange() 89 route.local_address.ToString().c_str(), channel_name.c_str(), in OnClientRouteChange() 90 protocol::TransportRoute::GetTypeString(route.type).c_str())); in OnClientRouteChange()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | RoutedRequest.java | 51 protected final HttpRoute route; field in RoutedRequest 59 public RoutedRequest(final RequestWrapper req, final HttpRoute route) { in RoutedRequest() argument 62 this.route = route; in RoutedRequest() 70 return route; in getRoute()
|
D | DefaultRequestDirector.java | 259 final HttpRoute route) throws ProtocolException { in rewriteRequestURI() argument 263 if (route.getProxyHost() != null && !route.isTunnelled()) { in rewriteRequestURI() 266 HttpHost target = route.getTargetHost(); in rewriteRequestURI() 312 HttpRoute route = roureq.getRoute(); in execute() local 320 route, userToken); in execute() 360 managedConn.open(route, context, params); in execute() 370 establishRoute(route, context); in execute() 383 rewriteRequestURI(wrapper, route); in execute() 390 target = route.getTargetHost(); in execute() 393 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
|
/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/nist-sip/java/gov/nist/javax/sip/parser/ |
D | RouteParser.java | 47 public RouteParser(String route) { in RouteParser() argument 48 super(route); in RouteParser() 70 Route route = new Route(); in parse() local 71 super.parse(route); in parse() 72 routeList.add(route); in parse()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | natserver.cc | 117 SocketAddressPair route(addr, dest_addr); in OnInternalPacket() local 118 InternalMap::iterator iter = int_map_->find(route); in OnInternalPacket() 120 Translate(route); in OnInternalPacket() 121 iter = int_map_->find(route); in OnInternalPacket() 159 iter->second->route.source(), DSCP_NO_CHANGE); in OnExternalPacket() 162 void NATServer::Translate(const SocketAddressPair& route) { in Translate() argument 170 TransEntry* entry = new TransEntry(route, socket, nat_); in Translate() 171 (*int_map_)[route] = entry; in Translate() 183 : route(r), socket(s) { in TransEntry()
|
/external/iproute2/doc/ |
D | ip-cref.tex | 115 \item \verb|route| --- routing table entry 1072 \section{{\tt ip route} --- routing table management} 1075 \paragraph{Abbreviations:} \verb|route|, \verb|ro|, \verb|r|. argument 1077 \paragraph{Object:} \verb|route| entries in the kernel routing tables keep argument 1080 Each route entry has a {\em key\/} consisting of a {\em prefix\/} 1082 optionally, the TOS value. An IP packet matches the route if the highest 1083 bits of its destination address are equal to the route prefix at least 1084 up to the prefix length and if the TOS of the route is zero or equal to 1093 \item If the TOS of some route with the longest prefix is equal to the TOS 1099 Otherwise, the route lookup fails. [all …]
|