Searched refs:inStream (Results 1 - 25 of 101) sorted by relevance

12345

/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
H A DMyCertificateFactorySpi.java64 public Certificate engineGenerateCertificate(InputStream inStream) argument
66 if (!(inStream instanceof DataInputStream)) {
72 public Collection engineGenerateCertificates(InputStream inStream) argument
74 if (!(inStream instanceof DataInputStream)) {
80 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { argument
81 if (!(inStream instanceof DataInputStream)) {
87 public Collection engineGenerateCRLs(InputStream inStream) argument
89 if (!(inStream instanceof DataInputStream)) {
95 public CertPath engineGenerateCertPath(InputStream inStream) argument
97 if (!(inStream instanceo
107 engineGenerateCertPath(InputStream inStream, String encoding) argument
[all...]
/external/conscrypt/src/main/java/org/conscrypt/
H A DOpenSSLX509CertificateFactory.java65 public T generateItem(InputStream inStream) throws ParsingException { argument
66 if (inStream == null) {
67 throw new ParsingException("inStream == null");
70 final boolean markable = inStream.markSupported();
72 inStream.mark(PKCS7_MARKER.length);
75 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE);
82 throw new ParsingException("inStream is empty");
111 inStream.reset();
119 public Collection<? extends T> generateItems(InputStream inStream) argument
121 if (inStream
270 engineGenerateCertificate(InputStream inStream) argument
279 engineGenerateCertificates( InputStream inStream) argument
289 engineGenerateCRL(InputStream inStream) argument
298 engineGenerateCRLs(InputStream inStream) argument
316 engineGenerateCertPath(InputStream inStream) argument
321 engineGenerateCertPath(InputStream inStream, String encoding) argument
[all...]
H A DOpenSSLX509CertPath.java138 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException { argument
139 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(inStream);
141 final boolean markable = inStream.markSupported();
143 inStream.mark(PUSHBACK_SIZE);
152 inStream.reset();
177 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException { argument
179 if (inStream == null || inStream.available() == 0) {
186 final boolean markable = inStream.markSupported();
188 inStream
219 fromEncoding(InputStream inStream, Encoding encoding) argument
231 fromEncoding(InputStream inStream, String encoding) argument
245 fromEncoding(InputStream inStream) argument
[all...]
/external/lzma/C/
H A DXzEnc.h15 SRes Xz_Encode(ISeqOutStream *outStream, ISeqInStream *inStream,
H A D7zDec.c42 ILookInStream *inStream; member in struct:__anon25854
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, argument
74 s.inStream = inStream;
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
145 res = inStream
175 SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) argument
224 SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) argument
335 SzFolder_Decode2(const CSzFolder *folder, const UInt64 *packSizes, ILookInStream *inStream, UInt64 startPos, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain, Byte *tempBuf[]) argument
459 SzFolder_Decode(const CSzFolder *folder, const UInt64 *packSizes, ILookInStream *inStream, UInt64 startPos, Byte *outBuffer, size_t outSize, ISzAlloc *allocMain) argument
[all...]
H A DLzma2Enc.h43 ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress);
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DDigestInputStream2Test.java29 ByteArrayInputStream inStream; field in class:DigestInputStream2Test
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/lzma/CPP/7zip/Compress/
H A DCopyCoder.h25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
30 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress);
H A DCopyCoder.cpp20 STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream, argument
39 RINOK(inStream->Read(_buffer, size, &size));
61 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress) argument
64 return copyCoder->Code(inStream, outStream, NULL, NULL, progress);
H A DLzmaDecoder.h42 HRESULT CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgressInfo *progress);
57 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
66 STDMETHOD(SetInStream)(ISequentialInStream *inStream);
H A DLzma2Encoder.h25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
H A DLzmaEncoder.h25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
H A DLzma2Decoder.h50 STDMETHOD(Code)(ISequentialInStream *inStream,
58 STDMETHOD(SetInStream)(ISequentialInStream *inStream);
H A DPpmdDecoder.h55 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream,
61 STDMETHOD(SetInStream)(ISequentialInStream *inStream);
/external/lzma/C/Util/Lzma/
H A DLzmaUtil.c55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, argument
68 RINOK(inStream->Read(inStream, inBuf, &inSize));
108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) argument
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) argument
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc);
172 CFileSeqInStream inStream; local
179 FileSeqInStream_CreateVTable(&inStream);
[all...]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dmain.py116 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...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
H A DCertificateFactory.java164 * 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);
228 engineGenerateCertificates( InputStream inStream) argument
247 engineGenerateCRL( InputStream inStream) argument
318 engineGenerateCRLs( InputStream inStream) argument
338 engineGenerateCertPath( InputStream inStream) argument
345 engineGenerateCertPath( InputStream inStream, String encoding) argument
[all...]
/external/chromium_org/third_party/lzma_sdk/
H A D7zDec.c42 ILookInStream *inStream; member in struct:__anon12423
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, argument
74 s.inStream = inStream;
127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, argument
145 res = inStream
175 SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain) argument
224 SzDecodeCopy(UInt64 inSize, ILookInStream *inStream, Byte *outBuffer) argument
335 SzFolder_Decode2(const CSzFolder *folder, const UInt64 *packSizes, ILookInStream *inStream, UInt64 startPos, Byte *outBuffer, SizeT outSize, ISzAlloc *allocMain, Byte *tempBuf[]) argument
459 SzFolder_Decode(const CSzFolder *folder, const UInt64 *packSizes, ILookInStream *inStream, UInt64 startPos, Byte *outBuffer, size_t outSize, ISzAlloc *allocMain) argument
[all...]
/external/lzma/CPP/7zip/Common/
H A DStreamBinder.h22 void CreateStreams(ISequentialInStream **inStream,
/external/lzma/CS/7zip/Compress/LZ/
H A DIMatchFinder.cs9 void SetStream(System.IO.Stream inStream); argument
/external/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaAlone.cs210 Stream inStream = null;
220 inStream = new FileStream(inputName, FileMode.Open, FileAccess.Read);
302 fileSize = inStream.Length;
309 doubleStream.s2 = inStream;
311 inStream = doubleStream;
319 encoder.Code(inStream, outStream, -1, -1, null);
324 if (inStream.Read(properties, 0, 5) != 5)
336 int v = inStream.ReadByte();
341 long compressedSize = inStream.Length - inStream
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
H A DCertificateFactorySpiTest.java257 public Certificate engineGenerateCertificate(InputStream inStream) argument
259 if (inStream == null) {
265 public Collection engineGenerateCertificates(InputStream inStream) argument
267 if (inStream == null) {
273 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { argument
274 if (inStream == null) {
280 public Collection engineGenerateCRLs(InputStream inStream) argument
282 if (inStream == null) {
/external/smack/src/com/kenai/jbosh/
H A DStaticBody.java79 * @param inStream stream to read message XML from
84 final InputStream inStream)
91 read = inStream.read(buffer);
83 fromStream( final InputStream inStream) argument
/external/lzma/CPP/7zip/Archive/
H A DLzmaHandler.cpp77 bool filtered, ISequentialInStream *inStream);
93 bool filteredMode, ISequentialInStream *inStream)
115 return _lzmaDecoderSpec->SetInStream(inStream);
280 STDMETHODIMP CHandler::Open(IInStream *inStream, const UInt64 *, IArchiveOpenCallback *) argument
282 RINOK(inStream->Seek(0, STREAM_SEEK_CUR, &_startPosition));
287 RINOK(ReadStream_FALSE(inStream, buf, kBufSize));
296 RINOK(inStream->Seek(0, STREAM_SEEK_END, &endPos));
300 _stream = inStream;
301 _seqStream = inStream;
91 Create( DECL_EXTERNAL_CODECS_LOC_VARS bool filteredMode, ISequentialInStream *inStream) argument
/external/lzma/CPP/7zip/UI/Common/
H A DArchiveOpenCallback.cpp87 STDMETHODIMP COpenCallbackImp::GetStream(const wchar_t *name, IInStream **inStream) argument
96 *inStream = NULL;
106 *inStream = inStreamTemp.Detach();

Completed in 664 milliseconds

12345