/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/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;
|
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...] |
/prebuilts/go/darwin-x86/src/net/http/ |
responsewrite_test.go | 30 ContentLength: 6, 46 ContentLength: -1, 61 ContentLength: -1, 78 ContentLength: -1, 96 ContentLength: -1, 113 ContentLength: 0, 129 ContentLength: 0, 145 ContentLength: 0, 161 ContentLength: 6, 184 ContentLength: 0 [all...] |
transfer.go | 42 ContentLength int64 // -1 means unknown, 0 means exactly none 56 if rr.ContentLength != 0 && rr.Body == nil { 57 return nil, fmt.Errorf("http: Request.ContentLength=%d with nil Body", rr.ContentLength) 62 t.ContentLength = rr.ContentLength 68 if t.ContentLength == 0 { 73 t.ContentLength = -1 77 // The ContentLength field just wasn't set. 80 t.ContentLength = - [all...] |
requestwrite_test.go | 152 ContentLength: 6, 183 ContentLength: 6, 217 // Request with a 0 ContentLength and a 0 byte body. 225 ContentLength: 0, // as if unset by user 246 // Request with a 0 ContentLength and a 1 byte body. 254 ContentLength: 0, // as if unset by user 272 // Request with a ContentLength of 10 but a 5 byte body. 280 ContentLength: 10, // but we're going to send only 5 bytes 283 WantError: errors.New("http: ContentLength=10 with Body length 5"), 286 // Request with a ContentLength of 4 but an 8 byte body [all...] |
response_test.go | 56 ContentLength: -1, 78 ContentLength: -1, 99 ContentLength: 0, 125 ContentLength: 10, 152 ContentLength: -1, 179 ContentLength: -1, 202 ContentLength: -1, 224 ContentLength: 256, 246 ContentLength: 256, 267 ContentLength: -1 [all...] |
filetransport_test.go | 45 if res.ContentLength != -1 { 46 t.Errorf("for %s, ContentLength = %d, want -1", urlstr, res.ContentLength)
|
readrequest_test.go | 67 ContentLength: 7, 93 ContentLength: 0, 119 ContentLength: 0, 169 ContentLength: -1, 201 ContentLength: -1, 225 ContentLength: 0, 249 ContentLength: 0, 273 ContentLength: 0, 298 ContentLength: 0, 322 ContentLength: 0 [all...] |
response.go | 40 // duplicated by other fields in this struct (e.g., ContentLength) are 60 // ContentLength records the length of the associated content. The 64 ContentLength int64 206 // ContentLength 230 if r1.ContentLength == 0 && r1.Body != nil { 242 r1.ContentLength = -1 256 if r1.ContentLength == -1 && !r1.Close && r1.ProtoAtLeast(1, 1) && !chunked(r1.TransferEncoding) { 260 // Process Body,ContentLength,Close,Trailer 279 if r1.ContentLength == 0 && !chunked(r1.TransferEncoding) && !contentLengthAlreadySent {
|
/prebuilts/go/linux-x86/src/net/http/ |
responsewrite_test.go | 30 ContentLength: 6, 46 ContentLength: -1, 61 ContentLength: -1, 78 ContentLength: -1, 96 ContentLength: -1, 113 ContentLength: 0, 129 ContentLength: 0, 145 ContentLength: 0, 161 ContentLength: 6, 184 ContentLength: 0 [all...] |
transfer.go | 42 ContentLength int64 // -1 means unknown, 0 means exactly none 56 if rr.ContentLength != 0 && rr.Body == nil { 57 return nil, fmt.Errorf("http: Request.ContentLength=%d with nil Body", rr.ContentLength) 62 t.ContentLength = rr.ContentLength 68 if t.ContentLength == 0 { 73 t.ContentLength = -1 77 // The ContentLength field just wasn't set. 80 t.ContentLength = - [all...] |
requestwrite_test.go | 152 ContentLength: 6, 183 ContentLength: 6, 217 // Request with a 0 ContentLength and a 0 byte body. 225 ContentLength: 0, // as if unset by user 246 // Request with a 0 ContentLength and a 1 byte body. 254 ContentLength: 0, // as if unset by user 272 // Request with a ContentLength of 10 but a 5 byte body. 280 ContentLength: 10, // but we're going to send only 5 bytes 283 WantError: errors.New("http: ContentLength=10 with Body length 5"), 286 // Request with a ContentLength of 4 but an 8 byte body [all...] |
response_test.go | 56 ContentLength: -1, 78 ContentLength: -1, 99 ContentLength: 0, 125 ContentLength: 10, 152 ContentLength: -1, 179 ContentLength: -1, 202 ContentLength: -1, 224 ContentLength: 256, 246 ContentLength: 256, 267 ContentLength: -1 [all...] |
filetransport_test.go | 45 if res.ContentLength != -1 { 46 t.Errorf("for %s, ContentLength = %d, want -1", urlstr, res.ContentLength)
|
readrequest_test.go | 67 ContentLength: 7, 93 ContentLength: 0, 119 ContentLength: 0, 169 ContentLength: -1, 201 ContentLength: -1, 225 ContentLength: 0, 249 ContentLength: 0, 273 ContentLength: 0, 298 ContentLength: 0, 322 ContentLength: 0 [all...] |
response.go | 40 // duplicated by other fields in this struct (e.g., ContentLength) are 60 // ContentLength records the length of the associated content. The 64 ContentLength int64 206 // ContentLength 230 if r1.ContentLength == 0 && r1.Body != nil { 242 r1.ContentLength = -1 256 if r1.ContentLength == -1 && !r1.Close && r1.ProtoAtLeast(1, 1) && !chunked(r1.TransferEncoding) { 260 // Process Body,ContentLength,Close,Trailer 279 if r1.ContentLength == 0 && !chunked(r1.TransferEncoding) && !contentLengthAlreadySent {
|
/external/libgdx/gdx/src/com/badlogic/gdx/net/ |
HttpRequestHeader.java | 71 public static final String ContentLength = "Content-Length";
|
HttpResponseHeader.java | 65 public static final String ContentLength = "Content-Length";
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageChannel.java | 37 import gov.nist.javax.sip.header.ContentLength; 420 ContentLength clengthHeader = new ContentLength(clength); 424 ContentLength clengthHeader = new ContentLength(0);
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
SIPMessage.java | 40 import gov.nist.javax.sip.header.ContentLength; 158 protected ContentLength contentLengthHeader; 243 if (!(siphdr instanceof ContentLength)) 291 if (hisHeader instanceof ContentLength) 366 if (!(siphdr instanceof ContentLength)) 427 if (!(siphdr instanceof ContentLength)) 547 this.attachHeader(new ContentLength(0), false); 659 if (h instanceof ContentLength) { 661 ContentLength cl = (ContentLength) h [all...] |
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
dump_test.go | 99 ContentLength: 6, 124 ContentLength: 8193, 226 ContentLength: 50, 245 ContentLength: 3, 262 ContentLength: -1,
|
/prebuilts/go/linux-x86/src/net/http/httputil/ |
dump_test.go | 99 ContentLength: 6, 124 ContentLength: 8193, 226 ContentLength: 50, 245 ContentLength: 3, 262 ContentLength: -1,
|
/prebuilts/go/darwin-x86/src/net/http/cgi/ |
child.go | 34 if r.ContentLength > 0 { 35 r.Body = ioutil.NopCloser(io.LimitReader(os.Stdin, r.ContentLength)) 77 r.ContentLength = clen
|
/prebuilts/go/linux-x86/src/net/http/cgi/ |
child.go | 34 if r.ContentLength > 0 { 35 r.Body = ioutil.NopCloser(io.LimitReader(os.Stdin, r.ContentLength)) 77 r.ContentLength = clen
|