Home
last modified time | relevance | path

Searched refs:Route (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium-trace/catapult/third_party/webapp2/tests/
Drouting_test.py5 from webapp2 import BaseRoute, RedirectHandler, Request, Route, Router
12 route = Route(r'/hello', None)
18 route = Route(r'/hello/world/', None)
25 route = Route(r'/<:\d>', None)
29 route = Route(r'/<:\d{2,3}>', None)
35 route = Route(r'/<:\d{4}>', None)
39 route = Route(r'/<:\d{2}>.<:\d{2}>', None)
43 route = Route(r'/<:\d{2}>.<:\d{2}>/<foo>', None)
48 route = Route(r'/<foo>', None)
54 route = Route(r'/<year:\d{4}>', None)
[all …]
Dhandler_test.py132 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}),
140 …webapp2.Route('/redirect-me3', webapp2.RedirectHandler, defaults={'_uri': '/broken', '_permanent':…
141 …webapp2.Route('/redirect-me4', webapp2.RedirectHandler, defaults={'_uri': get_redirect_url, '_perm…
[all …]
Dextras_routes_test.py99 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'),
146 webapp2.Route('/profile', 'UserProfileHandler', 'profile'),
147 webapp2.Route('/projects', 'UserProjectsHandler', 'projects'),
173 webapp2.Route('/foo', 'FooHandler', 'subdomain-thingie'),
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DRouteList.java44 public class RouteList extends SIPHeaderList<Route> {
52 super(Route.class, RouteHeader.NAME); in RouteList()
77 ListIterator<Route> it = this.listIterator(); in equals()
78 ListIterator<Route> it1 = that.listIterator(); in equals()
80 Route route = (Route) it.next(); in equals()
81 Route route1 = (Route) it1.next(); in equals()
DRoute.java44 public class Route class
55 public Route() { in Route() method in Route
65 public Route(AddressImpl address) { in Route() method in Route
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DRouteDatabase.java18 import com.squareup.okhttp.Route;
29 private final Set<Route> failedRoutes = new LinkedHashSet<>();
32 public synchronized void failed(Route failedRoute) { in failed()
37 public synchronized void connected(Route route) { in connected()
42 public synchronized boolean shouldPostpone(Route route) { in shouldPostpone()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRoute.java34 public final class Route { class
39 public Route(Address address, Proxy proxy, InetSocketAddress inetSocketAddress) { in Route() method in Route
82 if (obj instanceof Route) { in equals()
83 Route other = (Route) obj; in equals()
/external/chromium-trace/catapult/third_party/webapp2/docs/guide/
Drouting.rst89 :class:`webapp2.Route`. Let's remake our previous routes using it::
92 webapp2.Route(r'/', handler=HomeHandler, name='home'),
93 webapp2.Route(r'/products', handler=ProductListHandler, name='product-list'),
94 webapp2.Route(r'/products/<product_id:\d+>', handler=ProductHandler, name='product'),
103 Check :meth:`webapp2.Route.__init__` in the API reference for the parameters
104 accepted by the ``Route`` constructor. We will explain some of them in details
133 Route('/<user_id>/settings', handler=SettingsHandler, name='user-settings')
134 Route('/<user_id:[^/]+>/settings', handler=SettingsHandler, name='user-settings')
178 …webapp2.Route(r'/products', handler='handlers.ProductsHandler', name='products-list', handler_meth…
183 …webapp2.Route(r'/products', handler='handlers.ProductsHandler:list_products', name='products-list')
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRouteSelector.java22 import com.squareup.okhttp.Route;
62 private final List<Route> postponedRoutes = new ArrayList<>();
89 public Route next() throws IOException { in next()
102 Route route = new Route(address, lastProxy, lastInetSocketAddress); in next()
116 public void connectFailed(Route failedRoute, IOException failure) { in connectFailed()
232 private Route nextPostponed() { in nextPostponed()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DMixin.java139 Route r = route(delegates); in create()
199 private static Route route(Object[] delegates) { in route()
201 Route route = (Route)ROUTE_CACHE.get(key); in route()
203 ROUTE_CACHE.put(key, route = new Route(delegates)); in route()
208 private static class Route class in Mixin
213 Route(Object[] delegates) { in Route() method in Mixin.Route
/external/nist-sip/java/gov/nist/javax/sip/stack/
DDefaultRouter.java196 Route route = (Route) routes.getFirst(); in getNextHop()
265 Route first = (Route) routes.getFirst(); in fixStrictRouting()
272 Route route = new Route(addr); in fixStrictRouting()
DSIPClientTransaction.java36 import gov.nist.javax.sip.header.Route;
1166 Route route = new Route(); in createAck()
1177 if (!((SipURI) ((Route) routeList.getFirst()).getAddress().getURI()).hasLrParam()) { in createAck()
1181 Route route = null; in createAck()
1183 route = new Route(); in createAck()
1187 Route firstRoute = (Route) routeList.getFirst(); in createAck()
/external/chromium-trace/catapult/catapult_build/
Ddev_server.py17 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,
/external/tcpdump/tests/
Ddcb_qcn.out8 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
11 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
20 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
23 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
94 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
97 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
186 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
189 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
199 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
202 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
[all …]
Ddcb_ets.out9 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
12 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
76 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
79 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
88 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
91 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
101 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
104 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
177 Subnet-Mask, BR, Time-Zone, Classless-Static-Route
180 Default-Gateway, Classless-Static-Route, Classless-Static-Route-Microsoft, Option 252
[all …]
/external/chromium-trace/catapult/perf_insights/perf_insights_build/
Dperf_insights_dev_server_config.py16 from webapp2 import Route
204 Route('/perf_insights/tests', TestListHandler),
205 Route('/perf_insights_examples/run_map_function',
211 Route('/perf_insights_examples/run_cloud_mapper',
217 Route('/perf_insights_examples/download',
/external/chromium-trace/catapult/third_party/webapp2/docs/
Dfeatures.rst106 to maintain than positional ones. Simply use the ``Route`` class to define
115 … webapp2.Route('/<year:\d{4}>/<month:\d{2}>', handler=BlogArchiveHandler, name='blog-archive'),
145 webapp2.Route('/', handler=HomeHandler, name='home'),
162 webapp2.Route('/', handler=MyHandler, name='custom-1', handler_method='my_custom_method'),
163 … webapp2.Route('/other', handler=MyHandler, name='custom-2', handler_method='my_other_method'),
176 webapp2.Route('/', handler=my_sweet_function, name='home'),
203 webapp2.Route('/', handler=HomeHandler, name='home'),
237 webapp2.Route('/view/<item>', ViewHandler, 'view'),
238 … webapp2.Route('/old-page', RedirectHandler, defaults={'uri': '/view/i-came-from-a-redirect'}),
239 webapp2.Route('/old-view/<item>', RedirectHandler, defaults={'uri': get_redirect_uri}),
/external/nist-sip/java/gov/nist/javax/sip/parser/
DRouteParser.java70 Route route = new Route(); in parse()
/external/chromium-trace/catapult/dashboard/dashboard_build/
Ddashboard_dev_server_config.py11 from webapp2 import Route
48 Route('/dashboard/tests', TestListHandler),
/external/chromium-trace/catapult/tracing/tracing_build/
Dtracing_dev_server_config.py12 from webapp2 import Route
48 return [Route('/tracing/tests', TestListHandler)]
/external/chromium-trace/catapult/third_party/webapp2/
DCHANGES279 - Route now raises exc.HTTPMethodNotAllowed if methods are set and the request
361 - DomainRoute now uses the same syntax used by webapp2.Route, instead of a
544 the routing system more extensible, while the default Route class sticks to
555 Route('/', UserOverviewHandler, 'user-overview'),
556 Route('/profile', UserProfileHandler, 'user-profile'),
557 Route('/projects', UserProjectsHandler, 'user-projects'),
565 Route('/users/<user:\w+>/', UserOverviewHandler, 'user-overview'),
566 Route('/users/<user:\w+>/profile', UserProfileHandler, 'user-profile'),
567 Route('/users/<user:\w+>/projects', UserProjectsHandler, 'user-projects'),
584 Route('/foo', 'FooHandler', 'subdomain-thing'),
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vpc/
Droutetable.py49 self.routes = ResultSet([('item', Route)])
65 class Route(object): class
/external/chromium-trace/catapult/third_party/webapp2/docs/api/
Dwebapp2.rst17 - :class:`Route`
85 .. autoclass:: Route
/external/ppp/pppd/plugins/radius/etc/
Ddictionary.ascend68 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/
DRouteSelectorTest.java25 import com.squareup.okhttp.Route;
132 Route route = routeSelector.next(); in singleRouteReturnsFailedRoute()
323 List<Route> regularRoutes = new ArrayList<>(); in failedRoutesAreLast()
335 List<Route> routesWithFailedRoute = new ArrayList<>(); in failedRoutesAreLast()
363 private void assertRoute(Route route, Address address, Proxy proxy, InetAddress socketAddress, in assertRoute()

123