HomeSort by relevance Sort by last modified time
    Searched refs:Route (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
RouteDatabase.java 18 import com.squareup.okhttp.Route;
29 private final Set<Route> failedRoutes = new LinkedHashSet<>();
32 public synchronized void failed(Route failedRoute) {
37 public synchronized void connected(Route route) {
38 failedRoutes.remove(route);
41 /** Returns true if {@code route} has failed recently and should be avoided. */
42 public synchronized boolean shouldPostpone(Route route) {
43 return failedRoutes.contains(route);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
RouteList.java 35 * A list of Route Headers.
44 public class RouteList extends SIPHeaderList<Route> {
52 super(Route.class, RouteHeader.NAME);
69 * Order is important when comparing route lists.
77 ListIterator<Route> it = this.listIterator();
78 ListIterator<Route> it1 = that.listIterator();
80 Route route = (Route) it.next(); local
81 Route route1 = (Route) it1.next()
    [all...]
Route.java 36 * Route SIPHeader Object
44 public class Route
55 public Route() {
65 public Route(AddressImpl address) {
NameMap.java 131 putNameMap(ROUTE, Route.class.getName()); //27
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Connection.java 67 /** Returns the route used by this connection. */
68 Route getRoute();
Route.java 22 * The concrete route used by a connection to reach an abstract origin server.
32 * Each route is a specific selection of these options.
34 public final class Route {
39 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress) {
59 * Returns the {@link Proxy} of this route.
74 * Returns true if this route tunnels HTTPS through an HTTP proxy. See <a
82 if (obj instanceof Route) {
83 Route other = (Route) obj;
  /external/nist-sip/java/gov/nist/javax/sip/parser/
RouteParser.java 31 * Parser for a list of route headers.
45 * @param route message to parse to set
47 public RouteParser(String route) {
48 super(route);
55 /** parse the String message and generate the Route List Object
56 * @return SIPHeader the Route List object
65 this.lexer.match(TokenTypes.ROUTE);
70 Route route = new Route(); local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
RouteSelector.java 20 import com.squareup.okhttp.Route;
42 /* The most recently attempted route. */
55 private final List<Route> postponedRoutes = new ArrayList<>();
65 * Returns true if there's another route to attempt. Every address has at
66 * least one route.
74 public Route next() throws IOException {
75 // Compute the next route to attempt.
87 Route route = new Route(address, lastProxy, lastInetSocketAddress) local
    [all...]
StreamAllocation.java 20 import com.squareup.okhttp.Route;
174 Route route = routeSelector.next(); local
175 RealConnection newConnection = new RealConnection(route);
279 // Record the failure on a fresh route.
280 Route failedRoute = connection.getRoute();
283 // We saw a failure on a recycled connection, reset this allocation with a fresh route.
370 // Problems with a route may mean the connection can be retried with a new route, or may
382 // we should try the next route (if there is one)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
rtm.h 109 DWORD WINAPI RtmAddRoute(HANDLE ClientHandle,PVOID Route,DWORD TimeToLive,DWORD *Flags,PVOID CurBestRoute,PVOID PrevBestRoute);
110 DWORD WINAPI RtmDeleteRoute(HANDLE ClientHandle,PVOID Route,DWORD *Flags,PVOID CurBestRoute);
113 ULONG WINAPI RtmGetRouteAge(PVOID Route);
115 DWORD WINAPI RtmEnumerateGetNextRoute(HANDLE EnumerationHandle,PVOID Route);
118 DWORD WINAPI RtmGetFirstRoute(DWORD ProtocolFamily,DWORD EnumerationFlags,PVOID Route);
120 #define RtmGetSpecificRoute(ProtocolFamily,Route) RtmGetFirstRoute(ProtocolFamily,RTM_ONLY_THIS_NETWORK | RTM_ONLY_THIS_PROTOCOL | RTM_ONLY_THIS_INTERFACE,Route)
122 DWORD WINAPI RtmGetNextRoute(DWORD ProtocolFamily,DWORD EnumerationFlags,PVOID Route);
ipxrtdef.h 196 IPX_ROUTE Route;
  /device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/
Ip6Route.c 2 The functions and routines to handle the route caches and route table.
20 as the index of the route cache bucket according to the prefix of two IPv6 addresses.
44 Allocate a route entry then initialize it with the Destination/PrefixLength
53 @return NULL if failed to allocate memeory; otherwise, the newly created route entry.
87 Free the route table entry. It is reference counted.
89 @param[in, out] RtEntry The route entry to free.
105 Search the route table for a most specific match to the Dst. It searches
106 from the longest route area (prefix length == 128) to the shortest route area
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
DefaultRouter.java 51 * URI Jiang He - use address in route header. Significant changes to conform to
53 * strict route post processing code.
69 * <li> If the request contains one or more Route headers, use the URI of the
70 * topmost Route header as next hop, possibly modifying the request in the
71 * process if the topmost Route header contains no lr parameter(*)
80 * (*)Note that in case the topmost Route header contains no 'lr' parameter
82 * perform 'Route Information Postprocessing' as described in RFC3261 section
83 * 16.6 step 6 (also known as "Route header popping"). That is, the following
86 * <li>The implementation places the Request-URI into the Route header field as
88 * <li>The implementation then places the first Route header field value int
196 Route route = (Route) routes.getFirst(); local
272 Route route = new Route(addr); local
    [all...]
SIPClientTransaction.java 36 import gov.nist.javax.sip.header.Route;
529 * add the route before you process the response. dialog.setLastResponse(this,
1166 Route route = new Route(); local
1181 Route route = null; local
    [all...]
SIPDialog.java 52 import gov.nist.javax.sip.header.Route;
112 * reported a bug in updating the route set (on RE-INVITE). Jens Tinfors submitted a bug fix and
733 * Add a route list extracted from a record route list. If this is a server dialog then we
734 * assume that the record are added to the route list IN order. If this is a client dialog
735 * then we assume that the record route headers give us the route list to add in reverse
738 * @param recordRouteList -- the record route list from the incoming message.
745 // route from the response and reverse its order to
746 // careate a route list
756 Route route = new Route(); local
778 Route route = new Route(); local
900 Route route = (Route) li.next(); local
2682 Route route = (Route) routeList.getFirst(); local
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
ConnectionPoolTest.java 41 private final Route routeA1 = newRoute(addressA);
43 private final Route routeB1 = newRoute(addressB);
45 private final Route routeC1 = newRoute(addressC);
190 private RealConnection newConnection(ConnectionPool pool, Route route, long idleAtNanos) {
191 RealConnection connection = new RealConnection(route);
207 private Route newRoute(Address address) {
208 return new Route(address, Proxy.NO_PROXY,
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
Ip4Config2Impl.h 210 UINT8 Route;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/
RealConnection.java 28 import com.squareup.okhttp.Route;
68 private final Route route; field in class:RealConnection
88 public RealConnection(Route route) {
89 this.route = route;
98 Proxy proxy = route.getProxy();
99 Address address = route.getAddress();
101 if (route.getAddress().getSslSocketFactory() == nul
    [all...]
  /external/ppp/pppd/plugins/radius/etc/
dictionary.ascend 68 ATTRIBUTE Ascend-IPX-Route 174 string
122 ATTRIBUTE Ascend-Route-IP 228 integer
123 ATTRIBUTE Ascend-Route-IPX 229 integer
186 VALUE Ascend-Route-IPX Route-IPX-No 0
187 VALUE Ascend-Route-IPX Route-IPX-Yes 1
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
RouteSelectorTest.java 22 import com.squareup.okhttp.Route;
104 Route route = routeSelector.next(); local
105 routeDatabase.failed(route);
292 List<Route> regularRoutes = new ArrayList<>();
297 // Check that we do indeed have more than one route.
299 // Add first regular route as failed.
304 List<Route> routesWithFailedRoute = new ArrayList<>();
332 private void assertRoute(Route route, Address address, Proxy proxy, InetAddress socketAddress
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
XhciSched.c 817 @param ParentRouteChart The route string pointed to the parent device if it exists.
847 RouteChart.Route.RouteString = 0;
848 RouteChart.Route.RootPortNum = Port + 1;
849 RouteChart.Route.TierNum = 1;
852 RouteChart.Route.RouteString = ParentRouteChart.Route.RouteString | (Port << (4 * (ParentRouteChart.Route.TierNum - 1)));
854 RouteChart.Route.RouteString = ParentRouteChart.Route.RouteString | (15 << (4 * (ParentRouteChart.Route.TierNum - 1)));
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/message/
ListMap.java 79 headerListTable.put(Route.class, RouteList.class);
  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
XhciSched.c     [all...]
  /external/nist-sip/java/gov/nist/javax/sip/
DialogFilter.java 37 import gov.nist.javax.sip.header.Route;
299 * assigned to the dialog. Forgive the sins of B2BUA's that like to record route ACK's
360 * RFC 3261 Section 16.4 If the first value in the Route header field indicates this
366 // Route header. If the request is being processed by an
367 // endpoint, then the stack strips off the route header.
368 if (sipRequest.getHeader(Route.NAME) != null && transaction.getDialog() != null) {
370 Route route = (Route) routes.getFirst(); local
371 SipUri uri = (SipUri) route.getAddress().getURI()
    [all...]
  /external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
HttpURLConnectionImpl.java 29 import com.squareup.okhttp.Route;
100 * The most recently attempted route. This will be null if we haven't sent a
103 private Route route; field in class:HttpURLConnectionImpl
464 route = connection.getRoute();
467 route = null;
482 // The attempt to connect via a route failed. The request will not have been sent.
527 Proxy proxy = route != null
528 ? route.getProxy()

Completed in 505 milliseconds

1 2 3