/external/conscrypt/src/main/java/org/conscrypt/ |
D | OpenSSLX509CertificateFactory.java | 65 public T generateItem(InputStream inStream) throws ParsingException { in generateItem() argument 66 if (inStream == null) { in generateItem() 70 final boolean markable = inStream.markSupported(); in generateItem() 72 inStream.mark(PKCS7_MARKER.length); in generateItem() 75 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItem() 111 inStream.reset(); in generateItem() 119 public Collection<? extends T> generateItems(InputStream inStream) in generateItems() argument 121 if (inStream == null) { in generateItems() 125 if (inStream.available() == 0) { in generateItems() 132 final boolean markable = inStream.markSupported(); in generateItems() [all …]
|
D | OpenSSLX509CertPath.java | 138 private static CertPath fromPkiPathEncoding(InputStream inStream) throws CertificateException { in fromPkiPathEncoding() argument 139 OpenSSLBIOInputStream bis = new OpenSSLBIOInputStream(inStream, true); in fromPkiPathEncoding() 141 final boolean markable = inStream.markSupported(); in fromPkiPathEncoding() 143 inStream.mark(PUSHBACK_SIZE); in fromPkiPathEncoding() 152 inStream.reset(); in fromPkiPathEncoding() 177 private static CertPath fromPkcs7Encoding(InputStream inStream) throws CertificateException { in fromPkcs7Encoding() argument 179 if (inStream == null || inStream.available() == 0) { in fromPkcs7Encoding() 186 final boolean markable = inStream.markSupported(); in fromPkcs7Encoding() 188 inStream.mark(PUSHBACK_SIZE); in fromPkcs7Encoding() 192 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in fromPkcs7Encoding() [all …]
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertificateFactorySpi.java | 64 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument 66 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificate() 72 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument 74 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertificates() 80 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument 81 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRL() 87 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument 89 if (!(inStream instanceof DataInputStream)) { in engineGenerateCRLs() 95 public CertPath engineGenerateCertPath(InputStream inStream) in engineGenerateCertPath() argument 97 if (!(inStream instanceof DataInputStream)) { in engineGenerateCertPath() [all …]
|
/external/lzma/C/ |
D | 7zDec.c | 44 ILookInStream *inStream; member 56 p->res = p->inStream->Skip(p->inStream, size); in ReadByte() 58 p->res = p->inStream->Look(p->inStream, (const void **)&p->begin, &size); in ReadByte() 68 …ic SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream, in SzDecodePpmd() argument 76 s.inStream = inStream; in SzDecodePpmd() 129 …ic SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma() argument 147 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma() 167 res = inStream->Skip((void *)inStream, inProcessed); in SzDecodeLzma() 177 …c SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStream *inStream, in SzDecodeLzma2() argument 197 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma2() [all …]
|
D | XzIn.c | 12 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStream *inStream) in Xz_ReadHeader() argument 15 RINOK(SeqInStream_Read2(inStream, sig, XZ_STREAM_HEADER_SIZE, SZ_ERROR_NO_ARCHIVE)); in Xz_ReadHeader() 25 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStream *inStream, Bool *isIndex, UInt32 *headerSizeRes) in XzBlock_ReadHeader() argument 30 RINOK(SeqInStream_ReadByte(inStream, &header[0])); in XzBlock_ReadHeader() 41 RINOK(SeqInStream_Read(inStream, header + 1, headerSize - 1)); in XzBlock_ReadHeader() 137 static SRes SeekFromCur(ILookInStream *inStream, Int64 *res) in SeekFromCur() argument 139 return inStream->Seek(inStream, res, SZ_SEEK_CUR); in SeekFromCur()
|
/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() 158 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 | 233 InputStream inStream) in engineGenerateCertificates() argument 239 while ((cert = engineGenerateCertificate(inStream)) != null) in engineGenerateCertificates() 252 InputStream inStream) in engineGenerateCRL() argument 257 currentCrlStream = inStream; in engineGenerateCRL() 261 else if (currentCrlStream != inStream) // reset if input stream has changed in engineGenerateCRL() 263 currentCrlStream = inStream; in engineGenerateCRL() 284 PushbackInputStream pis = new PushbackInputStream(inStream); in engineGenerateCRL() 323 InputStream inStream) in engineGenerateCRLs() argument 329 while ((crl = engineGenerateCRL(inStream)) != null) in engineGenerateCRLs() 343 InputStream inStream) in engineGenerateCertPath() argument [all …]
|
D | PKIXCertPath.java | 173 InputStream inStream, in PKIXCertPath() argument 182 ASN1InputStream derInStream = new ASN1InputStream(inStream); in PKIXCertPath() 201 inStream = new BufferedInputStream(inStream); in PKIXCertPath() 205 while ((cert = certFactory.generateCertificate(inStream)) != null) in PKIXCertPath()
|
/external/lzma/CPP/7zip/Compress/ |
D | CopyCoder.cpp | 20 STDMETHODIMP CCopyCoder::Code(ISequentialInStream *inStream, in Code() argument 38 RINOK(inStream->Read(_buffer, size, &size)); in Code() 60 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres… in CopyStream() argument 63 return copyCoder->Code(inStream, outStream, NULL, NULL, progress); in CopyStream() 66 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64… in CopyStream_ExactSize() argument 70 RINOK(copyCoder->Code(inStream, outStream, NULL, &size, progress)); in CopyStream_ExactSize()
|
D | PpmdDecoder.cpp | 99 STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument 109 _inStream.Stream = inStream; in Code() 143 STDMETHODIMP CDecoder::SetInStream(ISequentialInStream *inStream) in SetInStream() argument 145 InSeqStream = inStream; in SetInStream() 146 _inStream.Stream = inStream; in SetInStream()
|
D | CopyCoder.h | 25 STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream, 30 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres… 31 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64…
|
D | LzmaDecoder.cpp | 90 HRESULT CDecoder::CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompres… in CodeSpec() argument 103 RINOK(inStream->Read(_inBuf, _inBufSizeAllocated, &_inSize)); in CodeSpec() 173 STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Code() argument 179 return CodeSpec(inStream, outStream, progress); in Code() 184 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 | 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()
|
/external/jetty/src/java/org/eclipse/jetty/util/security/ |
D | CertificateUtils.java | 38 InputStream inStream = storeStream; in getKeyStore() local 41 if (inStream == null) in getKeyStore() 43 inStream = Resource.newResource(storePath).getInputStream(); in getKeyStore() 55 keystore.load(inStream, storePassword == null ? null : storePassword.toCharArray()); in getKeyStore() 59 if (inStream != null) in getKeyStore() 61 inStream.close(); in getKeyStore()
|
/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 | 257 public Certificate engineGenerateCertificate(InputStream inStream) in engineGenerateCertificate() argument 259 if (inStream == null) { in engineGenerateCertificate() 265 public Collection engineGenerateCertificates(InputStream inStream) in engineGenerateCertificates() argument 267 if (inStream == null) { in engineGenerateCertificates() 273 public CRL engineGenerateCRL(InputStream inStream) throws CRLException { in engineGenerateCRL() argument 274 if (inStream == null) { in engineGenerateCRL() 280 public Collection engineGenerateCRLs(InputStream inStream) in engineGenerateCRLs() argument 282 if (inStream == null) { in engineGenerateCRLs()
|
/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/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 void CFilterCoder::SetInStream_NoSubFilterInit(ISequentialInStream *inStream) in SetInStream_NoSubFilterInit() argument 159 _inStream = inStream; in SetInStream_NoSubFilterInit() 163 STDMETHODIMP CFilterCoder::SetInStream(ISequentialInStream *inStream) in SetInStream() argument 165 SetInStream_NoSubFilterInit(inStream); in SetInStream()
|
/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/Archive/ |
D | LzmaHandler.cpp | 85 bool filtered, ISequentialInStream *inStream); 101 bool filteredMode, ISequentialInStream *inStream) in Create() argument 124 return _lzmaDecoderSpec->SetInStream(inStream); in Create() 348 STDMETHODIMP CHandler::Open(IInStream *inStream, const UInt64 *, IArchiveOpenCallback *) in Open() argument 355 RINOK(ReadStream_FALSE(inStream, buf, kBufSize)); in Open() 363 RINOK(inStream->Seek(0, STREAM_SEEK_END, &_packSize)); in Open() 367 _stream = inStream; in Open() 368 _seqStream = inStream; in Open()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | ArchiveOpenCallback.cpp | 76 STDMETHODIMP COpenCallbackImp::GetStream(const wchar_t *name, IInStream **inStream) in GetStream() argument 79 *inStream = NULL; in GetStream() local 104 *inStream = inStreamTemp.Detach(); in GetStream()
|
/external/lzma/CPP/7zip/Bundles/LzmaSpec/ |
D | LzmaSpec.cpp | 615 CInputStream inStream; in main2() local 616 inStream.File = fopen(args[1], "rb"); in main2() 617 inStream.Init(); in main2() 618 if (inStream.File == 0) in main2() 624 if (inStream.File == 0) in main2() 630 header[i] = inStream.ReadByte(); in main2() 655 lzmaDecoder.RangeDec.InStream = &inStream; in main2() 663 PrintUInt64("Read ", inStream.Processed); in main2()
|