Home
last modified time | relevance | path

Searched refs:Request (Results 1 – 25 of 460) sorted by relevance

12345678910>>...19

/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_routes_test.py31 route_match, args, kwargs = router.match(webapp2.Request.blank('/foo'))
37 req = webapp2.Request.blank('/redirect-me-easily')
43 req = webapp2.Request.blank('/redirect-me-easily2')
49 req = webapp2.Request.blank('/redirect-me-easily3')
56 req = webapp2.Request.blank('/redirect-to-name')
63 req = webapp2.Request.blank('/strict-foo')
68 req = webapp2.Request.blank('/strict-bar/')
75 req = webapp2.Request.blank('/strict-foo/')
81 req = webapp2.Request.blank('/strict-bar')
112 self.assertEqual(router.match(webapp2.Request.blank(path))[1:], match)
[all …]
Drouting_test.py5 from webapp2 import BaseRoute, RedirectHandler, Request, Route, Router
13 route, args, kwargs = route.match(Request.blank('/hello'))
15 url = route.build(Request.blank('/'), (), {})
19 route, args, kwargs = route.match(Request.blank('/hello/world/'))
21 url = route.build(Request.blank('/'), (), {})
26 self.assertEqual(route.match(Request.blank('/1')), (route, ('1',), {}))
27 self.assertEqual(route.match(Request.blank('/2')), (route, ('2',), {}))
30 self.assertEqual(route.match(Request.blank('/11')), (route, ('11',), {}))
31 self.assertEqual(route.match(Request.blank('/111')), (route, ('111',), {}))
32 self.assertEqual(route.match(Request.blank('/1111')), None)
[all …]
Dhandler_test.py173 req = webapp2.Request.blank('/nowhere')
178 req = webapp2.Request.blank('/')
185 req = webapp2.Request.blank('/broken')
190 req = webapp2.Request.blank('/broken-but-fixed')
197 req = webapp2.Request.blank('/methods')
203 req = webapp2.Request.blank('/lazy')
209 req = webapp2.Request.blank('/error')
218 req = webapp2.Request.blank('/broken')
228 req = webapp2.Request.blank('/nowhere')
233 req = webapp2.Request.blank('/')
[all …]
Drequest_test.py45 req = webapp2.Request.blank('/', environ={
51 req = webapp2.Request.blank('/', environ={
57 req = webapp2.Request.blank('/', environ={
92 req = webapp2.Request.blank('/?1=2', POST='3=4')
121 req = webapp2.Request.blank('/', headers=[('Cookie', cookie)])
136 req = webapp2.Request.blank('/', headers=[('Cookie', cookie)])
160 req = webapp2.Request.blank('/', headers=[('Cookie', cookie)])
176 req = webapp2.Request.blank('/', headers=[('Cookie', cookie)])
184 req = webapp2.Request.blank('/?1=2&1=3&3=4', POST='5=6&7=8')
202 req = webapp2.Request.blank('/?1=2&1=3&3=4', POST={5: 6, 7: 8},
[all …]
Dextras_sessions_test.py19 req = webapp2.Request.blank('/')
25 req = webapp2.Request.blank('/')
40 req = webapp2.Request.blank('/')
59 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
76 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
92 req = webapp2.Request.blank('/')
107 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
128 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
146 req = webapp2.Request.blank('/', headers=[('Cookie', cookies)])
160 req = webapp2.Request.blank('/')
[all …]
Dwebapp1_test.py44 req = webapp2.Request.blank('/test/foo')
49 req = webapp2.Request.blank('/test/bar')
57 req = webapp2.Request.blank('/test/foo')
62 req = webapp2.Request.blank('/test/bar')
68 req = webapp2.Request.blank('/test/foo')
76 req = webapp2.Request.blank('/test/foo')
82 req = webapp2.Request.blank('/test/foo')
88 req = webapp2.Request.blank('/test/error')
94 req = webapp2.Request.blank('/test2/foo')
113 req = webapp.Request.blank('/', headers=[('Cookie', cookie)])
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRequestTest.java96 Request get = new Request.Builder().url("http://localhost/api").get().build(); in crudVerbs()
100 Request head = new Request.Builder().url("http://localhost/api").head().build(); in crudVerbs()
104 Request delete = new Request.Builder().url("http://localhost/api").delete().build(); in crudVerbs()
108 Request post = new Request.Builder().url("http://localhost/api").post(body).build(); in crudVerbs()
112 Request put = new Request.Builder().url("http://localhost/api").put(body).build(); in crudVerbs()
116 Request patch = new Request.Builder().url("http://localhost/api").patch(body).build(); in crudVerbs()
122 Request request = new Request.Builder().url("http://localhost/api").build(); in uninitializedURI()
128 Request requestWithoutCache = new Request.Builder().url("http://localhost/api").build(); in newBuilderUrlResetsUrl()
129Request builtRequestWithoutCache = requestWithoutCache.newBuilder().url("http://localhost/api/foo"… in newBuilderUrlResetsUrl()
132 Request requestWithCache = new Request.Builder().url("http://localhost/api").build(); in newBuilderUrlResetsUrl()
[all …]
DCallTest.java113 Request request = new Request.Builder() in get()
135 Request request = new Request.Builder() in buildRequestUsingHttpUrl()
144 Request.Builder requestBuilder = new Request.Builder(); in invalidScheme()
154 Request.Builder requestBuilder = new Request.Builder(); in invalidPort()
166 Request request = new Request.Builder() in getReturns500()
189 new Request.Builder().method("GET", RequestBody.create(MediaType.parse("text/plain"), "abc")); in getWithRequestBody()
198 Request request = new Request.Builder() in head()
228 Request request = new Request.Builder() in post()
257 Request request = new Request.Builder() in postZeroLength()
316 Request request = new Request.Builder() in postBodyRetransmittedAfterAuthorizationFail()
[all …]
DInterceptorTest.java56 Request request = new Request.Builder() in applicationInterceptorsCanShortCircuitResponses()
94 Request request = new Request.Builder() in networkInterceptorsCannotShortCircuitResponses()
119 Request request = new Request.Builder() in networkInterceptorsCannotCallProceedMultipleTimes()
147 Request request = new Request.Builder() in networkInterceptorsCannotChangeServerAddress()
171 Request request = new Request.Builder() in networkInterceptorsHaveConnectionAccess()
185 Request networkRequest = chain.request(); in networkInterceptorsObserveNetworkHeaders()
198 Request request = new Request.Builder() in networkInterceptorsObserveNetworkHeaders()
226 Request originalRequest = chain.request(); in rewriteRequestToServer()
234 Request request = new Request.Builder() in rewriteRequestToServer()
272 Request request = new Request.Builder() in rewriteResponseFromServer()
[all …]
DCacheTest.java175 Request request = new Request.Builder() in assertCached()
219 Request request = new Request.Builder().url(server.url("/")).build(); in testResponseCaching()
256 Request request = new Request.Builder().url(server.url("/")).build(); in secureResponseCaching()
295 Request request = new Request.Builder().url(server.url("/")).build(); in responseCachingAndRedirects()
317 Request request1 = new Request.Builder().url(server.url("/foo")).build(); in redirectToCachedResult()
324 Request request2 = new Request.Builder().url(server.url("/bar")).build(); in redirectToCachedResult()
332 Request request3 = new Request.Builder().url(server.url("/baz")).build(); in redirectToCachedResult()
724 Request request = new Request.Builder() in testRequestMethod()
775 Request request = new Request.Builder() in testMethodInvalidates()
802 Request request = new Request.Builder() in postInvalidatesCacheWithUncacheableResponse()
[all …]
/external/tcpdump/tests/
DQinQpacket.out1 …ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP, Request who-has 172.17.0.…
2 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
3 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
4 …ethertype 802.1Q-QinQ (0x88a8), length 64: vlan 200, p 0, ethertype ARP, Request who-has 172.17.0.…
5 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
6 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
7 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
8 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
9 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
10 …n 200, p 0, ethertype IPv4, 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:…
[all …]
DQinQpacketv.out1 …length 64: vlan 200, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 172.17.0.…
3 …0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:0c:3f, length 298, xid 0x969…
9 Parameter-Request Option 55, length 9:
16 …0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:0c:3f, length 298, xid 0x969…
22 Parameter-Request Option 55, length 9:
28 …length 64: vlan 200, p 0, ethertype ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 172.17.0.…
30 …0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:0c:3f, length 298, xid 0x969…
36 Parameter-Request Option 55, length 9:
43 …0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:08:5d:23:0c:3f, length 298, xid 0x969…
49 Parameter-Request Option 55, length 9:
[all …]
/external/junit/src/org/junit/runner/
DRequest.java25 public abstract class Request { class
34 public static Request method(Class<?> clazz, String methodName) { in method()
36 return Request.aClass(clazz).filterWith(method); in method()
45 public static Request aClass(Class<?> clazz) { in aClass()
55 public static Request classWithoutSuiteMethod(Class<?> clazz) { in classWithoutSuiteMethod()
66 public static Request classes(Computer computer, Class<?>... classes) { in classes()
83 public static Request classes(Class<?>... classes) { in classes()
92 public static Request errorReport(Class<?> klass, Throwable cause) { in errorReport()
100 public static Request runner(final Runner runner) { in runner()
101 return new Request(){ in runner()
[all …]
/external/libbrillo/brillo/http/
Dhttp_request.cc107 Request::Request(const std::string& url, in Request() function in brillo::http::Request
116 Request::~Request() { in ~Request()
120 void Request::AddRange(int64_t bytes) { in AddRange()
123 ranges_.emplace_back(Request::range_value_omitted, -bytes); in AddRange()
125 ranges_.emplace_back(bytes, Request::range_value_omitted); in AddRange()
129 void Request::AddRange(uint64_t from_byte, uint64_t to_byte) { in AddRange()
134 std::unique_ptr<Response> Request::GetResponseAndBlock( in GetResponseAndBlock()
144 RequestID Request::GetResponse(const SuccessCallback& success_callback, in GetResponse()
159 void Request::SetAccept(const std::string& accept_mime_types) { in SetAccept()
164 const std::string& Request::GetAccept() const { in GetAccept()
[all …]
/external/apache-http/android/src/android/net/http/
DRequestQueue.java49 private final LinkedHashMap<HttpHost, LinkedList<Request>> mPending;
208 mPending = new LinkedHashMap<HttpHost, LinkedList<Request>>(32); in RequestQueue()
322 Request req; in queueRequest()
326 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider, in queueRequest()
344 private Request mRequest;
347 public Request getRequest() { in getRequest()
348 Request r = mRequest; in getRequest()
352 public Request getRequest(HttpHost host) { in getRequest()
358 public void requeueRequest(Request r) { in requeueRequest()
373 Request req = new Request(method, host, mProxyHost, uri.getPath(), in queueSynchronousRequest()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestTracker.java3 import com.bumptech.glide.request.Request;
19 …private final Set<Request> requests = Collections.newSetFromMap(new WeakHashMap<Request, Boolean>(…
25 public void runRequest(Request request) { in runRequest()
33 void addRequest(Request request) { in addRequest()
40 public void removeRequest(Request request) { in removeRequest()
56 for (Request request : requests) { in pauseRequests()
68 for (Request request : requests) { in resumeRequests()
79 for (Request request : requests) { in clearRequests()
88 for (Request request : requests) { in restartRequests()
/external/skia/tools/skiaserve/urlhandlers/
DUrlHandler.h11 struct Request;
17 virtual int handle(Request* request, MHD_Connection* connection,
25 int handle(Request* request, MHD_Connection* connection,
33 int handle(Request* request, MHD_Connection* connection,
41 int handle(Request* request, MHD_Connection* connection,
45 static SkColor GetPixel(Request* request, int x, int y);
55 int handle(Request* request, MHD_Connection* connection,
67 int handle(Request* request, MHD_Connection* connection,
75 int handle(Request* request, MHD_Connection* connection,
83 int handle(Request* request, MHD_Connection* connection,
[all …]
/external/skia/src/ports/
DSkFontHost_fontconfig.cpp82 struct Request : public SkResourceCache::Key { struct in SkFontHostRequestCache
84 Request(const char* name, size_t nameLen, const SkFontStyle& style) : fStyle(style) { in Request() argument
104 static Request* Create(const char* name, const SkFontStyle& style) { in Create() argument
107 char* storage = new char[sizeof(Request) + contentLen]; in Create()
108 return new (storage) Request(name, nameLen, style); in Create()
118 Result(Request* request, SkTypeface* typeface) in Result()
129 SkAutoTDelete<Request> fRequest;
139 void add(SkTypeface* face, Request* request) { in add()
143 SkTypeface* findAndRef(Request* request) { in findAndRef()
156 static void Add(SkTypeface* face, Request* request) { in Add()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPRequest.java73 public final class SIPRequest extends SIPMessage implements javax.sip.message.Request, RequestExt {
110 targetRefreshMethods.add(Request.INVITE);
111 targetRefreshMethods.add(Request.UPDATE);
112 targetRefreshMethods.add(Request.SUBSCRIBE);
113 targetRefreshMethods.add(Request.NOTIFY);
114 targetRefreshMethods.add(Request.REFER);
116 putName(Request.INVITE);
117 putName(Request.BYE);
118 putName(Request.CANCEL);
119 putName(Request.ACK);
[all …]
/external/junit/src/org/junit/experimental/max/
DMaxCore.java15 import org.junit.runner.Request;
63 return run(Request.aClass(testClass)); in run()
71 public Result run(Request request) { in run()
85 public Result run(Request request, JUnitCore core) { in run()
94 public Request sortRequest(Request request) { in sortRequest()
102 private Request constructLeafRequest(List<Description> leaves) { in constructLeafRequest()
106 return new Request() { in constructLeafRequest()
132 return Request.aClass(type).getRunner();
133 return Request.method(type, methodName).getRunner();
149 public List<Description> sortedLeavesForTest(Request request) {
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DTokenNames.java27 import javax.sip.message.Request;
45 public static final String INVITE = Request.INVITE;
46 public static final String ACK = Request.ACK;
47 public static final String BYE = Request.BYE;
48 public static final String SUBSCRIBE = Request.SUBSCRIBE;
49 public static final String NOTIFY = Request.NOTIFY;
50 public static final String OPTIONS = Request.OPTIONS;
51 public static final String REGISTER = Request.REGISTER;
52 public static final String MESSAGE = Request.MESSAGE;
53 public static final String PUBLISH = Request.PUBLISH;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DRequest.java12 public class Request class
18 public Request( in Request() method in Request
26 private Request( in Request() method in Request
38 public static Request getInstance( in getInstance()
45 public static Request getInstance( in getInstance()
48 if (obj instanceof Request) in getInstance()
50 return (Request)obj; in getInstance()
54 return new Request(ASN1Sequence.getInstance(obj)); in getInstance()
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
DMainTest.java18 import com.squareup.okhttp.Request;
30 Request request = fromArgs("http://example.com").createRequest(); in simple()
37 Request request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest(); in put()
44 Request request = fromArgs("-d", "foo", "http://example.com").createRequest(); in dataPost()
53 Request request = fromArgs("-d", "foo", "-X", "PUT", "http://example.com").createRequest(); in dataPut()
62 Request request = fromArgs("-d", "foo", "-H", "Content-Type: application/json", in contentTypeHeader()
72 Request request = fromArgs("-e", "foo", "http://example.com").createRequest(); in referer()
80 Request request = fromArgs("-A", "foo", "http://example.com").createRequest(); in userAgent()
88 Request request = fromArgs("-H", "If-Modified-Since: Mon, 18 Aug 2014 15:16:06 GMT", in headerSplitWithDate()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DThumbnailRequestCoordinator.java7 public class ThumbnailRequestCoordinator implements RequestCoordinator, Request {
8 private Request full;
9 private Request thumb;
20 public void setRequests(Request full, Request thumb) { in setRequests()
33 public boolean canSetImage(Request request) { in canSetImage()
48 public boolean canNotifyStatusChanged(Request request) { in canNotifyStatusChanged()
/external/jetty/src/java/org/eclipse/jetty/server/
DLocalConnector.java37 private final BlockingQueue<Request> _requests = new LinkedBlockingQueue<Request>();
63 Request request = new Request(requestsBuffer, keepOpen, latch); in getResponses()
72 Request request = _requests.take(); in accept()
91 Request request = new Request(new ByteArrayBuffer(rawRequest, "UTF-8"), true, null); in executeRequest()
95 private class Request implements Runnable class in LocalConnector
102 private Request(ByteArrayBuffer requestsBuffer, boolean keepOpen, CountDownLatch latch) in Request() method in LocalConnector.Request

12345678910>>...19