/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | ContentLength.java | 86 protected Integer contentLength; field in ContentLength 100 this.contentLength = Integer.valueOf(length); in ContentLength() 108 return contentLength.intValue(); in getContentLength() 115 public void setContentLength(int contentLength) in setContentLength() argument 117 if (contentLength < 0) in setContentLength() 121 this.contentLength = Integer.valueOf(contentLength); in setContentLength() 133 if (contentLength == null) in encodeBody() 136 buffer.append(contentLength.toString()); in encodeBody()
|
/external/apache-http/src/org/apache/http/impl/io/ |
D | ContentLengthInputStream.java | 78 private long contentLength; field in ContentLengthInputStream 98 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) { in ContentLengthInputStream() argument 103 if (contentLength < 0) { in ContentLengthInputStream() 107 this.contentLength = contentLength; in ContentLengthInputStream() 143 if (pos >= contentLength) { in read() 167 if (pos >= contentLength) { in read() 171 if (pos + len > contentLength) { in read() 172 len = (int) (contentLength - pos); in read() 206 long remaining = Math.min(n, this.contentLength - this.pos); in skip()
|
D | ContentLengthOutputStream.java | 59 private final long contentLength; field in ContentLengthOutputStream 76 public ContentLengthOutputStream(final SessionOutputBuffer out, long contentLength) { in ContentLengthOutputStream() argument 81 if (contentLength < 0) { in ContentLengthOutputStream() 85 this.contentLength = contentLength; in ContentLengthOutputStream() 108 if (this.total < this.contentLength) { in write() 109 long max = this.contentLength - this.total; in write() 126 if (this.total < this.contentLength) { in write()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | PipelinedMsgParser.java | 294 int contentLength = 0; in run() local 296 contentLength = cl.getContentLength(); in run() 298 contentLength = 0; in run() 302 Debug.println("contentLength " + contentLength); in run() 305 if (contentLength == 0) { in run() 308 || contentLength < this.sizeCounter) { in run() 309 byte[] message_body = new byte[contentLength]; in run() 311 while (nread < contentLength) { in run() 322 nread, contentLength - nread); in run()
|
D | MaxForwardsParser.java | 43 public MaxForwardsParser(String contentLength) { in MaxForwardsParser() argument 44 super(contentLength); in MaxForwardsParser() 55 MaxForwards contentLength = new MaxForwards(); in parse() local 58 contentLength.setMaxForwards(Integer.parseInt(number)); in parse() 61 return contentLength; in parse()
|
D | ContentLengthParser.java | 44 public ContentLengthParser(String contentLength) { in ContentLengthParser() argument 45 super(contentLength); in ContentLengthParser() 56 ContentLength contentLength = new ContentLength(); in parse() local 59 contentLength.setContentLength(Integer.parseInt(number)); in parse() 62 return contentLength; in parse()
|
/external/okhttp/src/main/java/libcore/net/http/ |
D | RequestHeaders.java | 53 private int contentLength = -1; field in RequestHeaders 101 contentLength = Integer.parseInt(value); in RequestHeaders() 163 return contentLength; in getContentLength() 210 public void setContentLength(int contentLength) { in setContentLength() argument 211 if (this.contentLength != -1) { in setContentLength() 214 headers.add("Content-Length", Integer.toString(contentLength)); in setContentLength() 215 this.contentLength = contentLength; in setContentLength()
|
D | HttpTransport.java | 87 int contentLength = httpEngine.requestHeaders.getContentLength(); in createRequestBody() local 88 if (contentLength != -1) { in createRequestBody() 90 return new RetryableOutputStream(contentLength); in createRequestBody() 126 int contentLength = httpEngine.requestHeaders.getContentLength(); in writeRequestHeaders() local 130 if (contentLength != -1 && bytes.length + contentLength <= MAX_REQUEST_BUFFER_LENGTH) { in writeRequestHeaders() 131 requestOut = new BufferedOutputStream(socketOut, bytes.length + contentLength); in writeRequestHeaders()
|
D | ResponseHeaders.java | 110 private int contentLength = -1; field in ResponseHeaders 168 contentLength = Integer.parseInt(value); in ResponseHeaders() 255 return contentLength; in getContentLength()
|
D | RetryableOutputStream.java | 64 public synchronized int contentLength() { in contentLength() method in RetryableOutputStream
|
D | HttpEngine.java | 600 int contentLength = ((RetryableOutputStream) requestBodyOut).contentLength(); in readResponse() local 601 requestHeaders.setContentLength(contentLength); in readResponse()
|
D | HttpsURLConnectionImpl.java | 365 public void setFixedLengthStreamingMode(int contentLength) { in setFixedLengthStreamingMode() argument 366 delegate.setFixedLengthStreamingMode(contentLength); in setFixedLengthStreamingMode()
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionClient.java | 73 String contentLength = null; in execute() local 78 contentLength = header.getValue(); in execute() 88 if (contentLength != null) { in execute() 90 .setFixedLengthStreamingMode(Integer.parseInt(contentLength)); in execute()
|
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
D | HttpMethodResponse.java | 109 long contentLength = r.getEntity().getContentLength(); in dump() local 110 if (contentLength >= 0) { in dump() 111 request.append("Content-Length: ").append(contentLength).append(EOL); in dump()
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | OkHttpConnection.java | 786 public void setFixedLengthStreamingMode(int contentLength) { in setFixedLengthStreamingMode() argument 793 if (contentLength < 0) { in setFixedLengthStreamingMode() 796 this.fixedContentLength = contentLength; in setFixedLengthStreamingMode()
|
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/ |
D | InjectedBundlePageResourceLoadClient.cpp | 64 …ntentLengthForResource(WebPage* page, WebFrame* frame, uint64_t identifier, uint64_t contentLength) in didReceiveContentLengthForResource() argument 69 …eceiveContentLengthForResource(toAPI(page), toAPI(frame), identifier, contentLength, m_client.clie… in didReceiveContentLengthForResource()
|
D | InjectedBundlePageResourceLoadClient.h | 52 …dReceiveContentLengthForResource(WebPage*, WebFrame*, uint64_t identifier, uint64_t contentLength);
|
/external/webkit/Source/WebKit2/UIProcess/ |
D | WebResourceLoadClient.cpp | 67 …urce(WebPageProxy* page, WebFrameProxy* frame, uint64_t resourceIdentifier, uint64_t contentLength) in didReceiveContentLengthForResource() argument 72 …ntentLengthForResource(toAPI(page), toAPI(frame), resourceIdentifier, contentLength, m_client.clie… in didReceiveContentLengthForResource()
|
D | WebResourceLoadClient.h | 49 …gthForResource(WebPageProxy*, WebFrameProxy*, uint64_t resourceIdentifier, uint64_t contentLength);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_HttpServer.java | 220 boolean authenticated = false, contentLength = false, chunked = false; in run() 239 if (contentLength) { in run() 242 contentLength = true; in run() 260 if (contentLength && chunked) { in run()
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockWebServer.java | 397 int contentLength = -1; in readRequest() local 403 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) { in readRequest() 404 contentLength = Integer.parseInt(header.substring(15).trim()); in readRequest() 415 if (contentLength != -1) { in readRequest() 417 transfer(contentLength, in, requestBody); in readRequest()
|
/external/nist-sip/java/javax/sip/header/ |
D | ContentLengthHeader.java | 9 void setContentLength(int contentLength) throws InvalidArgumentException; in setContentLength() argument
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | DTMDocumentImpl.java | 2091 void appendTextChild(int m_char_current_start,int contentLength) in appendTextChild() argument 2101 int w3 = contentLength; in appendTextChild() 2114 void appendComment(int m_char_current_start,int contentLength) in appendComment() argument 2124 int w3 = contentLength; in appendComment() 2232 int m_char_current_start, int contentLength) in appendAttribute() argument 2259 w3 = contentLength; in appendAttribute()
|
/external/nist-sip/java/javax/sip/message/ |
D | Message.java | 35 void setContentLength(ContentLengthHeader contentLength); in setContentLength() argument
|
/external/webkit/Source/WebCore/platform/network/curl/ |
D | ResourceHandleManager.cpp | 247 double contentLength = 0; in headerCallback() local 248 err = curl_easy_getinfo(h, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &contentLength); in headerCallback() 249 d->m_response.setExpectedContentLength(static_cast<long long int>(contentLength)); in headerCallback()
|