/external/apache-http/src/org/apache/http/entity/ |
BasicHttpEntity.java | 113 * @param instream the stream to return with the next call to 116 public void setContent(final InputStream instream) { 117 this.content = instream; 126 InputStream instream = getContent(); local 129 while ((l = instream.read(tmp)) != -1) {
|
FileEntity.java | 78 InputStream instream = new FileInputStream(this.file); local 82 while ((l = instream.read(tmp)) != -1) { 87 instream.close();
|
/external/apache-http/src/org/apache/http/impl/conn/ |
Wire.java | 53 private void wire(String header, InputStream instream) 57 while ((ch = instream.read()) != -1) { 95 public void input(InputStream instream) 97 if (instream == null) { 100 wire("<< ", instream);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
SparseTable.java | 200 FileInputStream inStream = null; 202 inStream = new FileInputStream(file); 203 inStream.read(contents); 205 if (inStream != null) { 206 inStream.close();
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 465 InputStream inStream = null; 469 inStream = new BufferedInputStream(is); 488 inStream = new ParcelFileDescriptor.AutoCloseInputStream(fd); 499 ApkContainer container = new ApkContainer(inStream, encryptionParams); 517 IoUtils.closeQuietly(inStream); 530 public ApkContainer(InputStream inStream, ContainerEncryptionParams encryptionParams) 533 mInStream = inStream; 535 mInStream = getDecryptedStream(inStream, encryptionParams); 574 private InputStream getDecryptedStream(InputStream inStream, 618 Streams.readFully(inStream, authenticatedData, (int) macStart [all...] |
/external/lzma/CPP/7zip/Archive/ |
XzHandler.cpp | 73 HRESULT Open2(IInStream *inStream, IArchiveOpenCallback *callback);
321 HRESULT CHandler::Open2(IInStream *inStream, IArchiveOpenCallback *callback)
323 CSeekInStreamWrap inStreamImp(inStream);
331 RINOK(inStream->Seek(0, STREAM_SEEK_END, &_packSize));
345 RINOK(inStream->Seek(0, STREAM_SEEK_SET, NULL));
347 CSeqInStreamWrap inStreamWrap(inStream);
368 RINOK(inStream->Seek(0, STREAM_SEEK_SET, NULL));
370 CSeqInStreamWrap inStreamWrap(inStream);
383 _stream = inStream;
384 _seqStream = inStream;
[all...] |
/external/smack/src/com/kenai/jbosh/ |
StaticBody.java | 79 * @param inStream stream to read message XML from 84 final InputStream inStream) 91 read = inStream.read(buffer);
|
ServiceLib.java | 109 InputStream inStream = null; 113 inStream = url.openStream(); 114 reader = new InputStreamReader(inStream); 130 finalClose(inStream);
|
/external/lzma/Java/SevenZip/ |
LzmaAlone.java | 195 java.io.BufferedInputStream inStream = new java.io.BufferedInputStream(new java.io.FileInputStream(inFile));
223 encoder.Code(inStream, outStream, -1, -1, null);
229 if (inStream.read(properties, 0, propertiesSize) != propertiesSize)
237 int v = inStream.read();
242 if (!decoder.Code(inStream, outStream, outSize))
247 inStream.close();
|
/external/lzma/CPP/7zip/Common/ |
StreamBinder.cpp | 70 void CStreamBinder::CreateStreams(ISequentialInStream **inStream,
77 *inStream = inStreamLoc.Detach();
|
FilterCoder.cpp | 39 STDMETHODIMP CFilterCoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream,
53 RINOK(ReadStream(inStream, _buffer + bufferPos, &processedSize));
156 STDMETHODIMP CFilterCoder::SetInStream(ISequentialInStream *inStream)
159 _inStream = inStream;
|
/external/lzma/CPP/7zip/Compress/ |
Lzma2Encoder.cpp | 77 STDMETHODIMP CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream,
80 CSeqInStreamWrap inWrap(inStream);
|
PpmdEncoder.cpp | 73 HRESULT CEncoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream,
97 RINOK(inStream->Read(_inBuf, kBufSize, &size));
|
/external/lzma/CS/7zip/ |
ICoder.cs | 42 /// <param name="inStream">
60 void Code(System.IO.Stream inStream, System.IO.Stream outStream,
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactorySpiTest.java | 395 public Certificate engineGenerateCertificate(InputStream inStream) 397 if (inStream == null) { 404 public Collection engineGenerateCertificates(InputStream inStream) 406 if (inStream == null) { 412 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 413 if (inStream == null) { 420 public Collection engineGenerateCRLs(InputStream inStream) 422 if (inStream == null) {
|
CertificateFactory3Test.java | 83 * Test for <code>generateCertificate(InputStream inStream)</code> method 99 * Test for <code>generateCertificates(InputStream inStream)</code> method 144 * <code>generateCertPath(InputStream inStream, String encoding)</code> 164 * Test for <code>generateCertPath(InputStream inStream)</code> method
|
CertificateFactory1Test.java | 334 * Test for <code>generateCertificate(InputStream inStream)</code> 335 * <code>generateCertificates(InputStream inStream)</code> 336 * <code>generateCRL(InputStream inStream)</code> 337 * <code>generateCRLs(InputStream inStream)</code> 340 * inStream is null or empty 413 * Test for <code> generateCertificate(InputStream inStream) </code><code> 414 * generateCertificates(InputStream inStream) </code><code> 415 * generateCRL(InputStream inStream) </code><code> 416 * generateCRLs(InputStream inStream) </code> 418 * Assertion: throw CertificateException and CRLException when inStream [all...] |
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpeg_hook.h | 60 InputStreamWrapper *inStream; 64 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory3Test.java | 84 * Test for <code>generateCertificate(InputStream inStream)</code> method 100 * Test for <code>generateCertificates(InputStream inStream)</code> method 145 * <code>generateCertPath(InputStream inStream, String encoding)</code> 165 * Test for <code>generateCertPath(InputStream inStream)</code> method
|
/external/lzma/C/ |
Lzma2Enc.h | 43 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress);
|
MtCoder.h | 79 ISeqInStream *inStream;
|
Lzma2Enc.c | 60 SRes LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, ISeqInStream *inStream, UInt32 keepWindowSize,
265 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress)
277 RINOK(LzmaEnc_PrepareForLzma2(p->enc, inStream, LZMA2_KEEP_WINDOW_SIZE,
435 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress)
454 return Lzma2Enc_EncodeMt1(&p->coders[0], p, outStream, inStream, progress);
465 p->mtCoder.inStream = inStream;
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zDecode.h | 51 IInStream *inStream,
|
7zUpdate.h | 74 IInStream *inStream,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
PKIXCertPath.java | 170 InputStream inStream, 179 ASN1InputStream derInStream = new ASN1InputStream(inStream); 198 inStream = new BufferedInputStream(inStream); 202 while ((cert = certFactory.generateCertificate(inStream)) != null)
|