/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
GifDecoder.java | 315 public int read(InputStream is, int contentLength) { 318 int capacity = (contentLength > 0) ? (contentLength + 4096) : 16384;
|
/external/jetty/src/java/org/eclipse/jetty/servlets/ |
ProxyServlet.java | 576 long contentLength = -1; 601 contentLength = request.getContentLength(); 602 exchange.setRequestHeader(HttpHeaders.CONTENT_LENGTH,Long.toString(contentLength)); 603 if (contentLength > 0)
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMDocumentImpl.java | [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
MockWebServer.java | 565 long contentLength = -1; 572 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) { 573 contentLength = Long.parseLong(header.substring(15).trim()); 596 if (contentLength != -1) { 597 hasBody = contentLength > 0; 598 throttledTransfer(throttlePolicy, socket, source, Okio.buffer(requestBody), contentLength); [all...] |
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverterTest.java | 358 .addHeader("Content-Length", Long.toString(responseBody.contentLength())) 366 assertEquals(responseBody.contentLength(), httpUrlConnection.getContentLength()); 664 final long contentLength = source.size(); 670 @Override public long contentLength() { 671 return contentLength;
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 717 unsigned long contentLength = 0; 723 if (!ParseSingleUnsignedLong(value.c_str(), &contentLength)) { 728 if (contentLength > 0) { 729 response->mContent = new ABuffer(contentLength); 731 if (receive(response->mContent->data(), contentLength) != OK) {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
InterceptorTest.java | 535 @Override public long contentLength() throws IOException { 536 return original.contentLength(); 557 return ResponseBody.create(original.contentType(), original.contentLength(),
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpConnection.java | 231 public Sink newFixedLengthSink(long contentLength) { 234 return new FixedLengthSink(contentLength);
|
SpdyTransport.java | 78 @Override public Sink createRequestBody(Request request, long contentLength) throws IOException {
|
/external/nist-sip/java/javax/sip/header/ |
HeaderFactory.java | 51 ContentLengthHeader createContentLengthHeader(int contentLength)
|
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/ |
OkApacheClient.java | 83 InputStreamEntity entity = new InputStreamEntity(body.byteStream(), body.contentLength());
|
/packages/apps/Browser/src/com/android/browser/ |
PreloadController.java | 157 String referer, long contentLength) {
|
Tab.java | [all...] |
/prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpmime/4.3.2/ |
httpmime-4.3.2.jar | |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
maven-embedder-3.2.1.jar | |
wagon-provider-api-2.6.jar | |
/external/jetty/src/java/org/eclipse/jetty/server/ |
AbstractHttpConnection.java | [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
HeaderFactoryImpl.java | 384 * Creates a new CSeqHeader based on the newly supplied contentLength value. 386 * @param contentLength - the new integer value of the contentLength. 387 * @throws InvalidArgumentException if supplied contentLength is less 391 public ContentLengthHeader createContentLengthHeader(int contentLength) 393 if (contentLength < 0) 394 throw new InvalidArgumentException("bad contentLength"); 395 ContentLength c = new ContentLength(); 396 c.setContentLength(contentLength); [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
URLConnectionTest.java | [all...] |
/cts/libs/testserver/src/android/webkit/cts/ |
CtsTestServer.java | 473 public String getBinaryUrl(String mimeType, int contentLength) { 479 sb.append(contentLength); [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 239 int contentLength = STRING_1K.length() * numPackets; 241 .setHeader("Content-length", contentLength) [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebViewTest.java | [all...] |
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPMessage.java | 40 import gov.nist.javax.sip.header.ContentLength; 158 protected ContentLength contentLengthHeader; 243 if (!(siphdr instanceof ContentLength)) 291 if (hisHeader instanceof ContentLength) 366 if (!(siphdr instanceof ContentLength)) 427 if (!(siphdr instanceof ContentLength)) 547 this.attachHeader(new ContentLength(0), false); 659 if (h instanceof ContentLength) { 661 ContentLength cl = (ContentLength) h [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
javax.servlet_2.5.0.v200910301333.jar | |
org.apache.commons.httpclient_3.1.0.v201005080502.jar | |