/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
D | extras_routes_test.py | 31 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 …]
|
D | routing_test.py | 5 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 …]
|
D | handler_test.py | 173 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 …]
|
D | request_test.py | 45 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 …]
|
D | extras_sessions_test.py | 19 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 …]
|
D | webapp1_test.py | 44 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)])
|
D | extras_appengine_users_test.py | 45 req = webapp2.Request.blank('/login_required') 52 req = webapp2.Request.blank('/login_required') 60 req = webapp2.Request.blank('/login_required') 68 req = webapp2.Request.blank('/admin_required') 76 req = webapp2.Request.blank('/admin_required') 82 req = webapp2.Request.blank('/admin_required') 90 req = webapp2.Request.blank('/admin_required')
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CallTest.java | 112 Request request = new Request.Builder() in get() 133 Request request1 = new Request.Builder() in lazilyEvaluateRequestUrl() 136 Request request2 = request1.newBuilder() in lazilyEvaluateRequestUrl() 148 Request request = new Request.Builder() in invalidScheme() 158 Request request = new Request.Builder() in invalidPort() 169 Request request = new Request.Builder() in getReturns500() 192 new Request.Builder().method("GET", RequestBody.create(MediaType.parse("text/plain"), "abc")); in getWithRequestBody() 201 Request request = new Request.Builder() in head() 231 Request request = new Request.Builder() in post() 260 Request request = new Request.Builder() in postZeroLength() [all …]
|
D | RequestTest.java | 95 Request get = new Request.Builder().url("http://localhost/api").get().build(); in crudVerbs() 99 Request head = new Request.Builder().url("http://localhost/api").head().build(); in crudVerbs() 103 Request delete = new Request.Builder().url("http://localhost/api").delete().build(); in crudVerbs() 107 Request post = new Request.Builder().url("http://localhost/api").post(body).build(); in crudVerbs() 111 Request put = new Request.Builder().url("http://localhost/api").put(body).build(); in crudVerbs() 115 Request patch = new Request.Builder().url("http://localhost/api").patch(body).build(); in crudVerbs() 121 Request request = new Request.Builder().url("http://localhost/api").build(); in uninitializedURI() 127 Request requestWithoutCache = new Request.Builder().url("http://localhost/api").build(); in newBuilderUrlResetsUrl() 128 …Request builtRequestWithoutCache = requestWithoutCache.newBuilder().url("http://localhost/api/foo"… in newBuilderUrlResetsUrl() 131 Request requestWithCache = new Request.Builder().url("http://localhost/api").build(); in newBuilderUrlResetsUrl() [all …]
|
D | InterceptorTest.java | 57 Request request = new Request.Builder() in applicationInterceptorsCanShortCircuitResponses() 95 Request request = new Request.Builder() in networkInterceptorsCannotShortCircuitResponses() 120 Request request = new Request.Builder() in networkInterceptorsCannotCallProceedMultipleTimes() 148 Request request = new Request.Builder() in networkInterceptorsCannotChangeServerAddress() 172 Request request = new Request.Builder() in networkInterceptorsHaveConnectionAccess() 186 Request networkRequest = chain.request(); in networkInterceptorsObserveNetworkHeaders() 199 Request request = new Request.Builder() in networkInterceptorsObserveNetworkHeaders() 227 Request originalRequest = chain.request(); in rewriteRequestToServer() 235 Request request = new Request.Builder() in rewriteRequestToServer() 273 Request request = new Request.Builder() in rewriteResponseFromServer() [all …]
|
D | CacheTest.java | 178 Request request = new Request.Builder() in assertCached() 222 Request request = new Request.Builder().url(server.getUrl("/")).build(); in testResponseCaching() 259 Request request = new Request.Builder().url(server.getUrl("/")).build(); in secureResponseCaching() 298 Request request = new Request.Builder().url(server.getUrl("/")).build(); in responseCachingAndRedirects() 320 Request request1 = new Request.Builder().url(server.getUrl("/foo")).build(); in redirectToCachedResult() 327 Request request2 = new Request.Builder().url(server.getUrl("/bar")).build(); in redirectToCachedResult() 335 Request request3 = new Request.Builder().url(server.getUrl("/baz")).build(); in redirectToCachedResult() 727 Request request = new Request.Builder() in testRequestMethod() 778 Request request = new Request.Builder() in testMethodInvalidates() 805 Request request = new Request.Builder() in postInvalidatesCacheWithUncacheableResponse() [all …]
|
/external/tcpdump/tests/ |
D | QinQpacket.out | 1 …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 …]
|
D | QinQpacketv.out | 1 …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 …]
|
D | eapon1.out | 11 ARP, Request who-has 192.168.1.1 tell 192.168.1.249, length 28 13 IP 192.168.1.249.68 > 192.168.1.1.67: BOOTP/DHCP, Request from 00:04:23:57:a5:7a, length 300 15 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:04:23:57:a5:7a, length 300 16 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:04:23:57:a5:7a, length 300 27 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:04:23:57:a5:7a, length 300 28 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:04:23:57:a5:7a, length 300 29 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from 00:04:23:57:a5:7a, length 300 40 ARP, Request who-has 169.254.67.194 tell 169.254.67.194, length 28 41 ARP, Request who-has 169.254.67.194 tell 169.254.67.194, length 28 42 ARP, Request who-has 169.254.67.194 tell 169.254.67.194, length 28 [all …]
|
/external/junit/src/org/junit/runner/ |
D | Request.java | 25 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/apache-http/android/src/android/net/http/ |
D | RequestQueue.java | 49 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/ |
D | RequestTracker.java | 3 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/nist-sip/java/gov/nist/javax/sip/message/ |
D | SIPRequest.java | 73 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/ |
D | MaxCore.java | 15 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/ |
D | TokenNames.java | 27 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/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/ |
D | MainTest.java | 18 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/ |
D | ThumbnailRequestCoordinator.java | 7 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/ |
D | LocalConnector.java | 37 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
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | HeadersTest.java | 20 import com.squareup.okhttp.Request; 44 Request request = new Request.Builder().url("http://square.com/").build(); in parseNameValueBlock() 72 Request request = new Request.Builder().url("http://square.com/").build(); in readNameValueBlockDropsForbiddenHeadersSpdy3() 86 Request request = new Request.Builder().url("http://square.com/").build(); in readNameValueBlockDropsForbiddenHeadersHttp2() 96 Request request = new Request.Builder() in toNameValueBlock() 118 Request request = new Request.Builder() in toNameValueBlockDropsForbiddenHeadersSpdy3() 133 Request request = new Request.Builder() in toNameValueBlockDropsForbiddenHeadersHttp2()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Call.java | 44 Request originalRequest; 47 Call(OkHttpClient client, Request originalRequest) { in Call() 145 Request request() { in request() 206 private final Request request; 209 ApplicationInterceptorChain(int index, Request request, boolean forWebSocket) { in ApplicationInterceptorChain() 219 @Override public Request request() { in request() 223 @Override public Response proceed(Request request) throws IOException { in proceed() 239 Response getResponse(Request request, boolean forWebSocket) throws IOException { in getResponse() 243 Request.Builder requestBuilder = request.newBuilder(); in getResponse() 300 Request followUp = engine.followUpRequest(); in getResponse()
|