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.java115 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItem() local
119 final int len = pbis.read(buffer); in generateItem()
124 pbis.unread(buffer, 0, len); in generateItem()
127 return fromX509PemInputStream(pbis); in generateItem()
131 List<? extends T> certs = fromPkcs7DerInputStream(pbis); in generateItem()
137 return fromX509DerInputStream(pbis); in generateItem()
172 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItems() local
176 final int len = pbis.read(buffer); in generateItems()
181 pbis.unread(buffer, 0, len); in generateItems()
184 return fromPkcs7PemInputStream(pbis); in generateItems()
[all …]
DOpenSSLX509CertPath.java204 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in fromPkcs7Encoding() local
208 final int len = pbis.read(buffer); in fromPkcs7Encoding()
213 pbis.unread(buffer, 0, len); in fromPkcs7Encoding()
216 … return new OpenSSLX509CertPath(OpenSSLX509Certificate.fromPkcs7PemInputStream(pbis)); in fromPkcs7Encoding()
219 return new OpenSSLX509CertPath(OpenSSLX509Certificate.fromPkcs7DerInputStream(pbis)); in fromPkcs7Encoding()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509CertificateFactory.java113 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItem() local
117 final int len = pbis.read(buffer); in generateItem()
122 pbis.unread(buffer, 0, len); in generateItem()
125 return fromX509PemInputStream(pbis); in generateItem()
129 List<? extends T> certs = fromPkcs7DerInputStream(pbis); in generateItem()
135 return fromX509DerInputStream(pbis); in generateItem()
170 final PushbackInputStream pbis = new PushbackInputStream(inStream, PUSHBACK_SIZE); in generateItems() local
174 final int len = pbis.read(buffer); in generateItems()
179 pbis.unread(buffer, 0, len); in generateItems()
182 return fromPkcs7PemInputStream(pbis); 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/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()
199 bool FontFactory::IsCollection(PushbackInputStream* pbis) { in IsCollection() argument
201 pbis->Read(&tag); in IsCollection()
[all …]
Dfont_factory.h124 static bool IsCollection(PushbackInputStream* pbis);