Home
last modified time | relevance | path

Searched refs:bOut (Results 1 – 25 of 29) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1Object.java23 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
24 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getEncoded()
28 return bOut.toByteArray(); in getEncoded()
44 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
45 DEROutputStream dOut = new DEROutputStream(bOut); in getEncoded()
49 return bOut.toByteArray(); in getEncoded()
53 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getEncoded() local
54 DLOutputStream dOut = new DLOutputStream(bOut); in getEncoded()
58 return bOut.toByteArray(); in getEncoded()
DDERUniversalString.java86 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local
87 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString()
98 byte[] string = bOut.toByteArray(); in getString()
DBERConstructedOctetString.java22 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local
30 bOut.write(o.getOctets()); in toBytes()
42 return bOut.toByteArray(); in toBytes()
DBEROctetString.java21 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toBytes() local
29 bOut.write(o.getOctets()); in toBytes()
41 return bOut.toByteArray(); in toBytes()
DDERApplicationSpecific.java73 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in DERApplicationSpecific() local
79 bOut.write(((ASN1Object)vec.get(i)).getEncoded(ASN1Encoding.DER)); in DERApplicationSpecific()
86 this.octets = bOut.toByteArray(); in DERApplicationSpecific()
DDERBitString.java251 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getString() local
252 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getString()
263 byte[] string = bOut.toByteArray(); in getString()
DASN1ObjectIdentifier.java311 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getBody() local
313 doOutput(bOut); in getBody()
315 body = bOut.toByteArray(); in getBody()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DHex.java52 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in encode() local
56 encoder.encode(data, off, length, bOut); in encode()
63 return bOut.toByteArray(); in encode()
102 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local
106 encoder.decode(data, 0, data.length, bOut); in decode()
113 return bOut.toByteArray(); in decode()
124 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in decode() local
128 encoder.decode(data, bOut); in decode()
135 return bOut.toByteArray(); in decode()
DBase64.java53 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in encode() local
57 encoder.encode(data, off, length, bOut); in encode()
64 return bOut.toByteArray(); in encode()
104 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local
108 encoder.decode(data, 0, data.length, bOut); in decode()
115 return bOut.toByteArray(); in decode()
127 ByteArrayOutputStream bOut = new ByteArrayOutputStream(len); in decode() local
131 encoder.decode(data, bOut); in decode()
138 return bOut.toByteArray(); in decode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
DNullDigest.java11 private ByteArrayOutputStream bOut = new ByteArrayOutputStream(); field in NullDigest
20 return bOut.size(); in getDigestSize()
25 bOut.write(in); in update()
30 bOut.write(in, inOff, len); in update()
35 byte[] res = bOut.toByteArray(); in doFinal()
46 bOut.reset(); in reset()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java53 private ByteArrayOutputStream bOut = new ByteArrayOutputStream(); field in CipherSpi
333 bOut.reset(); in engineInit()
397 bOut.write(input, inputOffset, inputLen); in engineUpdate()
401 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
408 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
424 bOut.write(input, inputOffset, inputLen); in engineUpdate()
428 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineUpdate()
435 if (bOut.size() > cipher.getInputBlockSize()) in engineUpdate()
452 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
457 if (bOut.size() > cipher.getInputBlockSize() + 1) in engineDoFinal()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSSignedDataGenerator.java145 ByteArrayOutputStream bOut = null; in generate() local
149 bOut = new ByteArrayOutputStream(); in generate()
152 OutputStream cOut = CMSUtils.attachSignersToOutputStream(signerGens, bOut); in generate()
170 octs = new BEROctetString(bOut.toByteArray()); in generate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DPKCS12BagAttributeCarrierImpl.java85 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in writeObject() local
86 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in writeObject()
98 out.writeObject(bOut.toByteArray()); in writeObject()
/external/parameter-framework/parameter/
DBinaryStream.cpp36 CBinaryStream::CBinaryStream(const string& strFileName, bool bOut, size_t uiDataSize, uint8_t uiStr… in CBinaryStream() argument
38 _bOut(bOut), in CBinaryStream()
DBinaryStream.h39 …CBinaryStream(const std::string& strFileName, bool bOut, size_t uiDataSize, uint8_t uiStructureChe…
DConfigurableDomains.cpp570 bool CConfigurableDomains::serializeSettings(const string& strBinarySettingsFilePath, bool bOut, ui… in serializeSettings() argument
573 …CBinaryStream binarySettingsStream(strBinarySettingsFilePath, bOut, getDataSize(), uiStructureChec… in serializeSettings()
DConfigurableDomains.h118 …bool serializeSettings(const std::string& strBinarySettingsFilePath, bool bOut, uint8_t uiStructur…
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DStrings.java93 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in toUTF8ByteArray() local
97 toUTF8ByteArray(string, bOut); in toUTF8ByteArray()
104 return bOut.toByteArray(); in toUTF8ByteArray()
/external/parameter-framework/remote-processor/
DMessage.cpp126 CMessage::Result CMessage::serialize(CSocket* pSocket, bool bOut, string& strError) in serialize() argument
128 if (bOut) { in serialize()
DMessage.h62 Result serialize(CSocket* pSocket, bool bOut, std::string &strError);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java177 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getIssuerX500Principal() local
178 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getIssuerX500Principal()
182 return new X500Principal(bOut.toByteArray()); in getIssuerX500Principal()
199 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getSubjectX500Principal() local
200 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getSubjectX500Principal()
204 return new X500Principal(bOut.toByteArray()); in getSubjectX500Principal()
DCertPathValidatorUtilities.java368 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getQualifierSet() local
369 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getQualifierSet()
379 pq.add(new PolicyQualifierInfo(bOut.toByteArray())); in getQualifierSet()
386 bOut.reset(); in getQualifierSet()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateObject.java176 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getIssuerX500Principal() local
177 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getIssuerX500Principal()
181 return new X500Principal(bOut.toByteArray()); in getIssuerX500Principal()
198 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getSubjectX500Principal() local
199 ASN1OutputStream aOut = new ASN1OutputStream(bOut); in getSubjectX500Principal()
203 return new X500Principal(bOut.toByteArray()); in getSubjectX500Principal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/bc/
DBcKeyStoreSpi.java150 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in StoreEntry() local
151 DataOutputStream dOut = new DataOutputStream(bOut); in StoreEntry()
166 obj = bOut.toByteArray(); in StoreEntry()
287 ByteArrayOutputStream bOut = new ByteArrayOutputStream(); in getObject()
288 DataOutputStream dOut = new DataOutputStream(bOut); in getObject()
303 obj = bOut.toByteArray(); in getObject()
/external/skia/src/effects/
DSkColorCubeFilter.cpp139 SkScalar rOut(0), gOut(0), bOut(0); in filterSpan() local
151 bOut += colorToScalar[SkColorGetB(lutColor)] * factor; in filterSpan()
159 SkScalarRoundToInt(bOut * aOut)); in filterSpan()

12