/external/lzma/CPP/7zip/Compress/ |
CopyCoder.h | 25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
30 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress);
|
CopyCoder.cpp | 20 STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream,
39 RINOK(inStream->Read(_buffer, size, &size));
61 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress)
64 return copyCoder->Code(inStream, outStream, NULL, NULL, progress);
|
Lzma2Decoder.h | 50 STDMETHOD(Code)(ISequentialInStream *inStream,
58 STDMETHOD(SetInStream)(ISequentialInStream *inStream);
|
LzmaDecoder.h | 42 HRESULT CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress);
57 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
66 STDMETHOD(SetInStream)(ISequentialInStream *inStream);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CertificateFactory.java | 63 public T generateItem(InputStream inStream) throws ParsingException { 64 if (inStream == null) { 65 throw new ParsingException("inStream == null"); 68 final boolean markable = inStream.markSupported(); 70 inStream.mark(PKCS7_MARKER.length); 73 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); 80 throw new ParsingException("inStream is empty"); 109 inStream.reset(); 117 public Collection<? extends T> generateItems(InputStream inStream) 119 if (inStream == null) [all...] |
OpenSSLX509CertPath.java | 136 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException { 137 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(inStream); 139 final boolean markable = inStream.markSupported(); 141 inStream.mark(PUSHBACK_SIZE); 150 inStream.reset(); 175 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException { 177 if (inStream == null || inStream.available() == 0) { 184 final boolean markable = inStream.markSupported(); 186 inStream.mark(PUSHBACK_SIZE) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertFactoryImpl.java | 89 public Certificate engineGenerateCertificate(InputStream inStream) 91 if (inStream == null) { 92 throw new CertificateException("inStream == null"); 95 if (!inStream.markSupported()) { 97 inStream = new RestoringInputStream(inStream); 101 inStream.mark(1); 103 if (inStream.read() == '-') { 105 return getCertificate(decodePEM(inStream, CERT_BOUND_SUFFIX)); 107 inStream.reset() [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 65 public Certificate engineGenerateCertificate(InputStream inStream) 67 if (!(inStream instanceof DataInputStream)) { 73 public Collection engineGenerateCertificates(InputStream inStream) 75 if (!(inStream instanceof DataInputStream)) { 81 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 82 if (!(inStream instanceof DataInputStream)) { 88 public Collection engineGenerateCRLs(InputStream inStream) 90 if (!(inStream instanceof DataInputStream)) { 96 public CertPath engineGenerateCertPath(InputStream inStream) 98 if (!(inStream instanceof DataInputStream)) [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificateFactorySpi.java | 66 public Certificate engineGenerateCertificate(InputStream inStream) 68 if (!(inStream instanceof DataInputStream)) { 75 public Collection engineGenerateCertificates(InputStream inStream) 77 if (!(inStream instanceof DataInputStream)) { 83 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { 84 if (!(inStream instanceof DataInputStream)) { 91 public Collection engineGenerateCRLs(InputStream inStream) 93 if (!(inStream instanceof DataInputStream)) { 99 public CertPath engineGenerateCertPath(InputStream inStream) 101 if (!(inStream instanceof DataInputStream)) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
BitwiseStreamsTest.java | 41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); 43 inStream.skip(offset); 44 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); 55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 56 inStream.skip(offset); 58 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); 69 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); 70 inStream.skip(offset); 72 for (int i = 0; i < inBufDup.length; i++) inBufDup[i] = (byte)inStream.read(8); 86 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()) [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
7zDec.c | 42 ILookInStream *inStream; 54 p->res = p->inStream->Skip(p->inStream, size); 56 p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size); 66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, 74 s.inStream = inStream; 127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, 145 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead) [all...] |
/external/lzma/C/ |
7zDec.c | 42 ILookInStream *inStream;
54 p->res = p->inStream->Skip(p->inStream, size);
56 p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size);
66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream,
74 s.inStream = inStream;
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream,
145 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); [all...] |
XzEnc.h | 15 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
BearerData.java | [all...] |
/external/lzma/C/Util/Lzma/ |
LzmaUtil.c | 55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream,
68 RINOK(inStream->Read(inStream, inBuf, &inSize));
108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream)
121 RINOK(SeqInStream_Read(inStream, header, sizeof(header)));
129 res = Decode2(&state, outStream, inStream, unpackSize);
134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs)
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc);
172 CFileSeqInStream inStream;
179 FileSeqInStream_CreateVTable(&inStream);
[all...] |
/external/lzma/CS/7zip/Compress/LZ/ |
IMatchFinder.cs | 9 void SetStream(System.IO.Stream inStream);
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpeg_hook.cpp | 91 int32_t bytesRead = src->inStream->read(src->inStream->getBufferSize(), 0); 97 bytesRead = src->inStream->forceReadEOI(); 103 src->mgr.next_input_byte = reinterpret_cast<JOCTET*>(src->inStream->getBufferPtr()); 132 int64_t actual = src->inStream->skip(skip); 138 actual = src->inStream->skip(skip); 156 int32_t MakeSrc(j_decompress_ptr cinfo, JNIEnv *env, jobject inStream){ 178 s->inStream = new InputStreamWrapper(); 179 if(s->inStream->init(env, inStream)) { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 164 * read from the input stream inStream. 226 * read from the given input stream inStream. 229 InputStream inStream) 235 while ((cert = engineGenerateCertificate(inStream)) != null) 245 * it with the data read from the input stream inStream. 248 InputStream inStream) 253 currentCrlStream = inStream; 257 else if (currentCrlStream != inStream) // reset if input stream has changed 259 currentCrlStream = inStream; 280 PushbackInputStream pis = new PushbackInputStream(inStream); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStream2Test.java | 29 ByteArrayInputStream inStream; 42 DigestInputStream dis = new DigestInputStream(inStream, digest); 52 DigestInputStream dis = new DigestInputStream(inStream, digest); 64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); 77 dis = new DigestInputStream(inStream, digest); 94 DigestInputStream dis = new DigestInputStream(inStream, digest); 96 // read and compare the data that the inStream has 110 DigestInputStream dis = new DigestInputStream(inStream, digest); 111 int bytesToRead = inStream.available(); 117 // read and compare the data that the inStream ha [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestInputStream2Test.java | 29 ByteArrayInputStream inStream; 42 DigestInputStream dis = new DigestInputStream(inStream, digest); 52 DigestInputStream dis = new DigestInputStream(inStream, digest); 64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); 77 dis = new DigestInputStream(inStream, digest); 94 DigestInputStream dis = new DigestInputStream(inStream, digest); 96 // read and compare the data that the inStream has 110 DigestInputStream dis = new DigestInputStream(inStream, digest); 111 int bytesToRead = inStream.available(); 117 // read and compare the data that the inStream ha [all...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
main.py | 116 inStream = antlr3.ANTLRStringStream(input) 117 self.parseStream(options, inStream) 121 inStream = antlr3.ANTLRStringStream(options.input) 124 inStream = antlr3.ANTLRFileStream( 129 inStream = antlr3.ANTLRInputStream( 140 'self.parseStream(options, inStream)', 157 'self.parseStream(options, inStream)', 163 self.parseStream(options, inStream) 170 def parseStream(self, options, inStream): 190 def parseStream(self, options, inStream) [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
CertificateFactory.java | 186 * @param inStream 193 public final Certificate generateCertificate(InputStream inStream) 195 return spiImpl.engineGenerateCertificate(inStream); 213 * @param inStream 219 public final CertPath generateCertPath(InputStream inStream) throws CertificateException { 224 return spiImpl.engineGenerateCertPath(inStream, it.next()); 264 * @param inStream 271 public final Collection<? extends Certificate> generateCertificates(InputStream inStream) 273 return spiImpl.engineGenerateCertificates(inStream); 280 * @param inStream [all...] |
CertificateFactorySpi.java | 43 * @param inStream 50 public abstract Certificate engineGenerateCertificate(InputStream inStream) 57 * @param inStream 64 engineGenerateCertificates(InputStream inStream) throws CertificateException; 70 * @param inStream 76 public abstract CRL engineGenerateCRL(InputStream inStream) 83 * @param inStream 90 engineGenerateCRLs(InputStream inStream) throws CRLException; 96 * @param inStream 102 public CertPath engineGenerateCertPath(InputStream inStream) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsHeader.java | 115 ByteArrayInputStream inStream = new ByteArrayInputStream(data); 117 while (inStream.available() > 0) { 126 int id = inStream.read(); 127 int length = inStream.read(); 133 concatRef.refNumber = inStream.read(); 134 concatRef.msgCount = inStream.read(); 135 concatRef.seqNumber = inStream.read(); 144 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); 145 concatRef.msgCount = inStream.read() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
shlex.py | 23 def __init__(self, instream=None, infile=None, posix=False): 24 if isinstance(instream, basestring): 25 instream = StringIO(instream) 26 if instream is not None: 27 self.instream = instream 30 self.instream = sys.stdin 57 % (self.instream, self.lineno) 69 self.filestack.appendleft((self.infile, self.instream, self.lineno) [all...] |