/external/python/pyasn1/tests/codec/ber/ |
D | test_encoder.py | 116 self.b, maxChunkSize=1 121 self.b, defMode=False, maxChunkSize=1 144 self.b, asn1Spec=self.s, maxChunkSize=1 149 self.b, asn1Spec=self.s, defMode=False, maxChunkSize=1 172 self.o, maxChunkSize=4 178 self.o, defMode=False, maxChunkSize=4 200 self.o, asn1Spec=self.s, maxChunkSize=4 206 self.o, asn1Spec=self.s, defMode=False, maxChunkSize=4 230 self.o, defMode=True, maxChunkSize=4 236 self.o, defMode=False, maxChunkSize=4 [all …]
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockResponse.java | 186 public MockResponse setChunkedBody(byte[] body, int maxChunkSize) { in setChunkedBody() argument 194 int chunkSize = Math.min(body.length - pos, maxChunkSize); in setChunkedBody() 214 public MockResponse setChunkedBody(String body, int maxChunkSize) { in setChunkedBody() argument 216 return setChunkedBody(body.getBytes("UTF-8"), maxChunkSize); in setChunkedBody()
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockResponse.java | 162 public MockResponse setChunkedBody(Buffer body, int maxChunkSize) { in setChunkedBody() argument 168 long chunkSize = Math.min(body.size(), maxChunkSize); in setChunkedBody() 184 public MockResponse setChunkedBody(String body, int maxChunkSize) { in setChunkedBody() argument 185 return setChunkedBody(new Buffer().writeUtf8(body), maxChunkSize); in setChunkedBody()
|
/external/python/pyasn1/pyasn1/codec/ber/ |
D | encoder.py | 155 maxChunkSize = options.get('maxChunkSize', 0) 156 if not maxChunkSize or len(alignedValue) <= maxChunkSize * 8: 174 stop = min(start + maxChunkSize * 8, valueLength) 193 maxChunkSize = options.get('maxChunkSize', 0) 195 if not maxChunkSize or len(substrate) <= maxChunkSize: 228 chunk = value[pos:pos + maxChunkSize] 233 pos += maxChunkSize 636 options.update(maxChunkSize=self.fixedChunkSize)
|
/external/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/ |
D | BufferPerformanceBench.java | 277 protected Buffer receive(byte[] bytes, int maxChunkSize) throws IOException { in receive() argument 278 writeChunked(received, bytes, maxChunkSize).readAll(process); in receive() 287 protected BufferedSource transmit(byte[] bytes, int maxChunkSize) throws IOException { in transmit() argument 288 writeChunked(process, bytes, maxChunkSize).readAll(sent); in transmit()
|
/external/python/pyasn1/docs/source/pyasn1/codec/ber/ |
D | contents.rst | 5 .. autofunction:: pyasn1.codec.ber.encoder.encode(value, asn1Spec=None, defMode=True, maxChunkSize=…
|
/external/python/pyasn1-modules/tools/ |
D | ocspclient.py | 44 return self.encode(None, bitStringValue, defMode=True, maxChunkSize=0)
|
/external/skqp/src/sksl/ |
D | SkSLCPPCodeGenerator.cpp | 702 static constexpr size_t maxChunkSize = 512; in writeCodeAppend() local 710 while (index < code.size() && index < start + maxChunkSize) { in writeCodeAppend() 712 if (index == start + maxChunkSize - 1 || index == code.size() - 1) { in writeCodeAppend() 718 } else if ('\\' == code[index] && index == start + maxChunkSize - 1) { in writeCodeAppend()
|
/external/skia/src/sksl/ |
D | SkSLCPPCodeGenerator.cpp | 735 static constexpr size_t maxChunkSize = 512; in writeCodeAppend() local 743 while (index < code.size() && index < start + maxChunkSize) { in writeCodeAppend() 745 if (index == start + maxChunkSize - 1 || index == code.size() - 1) { in writeCodeAppend() 751 } else if ('\\' == code[index] && index == start + maxChunkSize - 1) { in writeCodeAppend()
|
/external/python/pyasn1/pyasn1/codec/cer/ |
D | encoder.py | 66 options.update(maxChunkSize=1000)
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ByteString.java | 450 int maxChunkSize) throws IOException { in readFrom() argument 462 chunkSize = Math.min(chunkSize * 2, maxChunkSize); in readFrom()
|
/external/python/cpython2/Mac/Modules/qt/ |
D | _Qtmodule.c | 2926 long maxChunkSize; in MediaObj_SetMediaPreferredChunkSize() local 2931 &maxChunkSize)) in MediaObj_SetMediaPreferredChunkSize() 2934 maxChunkSize); in MediaObj_SetMediaPreferredChunkSize() 2945 long maxChunkSize; in MediaObj_GetMediaPreferredChunkSize() local 2952 &maxChunkSize); in MediaObj_GetMediaPreferredChunkSize() 2955 maxChunkSize); in MediaObj_GetMediaPreferredChunkSize()
|