/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificateFactorySpi.java | 65 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument 67 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificate() 73 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument 75 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificates() 81 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument 82 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRL() 88 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument 90 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRLs() 96 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() argument 98 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertPath() [all …]
|
/external/lzma/C/ |
D | 7zDec.c | 42 ILookInStream *inStream; member 54 p->res = p->inStream->Skip(p->inStream, size); in ReadByte() 56 p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size); in ReadByte() 66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() argument 74 s.inStream = inStream; in SzDecodePpmd() 127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() argument 145 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma() 165 res = inStream->Skip((void *)inStream, inProcessed); in SzDecodeLzma() 175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() argument 195 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma2() [all …]
|
D | XzIn.c | 10 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStream *inStream) in Xz_ReadHeader() argument 13 RINOK(SeqInStream_Read2(inStream, sig, XZ_STREAM_HEADER_SIZE, SZ_ERROR_NO_ARCHIVE)); in Xz_ReadHeader() 23 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStream *inStream, Bool *isIndex, UInt32 *headerSizeRes) in XzBlock_ReadHeader() argument 28 RINOK(SeqInStream_ReadByte(inStream, &header[0])); in XzBlock_ReadHeader() 39 RINOK(SeqInStream_Read(inStream, header + 1, headerSize - 1)); in XzBlock_ReadHeader() 136 static SRes SeekFromCur(ILookInStream *inStream, Int64 *res) in SeekFromCur() argument 138 return inStream->Seek(inStream, res, SZ_SEEK_CUR); in SeekFromCur()
|
/external/chromium_org/third_party/lzma_sdk/ |
D | 7zDec.c | 42 ILookInStream *inStream; member 54 p->res = p->inStream->Skip(p->inStream, size); in ReadByte() 56 p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size); in ReadByte() 66 static SRes SzDecodePpmd(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() argument 74 s.inStream = inStream; in SzDecodePpmd() 127 static SRes SzDecodeLzma(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() argument 145 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma() 165 res = inStream->Skip((void *)inStream, inProcessed); in SzDecodeLzma() 175 static SRes SzDecodeLzma2(CSzCoderInfo *coder, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() argument 195 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma2() [all …]
|
/external/lzma/C/Util/Lzma/ |
D | LzmaUtil.c | 55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, in Decode2() argument 68 RINOK(inStream->Read(inStream, inBuf, &inSize)); in Decode2() 108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) in Decode() argument 121 RINOK(SeqInStream_Read(inStream, header, sizeof(header))); in Decode() 129 res = Decode2(&state, outStream, inStream, unpackSize); in Decode() 134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() argument 163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode() 172 CFileSeqInStream inStream; in main2() local 179 FileSeqInStream_CreateVTable(&inStream); in main2() 180 File_Construct(&inStream.file); in main2() [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | DigestInputStream2Test.java | 29 ByteArrayInputStream inStream; field in DigestInputStream2Test 42 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_ConstructorLjava_io_InputStreamLjava_security_MessageDigest() 52 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_getMessageDigest() 64 DigestInputStream dis = new DigestInputStream(inStream, noChangeDigest); in test_onZ() 77 dis = new DigestInputStream(inStream, digest); in test_onZ() 94 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_read() 110 DigestInputStream dis = new DigestInputStream(inStream, digest); in test_read$BII() 111 int bytesToRead = inStream.available(); in test_read$BII() 139 DigestInputStream dis = new DigestInputStream(inStream, null); in test_setMessageDigestLjava_security_MessageDigest() 157 inStream = new ByteArrayInputStream( in setUp()
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | 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( 163 self.parseStream(options, inStream) 170 def parseStream(self, options, inStream): argument 190 def parseStream(self, options, inStream): argument 191 lexer = self.lexerClass(inStream) 226 def parseStream(self, options, inStream): argument [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | CertificateFactory.java | 229 InputStream inStream) in engineGenerateCertificates() argument 235 while ((cert = engineGenerateCertificate(inStream)) != null) in engineGenerateCertificates() 248 InputStream inStream) in engineGenerateCRL() argument 253 currentCrlStream = inStream; in engineGenerateCRL() 257 else if (currentCrlStream != inStream) // reset if input stream has changed in engineGenerateCRL() 259 currentCrlStream = inStream; in engineGenerateCRL() 280 PushbackInputStream pis = new PushbackInputStream(inStream); in engineGenerateCRL() 319 InputStream inStream) in engineGenerateCRLs() argument 325 while ((crl = engineGenerateCRL(inStream)) != null) in engineGenerateCRLs() 339 InputStream inStream) in engineGenerateCertPath() argument [all …]
|
D | PKIXCertPath.java | 170 InputStream inStream, in PKIXCertPath() argument 179 ASN1InputStream derInStream = new ASN1InputStream(inStream); in PKIXCertPath() 198 inStream = new BufferedInputStream(inStream); in PKIXCertPath() 202 while ((cert = certFactory.generateCertificate(inStream)) != null) in PKIXCertPath()
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaAlone.cs | 210 Stream inStream = null; in Main2() 220 inStream = new FileStream(inputName, FileMode.Open, FileAccess.Read); in Main2() 302 fileSize = inStream.Length; in Main2() 309 doubleStream.s2 = inStream; in Main2() 311 inStream = doubleStream; in Main2() 319 encoder.Code(inStream, outStream, -1, -1, null); in Main2() 324 if (inStream.Read(properties, 0, 5) != 5) in Main2() 336 int v = inStream.ReadByte(); in Main2() 341 long compressedSize = inStream.Length - inStream.Position; in Main2() 342 decoder.Code(inStream, outStream, compressedSize, outSize, null); in Main2()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertificateFactorySpiTest.java | 258 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument 260 if (inStream == null) { in engineGenerateCertificate() 266 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument 268 if (inStream == null) { in engineGenerateCertificates() 274 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument 275 if (inStream == null) { in engineGenerateCRL() 281 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument 283 if (inStream == null) { in engineGenerateCRLs()
|
/external/lzma/CPP/7zip/Compress/ |
D | CopyCoder.cpp | 20 STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream, in Code() argument 39 RINOK(inStream->Read(_buffer, size, &size)); in Code() 61 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres… in CopyStream() argument 64 return copyCoder->Code(inStream, outStream, NULL, NULL, progress); in CopyStream()
|
D | LzmaDecoder.cpp | 88 HRESULT CDecoder::CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompres… in CodeSpec() argument 101 RINOK(inStream->Read(_inBuf, _inBufSizeAllocated, &_inSize)); in CodeSpec() 159 STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument 165 return CodeSpec(inStream, outStream, progress); in Code() 170 STDMETHODIMP CDecoder::SetInStream(ISequentialInStream *inStream) { _inStream = inStream; return S_… in SetInStream() argument
|
D | LzmaDecoder.h | 42 …HRESULT CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgress… 57 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream, 66 STDMETHOD(SetInStream)(ISequentialInStream *inStream);
|
D | CopyCoder.h | 25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream, 30 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres…
|
D | Lzma2Decoder.cpp | 59 STDMETHODIMP CDecoder::SetInStream(ISequentialInStream *inStream) { _inStream = inStream; return S_… in SetInStream() argument 75 STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, in Code() argument 88 RINOK(inStream->Read(_inBuf, kInBufSize, &_inSize)); in Code()
|
D | Lzma2Decoder.h | 50 STDMETHOD(Code)(ISequentialInStream *inStream, 58 STDMETHOD(SetInStream)(ISequentialInStream *inStream);
|
/external/lzma/CPP/7zip/Archive/ |
D | LzmaHandler.cpp | 77 bool filtered, ISequentialInStream *inStream); 93 bool filteredMode, ISequentialInStream *inStream) in Create() argument 115 return _lzmaDecoderSpec->SetInStream(inStream); in Create() 280 STDMETHODIMP CHandler::Open(IInStream *inStream, const UInt64 *, IArchiveOpenCallback *) in Open() argument 282 RINOK(inStream->Seek(0, STREAM_SEEK_CUR, &_startPosition)); in Open() 287 RINOK(ReadStream_FALSE(inStream, buf, kBufSize)); in Open() 296 RINOK(inStream->Seek(0, STREAM_SEEK_END, &endPos)); in Open() 300 _stream = inStream; in Open() 301 _seqStream = inStream; in Open()
|
D | XzHandler.cpp | 73 HRESULT Open2(IInStream *inStream, IArchiveOpenCallback *callback); 321 HRESULT CHandler::Open2(IInStream *inStream, IArchiveOpenCallback *callback) in Open2() argument 323 CSeekInStreamWrap inStreamImp(inStream); in Open2() 331 RINOK(inStream->Seek(0, STREAM_SEEK_END, &_packSize)); in Open2() 345 RINOK(inStream->Seek(0, STREAM_SEEK_SET, NULL)); in Open2() 347 CSeqInStreamWrap inStreamWrap(inStream); in Open2() 368 RINOK(inStream->Seek(0, STREAM_SEEK_SET, NULL)); in Open2() 370 CSeqInStreamWrap inStreamWrap(inStream); in Open2() 383 _stream = inStream; in Open2() 384 _seqStream = inStream; in Open2() [all …]
|
/external/lzma/Java/SevenZip/ |
D | LzmaAlone.java | 195 …java.io.BufferedInputStream inStream = new java.io.BufferedInputStream(new java.io.FileInputStrea… in main() local 223 encoder.Code(inStream, outStream, -1, -1, null); in main() 229 if (inStream.read(properties, 0, propertiesSize) != propertiesSize) in main() 237 int v = inStream.read(); in main() 242 if (!decoder.Code(inStream, outStream, outSize)) in main() 247 inStream.close(); in main()
|
/external/smack/src/com/kenai/jbosh/ |
D | ServiceLib.java | 109 InputStream inStream = null; in loadServicesImplementations() local 113 inStream = url.openStream(); in loadServicesImplementations() 114 reader = new InputStreamReader(inStream); in loadServicesImplementations() 130 finalClose(inStream); in loadServicesImplementations()
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3commontreenodestream.c | 132 antlr3CommonTreeNodeStreamNewStream(pANTLR3_COMMON_TREE_NODE_STREAM inStream) in antlr3CommonTreeNodeStreamNewStream() argument 151 stream->stringFactory = inStream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() 155 stream->adaptor = inStream->adaptor; in antlr3CommonTreeNodeStreamNewStream() 230 stream->nodeStack = inStream->nodeStack; in antlr3CommonTreeNodeStreamNewStream() 247 stream->UP.token = inStream->UP.token; in antlr3CommonTreeNodeStreamNewStream() 248 inStream->UP.token->strFactory = stream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() 249 stream->DOWN.token = inStream->DOWN.token; in antlr3CommonTreeNodeStreamNewStream() 250 inStream->DOWN.token->strFactory = stream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() 251 stream->EOF_NODE.token = inStream->EOF_NODE.token; in antlr3CommonTreeNodeStreamNewStream() 252 inStream->EOF_NODE.token->strFactory = stream->stringFactory; in antlr3CommonTreeNodeStreamNewStream() [all …]
|
/external/lzma/CPP/7zip/Bundles/LzmaCon/ |
D | LzmaAlone.cpp | 256 CMyComPtr<ISequentialInStream> inStream; in main2() local 260 inStream = new CStdInFileStream; in main2() 269 inStream = inStreamSpec; in main2() 318 if (ReadStream_FAIL(inStream, inBuffer, inSize) != S_OK) in main2() 462 HRESULT result = encoder->Code(inStream, outStream, 0, 0, 0); in main2() 481 if (ReadStream_FALSE(inStream, header, kPropertiesSize + 8) != S_OK) in main2() 495 …if (decoder->Code(inStream, outStream, 0, (fileSize == (UInt64)(Int64)-1) ? 0 : &fileSize, 0) != S… in main2()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | ArchiveOpenCallback.cpp | 87 STDMETHODIMP COpenCallbackImp::GetStream(const wchar_t *name, IInStream **inStream) in GetStream() argument 96 *inStream = NULL; in GetStream() 106 *inStream = inStreamTemp.Detach(); in GetStream()
|
/external/lzma/CPP/7zip/Common/ |
D | FilterCoder.cpp | 39 STDMETHODIMP CFilterCoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument 53 RINOK(ReadStream(inStream, _buffer + bufferPos, &processedSize)); in Code() 156 STDMETHODIMP CFilterCoder::SetInStream(ISequentialInStream *inStream) in SetInStream() argument 159 _inStream = inStream; in SetInStream()
|