Home
last modified time | relevance | path

Searched refs:bodyLength (Results 1 – 19 of 19) sorted by relevance

/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DDLSet.java58 private int bodyLength = -1; field in DLSet
98 if (bodyLength < 0) in getBodyLength()
109 this.bodyLength = totalLength; in getBodyLength()
112 return bodyLength; in getBodyLength()
140 if (bodyLength >= 0 || count > 16) in encode()
161 this.bodyLength = totalLength; in encode()
DDLSequence.java13 private int bodyLength = -1; field in DLSequence
56 if (bodyLength < 0) in getBodyLength()
67 this.bodyLength = totalLength; in getBodyLength()
70 return bodyLength; in getBodyLength()
98 if (bodyLength >= 0 || count > 16) in encode()
119 this.bodyLength = totalLength; in encode()
DDERSequence.java21 private int bodyLength = -1; field in DERSequence
64 if (bodyLength < 0) in getBodyLength()
75 this.bodyLength = totalLength; in getBodyLength()
78 return bodyLength; in getBodyLength()
106 if (bodyLength >= 0 || count > 16) in encode()
128 this.bodyLength = totalLength; in encode()
DDERSet.java25 private int bodyLength = -1; field in DERSet
68 if (bodyLength < 0) in getBodyLength()
79 this.bodyLength = totalLength; in getBodyLength()
82 return bodyLength; in getBodyLength()
110 if (bodyLength >= 0 || count > 16) in encode()
132 this.bodyLength = totalLength; in encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDLSequence.java11 private int bodyLength = -1; field in DLSequence
54 if (bodyLength < 0) in getBodyLength()
65 this.bodyLength = totalLength; in getBodyLength()
68 return bodyLength; in getBodyLength()
96 if (bodyLength >= 0 || count > 16) in encode()
117 this.bodyLength = totalLength; in encode()
DDLSet.java56 private int bodyLength = -1; field in DLSet
96 if (bodyLength < 0) in getBodyLength()
107 this.bodyLength = totalLength; in getBodyLength()
110 return bodyLength; in getBodyLength()
138 if (bodyLength >= 0 || count > 16) in encode()
159 this.bodyLength = totalLength; in encode()
DDERSequence.java19 private int bodyLength = -1; field in DERSequence
62 if (bodyLength < 0) in getBodyLength()
73 this.bodyLength = totalLength; in getBodyLength()
76 return bodyLength; in getBodyLength()
104 if (bodyLength >= 0 || count > 16) in encode()
126 this.bodyLength = totalLength; in encode()
DDERSet.java23 private int bodyLength = -1; field in DERSet
66 if (bodyLength < 0) in getBodyLength()
77 this.bodyLength = totalLength; in getBodyLength()
80 return bodyLength; in getBodyLength()
108 if (bodyLength >= 0 || count > 16) in encode()
130 this.bodyLength = totalLength; in encode()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DDLSequence.java13 private int bodyLength = -1; field in DLSequence
56 if (bodyLength < 0) in getBodyLength()
67 this.bodyLength = totalLength; in getBodyLength()
70 return bodyLength; in getBodyLength()
98 if (bodyLength >= 0 || count > 16) in encode()
119 this.bodyLength = totalLength; in encode()
DDLSet.java58 private int bodyLength = -1; field in DLSet
98 if (bodyLength < 0) in getBodyLength()
109 this.bodyLength = totalLength; in getBodyLength()
112 return bodyLength; in getBodyLength()
140 if (bodyLength >= 0 || count > 16) in encode()
161 this.bodyLength = totalLength; in encode()
DDERSequence.java21 private int bodyLength = -1; field in DERSequence
66 if (bodyLength < 0) in getBodyLength()
77 this.bodyLength = totalLength; in getBodyLength()
80 return bodyLength; in getBodyLength()
108 if (bodyLength >= 0 || count > 16) in encode()
130 this.bodyLength = totalLength; in encode()
DDERSet.java25 private int bodyLength = -1; field in DERSet
69 if (bodyLength < 0) in getBodyLength()
80 this.bodyLength = totalLength; in getBodyLength()
83 return bodyLength; in getBodyLength()
111 if (bodyLength >= 0 || count > 16) in encode()
133 this.bodyLength = totalLength; in encode()
/external/apache-http/android/src/android/net/http/
DRequestQueue.java292 InputStream bodyProvider, int bodyLength) { in queueRequest() argument
295 bodyProvider, bodyLength); in queueRequest()
312 InputStream bodyProvider, int bodyLength) { in queueRequest() argument
327 bodyLength, eventHandler, headers); in queueRequest()
337 this, url, uri, method, headers, bodyProvider, bodyLength, in queueRequest()
366 int bodyLength) { in queueSynchronousRequest() argument
374 bodyProvider, bodyLength, eventHandler, headers); in queueSynchronousRequest()
385 bodyLength, req, conn); in queueSynchronousRequest()
DRequest.java107 InputStream bodyProvider, int bodyLength, in Request() argument
115 mBodyLength = bodyLength; in Request()
126 setBodyProvider(bodyProvider, bodyLength); in Request()
489 private void setBodyProvider(InputStream bodyProvider, int bodyLength) { in setBodyProvider() argument
498 new InputStreamEntity(bodyProvider, bodyLength)); in setBodyProvider()
DRequestHandle.java60 InputStream bodyProvider, int bodyLength, Request request) { in RequestHandle() argument
67 mBodyLength = bodyLength; in RequestHandle()
84 InputStream bodyProvider, int bodyLength, Request request, in RequestHandle() argument
86 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength, in RequestHandle()
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/handshake/
DHandshakeMessage.java46 int bodyLength = IoUtils.readUnsignedInt24(in); in read() local
47 result.body = new byte[bodyLength]; in read()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/handshake/
DHandshakeMessage.java48 int bodyLength = IoUtils.readUnsignedInt24(in); in read() local
49 result.body = new byte[bodyLength]; in read()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockResponse.java164 public MockResponse setBody(InputStream bodyStream, long bodyLength) { in setBody() argument
165 setHeader("Content-Length", bodyLength); in setBody()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStringMsgParser.java216 int bodyLength = msgBuffer.length - i; in parseSIPMessage() local
218 byte[] body = new byte[bodyLength]; in parseSIPMessage()
219 System.arraycopy(msgBuffer, i, body, 0, bodyLength); in parseSIPMessage()