HomeSort by relevance Sort by last modified time
    Searched full:contentlength (Results 51 - 75 of 114) sorted by null

1 23 4 5

  /external/nist-sip/java/javax/sip/header/
HeaderFactory.java 51 ContentLengthHeader createContentLengthHeader(int contentLength)
  /external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
MainTest.java 40 assertEquals(3, request.body().contentLength());
  /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
RequestBodyCompression.java 88 @Override public long contentLength() {
  /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...]
NameMap.java 129 putNameMap(CONTENT_LENGTH, ContentLength.class.getName()); //26
  /external/mockwebserver/src/main/java/com/google/mockwebserver/
MockWebServer.java 441 long contentLength = -1;
448 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) {
449 contentLength = Long.parseLong(header.substring(15).trim());
472 if (contentLength != -1) {
474 throttledTransfer(throttlePolicy, in, requestBody, contentLength);
  /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/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/libxml2/
nanohttp.c 149 int ContentLength; /* specified content length from HTTP header */
402 ret->ContentLength = -1;
835 ctxt->ContentLength = strtol( cur, NULL, 10 );
    [all...]
  /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/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) {
  /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 {
  /libcore/luni/src/main/java/libcore/net/url/
FileURLConnection.java 118 // use -1 for the contentLength
  /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/nist-sip/java/gov/nist/javax/sip/message/
SIPResponse.java 37 import gov.nist.javax.sip.header.ContentLength;
699 || nextHeader instanceof ContentLength
703 || nextHeader instanceof ContentLength
SIPRequest.java 834 } else if (nextHeader instanceof ContentLength) {
838 ((ContentLength) nextHeader).setContentLength(0);
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
URLConnectionTest.java     [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DTMDocumentImpl.java     [all...]
  /frameworks/support/recommendation/src/android/support/app/recommendation/
RecommendationExtender.java 61 private static final String KEY_CONTENT_RUN_LENGTH = "android.contentLength";
  /external/okhttp/
CHANGELOG.md 65 * **`RequestBody.contentLength()` now throws `IOException`.**
67 `RequestBody.contentLength()`, your compile will break with this
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
PublicApiFunctionalTest.java 239 int contentLength = STRING_1K.length() * numPackets;
241 .setHeader("Content-length", contentLength)
    [all...]

Completed in 146 milliseconds

1 23 4 5