/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) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
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;
|
Connection.java | 77 private final Route route; field in class:Connection 95 public Connection(ConnectionPool pool, Route route) { 97 this.route = route; 158 Proxy proxy = route.getProxy(); 159 Address address = route.getAddress(); 161 if (route.address.getSslSocketFactory() == null 196 Platform.get().connectSocket(socket, route.getSocketAddress(), connectTimeout) [all...] |
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
routing_test.py | 5 from webapp2 import BaseRoute, RedirectHandler, Request, Route, Router 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/') [all...] |
extras_routes_test.py | 29 route = RedirectRoute('/foo', redirect_to='/bar') 30 router = webapp2.Router([route]) 32 self.assertEqual(route_match, route) 99 webapp2.Route('/', 'a', 'name-a'), 100 webapp2.Route('/b', 'a/b', 'name-a/b'), 101 webapp2.Route('/c', 'a/c', 'name-a/c'), 103 webapp2.Route('/', 'a/d', 'name-a/d'), 104 webapp2.Route('/b', 'a/d/b', 'name-a/d/b'), 105 webapp2.Route('/c', 'a/d/c', 'name-a/d/c'), 145 webapp2.Route('/', 'UserOverviewHandler', 'overview') [all...] |
handler_test.py | 51 return self.redirect_to('route-test', _fragment='my-anchor', year='2010', 132 webapp2.Route('/', HomeHandler, name='home'), 133 webapp2.Route('/methods', MethodsHandler, name='methods'), 134 webapp2.Route('/broken', BrokenHandler), 135 webapp2.Route('/broken-but-fixed', BrokenButFixedHandler), 136 webapp2.Route('/<year:\d{4}>/<month:\d{1,2}>/<name>', None, name='route-test'), 137 webapp2.Route('/<:\d\d>/<:\d{2}>/<:\w+>', PositionalHandler, name='positional'), 138 webapp2.Route('/redirect-me', webapp2.RedirectHandler, defaults={'_uri': '/broken'}), 139 webapp2.Route('/redirect-me2', webapp2.RedirectHandler, defaults={'_uri': get_redirect_url}) [all...] |
/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/chromium-trace/catapult/dashboard/dashboard_build/ |
dashboard_dev_server_config.py | 11 from webapp2 import Route 48 Route('/dashboard/tests', TestListHandler),
|
/external/chromium-trace/catapult/netlog_viewer/netlog_viewer_build/ |
netlog_viewer_dev_server_config.py | 11 from webapp2 import Route 47 Route('/netlog_viewer/tests', TestListHandler),
|
/external/chromium-trace/catapult/tracing/tracing_build/ |
tracing_dev_server_config.py | 12 from webapp2 import Route 48 return [Route('/tracing/tests', TestListHandler)]
|
/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);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
Mixin.java | 45 public Object newInstance(int style, String[] classes, int[] route); 102 private int[] route; field in class:Mixin.Generator 139 Route r = route(delegates); 141 route = r.route; 165 return (Mixin)super.create(KEY_FACTORY.newInstance(style, ReflectUtils.getNames( classes ), route)); 171 new MixinEmitter(v, getClassName(), classes, route); 192 return (Class[])route(delegates).classes.clone(); 196 // return (int[])route(delegates).route.clone() 199 private static Route route(Object[] delegates) { method in class:Mixin 201 Route route = (Route)ROUTE_CACHE.get(key); local 211 private int[] route; field in class:Mixin.Route [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RouteSelector.java | 22 import com.squareup.okhttp.Route; 49 /* The most recently attempted route. */ 62 private final List<Route> postponedRoutes = new ArrayList<>(); 80 * Returns true if there's another route to attempt. Every address has at 81 * least one route. 89 public Route next() throws IOException { 90 // Compute the next route to attempt. 102 Route route = new Route(address, lastProxy, lastInetSocketAddress) local [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...] |
/external/chromium-trace/catapult/catapult_build/ |
dev_server.py | 17 from webapp2 import Route, RedirectHandler 190 Route('/tests.html', TestOverviewHandler, 192 Route('', RedirectHandler, defaults={'_uri': '/tests.html'}), 193 Route('/', RedirectHandler, defaults={'_uri': '/tests.html'}), 198 Route('/%s/notify_test_result' % pd.GetName(), 200 Route('/%s/notify_tests_completed' % pd.GetName(), 208 routes.append(Route('%s__file_list__' % mapped_path, 214 routes.append(Route('%s<rest_of_path:.+>' % mapped_path, 225 Route('/<:.+>', SourcePathsHandler, 228 for route in routes [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vpc/ |
routetable.py | 23 Represents a Route Table 49 self.routes = ResultSet([('item', Route)]) 65 class Route(object): 75 return 'Route:%s' % self.destination_cidr_block
|
/system/connectivity/shill/ |
ipconfig.h | 45 struct Route { 81 // route. 87 std::vector<Route> routes;
|
/system/connectivity/shill/test-scripts/ |
routing.py | 22 information about all routes, and Route, which describes 26 ROUTES_FILE = "/proc/net/route" 27 # The following constants are from <net/route.h> 44 class Route(object): 102 route = routeline.split() 103 interface = route[colMap["Iface"]] 104 destination = route[colMap["Destination"]] 105 gateway = route[colMap["Gateway"]] 106 flags = route[colMap["Flags"]] 107 mask = route[colMap["Mask"] [all...] |
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
routes.py | 6 Extra route classes for webapp2. 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(): 66 """A route used to restrict route matches to a given domain or subdomain. 72 Route('/foo', 'FooHandler', 'subdomain-thing') [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/ |
ConnectionPoolTest.java | 103 Route httpRoute = new Route(httpAddress, Proxy.NO_PROXY, httpSocketAddress); 104 Route spdyRoute = new Route(spdyAddress, Proxy.NO_PROXY, spdySocketAddress); 152 connection = new Connection(pool, new Route(httpAddress, Proxy.NO_PROXY, httpSocketAddress));
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
RouteSelectorTest.java | 25 import com.squareup.okhttp.Route; 132 Route route = routeSelector.next(); local 133 routeDatabase.failed(route); 323 List<Route> regularRoutes = new ArrayList<>(); 328 // Check that we do indeed have more than one route. 330 // Add first regular route as failed. 335 List<Route> routesWithFailedRoute = new ArrayList<>(); 363 private void assertRoute(Route route, Address address, Proxy proxy, InetAddress socketAddress [all...] |