/external/chromium_org/base/i18n/ |
icu_string_conversions.h | 44 std::string* encoded); 45 BASE_I18N_EXPORT bool CodepageToUTF16(const std::string& encoded, 56 std::string* encoded); 57 BASE_I18N_EXPORT bool CodepageToWide(const std::string& encoded,
|
icu_string_conversions.cc | 83 std::string* encoded) { 86 encoded->resize(encoded_max_length); 106 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0], 108 encoded->resize(actual_size); 112 encoded->clear(); // Make sure the output is empty on error. 152 std::string* encoded) { 153 encoded->clear(); 161 static_cast<int>(utf16.length()), on_error, encoded); 164 bool CodepageToUTF16(const std::string& encoded, 183 size_t uchar_max_length = encoded.length() + 1 [all...] |
/external/chromium_org/mojo/public/gles2/ |
gles2_private.h | 23 virtual void MakeCurrent(uint64_t encoded) = 0;
|
gles2_private.cc | 22 void MojoGLES2MakeCurrent(uint64_t encoded) { 23 g_private->MakeCurrent(encoded);
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/ |
RandomizedInvalidationClientNameGenerator.java | 35 String encoded = Base64.encodeToString(randomBytes, 0, randomBytes.length, Base64.NO_WRAP); local 36 String idString = "BadID" + encoded;
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator1.java | 98 private byte[] encoded; field in class:MyKeyPairGenerator1.PubKey 103 this.encoded = new byte[10]; 115 return encoded; 124 private byte[] encoded; field in class:MyKeyPairGenerator1.PrivKey 129 this.encoded = new byte[10]; 141 return encoded;
|
KeyStoreTestSupport.java | 66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey 68 public SKey(String type, byte[] encoded) { 70 this.encoded = encoded; 78 return encoded; 94 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey 96 public MyPrivateKey(String algorithm, String format, byte[] encoded) { 99 this.encoded = encoded; 111 return encoded; [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ClientHelloTest.java | 51 byte[] encoded = out.getData(1000); 52 assertEquals("incorrect out data length", message.length(), encoded.length); 55 in.append(encoded); 63 in.append(encoded); 70 in.append(encoded); 77 in.append(encoded);
|
ClientKeyExchangeTest.java | 52 byte[] encoded = out.getData(1000); 54 encoded.length); 57 in.append(encoded); 66 in.append(encoded); 79 in.append(encoded); 111 byte[] encoded = out.getData(1000); 113 encoded.length); 116 in.append(encoded); 125 in.append(encoded); 133 in.append(encoded); [all...] |
CertificateVerifyTest.java | 61 byte[] encoded = out.getData(1000); 63 encoded.length); 66 in.append(encoded); 71 in.append(encoded); 78 in.append(encoded);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyKeyPairGenerator1.java | 99 private byte[] encoded; field in class:MyKeyPairGenerator1.PubKey 104 this.encoded = new byte[10]; 116 return encoded; 125 private byte[] encoded; field in class:MyKeyPairGenerator1.PrivKey 130 this.encoded = new byte[10]; 142 return encoded;
|
KeyStoreTestSupport.java | 66 private byte[] encoded; field in class:KeyStoreTestSupport.SKey 68 public SKey(String type, byte[] encoded) { 70 this.encoded = encoded; 78 return encoded; 94 private byte[] encoded; field in class:KeyStoreTestSupport.MyPrivateKey 96 public MyPrivateKey(String algorithm, String format, byte[] encoded) { 99 this.encoded = encoded; 111 return encoded; [all...] |
/external/chromium_org/net/cert/ |
ct_serialization_unittest.cc | 44 // The encoded data contains the signature itself from the 4th byte. 71 std::string encoded; local 73 ASSERT_TRUE(ct::EncodeDigitallySigned(digitally_signed, &encoded)); 74 EXPECT_EQ(test_digitally_signed_, encoded); 82 std::string encoded; local 83 ASSERT_TRUE(ct::EncodeLogEntry(entry, &encoded)); 84 EXPECT_EQ((718U + 5U), encoded.size()); 90 EXPECT_EQ(expected_prefix, encoded.substr(0, 5)); 99 std::string encoded; local 104 &encoded)); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Type.java | 81 public final Object decode(byte[] encoded) throws IOException { 82 return decode(new DerInputStream(encoded)); 85 public final Object decode(byte[] encoded, int offset, int encodingLen) 87 return decode(new DerInputStream(encoded, offset, encodingLen)); 94 public final void verify(byte[] encoded) throws IOException { 95 DerInputStream decoder = new DerInputStream(encoded); 108 return out.encoded;
|
DerInputStream.java | 29 * Decodes ASN.1 types encoded with DER (X.690) 39 public DerInputStream(byte[] encoded) throws IOException { 40 super(encoded, 0, encoded.length); 43 public DerInputStream(byte[] encoded, int offset, int encodingLen) throws IOException { 44 super(encoded, offset, encodingLen); 83 // check encoded content 128 // It is a string type and it can be encoded as primitive or constructed. 144 // It is a string type and it can be encoded as primitive or constructed.
|
/external/chromium/base/i18n/ |
icu_string_conversions.cc | 82 std::string* encoded) { 85 encoded->resize(encoded_max_length); 105 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0], 107 encoded->resize(actual_size); 111 encoded->clear(); // Make sure the output is empty on error. 156 std::string* encoded) { 157 encoded->clear(); 165 static_cast<int>(utf16.length()), on_error, encoded); 168 bool CodepageToUTF16(const std::string& encoded, 187 size_t uchar_max_length = encoded.length() + 1 [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLRSAKeyFactory.java | 90 final byte[] encoded = key.getEncoded(); 91 if (!"X.509".equals(key.getFormat()) || encoded == null) { 95 (RSAPublicKey) engineGeneratePublic(new X509EncodedKeySpec(encoded)); 114 final byte[] encoded = key.getEncoded(); 115 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { 119 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); 127 throw new InvalidKeySpecException("Encoded key is not an RSAPrivateCrtKey"); 130 final byte[] encoded = key.getEncoded(); 131 if (!"PKCS#8".equals(key.getFormat()) || encoded == null) { 135 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded)); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 105 byte[] encoded = key.getEncoded(); 106 if (encoded == null) 115 return engineDoFinal(encoded, 0, encoded.length); 119 return wrapEngine.wrap(encoded, 0, encoded.length); 134 byte[] encoded; 139 encoded = engineDoFinal(wrappedKey, 0, wrappedKey.length); 143 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length); 161 return new SecretKeySpec(encoded, wrappedKeyAlgorithm) [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/interface/ |
isacfix.h | 124 * - encoded : the encoded data vector 134 WebRtc_Word16 *encoded); 154 * - encoded : the encoded data vector 166 WebRtc_Word16 *encoded); 194 * - encoded : encoded ISAC frame(s). 205 const WebRtc_UWord16 *encoded, 217 * - encoded : encoded ISAC frame(s) [all...] |
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
FinishedTest.java | 44 byte[] encoded = out.getData(1000); 46 encoded.length); 49 in.append(encoded); 54 in.append(encoded); 61 in.append(encoded);
|
HelloRequestTest.java | 41 byte[] encoded = out.getData(1000); 43 encoded.length); 46 in.append(encoded); 50 in.append(encoded); 57 in.append(encoded);
|
ServerHelloDoneTest.java | 47 byte[] encoded = out.getData(1000); 49 encoded.length); 52 in.append(encoded); 56 in.append(encoded); 63 in.append(encoded);
|
/external/openssh/ |
uuencode.c | 37 * Encode binary 'src' of length 'srclength', writing base64-encoded text 50 * Decode base64-encoded 'src' into buffer 'target' of 'targsize' bytes. 58 char *encoded, *p; local 61 encoded = xstrdup(src); 63 for (p = encoded; *p == ' ' || *p == '\t'; p++) 69 len = __b64_pton(encoded, target, targsize); 70 xfree(encoded);
|
/external/chromium_org/ui/gfx/codec/ |
png_codec_unittest.cc | 270 std::vector<unsigned char> encoded; local 274 &encoded)); 279 ASSERT_TRUE(PNGCodec::Decode(&encoded[0], encoded.size(), 299 std::vector<unsigned char> encoded; local 303 &encoded)); 308 ASSERT_TRUE(PNGCodec::Decode(&encoded[0], encoded.size(), 328 std::vector<unsigned char> encoded; local 332 &encoded)); 358 std::vector<unsigned char> encoded; local 403 std::vector<unsigned char> encoded; local 446 std::vector<unsigned char> encoded; local 489 std::vector<unsigned char> encoded; local 522 std::vector<unsigned char> encoded; local 559 std::vector<unsigned char> encoded; local 595 std::vector<unsigned char> encoded; local 633 std::vector<unsigned char> encoded; local 671 std::vector<unsigned char> encoded; local 700 std::vector<unsigned char> encoded; local 729 std::vector<unsigned char> encoded; local 766 std::vector<unsigned char> encoded; local 803 std::vector<unsigned char> encoded; local 834 std::vector<unsigned char> encoded; local 867 std::vector<unsigned char> encoded; local 937 std::vector<unsigned char> encoded; local 996 std::vector<unsigned char> encoded; local 1023 std::vector<unsigned char> encoded; local 1050 std::vector<unsigned char> encoded; local 1089 std::vector<unsigned char> encoded; local [all...] |
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder.cc | 93 char encoded[3]; local 131 encoded[0] = ch; 134 encoded[0] = kEscapeChar; 135 encoded[1] = ch / 16; 136 encoded[1] += (encoded[1] >= 10) ? 'A' - 10 : '0'; 137 encoded[2] = ch % 16; 138 encoded[2] += (encoded[2] >= 10) ? 'A' - 10 : '0'; 141 segment.append(encoded, encoded_len) 273 char encoded[3]; local [all...] |