Home
last modified time | relevance | path

Searched refs:ContentLength (Results 1 – 10 of 10) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLength.java75 public class ContentLength class
91 public ContentLength() { in ContentLength() method in ContentLength
98 public ContentLength(int length) { in ContentLength() method in ContentLength
144 if (other instanceof ContentLength) in match()
DNameMap.java129 putNameMap(CONTENT_LENGTH, ContentLength.class.getName()); //26 in initializeNameMap()
DHeaderFactoryImpl.java395 ContentLength c = new ContentLength(); in createContentLengthHeader()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentLengthParser.java56 ContentLength contentLength = new ContentLength(); in parse()
DPipelinedMsgParser.java292 ContentLength cl = (ContentLength) sipMessage in run()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPMessage.java40 import gov.nist.javax.sip.header.ContentLength;
158 protected ContentLength contentLengthHeader;
243 if (!(siphdr instanceof ContentLength)) in encodeSIPHeaders()
291 if (hisHeader instanceof ContentLength) in match()
366 if (!(siphdr instanceof ContentLength)) in encode()
427 if (!(siphdr instanceof ContentLength)) in encodeAsBytes()
547 this.attachHeader(new ContentLength(0), false); in SIPMessage()
659 if (h instanceof ContentLength) { in attachHeader()
661 ContentLength cl = (ContentLength) h; in attachHeader()
702 } else if (h instanceof ContentLength) { in attachHeader()
[all …]
DSIPRequest.java834 } else if (nextHeader instanceof ContentLength) { in createAckRequest()
838 ((ContentLength) nextHeader).setContentLength(0); in createAckRequest()
1014 } else if (nextHeader instanceof ContentLength) { in createSIPRequest()
1015 ContentLength cl = (ContentLength) nextHeader.clone(); in createSIPRequest()
DSIPResponse.java37 import gov.nist.javax.sip.header.ContentLength;
699 || nextHeader instanceof ContentLength in createRequest()
703 || nextHeader instanceof ContentLength in createRequest()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DMessageChannel.java37 import gov.nist.javax.sip.header.ContentLength;
420 ContentLength clengthHeader = new ContentLength(clength); in createBadReqRes()
424 ContentLength clengthHeader = new ContentLength(0); in createBadReqRes()
/external/libxml2/
Dnanohttp.c142 int ContentLength; /* specified content length from HTTP header */ member
409 ret->ContentLength = -1; in xmlNanoHTTPNewCtxt()
842 ctxt->ContentLength = strtol( cur, NULL, 10 ); in xmlNanoHTTPScanAnswer()
1761 return ( ( ctxt == NULL ) ? -1 : ctxt->ContentLength ); in xmlNanoHTTPContentLength()
1852 if ( (ctxt->ContentLength > 0) && (rcvd_lgth >= ctxt->ContentLength) ) in xmlNanoHTTPFetchContent()
1859 if ( ( ctxt->ContentLength > 0 ) && ( rcvd_lgth < ctxt->ContentLength ) ) in xmlNanoHTTPFetchContent()