Searched defs:contentLength (Results 1 - 18 of 18) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DContentLengthParser.java44 public ContentLengthParser(String contentLength) { argument
45 super(contentLength);
56 ContentLength contentLength = new ContentLength();
59 contentLength.setContentLength(Integer.parseInt(number));
62 return contentLength;
H A DMaxForwardsParser.java43 public MaxForwardsParser(String contentLength) { argument
44 super(contentLength);
55 MaxForwards contentLength = new MaxForwards();
58 contentLength.setMaxForwards(Integer.parseInt(number));
61 return contentLength;
/external/nist-sip/java/javax/sip/header/
H A DContentLengthHeader.java9 void setContentLength(int contentLength) throws InvalidArgumentException; argument
H A DHeaderFactory.java51 ContentLengthHeader createContentLengthHeader(int contentLength) argument
/external/apache-http/src/org/apache/http/impl/io/
H A DContentLengthOutputStream.java59 private final long contentLength; field in class:ContentLengthOutputStream
71 * @param contentLength The maximum number of bytes that can be written to
76 public ContentLengthOutputStream(final SessionOutputBuffer out, long contentLength) { argument
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) {
H A DContentLengthInputStream.java78 private long contentLength; field in class:ContentLengthInputStream
95 * @param contentLength The maximum number of bytes that can be read from
98 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) { argument
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
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DContentLength.java85 * contentLength field.
87 protected Integer contentLength;
101 this.contentLength = Integer.valueOf(length);
109 return contentLength.intValue();
113 * Set the contentLength member
114 * @param contentLength int to set
116 public void setContentLength(int contentLength)
118 if (contentLength < 0)
121 + ", ContentLength, setContentLength(), the contentLength parameter is <0");
122 this.contentLength
86 protected Integer contentLength; field in class:ContentLength
115 setContentLength(int contentLength) argument
[all...]
H A DHeaderFactoryImpl.java384 * 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) argument
393 if (contentLength < 0)
394 throw new InvalidArgumentException("bad contentLength");
396 c.setContentLength(contentLength);
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
H A DInjectedBundlePageResourceLoadClient.cpp64 void InjectedBundlePageResourceLoadClient::didReceiveContentLengthForResource(WebPage* page, WebFrame* frame, uint64_t identifier, uint64_t contentLength) argument
69 m_client.didReceiveContentLengthForResource(toAPI(page), toAPI(frame), identifier, contentLength, m_client.clientInfo);
/external/webkit/Source/WebKit2/UIProcess/
H A DWebResourceLoadClient.cpp67 void WebResourceLoadClient::didReceiveContentLengthForResource(WebPageProxy* page, WebFrameProxy* frame, uint64_t resourceIdentifier, uint64_t contentLength) argument
72 return m_client.didReceiveContentLengthForResource(toAPI(page), toAPI(frame), resourceIdentifier, contentLength, m_client.clientInfo);
H A DWebPageProxy.cpp1858 void WebPageProxy::didReceiveContentLengthForResource(uint64_t frameID, uint64_t resourceIdentifier, uint64_t contentLength) argument
1863 m_resourceLoadClient.didReceiveContentLengthForResource(this, frame, resourceIdentifier, contentLength);
/external/nist-sip/java/javax/sip/message/
H A DMessage.java35 void setContentLength(ContentLengthHeader contentLength); argument
/external/webkit/Source/WebCore/platform/network/curl/
H A DResourceHandleManager.cpp247 double contentLength = 0; local
248 err = curl_easy_getinfo(h, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &contentLength);
249 d->m_response.setExpectedContentLength(static_cast<long long int>(contentLength));
/external/nist-sip/java/gov/nist/javax/sip/message/
H A DSIPMessage.java941 * Get the contentLength header.
1703 * @param contentLength -- content length header.
1705 public void setContentLength(ContentLengthHeader contentLength) { argument
1707 this.contentLengthHeader.setContentLength(contentLength.getContentLength());
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DDTMDocumentImpl.java2089 * @param contentLength int Length of node's content in m_char.
2091 void appendTextChild(int m_char_current_start,int contentLength) argument
2101 int w3 = contentLength;
2112 * @param contentLength int Length of node's content in m_char.
2114 void appendComment(int m_char_current_start,int contentLength) argument
2124 int w3 = contentLength;
2228 * @param contentLength int Length of node's content in m_char.
2232 int m_char_current_start, int contentLength)
2259 w3 = contentLength;
2230 appendAttribute(int namespaceIndex, int localNameIndex, int prefixIndex, boolean isID, int m_char_current_start, int contentLength) argument
/external/webkit/Source/WebCore/plugins/
H A DPluginView.cpp1276 String contentLength = headerFields.get("Content-Length"); local
1278 if (!contentLength.isNull())
1279 dataLength = min(contentLength.toInt(), (int)dataLength);
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DNetscapeBrowserFuncs.cpp253 String contentLength = headerFields.get("Content-Length"); local
255 if (!contentLength.isNull())
256 dataLength = min(contentLength.toInt(), (int)dataLength);
/external/webkit/Source/WebKit/android/jni/
H A DWebCoreFrameBridge.cpp1025 WebFrame::downloadStart(const std::string& url, const std::string& userAgent, const std::string& contentDisposition, const std::string& mimetype, long long contentLength) argument
1039 env->CallVoidMethod(javaFrame.get(), mJavaFrame->mDownloadStart, jUrl, jUserAgent, jContentDisposition, jMimetype, contentLength);

Completed in 425 milliseconds