HomeSort by relevance Sort by last modified time
    Searched full:contentlength (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/nist-sip/java/javax/sip/header/
ContentLengthHeader.java 9 void setContentLength(int contentLength) throws InvalidArgumentException;
  /external/nist-sip/java/gov/nist/javax/sip/header/
ContentLength.java 35 * ContentLength SIPHeader (of which there can be only one in a SIPMessage).
76 public class ContentLength
85 * contentLength field.
87 protected Integer contentLength;
92 public ContentLength() {
99 public ContentLength(int length) {
101 this.contentLength = Integer.valueOf(length);
105 * get the ContentLength field.
109 return contentLength.intValue();
113 * Set the contentLength membe
    [all...]
  /external/apache-http/src/org/apache/http/impl/io/
ContentLengthOutputStream.java 59 private final long contentLength;
71 * @param contentLength The maximum number of bytes that can be written to
76 public ContentLengthOutputStream(final SessionOutputBuffer out, long contentLength) {
81 if (contentLength < 0) {
85 this.contentLength = contentLength;
108 if (this.total < this.contentLength) {
109 long max = this.contentLength - this.total;
126 if (this.total < this.contentLength) {
ContentLengthInputStream.java 78 private long contentLength;
95 * @param contentLength The maximum number of bytes that can be read from
98 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) {
103 if (contentLength < 0) {
107 this.contentLength = contentLength;
143 if (pos >= contentLength) {
167 if (pos >= contentLength) {
171 if (pos + len > contentLength) {
172 len = (int) (contentLength - pos)
    [all...]
  /frameworks/base/core/java/android/webkit/
DownloadListener.java 28 * @param contentLength The file size reported by the server
31 String contentDisposition, String mimetype, long contentLength);
CacheLoader.java 49 mContentLength = mCacheResult.contentLength;
  /external/nist-sip/java/gov/nist/javax/sip/parser/
ContentLengthParser.java 44 public ContentLengthParser(String contentLength) {
45 super(contentLength);
56 ContentLength contentLength = new ContentLength();
59 contentLength.setContentLength(Integer.parseInt(number));
62 return contentLength;
MaxForwardsParser.java 43 public MaxForwardsParser(String contentLength) {
44 super(contentLength);
55 MaxForwards contentLength = new MaxForwards();
58 contentLength.setMaxForwards(Integer.parseInt(number));
61 return contentLength;
PipelinedMsgParser.java 292 ContentLength cl = (ContentLength) sipMessage
294 int contentLength = 0;
296 contentLength = cl.getContentLength();
298 contentLength = 0;
302 Debug.println("contentLength " + contentLength);
305 if (contentLength == 0) {
308 || contentLength < this.sizeCounter) {
309 byte[] message_body = new byte[contentLength];
    [all...]
  /external/oauth/core/src/main/java/net/oauth/client/
URLConnectionClient.java 73 String contentLength = null;
78 contentLength = header.getValue();
88 if (contentLength != null) {
90 .setFixedLengthStreamingMode(Integer.parseInt(contentLength));
  /libcore/luni/src/main/java/libcore/net/http/
RequestHeaders.java 53 private int contentLength = -1;
101 contentLength = Integer.parseInt(value);
163 return contentLength;
210 public void setContentLength(int contentLength) {
211 if (this.contentLength != -1) {
214 headers.add("Content-Length", Integer.toString(contentLength));
215 this.contentLength = contentLength;
RetryableOutputStream.java 64 public synchronized int contentLength() throws IOException {
HttpEngine.java 612 * @param contentLength the number of bytes in the request body, or -1 if
615 private void writeRequestHeaders(int contentLength) throws IOException {
623 if (contentLength != -1 && bytes.length + contentLength <= MAX_REQUEST_BUFFER_LENGTH) {
624 requestOut = new BufferedOutputStream(socketOut, bytes.length + contentLength);
649 int contentLength = ((RetryableOutputStream) requestBodyOut).contentLength();
650 requestHeaders.setContentLength(contentLength);
771 int contentLength = requestBodyOut instanceof RetryableOutputStream
772 ? ((RetryableOutputStream) requestBodyOut).contentLength()
    [all...]
  /external/oauth/core/src/main/java/net/oauth/client/httpclient4/
HttpMethodResponse.java 109 long contentLength = r.getEntity().getContentLength();
110 if (contentLength >= 0) {
111 request.append("Content-Length: ").append(contentLength).append(EOL);
  /external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
InjectedBundlePageResourceLoadClient.cpp 64 void InjectedBundlePageResourceLoadClient::didReceiveContentLengthForResource(WebPage* page, WebFrame* frame, uint64_t identifier, uint64_t contentLength)
69 m_client.didReceiveContentLengthForResource(toAPI(page), toAPI(frame), identifier, contentLength, m_client.clientInfo);
InjectedBundlePageResourceLoadClient.h 52 void didReceiveContentLengthForResource(WebPage*, WebFrame*, uint64_t identifier, uint64_t contentLength);
  /external/nist-sip/java/javax/sip/message/
Message.java 35 void setContentLength(ContentLengthHeader contentLength);
  /external/webkit/Source/WebKit2/UIProcess/
WebResourceLoadClient.cpp 67 void WebResourceLoadClient::didReceiveContentLengthForResource(WebPageProxy* page, WebFrameProxy* frame, uint64_t resourceIdentifier, uint64_t contentLength)
72 return m_client.didReceiveContentLengthForResource(toAPI(page), toAPI(frame), resourceIdentifier, contentLength, m_client.clientInfo);
WebResourceLoadClient.h 49 void didReceiveContentLengthForResource(WebPageProxy*, WebFrameProxy*, uint64_t resourceIdentifier, uint64_t contentLength);
  /frameworks/base/media/libdrm/mobile1/include/objmng/
drm_inner.h 73 int32_t contentLength;
  /frameworks/base/core/java/android/net/http/
Headers.java 123 private long contentLength; // Content length of the incoming data
156 contentLength = NO_CONTENT_LENGTH;
201 contentLength = Long.parseLong(val);
316 return contentLength;
384 this.contentLength = value;
  /frameworks/base/core/tests/utillib/src/coretestutils/http/
MockWebServer.java 216 int contentLength = -1;
222 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) {
223 contentLength = Integer.parseInt(header.substring(15).trim());
234 if (contentLength != -1) {
236 transfer(contentLength, in, requestBody);
  /packages/providers/DownloadProvider/tests/src/tests/http/
MockWebServer.java 210 int contentLength = -1;
216 if (contentLength == -1 && lowercaseHeader.startsWith("content-length:")) {
217 contentLength = Integer.parseInt(header.substring(15).trim());
228 if (contentLength != -1) {
230 transfer(contentLength, in, requestBody);
  /frameworks/base/media/libdrm/mobile1/src/objmng/
drm_api.c 846 s->contentLength = DRM_UNKNOWN_DATA_LEN;
848 s->contentLength = dmInfo.contentLen;
885 if (s->contentLength > 0) {
888 encLen = s->contentLength;
892 s->contentLength = decLen;
    [all...]
  /packages/apps/Browser/src/com/android/browser/
WebViewController.java 76 String mimeType, long contentLength);

Completed in 701 milliseconds

1 2 3 4