Home
last modified time | relevance | path

Searched refs:pbis (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLX509CertificateFactory.java82 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItem() local
86 final int len = pbis.read(buffer); in generateItem()
91 pbis.unread(buffer, 0, len); in generateItem()
95 List<? extends T> items = fromPkcs7PemInputStream(pbis); in generateItem()
101 return fromX509PemInputStream(pbis); in generateItem()
107 List<? extends T> certs = fromPkcs7DerInputStream(pbis); in generateItem()
113 return fromX509DerInputStream(pbis); in generateItem()
145 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItems() local
149 final int len = pbis.read(buffer); in generateItems()
154 pbis.unread(buffer, 0, len); in generateItems()
[all …]
DOpenSSLX509CertPath.java203 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in fromPkcs7Encoding() local
207 final int len = pbis.read(buffer); in fromPkcs7Encoding()
212 pbis.unread(buffer, 0, len); in fromPkcs7Encoding()
215 … return new OpenSSLX509CertPath(OpenSSLX509Certificate.fromPkcs7PemInputStream(pbis)); in fromPkcs7Encoding()
218 return new OpenSSLX509CertPath(OpenSSLX509Certificate.fromPkcs7DerInputStream(pbis)); in fromPkcs7Encoding()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509CertificateFactory.java79 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItem() local
83 final int len = pbis.read(buffer); in generateItem()
88 pbis.unread(buffer, 0, len); in generateItem()
92 List<? extends T> items = fromPkcs7PemInputStream(pbis); in generateItem()
98 return fromX509PemInputStream(pbis); in generateItem()
104 List<? extends T> certs = fromPkcs7DerInputStream(pbis); in generateItem()
110 return fromX509DerInputStream(pbis); in generateItem()
142 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItems() local
146 final int len = pbis.read(buffer); in generateItems()
151 pbis.unread(buffer, 0, len); in generateItems()
[all …]
DOpenSSLX509CertPath.java202 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in fromPkcs7Encoding() local
206 final int len = pbis.read(buffer); in fromPkcs7Encoding()
211 pbis.unread(buffer, 0, len); in fromPkcs7Encoding()
214 … return new OpenSSLX509CertPath(OpenSSLX509Certificate.fromPkcs7PemInputStream(pbis)); in fromPkcs7Encoding()
217 return new OpenSSLX509CertPath(OpenSSLX509Certificate.fromPkcs7DerInputStream(pbis)); in fromPkcs7Encoding()
/external/sfntly/cpp/src/sfntly/
Dfont_factory.cc43 PushbackInputStream* pbis = down_cast<PushbackInputStream*>(is); in LoadFonts() local
44 if (IsCollection(pbis)) { in LoadFonts()
45 LoadCollection(pbis, output); in LoadFonts()
49 font.Attach(LoadSingleOTF(pbis)); in LoadFonts()
71 PushbackInputStream* pbis = down_cast<PushbackInputStream*>(is); in LoadFontsForBuilding() local
72 if (IsCollection(pbis)) { in LoadFontsForBuilding()
73 LoadCollectionForBuilding(pbis, output); in LoadFontsForBuilding()
77 builder.Attach(LoadSingleOTFForBuilding(pbis)); in LoadFontsForBuilding()
196 bool FontFactory::IsCollection(PushbackInputStream* pbis) { in IsCollection() argument
198 pbis->Read(&tag); in IsCollection()
[all …]
Dfont_factory.h130 static bool IsCollection(PushbackInputStream* pbis);